Method and device for storing data
A technology of data storage and storage device, which is applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problems of short lifespan of SSD and reduced storage efficiency of SSD
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0067] Embodiments of the present invention provide a data storage method, such as figure 1 shown, including:
[0068] 101. The data storage device counts the number of visits of any data in the data storage device within N cycles, N>0.
[0069] 102. The data storage device determines the SSD feature of the data according to the access volume of the data in N cycles, and the SSD feature is used to reflect the activity of the data in N cycles.
[0070] 103. If it is determined that the data satisfies at least one SSD feature, the data storage device stores the data in the SSD.
[0071] In a data storage system or a database system, memory, SSD, and hard disk can be used as storage media to store various data, so that users can access various data from the storage media. Further, the order of access speed of these three storage media is: memory>SSD>disk, and the order of capacity of these three storage media is: memory<SSD<disk, it can be seen that due to the large capacity of...
Embodiment 2
[0089] Embodiments of the present invention provide a data storage method, such as image 3 shown, including:
[0090] 201. The data storage device counts the number of visits of any data in the data storage device within N periods respectively, where N>0.
[0091] 202. The data storage device determines the number of SSD features that the data satisfies according to the access volume of the data in N cycles, and the SSD features include access volume features, activity proportion features, and continuous activity features.
[0092] 203. The data storage device determines the priority of writing the data to the SSD according to the number of SSD characteristics that the data satisfies, and puts the data into a candidate queue.
[0093] 204. The data storage device selects the first K data at the head of the candidate queue, and writes them into the LRU queue in the SSD according to the priority of each data.
[0094] 205. The data storage device updates the LRU queue to whic...
Embodiment 3
[0122] attached Figure 6 What is shown is a hardware schematic diagram of the data storage device of the present invention.
[0123] Such as Figure 6 , the data storage device includes a processor 11 , a communication interface 12 , a memory 13 , an SSD 14 and a bus 15 .
[0124] Wherein, the processor 11 , the communication interface 12 , the memory 13 and the SSD 14 are communicatively connected through the bus 15 .
[0125] The processor 11 is the control center of the data storage device. The processor 11 processes the data received by the communication interface 12 and invokes software or programs in the memory 13 to execute various functions of the data storage device.
[0126] The communication interface 12 may be realized by an optical communication interface 12, an electrical communication interface 12, a wireless communication interface 12 or any combination thereof. For example, the optical communication interface can be a small form-factor pluggable (English: ...
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