Power-failure-preventing upgrading method of Linux system

A system upgrade and anti-power-off technology, which is applied to the generation of response errors, error detection of redundant data in calculations, program control devices, etc., can solve problems such as programs or systems that cannot run normally

Inactive Publication Date: 2012-05-16
CHINA STANDARD SOFTWARE
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the program or system cannot run normally due to sudden power failure during the upgrade process, the present invention Figure 1a and 1b On the basis of the preparation and upgrade process before the upgrade of the existing system shown, the system backup is mainly added ( Figure 2a Step 108) and system upgrade recovery ( Figure 2b step 214)
[0005] Aiming at the problem of system failure caused by power outage during the system upgrade process, the present invention proposes an upgrade method for preventing power failure of the Linux system. Back up the system before, and mark the system upgrade status during the system upgrade process, and start the system upgrade recovery according to the different upgrade status and upgrade types of the system, especially when the upgrade fails, the system rollback is realized by calling the backup system method to achieve system upgrade recovery, so as to ensure that the system can start normally

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
  • Power-failure-preventing upgrading method of Linux system
  • Power-failure-preventing upgrading method of Linux system
  • Power-failure-preventing upgrading method of Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] In order to make the object, technical solution and beneficial effects of the present invention more clear, 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.

[0013] The upgrade method for preventing power failure involved in the present invention mainly includes two parts, namely: system backup and system upgrade recovery function.

[0014] Such as image 3 As shown, the process of realizing the system backup function is as follows:

[0015] 1) First determine the system upgrade type (step 110), obtain the upgrade type parameter type of the upgrade configuration file update.conf on the remote server, if the value of type is 0, it is a non-kernel level upgrade; if the value of type is 1, It is a kernel-level upgrade.

[0016] 2) If it is a ...

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 power-failure-preventing upgrading method of a Linux system. In the method, before system upgrading, system backup is performed; upgrading states are marked in the system upgrading process; according to different upgrading states and upgrading types of the Linux system, system upgrading restoration is performed; and particularly, in the state of upgrading failure, the system upgrading restoration is realized in a mode of realizing system rollback by calling a standby system, so that the Linux system can be normally started.

Description

technical field [0001] The invention relates to an upgrading method of a Linux system, in particular to an upgrading method with the function of preventing power failure. Background technique [0002] The operating system automatic upgrade function is an important part of the operating system. Both Windows system and common Linux system distributions have the function of automatic update, and even some special Linux system distributions also include this function. Bugs in the operating system software can be repaired through the automatic update function, or software version upgrades can be provided. [0003] Such as Figure 1a and 1b As shown, it is a flow chart for the preparation and upgrade process before the upgrade of the existing system. Like the Windows system, the system upgrade of the Linux system also assumes that there will be no non-software accidents such as computer power failure during the user upgrade process. Usually, during the system upgrade process, ...

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): G06F11/14G06F9/445
Inventor 兰雨晴高永红董恩广夏颖
Owner CHINA STANDARD SOFTWARE
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