Multi-thread software dynamic upgrading method based on asynchronous check points

A dynamic upgrade and checkpoint technology, applied in the direction of program loading/starting, program control devices, etc., to avoid deadlock problems, increase flexibility, and avoid inconsistencies

Active Publication Date: 2014-10-22
HUAZHONG UNIV OF SCI & TECH
View PDF4 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Aiming at the above defects or improvement needs of the prior art, the present invention provides a method for dynamically upgrading multi-threaded software

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
  • Multi-thread software dynamic upgrading method based on asynchronous check points
  • Multi-thread software dynamic upgrading method based on asynchronous check points
  • Multi-thread software dynamic upgrading method based on asynchronous check points

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, 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 embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0045] The overall idea of ​​the present invention is that the user can generate the primary dynamic upgrade patch according to the new and old versions of open source software, process the primary dynamic upgrade patch and compile it under a conventional compiler to obtain the dynamic upgrade patch, and then load the dynamic upgrade patch using the asynchronous checkpoint algorithm Make all the...

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 multi-thread software dynamic upgrading method based on asynchronous check points. The method includes the steps that based on a dynamic instrumentation mode, key codes are arranged in a source program in operation in an instrumentation mode at a binary level, not a source code level, so that upgrading does not need to depend on a specific compiler; based on an asynchronous check point algorithm, it can be guaranteed that all threads are in a blocked state before dynamic upgrading, so that all the threads are updated in a one-off mode, and expenditure caused by new and old version maintenance is avoided; a mode of binary system rewriting is adopted for function indirect skipping, and functions to be updated are upgraded, wherein the functions are not executed; a stack reconstruction mode can be used for upgrading functions to be updated in execution, so that in the dynamic upgrading process, unexpected waiting time which is caused by loop body and main function updating and others are eliminated. The loss, which is caused by downtime due to version maintenance, of applications and services (such as an electronic payment system) high in reliability requirement is reduced to the minimum, and cost caused by additional arrangement of redundancy hardware is reduced.

Description

technical field [0001] The invention belongs to the security field in software reliability research, and more specifically relates to a multi-thread software dynamic upgrading method based on asynchronous checkpoints. Background technique [0002] In order to provide 7 / 24 hours service reliability, from the software point of view, the traditional software update method usually requires stopping the running of the software, and then restarting the software after the update is applied. Such a stop-restart approach inevitably disrupts the execution of running services and reduces software availability. From the perspective of hardware, some solutions can realize dynamic migration under the premise of adding server mirroring. After the upgrade is completed, the data will be resynchronized back to the main server to ensure the reliability of the application (service). However, this solution needs to be purchased. Additional redundant hardware greatly increases maintenance costs....

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
Inventor 邹德清羌卫中金海王皓
Owner HUAZHONG UNIV OF SCI & TECH
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