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

Mapping table reconstruction method and device based on solid state disk and computer equipment

A technology of solid-state hard drives and mapping tables, which is applied in computing, instruments, electrical digital data processing, etc., and can solve problems such as time-consuming and time-consuming

Active Publication Date: 2020-01-17
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that according to the traditional method, it is necessary to scan the entire SSD to read each physical page data of each physical block. Suppose an SSD has 200 physical blocks, and each physical block has 80 physical pages. The spare area only stores one logical address. A total of 200*80=16,000 reads are required for a full disk scan. The more reads, the more time it will take, resulting in a large amount of time for re-establishing the mapping table.

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
  • Mapping table reconstruction method and device based on solid state disk and computer equipment
  • Mapping table reconstruction method and device based on solid state disk and computer equipment
  • Mapping table reconstruction method and device based on solid state disk and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0044] NAND FLASH is composed of many blocks (physical blocks), and each block is composed of many physical pages. Each physical page has two storage areas, data (data) area and spare (spare) area, and the data stored in these two areas is determined by the SSD firmware. Generally, SSD firmware stores user data in the data area; and the logical address corresponding to the user data is stored in the spare area of ​​the physical page. Due to the limited storage space of the spare area of ​​the physical page, too much data cannot be stored. Usually, the spare area of ​​the...

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 a mapping table reconstruction method and device based on a solid state disk, computer equipment and a storage medium. The mapping table reconstruction method comprises the steps of obtaining a mapping table reconstruction request based on the solid state disk; scanning from the last physical page of the corresponding physical block according to the mapping table reconstruction request based on the solid state disk; reading a corresponding logic address and N logic address offsets from a data area of the current physical page, where N is a positive integer greater than1; obtaining logic addresses corresponding to N adjacent pages in sequence according to the logic address corresponding to the current physical page and the N logic address offsets; and reconstructing a mapping relationship from the logic address to the physical address according to the logic address corresponding to the current physical page and the logic addresses corresponding to the N adjacent pages. According to the mapping table reconstruction method, when the mapping table in the SSD is lost, the frequency of full-disk scanning can be reduced, and the purpose of quickly reconstructingthe mapping table is achieved.

Description

technical field [0001] The invention relates to the technical field of solid-state hard disks, in particular to a method, device, computer equipment and storage medium for rebuilding a mapping table based on solid-state hard disks. Background technique [0002] Currently, in an SSD (Solid State Drive), the mapping from the logical address space to the physical address space forms a mapping table. Each mapping relationship in the mapping table records the mapping from the logical address of the user data to the physical address. If the mapping table is damaged or lost due to some abnormal reasons, the mapping relationship between the logical address of the user data and the physical address cannot be found, and corresponding user data cannot be found. Therefore, a method is needed to find user data even when the mapping table is lost. [0003] In the traditional technology, in order to find the user data even when the mapping table is lost, when writing the user data, the l...

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/0882G06F12/0873
CPCG06F12/0882G06F12/0873G06F2212/7201G06F12/0246G06F12/1009G06F2212/1016
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