A flash memory file system management method

A technology of a file system and a management method, which is applied in the field of managing a stored file system using a FAT table area, can solve problems such as file system crashes, increased wear times of file index areas, and the FLASH file system management method is not aimed at smart card platforms, etc. Achieve the effects of reducing the number of erasures, improving retrieval efficiency, operating efficiency and simple performance

Active Publication Date: 2005-06-29
DATANG MICROELECTRONICS TECH CO LTD
View PDF1 Cites 103 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the existing FLASH file system records the information of the file data area (generally the position information of the first block of the file) in the file index area. If the file is updated, it also needs to update the corresponding content of the file index area, which increases the file index area. wear times
Damage to the file data area may only destroy the file stored in the block. If the file index area is damaged, the file system may crash
[0007] In addition, the existing FLASH file system management method is not aimed at the smart card platform

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
  • A flash memory file system management method
  • A flash memory file system management method
  • A flash memory file system management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The method of the present invention will be described in detail below with an embodiment. The FLASH file system management method of this embodiment is applied to smart card products. The hardware platform characteristics of smart card products are: the CPU speed is relatively slow, requiring the file system to be able to quickly retrieve and locate; in addition, in order to reserve enough RAM space for upper-layer applications, the design of the file system should use as little RAM space as possible.

[0048] File system storage scheme

[0049] The FLASH chip is divided into a file FAT table area (namely, a file index area) and a file data storage area. The smallest unit of file storage is "block", and the file data storage area is composed of data "blocks". The block size is determined by the size of the file and the size of the erase sector (the smallest unit for erasing the FLASH). In order to ensure the processing speed of the file, it is best not to exceed 5 blo...

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

This invention discloses a flash file system management method, which comprises the following steps: to divide the flash memory into FAT area and data memory area; to establish the space mapping form and to write the data block of each file into the block; to write the new file ID, block number, file researching number into the record; then to orderly write each data block into the spare block and to write each data block number into relative positions of the space mapping form; only to operate the file data memory area when updating file data; to identify the place of the data to be read when reading the data for searching the data block.

Description

technical field [0001] The invention relates to a flash memory (FLASH) file system, in particular to a method for managing a stored file system by using a FAT (file allocation table) table area. Background technique [0002] FLASH memory is a new type of non-volatile semiconductor memory gradually developed in the late 1980s. It combines the advantages of simple structure and high density of EPROM in the past and the electrical erasability of EEPROM in the system to achieve high density, low cost and high reliability. At present, more and more storage products use FLASH as a storage medium in order to reduce costs. However, FLASH has unique requirements in read and write operations. It can only be written from "1" to "0", and cannot be written in reverse. If you want to rewrite, you must first erase in units of sectors, and the life of the erased sectors is also limited. Restricted, the number of erases generally allowed is about 100,000 times. [0003] In order to ensure...

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/00G11C16/02
Inventor 叶青孙旭阮征傅宇晨李治国
Owner DATANG MICROELECTRONICS TECH CO 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