Data storage management method, device and equipment
A technology of data storage and management methods, applied in the direction of electrical digital data processing, special data processing applications, data processing input/output process, etc., can solve the problems of slow reading and writing speed, IO waiting, blocking, etc., and achieve less IO operations , The effect of fast reading and writing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Such as figure 2 As shown, the embodiment of the present application provides a data storage management method, wherein the data instruction includes a write data instruction and a data read instruction, and the method includes the following steps:
[0060] Step 201, in response to the write data instruction, write the data block into the zone, and use the unique identifier of the data block as the key, and the location information of the data block as the value, generate a data block index in the form of key-value, and store the The data block index is written into the storage area corresponding to the index information in the memory;
[0061] After receiving the write data command, first query whether the remaining space in the used zone can still satisfy the data block writing, if so, then write the data block into the zone in order, otherwise, write the data block into the zone in order From the used zone until the used zone is full, the data block write length is...
Embodiment approach
[0087] When the SMR disk needs to read the global data to determine the use of the zone, the above-mentioned zone index can be traversed to obtain the data storage information in each zone. As an optional implementation, the method also includes:
[0088] Responding to the SMR disk global data determination instruction, traversing the zone index;
[0089] Determine the value corresponding to each key in the traversed zone index, and obtain the data storage information in each zone.
[0090] During the implementation, since the data stored in the memory will not be retained when the SMR disk is started, after receiving the SMR disk global data confirmation command, the index information storage area of the CMR area is traversed for the zone index, among which, firstly, the zone prefix is used to index to All zone indexes, and then traverse.
[0091] In the above step 201, in response to the write data instruction, after the data block is written into the zone, the correspo...
Embodiment 2
[0108] A data storage management method in the present application is described above, and an apparatus for performing the above data storage management is described below.
[0109] see Figure 5 , the embodiment of the present application provides a data storage management device, the device includes:
[0110] The data block index generating module 501 is configured to write the data block into the zone in response to the write data instruction, and use the unique identifier of the data block as the key, and the position information of the data block as the value to generate a key-value format Data block index, writing the data block index into the storage area corresponding to the index information in the internal memory; when the amount of data in the storage area reaches the set threshold, the data in the storage area is encapsulated into a file and stored in the CMR area;
[0111] The data reading module 502 is configured to respond to the read data instruction, accordin...
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