Research and Implementation of an embedded database management system
- Author
- WangMingWen
- Advisor
- XiongGuangZe , ChenJingChun
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 314
- Citations
- 10
Abstract
Embedded database management system is only in recent years developed a new data management technology, and traditional database management technology, combined with the specific characteristics of the embedded environment, realize the mobile and embedded devices data convenient, unified management. In the study of the subject, designed and implemented a local running relational embedded database management system based EDB (Base Database), to achieve unified management of data on a PDA (Personal Digital Assistant). For example, for personal information management system on the PDA, with the EDB, the ability to easily manage including the user everyday use to business, private information, such as business cards, notepad, calendar, itinerary planning, data index, sort, merge operations. EDB system to take a modular and hierarchical design approach can be divided according to the level of operations specific interface processing layer (Interface Layer), the database engine layer the (Engine Layer), the data access layer (Access Layer) database maintenance layer ( Service Layer) and the data storage layer (Store Layer). System in addition to the general relational database management system has table create table delete table record insert, delete, modify and query functions, but also has a tiny kernel, system size, cut, cross-platform, good robustness and flexible application programming interface. This paper introduces the the EDB system design thinking and achieve results, specific content is divided into six chapters to describe: The first chapter is the introduction, mainly to discuss the applications in embedded devices embedded database management system to store and manage the necessity of the data; embedded database management system features;, and an overview of the current status quo of the research and development in the field of embedded database. The second chapter an overview of the the EDB system, main content, including the overall needs of the system, the operating environment, development environment, the location of the system module in the environment of large software systems, and system development process. The third chapter describes the overall design of the system. Mainly include system architecture design, system call system up and down dependent system calls work space organization of the system, and the system supports data types. The fourth chapter, detailing the system design process. Includes the various tables in the system file storage format, the introduction of the data structure of the core of the system, the system some important macro definitions introduced, and with a larger space in the system are described in some of the basic algorithm of the API (Application Program Interface) process. The fifth chapter of the important system supplement, including consideration of system efficiency, system robustness. Chapter VI is a summary of text. The summary of the the EDB system status, characteristics, and pointed out that the system needs to be further development in the future. Finally, associated with the system in some meaningful Appendix.
Table of contents
Chapter Introduction 9-14
1.1 Why do we need an embedded database management system to 9-10 1.2 embedded database management system is characterized by
10-11 < br /> 1.3 embedded database management system design challenges faced 11-12
1.4 current development status at home and abroad 12-13
1.5 source of this topic and thesis arrangements 13-14
Chapter II EDB System Overview 14-17
the 2.1 the EDB of the system overall demand 14
2.2 EDB system development environment nbsp operating environment; 14-15
2.3 EDB system 15
2.4 EDB position in the overall system architecture 15-16
2.5 EDB system development process 16-17 of
EDB Chapter system overall design the demand analysis
3.1 17-25 17
3.2 system supports data types 17-18
3.3 EDB provides system calls 18-19
3.3.1 system-level call 18
3.3.2 table-level calls 18-19
3.3.3 query-level calls the maintenance level call 19
3.3.4 19
3.4 system architecture design 19-21 < br /> 3.5 system working directory organization and file naming rules 21-22
the relationship between the various tables 3.6 system 22-24
3.7 The system uses an external call 24-25
3.7.1 core of the system call interface the 3.7.2 system storage layer 24
call interface 24-25
Chapter EDB detailed system design 25-52
4.1 system table file organization structure 25-26
4.1.1 dictionary table file storage format 25 <br / > 4.1.2 basic the Table file storage format 25-26
4.1.3 index table file storage format 26
the 4.1.4 results set file storage format 26 that
the system 4.2's core data structure 26-30
relations between the 4.3 kernel data structures 30-31
4.4 for system configuration macros defined 31-32
4.5 external data type macro defines 32
4.6 within the system part of the macro definition 32
4.7 external data structures 32-33
4.8 EDB system API designed the 33-52
4.8.1 database system initialization 34
4.8.2 database system shutdown 34-35
4.8.3 create a basic table to delete 35-37
4.8.4 Basic Table 37-38
4.8. 5 Insert the record 38-40
4.8.6 delete records 40-42
4.8.7 modify records 42-44
4.8.8 Find record 44-45
4.8.9 backward in the result set pointer 45-47
4.8.10 result set the current record of the specified column value 47-48 the
4.8.11 basic tables debris finishing 48-50
4.8.12 basic table backup 50-52
Chapter points of the system description 52-66
5.1 to multi-task considering 52
5.2 system efficiency considerations 52-57
5.2.1 EDB, buffer use characteristics the 52-54 5.2.2
the EDB data structure characteristics 54-55
5.2.3 EDB algorithm selection and design 55-56
5.2.4 About defragmentation 56
5.2.5 index table is automatically maintained 56-57
5.3 on system robustness considerations 57-59
5.4 description of the process and the results of system testing 59-62
the 5.4.1 static test 60
5.4.2 Functional Test 60
5.4.3 the robustness test the 60-61
5.4.4 Performance Test nbsp 61-62
5.5 system resources occupancy; 62-63
5.6 EDB application Example 63-66
Chapter VI summarize the 66-69
6.1 system status quo 66
6.2 system features 66 -67
6.3 need to further explore issues and the direction of development of the system 67-69
Reference 69-70
Acknowledgements 70-71 < br /> Appendix 1 System data type redefinition table 71-72
Appendix 2 system API list 72-75 EFS
Appendix 3 system uses the file system API list 75
Related dissertations
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- The Remote Wireless Control System Based on ARM Processor
- The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
- Engine Room Monitoring System Based on the Embedded Web Server
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Design of Indoor Environmental Quality Monitoring System Based on ARM
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
- 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
- Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
- Design and Implementation of Video Capture System Based on Embedded Technology
- Research of Surface Roughness Network Data Collector System Based on ARM
- The Design and Implementation of Gateway and Client of Embedded Smart Home System
- The Embedded Industrial Control Module Based on iCAN Protocol
- A Design of Embedded Motion Controller for4-axis Industrial Robot
- Study on Function Modules of the Mobile Robots in Sudden Accident
- Research on Embedded Control System for Palletizing Robot