Research and Improvement of Nucleus-based Flash File System

Author
ZhangBo
Advisor
TuGang
School
Huazhong University of Science and Technology
Major
Applied Computer Technology
Classification
TP316 Operating system
Degree
Master's thesis
Year
2007
Downloads
71
Citations
0

Request the full text

Abstract

Nucleus Plus is a real-time,multi-task and easy-porting embedded operating system,whose flash-based file system is divided into two layers-FAT and FMM.This file system has the advantages of simpleness and easy-porting capability,but it also has some problems while being used.one problem is its week self-repair ability,and the file system breaks down easily when power fails,so the reliability of the file system isn’t good enough;The other is that the dirty-sectors-checking procedure takes too much time,which affect the capability of the whole file system.So,it’s necessary for us to analyse the whole file system fully and improve it suitably.Aiming at the problems of the file system of Nucleus Plus,we advance it in two views,one is the reliability,the other is the real-timing.First,we find the cause of breaking down easily when power fails by analysing the FAT table and the mechanism of FAT layer.we conclude four performances:cluster-chain cycles,cluster-chain is cited across,the actual file size is different from the value in directory entry and cluster-chain is lost,and improve them one by one.The idiographic work is that we add the function of disk-scanning without changing the whole structure of the source of FAT layer,so the file system can repair itself when error occurs.After the improvement,the source of the file system maintain its independence,so we guarantee its easy-porting capability when improving the reliability.Secondly, we conclude the cause of low efficiency of reclaim dirty sectors by analysing the writing process,erasing process and the algorithm of reclaiming dirty sectors.The cause is that the original algorithm deals with every block one by one.so,we advance and implement choosing algorithm,breaking the regular that the block must be disposed orderly.After the improvement,the real-timing of the file system enhance obviously.the improvement of real-timing still guarantees that most of the writing processes can finish before the capacitance discharges completely,so the probability of breaking down when power fails decreases,which improve the reliability of the file system indirectly.

Table of contents

Abstract 4-5 Abstract 5-9 1 Introduction 9-15 1.1 project background 9 1.2 abroad before 9-14 1.2.1 Flash file system key technology 9-11 1.2.2 Flash File System Development Overview 11-14 1.3 The main research work 14-15 2 Nucleus Plus file system analysis 15-26 2.1 overall structure 15-16 2.2 FAT layer working mechanism 16-20 2.2.1 Structure description 16-19 2.2.2 main data structure 19 2.2.3 to read and write process analysis 19-20 2.3 FMM layer working mechanism 20-25 2.3.1 block and sector division 20-23 2.3.2 global data structures 23-24 2.3.3 to read and write process analysis 24-25 2.4 Chapter Summary 25-26 3 FAT layer improvements 26-38 3.1 improvement program 26-28 3.1.1 corrupted FAT table analyzes 26-27 3.1.2 scheme proposed 27-28 3.2 main data structure 28-30 3.2.1 VOLUME_DATA structure 28-29 3.2.2 DIRENTRY structure 29-30 3.3 implementation 30-36 3.3.1 Initialization 30-31 3.3.2 cluster chain scanning 31-35 3.3.3 lost cluster chains Find 35-36 3.4 Experiments and verification 36-37 3.5 Summary 37-38 4 FMM layer improvements 38-56 4.1 improvement program 38-48 4.1.1 erase process analysis 38-39 4.1.2 Analysis of the writing process 39-42 4.1.3 dirty sectors finishing process analysis 42-44 4.1.4 Analysis Summary 44-46 4.1.5 scheme proposed 46-48 4.2 main data structure 48-49 4.3 implementation 49-52 4.3.1 erase block selection 49-51 4.3.2 free sector Find 51-52 4.3.3 Other related improvements 52 4.4 Experiments and verification 52-55 4.5 Chapter Summary 55-56 5 Conclusion 56-58 5.1 project work summary 56 5.2 Future work 56-58 Thanks 58-59 References 59-61

Related dissertations

  1. New Embedded Mobile Memory Card Standard Research and Implementation
  2. Research and Design for Filesystem Used in Embedded Environment
    YuZuoZuo ·Wuhan University of Technology ·2007 ·Master's thesis
  3. The Design and Practice of Embedded Linux File System
    WuZuo ·Suzhou University ·2003 ·Master's thesis
  4. Research and Design on File System of Flash Based on DSP Platform
    JiXiuYuan ·Tianjin University of Technology ·2007 ·Master's thesis
  5. File System Design and Optimization Based on Asix Rtos
    JiangZhongPing ·Southeast University ·2005 ·Master's thesis
  6. The Improvement and Implementation of High-Powered Linux File System Based on Larger Flash Stroage
    ChenYiFei ·Tongji University ·2007 ·Master's thesis
  7. Research on Flash Memory Driver and Management Technology
  8. Design and Implementation of Smart Data Acquisition System Based on the Bluetooth
  9. Research on Performance and Infrastructure of File System of NAND Flash
    LiuYang ·Fudan University ·2009 ·Master's thesis
  10. Research on Qualitative Characteristics of Useful Financial Information Based on Fair Value
    ZhouWei ·Hunan University ·2013 ·Master's thesis
  11. Research of Supply Chain Coordination Model from the Perspective of Customer Satisfaction
    HuWei ·Anhui University of Engineering ·2013 ·Master's thesis
  12. Reliability Based Maintenance Management Study of AB Petrochemical Co
    RenZhiYong ·Shandong University ·2013 ·Master's thesis
  13. Uncertain reliability of remanufacturing logistics network construction research environment based on
    CaoJinLong ·Wuyi University ·2013 ·Master's thesis
  14. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  15. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  16. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  17. Video Surveillance System Based on Embedded Technology Research
  18. Design of Video Monitoring System Based on the Embedded
  19. The Design of Embedded Network Video Surveillance System Based on ARM9
  20. Research and implementation of remote monitor system of ship based on the technology of the Internet of things