Hot patching implementation method of embedded system

A technology of embedded system and implementation method, which is applied in the direction of responding to the occurrence of errors, error detection of redundant data in calculations, program control devices, etc., to reduce costs, ensure correctness and continuity, and avoid version instability Effect

A technology of embedded system and implementation method, which is applied in the direction of responding to the occurrence of errors, error detection of redundant data in calculations, program control devices, etc., to reduce costs, ensure correctness and continuity, and avoid version instability Effect

CN104239082AActive Publication Date: 2014-12-24SHANGHAI BAUD DATA COMM

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hot patching implementation method of embedded system
  • Hot patching implementation method of embedded system
  • Hot patching implementation method of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.

[0029] The hot patch solution provided by the present invention is to find the old function in the existing system, change the first instruction of the function into a jump instruction, and the address of the jump points to the new function, thereby realizing the function of the new function to replace the original old function .

[0030] Based on above-mentioned principle, concrete scheme of the present invention comprises the steps:

[0031] When this solution is implemented, when each system software is generated, a symbol table file (such as a .map file) corresponding to the software version will be generated, which is used to find the symbols used in the newly compiled patch file in the system when generating a patch for this version. corr...

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 hot patching implementation method of an embedded system. The method includes: finding the old function in an existing system, changing the first instruction of the function into a skip instruction with the skip address pointing to a new function so as to allow the new function to replace the old function. By the method, system software function updating and defect fixing can be completed while a software system cannot be replaced and equipment restarting is unavailable.

Description

technical field [0001] The invention relates to embedded system technology, in particular to the patch technology of the embedded system. Background technique [0002] Modern networks have higher and higher requirements for the stability and fault tolerance of embedded devices. It is required that the device can continue to run even if the system has a few errors, and maintain the correctness and continuity of other functions. [0003] Traditional embedded software updates need to replace the entire system image file, which directly leads to the fact that even if the system only needs to repair a partial defect, the software upgrade must be completed by restarting the system. However, for the use of embedded devices, it is generally necessary to avoid changing the software version by restarting the device, and the hot patch technology can make up for this problem very well. [0004] Hot patching provides a technology to realize local modification of system software quickly ...

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
24 Dec 2014
Publication
CN104239082A
IPC
G06F9/445; G06F11/14
Inventors
汪革; 彭双庭