[go: up one dir, main page]

CN1822230A - Method for realizing memory file system based on NAND Flash - Google Patents

Method for realizing memory file system based on NAND Flash Download PDF

Info

Publication number
CN1822230A
CN1822230A CN 200610049678 CN200610049678A CN1822230A CN 1822230 A CN1822230 A CN 1822230A CN 200610049678 CN200610049678 CN 200610049678 CN 200610049678 A CN200610049678 A CN 200610049678A CN 1822230 A CN1822230 A CN 1822230A
Authority
CN
China
Prior art keywords
file system
data
flash
block
flash file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200610049678
Other languages
Chinese (zh)
Other versions
CN100501868C (en
Inventor
陈天洲
胡威
王祥生
谢斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CNB2006100496784A priority Critical patent/CN100501868C/en
Publication of CN1822230A publication Critical patent/CN1822230A/en
Application granted granted Critical
Publication of CN100501868C publication Critical patent/CN100501868C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明公开了一种基于NAND Flash存储器文件系统的实现方法。它是建立NAND Flash存储器文件系统控制块索引,利用索引进行链表化区块分配和链表化垃圾数据收回,并以猝发式输入输出进行数据读写,使用垃圾区块回收机制来回收那些不再包含有效数据的块。该文件系统能够显著的减少装载时间,进行低功耗快速读写,对大文件的读写性能特出,均匀擦写存贮空间,可以实现对区块的高效管理,空间利用效率高。该文件系统可有效的管理大容量NAND Flash存储器,并实现快速启动,适用于各种大容量移动数据存储和多媒体设备。

Figure 200610049678

The invention discloses a method for realizing a file system based on a NAND Flash memory. It establishes the NAND Flash memory file system control block index, uses the index to allocate linked list blocks and recover linked list garbage data, and reads and writes data with burst input and output, and uses the garbage block recovery mechanism to recover those that are no longer included. A block of valid data. The file system can significantly reduce the loading time, perform fast reading and writing with low power consumption, and has excellent read and write performance for large files, evenly erases and writes the storage space, can realize efficient management of blocks, and has high space utilization efficiency. The file system can effectively manage large-capacity NAND Flash memory and realize fast startup, which is suitable for various large-capacity mobile data storage and multimedia devices.

Figure 200610049678

Description

基于NAND Flash存储器文件系统的实现方法Implementation method of file system based on NAND Flash memory

技术领域technical field

本发明涉及嵌入式系统文件系统领域,尤其涉及一种基于NAND Flash存储器文件系统的实现方法。The invention relates to the field of embedded system file systems, in particular to a method for realizing a file system based on NAND Flash memory.

背景技术Background technique

Flash存储器是近年来发展迅速的一种存储器,属于非易失性内存。它具有EEPROM电擦除的特点,还具有低功耗、密度高、体积小、可靠性高、可擦除、可重写、可重复编程等优点。Flash存储器也有一些不足,这包括有限擦写,而且任何Flash器件进行写入操作前必须先执行擦除。Flash存贮器主要有NAND和NOR两类。NAND Flash以块为单位读写,执行擦除操作十分简单;而NOR则以字节为单位读写,要求在进行擦除前,先要将目标块内所有的位都写为0。擦除NOR器件时是以64~128KB的块进行的,执行一个写入/擦除操作的时间为1~5s;擦除NAND器件是以8~32KB的块进行的,执行相同的操作最多只需要4ms。执行擦除时,块尺寸的不同近一步拉大了NOR和NAND之间的性能差距。因此,要讲传统的文件系统应用于Flash存储器,必须进行改进。一般而言,都是通过FTL实现的,但使用FTL需要支付专利费用。Flash memory is a kind of memory that has developed rapidly in recent years and belongs to non-volatile memory. It has the characteristics of EEPROM electrical erasability, and also has the advantages of low power consumption, high density, small size, high reliability, erasable, rewritable, and reprogrammable. Flash memory also has some disadvantages, including limited erasing and writing, and any Flash device must perform erasing before writing. There are mainly two types of Flash memory, NAND and NOR. NAND Flash reads and writes in units of blocks, and it is very simple to perform erasing operations; while NOR reads and writes in units of bytes, requiring all bits in the target block to be written to 0 before erasing. When erasing NOR devices, it is performed in blocks of 64-128KB, and the time to perform a write/erase operation is 1-5s; when erasing NAND devices, it is performed in blocks of 8-32KB. It takes 4ms. When erasing is performed, the difference in block size further widens the performance gap between NOR and NAND. Therefore, to say that the traditional file system is applied to Flash memory, it must be improved. Generally speaking, it is realized through FTL, but the use of FTL requires payment of patent fees.

目前,基本Flash存储器的文件系统使用较多的是JFFS2和YAFFS。JFFS2和YAFFS启动是需要扫描整个存储区间以寻找索引节点和文件控制块,对于一个容量很大的存贮器,存在着装载时间过长的问题;两者对内存的消耗也都比较大。At present, JFFS2 and YAFFS are mostly used as the file system of the basic Flash memory. JFFS2 and YAFFS startup needs to scan the whole storage interval to find index nodes and file control blocks. For a large storage capacity, there is a problem that the loading time is too long; both of them consume a lot of memory.

发明内容Contents of the invention

本发明的目的在于提供一种基于NAND Flash存储器文件系统的实现方法。The object of the present invention is to provide a kind of realization method based on NAND Flash storage file system.

本发明解决其技术问题采用的技术方案如下:The technical scheme that the present invention solves its technical problem adopts is as follows:

1)Flash文件系统装载1) Flash file system loading

