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

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 increasing the difficulty of code maintenance on the target machine side, not providing a patch control method, and reducing code portability, etc. Achieve the effect of avoiding inconsistency, reducing size, and facilitating management

Active Publication Date: 2011-01-05
ZTE CORP
View PDF4 Cites 32 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

The invention discloses a method for dynamically updating software by using patches. The method comprises the following steps of: extracting a preset parameter of a substitute function from a target file to form a new target file which only comprises the substitute function; and generating the patches according to the new target file and a kernel image source file. Moreover, the invention also discloses a device for dynamically updating and controlling the software by using the patches. The method and the device are implemented, so that a memory space needed during patch loading is reduced greatly.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products