Design and Implementation of FLASH File System in Set-top-box

Author
WangXue
Advisor
HaoJiuYu
School
Tianjin University
Major
Communication and Information System
Classification
TN948.55 The receiving device
Degree
Master's thesis
Year
2009
Downloads
49
Citations
1

Request the full text

Abstract

With the spread of digital TV set-top-box (STB) technology and the increase of related projects, the data storage and management becomes a crucial section in STB systems. With its nonvolatile character as well as its advantage of high density, low power consumption and shock-resistance, FLASH memory is a prevailing medium served for saving programs and user data in STB system, The concept of Log-structured file system has been brought up to accommodate the out-of-place update feature of flash memory, which solves the problem of garbage collection, bad-block management and wear leveling efficiently. The Log-structured file system accelerates file accessing, prolongs the service life of FLASH and realizes the efficient management of data and program in FLASH memory.This paper firstly introduces the physical character and classification of FLASH memory, followed by the terms regarding file system and the specific requirement for FLASH file system in STB. Based on the intensive study of the prevailing JFFS2 file system, its data structure and node organization is redefined. JFFS2 is transplanted onto OS20 operating system employed in STB and the Log-structured file system is implemented as the FLASH file system, which improves the data accessing speed and security performance. Moreover, the“Image Parser”utility is developed to scan the linked list containing index information of the multi-session image and extract its content by multiple writing. This module is designed to restore files in images and print related information on PC. It was developed in Linux and debugged using gdb tools.The improvement and transplantation of JFFS2 diminishes the shortcomings of the original file system. It satisfies the need of mass data storage, enables more extendable functions in STB and provides solutions for data management. The“Image Parser”utility is designed to extract files in STB multi-session images on PC, which facilitates the process of program debugging.

Table of contents

Chinese Abstract 3-4 ABSTRACT 4-8 first chapter 8-12 1.1 digital TV set-top boxes 8 - 10 1.1.1 broadcasting digitization process 8-9 1.1.2 STB Overview 9 1.1.3 STB development and application prospects 9-10 1.2 file system Overview 10 1.3 the main work 10-12 Chapter FLASH file system 12-33 2.1 FLASH memory 12-14 2.1.1 flash physical characteristics 12-13 2.1.2 Flash classification 13-14 < br /> 2.1.3 the system FLASH choice 14 2.2 embedded FLASH file system 14-16 2.3 flash management 16-20 <br / > 2.3.1 Flash memory management problems to be solved 16-17 2.3.2 traditional flash file system 17 2.3.3 for a flash file system 17-20 2.4 several typical flash file system 20-24 2.4.1 JFFS file system 20 2.4.2 JFFS2 file system 20-21 2.4.3 YAFFS file system 21-23 2.4.4 UBIFS file system 23 2.4.5 Cramfs file system 23-24 2.5 JFFS2 file system research 24-33 2.5.1 JFFS2 node storage format 25 2.5.2 JFFS2 node type 25 -27 2.5.3 JFFS2 mount 27-29 2.5.4 garbage collection 29-31 2.5.5 balanced wear 31 - 33 Chapter OS20 operating system and file system migration 33-47 3.1 embedded operating system 33-37 3.1.1 embedded operating system development 33-34 3.1.2 embedded operating system features 34-35 3.1.3 real-time operating system 35-37 3.2 OS20 operating system 37-43 3.2.1 OS20 features 37-38 3.2.2 OS20 kernel scheduling 38-39 3.2.3 OS20 task 39-40 3.2.4 OS20 memory and partition 40-41 3.2.5 semaphores and message queues 41 - 43 3.2.6 clock and interrupt 43 3.3 file system migration 43-47 Chapter file system application tools development 47 -69 4.1 image file 47-48 4.2 important data structure 48-53 4.2.1 file header structure 49-50 < br /> 4.2.2 file structure body 50-51 4.2.3 unknown node structure 51-52 4.2.4 erase block structure 52-53 4.3 print image file information module 53-57 4.4 restore image file module 57-67 4.4.1 the data structure of the module 58-59 4.4.2 overall Flow 59-61 4.4.3 restore the image module overall design philosophy 61-62 4.4.4 core module implementations 62-67 4.5 module test 67-69 4.5.1 print image file information module test 67-68 4.5 .2 restore the image file module test 68-69 chapter summarizes 69-70 References 70-72 Thanks 72

Related dissertations

  1. Research on the Tourism Destination Image Cognition
    GuoZuoZuo ·Shandong University ·2013 ·Master's thesis
  2. Remote Sensing Image Using in the Land Change Survey and Monitoring Applications
    ZhangHua ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  3. Identity and Image of Mainlanders in English Newspaper of Hong Kong
  4. The Analysis of the Filtering Model of Campus Network Security and Its Key Algorithm
    WeiJianGuo ·Anhui University ·2013 ·Master's thesis
  5. Design and Implementation of Classification on Content-based Image Retrieval
  6. A Research of Audio and Image Resource Management Mechanism on Virtual Desktop
  7. Research on Image Resources Intelligent Identify in Cloud Manufacturing System Based on BP ANN
  8. Design and Implementation of Vehicle Drivers Imaging System
    ZhouZhuoYan ·Xiamen University ·2014 ·Master's thesis
  9. Enjoy the visual point - regression art junior high school art teaching exploration
    LiHong ·Shandong Normal University ·2014 ·Master's thesis
  10. Research on Students, Ability of Reading Map in Geography Teaching of Junior High School
    DengJuan ·Sichuan Normal University ·2013 ·Master's thesis
  11. On the Image of Confucian Teachers in the Song Dynasty
    DuanShuJuan ·Central South University ·2012 ·Master's thesis
  12. The Study of the Image Creation of Chinese Local Governments Spokesperson
    QiaoXue ·Donghua University ·2014 ·Master's thesis
  13. The Effect of Illustration on High School Students' Eye Movements in Reading Newspapers
    LiTan ·Tianjin Normal University ·2013 ·Master's thesis
  14. On Sartre's Theory of Imagination
  15. Research on Zhong Kui
    DongYongJun ·Central Academy of Fine Arts ·2014 ·Master's thesis
  16. The formation of image - Moscow Russian eyes from the perspective of historical and cultural analysis of the image of the Moscow
  17. Aesthetical Perspective of Han Nationality Wedding Ceremony
    LianYuZuo ·Sichuan Normal University ·2013 ·Master's thesis
  18. A Study on Historical Data of Han Dynasties' Design
    LiMengYuan ·Hunan University of Technology ·2013 ·Master's thesis
  19. Analysis of the Cultural Charm of Chinese Zodiac Image in Modern Design
    LiChang ·Shenyang Normal ·2014 ·Master's thesis
  20. Designed to Promote the Image of Jinan BRT
    WangZhongWanZi ·Shandong Institute of Arts ·2014 ·Master's thesis