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

Method and electronic equipment for forming, updating and recovering mapping table

An electronic device and mapping table technology, applied in the field of electronics, can solve problems such as inconsistency between metadata and data, SSD cannot work normally, etc., and achieve the effect of improving security.

Active Publication Date: 2016-01-06
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF4 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The storage medium of the solid-state memory itself is generally NAND flash memory (flash), and the metadata mainly includes the basic information recorded on the hard disk, such as logical-physical mapping table, other hard disk management information, etc.; after the solid-state memory is powered on, it is first loaded from the NAND flash memory Metadata to RAM; during the working process, the data read and write operations on the hard disk will also involve the change of metadata (especially the mapping table). In view of the speed requirement, these changes are directly operated on RAM, so it is necessary to timely update the These metadata are updated to NANDflash, otherwise, once an abnormal power failure occurs, the metadata and data are inconsistent, which may cause the SSD to fail to work normally after power-on
[0004] In the prior art, there is no solution that can automatically restore metadata in case of abnormal power failure

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 electronic equipment for forming, updating and recovering mapping table
  • Method and electronic equipment for forming, updating and recovering mapping table
  • Method and electronic equipment for forming, updating and recovering mapping table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] Embodiments of the present invention provide a method for forming a mapping table, which is applied to electronic equipment. The functions implemented by the method for forming the mapping table can be implemented by calling program codes from the SSD controller in the electronic equipment. Of course, the program codes can be stored in the computer. In the storage medium, it can be seen that the electronic device at least includes an SSD controller and a storage medium.

[0086] figure 1 It is a schematic diagram of the implementation flow of the method for forming a mapping table in Embodiment 1 of the present invention, as figure 1 As shown, the method includes:

[0087] Step S101, using page-level mapping to map all logical pages from the host to physical pages of NAND on the solid-state memory to form a secondary mapping table;

[0088] Here, the mapping table includes a primary mapping table and a secondary mapping table; the host refers to an electronic device r...

Embodiment 2

[0099] Based on the aforementioned embodiments, the embodiment of the present invention provides a method for forming a mapping table, which is applied to an electronic device. The functions implemented by the method for forming a mapping table can be implemented by calling program codes from the SSD controller in the electronic device. Of course, The program code can be stored in a computer storage medium. It can be seen that the electronic device at least includes an SSD controller and a storage medium.

[0100] The method includes:

[0101] Step S201, using page-level mapping to map all logical pages from the host to physical pages of NAND on the solid-state memory to form a secondary mapping table;

[0102] Here, the mapping table includes a primary mapping table and a secondary mapping table; the host refers to an electronic device relative to a solid-state memory. In the prior art, a page-level mapping method is generally used to form a page-level mapping table. In the ...

Embodiment 3

[0115] Based on the foregoing embodiments, an embodiment of the present invention provides a method for updating a mapping table, which is applied to electronic devices. The functions implemented by the method for forming the mapping table can be implemented by calling program codes from the SSD controller in the electronic device. Of course, The program code can be stored in a computer storage medium. It can be seen that the electronic device at least includes an SSD controller and a storage medium.

[0116] figure 2 It is a schematic diagram of the implementation flow of the method for updating the mapping table in Embodiment 3 of the present invention, as shown in figure 2 As shown, the update method of the mapping table includes:

[0117] Step S301, acquiring parameters for updating the mapping table;

[0118] Here, the mapping table includes a primary mapping table and a secondary mapping table, wherein the relationship between the primary mapping table and the second...

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 a kind of electronic equipment for forming, updating and recovering a mapping table, wherein the mapping table comprises a first-level mapping table and a second-level mapping table, and the formation method comprises that all the logic pages from a host are mapped into physical pages of an NAND on a solid-state storage through page-level mapping to form the second-level mapping table; and a first physical address is acquired, the first physical address is a physical storage address of a first block in the second-level mapping table, the first physical address and corresponding first identification information form a mapping relation in a mapping unit of the first-level mapping table, and the first identification information is identification information of the first block.

Description

technical field [0001] The invention relates to electronic technology, in particular to a method for forming, updating and restoring a mapping table and electronic equipment. Background technique [0002] The performance of solid-state memory (SSD, Solid-State Memory) is significantly higher than that of traditional disk memory. In recent years, due to the decline in the cost of solid-state memory, it has been increasingly used in personal computers (PCs) and notebooks. [0003] The storage medium of the solid-state memory itself is generally NAND flash memory (flash), and the metadata mainly includes the basic information recorded on the hard disk, such as logical-physical mapping table, other hard disk management information, etc.; after the solid-state memory is powered on, it is first loaded from the NAND flash memory Metadata to RAM; during the working process, the data read and write operations on the hard disk will also involve the change of metadata (especially the m...

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/16
CPCG06F12/0246G06F2212/7201
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