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

Optimizing method for establishing FAT file systems on NAND FLASH memory

A file system and optimization method technology, applied in the protection of storage content to prevent loss, instruments, memory address/allocation/relocation, etc., can solve the impact of Flash storage, block data loss, lack of design considerations for general file system reliability, etc. problem, to achieve the effect of ensuring write balance and improving speed

Active Publication Date: 2009-05-06
ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
View PDF0 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the operating system on most embedded handheld devices adopts FAT file system now, and FAT file system is not suitable for being directly transplanted in the NAND Flash memory, and this mainly has following two reasons: the first, the application condition of embedded system is bad , the power supply voltage is unstable, sudden power failure and illegal insertion and removal will have a catastrophic impact on Flash storage; general file systems have insufficient consideration for reliability design
Second, the record information of the general file system needs to be rewritten many times (such as the FAT table), and the record information is pl

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
  • Optimizing method for establishing FAT file systems on NAND FLASH memory
  • Optimizing method for establishing FAT file systems on NAND FLASH memory
  • Optimizing method for establishing FAT file systems on NAND FLASH memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The method of the invention realizes the functions of writing equalization, bad block management and power-off processing of the NAND Flash memory on the basis of the MTD layer of linux.

[0029] Logical blocks and physical blocks adopt a one-to-many mechanism, and multiple physical blocks mapped to the same logical block are connected by a doubly linked list, such as figure 1 shown. Use the logical block node structure to record the relevant information of a logical block, such as the logical address of the logical block, the number of write times, and the maximum page address used, and use the physical block node structure to record the information of a physical block, which is mapped to the same logical block The physical block structure is connected together in the form of a double-linked list. The file system logical block number finds the NAND Flash physical block number through the address mapping linked list object.

[0030] At the same time, a fixed number of...

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 an optimization method for creating an FAT file system on an NAND Flash storage. A plurality of physical blocks which are mapped to the same logical block in the NAND Flash storage file system are represented by adopting a doubly linked list mode; wherein, the head node of the doubly linked list represents one logical block; the node of the physical block represents one physical block; a plurality of physical blocks are mapped to the same logical block; the physical block nodes corresponding to the physical blocks are linked to the nodes of the logical block so as to form the doubly linked list; a plurality of nodes of the logical block are also linked in the doubly linked list mode so as to form a two-level doubly linked list; and a data structure brokering object with the doubly linked list is created in a memory. As the plurality of physical blocks which are mapped to the same logical block in the NAND Flash storage file system are represented by adopting the doubly linked list mode, only a plurality of pages needing to be written need to be written for each write request and not all the pages of the whole block need to be written, thus improving the speed of file writing.

Description

technical field [0001] The invention relates to an optimization method for establishing a FAT file system, in particular to an optimization method for establishing a FAT file system on NANDFLASH, realizing power-down protection, load balancing, bad block management and optimized read / write speed of the FAT file system. Background technique [0002] With the continuous improvement of the manufacturing process of Nand flash memory and the continuous decline of manufacturing cost, Nand flash memory has become the mainstream storage medium in the mobile storage market. NAND Flash memory is a device with imperfect data accuracy, prone to bit inversion, and may damage cells during use. Data writing must be performed in a blank block or an erased block, and the underlying technology requires erasing in units of blocks (write "0xff" into the memory block to be erased), and then press page write. The erasing times of NAND Flash memory are limited, usually 100000 times. According t...

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): G06F12/06G06F12/16G06F17/30
Inventor 赵俊化杨健黄文赞
Owner ANYKA (GUANGZHOU) MICROELECTRONICS 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