Design and Realization of Embedded Database MySQLite and Its Application on Home Gateway
- Author
- LuJun
- Advisor
- LiuHong
- School
- Hunan Normal University
- Major
- Applied Computer Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 152
- Citations
- 1
Abstract
In the remote monitoring and supervision system of information appliances, it needs to collect and handle plenty of real-time data. In addition, storing and managing various kinds of data needs a background database to support. Because the software and hardware resources of embedded system are limited, traditional enterprise databases such as Oracle, Sybase are swollen conspicuously, which makes them difficult to take effect.Therefore, in this paper, through analyzing the main function and the actual state of current embedded database system synthetically, aiming at the concrete features of embedded devices and combining the actual applied demand in home gateway, we design a embedded database system---MySQLite in Linux, which could store, operate and manage the data of information appliances effectively. We also construct an embedded home gateway---S3C44BOX+uCLinux+MySQLite+Boa based on the database: we design hardware platform focus on embedded microprocessor S3C44BOX, cut down and transplant uCLinux as the embedded OS, apply Common Gateway Interface (CGI) theory, and use MySQLite as the data storing and managing background, to achieve the dynamic interaction among users, embedded web server, gateway application and information application by software programming. The implementation of MySQLite refers to accidence analyzer, syntax analyzer and the optimization of index mechanism and so on. The development process of the system is organized and actualized according to software project. It supports the ACID affair, SQL92 standard subset, integrated with its concrete application and the embedded OS---uCLinux, MySQLite doesn’t need unattached running engine, the program calls its relevant API function to realize the access operation directly, thereby simplifying the whole development process of the application, improving the efficiency of access records of home gateway, it can satisfy the requirement of data management of embedded remote monitoring and supervision system.
Table of contents
Chinese Abstract 3-4
Abstract 4-9
The first chapter 9-21
1.1 research background and significance 9-10
1.2 research status and progress 10-17
1.2.1 The main features of the embedded database 10-12
1.2.2 embedded database development status 12-15
1.2.3 embedded database development direction 15-17
1.3 content of this study 17-18
1.4 The paper is organized 18-21
Chapter embedded database MySQLite outline design 21-35
2.1 MySQLite system development environment 21
2.2 MySQLite system development process 21-22
2.3 MySQLite the schematic design 22-33
2.3.1 MySQLite system architecture 22-24
2.3.2 MySQLite system Syntax Description 24-30
2.3.3 MySQLite system's built-in functions 30-31
2.3.4 MySQLite system external interface 31-33
2.4 Summary 33-35
Chapter embedded database MySQLite detailed design 35-61
3.1 MySQLite system precompiler 35-44
3.1.1 MySQLite system lexical analyzer 35-37
3.1.2 MySQLite system parser 37-44
3.2 MySQLite system's virtual database engine 44-50
3.3 MySQLite Make file system design 50-54
3.3.1 Make file's contents 50-51
3.3.2 MySQLite system Makefile 51-54
3.4 MySQLite system indexing mechanism 54-60
3.4.1 indexing mechanism HT structure 54-56
3.4.2 indexing mechanism HT hash function 56-60
3.5 Summary 60-61
Chapter MySQLite the home gateway application 61-85
4.1 home gateway based MySQLite overall design 61-65
4.1.1 home gateway overall design 61-64
4.1.2 home gateway service process 64-65
4.2 home gateway hardware platform to build 65-66
4.3 home gateway software platform to build 66-71
4.3.1 uCLinux embedded operating system migration 66-70
4.3.2 embedded database MySQLite transplant 70
4.3.3 Embedded WEB server Boa realization 70-71
4.4 MySQLite data table generation and classification 71-79
4.4.1 Information Appliance Interface Definition Language IAIDL Overview 71-74
4.4.2 MySQLite information table in the generation of appliances 74-76
4.4.3 MySQLite appliance information table in the classification 76-79
4.5 home gateway based MySQLite program design 79-83
4.6 Chapter Summary 83-85
Chapter Summary 85-87
References 87-91
Thanks 91-93
appendix a master's papers published during 93-94
Related dissertations
- Research and Design of Embedded Database in Home Gateway
- The home gateway based on embedded database design and implementation
- The Design of Embedded Gateway Based Embedded WEB of IAIDL
- Embedded Home Gateway Investigation and Designation
- Architecture Research of Information Appliance
- The Research and Realization of the Home Gateway based on the Embedded Technology
- Hierarchical Network Routing Implementation in Family Gateway
- The Design and Implementation of Police Corps Command Cooperation System
- The Design of Cinema Ticketing System by Mobile Terminal on Android
- Design and Implementation of Smartappliance Control System
- Design of Agricultural Products Logistics Information Collecting System Based on WinCE and SQLite3
- Design and Implementation of Information Appliance Remote Control System Based on IPv6
- Smart Home Control System Based on Embedded Technology
- The Design and Implementation of Embedded Smart Home Gateway
- The Design and Realization of Wireless System of Smart Home
- The Research of Intelligent Home Appliances and Remote Monitoring System Based on Wince
- Design of Embedded Wireless Intelligent Home Gateway Based on ARM9
- Design and Implementation of6LoWPAN Node Service Management System Based on Home Gateway
- The Home Network Manager Design and Implementation
- Research and Implementation of Intelligent Home Gateway Based on Triple Play