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

Method for realizing balanced erase applicable to embedded Flash file system

A technology of a file system and an implementation method, which is applied in the field of computers, can solve problems such as local unit damage and shortened service life of Flash, and achieve the effects of low overhead, small space, and saving memory space and CPU resources

Inactive Publication Date: 2009-12-23
ZHEJIANG UNIV
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, it is necessary to avoid frequent operations on the local address range as much as possible, so as not to cause early damage to local units, resulting in damage to the entire Flash and shortening the service life of the Flash.

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 realizing balanced erase applicable to embedded Flash file system
  • Method for realizing balanced erase applicable to embedded Flash file system
  • Method for realizing balanced erase applicable to embedded Flash file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Embodiment 1, a kind of balanced erasing realization method that is suitable for embedded Flash file system, it realizes that hardware platform used is as follows: what use when realizing is the Flash that the size on the HCS12 development board of Motorola company is 256KB, and this Flash divides There are 16 Pages, and the size of each Page is 16KB. In the specific implementation, we take each physical block as 512 bytes, that is, a Page includes 32 physical blocks.

[0050] as attached figure 1As shown, the Flash storage space is divided into two areas: the file control information area and the file data storage area: the file control information area is used to save the file control block (FCB) information of the file system and the file block (FB) as the basic allocation unit The allocation information of the file; the file data storage area is used to store the actual data information of the file. Generally speaking, the file control information area stores the ...

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 method for realizing balanced erase applicable to an embedded Flash file system. The method is to divide Flash memory space into a file control information region and a file data storage region, wherein, the file control information region is used for storing information of file control blocks and distribution information of file blocks as a basic distribution unit of a file system; the file data storage region is used for storing actual data information of the files; the file control information region stores the file control blocks of the file system and related control information of the file blocks, and the file data region is used for storing the actual data information of the files in the file system; the file system is to read control information of the Flash file control information region into a memory when the system is started, and write the control information of the file system in the memory into the Flash file control information region from the memory when the system is closed. Service life of Flash can be prolonged by adopting the method.

Description

technical field [0001] The invention relates to the field of computers, in particular to a data structure and an algorithm of a Flash (flash electrically erasable programmable read-only memory) file system balanced erasing mechanism in an embedded system. Background technique [0002] At present, in the embedded field, there are JFFS2 in embedded Linux and other Flash file systems for embedded systems. However, due to the complexity of the security and reliability mechanisms of these file systems, it is not suitable for some embedded systems with few storage resources. Applicable; in this case, some simplified Flash file systems have emerged. These simplified Flash file systems provide a file management method that is reasonably allocated, flexible to use, and saves storage space, but what is lacking is that it generally does not consider Flash. hardware features. [0003] Flash has a certain service life. Generally, the number of erasable times is 100,000 to 1 million time...

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
IPC IPC(8): G06F17/30G06F12/02
Inventor 杨国青李红胡琦魏城炯周霖吴朝晖
Owner ZHEJIANG UNIV
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