基于STM32单片机的差分升级(增量升级)算法软件(非源码)

上传者: zhou74281 | 上传时间: 2021-06-10 18:02:41 | 文件大小: 19.39MB | 文件类型: ZIP
STM32单片机可用的差分升级(增量升级)算法软件(非源码,请联系微信deiois) 介绍博客:https://blog.csdn.net/zhou74281/article/details/117777684 DiffIAP – STM32单片机可用的差分升级(增量升级),适用于物联网车联网IAP升级OTA升级 应用背景 随着目前物联网,车联网,智能设备的增多,需要远程升级设备程序的场景增多,以往的IAP升级和OTA升级都是整包升级,bin文件过大导致升级过程依赖通信的带宽和延迟,差分升级(增量升级)恰好可以解决这个问题,两者各有优缺点,可以相辅相成. 差分升级介绍 差分升级又叫增量升级, 是通过差分算法将源版本与目标版本之间差异的部分提取出来制作成差分包,再经过压缩算法生成特别小的补丁包,接着不管通过什么方式(网络传输,串口,232,485,CAN总线,USB总线等)把补丁包下载至设备的Flash存储中,然后在设备通过打补丁还原算法将差异部分在源版本上进行还原从而升级成目标版本的过程。 差分升级方案不仅可以节省MCU内部的资源空间、还可以节省下载流程及下载和升级过程中的功耗。从另一个角度说,通过将差分部分下发到设备保证了版本的安全性。 本应用的底层采用开源的差分算法BsDiff和无损压缩算法LZ77,全部使用C语言编写,支持跨平台移植,接口简洁方便移植,已验证成功移植到PC端的QT平台下和嵌入式端的STM32平台下. ## PC端QT平台下测试 制作差分文件 旧文件和新文件大小为174k字节,只更改了LED灯的闪烁频率,经过差分算法后生成的补丁文件只有33个字节,补丁文件大小取决于新旧文件的差异大小

文件下载

资源详情

[{"title":"( 53 个子文件 19.39MB ) 基于STM32单片机的差分升级(增量升级)算法软件(非源码)","children":[{"title":"几种OTA方式对比.png <span style='color:#111;'> 56.63KB </span>","children":null,"spread":false},{"title":"09184620.png <span style='color:#111;'> 37.43KB </span>","children":null,"spread":false},{"title":"__使用说明__.txt <span style='color:#111;'> 456B </span>","children":null,"spread":false},{"title":"测试用的bin文件","children":[{"title":"快.bin <span style='color:#111;'> 174.55KB </span>","children":null,"spread":false},{"title":"慢.bin <span style='color:#111;'> 174.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"HexCmp","children":[{"title":"说明文档.txt <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"hextype.log <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"comparison.cfg <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"hexcmpCrack.exe <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false}],"spread":true},{"title":"Diff-IAP","children":[{"title":"iconengines","children":[{"title":"qsvgicon.dll <span style='color:#111;'> 42.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"libGLESV2.dll <span style='color:#111;'> 2.68MB </span>","children":null,"spread":false},{"title":"libEGL.dll <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"DiffIAP.exe <span style='color:#111;'> 85.50KB </span>","children":null,"spread":false},{"title":"Qt5Svg.dll <span style='color:#111;'> 351.50KB </span>","children":null,"spread":false},{"title":"imageformats","children":[{"title":"qwbmp.dll <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false},{"title":"qjpeg.dll <span style='color:#111;'> 242.00KB </span>","children":null,"spread":false},{"title":"qtiff.dll <span style='color:#111;'> 437.50KB </span>","children":null,"spread":false},{"title":"qtga.dll <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"qico.dll <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false},{"title":"qgif.dll <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"qicns.dll <span style='color:#111;'> 45.50KB </span>","children":null,"spread":false},{"title":"qsvg.dll <span style='color:#111;'> 26.50KB </span>","children":null,"spread":false},{"title":"qwebp.dll <span style='color:#111;'> 438.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"platforms","children":[{"title":"qwindows.dll <span style='color:#111;'> 1.67MB </span>","children":null,"spread":false}],"spread":true},{"title":"libwinpthread-1.dll <span style='color:#111;'> 77.50KB </span>","children":null,"spread":false},{"title":"libstdc++-6.dll <span style='color:#111;'> 1.47MB </span>","children":null,"spread":false},{"title":"D3Dcompiler_47.dll <span style='color:#111;'> 3.52MB </span>","children":null,"spread":false},{"title":"Qt5Core.dll <span style='color:#111;'> 5.81MB </span>","children":null,"spread":false},{"title":"opengl32sw.dll <span style='color:#111;'> 15.25MB </span>","children":null,"spread":false},{"title":"translations","children":[{"title":"qt_fi.qm <span style='color:#111;'> 157.25KB </span>","children":null,"spread":false},{"title":"qt_fr.qm <span style='color:#111;'> 162.26KB </span>","children":null,"spread":false},{"title":"qt_gd.qm <span style='color:#111;'> 169.50KB </span>","children":null,"spread":false},{"title":"qt_ru.qm <span style='color:#111;'> 154.14KB </span>","children":null,"spread":false},{"title":"qt_ko.qm <span style='color:#111;'> 128.18KB </span>","children":null,"spread":false},{"title":"qt_ca.qm <span style='color:#111;'> 175.01KB </span>","children":null,"spread":false},{"title":"qt_pl.qm <span style='color:#111;'> 159.15KB </span>","children":null,"spread":false},{"title":"qt_de.qm <span style='color:#111;'> 183.58KB </span>","children":null,"spread":false},{"title":"qt_bg.qm <span style='color:#111;'> 161.45KB </span>","children":null,"spread":false},{"title":"qt_uk.qm <span style='color:#111;'> 154.52KB </span>","children":null,"spread":false},{"title":"qt_en.qm <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"qt_lv.qm <span style='color:#111;'> 150.00KB </span>","children":null,"spread":false},{"title":"qt_hu.qm <span style='color:#111;'> 88.86KB </span>","children":null,"spread":false},{"title":"qt_sk.qm <span style='color:#111;'> 122.81KB </span>","children":null,"spread":false},{"title":"qt_cs.qm <span style='color:#111;'> 170.60KB </span>","children":null,"spread":false},{"title":"qt_ja.qm <span style='color:#111;'> 126.86KB </span>","children":null,"spread":false},{"title":"qt_da.qm <span style='color:#111;'> 165.68KB </span>","children":null,"spread":false},{"title":"qt_he.qm <span style='color:#111;'> 135.43KB </span>","children":null,"spread":false},{"title":"qt_es.qm <span style='color:#111;'> 161.29KB </span>","children":null,"spread":false},{"title":"qt_it.qm <span style='color:#111;'> 157.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"libgcc_s_dw2-1.dll <span style='color:#111;'> 117.51KB </span>","children":null,"spread":false},{"title":"Qt5Widgets.dll <span style='color:#111;'> 6.06MB </span>","children":null,"spread":false},{"title":"Qt5Gui.dll <span style='color:#111;'> 5.92MB </span>","children":null,"spread":false}],"spread":false},{"title":"测试结果.png <span style='color:#111;'> 48.39KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • qq_16856431 :
    嗯,两个工具,无代码
    2021-07-06

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明