当前位置: 首页 > news >正文

uniapp实现足球数据分析平台移动端H5

文章目录

  • 前言
    • 一直想做一款足球分析平台,大概内容包括竞彩分析模块,即时预测模块,初盘分析模块,找来找去还是前端铺子的样式感觉比较好看。
  • 一、界面一栏
  • 二、注册界面
    • 1.代码说明
  • 三、首页界面
  • 四、竞彩预测
  • 五、即时预测
  • 总结


前言

一款基于前端铺子改造的移动端程序

一直想做一款足球分析平台,大概内容包括竞彩分析模块,即时预测模块,初盘分析模块,找来找去还是前端铺子的样式感觉比较好看。

一、界面一栏

示例:pandas 是基于NumPy 的一种工具,该工具是为了解决数据分析任务而创建的。
演示地址

二、注册界面

1.代码说明

主要实现对用户的注册

<template><view style="height:100vh;background: #fff;"><!-- <cu-custom bgColor="bg-gradual-blue" :isBack="false"><block slot="content">欢迎</block></cu-custom> --><!-- <view class="bgImg"><view class="bannerBox"><swiper style="height: 680rpx;" class="swiper" circular="true"indicator-dots="true" autoplay="true" interval="4000" duration="600"><swiper-item class="swiper-list" v-for="(item, index) in bannerList" :key="index"><view class="swiper-item uni-bg-red"><image class="swiper-img radius shadow-warp" :src="item.imageUrl" mode="widthFix"></image></view></swiper-item></swiper></view></view> --><swiper class="card-swiper round-dot" previous-margin="1rpx" :indicator-dots="false" :circular="true":autoplay="true" interval="5000" duration="500" @change="cardSwiper" indicator-color="#ffffff"indicator-active-color="#ffffff"><swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur == index ? 'cur':''"><view class="swiper-item shadow-shop" style="border-radius: 20rpx 20rpx 22rpx 22rpx;"><image :src="item.url" v-if="item.type=='image'" mode="aspectFill" class=""></image></view></swiper-item></swiper><view class="login-view" style=""><view class="t-login"><form class="cl"><view class="t-a"><text class="txt">登录账号</text><input type="text" name="username" placeholder="请输入您的登录账号" maxlength="18" v-model="username" /></view><view class="t-a"><text class="txt">登录密码</text><input type="password" name="password" maxlength="18" placeholder="请输入您的密码"v-model="password" /></view><view class="t-a"><text class="txt">联系邮箱</text><input type="email" name="email" maxlength="18" placeholder="请输入您的邮箱"v-model="email" /></view><button @tap="register()">注册开通</button><view class="vip" @tap="vip()">会员价格</view><view class="reg" @tap="reg()">返回登录</view></form><view class="t-f"><text>—————— 联系我们 ——————</text></view><view class="t-e cl"><view class="t-g" @tap="wxNum()"><image src="https://zhoukaiwen.com/img/loginImg/wx.png"></image></view><view class="t-g" @tap="qqNum()"><image src="https://zhoukaiwen.com/img/loginImg/qq.png"></image></view></view></view><u-modal v-model="show" :content="content"></u-modal></view></view>
</template>
.card-swiper {background-image: url(https://i1.sinaimg.cn/2010/p/2010-07-03/U2706P939T17D63118F322DT20100703042134.jpg);height: 550upx !important;background-size: 100%;margin-bottom: 80upx;}.card-swiper swiper-item {width: 260upx !important;left: 245upx;box-sizing: border-box;padding: 0upx 17upx 50upx 17upx;overflow: initial;/* margin: 100rpx 0; */}.card-swiper swiper-item .swiper-item {width: 100%;display: block;height: 100%;border-radius: 10upx;transform: scale(0.7);transition: all 0.2s ease-in 0s;overflow: hidden;}.card-swiper swiper-item.cur .swiper-item {transform: none;transition: all 0.2s ease-in 0s;}.txt {font-size: 32rpx;font-weight: bold;color: #333333;}.img-a {width: 100%;height: 450rpx;background-image: url(https://zhoukaiwen.com/img/loginImg/head.png);background-size: 100%;}.reg {font-size: 28rpx;color: #fff;height: 90rpx;line-height: 90rpx;border-radius: 50rpx;font-weight: bold;background: #f5f6fa;color: #000000;text-align: center;margin-top: 30rpx;}.vip{font-size: 28rpx;color: #fff;height: 90rpx;line-height: 90rpx;border-radius: 50rpx;font-weight: bold;background: #fcd123;color: #000000;text-align: center;margin-top: 30rpx;}.login-view {width: 100%;position: relative;margin-top: -120rpx;background-color: #ffffff;border-radius: 8% 8% 0% 0;}.t-login {width: 600rpx;margin: 0 auto;font-size: 28rpx;padding-top: 80rpx;}.t-login button {font-size: 28rpx;background: #2796f2;color: #fff;height: 90rpx;line-height: 90rpx;border-radius: 50rpx;font-weight: bold;}.t-login input {height: 90rpx;line-height: 90rpx;margin-bottom: 50rpx;border-bottom: 1px solid #e9e9e9;font-size: 28rpx;}.t-login .t-a {position: relative;}.t-b {text-align: left;font-size: 42rpx;color: #ffffff;padding: 130rpx 0 0 70rpx;font-weight: bold;line-height: 70rpx;}.t-login .t-c {position: absolute;right: 22rpx;top: 22rpx;background: #5677fc;color: #fff;font-size: 24rpx;border-radius: 50rpx;height: 50rpx;line-height: 50rpx;padding: 0 25rpx;}.t-login .t-d {text-align: center;color: #999;margin: 80rpx 0;}.t-login .t-e {text-align: center;width: 250rpx;margin: 80rpx auto 0;}.t-login .t-g {float: left;width: 50%;}.t-login .t-e image {width: 50rpx;height: 50rpx;}.t-login .t-f {text-align: center;margin: 150rpx 0 0 0;color: #666;}.t-login .t-f text {margin-left: 20rpx;color: #aaaaaa;font-size: 27rpx;}.t-login .uni-input-placeholder {color: #aeaeae;}.cl {zoom: 1;}.cl:after {clear: both;display: block;visibility: hidden;height: 0;content: '\20';}.bgImg {position: relative;margin-bottom: 100rpx;.left_box {position: absolute;height: 130rpx;width: 60%;background: #ffffff;bottom: -55rpx;left: 5%;border-radius: 15rpx;}.right_box {text-align: center;position: absolute;height: 130rpx;width: 25%;background: #ffffff;bottom: -55rpx;right: 5%;border-radius: 15rpx;}}

三、首页界面

首页主要是统计分析,这里用了u-charts.js进行图标渲染

<template><view><cu-custom bgColor="bg-gradual-blue" :isBack="false"><!-- <block slot="backText">返回</block> --><block slot="content">首页</block></cu-custom><view class="components-home"><view class="title-header"><view class="title-text">上月走地数据统计</view></view><view class='type-header'><u-radio-group v-model="countValueStr"><u-radio @change="radioChange" v-for="(item, index) in selectList" :key="index" :name="item.name" :disabled="item.disabled">{{item.name}}</u-radio></u-radio-group></view><view class='nav-list margin-top'><navigator open-type="navigate" hover-class='none' :class="'nav-li bg-kuxuan' + (index+1)" v-for="(item, index) in kuxuan":key="index"><view class="nav-name">{{item.name}}</view></navigator></view></view><!-- <view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">仪表盘</text><text class="text-ABC text-blue">GaugeCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasGauge" id="canvasGauge" class="charts"></canvas></view> --><view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">最近七天{{countValueStr}}胜率情况</text><text class="text-ABC text-blue">LineCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasArea" id="canvasArea" class="charts" @touchstart="touchArea"></canvas></view><view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">上月全部类型场次分布</text><text class="text-ABC text-blue">ringCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasRing" id="canvasRing" class="charts" @touchstart="touchRing"></canvas></view><br><br><br><br><!-- <view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">饼状图</text><text class="text-ABC text-blue">PieCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasPie" id="canvasPie" class="charts" @touchstart="touchPie"></canvas></view><view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">柱状图</text><text class="text-ABC text-blue">ColumnCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasColumn" id="canvasColumn" class="charts" @touchstart="touchColumn"></canvas></view><view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">雷达图</text><text class="text-ABC text-blue">RadarCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasRadar" id="canvasRadar" class="charts"></canvas></view><view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">漏斗图</text><text class="text-ABC text-blue">FunnelCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasFunnel" id="canvasFunnel" class="charts"></canvas></view><view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">词云图</text><text class="text-ABC text-blue">DataCharts</text></view></view><view class="chartsMain"><canvas canvas-id="canvasData" id="canvasData" class="charts"></canvas></view> --></view>
</template>

四、竞彩预测

这里分了两个tab,一个显示竞彩,一个显示北单

<template><view class="warp"><view class="status_bar"><!-- 导航栏 --></view><!-- <view class="title b-fontw7">竞彩预测</view> --><view class="nav-box b-card"><view class="nav-bar-box"><view class="nav-bar-item" v-for='(item,index) in list' :key='index' :class="{'nav-bar-item-check':index == current,'nav-bar-left':index == 0 && current == index,'nav-bar-center':index > 0 && index < list.length-1 && current == index ,'nav-bar-right':index == list.length-1 && current == index}"@click="change(index)"><view class=""></view><view class="" style="flex: 1;text-align: center;"><view class="nav-bar-title">{{item.name}}<view class="title-line" v-show="index == current"></view></view></view><view class="nav-bar-line" v-if="index<list.length-1 && index != current && index != current-1"></view><view class=""></view></view></view><view class="nav-content-box"><view class=""><view class="nav-content-title b-fontw6">「每日更新」体彩预测</view><view class="nav-content-text b-flex-item-cent"><text class="b-traiangle"></text><text>今日竞彩</text><text class="nav-content-line"></text><text class="b-fontw6">{{jczcc}}</text></view><view class="nav-content-text b-flex-item-cent"><text class="b-traiangle"></text><text>今日北单</text><text class="nav-content-line"></text><text class="b-fontw6">{{bdzcc}}</text></view></view><view class=""><view class="img"><view class="img-refresh">请认准</view></view></view></view></view><view v-for="(item, index) in resultData" :key='index' style="margin-top: 20rpx;"><view class="cu-bar bg-white margin-top-xs"><view class="action sub-title"><text class="text-xl text-bold text-blue text-shadow">{{item.matchName}}{{cxlx=='jc'?item.matchNoCnJczq:item.matchNoCn}}</text><text class="text-ABC text-blue"></text></view></view><view class="cu-list menu sm-border margin-bottom" style="box-shadow: 0 2px 8px rgba(0,0,0,0.15);"><view class="cu-item"><view class="content padding-tb-sm"><view class="text-lg"><text class="cuIcon-text text-blue margin-right-xs"></text>{{item.teams1}} VS {{item.teams2}}</view><view class="text-gray text-df margin-top-xs"><text class="cuIcon-hotfill margin-right-xs"></text>时间:{{item.matchTime.substring(5)}}</view></view><view class="action"><view class="cu-capsule radius margin-right" style="margin-bottom: 20rpx;"><view :class="{'cu-tag bg-green':item.betTypeStr1=='负','cu-tag bg-gray':item.betTypeStr1=='平','cu-tag bg-red':item.betTypeStr1=='胜'}">{{item.betTypeStr1}}</view><view :class="{'cu-tag line-green':item.betTypeStr1=='负','cu-tag line-gray':item.betTypeStr1=='平','cu-tag line-red':item.betTypeStr1=='胜'}">{{item.ycjgProb1}}%</view></view><br><view class="cu-capsule radius"><view :class="{'cu-tag bg-green':item.betTypeStr2=='负','cu-tag bg-gray':item.betTypeStr2=='平','cu-tag bg-red':item.betTypeStr2=='胜'}">{{item.betTypeStr2}}</view><view :class="{'cu-tag line-green':item.betTypeStr2=='负','cu-tag line-gray':item.betTypeStr2=='平','cu-tag line-red':item.betTypeStr2=='胜'}">{{item.ycjgProb2}}%</view></view></view></view></view></view></view>
</template>

五、即时预测

这里主要展示走地滚球数据,以列表的形式展示,其中又包括了大小球、角球、让球,所以以tab展示。

<template><view><view class="contaier" style="background-color: #FFFFFF;"><view class="picBox"><view class="cu-bar"><view class="action sub-title justify-between"><text class="text-xl text-bold text-white">即时数据</text><text class="text-ABC text-white">Ground</text><!-- last-child选择器--></view><view class="action text-white text-sm" style="opacity: 0.6;">每日 更新</view></view><view class="top_bg"><view class="number_sy_box"><view class="number_sy_box_title"><text>即时·统计</text><text style="position: absolute; right: 20rpx;z-index: 9999; font-size: 24rpx;color: #c3c3c3;">统计时间:昨天12:00-今日12:00</text></view><view class="number_sy_main"><view style="width: 50%; text-align: center; border-right: 1px solid #eee;"><view class="number_num1" style="color: black;">{{oddData.zqc}}</view><view class="danwei">总场次</view></view><view style="width: 50%; text-align: center; z-index: 9999;border-right: 1px solid #eee;"><view class="number_num2" style="color: red;">{{oddData.zqqc}}</view><view class="danwei">正确</view></view><view style="width: 50%; text-align: center; z-index: 9999;border-right: 1px solid #eee;"><view class="number_num2">{{oddData}}</view><view class="danwei">错误</view></view><view style="width: 50%; text-align: center; border-right: 1px solid #eee;"><view class="number_num1" style="color: blue;">{{oddData}}</view><view class="danwei">胜率</view></view><view style="width: 50%; text-align: center; z-index: 9999;"><view class="number_num2" v-if="oddData.yld>=0" style="color: darkred;">{{oddDat}}</view><view class="number_num2" v-if="oddData.yld<0">{{oddData}</view><view class="danwei">盈利</view></view><!-- <image mode="widthFix" class="xiaoding_bg" src="@/static/rank/Intersect.png"></image> --></view></view></view></view><view class="wrap"><view class="u-tabs-box"><u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs><view class="page-box" v-if='resultData.length ==0'><view><view class="centre"><view class="explain">暂无滚球信息<view class="tips">可以去看看有其他</view></view><view class="btn">再等等把</view></view></view></view><view class="page-box"><view class="order" v-for="item in resultData" :key="item.matchId + item.betType"><view class="top"><view class="left"><uni-text class="cuIcon-titles text-blue"></uni-text><view class="store" v-if="item.nowstatus!='完'">{{item}}{{item}}</view><image class="xiaoding_bg" mode="widthFix" src="../../static/zd2.gif" v-if="item.nowstatus!='完'"></image><view class="store" v-else>{{item}} {{item}}</view></view><view class="right"><text class="text-blue">时间:{{item.matchTime.substring(5)}}</text></view></view><view class="cu-card dynamic isCard "><view class=" shadow goPhotographer"><view class="PhotographerBoxR "><view class="text-sm text-grey margin-top-xs">预测盘口:{{item}}</view><view class="text-sm text-grey margin-top-xs">预测时间:{{item}}</view><view class="text-sm text-grey margin-top-xs">预测比分:{{item}} </view></view><view class="PhotographerBoxL"><!-- <view class="text-bold margin-top-sm">中国足协杯</view> --><view class="text-sm text-bold avatar-text">{{item.teams1}}{{item.nowscore.split('-')[0]}}</view><view class="text-sm text-bold"> {{item.teams2}} {{item.nowscore.split('-')[1]}}</view><view class='cu-tag2 margin-top-xs bg-red radius shadow-lg' v-if="item.betType.includes('大')|| item.betType.includes('主')||item.betType == '胜'">{{item.betType}}</view><view class='cu-tag2 margin-top-xs bg-blue radius shadow-lg' v-if="item.betType.includes('小')|| item.betType.includes('客')||item.betType.includes('负')">{{item.betType}}</view></view></view></view><br></br></br></br></view></view></view></view></view>
</template>

实现效果:
在这里插入图片描述


总结

因为有前端铺子丰富的UI组件库,所以实现起来还是比较简单的,后端是用的api接口,有需要的请联系作者。

鸣谢:
前端铺子-优秀前端UI框架
足球数据分析平台-优秀足球数据策略提供商

相关文章:

uniapp实现足球数据分析平台移动端H5

文章目录 前言一直想做一款足球分析平台&#xff0c;大概内容包括竞彩分析模块&#xff0c;即时预测模块&#xff0c;初盘分析模块&#xff0c;找来找去还是前端铺子的样式感觉比较好看。 一、界面一栏二、注册界面1.代码说明 三、首页界面四、竞彩预测五、即时预测总结 前言 …...

Redis5优化-Redis

1、Redis关键参数 a、客户端最大连接数 maxclients 60000 注意该参数受到操作系统最大文件句柄的限制(ulimit -n) b、响应 repl-ping-slave-period/repl-timeout repl-timeout 60 1&#xff09;、说明&#xff1a;slave 会每隔 repl-ping-slave-period(默认10秒)ping一次mast…...

Element UI【详解】el-scrollbar 滚动条组件

el-scrollbar 滚动条组件用于优化页内滚动条的UI效果&#xff0c;使用时必须指定高度&#xff01; /*el-scrollbar 必须指定高度*/ .scrollMenuBox {height: 200px;width: 100px;border: 1px solid red; } 控制el-scrollbar内滚动条的方法与控制页面的滚动条的方法基本一样&a…...

【精选】基于Python大型购物商城系统(京东购物商城,淘宝购物商城,拼多多购物商城爬虫系统)

目录&#xff1a; 目录&#xff1a; 系统介绍&#xff1a; 系统开发技术 Python语言 Django框架简介 MySQL数据库技术 B/S架构 系统设计 系统总体设计 系统详细界面实现&#xff1a; 系统测试 测试目的 测试用例 本章小结 参考代码&#xff1a; 为什么选择我&…...

QT翻金币小游戏(含音频图片文件资源)

目录 QT翻金币小游戏 音频图片资源文件获取 效果展示 图片 视频 实现代码 main.cpp mymainwindow.h mymainwindow.cpp startscene.h startscene.cpp selectscene.cpp playscene.h playscene.cpp mypushbutton.h mypushbutton.cpp dataconfig.h dataconfig.cpp QT…...

Linux配置JDK8环境变量

目录 一、yum安装1.1 OpenJDK安装1.2 测试是否能够使用1.3 如何卸载JDK 二、手动安装2.1 下载2.2 上传到linux服务器路径2.3 解压2.4 配置环境变量2.5 测试是否能够使用 一、yum安装 1.1 OpenJDK安装 sudo yum install -y java-1.8.0-openjdk-devel1.2 测试是否能够使用 jav…...

Fiddle抓手机app的包

前言 本次文章讲述的是&#xff0c;fiddle获取手机代理&#xff0c;从而获取手机app的http、https请求&#xff01; 一.下载安装汉化Fiddle 1.点击Fiddler官网下载链接&#xff1a;Download Fiddler Web Debugging Tool for Free by Telerik 2.直接运行&#xff0c;选择自己需…...

Oracle+ASM+High冗余详解及空间计算

Oracle ASM&#xff08;Automatic Storage Management&#xff09;的High冗余模式是一种提供高度数据保护的策略&#xff0c;它通过创建多个数据副本来确保数据的可用性和安全性。 以下是关于Oracle ASM High冗余的详细解释&#xff1a; 一、High冗余的特点 1.数据冗余度 在Hi…...

如何为 Nextcloud 配置自动数据库备份 - 应用程序

自动数据库备份模块简化了生成数据库计划备份的过程。这些备份可以存储在各种位置&#xff0c;包括本地驱动器、FTP 服务器、SFTP 服务器、Dropbox、Google Drive、OneDrive、NextCloud 和 Amazon S3 云存储。用户还可以选择启用自动删除过期备份的功能。此外&#xff0c;用户可…...

child_process.spawn简介

child_process.spawn 是 Node.js 中 child_process 模块的一个重要方法&#xff0c;它用于异步地创建子进程来执行指定的命令。下面是对 child_process.spawn 的深入解析&#xff1a; 一、基本用法 spawn 方法的基本语法如下&#xff1a; const { spawn } require(child_pr…...

整理给测试人看的千页面试题

人往高处走水往低处流&#xff0c;九月已来&#xff0c;“金九银十”招聘季还会远吗&#xff1f; 转眼2024年招聘季就要来了&#xff0c;没点真本事真技术&#xff0c;没点面试经验&#xff0c;不了解点职场套路&#xff0c;如何过五关斩六将&#xff1f;如何打败面试官&#…...

Linux 内核中的并发与竞争

1. 引入并发与竞争的概念 在现代计算环境中&#xff0c;多个任务和线程通常会同时执行&#xff0c;因此理解并发和竞争的特性与挑战至关重要。以下是对这两个概念的详细介绍。 1. 并发&#xff08;Concurrency&#xff09; 定义&#xff1a; 并发是指多个任务在同一时间段内…...

Ubuntu修改命令提示符格式PS1

命令提示符组成 通过Xshell进入Ubuntu的默认提示符是这样的 rootDESKTOP:~# root: 当前登录用户DESKTOP&#xff1a;主机名~: 当前目录名&#xff08;即用户主目录&#xff09;#&#xff1a;超级用户权限(root用户显示)$: 普通用户权限(非root用户显示) 修改命令提示符 step1…...

指针详解(五)

目录 1. 回调函数 2. qsort使用举例 1&#xff09;排序整型数据 2&#xff09;排序结构数据 3. qsort函数的模拟实现&#xff08;冒泡&#xff09; 1. 回调函数 回调函数就是一个通过函数指针调用的函数 函数的指针&#xff08;地址&#xff09;作为参数传递给另一个函数…...

智慧安防/一网统管/视频监控EasyCVR视频汇聚平台的视频轻量化特点及应用

在数字化时代&#xff0c;视频监控已成为保障公共安全、提升管理效率的重要手段。随着技术的不断进步&#xff0c;EasyCVR视频汇聚平台应运而生&#xff0c;平台以其独特的视频轻量化特点在安防监控领域展现出强大的应用潜力。本文将详细探讨EasyCVR视频汇聚平台的视频轻量化特…...

nginx代理转发如何配置

Nginx配置代理转发是一个常见的需求&#xff0c;用于将客户端的请求转发到后端服务器。以下是Nginx代理转发的配置步骤&#xff0c;包括详细的操作步骤和注意事项&#xff1a; 1. 确定Nginx安装和配置文件位置 首先&#xff0c;确保Nginx已经正确安装在服务器上。Nginx的主配…...

JavaScript学习笔记(十三):网络请求JS AJAX

1、AJAX - XMLHttpRequest 对象 1.1 XMLHttpRequest 对象是 AJAX 的基石。 创建 XMLHttpRequest 对象定义回调函数打开 XMLHttpRequest 对象向服务器发送请求 1.2 XMLHttpRequest 对象 所有现代浏览器都支持 XMLHttpRequest 对象。 XMLHttpRequest 对象可用于在后台与 Web…...

go for 循环变量的使用及易错点

1&#xff0c;for 循环变量&#xff0c;整个for循环中变量i始终使用一个变量&#xff0c;i地址不变&#xff0c;存放的内容在变 func main() {for i : 0; i < 10; i {fmt.Printf("值:%v 地址&#xff1a;%v \n", i, &i)} } 打印&#xff1a; 值:0 地址&am…...

2024嵌入式面试:OPPO嵌入式面试题及参考答案

目录 TCP 与 UDP 的区别是什么? 请简述 TCP 的三次握手过程。 HTTP 协议的工作原理是什么? C++11 引入了哪些新特性? 什么是智能指针?如何解决其内存泄漏问题? 进程间有哪些通信方式? CPU 的调度策略有哪些? 如何保证线程安全?多线程编程需要注意哪些问题? S…...

Cesium模型制作,解决Cesium加载glb/GLTF显示太黑不在中心等问题

Cesium模型制作&#xff0c;解决Cesium加载glb/GLTF显示太黑不在中心等问题 QQ可以联系这里&#xff0c;谢谢...

stm32G473的flash模式是单bank还是双bank?

今天突然有人stm32G473的flash模式是单bank还是双bank&#xff1f;由于时间太久&#xff0c;我真忘记了。搜搜发现&#xff0c;还真有人和我一样。见下面的链接&#xff1a;https://shequ.stmicroelectronics.cn/forum.php?modviewthread&tid644563 根据STM32G4系列参考手…...

椭圆曲线密码学(ECC)

一、ECC算法概述 椭圆曲线密码学&#xff08;Elliptic Curve Cryptography&#xff09;是基于椭圆曲线数学理论的公钥密码系统&#xff0c;由Neal Koblitz和Victor Miller在1985年独立提出。相比RSA&#xff0c;ECC在相同安全强度下密钥更短&#xff08;256位ECC ≈ 3072位RSA…...

23-Oracle 23 ai 区块链表(Blockchain Table)

小伙伴有没有在金融强合规的领域中遇见&#xff0c;必须要保持数据不可变&#xff0c;管理员都无法修改和留痕的要求。比如医疗的电子病历中&#xff0c;影像检查检验结果不可篡改行的&#xff0c;药品追溯过程中数据只可插入无法删除的特性需求&#xff1b;登录日志、修改日志…...

【解密LSTM、GRU如何解决传统RNN梯度消失问题】

解密LSTM与GRU&#xff1a;如何让RNN变得更聪明&#xff1f; 在深度学习的世界里&#xff0c;循环神经网络&#xff08;RNN&#xff09;以其卓越的序列数据处理能力广泛应用于自然语言处理、时间序列预测等领域。然而&#xff0c;传统RNN存在的一个严重问题——梯度消失&#…...

学习STC51单片机31(芯片为STC89C52RCRC)OLED显示屏1

每日一言 生活的美好&#xff0c;总是藏在那些你咬牙坚持的日子里。 硬件&#xff1a;OLED 以后要用到OLED的时候找到这个文件 OLED的设备地址 SSD1306"SSD" 是品牌缩写&#xff0c;"1306" 是产品编号。 驱动 OLED 屏幕的 IIC 总线数据传输格式 示意图 …...

微信小程序云开发平台MySQL的连接方式

注&#xff1a;微信小程序云开发平台指的是腾讯云开发 先给结论&#xff1a;微信小程序云开发平台的MySQL&#xff0c;无法通过获取数据库连接信息的方式进行连接&#xff0c;连接只能通过云开发的SDK连接&#xff0c;具体要参考官方文档&#xff1a; 为什么&#xff1f; 因为…...

Fabric V2.5 通用溯源系统——增加图片上传与下载功能

fabric-trace项目在发布一年后,部署量已突破1000次,为支持更多场景,现新增支持图片信息上链,本文对图片上传、下载功能代码进行梳理,包含智能合约、后端、前端部分。 一、智能合约修改 为了增加图片信息上链溯源,需要对底层数据结构进行修改,在此对智能合约中的农产品数…...

Java + Spring Boot + Mybatis 实现批量插入

在 Java 中使用 Spring Boot 和 MyBatis 实现批量插入可以通过以下步骤完成。这里提供两种常用方法&#xff1a;使用 MyBatis 的 <foreach> 标签和批处理模式&#xff08;ExecutorType.BATCH&#xff09;。 方法一&#xff1a;使用 XML 的 <foreach> 标签&#xff…...

无人机侦测与反制技术的进展与应用

国家电网无人机侦测与反制技术的进展与应用 引言 随着无人机&#xff08;无人驾驶飞行器&#xff0c;UAV&#xff09;技术的快速发展&#xff0c;其在商业、娱乐和军事领域的广泛应用带来了新的安全挑战。特别是对于关键基础设施如电力系统&#xff0c;无人机的“黑飞”&…...

Golang——7、包与接口详解

包与接口详解 1、Golang包详解1.1、Golang中包的定义和介绍1.2、Golang包管理工具go mod1.3、Golang中自定义包1.4、Golang中使用第三包1.5、init函数 2、接口详解2.1、接口的定义2.2、空接口2.3、类型断言2.4、结构体值接收者和指针接收者实现接口的区别2.5、一个结构体实现多…...