Data recovery method for solid-state drive and solid-state drive

A technology of solid-state hard disk and recovery method, which is applied in the computer field, can solve problems such as time-consuming, large proportion of L2P data volume, and efficiency needs to be improved, so as to achieve the effect of reducing time spent and improving practicability

Pending Publication Date: 2018-12-25
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF8 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to the large proportion of L2P data in the SSD, it takes a lot of time for the SSD to restore the L2P metadata, so the

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
  • Data recovery method for solid-state drive and solid-state drive
  • Data recovery method for solid-state drive and solid-state drive
  • Data recovery method for solid-state drive and solid-state drive

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The embodiment of the present application provides a data recovery method of a solid-state hard disk and a solid-state hard disk, which are used to simultaneously save and restore L2P metadata by type when the solid-state hard disk is powered off or powered on, thereby improving the practicability of the solid-state hard disk.

[0046] see figure 1 , in the data recovery process of the solid state disk, the participation of the control unit 101 , the cache unit 102 , the dynamic random access storage unit 103 , the flash memory unit 104 and the reading unit 105 is required.

[0047] The control unit 101 can store the change amount of various types of metadata in the cache unit 102 and store the basic data of various types of metadata in the dynamic random access storage unit 103 when the solid state disk is running normally, Wherein, the cache unit 102 includes a static random access memory (static random access memory, SRAM), and the dynamic random access memory unit 1...

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 embodiment of the present application discloses a data recovery method of a solid-state disk and a solid-state disk, which are used for simultaneously saving and simultaneously recovering metadataof an L2P when the solid-state disk is powered off and powered on, thereby improving the practicability of the solid-state disk. A method for implement an embodiment of that present application includes: a solid state drive converting metadata of a logical-to-physical address translation L2P type into at least two metadata types; setting a static random storage area for each metadata type; calculating the number of LBAs according to the data capacity of the L2P type metadata and the data capacity of the preset logical block address LBA; when the solid-state disk normally runs, the solid-statedisk storing the first change amount and the first base data into the flash memory NAND respectively according to the LBA; when the solid-state disk is powered off, the solid-state disk storing the second change amount and the second base data to the NAND according to the LBA; when the solid-state disk is powered on, the solid-state disk reading the base data respectively according to the LBA, and reading the change amount respectively according to the LBA; corresponding base data being patched with changes.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data recovery method of a solid-state hard disk and the solid-state hard disk. Background technique [0002] The metadata of solid state disk (SSD) is the data used to manage the user data inside the SSD. The common metadata includes configuration data (config data), data block (block) management information data, logic to physical Address conversion (logical to physical address, L2P) data and trimming (trim) data, etc. Usually L2P type metadata occupies most of the data volume of all metadata in the SSD, and the L2P table stores the mapping relationship of all L2P in the SSD. If the SSD loses or tampers with a section of the L2P table, it will directly lead to the loss of user data and even the SSD cannot work normally. Therefore, when the SSD suddenly loses power, how to restore the lost user data when the SSD is powered on is very important. [0003] At present...

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/02G06F11/14
CPCG06F11/1438G06F12/0246Y02D10/00
Inventor 苗森
Owner LANGCHAO ELECTRONIC INFORMATION IND 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