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

Mapping table forming and loading methods and electronic device

An electronic device and mapping table technology, applied in the electronic field, can solve the problems of huge metadata mapping table information and long response time of the hard disk when starting up, and achieve the effect of improving user experience and shortening the time.

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

AI Technical Summary

Problems solved by technology

If the page mapping method is used, the mapping table information in the metadata will be very large; if all of them are loaded, it will take a long time to start the hard disk to respond

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 forming and loading methods and electronic device
  • Mapping table forming and loading methods and electronic device
  • Mapping table forming and loading methods and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0076] 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.

[0077] Picture 1-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 Picture 1-1 As shown, the method includes:

[0078] 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;

[0079] Here, the mapping table includes a primary mapping table and a secondary mapping table; the host refers to an electronic de...

Embodiment 2

[0101] 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.

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

[0103] 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;

[0104] Here, the mapping table includes a primary mapping table and a secondary mapping table; the host...

Embodiment 3

[0116] Based on the foregoing embodiments, the embodiment of the present invention further provides a method for loading a mapping table, which is applied to an electronic device. 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.

[0117] image 3 It is a schematic flow diagram of the implementation flow of the loading method of the mapping table in the third embodiment of the present invention, such as image 3 As shown, the method includes:

[0118] Step S301, read the flag bit on the first mapping unit in the primary mapping table, the flag bit is used to indicate whether the first block has been accessed last time, the first block is the first The block corresponding to the mapping unit;

...

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 mapping table forming and loading methods and an electronic device. The forming method comprises: mapping a logic page from a host into a physical page of NAND on a solid state memory by using page-level mapping to form a secondary mapping table; obtaining a first physical address, wherein the first physical address is a physical memory address of a first block in the secondary mapping table; and forming a mapping relationship between the first physical address and corresponding first identification information in a mapping unit of a primary mapping table, wherein the first identification information is identification information of the first block, each mapping unit in the primary mapping table contains Q flag bits, and the flag bits are used for indicating historical access information of the block.

Description

technical field [0001] The invention relates to electronic technology, in particular to a method for forming and loading 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 mapping table...

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/02
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