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

Method and device for recovering solid-state hard disc mapping table

A solid-state hard disk, mapping table technology, applied in the computer field, can solve the problem of consuming a long time, and achieve the effect of saving storage overhead

Inactive Publication Date: 2011-05-04
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF4 Cites 45 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the reconstruction information is distributed in each block or page of the flash memory, it takes a long time for the SSD to read the reconstruction information
Therefore, in the prior art, it takes a long time to restore the mapping table when the SSD was powered off last time

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 recovering solid-state hard disc mapping table
  • Method and device for recovering solid-state hard disc mapping table
  • Method and device for recovering solid-state hard disc mapping table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] Embodiments of the present invention provide a method and device for restoring a mapping table of a solid-state hard disk, which can restore the mapping table when the SSD was powered off last time in a relatively short period of time. Each will be described in detail below.

[0030] see figure 1 , an embodiment of the method for restoring the solid-state hard disk mapping table in the embodiment of the present invention includes:

[0031] 101. Judging whe...

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 invention discloses a method for recovering a solid-state hard disc mapping table, comprising the following steps of: judging whether the modified information saved after saving the mapping table in a cache last time reaches a preset amount; if so, saving the mapping table in the cache and receiving the data written-in operation instruction which comprises logic address information of data; if not, triggering the step of receiving the data written-in operation instruction; modifying the mapping table in the cache according to the logic address information and saving the modified information; loading the saved mapping table to the cache when the solid-state hard disc is electrified, and recovering the mapping table loaded in the cache to be the mapping table during the last power down of the solid-state hard disc according to the modified information saved after modifying the mapping table in the cache. The embodiment of the invention ensures that the mapping table during the last power down of the solid-state hard disc can be recovered in short time.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and a device for restoring a mapping table of a solid-state hard disk. Background technique [0002] Solid state disk (SSD, solid state disk) has the advantages of high read and write performance, strong shock resistance, and low power consumption because it does not have the rotating medium of ordinary hard disks. It is widely used in military, vehicle, industrial control, video surveillance, network terminals, etc. field. [0003] SSD consists of a control unit and a storage unit. At present, flash memory (Flash Memory) is mostly used as a storage unit of an SSD, and such SSDs all store a mapping table, which is used to represent the mapping relationship between the physical storage space and the logical storage space of the flash memory. [0004] After the SSD receives the data write operation command, the SSD needs to modify the mapping table to update the mappin...

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/08G06F12/1009
Inventor 张宗全
Owner HUAWEI DIGITAL TECH (CHENGDU) 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