计算机工程 ›› 2008, Vol. 34 ›› Issue (14): 283-285.doi: 10.3969/j.issn.1000-3428.2008.14.101

• 开发研究与设计技术 • 上一篇    

一种闪存文件系统的数据恢复机制

张延园,焦 磊   

  1. (西北工业大学计算机学院,西安 710072)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-07-20 发布日期:2008-07-20

Data Recovery Mechanism for Flash File System

ZHANG Yan-yuan, JIAO Lei   

  1. (School of Computer Science, Northwestern Polytechnical University, Xi’an 710072)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-07-20 Published:2008-07-20

摘要: 基于面向大容量NAND闪存的嵌入式文件系统CFFS,结合其对芯片上数据的索引方式,在CFFS中引入引用节点和页位图等数据结构和相应算法,提出一种数据恢复机制。该机制在数据遭到破坏时将闪存文件系统恢复到一个一致的历史状态,保证芯片上数据的一致性和可用性。

关键词: 嵌入式系统, NAND闪存, 文件系统, 数据恢复

Abstract: Based on the embedded file system CFFS oriented towards high capacity NAND flash chips, and according to the approach that it indexes its data on the chip, this paper proposes a data recovery mechanism by introducing new data structures, such as indexing node and page bit map, and their corresponding algorithms to CFFS. In this mechanism, the flash file system can recover to a consistent historical state when its data is damaged so that the consistency and availability of the data are effectively guaranteed.

Key words: embedded system, NAND flash, file system, data recovery

中图分类号: