Design and implementation of Linux-based smartphone software
- Author
- CuiZuo
- Advisor
- LuXianLiang
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 577
- Citations
- 7
Abstract
The high-end smart phones based on the Linux platform Cellon International C8000 phone platform projects. The reason for using the Linux operating system is to reduce the cost of production of the smart phone. Linux developers up the biggest feature is fundamentally open source, thereby greatly reducing costs. The Linux operating system, and there are also some disadvantages. Development on the Linux platform, the industry needs more powerful software. Design capacity, security, real-time performance, power management Linux smartphone operating natural defects. This project uses Trolltech designed as an application platform based on mobile Linux devices designed Qtopia software development foundation, Qtopia software with a high degree of portability and can be trimmed to adapt to different hardware conditions and usage requirements. The smartphone hardware development platform chosen Intel XScale core PXA270-based high-performance embedded processors, clocked at up to 624MHz, support wireless multimedia instruction set extensions (Wireless MMX) allow PXA270 lower clock frequency to achieve enhanced multimedia performance, while the processor reference to Intel's SpeedStep technology to extend battery life. Linux-based smart phones for more than cooperative development, this paper will focus on the of the work done. Mainly includes two aspects: first, phonebook system library modules; Second, the the phonebook application layer module Design and Implementation. System library part in the phone book, first introduced smartphones database needs, then introduced the system embedded database library Berkeley DB and Berkeley DB database operations, data management, data is stored and used system. Then introduced the Berkeley DB system structure, function interface and DB environment configuration. Focuses on Berkeley DB in this project platform porting, Berkeley DB smartphone phonebook various functions, as well as the phonebook library core data structure. Modules section in the phone book, first introduced the phonebook module with phonebook library part interactive relationship, and then details the user can operate the various functions realization that the realization of the graphical user interface in this module is the core part introduce several key technologies used in this module, inter-process communication mechanism, event filtering technology, multi-language mechanism, debugging mechanism. The last part of the paper through the test instructions to use Berkeley DB as the underlying database Qtopia platform as embedded GUI phonebook module to achieve the functionality and performance requirements.
Table of contents
Abstract 4-5
ABSTRACT 5-11
Introduction 11-14
1.1 Project background and significance 11 - 12
1.2 project objectives 12-13
1.3 chapters arranged 13-14
Chapter II system overall framework of analysis 14-24
2.1 hardware development platform the 2.1.1 phone processor nbsp 14-15
; 14
2.1.2 Communication module 14
2.1.3 Other peripherals 14
2.1.4 platform design 14-15
1.4 operating system 15-24
2.2.1 LINUX Overview 15-20
2.2.1.1 process scheduling the SCHED 15-17
2.2.1.2 Memory Management MM 17-18
2.2.1.3 interprocess communication 18-19
2.2.1.4 the network interfaces NET 19
2.2.1.5 virtual file system VirtualFileSystem in VFS 19-20
2.2.2 key technology 20-24
2.2.2.1 Quick Start 20-21
2.2.2.2 XIP, technology 21-22
2.2.2.3 Power Management 22-24
Chapter embedded graphical user interface QTOPIA 24-41
3.1 QTOPIA platform the 24-25
3.2 QT main features 25-27
3.2.1 full QT the 25-26 3.2.2 cross-platform QT ??
26
3.2.3 simple QT 26-27
3.2.4 robust and high performance of the QT 27
QT 3.2.5 open 27
3.3 QT technology 27-37
3.3.1 Signals and Slots technology the 27-32
3.3.1.1 signal 28-29
3.3.1.2 slot 29-30
3.3.1.3 signals and slots associated 30-31
3.3.1.4 Meta Object tool 31-32
3.3.2 events and event filter is 32-37
3.3.2.1 Qt event 32-33
3.3.2.2 event generation 33
3.3.2.3 event scheduling 33-34
3.3.2.4 incident distributing and processing 34-36
3.3.2.5 event forwarding 36-37
3.4 transplantation QTOPIA PDA to the development board 37-40
3.4.1 download software 37
3.4.2 install TMAKE 37-38
3.4.3 installed E2FSPROGS 38
3.4.4 decompression QTOPIA 38
the 3.4.5 compiler QT / EMBEDDED the 38-39 of
3.4.6 compiler QT/X11 39-40
3.4.7 compiler QTOPI the 3.5 key technology 40
40-41
Chapter Building phonebook database 41-64
4.1 smart phone in the database needs analysis the 41-42
4.2 embedded database analysis and comparison 42-47
embedded database 4.2.1 Overview 42-43
4.2.2 embedded database BERKELEY DB SQLITE database operations the 43-44
4.2.3 embedded database BERKELEY DB and SQLITE data management methods 44 -46
4.2.4 embedded database BERKELEY DB and SQLITE data stored 46-47
4.2.5 embedded database BERKELEY DB and SQLITE applicable to system 47
4.3 Berkeley DB database to using 47-55
4.3.1 BERKELEY DB main reason 47-48
4.3.2 BERKELEY DB system architecture 48 -50
4.3.2.1 Berkeley DB underlying architecture 48
4.3.2.2 Berkeley DB subsystems 48-50
4.3.3 BERKELEY, DB provided function interface 50-54
4.3.3.1 keywords and data 50-51
4.3.3.2 object handle 51-52
4.3.3.3 error 52
4.3.3.4 application of a uniform programming interface 52-54
4.3.4 BERKELEY DB environment 54-55
4.4 the Berkeley DB transplantation 55-56
4.5 Berkeley DB smartphone phonebook the the 56-62 4.5.1
phonebook capacity queries 56-57
4.5.2 stored phonebook records 57-58
4.5.3 Copy / mobile phonebook records 58-59
4.5.4 delete phonebook records 59-60
4.5.5 record query the 60-61
4.5.6 other modules API 61
4.5.7 phonebook sort 61-62
4.6 the phonebook Library core data structure defined nbsp the the phonebook record structures 62-63
4.6.1; 62-63
4.6.2 phone book store state structure 63
4.7 key technology 63-64
Chapter phonebook Design and Implementation 64-80
5.1 phonebook the Phonebook database relations 64-65
5.1.1 phonebook capacity 64
5.1.2 user record structure 64-65
5.1 .3 functional modules 65
5.2 phonebook function module the 65-69 5.2.1 query module
65-66
5.2.2 Status Query 66-67
5.2.2.1 Capacity queries 66-67
5.2.2.2 storage location 67
5.2.3 Add new number 67-68
5.2.4 phonebook management 68-69
5.2.5 group settings 69
5.3 user interface design and realization 69-70
5.3.1 Overview the 69-70
5.3.2 restore window geometry 70
5.4 data backup 70-71
5.5 key technology 71-80
5.5.1 internal process communication mechanism the 71-74
5.5.1.1 QCOP of agreement 71-73
5.5.1.2 signal - slots mechanism 73-74
5.5.2 event filtering technology the 74-76
5.5.2.1 Qevent classes 74
5.5 .2.2 install event filter 74-75
5.5.2.3 filtering, event 75-76
5.5.2.4 signal event 76
5.5. over three language mechanisms 76-78
5.5.3.1 QString 76
5.5.3.2 tr () 76-77
5.5.3.3 use QString :: arg () the the 77
5.5.3.4 translator of process the 5.5.4 debug mechanism 77-78
78-80
5.5. 4.1 command line parameters 5.5.4.2 warnings and debug messages in 78
78
5.5.4.3 debug macros 78-80
Chapter VI of the test results Analysis 80-83
6.1 the purpose of the test and the test environment 80
6.2 phonebook test and results analysis 80-83
6.2.1 Functional Test 80-83
Chapter VII Conclusion 83-85 the
Ref. 85-88
Acknowledgements 88-89 <br / > pursuing graduate during research and Awards 89-90
Related dissertations
- Design and Implementation of Portable Type-B Ultrasonic Software System Based on Embedded
- Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
- Research on Key Techniques of Clutter Graphic System Migration Based on Android
- A Study of the Lord of the Rings from the Perspective of Archetypal Criticism
- Situational memory space.
- Event-Space and the Vitality of Place
- Retrieval Method of Events in Web Pages Based on Spatio-temporal Elements
- Recognition of Temporal, Event Expressions and Their Attributes in Chinese Texts
- Research on Ontology for Supporting Chinese Sentence Deep Analysis
- A Study of Several Key Problems in Construction of Event Ontology
- Interpretation of Event Spatio-temporal and Attribute Information in Chinese Text
- Application of Embedded Database Berkeley DB in AUV Data Management
- The Design and Implementation of the Alarm System in Integrated Network Management System of Electric Vehicle Charge Stations
- Development of Visualization of Management Information
- Study and Improvement of the Streaming Media in Wireless Network Transmission Quality
- Design and Implementation of Event Processing Module in the TD-SCDMA Drive Test Software
- The Research on Subscription-Based IOT Service Modle and Service Set
- Comparative Analysis and Study of Sino-US Cheerleading Events
- From the large event security see anti-terrorism law construction in China
- Effect of Dan Loeb possession Jin events on Huarui Tibetan