Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for reading data, data processing method and related storage device

A storage device and data reading technology, which is applied in the field of data processing, can solve the problems of data reading performance fluctuations, large differences in data reading time, poor reading and writing performance, etc., and achieve the effect of improving efficiency and stability

Active Publication Date: 2019-06-07
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In practical applications, data may be written on any volume that has a cascade relationship with the specified volume. If the data is not written on the specified volume, then it is necessary to perform a level-by-level query on the upper-level volume of the specified volume. In the worst case, in the The data can only be read in the source volume. When the number of volumes is large, multiple queries are required, so the read and write performance is poor.
In addition, due to the uncertainty of the data storage location, the number of query data is random. In the case of multiple read data, the time to read data may vary greatly, and the performance of read data will fluctuate.

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 reading data, data processing method and related storage device
  • Method for reading data, data processing method and related storage device
  • Method for reading data, data processing method and related storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following is an introduction to the application environment of the method of reading data in this application. The method of reading data is generally used in data processing systems. Please refer to figure 1 , the data processing system includes a host 1 and a storage device 2;

[0039] The host 1 is used to execute the application program, and send a control command to the storage device 2 to read and write data; wherein the control command includes an input / output (Input / Output, I / O for short) command;

[0040] The storage device 2 may be a device such as a disk or a disk array, and is used to store data and operation instructions. The storage device 2 includes a communication interface 21, a controller 22, a memory 23 and a bus 24; the communication interface 21, the controller 22 and the memory 24 are connected to each other through the bus 24, such as figure 2 shown. The memory 24 is used to store data and operation instructions, wherein, by calling the ope...

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

A data reading method and a storage device, which can improve the snapshot reading efficiency and the snapshot reading stability. The method comprises: receiving a data reading instruction, the data reading instruction comprising a volume identifier and a starting address (S401); determining a data block identifier according to the starting address (S402); determining an identifier of a snapshot volume where to-be-read data is located according to the volume identifier, the data block identifier and a preset correspondence, the preset correspondence comprising a correspondence among volume identifiers, data block identifiers and snapshot volumes identifiers (S403); and reading the to-be-read data from the snapshot volume corresponding to the determined snapshot volume identifier (S404). Also disclosed are a data processing method and the storage device for implementing the data processing method.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method for reading data, a data processing method and related storage devices. Background technique [0002] A snapshot (Snapshot) is a fully available copy of a specified data set, which contains a static image of the source data copy point in time, and its role is mainly for online data backup and recovery. Virtual snapshot is a kind of snapshot technology. Virtual snapshot does not generate a complete physical data copy, but uses a mapping table to locate the data location. A storage device can be divided into multiple volumes, and there is a cascading relationship between volumes. Volumes can be divided into source volumes and snapshot volumes. The source volume is the upper-level volume of the first snapshot volume, the first snapshot volume is the lower-level volume of the source volume, the second snapshot volume is the lower-level volume of the first snapshot volume, and...

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/14
CPCG06F3/06
Inventor 何龙胡伟
Owner HUAWEI TECH CO LTD