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

Management method and management system for flash memory

A management method and management system technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problems of reducing the service life of flash memory, large differences in the use of physical blocks, uneven wear, etc., and achieve the effect of extending the service life

Active Publication Date: 2014-03-26
NUBIA TECHNOLOGY CO LTD
View PDF7 Cites 6 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
  • Management method and management system for flash memory
  • Management method and management system for flash memory
  • Management method and management system for flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0026] As shown in step S23, the data block management module 13 assigns logical numbers to the data blocks 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 management method and management system for a flash memory. The management system comprises a scanning module, a data block management module, a free bock management module and a conversion module. The scanning module is used for scanning physical blocks of the flash memory and dividing the scanned physical blocks into data blocks and free blocks, and the data blocks are used for storing data. The data block management module is used for distributing logic numbers to the data blocks and building a data block mapping table, and the data lock mapping table is used for associating the logic numbers and the physical addresses of the data blocks. The free block management module is used for distributing logic numbers to the free blocks and building a free block mapping table, and the built free block mapping table is used for associating the logic numbers and the physical addresses of the free blocks. The conversion block is used for converting the free blocks and the data blocks according to preset conditions and updating the data block mapping table and the free block mapping table. Through the mutual conversion of the free blocks and the data blocks, the equalization of the number of times of the physical blocks is achieved, and therefore the service life of the flash memory is prolonged.

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
IPC IPC(8): G06F12/02
Inventor 徐小华
Owner NUBIA TECHNOLOGY 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