Data storage method of flash memory

A technology of data storage and flash memory, which is applied in the direction of electrical digital data processing, special data processing applications, memory address/allocation/relocation, etc. It can solve the problems of reducing the service life of flash memory, increasing the number of erasing and writing of flash memory, and affecting the speed, etc., to achieve The effect of reducing the number of erasing and writing, prolonging the service life, and increasing the speed

Active Publication Date: 2008-06-25
NETAK TECH KO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0024] From the above examples of traditional flash memory data storage, it can be seen that when writing small data to flash memory, it is necessary to frequently operate the data area and FAT area, resulting in a large number of unnecessary data copy operations, thereby increasing The number of erasing and writing of the flash memory is reduced, which not only affects the speed, but also reduces the service life of the 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
  • Data storage method of flash memory
  • Data storage method of flash memory
  • Data storage method of flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The method of the present invention will be described in detail below with reference to the accompanying drawings.

[0038] Refer to Figure 5 , Which shows the processing flow of the flash memory data storage method according to the present invention. First, at least one swap block is set for the flash memory, and each swap block has a corresponding structure to record its information (step 501). According to the method of the present invention, when the operating system writes data, it first writes the data into the exchange block, and assigns values ​​to the structure corresponding to the exchange block (step 502). Then, data migration is performed according to the value of the structure of the exchange block (step 503), and the value of the structure is reset.

[0039]When a write operation includes multiple data write actions, the method according to the present invention can significantly increase the data storage speed. In this case, the above-mentioned step 502 can ...

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 present invention discloses a flash memory data storage method, comprising the following steps of setting at least one swap block, setting a corresponding structural body for each swap block, writing data into the swap block, assigning a value to the structural body of the swap block, performing data relocation according to the structural body value of at least one swap block, and resetting the value of each structural body. Through the method of the present invention, after data is written into the swap block, data relocation is not performed immediately but performed uniformly according to the structural bodies of the swap blocks after all data of the writing operation at a time is written into the appropriate swap blocks. Therefore, the method of the present invention decreases data relocation frequency so as to improve data storage speed. Meanwhile, as the erasing times of flash memory are reduced, the life span of the flash memory is prolonged.

Description

Technical field [0001] The invention relates to a data storage method, in particular to a flash memory data storage method. Background technique [0002] At present, flash memory technology is developing rapidly, but its basic reading and writing methods have not changed, that is, writing in units of pages and erasing in units of blocks, and data can only be written after erasing. Because of this characteristic of flash memory, data storage of flash memory is generally performed in units of blocks. The reading and writing of the operating system is generally performed in units of sectors. Therefore, the operating system may only write data to a small part of the block, and the remaining part of the data writing needs to be executed by the underlying software. This requires at least one exchange block inside the flash memory for data exchange. [0003] Based on the characteristics of the flash memory mentioned above, if the operating system writes multiple smaller data and their a...

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 Applications(China)
IPC IPC(8): G06F12/02G06F17/30
Inventor 钟智渊
Owner NETAK TECH KO 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