Method for file storage in continuous space of flash memory in equal probability manner

A flash memory and file storage technology, applied in the direction of memory address/allocation/relocation, etc., can solve problems such as complex calculations, achieve good performance and practicability, improve service life and access efficiency

Inactive Publication Date: 2011-11-23
SHENYANG JIANZHU UNIVERSITY
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In response to this problem, many researchers have proposed some algorithms: for example, Kawaguchi et al. proposed the Cost-Benefit strategy, Wells et al. proposed a strategy that comprehensively considers recovery efficiency and equal probability, Chiang et al. proposed CAT (Cost Age Times, referred to as CAT ) strategy, etc., these methods mainly realize the optimization of flash memory management through garbage collection, all need to record a large number of data storage time parameters, and the calculation is more complicated, so far there is no mature one suitable for resource-limited embedded systems method of storing files in 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
  • Method for file storage in continuous space of flash memory in equal probability manner
  • Method for file storage in continuous space of flash memory in equal probability manner
  • Method for file storage in continuous space of flash memory in equal probability manner

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The present invention will be further described below in conjunction with the accompanying drawings and the simulation process.

[0048] (1) Simulation environment

[0049] The development platform is VC++6.0, the programming language is C++, and the operating system is WindowsXP.

[0050] (2) Parameter setting

[0051] The default setting size of the storage unit of commonly used file systems such as FAT32 and NTFS is 4k. Without loss of generality, the storage unit size of the flash memory is set to 4k, then

[0052] Flash capacity

1G

2G

4G

8G

Number of storage units

262144

524288

1048576

2097152

[0053] The upper limit of storage times of the storage unit is set as 10, 50, and 1 million times respectively.

[0054] (3) Simulation process of 4G flash memory

[0055] 1) Formatting of the management sequence storage area

[0056] If the flash memory has been formatted, read the data in the manage...

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 method for file storage in continuous space of a flash memory in an equal probability manner, wherein the storage times of storage units are controlled by sequencing the storage times, and on the basis, the storage units with same storage times are subjected to continuous space sequencing to control the continuity of file storage and realize the continuous sequencing of the storage units according to the quantity from most to least. The method comprises the following steps of: supervisory sequence storage area formatting, file storage and file deletion. According to the method disclosed by the invention, the storage units with same storage times are sequenced on the basis of the storage times sequencing, the defects that the traditional file storage operation is unbalanced and a speed of a flash file storage system is low are overcome, the service life of the file storage space is prolonged, the access efficiency of the file storage space is improved, and favorable performance and practicability are achieved.

Description

technical field [0001] The invention belongs to the technical field of data storage, in particular to a method for storing files in an equiprobable continuous space of a flash memory. Background technique [0002] Since the life of the flash memory is limited and cannot be written indefinitely, the maximum number of writes to a storage unit is generally 10 5 ~10 6 Second-rate. Therefore, in the application of NAND Flash, a certain mechanism must be adopted to ensure approximately balanced and continuous use of each storage unit, and to improve access efficiency under the premise of avoiding the premature loss of some units to reach the service life. In response to this problem, many researchers have proposed some algorithms: for example, Kawaguchi et al. proposed the Cost-Benefit strategy, Wells et al. proposed a strategy that comprehensively considers recovery efficiency and equal probability, Chiang et al. proposed CAT (Cost Age Times, referred to as CAT ) strategy, etc...

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/02
Inventor 白乐强
Owner SHENYANG JIANZHU UNIVERSITY
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