Flash文件系统的装载由Flash文件系统控制块FlashFSCB的引导开始,从FlashFSCB数据区间找到最新FlashFSCB,进行文件系统的装载,初始化文件系统数据,启动垃圾清理内核线程,从而完成初始化工作;The loading of the Flash file system is started by the booting of the Flash file system control block FlashFSCB, the latest FlashFSCB is found from the FlashFSCB data interval, the file system is loaded, the file system data is initialized, and the garbage cleaning kernel thread is started to complete the initialization work;

2)Flash文件系统块分配和关联数据集结2) Flash file system block allocation and associated data collection

Flash文件系统使用一种将关联的数据,即同一个文件的内容组成的多个块,The Flash file system uses a method that associates data, that is, multiple blocks of content from the same file,

集结到同一个单独擦除单元内的一段连续的区域中的空间分配策略;Space allocation strategies grouped into a contiguous region within a single unit of erase;

3)Flash文件系统垃圾区块回收3) Flash file system garbage block recovery

Flash文件系统垃圾区块回收从一个预擦除单元内拷贝所有的有效数据块到另一个新的被称为转移单元的擦除单元,然后更新块映射表再擦除这个废旧的预擦除单元;Flash file system garbage block collection copies all valid data blocks from a pre-erase unit to another new erase unit called a transfer unit, then updates the block mapping table and then erases the obsolete pre-erase unit ;

4)Flash文件系统错误恢复4) Flash file system error recovery

Flash文件系统使用“先写后擦”的方法来进行错误恢复,当更新Flash一个扇区的数据时,只有在更新操作完成并且新存储的数据校验成功后,先前的数据才会被允许擦掉,如果操作成功新扇区的数据有效,否则老扇区的数据有效。The Flash file system uses the "write first, then erase" method for error recovery. When updating the data of a sector of Flash, the previous data will only be allowed to be erased after the update operation is completed and the newly stored data is verified successfully. If the operation is successful, the data in the new sector is valid, otherwise the data in the old sector is valid.

本发明与背景技术相比,具有的有益的效果是:Compared with the background technology, the present invention has the beneficial effects that:

