The Design and Implementation of Real-time Database System in Industrial Control
- Author
- LinSong
- Advisor
- WuJingDong
- School
- Fuzhou University
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 321
- Citations
- 3
- Real-time database
- concurrency control
- Real - time transaction scheduling
- Real - time data dump
- historical data
Abstract
The real-time database is the product of the combination of real-time technology with database technology, apply it to the requirements of the occasion are the functions and features of the database and real-time processing of both. In the real-time database system, data and transactions have explicit time limit for the correctness of the system depends not only on the logical result of the transaction, but also depends on the logical result of the time. Thesis in industrial process control application background, to conduct a comprehensive study of the existing real-time database technology, design and preliminary realization of a real-time database system based on the Linux operating system platform. The system uses C language development by the transaction processing module, the time control module, security module, real-time data receiver module, historical data output module, and human-computer interaction interface module also provides an application programming interface for client access . Through these modules, real-time database system to provide real-time data access services as well as real-time control, fault recovery and other basic functions at the same time have the initial capacity of human-computer interaction. The high-performance requirements of real-time database system memory database as the underlying support. Linux kernel memory management depth understanding of memory management Linux system call function to achieve real-time data memory locking storage strategy. Taken to open up the memory buffer on the real-time data backup solution for real-time data dump, to reduce the data I / O on the system efficiency. The whole system makes full use of the Linux system and efficient process scheduling mechanism, implemented a multi-process message queue to communicate between each process. The operation mechanism of the system to take periodic trigger event-driven and time combination of approaches to achieve real-time transaction efficiency, coordination and handling. Functions in human-computer interaction, through the preparation of a shell shell integrated into a real-time database system, complete control and customize the system artificially. Historical database system selected the open source MySQL database management system, provided by MySQL C API to communicate with the real-time database system, and Web development using PHP technology to achieve through the network to access the historical database. The development of the entire system to achieve full use of the powerful Linux kernel system call function well under Linux programming resources, combined with the characteristics of the real-time database technology and industrial control systems, so for better performance.
Table of contents
Chapter Introduction 7-10
1.1 research background and significance 7-8
1.2 research trends 8
1.3 This chapter arrangements 8-10
Chapter II real-time database technology 10-21
2.1 database and development 10-12
2.1.1 database generation 10
2.1.2 database technology developed in three stages 10-11
2.1.3 emergence and development of real-time database 11-12
2.2 real-time database system overview 12-14
2.2.1 traditional databases with real-time database 12-13
2.2.2 Real-time database data and transaction characteristics 13
2.2.3 Real-time database management system features 13-14
2.3 real-time database system, data management 14-18
2.3.1 Real-time data storage strategy 14-15
2.3.2 RTMMDB data loading and exchange 15-16
2.3.3 RTMMDB fault recovery 16-18
2.4 real-time database transaction processing systems 18-21
2.4.1 real-time transaction classification 18-19
2.4.2 Real-time transaction scheduling 19-21
Chapter III real-time database system design 21-49
3.1 database system design 21-27
3.1.1 Requirements Analysis 21-23
3.1.2 System Framework 23
3.1.3 system's overall analysis 23-26
3.1.4 with the overall design of the system to achieve 26-27
3.2 data storage strategy 27-29
3.2.1 Real-time data storage 27-28
3.2.2 Historical data storage 28-29
3.3 real-time database kernel module design 29-34
3.3.1 Real-time transaction processing 30-31
3.3.2 Time management 31-33
3.3.3 system security and fault recovery 33-34
3.4 application programming interface design 34-35
3.5 real-time database shell design 35-36
3.6 socket communication mechanism and network communication interface 36-42
3.6.1 socket (socket) access interface 36-38
3.6.2 socket system call 38
3.6.3 socket interface called principle 38-40
3.6.4 socket interface communication mechanism 40-41
3.6.5 network communications interface design 41-42
3.7 history database design 42-46
3.7.1 Necessity historical database 42
3.7.2 relational database selection 42-43
3.7.3 MySQL's C API introduction 43-44
3.7.4 database system with real-time data communication 44
3.7.5 relational database client development 44-46
3.8 system organization and operation mechanism 46-48
3.8.1 system concurrency to achieve 46-47
3.8.2 Linux system process activity 47
3.8.3 process synchronization problem 47-48
3.8.4 system running 48
3.9 Summary 48-49
Chapter real-time database system application examples 49-57
4.1 data model defines 49-53
4.1.1 Data Set information 49-50
4.1.2 Control Device Information 50-51
4.1.3 Process Data Information 51-52
4.1.4 Data structure design 52-53
4.2 client-server architecture implementations 53-57
Conclusion 57-59
This paper summarizes 57
areas for improvement 57-59
Thanks 59-60
References 60-63
resume, during the study period, and published research papers 63
Resume 63
papers 63
Related dissertations
- Optimization of Concurrency Control Algorithms in Real-Time Database Systems
- The Research on Concurrency Control of Secure Real-Time Database
- The Research and Design of Real Time Database Based on OPC
- Design and analysis of real-time historical database
- The Research & Implement of Real Time Database Based on OPC
- Improvements on Dynamic Adjustment of Serialization Order Algorithm
- Urban rail transit power monitoring system real-time database research
- Study of Pivotal Technologies for Real-Time Databases
- The Research of Central Integration System Software Based on OPC Protocol
- Research on Data Compression Algorithm in Real-time Database
- Reacher of Real-time Database System Based on Process Control
- The Microkernel of the Real-time Database
- Real-time historical database schema and real-time data compression algorithm design and implementation
- Research on Transaction Management Technology of Real-Time Database under Industrial Control Environment
- Memory Management Techniques and Concurrency Control Methods Based on Real-time Database
- Research on Real-time Database System and Its Application on Historical Data Station in Power Plant
- Design and Realization of the Real-Time Database Interface Based on OPC
- Calderon Technique Based Integral Equation Methods in Computational Electromagnetics
- Research and Implementation of Key Technology on Real-time Database System Called Vegebam2.1
- Interface Technology Research of DCS and Real-time Database