摘要
物联网嵌入式终端的发展给人们带来了诸多便利,这类设备使用过程中往往需要进行固件更新与维护,因其体型小、分布广的特点,技术人员多采用远程在线升级技术(FOTA, Firmware Over-the-Air)进行固件升级。由于物联网终端是一种低成本硬件系统且基于公网完成数据传输,因此减少更新包传输中的通信开销和减小终端固件更新时的内存开销是必须考虑的问题。针对以上问题,提出一种物联网终端固件远程在线升级方法 SZE-BSDiff,该方法在BSDiff差分升级方法的基础上,先根据BSDiff差分包的结构特征对其进行统计消零编码(SZE)以减小差分包数据量,再对编码后的差分包采用Gzip压缩以降低传输数据量,终端收到数据后结合旧版本固件和差分包构建新版本固件。实验结果表明,该方法在节约通信开销以及内存开销方面表现良好。
Since the IoT terminal is a low-cost hardware system and completes data transmission based on the public network,reducing the communication overhead in the transmission of update packets and reducing the memory overhead when updating the terminal firmware are issues that must be considered.In view of the above problems,this paper proposes a remote online upgrade method of IoT terminal firmware SZE-BSDiff.Based on the BSDiff differential upgrade method,this method first performs statistical zero elimination coding(SZE) according to the structural characteristics of the BSDiff differential packet to obtain Reduce the data volume of the differential packet,and then use Gzip to compress the encoded differential packet to reduce the amount of transmitted data.After receiving the data,the terminal combines the old version of the firmware and the differential packet to build a new version of the firmware.Experimental results show that this method performs well in saving communication overhead and memory overhead.
出处
《工业控制计算机》
2022年第5期18-20,22,共4页
Industrial Control Computer
基金
上海市科委重点项目(19DZ1205802)资助。