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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com