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

Method and device for constructing SSD FTL mapping table by host

A mapping table and host technology, applied in the field of SSDFTL mapping table construction, can solve problems such as affecting data recovery efficiency and taking a long time

Pending Publication Date: 2022-05-27
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Generally, due to the limited internal resources of the SSD, data depth recovery will be realized by the host. The host usually reads all the internal NAND data of the faulty SSD to the host by means of a dedicated reading method, and then performs data extraction and recovery. Analysis to recover valid data, but this recovery method takes a long time and greatly affects the efficiency of data recovery

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
  • Method and device for constructing SSD FTL mapping table by host
  • Method and device for constructing SSD FTL mapping table by host
  • Method and device for constructing SSD FTL mapping table by host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] The first embodiment provides a method for a host to build an SSD FTL mapping table. The host notifies the faulty SSD multiple times to preset the FTL mapping table in the internal DDR. The FTL mapping table is preset in the DDR. After the host finds that the current FTL mapping table is preset, it reads the faulty SSD NAND data through the NVME IO path, and rebuilds the real SSD FTL mapping table in the host-side memory. After the host side completes the FTL mapping table reconstruction process for all times, import all the final reconstructed real SSD FTL mapping tables into the SSD DDR. In this way, the real FTL mapping table resides in the faulty SSDDDR, and the host can initiate the normal data reading process.

[0058] like figure 1 Shown is a schematic flowchart of a method for constructing an SSD FTL mapping table by a host provided in Embodiment 1, including the following steps.

[0059] S101, the host issues an FTL mapping table preset command to the faulty...

Embodiment 2

[0112] The second embodiment provides an apparatus for a host to construct an SSD FTL mapping table, which is used to implement the foregoing method for a host to construct an SSD FTL mapping table.

[0113] like Figure 5 Shown is a schematic structural block diagram of an apparatus for constructing an SSD FTL mapping table by a host provided in the second embodiment, including the following functional modules.

[0114] Preset command issuing module 101: The host issues an FTL mapping table presetting command to the faulty SSD in N times, wherein N≥2.

[0115] Preset FTL mapping table module 102: After receiving the current FTL mapping table preset command, the faulty SSD presets the FTL mapping table of each partition space based on its partition space; wherein the logical block addresses in the preset FTL mapping table are The number is less than the number of storage units in the corresponding partition space.

[0116] Real FTL mapping table building module 103 : after t...

Embodiment 3

[0121] Image 6 It is a schematic structural diagram of a terminal device 600 according to an embodiment of the present invention, including: a processor 610 , a memory 620 , and a communication unit 630 . The processor 610 is configured to implement the following steps when the host stored in the memory 620 builds the SSD FTL mapping table program:

[0122] The host sends the FTL mapping table preset command to the faulty SSD in N times; N≥2;

[0123] After receiving the current FTL mapping table preset command, the faulty SSD presets the FTL mapping table of each partition space based on its partition space; the number of logical block addresses in the preset FTL mapping table is less than the storage unit of the corresponding partition space number;

[0124] After the current FTL mapping table of the faulty SSD is preset, the host reads the NAND data of the faulty SSD and builds the real SSD FTL mapping table in the local memory;

[0125] After the host completes the con...

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 relates to the field of SSD FTL mapping table construction, and particularly discloses a method and a device for constructing an SSD FTL mapping table by a host, and the method comprises the following steps: the host issues an FTL mapping table preset command to a fault SSD in N times; wherein N > = 2; after the fault SSD receives the current FTL mapping table presetting command, the FTL mapping table of each partition space is preset based on the partition space of the fault SSD; wherein the number of the logic block addresses in the preset completed FTL mapping table is smaller than the number of the storage units of the corresponding partition space; the host reads NAND data of the fault SSD after the current FTL mapping table of the fault SSD is preset, and a real SSD FTL mapping table is constructed in a local memory; and after the host completes all times of SSD FTL mapping table construction, the finally reconstructed SSD FTL mapping table is sent to the fault SSD. According to the method, the FTL mapping relation corresponding to all effective data in the fault SSD NAND can be quickly and stably reconstructed, and preconditions are provided for next data recovery and backup.

Description

technical field [0001] The invention relates to the field of SSD FTL mapping table construction, in particular to a method and device for a host to construct an SSD FTL mapping table. Background technique [0002] The FTL mapping table is a linear table with FTL LBA as the index and PBA as the content. After receiving the host write request, the SSD converts the host LBA to obtain the FTL LBA, writes the logical data associated with the host LBA in the request command to the NAND space specified by the PBA, and updates the mapping relationship between the FTL LBA and the PBA to the FTL mapping table. middle. After receiving the host read request, the SSD converts the host LBA into an FTL LBA, searches the FTL mapping table to obtain the PBA according to the FTL LBA, and reads the NAND data and returns it to the host. When the SSD is running, the FTL mapping table resides in the specified space of the SSD DDR. Before the SSD is powered off, it needs to be written to the NAN...

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
IPC IPC(8): G06F12/02G06F12/1009
CPCG06F12/0238G06F12/1009G06F2212/7201Y02D10/00
Inventor 陈庆陆
Owner SUZHOU LANGCHAO 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