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

Method and system for recovering mapping table after abnormal power failure of solid-state disc

A mapping table, solid-state disk technology, applied in response error generation, electrical digital data processing, error detection of redundant data in operation, etc., can solve problems such as low reliability and long recovery time

Inactive Publication Date: 2017-01-04
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, at present, when the power-off recovery is performed on the mapping table, the problem of long recovery time often occurs due to the large amount of data to be recovered, and the reliability is low.

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 system for recovering mapping table after abnormal power failure of solid-state disc
  • Method and system for recovering mapping table after abnormal power failure of solid-state disc

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The core of the present invention is to provide a method and system for restoring a mapping table after an abnormal power failure of a solid-state disk, which can enhance the degree of parallel processing during power-failure recovery, further shorten the time for power-failure recovery, and improve the reliability of the solid-state disk.

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present inventi...

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 method and system for recovering a mapping table after abnormal power failure of a solid-state disc. Snapshot fragment pages are divided into odd-number snapshot fragment pages and even-number snapshot fragment pages according to the page parity of stored logic page modification data and are stored in an odd-number channel and an even-number channel in a flash memory respectively; when power failure recovers from the solid-state disc, mapping information stored during abnormal power failure and the mapping table stored in the flash memory the last time before abnormal power failure are read from the flash memory; the mapping information comprises location information of the mapping table stored the last time and start-stop addresses of snapshot fragment pages stored in the flash memory after the moment when the mapping table stored the last time begins to be written in the flash memory; N CPUs (central processing units) read the mapping table stored the last time according to the start-stop addresses and update the mapping table stored the last time according to the odd-number snapshot fragment pages and the even-number snapshot fragment pages respectively, and N is an even number. The parallel processing degree during recovery of power failure can be enhanced, and the power failure recovery time is further shortened.

Description

technical field [0001] The invention relates to the technical field of snapshots, in particular to a method and system for restoring a mapping table after a solid state disk is powered off abnormally. Background technique [0002] With the advancement of NAND flash memory technology, the capacity of solid-state disks (including multiple flash memory chips in solid-state disks) is getting larger and larger, and the metadata of solid-state disks, especially the mapping table, is also getting larger and larger. As a result, the mapping table loses a lot of important data. At present, it is generally used to increase the capacitor to prolong the power-down time, and at the same time use the snapshot technology to save the snapshot segment with the changed mapping information to the flash memory. [0003] Wherein, the snapshot technology refers to taking a snapshot of information in a mapping table from a logical page to a physical page. The normal working process of the solid-s...

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): G06F11/14
CPCG06F11/1469
Inventor 刘冬好郑静殷军博
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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