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

An SSD abnormal power-down recovery method based on block growth record and system thereof

A power-failure recovery and abnormal technology, applied in memory systems, generation of response errors, electrical digital data processing, etc., can solve problems such as unsatisfactory requirements, affecting power-failure recovery efficiency, time consumption, etc., to reduce pressure and reduce read Operation, efficiency improvement effect

Inactive Publication Date: 2019-03-08
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that it is necessary to scan all the blocks of NAND (Nand-flash) to search for conflicting blocks, resulting in time consumption. In the process of data recovery, the time stamp of the guiding data in the table must be read through the mapping table. Compare the current timestamp to confirm the new and old relationship of the data. This repeated verification process will also affect the efficiency of power-off recovery, which cannot meet the requirements.

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
  • An SSD abnormal power-down recovery method based on block growth record and system thereof
  • An SSD abnormal power-down recovery method based on block growth record and system thereof
  • An SSD abnormal power-down recovery method based on block growth record and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0053] Such as Figure 1 to Figure 7 Specific examples shown, where, as figure 1 As shown in the flow chart of the prior art method, the usual process of updating and restoring the mapping table for data is as follows, taking the recovery process of a single lpn as an example:

[0054] 1. First, the data lpn to be restored, vpn1 to be confirmed and time stamp ts1 are known;

[0055] 2. Look up the table according to the original mapping table, we can know the original pmt0 corresponding to lpn;

[0056] 3. Obtain vpn0 from pmt0, and read the data and time stamp of the vpn0 index address on the NAND, assuming the time stamp is ts0;

[0057] 4. By comparing the time stamp ts1 with the time stamp ts0, determine whether the mapping ta...

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 an SSD abnormal power-down recovery method based on block growth record and a system thereof. The SSD abnormal power-down recovery method based on the block growth record comprises the following steps of S1 acquiring the physical address vpn1 of the lpn data to be recovered and the corresponding time stamp ts1, and searching according to the original mapping table to obtain the original pmt0 corresponding to the lpn; S2 judging whether the block indicated by pmt0 is a newly added conflict block; If yes, entering S4; If not, entering S3; S3 updating pmt0 to vpn1; S4 reading the guide physical address vpn0 by pmt0, and obtaining the data timestamp ts0; S5 setting the pmt of the lpn according to the timestamp ts1 and the timestamp ts0. The invention avoids the block-level scanning of the whole disk and rapidly locates the recovered object, reduces the read operation of NAND in the recovery process, greatly improves the efficiency of data recovery, and better meetsthe needs.

Description

technical field [0001] The invention relates to the field of management and control of abnormal power failure of solid-state hard drives, and more specifically refers to a method and system for recovering from abnormal power failure of SSDs based on block growth records. Background technique [0002] For abnormal power-off recovery of SSD, the usual method is to search all blocks after power-on, compare the state of the block with the state of the last written management information (Meta data) before power-off, and find the required Perform data recovery on the conflicting block, and then restore the data of the conflicting block. The disadvantage of this method is that it is necessary to scan all the blocks of NAND (Nand-flash) to search for conflicting blocks, resulting in time consumption. In the process of data recovery, the time stamp of the guiding data in the table must be read through the mapping table. The current timestamp is compared to confirm the new and old r...

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/14G06F12/02G06F12/16
CPCG06F12/16G06F11/1441G06F12/0246
Inventor 肖蔓君张红蕾黄华坤
Owner SHENZHEN YILIAN INFORMATION SYST 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