本发明是一种基于NAND Flash存储器文件系统的实现,其主要功能是通过在NAND Flash区间开始区域建立文件系统控制块FlashFSCB索引,提高文件系统装载速度;对空闲区块和脏数据区块链表化管理,并调度内核线程进行垃圾清理,实现对存贮区间的均匀擦写;实现了猝发式输入输出,降低了功耗。该文件系统可有效的管理大容量NAND Flash存储器,并实现快速启动,适用于各种大容量移动数据存储和多媒体嵌入式设备。The present invention is a kind of realization based on NAND Flash memory file system, and its main function is to improve file system loading speed by establishing file system control block FlashFSCB index in the beginning area of NAND Flash interval; Manage and schedule kernel threads for garbage cleaning to achieve uniform erasing and writing of storage areas; realize burst input and output, and reduce power consumption. The file system can effectively manage large-capacity NAND Flash memory and realize fast startup, which is suitable for various large-capacity mobile data storage and multimedia embedded devices.

(1)加快Flash文件系统装载速度。本发明在NAND Flash区间开始区域建立文件系统控制块FlashFSCB索引,通过索引区中指向超级块区间的指针,找到超级块,进行文件系统的装载、初始化,无须扫描整个Flash存储空间,速度优势明显具有一定的实时性。(1) Accelerate the loading speed of the Flash file system. The present invention establishes the FlashFSCB index of the file system control block in the beginning area of the NAND Flash interval, finds the super block through the pointer pointing to the super block interval in the index area, and performs loading and initialization of the file system without scanning the entire Flash storage space, and the speed advantage is obvious. Certain real-time.

(2)Flash文件系统的均匀擦写。Flash存储器不能无限次重复使用,本发明通过平衡使用所有的存储单元,对整个区间进行循环申请,而不让某一单元过度使用,实现了均匀擦写,延长了NAND Flash的使用寿命。(2) Uniform erasing and writing of the Flash file system. The Flash memory cannot be reused indefinitely. The present invention utilizes all the storage units in a balanced manner to apply circularly to the entire interval without allowing a certain unit to be overused, thereby achieving uniform erasing and writing, and prolonging the service life of the NAND Flash.

(3)减少内存消耗。本发明从一个小的存储窗口来访问Flash,通过集结了的关联数据可以减少调用映射物理块到该窗口的次数,加快文件继续访问速度,可以减少垃圾区块的产生,因此而减少了对内存的使用。(3) Reduce memory consumption. The present invention accesses Flash from a small storage window, and can reduce the number of calls to map physical blocks to the window through the assembled associated data, speed up the continued access of files, and reduce the generation of garbage blocks, thereby reducing memory usage. usage of.

(4)减少Flash文件系统功耗。所有的对文件数据的访问,都间接通过SRam缓冲,访问文件数据时,根据索引节点指示,将相应的页读入SRAM缓冲,然后再进行读写访问。需要修改数据时,修改页对应的SRAM缓冲页,数据回写采用延时写技术,在弃用内存缓冲页时,再写入Flash页。这种猝发式I/O访问,可以有效降低功耗。(4) Reduce the power consumption of the Flash file system. All access to file data is indirectly through the SRam buffer. When accessing file data, the corresponding page is read into the SRAM buffer according to the instruction of the index node, and then read and write access is performed. When data needs to be modified, modify the SRAM buffer page corresponding to the page. The data write-back adopts the delayed write technology. When the memory buffer page is discarded, it is written into the Flash page. This burst type I/O access can effectively reduce power consumption.

附图说明Description of drawings

图1是文件系统流程图;Figure 1 is a flow chart of the file system;

图2是文件系统初始化流程图;Fig. 2 is a flowchart of file system initialization;

图3是自由区块分配流程图;Fig. 3 is a flow chart of free block allocation;

图4是垃圾区块回收流程图;Fig. 4 is a flow chart of garbage block recovery;

图5是文件数据错误检测和恢复流程图。Fig. 5 is a flow chart of file data error detection and recovery.

具体实施方式Detailed ways

基于NAND Flash存储器文件系统的具体使用如下。The specific use of the file system based on NAND Flash memory is as follows.

1)Flash文件系统装载1) Flash file system loading

