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

Method and device for quickly verifying consistency of multi-copy storage

A consistent, multi-copy technology, applied in the direction of response error generation, input/output to record carrier, etc., can solve problems such as affecting system performance, wasting resources, consuming large CPU and disk bandwidth, etc.

Inactive Publication Date: 2019-10-01
深圳市联云港科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But for large files, calculating the hash value will consume a lot of CPU and disk bandwidth, seriously affecting the performance of the system
File inconsistencies are often relatively rare, but calculating the file hash value requires reading the contents of the entire file, resulting in a huge waste of resources

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 and device for quickly verifying consistency of multi-copy storage
  • Method and device for quickly verifying consistency of multi-copy storage
  • Method and device for quickly verifying consistency of multi-copy storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to further illustrate the technical means adopted by the present invention and its effects, the following describes in detail in conjunction with preferred embodiments of the present invention and accompanying drawings.

[0030] To solve the above problems, the present invention provides a fast file hash calculation method based on sparse files and a fast multi-copy consistency detection method based on snapshot technology.

[0031] Please refer to figure 1 , the present invention provides a method for quickly verifying the consistency of multi-copy storage, comprising the following steps:

[0032] S1: When the system is in an idle state, judge the amount of data written in the head file. When the amount of data written in the head file reaches more than 30% of the capacity of the storage component, use the I / O redirection technology to create a snapshot file and continue writing The new head file of the input data is used as a blank control sparse file, the h...

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 and a device for quickly verifying the consistency of multi-duplicate storage. The method includes S1, judging data writing volumes of head files when systems are in idle states, creating snapshot files by the aid of I / O (input / output) redirection technologies when the volumes of data written into the head files reach 30% of the volumes of integral spare files at least, utilizing new head files with continuously written data as null comparison sparse files, computing hash values of the snapshot files and storing the hash values of the snapshot files as extended attributes; S2, carrying out snapshot operation on the head files once at intervals of preset time and comparing hash values of the new head files to the hash values of the snapshot files when the consistency of multi-duplicate data need to be timely verified. The method and the device have the advantages that characteristics of distributed block storage are combined with one another, the method for quickly detecting the consistency of multiple duplicates on the basis of snapshot technologies is proposed, hash value computation tasks are divided to be carried out in multiple time slots, accordingly, influence on normal reading and writing tasks of the systems can be prevented, and the multi-duplicate storage consistency verification speeds can be increased.

Description

technical field [0001] The invention relates to the technical field of distributed data storage and data verification, in particular to a multi-copy storage fast verification consistency method and a device thereof. Background technique [0002] Most of the existing distributed storage systems use multi-copy technology to improve system reliability, availability, performance and scalability. [0003] Multi-copy technology can ensure that when individual hosts and disks in the distributed storage system fail, the system can still provide normal read and write services, improving system reliability, and multiple copies can be used for shunting and speeding up response time. However, the distributed storage system communicates through the network, and the instability of the network may easily cause inconsistency of the back-end data, and the distributed storage system generally includes a large number of server hosts and disks, and the probability of hardware damage is relative...

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): G06F3/06G06F11/07
Inventor 陈仲涛
Owner 深圳市联云港科技有限公司
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