Research on Access Mechanism and Predictability of Embedded Real-Time Database
- Author
- DongZhanYong
- Advisor
- LiuXinPing
- School
- China University of Petroleum
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 74
- Citations
- 1
Abstract
The problem of data access in real-time database of embedded system is the hot issue in embedded field. In the scene of industrial control, the embedded system for interaction is the tache connecting monitored equipment, person in scene, PC and remote database. The data from different source have characteristics themselves. For all data have same access mechanism and ignore their characteristics in traditional real-time database, the thought has been proposed that data classified by characteristics and different types use different index structure. Which index structure is adopted to furthest solve the contradiction between data capacity and index time is the key of the problem. According to in-depth analysis the difference of data update and query in different source, a method that classified the data by source has been proposed. Because the data which belong to static data field have the characteristic of big quantity and more select operations, a T-tree index structure is proposed to reduce space and save time. Because the data which belong to dynamic data field have the characteristics that operations of inserting and deleting are frequent, a structure which combines linear list and link list is proposed to reduce time complexity. Then the influence of data’s period of validity for selecting operation and the time and space capability of classified data index structure has been analyzed. For slow speed in historical data selection, the tactics of prefetching historical data into RAM which similar with the thought of cache between CPU and RAM is proposed. And then the strategy of buffer data permuting based on value function is proposed. The influence of buffer prefetching to the cost of system is analyzed.In this paper, an embedded touch screen human-machine interface (HMI) is designed using S3C2410 chip based on ARM. This equipment can be used to control multi-models PLC and data collection part. Through the test of real-time data selecting operation and historical data trend chart, the results are well agreement with the theoretical analysis, and the methodological validity is verified. This paper dwells on the design of embedded system based on S3C2410X and Windows CE. A method of character extraction and data rebuilding is described to solve the problem of data transfering between PC and embedded equipment. The detail that application in PC transplants to embedded system is summarized. It also has some instructive value for practical projects.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter Preface 9-15
1.1 subject background and significance 9
1.2 research status 9-12
of 1.2.1 embedded real-time database 9-10
1.2.2 interaction-oriented embedded system 10
1.2.3 Real-time database applications in interactive systems exist 10-11
1.2.4 Data access and buffer management Research 11-12
1.3 main contents 12-13
organizational structure
1.4 papers 13-15
the
data indexing method buffering mechanism analysis 15-26
2.1 data indexing structure analysis 15-22
2.1.1 HASH function-based access mechanism 15-16
2.1.2 query tree-based index structure 16-20
2.1.3 hybrid index structure 20-21
2.1.4 various comparative analysis of the index structure 21-22
The
the 2.2 historical data buffer mechanism 22-24
2.2.1 based on the data of the memory buffer scheduling process 22
2.2.2 memory buffer prefetch algorithms 22-24
2.3 This chapter Summary 24-26
Chapter Fenwick real-time database indexing methods 26-44
3.1 data characteristics of embedded systems interact 26-27
3.2 data Fenwick 27
3.3 data organization 27-28
3.4 static data indexing method 28-33
3.4.1 T-tree index node structure 29
3.4.2 T-tree index query operations 29-32
3.4.3 T-tree performance analysis 32-33
3.5 dynamic data indexing method 33-38
3.5.1 Linear Table doubly linked list structure 33-35
3.5.2 Dynamic Data index update operation 35
3.5.3 Dynamic Data index query operations 35-36
3.5.4 Dynamic Data valid query 36-37
3.5.5 Dynamic Data index structure performance analysis 37-38
the
evaluate the performance of the 3.6 Fenwick index 38-43
3.6.1 the amount of space occupied by contrast 38-40
3.6.2 Dynamic Data insertion and deletion operating performance compared 40-41
3.6.3 query operating performance compared 41-43
3.6.4 Overall Performance Evaluation 43
3.7 This chapter Summary 43-44
the
fourth predictability based on historical data of the memory buffer 44-53
the
the 4.1 historical data buffer structure 44-46
4.2 value function-based buffer replacement algorithm 46-48
4.3 memory buffer access cost 48-51
4.4 Performance Analysis 51-52
4.5 of this chapter Summary 52-53
Chapter ARM-based embedded touch screen interface design 53-68
5.1 embedded human-machine interface system structure 53-54
5.2 S3C2410X chip and touch screen hardware connection 54-55
5.2.1 S3C2410X introduced 54
5.2.2 LCD and touch screen part of the circuit design 54-55
5.3 data transfer method based on characteristics of recovery 55-59
5.3.1 Windows CE file system and its customization process 56-57
5.3.2 data recovery methods 57-59
5.4 PC-side applications to embedded devices end transplantation 59-60
5.4.1 ANSI character set to Unicode character set 59-60
5.4.2 rewrite library of Windows CE does not support the Win32 function 60
5.4.3 to increase the memory resource management function 60
of 5.5 embedded real-time database applications in the human-computer interface 60-67
5.5.1 memory index area organization 60-61
5.5.2 static data indexing node size determine 61-62
5.5.3 static data index test 62-63
5.5.4 Dynamic data index test 63-67
5.6 This chapter Summary 67-68
summarize 68-70
the
References 70-73
studying for a master's degree obtained during the academic achievements 73-74
Acknowledgements 74
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Calderon Technique Based Integral Equation Methods in Computational Electromagnetics
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- The Research of the Design and Application for Embedded Remote Terminal Unit
- Design and Implementation of Magnetic Card Detection System Based on Embedded System
- Design of distributed control system based on embedded platform
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- The Research of CANopen Protocol Based on Embedded Systems