A method for delayed generation of a check disc and its corresponding data recovery method

A technology for verifying disks and optical discs, which is applied in the field of verification, and can solve problems such as inability to use data redundancy targets and inability to modify

Active Publication Date: 2020-09-18
HUAZHONG UNIV OF SCI & TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Unlike magnetic disks, optical discs can only be recorded once and cannot be modified afterwards, so traditional standard disk array (RAID) technology cannot be used to achieve data redundancy goals between optical discs

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
  • A method for delayed generation of a check disc and its corresponding data recovery method
  • A method for delayed generation of a check disc and its corresponding data recovery method
  • A method for delayed generation of a check disc and its corresponding data recovery method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 2 A flow chart of a method for delay generation and verification of an optical disc provided in an embodiment of the present invention, the method includes:

[0054] Step 1, the data files are put into the data buffer sequentially according to the order written by the user. These files are automatically assigned to logical data disk image files according to user requirements, and each image file corresponds to a binary data set burned on a physical disc, where the size of the image file is smaller than or equal to the size of the physical disc. In this embodiment, the optical disc group includes 12 optical discs, and each optical disc is 25 GB. In this embodiment, the parity check mode is selected, and 11 data disk mirror files and 1 check disk mirror file are created in the data buffer, each file is 25 GB. The data files written by the user are sequentially written to the data disk image file according to the stripe size of 64KB.

[0055] Step 2. When a set ...

Embodiment 2

[0060] image 3 A schematic diagram of stripe verification in this embodiment is given in . For an optical disc group with (M+N) optical discs, according to the verification strategy selected by the user, it can be divided into two types of optical discs, namely, M data discs and N verification discs. For example, for a disc group containing 12 discs, the capacity of a single disc is 25GB, and the parity check method is selected, the first 11 discs are data discs, and the last disc is a check disc. according to image 3 As shown, 12 image files are created in the data buffer, the first 11 are data disk image files, and the last one is the verification disk image file. The mirror stripes are aligned according to the stripe size specified by the user. The 0th stripe stores the metadata information of the file, and the metadata stores the data or the storage location information of the file. Later, the files are saved according to the stripe size specified by the user. First, ...

Embodiment 3

[0062] Figure 4 It is a flowchart of a data recovery method provided by an embodiment of the present invention, and the method includes the following specific steps:

[0063] Step 1, the mechanical arm puts the disc in the disc group into the optical drive group. In this embodiment, there are 12 optical discs in the optical disc group, and it is assumed that part of the data on the first optical disc is unreadable. The verification strategy adopts parity, and put the remaining 10 data disks and 1 verification disk into the optical drive group.

[0064] Step 2, read the data in the optical drive group into the data buffer in parallel. Read data from 10 data disks and 1 verification disk into the data buffer image file in parallel.

[0065] Step 3, within the tolerance range of the verification data, recover the lost data according to the verification policy and stripe size specified by the user. With the parity check method, the data on one CD cannot be read, and the data ...

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 belongs to the technical field of checking and discloses a parity disk delayed generation method and a corresponding data recovery method. The parity disk delayed generation method includes: only after data distributed to data disks are already stored in data buffers and data disk image files corresponding to the data disks are created, subjecting the data disk image files to block level itemization, performing check computation item by item to generate parity disk image files corresponding to the data disk image files, and finally performing one-time recording of the parity diskimage files in parity disks. The corresponding data recovery method includes: reading data of the parity disks to perform recovery data computation item by item to obtain the block level items, writing into the image files to obtain recovery image files after the size of the image files reach disk physical capacity. By buffering through cache data, delayed generation of the parity disks is realized, adaptability to characteristics of once writing and repeated reading of the disks is realized, and writing performance of the data disks can be improved.

Description

technical field [0001] The invention belongs to the technical field of verification, and more specifically relates to a method for delaying generation of a verification disc and a corresponding data recovery method. Background technique [0002] Due to the advantages of optical discs in terms of long-term preservation and energy consumption, large-capacity optical disc libraries utilize optical disc storage media to store cold data. The large-capacity optical disc library can accommodate tens of thousands of Blu-ray discs in a single cabinet. According to the physical storage conditions of the optical disc library and the number of optical drives, these discs are divided into a series of disc groups with a fixed number of discs, such as figure 1 shown. In order to ensure the reliability of the data and ensure that the data is not lost when partial data fails or a single optical disc is unreadable, it is necessary to generate verification data inside the optical disc group. ...

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/06
CPCG06F3/0604G06F3/0656
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