Data access method, message receiving resolver and system

A data access and message receiving technology, which is applied in data access, message receiving parser and system fields, can solve the problems of extended waiting time, varying length of waiting time, unbalanced storage system response, etc., to achieve waiting time delay Uniform and improve the effect of data access speed

Inactive Publication Date: 2011-05-11
HUAWEI TECH CO LTD
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, for all data requests, the length of waiting time for requests varies, and the response of the storage system is unbalanced. As a result, when a large number of data requests are accessed concurrently, the waiting time for the data requests behind the queue is prolonged and the access speed is slow.

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
  • Data access method, message receiving resolver and system
  • Data access method, message receiving resolver and system
  • Data access method, message receiving resolver and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] The embodiment of the present invention provides a method for data access, see figure 1 , the method flow is as follows:

[0034] 101: Receive a data access request;

[0035] 102: Determine the hard disk accessed by the data access request according to the received data access request;

[0036] 103: Send the data access request to a message queue associated with the accessed hard disk, so that the hard disk completes data access according to the data access request.

[0037] In the method provided by the embodiment of the present invention, by generating a message queue associated with the hard disk for each hard disk, the received data access requests are distributed to the corresponding message queues and queued for parallel processing, so that a large number of data access requests are accessed concurrently When storing the system, the waiting time delay of each data access request is uniform, and the fast access of data in multi-channel and multi-hard disks is rea...

Embodiment 2

[0039] The embodiment of the present invention provides a method for data access, see figure 2 , the method flow is as follows:

[0040] 201: Receive a data access request;

[0041] Specifically, the storage system receives the data access request sent by the entity. The storage system includes at least one hard disk. Each hard disk is associated with a message queue and bound to a data read and write task. The message queue is used to store data belonging to it in chronological order. The data access request of the hard disk, the data read and write task reads the data access request from the corresponding message queue. The embodiment of the present invention does not specifically limit the entity that sends the data access request, and the entity may be a client.

[0042] Wherein, the data access request includes data identification, operation type (data reading or data writing), transmission information identification (such as socket socket identification), offset and d...

Embodiment 3

[0082] see Figure 5 , the embodiment of the present invention provides a message receiving parser for data access, the message receiving parser includes:

[0083] A receiving module 501, configured to receive a data access request;

[0084] A determining module 502, configured to determine the hard disk accessed by the data access request according to the data access request received by the receiving module 501;

[0085] The sending module 503 is configured to send the data access request to the message queue associated with the hard disk determined by the determining module 502, so that the hard disk completes data access according to the data access request.

[0086] Among them, see Figure 6 , the determination module 502 specifically includes:

[0087] The judging unit 502a is used to judge the operation type of the data access request received by the receiving module 501: if the operation type is a data write operation, then associate the message queue with the least ...

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 discloses a data access method, a message receiving resolver and a system, and belongs to the field of network storage. The method comprises the following steps of: receiving a data access request; determining a hard disk accessed by the data access request according to the data access request; and sending the data access request to a message queue associated with the hard disk so that the hard disk completes data access according to the data access request. The message receiving resolver comprises a receiving module, a determining module and a sending module. The system comprises the message receiving resolver, at least one hard disk and the message queue associated with each hard disk. One message queue associated with the hard disk is generated for each hard disk, and the received data access request is distributed to the corresponding message queue to wait in line and processed in parallel, so that the waiting time delay of each data access request is uniform when a large amount of data access requests simultaneously access the storage system, and quick access of data in multiple channels and multiple hard disks is realized.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a data access method, a message receiving parser and a system. Background technique [0002] RAID (Redundant Array of Independent Disks, Redundant Array of Independent Disks) is a redundant array composed of multiple hard disks. RAID technology organizes multiple hard disks together so that these hard disks can be used as an independent large-scale storage device under the operating system. [0003] RAID is divided into various levels, among all levels, RAID 0 has the fastest storage speed. The principle is to divide the continuous data into multiple data blocks and distribute them to multiple hard disks for access. Therefore, when the system has a data request, it can be executed by multiple hard disks in parallel, and each hard disk executes its own part. data request. This kind of parallel operation on data can make full use of the bandwidth of the bus. Compared with seria...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0611G06F3/0659G06F3/0689
Inventor 刘义俊卢庆明
Owner HUAWEI TECH CO LTD
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