升级隐藏分区固件的方法、电子设备和存储介质
Published in 发明专利 Invention patent, 2023
Recommended citation: Dayao Ji. (2023). "Method for upgrading hidden partition firmware, electronic equipment and storage medium." China patent. CN116483404A. https://patents.google.com/patent/CN116483404A
升级隐藏分区固件的方法、电子设备和存储介质
摘要:本发明涉及升级隐藏分区固件的方法、电子设备和存储介质,获取包含隐藏分区固件文件的固件升级包,隐藏分区固件文件通过将待升级的多个要存储到隐藏分区中的二进制固件打包而被形成,基于隐藏分区固件文件构建隐藏分区固件数据块,接着基于隐藏分区固件数据块进行固件升级,以此通过存储隐藏分区固件的元数据信息,即使升级过程中意外掉电,也能确保隐藏分区存储区域总有一份固件是可用的,即可以找到旧的升级前的隐藏分区固件来使用,以此确保设备能够重新正常引导,重入升级模式继续完成升级,从而确保隐藏分区固件升级的可靠性。
Method for upgrading hidden partition firmware, electronic equipment and storage medium
Abstract:The invention relates to a method for upgrading hidden partition firmware, electronic equipment and a storage medium, wherein a firmware upgrading package containing a hidden partition firmware file is obtained, the hidden partition firmware file is formed by packaging a plurality of binary firmware to be upgraded and stored in a hidden partition, a hidden partition firmware data block is constructed based on the hidden partition firmware file, then firmware upgrading is carried out based on the hidden partition firmware data block, so that even if power is accidentally lost in the upgrading process, the fact that one part of firmware is always available in a storage area of the hidden partition can be ensured, the old hidden partition firmware before upgrading can be found for use, the equipment can be guided normally again, and the upgrading is continuously completed in a reentrant upgrading mode, thereby ensuring the reliability of the updating of the hidden partition firmware.
Recommended citation:
纪大峣. 升级隐藏分区固件的方法、电子设备和存储介质[P]. 中国:CN116483404A,2023-07-25.
D. Ji,”Method for upgrading hidden partition firmware, electronic equipment and storage medium,” China Patent CN116483404A, July 25,2023.
