Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method for quickly repairing system based on disk block copy

A repair system and block technology, which is applied in the field of Internet communication, can solve the problems of low repair efficiency of embedded systems, and achieve the effect of improving repair efficiency, improving efficiency and saving efficiency

Pending Publication Date: 2022-04-15
ZHENGZHOU XINDA JIEAN INFORMATION TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problem of low maintenance efficiency of the existing embedded system with automatic restoration feature, the present invention provides a method and system for fast repair system based on disk block copy

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
  • Method for quickly repairing system based on disk block copy
  • Method for quickly repairing system based on disk block copy
  • Method for quickly repairing system based on disk block copy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Such as figure 1 As shown, the embodiment of the present invention provides a method for quickly repairing a system based on disk block copy, and the method includes the following steps:

[0040] S101. Before leaving the factory, logically partition the disk where the target system is located. For example, assuming that the target system with the restoration feature resides on a 100G disk, the disk can be logically divided into 1G blocks, such as figure 2 shown.

[0041] Wherein, the logical blocks are numbered starting from 1, and the logical blocks are continuous.

[0042] S102, backing up the logical block disk according to sectors, each logical block corresponds to a backup file, and saves each backup file; preferably, the backup file is named and saved with the number of the logical block, such as image 3 shown.

[0043] S103, calculate and save the hash value of each backup file, such as Figure 4 shown.

[0044] During specific implementation, a hash oper...

Embodiment 2

[0056] In order to further improve the efficiency of finding abnormal blocks, when logically dividing and backing up the disk where the target system resides, the backup files can be grouped, for example, backup files 1-10 are the first group, backup files 10-20 are the second group, and By analogy, the hash value of each group is calculated separately. When the system is abnormal, scan the disk where the system resides by block, group the logical blocks of the disk in the same way, calculate the hash value of the logical block group, and compare it with the hash value of each backup file group to find Find the abnormal block group, and then continue grouping and comparing the abnormal block group with the corresponding backup file group until the abnormal logical block is found and replaced. That is, the present embodiment provides a method for quickly repairing a system based on disk block copy, and the method includes the following steps:

[0057] S201. Before leaving the ...

Embodiment 3

[0067] Such as Figure 9 As shown, the present invention is applicable to many special-purpose computer system occasions, such as Internet cafe systems. The Internet cafe system does not need to retain any user operation information, that is, after restarting, the system will return to its original state. For this kind of system with recovery features, once it is damaged for some reason, the corresponding block data must be modified on the disk, and the hash value of the corresponding block will change.

[0068] The embodiment of the present invention also provides a device for a fast repair system based on disk block copy, which is suitable for a system with restoration features, and the device includes: a disk backup module and a disk repair module;

[0069] The disk backup module is used to carry out logical partitioning of the disk where the target system is located before leaving the factory; back up the logically partitioned disk according to sectors, and each logical p...

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 provides a method for quickly repairing a system based on disk block copying, which comprises the following steps of: before leaving a factory, partitioning a disk where a target system is located, backing up the partitioned disk according to sectors, and enabling each logic block to correspond to a backup file; calculating and storing a hash value of each backup file, and recording an initial sector position of each backup file on a disk; when the system needs to be recovered, performing block scanning on a target system disk according to factory agreed logic blocks, and calculating a hash value of each logic block; comparing the hash value of each logic block of the disk with the hash value of the corresponding backup file to find an abnormal logic block of the disk; according to the disk starting sector position of the backup file, writing the backup file corresponding to the abnormal logic block into the corresponding block on the disk according to the sector; according to the method, the target disk is partitioned and backed up, when the system exception needs to be repaired, only the exceptional blocks need to be independently repaired, and the system repairing efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of Internet communication, in particular to a method for fast repairing system based on disc block copying. Background technique [0002] With the improvement of informatization level, people's life and work have become more and more inseparable from computers. In many special computer system occasions, such as school computer rooms or Internet cafes, the computer system does not need to retain any operation information of the user, that is, after restarting, the system will return to the original state. If this type of embedded system with automatic recovery feature is invaded by viruses and causes system failure, maintenance personnel are required to reinstall the system, but this operation is time-consuming and laborious. [0003] In order to improve the repair efficiency of the embedded system with the feature of automatic restoration, the present invention provides a method for quickly locating the dam...

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/14G06F11/10G06F3/06
Inventor 韩金池廖正赟崔永飞孙晓鹏
Owner ZHENGZHOU XINDA JIEAN INFORMATION 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
Eureka Blog
Learn More
PatSnap group products