Unlock instant, AI-driven research and patent intelligence for your innovation.

Flash memory management method and management system

A management method and flash memory technology, applied in the field of flash memory management methods and management systems, can solve problems such as reducing the service life of flash memory, unplanned usage frequency of physical blocks, and large differences in the use of physical blocks, etc., to achieve the effect of extending the service life

Active Publication Date: 2017-11-28
NUBIA TECHNOLOGY CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Causes the physical block corresponding to the file allocation table to be constantly erased and written, causing the physical block to be damaged in a short period of time
In addition, the existing management method cannot plan the frequency of use of physical blocks, resulting in large differences in the use of each physical block, uneven wear and tear, reducing the service life of flash memory

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
  • Flash memory management method and management system
  • Flash memory management method and management system
  • Flash memory management method and management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] refer to figure 1 and figure 2 , in a preferred embodiment of the present invention, the flash memory management system includes a scanning module 11, a data block management module 13, a free block management module 15, a conversion module 17, and the like.

[0023] As shown in step S21, the scanning module 11 scans the physical blocks of the flash memory, and divides the scanned physical blocks into data blocks and free blocks. In this specification and claims, a physical block refers to a storage block at the physical level of flash memory, and both data blocks and free blocks belong to physical blocks; a data block, also called a log block, refers to a physical block that can be used to store data or already has data. Block; idle block, also known as idle physical block, refers to a physical block in an idle state.

[0024] As shown in step S23, the data block management module 13 assigns a logical number to the data block and establishes a data block mapping tab...

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 provides a flash memory management method and management system. The management system includes: a scanning module, used to scan the physical blocks of the flash memory, and divide the scanned physical blocks into data blocks and free blocks, and the data blocks are used to store data; The data block is assigned a logical number and a data block mapping table is established, and the data block mapping table is used to associate the logical number of the data block and its physical address; the free block management module is used to assign a logical number to the free block and Establishing a free block mapping table, the establishment of the free block mapping table is used to associate the logical number and the physical address of the free block; the conversion module is used to convert the free block and the data block according to preset conditions, and update the The above data block mapping table and free block mapping table. The invention realizes the average number of times of physical blocks through mutual conversion of idle blocks and data blocks, thereby prolonging the service life of the flash memory.

Description

technical field [0001] The invention relates to the field of memory, in particular to a management method and system for flash memory (Flash). Background technique [0002] Flash memory is a storage medium that has been widely used in recent years. Compared with traditional mechanical memory, flash memory has the advantages of fast read and write speed, low noise, and low power consumption. However, flash memory has a limited number of times of erasing and writing. For example, the number of times of erasing and writing of NOR flash memory is about 100,000 times, while the number of times of erasing and writing of NAND flash memory is about 1 million times. [0003] In the existing flash memory management method, a logical mapping table is established during initialization, and a logical number is assigned to each free physical block and marked in the redundant area, or the allocated logical number is read out to the logical mapping table, and the logical mapping table esta...

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/02
Inventor 徐小华
Owner NUBIA TECHNOLOGY CO LTD