一种固件升级方法和存储设备

Published in 发明专利 Invention patent, 2021

Recommended citation: Dayao Ji. (2021). "Firmware upgrading method and storage equipment." China patent. CN113791812A. https://patents.google.com/patent/CN113791812A

一种固件升级方法和存储设备

摘要:本发明涉及固件升级技术领域,特别涉及一种固件升级方法和存储设备。所述一种固件升级方法,包括步骤:获取用于第一次升级的固件升级包;执行第一次升级,在当前设备的预设位置增加新分区,所述新分区包括:预留包分区,所述预留包分区用于:存放第二次升级的固件升级包;执行第二次升级,读取所述第二次升级的固件升级包并存储至设备Memory,基于所述设备Memory中的第二次升级的固件升级包进行升级操作。上述方法,通过两次的固件升级使得在不需要借助外部存储介质的情况下,实现对设备整块存储介质进行变更升级,支持分区表任意变更,克服了对外置存储介质的依赖,从而满足某些特殊场景的固件升级需求。

Firmware upgrading method and storage equipment

Abstract:The present invention relates to the field of firmware upgrading technologies, and in particular, to a firmware upgrading method and a storage device. The firmware upgrading method comprises the following steps: acquiring a firmware upgrading package for first upgrading; executing first upgrading, and adding a new partition at a preset position of the current equipment, wherein the new partition comprises: a reserved packet partition to: storing the firmware upgrade package of the second upgrade; and executing second upgrade, reading the firmware upgrade package of the second upgrade, storing the firmware upgrade package of the second upgrade into the device Memory, and performing upgrade operation based on the firmware upgrade package of the second upgrade in the device Memory. According to the method, the whole storage medium of the equipment is changed and upgraded through two times of firmware upgrading without the help of an external storage medium, the partition table is supported to be changed randomly, the dependence on the external storage medium is overcome, and therefore the firmware upgrading requirements of certain special scenes are met.

Download paper here

Recommended citation:

纪大峣. 一种固件升级方法和存储设备[P]. 中国:CN113791812A,2021-12-14.

D. Ji,”Firmware upgrading method and storage equipment,” China Patent CN113791812A, December 14,2021.