在图1中,该文件系统的实现通过文件系统初始化,读/写文件数据,数据块处理,以及垃圾回收四个部分,由于错误处理分布在整个过程当中,因此在4)Flash文件系统错误恢复中进行说明。In Figure 1, the file system is implemented through file system initialization, reading/writing file data, data block processing, and garbage collection. Since error handling is distributed throughout the process, 4) Flash file system error recovery explained in .

在图2中,Flash文件系统的装载由Flash文件系统控制块FlashFSCB的引导开始,FlashFSCB是驻留在某Flash内存区间并指示该区间上Flash文件系统的使用情况的一个数据结构,包括索引节点、目录、文件、自由区间分配和脏数据区间以及垃圾清理信息,对各种索引节点、目录、文件等文件系统数据实行而向对象的管理方法;启动垃圾收集内核线程。In Fig. 2, the loading of the Flash file system starts by the boot of the Flash file system control block FlashFSCB, and FlashFSCB is a data structure residing in a certain Flash memory interval and indicating the usage of the Flash file system on this interval, including index nodes, Directories, files, free interval allocation, dirty data intervals and garbage cleaning information, implement object-oriented management methods for various index nodes, directories, files and other file system data; start garbage collection kernel threads.

在区间开始区域构造Flash文件系统控制块索引区,里面存放指向存放FlashFSCB数据区间的指针,文件系统装载时通过比较指针Version域的大小确定有效指针,然后再通过比较FlashFSCB的Version域,从FlashFSCB数据区间找到最新FlashFSCB,进行文件系统的装载,初始化索引节点表、文件表和目录结构,启动垃圾清理内核线程,从而完成初始化工作,由于通过索引查找FlashFSCB控制块避免了传统方法中需要扫描整个区间以确定文件系统目录结构的做法,明显缩短了初始化时间。Construct the Flash file system control block index area in the interval start area, which stores pointers to the intervals storing FlashFSCB data. When the file system is loaded, the effective pointer is determined by comparing the size of the pointer Version field, and then by comparing the FlashFSCB Version field, the FlashFSCB data is obtained. Find the latest FlashFSCB in the interval, load the file system, initialize the index node table, file table and directory structure, and start the garbage cleaning kernel thread to complete the initialization work. Because the FlashFSCB control block is searched through the index to avoid the need to scan the entire interval in the traditional method. The practice of determining the directory structure of the file system significantly shortens the initialization time.

2)Flash文件系统块分配和关联数据集结2) Flash file system block allocation and associated data collection

在图3中,在出现自由区间分配请求后,首先查看当前可用区块指针定当前区块是否能满足要求,如果能够满足要求,修改当前区块指针数据信息,准许分配;如果不能满足要求,检查是否到达自由区块指针头部,如果已经到达,则启动垃圾清理线程,进行垃圾清理工作,否则,则将指针转向下一个自由区块。In Fig. 3, after the free interval allocation request appears, first check the current available block pointer to determine whether the current block can meet the requirements, if the requirements can be met, modify the current block pointer data information, and allow the allocation; if the requirements cannot be met, Check whether the head of the free block pointer has been reached, if it has arrived, start the garbage cleaning thread to perform garbage cleaning, otherwise, turn the pointer to the next free block.

Flash文件系统使用一种空间分配策略:将关联的数据,即同一个文件的内容组成的多个块,集结到同一个单独擦除单元内的一段连续的区域中,Flash文件系统尽量在同一个擦除单元内维持一个由多个物理上连续自由的块组成的存储池,如果这样连续的存储池无法实现,Flash文件系统会尽量保证池中的所有块是在同一个擦除单元内,如果连这样的情况也不可能的话,Flash文件系统会尽量把块池分配到一个拥有最多可用空间的擦除单元内,以实现均匀擦写。The Flash file system uses a space allocation strategy: the associated data, that is, multiple blocks composed of the contents of the same file, are assembled into a continuous area in the same single erasing unit, and the Flash file system is as far as possible in the same area. A storage pool consisting of multiple physically continuous free blocks is maintained in the erase unit. If such a continuous storage pool cannot be realized, the Flash file system will try to ensure that all the blocks in the pool are in the same erase unit. If Even if this is not possible, the Flash file system will try to allocate the block pool to an erase unit with the most available space to achieve even erase.

