Flash memory device and data processing method thereof

A data processing and device technology, applied in the direction of memory address/allocation/relocation, input/output to record carrier, etc., can solve problems such as low service life and unbalanced erasure times

Inactive Publication Date: 2014-10-15
YOBYTE ELECTRONICS TECH WUXI CO LTD
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem of low service life caused by the unbalanced erasing times of the internal blocks of the flash memory device in the prior art, the present invention proposes a data processing method of the flash memory device and the flash memory device

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 device and data processing method thereof
  • Flash memory device and data processing method thereof
  • Flash memory device and data processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.

[0029] In order to solve the problem of low service life caused by unbalanced erasing times of internal blocks of a flash memory device in the prior art, the present invention provides a data processing method of a flash memory device and a flash memory device.

[0030] For applications with more write operations on flash memory devices, each block (block) can be monitored, so that the number of erasing and writing of each block is relatively average, and it is avoided that some blocks have too many times of erasing and writing, while others The number of times is too small, thereby increasing the life of the flash memory device. The invention mainly aims at the empty blocks in the flash memory device, and dynamically ...

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 flash memory device and a data processing method thereof. The method includes presetting a wear redundancy value, namely the maximum value of difference of numbers of erasing times of different blocks of the flash memory device, of the blocks in the flash memory device to be N; establishing erasing counting tables EC(X) containing N+1 elements, setting a subscript value X to range from 0 to N, and arraying the N+1 elements from small to large according to the subscript value X; dividing all available blocks in the flash memory device into N+1 queues according to erasing counting values, adding the queues composed of the blocks with the erasing counting values to be zero into the EC (0), and allowing the queues contained by elements EC (1) to EC (N) to be empty; when writing the data, determining the minimum queue to be the one with the minimum erasing counting value but not empty in the erasing counting tables, and writing the data into the blocks of the minimum queue. The device and method has the advantages that wear balance of the blocks can be realized during data writing and deleting, and the purpose of prolonging service life can be achieved.

Description

technical field [0001] The present invention relates to the technical field of flash memory in the communication field, and in particular, to a data processing method of a flash memory device and a flash memory device. Background technique [0002] A flash memory device is an erasable and rewritable electronic non-volatile storage medium, which has been widely used in data storage systems. Because the flash memory device can still save data when the power is off, it is usually used to save preset information, such as the computer's BIOS (basic program), PDA (personal digital assistant), digital camera to save data, etc. Better storage solution, which is still evident in low-capacity applications not exceeding 4GB. [0003] The flash memory device performs erasing and writing operations in units of blocks. The writing operation of the flash memory must be performed in a blank area. If the target area already has data, it must be erased first and then written. Therefore, the ...

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 & AuthorityApplications(China)
IPC IPC(8): G06F3/06G06F12/06
Inventor罗理坚卢明
OwnerYOBYTE ELECTRONICS TECH WUXI CO LTD