Firmware upgrading method and device and computer storage medium

A firmware upgrade and computer program technology, applied in the field of electronics, can solve the problems of increasing the maintenance cost of embedded systems, system crashes, embedded system crashes, etc., to avoid crashes or system crashes, reduce maintenance costs, and provide recovery capabilities.

Pending Publication Date: 2022-02-08
SHENZHEN NEOWAY TECH
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of upgrading the embedded firmware, if there is a sudden power failure or abnormal firmware, the embedded system will crash or th

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 computer storage medium
  • Firmware upgrading method and device and computer storage medium
  • Firmware upgrading method and device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to facilitate understanding of a firmware upgrade method disclosed in the embodiment of the present application, the embedded system provided in the embodiment of the present application is first introduced below.

[0026] See figure 1 , figure 1 It is a schematic structural diagram of an embedded system provided by the embodiment of this application. The embedded system in the embodiment of the present application may include a first storage space and a second storage space, wherein the first storage space may include an upgrade area and a backup area.

[0027] In the embodiment of the present application, the first storage space may be a flash memory (Flash) that does not lose data due to power failure and can read data quickly, such as NOR Flash and NAND Flash. Wherein, the upgrade area can be used to store firmware upgrade files, and the backup area can be used to store backup firmware to be upgraded. The second storage space can be random access memory ...

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 embodiment of the invention discloses a firmware upgrading method and device and a computer storage medium, and the method comprises the steps: obtaining a firmware upgrading file, and storing the firmware upgrading file to an upgrading area; obtaining first version information of the firmware to be upgraded; if the backup area is not empty, acquiring second version information of backup area firmware stored in the backup area; if the first version information is different from the second version information, storing firmware indicated by the first version information corresponding to the to-be-upgraded firmware in a backup area in a covering mode; and according to the firmware upgrading file of the upgrading area, carrying out storage operation on the second storage space so as to copy the firmware upgrading file of the upgrading area to the second storage space to upgrade the to-be-upgraded firmware. By implementing the embodiment of the invention, in the firmware upgrading process, when power is suddenly cut off or the firmware is abnormal, the firmware in the backup area can be called to ensure the normal operation of the embedded system, the recovery capability is provided, and the risk that the embedded system crashes or crashes is avoided.

Description

technical field [0001] The present application relates to the field of electronic technology, and in particular to a firmware upgrade method, device and computer storage medium. Background technique [0002] An embedded system is a special-purpose computer system that can operate independently by the cooperation of hardware and software. With the development of electronic technology and computer software technology, embedded systems are widely used in daily life, industrial control, industrial production and other fields. Therefore, the maintenance and upgrading of embedded systems has become increasingly important. Wherein, various system functions in the embedded system are controlled by embedded firmware, and the embedded firmware includes a boot loader, a kernel file and a file system, and is usually stored in a flash memory (Flash). The functions of the embedded system can be continuously improved by regularly upgrading the embedded firmware. [0003] In the process o...

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
IPC IPC(8): G06F11/14G06F8/65
CPCG06F11/1438G06F8/65
Inventor 王玉鑫
Owner SHENZHEN NEOWAY 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