In the paper,a scheme to improve the HDiffPatch algorithm and realize the differential upgrade of small memory on the Fudan microcontroller is proposed,that is,the Flash space in the microcontroller is used to replace the RAM space occupied by the algorithm,so as to reduce the requirement of the algorithm for the RAM space of the microcontroller,and to meet the differential upgrade of small memory microprocessors.At the same time,the algorithm memory allocation release function is optimized to maximize the use of RAM space.Finally,the experiment results show that the improved HDiffPatch algorithm can achieve differential upgrade on small memory embedded devices.
Key words
embedded device /
differential upgrade /
small memory /
HDiffPatch algorithm
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 李锦峰.基于play framework的APP托管平台的设计与实现[D].北京:北京邮电大学,2018.
[2] 王宗辉,陈富光,汪芳君,等.差分升级在物联网水表上的实现与应用[J].仪表技术,2021(4):10-13,35.
[3] ZTE.Patent Issued for Method And Device For Making Differential Upgrade Package,And Method And Device For System Differential Upgrading(USPTO 10,423,585)[J].Technology News Focus,2019.
[4] Stolikj M,Cuijpers P J,Lukkien J J.Patching a patch-software updates using horizontal patching[J].IEEE Transactions on Consumer Electronics,2013,59(2):435-441.
[5] 施超,鲍可进.基于Android平台OTA差分升级系统设计与实现[J].信息技术,2017(10):137-140.
[6] 陈德富,周旭文,邱宝象,等.嵌入式设备固件差分升级的策略设计[J].单片机与嵌入式系统应用,2022,22(7):7-9.
[7] 陈迪荣,包晓安,杜鹏,等.基于BSDiff的改进远程增量更新方案[J].电子科技,2022,35(7):52-57.
[8] 赵康佳.基于功率控制RFID的模块化智能柜设计[D].南京:南京理工大学,2021.
[9] 邵学彬,贾云辉,王诗萌,等.基于Bsdiff差分算法的汽车OTA升级技术研究[C]//2021中国汽车工程学会年会论文集,2021:963-966.
[10] 刘洋,王剑.一种使用LoRa通信的OTA差分升级方法[J].物联网技术,2022,12(6):41-44,47.
[11] 何宁,曹清.基于IAP技术的电源管理固件远程更新设计[C]//第十九届计算机工程与工艺年会暨第五届微处理器技术论坛论文集,2015:353-357.
[12] 陈德富,周旭文,邱宝象,等.一种轻量级的在线差分升级策略设计[J].工业控制计算机,2022,35(9):29-30,32.
[13] 方兵兵.基于STM32的嵌入式软件远程升级研究[D].宁波:宁波大学,2017.
[14] 刘波.物联网设备空中固件升级技术研究与系统实现[D].杭州:浙江大学,2020.
[15] 顾东袁,傅晓婕,陈爱军,等.基于STM32的Bootloader实验系统设计[J].实验技术与管理,2019,36(11):89-93.