Method and system for storing and obtaining data
A data storage system and data storage technology, applied in the computer field, can solve problems such as data loss, increase mirroring process, etc., and achieve the effect of simplifying design and not easy to lose
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0023] Example one:
[0024] See figure 1 , figure 1 This is a schematic flowchart of a data storage method provided in Embodiment 1 of the present invention. Such as figure 1 As shown, the method can include:
[0025] Step 101: Write the data input by the host into the solid-state hard disk array.
[0026] Among them, the solid-state hard disk array is composed of several rows and several columns of solid-state storage chips. Compared with the volatility of data in random access memory, solid-state hard disks are non-volatile. Even if the solid-state drive array loses power, the data stored will not be lost.
[0027] Step 102: Compare whether the current data volume of the solid-state hard disk array is greater than or equal to a preset threshold, and if so, transfer the data of the solid-state hard disk array to the local hard disk.
[0028] Wherein, the method for implementing step 102 may specifically include:
[0029] Count the current data volume of the solid-state drive ...
Example Embodiment
[0033] Embodiment two:
[0034] See figure 2 , figure 2 This is a schematic flowchart of a data storage method provided in Embodiment 2 of the present invention. Such as figure 2 As shown, the method can include:
[0035] Step 201: Receive a data write request sent by the host, and schedule the data write request.
[0036] Among them, scheduling the data write request may specifically include:
[0037] Obtain the physical address of the SSD array according to the logical address of the SSD array carried in the data write request;
[0038] Sort the physical addresses of the SSD array in order of size.
[0039] The data write request is scheduled to facilitate writing the data input by the host into the solid state disk array in the order of physical addresses. Of course, the data write request can also be not scheduled, and the data input by the host can be directly written into the solid state disk array according to the physical address corresponding to the logical address of ...
Example Embodiment
[0060] Embodiment three:
[0061] See image 3 , image 3 This is a schematic flowchart of a data acquisition method provided in Embodiment 3 of the present invention. Such as image 3 As shown, the method can include:
[0062] Step 301: Determine whether the solid-state hard disk array currently stores the required data, if yes, execute step 302; if not, execute step 303.
[0063] Step 302: Obtain required data from the solid-state hard disk array.
[0064] Since the solid-state hard disk array is used as a part of the cache, its capacity is usually smaller than that of the local hard disk. When the current data volume of the solid-state hard disk array is greater than or equal to the preset threshold, the data of the solid-state hard disk array needs to be transferred to the local hard disk in order to make room to continue to receive the data sent by the host.
[0065] When the current data volume of the solid-state drive array is less than the preset threshold, it means that t...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap