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

Hot patch realization method and device

An implementation method, hot patch technology

Inactive Publication Date: 2016-07-20
ZTE CORP
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method and device for implementing a hot patch, and the technical problem to be solved is how to reduce the complexity of patch loading

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
  • Hot patch realization method and device
  • Hot patch realization method and device
  • Hot patch realization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0022] figure 1 A schematic flowchart of a method for implementing a hot patch provided by an embodiment of the present invention. figure 1 Embodiments of the method shown include:

[0023] Step 101. Obtain file information of a replacement function, wherein the replacement function is used to replace a function that needs to be patched on the target side;

[0024] Step 102, according to the file information, generate a new executable file for the function requiring a patch;

[0025] Step 103, determining the address information corresponding to the new executab...

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 provides a hot patch realization method and device. The method comprises following steps of obtaining file information of a substitute function from an object file, wherein the substitute function is used for substituting a function at an object side needing to be patched; generating a new executable file for the function needing to be patched according to the file information; determining corresponding address information when the new executable file is operated at the object side; generating corresponding substitute instruction information when the new executable file is operated at the object side according to the address information; and informing the object side of operating the new executable file by utilizing the substitute instruction information.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for realizing a hot patch. Background technique [0002] Hotpatching is a quick, low-cost way to fix bugs in a product's software version. Compared with upgrading the software version, the main advantage of the hot patch is that it will not interrupt the services currently running on the device, that is, the defects of the current software version of the device can be repaired without restarting the device. The processing method of the hot patch is basically based on the unit of function, that is, the repair of the current software version is realized by repairing the function that has a loophole or needs to be replaced. Specifically, its working principle is to replace the first instruction of the patched function with an instruction that jumps to the replacement function, so that the program jumps to the location of the new function for execution. After the patch ...

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
IPC IPC(8): G06F9/445
CPCG06F9/445
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