3)Flash文件系统垃圾区块回收3) Flash file system garbage block recovery

在图4中,首先Flash文件系统垃圾区块回收确定要回收的垃圾区块,判断其是否含有有效地数据,如果区块没有包含有效数据,则直接擦写区块;如果目标区块中包含了有效数据,将数据写入其它区块,,同时进行数据校验,结果正确的话,从一个预擦除单元内拷贝所有的有效数据块到另一个新的被称为转移单元的擦除单元,然后更新块映射表再擦除这个废旧的预擦除单元,这样,虽然这些数据现在已经存放在Flash存储器的其它空间,原来的块出现在外界时仍然包含了原来的数据,否则进行出错处理。最后将所有的空闲区块挂入自由区块列表。In Fig. 4, at first the garbage block recovery of the Flash file system determines the garbage block to be reclaimed, and judges whether it contains valid data, if the block does not contain valid data, then directly erase the block; if the target block contains If valid data is obtained, write data into other blocks, and perform data verification at the same time. If the result is correct, copy all valid data blocks from a pre-erased unit to another new erased unit called a transfer unit. , and then update the block mapping table and then erase the obsolete pre-erased unit. In this way, although these data are now stored in other spaces of the Flash memory, the original block still contains the original data when it appears to the outside world, otherwise the error processing will be performed . Finally, hang all free blocks into the free block list.

在Flash文件系统内部,垃圾区块回收只是在块分配算法需要的时候才会触发,块分配算法尽量保持在同一个擦除单元内有一段连续的自由块池,如果块池变得太小,块分配算法就会马上采用垃圾区块回收算法进行垃圾区块回收,然后算法就会找到并回收和下面标准最吻合的擦除单元:废块最多,擦除周期数据最少或是最静态的区域;In the Flash file system, garbage block collection is only triggered when the block allocation algorithm needs it. The block allocation algorithm tries to keep a continuous free block pool in the same erase unit. If the block pool becomes too small, The block allocation algorithm will immediately use the garbage block recovery algorithm for garbage block recovery, and then the algorithm will find and reclaim the erasure unit that best matches the following criteria: the area with the most waste blocks, the least erasure cycle data, or the most static area ;

另外,垃圾区块回收算法也会采用随机选择的处理方法,以保证回收处理能够均匀地覆盖整个存储空间,而不会由于应用程序使用数据的方式而偏差;In addition, the garbage block recycling algorithm will also use a random selection processing method to ensure that the recycling process can evenly cover the entire storage space without deviation due to the way the application uses data;

4)Flash文件系统错误恢复4) Flash file system error recovery

在图5中,在响应文件系统写请求时、垃圾区块回收期间甚至在格式化或擦除Flash时,向Flash写数据可能会出错,在这种情况下,Flash文件系统能够从错误中恢复过来。In Figure 5, writing data to Flash may go wrong when responding to a file system write request, during garbage block collection, or even when formatting or erasing Flash, in which case the Flash file system is able to recover from the error come over.

Flash文件系统使用“先写后擦”的方法,如果在操作过程中出现了错误,当更新Flash一个扇区的数据时,只有在更新操作完成并且新存储的数据校验成功后,先前的数据才会被允许擦掉,操作成功的话新扇区的数据有效,否则老扇区的数据有效,同时Flash文件系统不会把临界映射信息只放在RAM中,如果更新映射信息时遇到掉电或者Flash媒体被移除的情况,原来的映射信息依然是可用的,当电源恢复或者Flash重新连接,Flash文件系统能够使用存放在Flash上的信息来重建或校验Flash映射表的RAM驻留版本。所有的对文件数据的访问,都间接进行缓冲,访问文件数据时,根据索引节点指示,将相应的页读入SRAM缓冲,然后再进行读写访问。需要修改数据时,修改页对应的SRAM缓冲页,数据回写采用延时写技术,在找到正确数据之后,弃用内存缓冲页,写入Flash页。这种猝发式I/O访问,可以有效降低功耗。The Flash file system uses the method of "write first and then erase". If an error occurs during the operation, when updating the data of a sector of Flash, the previous data will be deleted only after the update operation is completed and the newly stored data is verified successfully. If the operation is successful, the data in the new sector is valid, otherwise the data in the old sector is valid. At the same time, the Flash file system will not only put the critical mapping information in RAM. If there is a power failure when updating the mapping information Or if the Flash media is removed, the original mapping information is still available. When the power is restored or the Flash is reconnected, the Flash file system can use the information stored on the Flash to rebuild or verify the RAM-resident version of the Flash mapping table. . All access to file data is indirectly buffered. When accessing file data, the corresponding page is read into the SRAM buffer according to the instruction of the index node, and then read and write access is performed. When the data needs to be modified, the SRAM buffer page corresponding to the modified page is modified, and the data is written back using the delayed write technology. After the correct data is found, the memory buffer page is discarded and written into the Flash page. This burst type I/O access can effectively reduce power consumption.

