Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and equipment for preventing hardware update from failing

A firmware upgrade and firmware technology, applied in the field of digital information transmission, can solve the problems of incomplete firmware content, failure of the device to start normally, and time-consuming storage media.

Active Publication Date: 2013-12-18
NANJING NANZI INFORMATION TECH
View PDF3 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is not difficult to find that in the unpacking operation of step 3 of the above solution, if the upgrade process is interrupted by a power failure or forced restart during writing, the file may be damaged, the firmware content may be incomplete, and the device may not start normally, or Unconventional methods need to be used to re-flash the firmware
It is time-consuming to complete this uninterruptible operation process on some storage media. Regardless of the probability of occurrence, the consequences of firmware upgrade failure are very serious and there is a greater risk

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
  • Method and equipment for preventing hardware update from failing
  • Method and equipment for preventing hardware update from failing
  • Method and equipment for preventing hardware update from failing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Such as figure 1 as shown,

[0034] In step S110, the user uploads the new version of the firmware package to the temporary storage space (such as RAM) in the device by means of HTTP POST, FTP, TFTP, SCP or reading an external memory card.

[0035] Next, in step S111, the integrity check is performed on the uploaded firmware package. In this embodiment, the firmware package is a standard compression made by compressing the application program file through tar and adding algorithms such as gz and bz2. package, decompress the file content of the firmware package to the temporary storage space, if it can be decompressed correctly, it means that the firmware package is complete, then, use this firmware package to cover the existing updatable firmware, and enter step S112; if not If it is correctly decompressed, the firmware package is deleted, the upgrade program is terminated, and step S116 is entered.

[0036] In step S112, restart the device, enter the firmware verific...

Embodiment 2

[0042] This embodiment is improved on the basis of the first embodiment. The main improvement is that in this embodiment, the verification method of the first embodiment is improved, and the software package management system in the Linux system (such as DEB or RPM) to automatically install, configure, uninstall, and upgrade applications.

[0043] Such as figure 2 As shown, in step S210, the user uploads the new version of the firmware package to the temporary storage space in the device.

[0044] Next, in step S211, the integrity check is performed on the uploaded firmware package. In this embodiment, the firmware package is a standard installation package that can be recognized by the operating system and can provide the following functions: According to the version number of the updatable firmware (usually There are major version number, minor version number and revision number) to judge whether the existing application program needs to be upgraded; according to the depen...

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 method and equipment for preventing hardware update from failing. The method comprises the following steps: 1, starting the equipment; 2, if file contents pass validation of legality and consistency, exiting a hardware validation program; 3, if the file contents do not pass validation of legality and consistency, selecting a better version from updatable hardware and original hardware and executing the hardware validation program; 4, after the hardware validation program is completed, restarting the equipment, and repeating the step 1. The method and the equipment have the advantages that legality validation is carried out before updating, so that hardware with damaged files, hardware with unmatched version numbers or hardware being unmatched with the equipment type is eliminated, therefore the success rate of updating is improved; consistency validation is carried out every time when the equipment is started, so that applications can be automatically recovered after being accidentally modified, damaged or deleted; when the updating process is interrupted due to power failure or forced restart, the updating can be automatically recovered, and even the worst situation occurs, a protected minimum system can be started for updating again, so that the condition that the equipment cannot run is not caused.

Description

technical field [0001] The invention relates to a method and equipment for preventing firmware upgrade failure, and belongs to the technical field of digital information transmission. Background technique [0002] Firmware is software embedded in a hardware device, usually in flash memory, electrically erasable programmable read-only memory (EEPROM), or programmable read-only memory (PLD) in an application specific integrated circuit (ASIC) or programmable logic device (PLD) In the memory (PROM), some can be updated by the user. [0003] With the ever-changing technology and user needs in related fields, manufacturers generally improve the performance and reliability of the device, fix existing program problems, or add new functions to the device through regular firmware upgrades, so as to keep the device at the best level. working status. [0004] In order to upgrade the firmware of the device, the existing technology usually adopts the following steps: 1. Copy the new fi...

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): G06F9/445G06F11/14
Inventor 王强吴磊卫刚
Owner NANJING NANZI INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products