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

Global variable migration via virtual memory overlay technique during multi-version asynchronous dynamic software update

A global variable and memory technology, applied in memory systems, software deployment, instruments, etc., can solve problems such as being unable to close old versions

Active Publication Date: 2022-05-24
HUAWEI TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Also, since the code of the new program version references the data segment of the old version, it is not possible to simply use dlclose to close the old version even if all threads have been migrated from the old version to the new version

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
  • Global variable migration via virtual memory overlay technique during multi-version asynchronous dynamic software update
  • Global variable migration via virtual memory overlay technique during multi-version asynchronous dynamic software update
  • Global variable migration via virtual memory overlay technique during multi-version asynchronous dynamic software update

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention proposes a system and method that can support global variable migration during dynamic software update (DSU). The disclosed system can be used to support global variable migration during program updates, including plugin updates used by multithreaded applications, and the like. The described DSU support system can support asynchronous DSU in some applications and complete the update without stopping. Although the presently described asynchronous DSU support system may be implemented in different environments, standard C programming syntax is used in this specification to illustrate example embodiments.

[0023] refer to figure 1 , an example of a DSU support system will be described in the context of a DSU tool 100 that supports a software program 104 with multiple program version updates (from version_1.so to version_N.so). specifically, figure 1 Virtual memory is shown in the form of a logical address space 102 that has been defined by an op...

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 system and method for managing global variable migration on a processing system during live program updates. The method includes: creating a shared data segment in the physical memory of the processing system; binding the logical address space of the first global variable data segment of the first version of the program to the physical address of the shared data segment; The logical address space of the second global variable data segment of the updated version of the program is bound to the physical address of the shared data segment. The first global variable data segment and the second global variable data segment exist simultaneously, and both are mapped to public global variables stored in the shared data segment.

Description

[0001] Cross-application of related applications [0002] This patent application claims the title of the invention filed on June 2, 2017, "Global Variable Migration via Virtual Memory Overlay Technique for Multi-Version Asynchronous Dynamic Software Update" (Global Variable Migration via Virtual Memory Overlay Technique for Multi-Version Asynchronous Dynamic Software Update, U.S. Patent Application No. 15 / 612,602, and an invention filed on October 13, 2017, titled ""Global Variable Migration by Virtual Memory Overlay Technology During Multi-Version Asynchronous Dynamic Software Updates" via Virtual Memory Overlay Technique for Multi-Version Asynchronous Dynamic Software Update)", the priority of an earlier application of International Patent Application No. PCT / CN2017 / 106104, the entire content of which is incorporated herein by reference middle. technical field [0003] The present invention relates to multi-version asynchronous dynamic software updates, and more particular...

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/00
CPCG06F8/656G06F9/44521G06F9/4405G06F9/4843G06F9/52G06F12/0261G06F12/1009G06F12/1027G06F12/1036G06F2212/656G06F2212/657G06F8/65
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