Claims (1)

1.一种基于NAND Flash存储器文件系统的实现方法,其特征在于:1. a kind of realization method based on NAND Flash memory file system, it is characterized in that: 1)Flash文件系统装载1) Flash file system loading Flash文件系统的装载由Flash文件系统控制块FlashFSCB的引导开始,从FlashFSCB数据区间找到最新FlashFSCB,进行文件系统的装载,初始化文件系统数据,启动垃圾清理内核线程,从而完成初始化工作;The loading of the Flash file system is started by the booting of the Flash file system control block FlashFSCB, the latest FlashFSCB is found from the FlashFSCB data interval, the file system is loaded, the file system data is initialized, and the garbage cleaning kernel thread is started to complete the initialization work; 2)Flash文件系统块分配和关联数据集结2) Flash file system block allocation and associated data collection Flash文件系统使用一种将关联的数据,即同一个文件的内容组成的多个块,集结到同一个单独擦除单元内的一段连续的区域中的空间分配策略;The Flash file system uses a space allocation strategy that aggregates associated data, that is, multiple blocks composed of the contents of the same file, into a contiguous area within a single erase unit; 3)Flash文件系统垃圾区块回收3) Flash file system garbage block recovery Flash文件系统垃圾区块回收从一个预擦除单元内拷贝所有的有效数据块到另一个新的被称为转移单元的擦除单元,然后更新块映射表再擦除这个废旧的预擦除单元;Flash file system garbage block collection copies all valid data blocks from a pre-erase unit to another new erase unit called a transfer unit, then updates the block mapping table and then erases the obsolete pre-erase unit ; 4)Flash文件系统错误恢复4) Flash file system error recovery Flash文件系统使用“先写后擦”的方法来进行错误恢复,当更新Flash一个扇区的数据时,只有在更新操作完成并且新存储的数据校验成功后,先前的数据才会被允许擦掉,如果操作成功新扇区的数据有效,否则老扇区的数据有效。The Flash file system uses the "write first, then erase" method for error recovery. When updating the data of a sector of Flash, the previous data will only be allowed to be erased after the update operation is completed and the newly stored data is verified successfully. If the operation is successful, the data in the new sector is valid, otherwise the data in the old sector is valid.
CNB2006100496784A 2006-03-02 2006-03-02 Method for realizing memory file system based on NAND Flash Expired - Fee Related CN100501868C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100496784A CN100501868C (en) 2006-03-02 2006-03-02 Method for realizing memory file system based on NAND Flash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100496784A CN100501868C (en) 2006-03-02 2006-03-02 Method for realizing memory file system based on NAND Flash

Publications (2)

Publication Number Publication Date
CN1822230A true CN1822230A (en) 2006-08-23
CN100501868C CN100501868C (en) 2009-06-17

Family

ID=36923468

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100496784A Expired - Fee Related CN100501868C (en) 2006-03-02 2006-03-02 Method for realizing memory file system based on NAND Flash

Country Status (1)

