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

A data reading method, host and storage device

A storage device and data reading technology, applied in the storage field, can solve problems such as difficult to achieve reading efficiency and failure to achieve reading efficiency

Active Publication Date: 2021-01-12
HUAWEI TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The following problem exists in the above solution: if the order in which the host requests to read the data units is inconsistent with the order in which the data units are stored in the disk, then the data units requested to be read in request 2 are not the data units pre-stored in the cache of the storage device, but It is the data unit stored in the disk, so the storage device needs to read the data unit requested in Request 2 from the disk, which is difficult to improve the reading efficiency
Exemplarily, as figure 1 As shown, the host sends a request 1 to read data unit A to the storage device, and the storage device pre-stores the next data unit C of A in the disk in the cache while returning A in the cache to the host; then, the host sends The storage device sends a request to read data unit B, but at this time there is no pre-stored B in the cache, so the storage device needs to read B from the disk and send it to the host, so the effect of improving the reading efficiency cannot be achieved

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 data reading method, host and storage device
  • A data reading method, host and storage device
  • A data reading method, host and storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In the field of storage technology, the rate of reading data from different storage media is different. Generally, the data reading rate of volatile storage areas such as caches is higher than that of non-volatile storage areas such as disks. rate. Therefore, in the prior art, in order to improve the efficiency of data reading, the following method is usually adopted: when the storage device receives the request 1 of the host to read the data unit, in addition to sending the data unit requested to be read in the request 1 to the host, It will also read some data units sequentially according to the storage order of the data units in the disk, and pre-store these data units in the cache, so that when the storage device receives the request 2 for reading data units again, if the request 2 The data unit requested to be read is a pre-stored data unit in the cache, at this time, the pre-stored data unit can be directly read from the cache, thereby improving the reading effici...

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, a host computer and a storage device are provided for improving the reading efficiency when data reading is performed. The method comprises the following steps: a host sends a first aggregation request to a storage device, wherein the first aggregation request is used for requesting to read a plurality of data units; the storage device transmits a first part of the pluralityof data units to the host, the first part of the data units being stored in a first storage area of the storage device; the storage device pre-stores a second part of the plurality of data units other than the first part of the data units in the first storage area by a second storage area of the storage device, wherein a data reading rate of the first storage area is higher than a data reading rate of the second storage area; the host computer sends a second aggregation request to the storage device, the second aggregation request requesting reading of a second part of the plurality of data units other than the first part of the data units; the storage device sends a second partial data unit to the host.

Description

technical field [0001] The present application relates to the field of storage technology, and in particular to a data reading method, a host and a storage device. Background technique [0002] With the development of information technology, the amount of data information has increased dramatically. As the amount of data continues to grow, how to quickly access these data has become an urgent problem to be solved. [0003] The rate of reading data from different storage media is different. Generally, the data reading rate of a volatile storage area such as a cache is higher than that of a non-volatile storage area such as a disk. Based on the above principles, in the prior art, a method to improve the efficiency of data reading is to use the data pre-storage mechanism: when the storage device receives the request 1 from the host to read the data unit, in addition to the data unit requested to be read in request 1 In addition to sending to the host, some data units will be ...

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): G06F12/0862G06F3/06
CPCG06F3/061G06F3/0629G06F12/0862
Inventor 李毅
Owner HUAWEI TECH CO LTD