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

FLASH storage file management method

A technology for storing files and management methods, applied in the field of FLASH storage file management, which can solve the problems of inaccurate size, unfavorable storage number of files, interference file storage, etc., and achieve a reasonable effect of resource utilization

Inactive Publication Date: 2003-03-26
HUAWEI TECH CO LTD
View PDF0 Cites 58 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] And this method has following deficiencies: (1) the programmer must know the number of files to be stored in advance before writing the FLASH management software code, to decide to divide the FLASH into several areas, which is not conducive to the indefinite number of files stored in the application of the product. If the number of files to be stored is more than the number of partitions, the code must be re-modified and the software upgraded
(2) Programmers must estimate the size of each file to be stored before writing the FLASH management software code to determine how much FLASH area to allocate for the file. If the size of the file to be stored is larger than the reserved area, the Files will not be stored correctly and also interfere with file storage in adjacent areas
(3) Because the pre-estimated file size is inaccurate, or when the file is modified, it is very likely to allocate a larger storage area to an originally small file, resulting in a waste of storage space

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 storage file management method
  • FLASH storage file management method
  • FLASH storage file management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] With reference to Fig. 1, FLASH storage file management method of the present invention, at first FLASH is divided into two areas, and wherein one area is the file data storage area that is used to store the specific content of file that is formed by basic allocation unit " block "; Another area It is a file index area for recording allocation information of a file directory and a basic allocation unit "block". The usual FLASH chip is physically divided into dozens to hundreds of "blocks" of unit length. For example, each chip of INTEL 28F128 FLAH chip is divided into 128 blocks, and each block is 128K bytes. These "blocks" can be used as the basic Allocation unit. According to this division, the file index area only occupies 1 to 2 "blocks" to meet the storage needs, and all the remaining blocks are allocated to the file data storage area.

[0028] Referring to FIG. 2 , the file index area can be further divided into two sections, that is, the file directory section 1...

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 FLASH memory is divided into the file data storage area and the file index area. The file data storage area composed of the 'block' of FLASH memory is utilized to store the content of the file. The file index area is utilized to record the file directories and the allocation information of 'block' of FLASH memory. Based on the said partition, the operations of writing file, reading file and erasing file are carried out, making the FLASH space be allocated based on the dynamic quantity and the length of the file utilized. Thus, it is not needed to modify the code or upgrade the software when the quantity of the file is adjusted or the length of the file is changed. The invention uses the resources reasonably and saves the storage space.

Description

technical field [0001] The invention relates to a memory management method, in particular to a FLASH (flash electrically erasable programmable read-only memory) storage file management method. Background technique [0002] The storage capacity of a FLASH chip is fixed. In order to store different data files, the existing technology generally adopts the following management method. First, the FLASH is fixedly divided into several storage areas according to the FLASH capacity, the number of files and the size. For example, to store For five files of different sizes, first divide the FLASH into five areas of different sizes, and then record the corresponding starting address of each file. The data such as the size of each area above and the starting address are written in the program code in the form of constants. When it is necessary to perform operations such as reading, writing, and erasing on a file, first find out its corresponding starting address and area size. Then go ...

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/06
Inventor 辜明君阳向前仇建斌
Owner HUAWEI TECH 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