Country Link
CN (1) CN100501868C (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100449549C (en) * 2007-09-30 2009-01-07 浙江大学 Method for establishing file system on NAND Flash memory in embedded system
CN102004697A (en) * 2010-10-21 2011-04-06 北京握奇数据系统有限公司 Flash recovery method and device
CN101436431B (en) * 2007-11-14 2013-01-02 深圳市朗科科技股份有限公司 Data storage method of flash memory medium
CN102880553A (en) * 2012-09-18 2013-01-16 武汉虹信通信技术有限责任公司 Read-write method of off-chip flash file system based on micro control unit (MCU)
CN102981965A (en) * 2012-11-07 2013-03-20 江苏乐买到网络科技有限公司 NAND FLASH file system
CN103577574A (en) * 2013-11-05 2014-02-12 中船重工(武汉)凌久电子有限责任公司 High-reliability linear file system based on nand flash
CN103593219A (en) * 2013-11-27 2014-02-19 中国航空工业集团公司第六三一研究所 Method for rapidly starting high-reliability file system for NAND FLASH device
CN104778099A (en) * 2015-04-16 2015-07-15 北京工业大学 YAFFS2 broken file reconstructing method based on history version
CN108874298A (en) * 2017-05-15 2018-11-23 深圳市奇辉电气有限公司 A kind of method and device of data storage
CN109086001A (en) * 2018-06-26 2018-12-25 郑州云海信息技术有限公司 A kind of NAND Flash rubbish recovering method and system
CN110471764A (en) * 2019-08-01 2019-11-19 郑州阿帕斯科技有限公司 A kind of processing method and processing device of memory cleaning
CN113094107A (en) * 2021-03-18 2021-07-09 深圳市道通智能汽车有限公司 Data protection method, device, equipment and computer storage medium
CN113849459A (en) * 2021-09-23 2021-12-28 北京百汇安科技有限公司 An Embedded Security File Management System
CN114840450A (en) * 2022-07-04 2022-08-02 荣耀终端有限公司 Storage space arrangement method and electronic equipment
CN115202577A (en) * 2022-06-23 2022-10-18 齐鲁工业大学 Parameter storage method and system for automobile electronic parts
CN115328922A (en) * 2022-10-10 2022-11-11 北京紫光芯能科技有限公司 Data management method, device and system for one-way linked list
CN120848813A (en) * 2025-09-23 2025-10-28 深圳鼎智通讯股份有限公司 A method for implementing an embedded file system based on SPI Flash

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100449549C (en) * 2007-09-30 2009-01-07 浙江大学 Method for establishing file system on NAND Flash memory in embedded system
CN101436431B (en) * 2007-11-14 2013-01-02 深圳市朗科科技股份有限公司 Data storage method of flash memory medium
CN102004697A (en) * 2010-10-21 2011-04-06 北京握奇数据系统有限公司 Flash recovery method and device
CN102004697B (en) * 2010-10-21 2012-09-19 北京握奇数据系统有限公司 Flash recovery method and device
CN102880553A (en) * 2012-09-18 2013-01-16 武汉虹信通信技术有限责任公司 Read-write method of off-chip flash file system based on micro control unit (MCU)
CN102880553B (en) * 2012-09-18 2015-09-16 武汉虹信通信技术有限责任公司 The reading/writing method of the outer FLASH file system of a kind of sheet based on MCU
CN102981965A (en) * 2012-11-07 2013-03-20 江苏乐买到网络科技有限公司 NAND FLASH file system
CN103577574B (en) * 2013-11-05 2017-02-08 中船重工(武汉)凌久电子有限责任公司 High-reliability linear file system based on nand flash
CN103577574A (en) * 2013-11-05 2014-02-12 中船重工(武汉)凌久电子有限责任公司 High-reliability linear file system based on nand flash
CN103593219A (en) * 2013-11-27 2014-02-19 中国航空工业集团公司第六三一研究所 Method for rapidly starting high-reliability file system for NAND FLASH device
CN103593219B (en) * 2013-11-27 2016-08-17 中国航空工业集团公司第六三一研究所 A kind of quick start method of the highly reliable file system for NAND FLASH device
CN104778099B (en) * 2015-04-16 2017-09-22 北京工业大学 A kind of damaged file reconstructing methods of the YAFFS2 based on old version
CN104778099A (en) * 2015-04-16 2015-07-15 北京工业大学 YAFFS2 broken file reconstructing method based on history version
CN108874298A (en) * 2017-05-15 2018-11-23 深圳市奇辉电气有限公司 A kind of method and device of data storage
CN108874298B (en) * 2017-05-15 2021-08-03 深圳市奇辉电气有限公司 Data storage method and device
CN109086001A (en) * 2018-06-26 2018-12-25 郑州云海信息技术有限公司 A kind of NAND Flash rubbish recovering method and system
CN110471764A (en) * 2019-08-01 2019-11-19 郑州阿帕斯科技有限公司 A kind of processing method and processing device of memory cleaning
CN113094107B (en) * 2021-03-18 2023-12-22 深圳市塞防科技有限公司 Data protection method, device, equipment and computer storage medium
CN113094107A (en) * 2021-03-18 2021-07-09 深圳市道通智能汽车有限公司 Data protection method, device, equipment and computer storage medium
CN113849459A (en) * 2021-09-23 2021-12-28 北京百汇安科技有限公司 An Embedded Security File Management System
CN115202577A (en) * 2022-06-23 2022-10-18 齐鲁工业大学 Parameter storage method and system for automobile electronic parts
CN114840450B (en) * 2022-07-04 2022-11-18 荣耀终端有限公司 Storage space arrangement method and electronic equipment
CN114840450A (en) * 2022-07-04 2022-08-02 荣耀终端有限公司 Storage space arrangement method and electronic equipment
US12293078B2 (en) 2022-07-04 2025-05-06 Honor Device Co., Ltd. Storage space organization method and electronic device
CN115328922A (en) * 2022-10-10 2022-11-11 北京紫光芯能科技有限公司 Data management method, device and system for one-way linked list
CN115328922B (en) * 2022-10-10 2022-12-30 北京紫光芯能科技有限公司 Data management method, device and system for one-way linked list
CN120848813A (en) * 2025-09-23 2025-10-28 深圳鼎智通讯股份有限公司 A method for implementing an embedded file system based on SPI Flash

Also Published As

Publication number Publication date
CN100501868C (en) 2009-06-17

Similar Documents

Publication Publication Date Title
US8667213B2 (en) Flash management techniques
JP4362549B1 (en) Gradual garbage collection
US9134918B2 (en) Physical compression of data with flat or systematic pattern
CN1300803C (en) Method for driving remapping in flash memory and its flash memory system structure
US6571326B2 (en) Space allocation for data in a nonvolatile memory
CN1223945C (en) Improved flash file system
TWI551989B (en) Method for managing a flash storage system
US8612719B2 (en) Methods for optimizing data movement in solid state devices
CN100501868C (en) Method for realizing memory file system based on NAND Flash
US8635399B2 (en) Reducing a number of close operations on open blocks in a flash memory
US20070016721A1 (en) Flash file system power-up by using sequential sector allocation
US20060168392A1 (en) Flash memory file system
US20080120488A1 (en) Apparatus and method of managing nonvolatile memory
US20110161560A1 (en) Erase command caching to improve erase performance on flash memory
CN1389790A (en) Flash storage management method
US20090327837A1 (en) NAND error management
CN1658171A (en) Faster writes to non-volatile memory by controlling frequently accessed sectors
WO2007066720A1 (en) Nonvolatile memory device, method of writing data, and method of reading out data
US20080162787A1 (en) System for block relinking
Ko et al. A new linux swap system for flash memory storage devices
KR101077901B1 (en) Apparatus and method for managing flash memory using log block unit mapping technique
CN1311327C (en) Method for restoring administrative data records of a memory that can be erased in blocks
US20080162612A1 (en) Method for block relinking
CN1228716C (en) Non-volatile memory access system and access method thereof
Lee et al. RMSS: an efficient recovery management scheme on NAND flash memory based solid state disk

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090617

Termination date: 20120302