A method and device for increasing the startup speed of a flash memory device

A startup speed, flash memory technology, applied in memory systems, memory address/allocation/relocation, instruments, etc., can solve the problems of slow startup speed, increase write amplification factor, increase startup time, etc., to achieve good wear balance effect, Improve startup speed and balance performance loss

Active Publication Date: 2021-02-12
ALLWINNER TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are three ways to obtain the mapping table when the flash memory device is started. One is to scan each page of each block that stores data, obtain the logical address information corresponding to the physical address, and establish a logical mapping table. The disadvantage of this method is to rebuild the logical mapping The table needs to scan a large amount of data, the startup speed is slow, and the startup time increases with the increase of storage capacity; second, there is a physical mapping table for each block, which records the logical addresses corresponding to all the physical addresses of the block, and scans at startup These physical mapping tables are used to establish a logical mapping table. The disadvantage of this method is that rebuilding the logical mapping table requires scanning more data, the startup speed is slow, and the startup time increases with the increase of storage capacity; The table is directly stored in a specific location of the flash memory, and these logical mapping tables are scanned directly at startup. The disadvantage of this method is that the algorithm design is more complicated, and the storage of the logical mapping table consumes additional bandwidth and increases the write amplification factor.

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
  • A method and device for increasing the startup speed of a flash memory device
  • A method and device for increasing the startup speed of a flash memory device
  • A method and device for increasing the startup speed of a flash memory device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] refer to figure 1 , a method for improving the startup speed of the flash memory device according to the present invention is a flow chart of rebuilding the logical mapping table when power-on and startup, and the specific steps are as follows:

[0054] S1: Find the last updated record information from the fixed physical area; the record information includes the storage address of the logical mapping table stored in any location in the flash memory, the starting block number of the incompletely preserved logical mapping table area, and the All physical block numbers sorted in order, and the free block numbers to be used to write data.

[0055] S2: Determine whether the record information is correct, and execute step S4 if the record information is correct, otherwise execute step S3.

[0056] S3: Scan the first page of each block to obtain the order in which the blocks are used.

[0057]S4: Determine whether all logical mapping sub-tables are correct. If all are correc...

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 device for improving the startup speed of a flash memory device, including a logical mapping sub-table search device and a first-level mapping table establishment device, and the logical mapping sub-table search device is used to search for and obtain a specific physical location in the flash memory The last updated and saved record information; the first-level mapping table establishing means can establish the first-level mapping table according to the storage address of the logical mapping sub-table. The invention makes it possible to directly obtain the logical mapping sub-table and the mapping information of the physical area where the reconstruction of the unfinished logical mapping table is updated during the power-on and starting process, greatly reducing the amount of data that needs to be scanned in the process of rebuilding the logical mapping table, and achieving the goal of improving the starting speed Purpose; In addition, logical mapping sub-tables are scattered and stored in any location in the physical partition used to save user data in the flash memory, so as to achieve better wear balance effect and more balanced performance loss.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a method and device for increasing the startup speed of a flash memory device. Background technique [0002] As an important storage medium, the flash memory device's startup speed will directly affect the startup speed experience of the terminal device. The flash memory device needs to establish a logical address-to-physical address mapping relationship before it can work normally, and this mapping relationship can be reflected and maintained by a logical mapping table. The information of the logical mapping table exists inside the flash memory, and this mapping information is recorded when the flash memory receives a write request. There are three ways to obtain the mapping table when the flash memory device is started. One is to scan each page of each block that stores data, obtain the logical address information corresponding to the physical address, and establish a logical mappi...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02G06F12/1009
CPCG06F12/0246G06F12/1009
Inventor 曾裕
Owner ALLWINNER TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products