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

Software upgrading method of embedded system and embedded system

An embedded system and information upgrade technology, applied in the electronic field, can solve the problems of upgrade failure and high cost, and achieve the effects of cost saving, reduced demand, and reduced storage demand

Inactive Publication Date: 2018-11-27
COMBA TELECOM SYST CHINA LTD
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Embodiments of the present invention provide a software upgrade method for an embedded system and an embedded system supply, which are used to solve the technical problems of high cost and easy upgrade failure due to power failure in the existing embedded system software upgrade method

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
  • Software upgrading method of embedded system and embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] An embodiment of the present invention provides a method for upgrading software of an embedded system. Wherein, the embedded system may refer to, for example, a single-chip microcomputer, or may refer to other types of embedded systems in the prior art.

[0055] In the embodiment of the present invention, the embedded system at least includes a non-volatile memory, and the non-volatile memory can be integrated into the embedded system. Specifically, the non-volatile memory can be flash memory (Flash), programmable read-only memory (Programmable read-only memory, PROM), electrically rewritable read-only memory (Electrically alterable read only memory, EAROM), erasable Programmable read only memory (Erasable programmable read only memory, EPROM), Electrically erasable programmable read only memory (Electrically erasable programmable read only memory, EEPROM), etc.

[0056] In the embodiment of the present invention, the non-volatile memory in the embedded system is confi...

Embodiment 2

[0084] Based on the same inventive concept, an embodiment of the present invention provides an embedded system, the embedded system includes a non-volatile memory and a processor, the non-volatile memory is configured with a boot area, an operating area and a download area, the boot area It is used to store the upgrade execution program, the running area is used to store the application layer program, and the download area is used to store the upgrade compressed package.

[0085] Wherein, when the processor determines that the upgrade operation needs to be performed, the upgrade operation is controlled by running the upgrade execution program stored in the boot area, and the execution of the upgrade operation by the processor includes: performing the upgrade compression package stored in the download area Decompress to obtain a new version of the application layer program, and use the new version of the application layer program to overwrite the application layer program stored...

Embodiment 3

[0095] Based on the same inventive concept, an embodiment of the present invention provides an embedded system, the embedded system includes a non-volatile memory, and the non-volatile memory is configured with a boot area, a running area, and a download area, wherein the boot area is configured There is an upgrade execution module, the operation area is configured with an application layer module, and the download area is used to store the upgrade compressed package.

[0096] The upgrade execution module configured in the boot area is configured to: execute the upgrade operation when it is determined that the upgrade operation needs to be performed, wherein performing the upgrade operation includes: decompressing the upgrade compressed package stored in the download area to obtain a new version of the application layer module, and use the new version of the application layer module to update the application layer module of the runtime zone configuration.

[0097] In a possibl...

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 provides a software upgrading method of an embedded system and the embedded system. The software upgrading method of the embedded system and the embedded system are used for solving the technical problems that the mode of using an existing embedded system for software upgrading is low in cost and upgrading easily fails due to power failure. The embedded system comprises a nonvolatile memory, and the nonvolatile memory is configured with a guiding area, a running area and a downloading area, wherein the guiding area is used for storing an upgrading executing program, the running area is used for storing an application layer program, and the downloading area is used for storing an upgrading compression package. The method comprises the steps that when it is determined that an upgrading operation needs to be executed, the upgrading operation is controlled to be executed by running the upgrading executing program stored in the guiding area, wherein executionof the upgrading operation comprises the procedures of decompressing the upgrading compression package stored in the downloading area to obtain a new-version application layer program, and utilizingthe new-version application layer program for covering the application layer program stored in the running area.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a method for upgrading software of an embedded system and the embedded system. Background technique [0002] Embedded systems such as single-chip microcomputers are usually used in small and medium-sized products, and non-volatile memory (such as flash memory) and memory (such as random access memory RAM) are usually integrated inside. Due to cost considerations, the storage resources of non-volatile memory and internal memory in embedded systems are very limited. [0003] In an embedded system, the application layer program is usually stored in a non-volatile memory. Taking Flash as an example in the non-volatile memory, there are usually several ways to upgrade the application layer program of the embedded system in the prior art as follows : [0004] Method 1: Equip the embedded system with master and backup Flash, first upgrade the application layer program in the backu...

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/654G06F8/71
CPCG06F8/71G06F8/654
Inventor 王冰峰
Owner COMBA TELECOM SYST CHINA 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