小内存嵌入式设备软件的差分升级设计

李维, 禹云辉, 肖秋

集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (5) : 20-24.

PDF(1245 KB)
PDF(1245 KB)
集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (5) : 20-24.
专题论述

小内存嵌入式设备软件的差分升级设计

  • 李维, 禹云辉, 肖秋
作者信息 +

Design of Software Differential Upgrade for Embedded Devices with Small Memory

  • Li Wei, Yu Yunhui, Xiao Qiu
Author information +
文章历史 +

摘要

提出一种改进HDiffPatch算法并在复旦微单片机上实现小内存差分升级的方案,即使用单片机内的Flash空间替代算法占用的RAM空间,从而减少算法对单片机RAM空间的需求,以满足小内存微处理器的差分升级,同时对算法内存分配释放函数进行优化,以最大限度地利用RAM空间。实验结果表明,改进后的HDiffPatch算法可以实现在小内存嵌入式设备上的差分升级。

Abstract

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.

关键词

嵌入式设备 / 差分升级 / 小内存 / HDiffPatch算法

Key words

embedded device / differential upgrade / small memory / HDiffPatch algorithm

引用本文

导出引用
李维, 禹云辉, 肖秋. 小内存嵌入式设备软件的差分升级设计[J]. 集成电路与嵌入式系统. 2023, 23(5): 20-24
Li Wei, Yu Yunhui, Xiao Qiu. Design of Software Differential Upgrade for Embedded Devices with Small Memory[J]. Integrated Circuits and Embedded Systems. 2023, 23(5): 20-24
中图分类号: TP311   

参考文献

[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.

PDF(1245 KB)

Accesses

Citation

Detail

段落导航
相关文章

/