Program source code slice recombination-based software dynamic update hot patch synthesis method

A technology of dynamic update and synthesis method, applied in the direction of code refactoring, software engineering design, software testing/debugging, etc., can solve problems such as inability to cope with complex updates, and achieve the effect of reducing labor burden

Active Publication Date: 2021-05-07
NANJING UNIV
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the data structure involved in the code changes, there is still a lack of a reliable method of generating object state transition functions, because the existing technology can only use predefined simple rules to try ...

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
  • Program source code slice recombination-based software dynamic update hot patch synthesis method
  • Program source code slice recombination-based software dynamic update hot patch synthesis method
  • Program source code slice recombination-based software dynamic update hot patch synthesis method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention is described in further detail now in conjunction with accompanying drawing.

[0047] It should be noted that terms such as "upper", "lower", "left", "right", "front", and "rear" quoted in the invention are only for clarity of description, not for Limiting the practicable scope of the present invention, and the change or adjustment of the relative relationship shall also be regarded as the practicable scope of the present invention without substantive changes in the technical content.

[0048] to combine figure 1 , the present invention refers to a software dynamic update hot patch synthesis method based on program source code slice reorganization, the synthesis method comprising the following steps:

[0049] S1, analyze the source code and / or binary code of the new and old versions of the program through a static program, and extract a certain amount of basic components and data flow slices corresponding to dynamic updates; Placeholders, type info...

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 program source code slice recombination-based software dynamic update hot patch synthesis method, which comprises the following steps of: analyzing source codes and/or binary codes of a new version program and an old version program through a static program, and extracting a certain amount of basic components and data stream slices related to dynamic update; enumerating the combination of the obtained basic components, and automatically generating a corresponding transfer function according to the data flow relationship; and running the generated transfer function on the test case, and outputting a correct transfer function. According to the method, new and old version program codes can be automatically analyzed, and basic components and data stream slices for constructing the conversion function are extracted, so that the object state conversion function is automatically synthesized by utilizing the basic components and the data stream slices, developers are helped, and the labor burden is greatly reduced.

Description

technical field [0001] The invention relates to the technical field of software dynamic update, in particular to a software dynamic update hot patch synthesis method and system based on program source code slice reorganization. Background technique [0002] Compared with the update strategy of shutting down and then restarting for offline update, the core idea of ​​software dynamic update is to update the version of the old version of the program when it is running. Features of Dynamic Software Update include: [0003] 1) Dynamically monitor the update request, and temporarily suspend the operation of the old version of the program after receiving the request; [0004] 2) At the time of updating, replace the code loaded into the memory with the new version, and use the object state conversion function to convert the created object state in the memory that is incompatible with the new version of the program. [0005] Before the developer sends an update request, the object ...

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): G06F8/656G06F8/71G06F8/72G06F11/36
CPCG06F8/656G06F8/71G06F8/72G06F11/3688G06F11/3692Y02D10/00
Inventor 蒋炎岩赵泽林许畅马晓星
Owner NANJING UNIV
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