Method and device for dynamically updating and controlling software by using patches

A dynamic upgrade and patch technology, applied in the direction of program control device, software deployment, program loading/starting, etc., can solve the problems of not providing, not providing patch control method, reducing code portability, etc., to achieve easy management and reduce size , to avoid inconsistent effects

Active Publication Date: 2014-11-05
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This practice of constructing jump instructions on the target machine will increase the difficulty of code maintenance on the target machine side and reduce code portability
[0008] 3) This patent does not provide a complete patch control method, that is, it does not provide a method for restoring to the original state after patching fails, and displaying whether the patch is upgraded successfully, etc.

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 device for dynamically updating and controlling software by using patches
  • Method and device for dynamically updating and controlling software by using patches
  • Method and device for dynamically updating and controlling software by using patches

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The method and device for dynamically upgrading and controlling software using patches will be described below in conjunction with the accompanying drawings.

[0029] The embedded system dynamic patch upgrade software is divided into two parts: the host side and the target machine side, including three modules in total: the replacement function extraction module, the patch generation module, and the patch control module. Among them, the replacement function extraction module, the patch generation module runs on the host side, and the patch control module runs on the target side, such as figure 1 .

[0030] (1) The replacement function extraction module is the first module of the dynamic patch upgrade software, which is used to extract the code segment of the replacement function, relocation table, symbol table, etc. in the ELF format object file, and restructure a new ELF format object file.

[0031] The input of this module is an object file in ELF format and a list o...

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

A patch generation method for dynamic software updating and control comprises the following steps: extracting the pre-defined parameters of a replacement function from a target file in order to compose a new target file comprising only said replacement function; generating a patch on the basis of the new target file and the original file of a kernel image. A patch generation apparatus for dynamic software updating and control is also provided. With the present invention, the memory size required to load a patch can be greatly reduced.

Description

technical field [0001] The present invention relates to a patch upgrading method, and more particularly relates to a method and a device for dynamically upgrading and controlling software using patches. Background technique [0002] With the continuous increase of software scale and maintenance complexity, it is difficult for people to obtain a zero-error software. This requires that after the release of the version, possible errors should be repaired by providing new software or by releasing software patches. For industries with relatively high requirements for software operation stability, especially the telecommunications industry, it is necessary to complete the entire process of repairing system software errors without affecting the normal operation of the original business, that is, during the software operation process, replace it with a patch module There are modules with software errors that cannot interrupt the normal operation of the original program code. [000...

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 Patents(China)
IPC IPC(8): G06F9/44G06F9/445
CPCG06F8/65
Inventor 黄忠华朱怀云邱静李进波
Owner ZTE CORP
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