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

Firmware upgrading method and device for embedded equipment

An embedded device, firmware upgrade technology, applied in software engineering design, instrument, electrical digital data processing and other directions, can solve the problem of limited product partition size, process startup failure, prone to exceptions, etc., to achieve unlimited FLASH partition size, Improve the stability of the upgrade and simplify the effect of the upgrade process

Active Publication Date: 2019-07-02
ZHEJIANG UNIVIEW TECH CO LTD
View PDF15 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using this method of upgrading the flash memory through a program, it is necessary to run an additional upgrade program, which increases the memory consumption of the device, and there is a problem of insufficient memory on the embedded small memory that is already tight, which leads to the failure of the upgrade.
At the same time, there is such a problem: because the original file system resources have not been released, some processes are still running, and the commands used in the upgrade are also stored in the file system, so if you directly use the upgrade image file to overwrite the original The corresponding file of the file system, which is prone to abnormal conditions
[0004] In addition, the pace of development may be relatively fast now. Some process-oriented software was not considered so sound in the early stage of development. After the customer runs for a period of time or configures certain configurations, the process will fail to start. According to the previous upgrade method, it must rely on the serial port or U disk for upgrade
However, it will be more troublesome for online customers to use related tools such as serial ports. Generally, customers only have equipment and no other tools, so there is no way to upgrade.
It is no problem to upgrade by transferring files to flash, compared to devices with relatively large FLASH partition capacity, but compared to the current situation, the partition size of products is limited, and it is rare to store large image files.

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 for embedded equipment
  • Firmware upgrading method and device for embedded equipment
  • Firmware upgrading method and device for embedded equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solution of the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments, and the following embodiments do not constitute a limitation of the present invention.

[0028] Such as figure 1 As shown, a firmware upgrade method of an embedded device in this embodiment is used for firmware upgrade of an embedded device, including:

[0029] Receive the upgrade instruction sent by the user after selecting the image to be upgraded from the entire upgrade image, and close the process of the current device to release the memory;

[0030] Import the image to be upgraded to a specific memory area, and restart the device;

[0031] After the embedded device system boot program Boot starts, if the image to be upgraded is detected in the specific memory area, the image to be upgraded is written into the flash memory, otherwise the device is started normally;

[0032] After the image to be upgraded is writte...

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 discloses a firmware upgrading method and device for embedded equipment, and the method comprises the steps of receiving an upgrading instruction sent by a user after selecting a to-be-upgraded mirror image from the whole upgraded mirror image after the equipment is normally started, closing the process of the current equipment, releasing a memory, importing the to-be-upgraded mirrorimage into a specific memory area, and restarting the equipment; after the boot program of the embedded device system is started, if a to-be-upgraded mirror image is detected in the specific memory area, writing the to-be-upgraded mirror image into a flash memory, otherwise normally starting the device; and after the to-be-upgraded mirror image is written into the flash memory, emptying the specific memory area, and restarting the equipment to finish upgrading. According to the method and the device, upgrading is carried out based on the system boot program Boot, the dependence on a storage medium in the upgrading process is omitted, the upgrading stability is higher under the Boot, and the adaptability is wider.

Description

technical field [0001] The invention belongs to the technical field of device firmware upgrades, and in particular relates to a firmware upgrade method and device for embedded devices. Background technique [0002] With the increase of software functions and the resolution of product problems, embedded devices must have a need for version upgrades during the long-term operation. However, the market competition is becoming more and more fierce, and each security company is more and more strict on the cost control of its own products, and memory is the primary chip for cost saving. There are many monitoring equipment products with very tight memory on the market. For this kind of equipment, use the upgrade method under the previous system (such as web upgrade, U disk upgrade), and the system memory may be exhausted after the upgrade file is imported. Upgrading under the system boot program boot often needs to be upgraded based on storage media such as TFTP or U disk. From the...

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/654
CPCY02D10/00
Inventor 金伟伟黄林继王明超
Owner ZHEJIANG UNIVIEW TECH CO LTD
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