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

Method, device and system for online activating patches

一种补丁、打补丁的技术,应用在计算机领域,能够解决程序出错、不能保证激活补丁安全可靠等问题,达到保证安全性和可靠性的效果

Active Publication Date: 2011-08-17
HUAWEI TECH CO LTD
View PDF2 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] Before replacing the function, only check whether the current thread EIP value is in the critical area. Once a thread is in the signal processing function and the return address of the signal is in the critical area, when the thread returns after processing the signal processing function, the critical area has been closed. The jump instruction is overwritten, which will cause a program error, so this prior art solution still cannot guarantee the safety and reliability of activating the patch

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, device and system for online activating patches
  • Method, device and system for online activating patches
  • Method, device and system for online activating patches

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0044] see Figure 3a and 3b , is a schematic structural diagram of a communication system according to an embodiment of the present invention. The communication system according to this embodiment of the present invention supports the activation of software online patches in a multi-threaded environment. It should be noted that, Figure 3aIt in...

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 discloses a method, a device and a system for online activating patches, wherein the method comprises the following steps of positioning the address of a patch function and an access address of a function to be patched; writing a long jump instruction used for jumping to the patch function in the middle area according to the address of the patch function and the access address of the function to be patched, wherein the middle area is arranged before or after the access position of the function to be patched and can contain a memory space for at least one long jump instruction; rectifying the instruction of the function to be patched at the access position as a short jump instruction used for jumping to the middle area so as to lead the short jump instruction to jump to the middle area after being executed; and jumping to the executing of the patch function by the executing of the instruction in the middle area. By adopting the embodiment of the invention, the safety and reliability of the application software can be improved when the online patches are being activated.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an online patch activation method, device and system. Background technique [0002] An online patch refers to a patch that takes effect without restarting the program while the program is running, and is widely used in various software. see figure 1 , the basic principle of activating the online patch is to replace the instruction at the entrance of the original function (that is, the function to be patched) with a jump instruction, and then jump the program calling the original function to the patch function through the replaced jump instruction implement. With the widespread application of the Linux X86 system in the telecommunications field, it is also required that the application software in the Linux system can be patched online. However, due to the instruction characteristics of the X86 system and the scheduling method of Linux, the simple instruction at the en...

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/48G06F9/45
CPCG06F8/65G06F8/67G06F8/656
Inventor 余加强郑伟
Owner HUAWEI TECH CO 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