Study on Nand Flash File System of the On-board Data Recorder
- Author
- MengJun
- Advisor
- TangTao
- School
- Beijing Jiaotong University
- Major
- Traffic Information Engineering \u0026 Control
- Classification
- U284.48 Train operation automation
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 126
- Citations
- 2
- CBTC
- On-board Data Recorder
- nand flash
- File System
- Garbage collection
- wear leveling
- Colored Petri Nets(CPN)
- Modeling and Analysis
Abstract
With the progress of wireless communication technology, the reliability and availability of wireless communication are highly improved. Communication Based Train Control (CBTC) is the trend of urban railway traffic control system in the future.As key equipment in CBTC system, Vehicle On Board Controller (VOBC) has complicated functions and high safety requirments. Therefore, mass status information and operation logs of Vehicle On Board Controller (VOBC) are required to be recorded as the basis of debuging for the developers. In order to reduce the complexity of searching certain information, so as to facilitate fault location and fault recurrence, it is required to introduce a file system into the On-board Data Recorder for the effective data management.According to the requirement of the On-board Data Recorder, Nand Flash was adopted as the mass storage unit, and then a design of the structure and the algorithm for Nand Flash System was presented in this paper. In the file management level, based on the concept of the i-node structure and the log-structured file system, a tree structure and "write-before-erase" strategy was introduced to guarantee the rapidity of performance and the reliability of data. And in the space management level, an index structure of space managment table was proposed in order to improve the efficiency of searching and allocating some certain blocks.In the garbage collection,a dirtiest-list method was designed, which took both the high reclaim efficiency and the erasure cycles into consideration.For the uneven wearing of the flash caused by the cold data which had not been updated for a long time, a wear-leveling algorithm was implemented to move the cold data into the free block with the maximum erasure cycles and make it possible for blocks with minimal erasure cycles to go into the wear-cycle.A crash recovery mechanism was proposed to improve the data reliability, and the data recovery was implemented by judging the status flag and the recorded object number in the spare area.On the basis of the design, a formal verification method - Colored Petri Nets(CPN) was broght in to establish the model of the space allocation algorithm for the Flash file system. The "top to bottom" idea was adopted to build the top model and submodels including Write Model, Delete Model, Garbage Collection Model and Wearleveling Model. In the paper, Write Model was mainly studied, and the completeness of the model was verified by the method of state space analysis.This provided an available verification method for the whole model.Tests and analyses about the efficiency of garbage collection and effect of wear-leveling were implemented by the method of computer simulation. Through the analyses, it was founded that there was a bug in grabage colleciton mechanism. And aiming this bug, an improved method was proposed and had been tested with a better result.
Table of contents
Acknowledgements 5-6
Chinese Abstract 6-7
ABSTRACT 7-11
1 Introduction 11-21
1.1 topics of the background and significance 11-12
the
1.2 Technology status quo memory 12-14
1.3 file system to achieve Overview 14-18
1.3.1 disk file system implementations 14-16
1.3.2 Flash File System realization 16-18
1.4 formal verification methods 18-19
1.5 thesis research content and organizational structure 19-20
1.6 This chapter Summary 20-21
vehicle data logger file system design 21-48
2.1 file system structure design 21-23
2.2 file management design 23-32
2.2.1 file management 23-28
2.2.2 file and directory inquiries 28-29
2.2.3 file and directory additions and deletions 29-31
2.2.4 index series to increase or decrease 31-32
2.3 space management design 32-44
2.3.1 file system layout 32-35
2.3.2 information table management 35-39
2.3.3 idle resource allocation 39-40
2.3.4 garbage collection mechanism 40-42
2.3.5 wear balancing strategy 42-44
2.4 the abnormal recovery mechanism 44-47
2.5 This chapter Summary 47-48
the 3 space management algorithm completeness verify 48-68
3.1 Formal verification methods CPN 48-49
3.2 file system model design 49-61
3.2.1 top-level model design 49-51
3.2.2 write module 51-52
3.2.3 remove modules 52-53
3.2.4 garbage collection module 53-59
3.2.5 wear leveling module 59-60
3.2.6 adjustment module 60-61
3.3 algorithm completeness verify 61-66
3.3.1 completeness validate indicators 61-62
3.3.2 state space analysis 62-66
3.4 This chapter Summary 66-68
file system simulation test 68-85
4.1 test model design 68-72
4.1.1 file information analog 69-70
4.1.2 file system simulation 70-71
the 4.1.3 test data output 71-72
4.2 test program design 72-73
4.3 garbage collection and wear balance of performance testing and analysis 73-84
4.3.1 Data Analysis 73-74
4.3.2 graphical analysis 74-83
4.3.3 on garbage collection policy improvements 83-84
4.4 This chapter Summary 84-85
5 research Summary and Outlook 85-87
5.1 summary of the work 85-86
5.2 follow-up Outlook 86-87
the
References 87-89
the
diagram index 89-91
the
tables index 91-92
of resume The 92-94
the
Dissertation datasets 94
Related dissertations
- Research on Flash Memory Driver and Management Technology
- Research of Flash File System Based on Large Capacity NAND Flash Memory
- Research on Storage Management and Error Control Technology of Solid-state Disk
- The Application and Research of Flash File System Based on Real-Time System
- Design on Flight Control Data Recorder Based on Embedded USB Host
- Research on the Key Technologies of Digital Television System
- Modeling and Analysis of Application Software of on Board Device in CBTC with Colored Petri Nets
- Research and Application of ARTiSAN Real-time Studio in the On-board TMR System of CBTC System
- Design and Implementation of Embedded File System Based on NAND Flash
- Development of embedded data terminal platform
- The Design of NJFS: A Journaling NAND Flash System Optimized for Embedded GIS System
- The Data Exchange between NAND Flash and USB Flash Driver
- Research and Implementation of Embedded File System Based on NAND Flash
- The Design and Implementation of Power Load Management Terminal Based on NAND FLASH
- The Design of Reduced Embedded File System
- Research on the NAND Flash File System of the Embedded System
- Encryption U disk storage management Research and Implementation
- Research on Performance and Infrastructure of File System of NAND Flash
- Flash Storage System Data Management Algorithms
- Flash-based storage management database systems research