Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Metadata recovery method and device based on SSD, equipment and medium

A recovery method and metadata technology, applied in the storage field, can solve problems such as difficult to ensure SSD startup efficiency, high time overhead for metadata recovery, and low metadata retrieval efficiency, so as to ensure power-on startup efficiency and reduce overall time overhead , the effect of improving retrieval efficiency

Active Publication Date: 2019-06-21
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF9 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the power-on recovery process of the SSD, it is necessary to retrieve the required metadata in the FLASH chip, and when there is a situation that the retrieved metadata is not available, it is also necessary to retrieve the metadata that can replace the metadata in the FLASH chip. Old metadata, but because metadata and user data may be stored in the same block of the current FLASH chip, during the power-on recovery process of the SSD, the retrieval of metadata is often interfered by user data, resulting in The retrieval efficiency of metadata is relatively low, so the time overhead of SSD metadata recovery is often large, and it is difficult to guarantee the startup efficiency of SSD

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
  • Metadata recovery method and device based on SSD, equipment and medium
  • Metadata recovery method and device based on SSD, equipment and medium
  • Metadata recovery method and device based on SSD, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 This is a flowchart of an SSD-based metadata recovery method provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the SSD-based metadata recovery method include:

[0039] Step S10: When the SSD is powered on and started, the required target metadata is retrieved in the PBA address range pre-divided in the FLASH chip of the SSD.

[0040] The storage space corresponding to the PBA address range is continuous and only metadata is stored.

[0041] It should be noted that this method is the content of the operations performed during the power-on and start-up process of the SSD. "Power-on" in this method refers to powering on the stopped SSD, so that the SSD starts from the stopped working state to normal working condition. In this step, when the SSD is powered on and started, the target metadata is retrieved from the FLASH chip of the SSD, including the metadata that needs to be loaded when the SSD retrieves and st...

Embodiment 2

[0047] On the basis of the above embodiments, the present invention also provides the following series of preferred embodiments.

[0048] As a preferred embodiment, before retrieving the required target metadata in the pre-divided PBA address range in the FLASH chip of the SSD, the method further includes:

[0049] Get the metadata type of the target metadata;

[0050] Correspondingly, the target metadata required for retrieval in the pre-divided PBA address range in the FLASH chip of the SSD includes:

[0051] Select the target PBA address range corresponding to the metadata type from the multiple PBA address ranges pre-divided in the FLASH chip of the SSD;

[0052] Retrieve the required target metadata within the target PBA address range.

[0053] It should be noted that, considering that in the actual application scenario, the metadata itself is also divided into different metadata types in the application of SSD according to the type difference of the corresponding user ...

Embodiment 3

[0066] The embodiments of the SSD-based metadata recovery method have been described in detail above, and the present invention also provides an SSD-based metadata recovery device corresponding to the method. Since the embodiment of the device part and the implementation of the method part The examples correspond to each other. Therefore, for the embodiments of the apparatus part, please refer to the description of the embodiments of the method part, and details are not described here for the time being.

[0067] figure 2 This is a structural diagram of an SSD-based metadata recovery apparatus provided by an embodiment of the present invention. The SSD-based metadata recovery device provided by the embodiment of the present invention includes:

[0068] The retrieval module 10 is used for retrieving the required target metadata in the PBA address interval pre-divided in the FLASH chip of the SSD when the SSD is powered on and started; wherein, the storage space corresponding ...

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 invention discloses a metadata recovery method and device based on an SSD, equipment and a medium. The method comprises the following steps: when the SSD is powered on and started, retrieving required target metadata in a PBA address interval pre-divided in a FLASH chip of the SSD; wherein the storage space corresponding to the PBA address interval is continuous, and only metadata is stored inthe storage space; and reading the target metadata, and loading the target metadata to a memory chip of the SSD. According to the method, the FLASH chip of the SSD is divided in advance; The PBA address interval obtained through division is continuous, only metadata is stored, the situation that the metadata is interfered by user data in the metadata retrieval process can be avoided, and therefore the metadata retrieval efficiency of the SSD in the power-on recovery process is relatively improved, and the power-on starting efficiency of the SSD is guaranteed. In addition, the invention further provides an SSD-based metadata recovery device, SSD-based metadata recovery equipment and an SSD-based metadata recovery medium, and the beneficial effects are the same as described above.

Description

technical field [0001] The present invention relates to the field of storage, and in particular, to an SSD-based metadata recovery method, device, device and medium. Background technique [0002] SSD, that is, Solid State Disk, referred to as Solid State Disk, is a hard disk made of solid-state electronic storage chip array. It is composed of a control unit and a storage unit (FLASH chip, DRAM chip). One, especially on servers with high performance requirements, SSDs are widely used. Most of the data stored in the SSD is user data, but metadata is required to manage these user data during operation. Therefore, with the continuous increase of SSD capacity, the amount of metadata data also continues to increase. Saving and restoring have become more important issues in SSD work. [0003] The working principle of the current SSD is generally to save the latest metadata in the memory in the FLASH chip when the power is turned off, so as to ensure that even if the SSD stops wor...

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 Applications(China)
IPC IPC(8): G06F11/14
Inventor 苗森
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products