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

A technology of global variables and versions, applied in memory systems, software deployment, instruments, etc., to solve problems such as inability to close old versions

Active Publication Date: 2020-03-17
HUAWEI TECH CO LTD
View PDF11 Cites 1 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 for multi-version asynchronous dynamic software update
  • 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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention proposes a system and method capable of supporting global variable migration during a dynamic software update (DSU). The disclosed system can be used to support global variable migration during program updates, including plug-in updates used by multi-threaded applications, among others. The described DSU support system can support asynchronous DSU in some applications and updates can be done without stopping. Although the presently described asynchronous DSU support system can be implemented in different environments, standard C language 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 bee...

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

System and method for managing migration of global variables on processing system during live program updates, including creating a shared data segment is created in a physical memory of the processing system, binding a logical address space of a first global variable data segment for a first version of a program to a physical address of the shared data segment, and binding a logical address spacefor a second global variable data segment for an update version of the program to the physical address of the shared data segment. The first global variable data segment and the second global variable data segment exist concurrently and each map to common global variables stored in the shared data segment.

Description

[0001] Related Applications Cross Application [0002] This patent application claims that the title of the invention filed on June 2, 2017 is "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), the entire contents of which are incorporated herein by reference. technical field [0003] The present invention relates to multi-version asynchronous dynamic software update, and more particularly, to the migration of global variables during software update. Background technique [0004] A Dynamic Software Update (DSU) process has been developed that allows code and data updates, such as critical security patches and upgrades, to be applied to software programs without downtime. Managing global variables can be challenging when performing dynamic software updates. A global variable is a variabl...

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/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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products