升级固件的方法、电子设备和存储介质
Published in 发明专利 Invention patent, 2024
Recommended citation: Dayao Ji. (2024). "Method for upgrading firmware, electronic device and storage medium." China patent. CN118567680A. https://patents.google.com/patent/CN118567680A
升级固件的方法、电子设备和存储介质
摘要:本发明涉及升级固件的方法、电子设备和存储介质。该方法包括:根据引导通信分区的第一预设位置中的与第一预设升级指令相对应的升级指令信息,对启动引导程序固件和引导通信分区进行备份,并将第二预设升级指令写入第一预设位置;根据与第二预设升级指令相对应的升级指令信息,基于引导通信分区的第二预设位置中的固件升级包信息对分区表和启动引导程序固件进行升级,并将第三预设升级指令写入第一预设位置;根据与第三预设升级指令相对应的升级指令信息,基于引导通信分区的第二预设位置中的固件升级包信息对其他固件进行升级。在升级中出现意外时可利用备份的启动引导程序固件继续完成升级,无需多次重启流程,从而提高固件升级的效率和可靠性。
Method for upgrading firmware, electronic device and storage medium
Abstract:The invention relates to a method for upgrading firmware, an electronic device and a storage medium. The method comprises the following steps: according to upgrade instruction information corresponding to a first preset upgrade instruction in a first preset position of the guide communication partition, backing up the boot program firmware and the guide communication partition, and writing a second preset upgrade instruction into the first preset position; according to the upgrade instruction information corresponding to the second preset upgrade instruction, upgrading the partition table and the starting boot program firmware based on the firmware upgrade package information in the second preset position of the boot communication partition, and writing a third preset upgrade instruction into the first preset position; and according to the upgrade instruction information corresponding to the third preset upgrade instruction, upgrading other firmware based on the firmware upgrade package information in the second preset position of the guide communication partition. When accidents occur in the upgrading process, the backup starting guide program firmware can be used for continuously completing the upgrading without restarting the process for a plurality of times, so that the efficiency and the reliability of the firmware upgrading are improved.
Recommended citation:
纪大峣. 升级固件的方法、电子设备和存储介质[P].中国:CN118567680A,2024-08-30.
D. Ji,”Method for upgrading firmware, electronic device and storage medium,” China Patent CN118567680A, August 30,2024.
