A kind of SSD disk metadata storage method, device, controller and storage medium

A data storage device and data storage technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problems of reduced service life of SSD disks and wear of storage media

Active Publication Date: 2022-07-22
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of this application is to provide a SSD disk metadata storage method, device, controller, and computer-readable storage medium, aiming at solving the problem of not managing the blocks that need to be used when existing SSD disks store metadata, so that all Blocks that can be used to store metadata will be normally occupied, so that the corresponding storage medium will be continuously worn due to continuous occupation, and eventually the service life of the SSD disk will be rapidly reduced

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
  • A kind of SSD disk metadata storage method, device, controller and storage medium
  • A kind of SSD disk metadata storage method, device, controller and storage medium
  • A kind of SSD disk metadata storage method, device, controller and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] See figure 1 , figure 1 A flow chart of a method for storing metadata of an SSD disk provided in an embodiment of the present application includes the following steps:

[0049] S101: Calculate the required capacity for storing a complete metadata according to the total capacity of the target SSD;

[0050] Metadata, also known as intermediary data, relay data, is a kind of data describing data (dataabout data), mainly describing the information of data properties (property), used to support such as indicating storage location, historical data, resources Search, file recording and other functions. Usually in a fixed application scenario, the size of the metadata that can describe all the data stored in the SSD is fixed, that is, the process of determining the required capacity of a complete metadata in this application is Calculated based on the total capacity of the target SSD in the target application scenario, there is a relatively fixed conversion relationship betw...

Embodiment 2

[0067] See figure 2 , figure 2 A flowchart of a preferred method for storing metadata to be saved in the SSD disk metadata storage method provided by the embodiment of the present application. On the basis of the first embodiment, this embodiment aims to select the most suitable application and storage It is implemented in the form of an available empty Block that saves metadata, including the following steps:

[0068] S201: Obtain the number of times of erasing and writing each available empty Block in the available empty Block pool;

[0069] According to the introduction of the sources of available empty blocks in the embodiments of this application, it can be seen that there are no more than two sources of available empty blocks: one is an available empty block that has never been used, and the number of erasing and writing is zero; the other is A block that has been used before, but is emptied as an available empty block after the replacement operation, the number of t...

Embodiment 3

[0076] see below image 3 , image 3 A structural block diagram of an SSD disk metadata storage device provided in an embodiment of the present application, the system may include:

[0077] The benchmark required capacity calculation unit 100 is configured to calculate the required capacity for storing a complete metadata according to the total capacity of the target SSD;

[0078] The upper limit determination and setting unit 200 is used to determine the upper limit of the preferred capacity of the target SSD according to the required capacity, and set the upper limit of the preferred capacity as the upper limit of the capacity of the occupied list of the target SSD; wherein, the upper limit of the preferred capacity is greater than or equal to the required capacity, It is less than the total capacity of the target SSD disk that can be used to store metadata, and the occupied list is used to store blocks with metadata stored and to count the effective metadata size stored in...

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 present application discloses a method for storing metadata of an SSD disk, which limits the capacity of metadata stored in the SSD disk by using a preferred upper limit of capacity determined based on the required size, so that all metadata available for The blocks that store metadata are all occupied, so that the number of blocks that are normally occupied will be significantly reduced, and other blocks will not increase the wear level of the corresponding storage medium because they are in the non-occupied state, making the SSD disk. service life is extended. The present application also discloses an SSD disk metadata storage device, a controller and a computer-readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the technical field of solid-state disk data storage, and in particular, to a method, device, controller, and computer-readable storage medium for storing metadata of an SSD disk. Background technique [0002] SSD (Solid State Disk, solid-state drive) is a hard disk made of a solid-state electronic storage chip array, which is widely used in all walks of life due to its faster access speed than mechanical hard disks. [0003] Metadata, as the data describing data, also needs to occupy a certain amount of storage space in the SSD disk. Nowadays, when the metadata to be saved is stored in the SSD disk, all the blocks that can be used to store the metadata will gradually be used up. For example, For example, assuming that there are at most 100 blocks available for storing metadata, then in the process of writing, erasing, and rewriting SSD disk data, these 100 blocks will gradually be occupied until the metadata that nee...

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 Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0616G06F3/0623G06F3/064G06F3/0679
Inventor 陈庆陆
Owner INSPUR SUZHOU INTELLIGENT 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