Firmware upgrading method and device and readable storage medium

A firmware upgrade and storage medium technology, applied in the field of the Internet of Things, can solve problems such as poor stability and security, system failure to return to normal, waste of time, etc., and achieve the effect of improving security and stability

Pending Publication Date: 2020-03-27
BEIJING KNOWNSEC INFORMATION TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since it needs to be erased during the upgrade process, it needs to be restarted after the firmware upgrade, which is a waste of time, and restarting will cause business interruption
In addition, the power cannot be cut off during the upgrade process. If there is a power failure or restart during the upgrade process, the system will not be able to return to normal.
[0004] Therefore, the existing firmware upgrade method may cause the system to fail to operate normally or business interruption, and the stability and security are poor.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Firmware upgrading method and device and readable storage medium
  • Firmware upgrading method and device and readable storage medium
  • Firmware upgrading method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0029] The method for upgrading firmware involved in the technical solutions of the embodiments of the present application can be applied to embedded devices. In addition, the firmware upgrade is implemented by patching. For the firmware of embedded devices, BUGs will inevitably appear, and patches can be used to specifically repair these BUGs. When upgrading, apply a patch to the firmware, and when the firmware runs next time, the BUG can be repaired through the applied patch, and the original problem will no longer occur. Therefore, patching the firmware is also a process of upgrading the firmware.

[0030] Based on the above application scenarios, please refer to figure 1 , the firmware upgrade method provided by the embodiment of the present application, the method includes:

[0031] Step 101...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a firmware upgrading method and device and a readable storage medium. The method comprises the steps of obtaining a patch file of a to-be-applied patch of current version firmware, wherein the patch file comprises a patch code, a patch space address and a skip list address corresponding to a patch; writing the patch code into the patch space address, wherein the patch spacecorresponding to the patch space address is a pre-erased space; modifying a skip list address corresponding to the patch into the patch space address, wherein the skip list spaces corresponding to theskip list addresses corresponding to the patches are pre-erased spaces. According to the method, the stability and safety of firmware upgrading are improved.

Description

technical field [0001] The present application relates to the technical field of the Internet of Things, and in particular, relates to a firmware upgrade method and device, and a readable storage medium. Background technique [0002] When upgrading the firmware of embedded products in the Internet of Things, it is necessary to download the firmware and save it to the memory (or to the reserved storage space), and then write the new firmware after erasing the original storage space. [0003] In the field of the Internet of Things, most embedded products use flash to store programs. When the device firmware is upgraded, the flash needs to be erased by sector (or entire block) before it can be rewritten. Since it needs to be erased during the upgrade process, it needs to be restarted after the firmware upgrade, which is a waste of time, and restarting will cause business interruption. In addition, the power cannot be cut off during the upgrade process. If there is a power cut ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/658
CPCG06F8/658
Inventor 陈金战
Owner BEIJING KNOWNSEC INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products