Android customization and optimization of digital TV platform based on
- Author
- GuoJia
- Advisor
- LeiHang
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 146
- Citations
- 0
- Android
- fast boot technology
- yaffs2file system
- procedure of scanning filesystem partition
- File System Consistency
- file system updating
Abstract
A great success has been acquired by android since it entered the mobile terminalmarket. As a new platform with features of exploitability, free and convenient toolsoffered to application developers, Android operating system is now being applied todigital TV and tablet pc fields. Android os was designed for mobile platform. Itscomplicated software stack architecture can yield great return for hardware and supplyrich software services. These advantages also delay the boot-up time of android devicesbeing sold on the market up to an average of35s. In order to use android os on digitalTV platform, manufactures have to customize android os according to their hardwarefeatures and optimize the boot-up time of android devices.To make android os fit for digital TV platform, this paper studied androidarchitecture, boot-up procedure of android os, the registration of android native servicesand android services and analyzed part of the android os core services in detail. On thatbase, this paper customized android os according to the application requirements ofdigital TV by pruning unnecessary android services including native services andandroid services. Running results of customized android os proved that operatingsystem performed well and the boot-up time, usages of memory and flash disk havebeen decreased accordingly. The customized android os can support accessing ofnetwork and installation of game apks in the on-line market.In order to meet the boot-up time requirement of digital TV, this paper studied theframework of Linux power management and came up with a scheme of android fastboot, which stores boot-up system state of android os to an I/O device and directlyrestores system state from the storage device when booting up next time. Results ofboot-up experiment show that android fast boot technology can boot up an androiddevice within10s and the boot-up time depends on the read-write speed of the I/Odevice bing used, which means boot-up time will be decreased to less than3s if moreadvanced I/O devices like SSD or devices support the USB3.0standards were used.Android fast boot technology has dramatically reduced boot-up time of androiddevices. However, it led to the file system inconsistency problem when used in practice. In order to solve the file system inconsistency problem, in the first place, this paperanalyzed the reason that led to the problem in detail, and then studied the criticalstructures as well as the scanning procedure of file system partition on NAND Flashdevice of yaffs2file system. On that base, this paper came up with a scheme of updatingandroid file system based on yaffs2, which updates file system data in memoryaccording to new states on NAND Flash partitions correspondingly after android fastboot technology restored android os state from system image stored on the storagedevice. The comparison of info of super block structures in memory before and after filesystem updating proved that this method can guarantee the file system consistency inthe android fast boot technology.
Table of contents
Summary 4-5
Abstract 5-10
first chapter 10-14
1.1 Background and Significance 10
1.2 domestic and foreign research status 10-12
1.3 content of this paper 12-13
1.4 This article hierarchy arrangement 13-14
the second chapter related theoretical foundation 14-21
2.1 Android platform Introduction 14-15
2.2 Android applications and demand for digital television in the 15-16
2.3 Android system analysis 16-20
2.3.1 Android system components 17-18
2.3.2 Android boot process 18-20 <br / > 2.4 Summary 20-21
Chapter III for digital TV Android operating system customization 21-37
3.1 Android system core service analysis 21-26
3.1.1 local Service analysis 21-25
3.1.2 Android service analysis 25-26
3.2 Android for digital TV services tailoring 26-28
3.2.1 cut target 26
3.2.2 Android local service tailoring 26-27
3.2.3 Android services tailored 27 -28
3.3 tailoring the system to run and analyze 28-30
3.4 Android operating system startup optimization 30-33
3.4.1 Android optimized design starts 30
3.4.2 Android optimized start to realize 30-33
3.5 operating results and analysis 33-36
3.5.1 operating platform introduces 33-34
3.5.2 start optimizing operating results 34-36
3.6 Summary 36-37
Chapter Android file System Quick Start technology analysis of the consistency problems 37-47
4.1 Android operating system Quick Start problems of 37-38
4.2 YAFFS2 file system 38-39
4.2.1 YAFFS2 file system Introduction characteristic 38
4.2.2 YAFFS2 file system 38-39
4.3 YAFFS2 core data structure 39-42
4.3.1 YAFFS2 inode 39-40
4.3.2 YAFFS_EXT_TAGS 40
4.3.3 logic CHUNK ID and physical CHUNK ID 40 - 41
4.3.4 file TNODE TREE 41
4.3.5 YAFFS2 superblock 41-42
4.4 YAFFS2 file system partition scanning process analysis 42-46
4.4.1 pretreatment 42-43
4.4.2 reverse scanning process 43-45
4.4.3 UNLINKED and DELETED OBJECT catalog of processing 45-46
4.5 Summary 46-47
Chapter YAFFS2 of Android -based root file system updates 47-71
5.1 Android root file system update frame design 47-48
5.2 YAFFS2 superblock update modify preprocessing section 5.2.1 of 48-53
49-50 <br / > 5.2.2 data processing CHUNK 50-51
5.2.3 OBJECT HEADER CHUNK processing 51-53
5.3 memory inode update 53 -58
5.3.1 has been deleted OBJECT processing 54
5.3.2 modified OBJECT processing 54-55
5.3.3 pathname memory buffer 55-56
5.3.4 KYRESCAND kernel threads 56-58
5.4 Add file system update 58-61
5.4.1 Get YAFFS2 superblock structure pointer 58-59
5.4.2 update process execution 59-61
5.5 Android file system partition data update test 61-70 <br / > 5.5.1 update file system run test 61-63
5.5.2 new files and directories test 63-65
5.5.3 deleting files and directories test 65-67
5.5.4 rename files test 67-68
5.5.5 modify file content test 68-70
5.6 Summary 70-71
sixth chapter summary and outlook 71-73
6.1 This article summarizes 71-72
6.2 problems and deficiencies 72
6.3 job Outlook 72-73
Thanks 73-74
References 74-77
obtain a Master 's studies during the attack achievement 77-78
Related dissertations
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee
- Design and Implementation of Smart Home System Based on Android Platform
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System
- The Design and Implementation of Multi-functional Smart Home System
- Research on Intelligent Home Furnishing system based on Android
- Remote Robot Control Technology Based on Android System
- Design of Small Mobile Robot System Based on Android