Distributed database and network communication mechanism of the test and test system
- Author
- LiuLiYue
- Advisor
- DiZhengJun
- School
- Northwestern Polytechnical University
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 124
- Citations
- 1
- The Distributed test and test system
- LabWindows / CVI
- Data conversion
- Real - time memory database
- Temporal consistency
Abstract
The complexity and the continuous improvement of the degree of modernization of military products, making its design, development and maintenance of increasingly relies on state-of-the-art test and test means. The rapid development of computer network technology, database technology and distributed computing theory are maturing, and provide good conditions for the study of advanced distributed cooperative integrated virtual test and test technology (IVEMT). The combined the COSTIND \Thesis work in a system of distributed test and test network environment data acquisition, data processing, data storage and network data transmission process for clues around the data stream to a study. Taking into account the Lab Windows / CVI has support for real-time communications capabilities of the underlying hardware of the test and the test system, the ability of real-time control and strong data processing and analysis capabilities, this paper using Lab Windows / CVI development of real-time data collection of the measured object, data processing , data display and data files are stored and called VC environment Lab Windows / CVI Development Module. Paper a detailed analysis and comparison of several common database interface programming, taking into account the MFC ODBC database interface feature-rich, the operation is relatively simple, in-depth analysis of the MFC ODBC access to the database mechanism of the diversity of data formats for distributed test and test system, using MFC ODBC development and realization of the process of file data and ODBC source database to a target database. Real-time nature and timing of consistency is an important symbol of the distributed database performance test and test system, the paper in-depth analysis of the constrained system real-time factors and the advantages of memory as the storage medium, to meet the real-time system with openness, reference to the real-time distributed database design thinking memory database with SQL Server 2000 combined test and test system; timing consistency of performance for both absolute timing consistency and relative timing consistency, combined with its own characteristics of the test and the test system, with priority to solve the absolute timing and resolve the relative timing consistency with the data view. Time synchronization is faced with the thorny problem of large-scale distributed test and test system, conduct in-depth research papers on time synchronization technology, consider the system scalability and synchronization accuracy requirements, reference to solve the system time synchronization the NTP protocol software synchronization algorithm and its elaborate analysis. Theoretical analysis and programming results show that the Lab Windows / CVI as a test control software development tools, real-time testing, system control performance is greatly improved; MFC ODBC extremely easy to achieve specific data format for data conversion; memory directly find address the way real-time memory database is to solve the system real the ideal solution; the priority system characteristics and data view can be a good solution to the problem of system timing consistency; the NTP protocol software synchronization algorithm basically meet the requirements of the system synchronization accuracy.
Table of contents
The first chapter 9-13
1.1 thesis research background and purpose
1.2 research status 9-10 10-11
1.3 The main research content the 11-12
1.4 papers organizational structures 12-13
LabWindows / CVI to achieve the monitoring and control software development 13-26
2.1 LabWindows / CVI and its application to the measurement and control system 13-17
2.1.1 LabWindows / CVI characteristics nbsp the; 13-14
2.1. The general structure of 2 LabWindows / CVI program nbsp 14-15
2.1.3 LabWindows / CVI development of measurement and control applications process; 15-16
2.1.4 LabWindows / CVI event-driven 16-17
2.2 LabWindows / CVI and data acquisition card interface 17-19
the 2.2.1 direct operating port address 17-18
2.2.2 DDE way data exchange 18
2.2.3 Activex automation technology to obtain data 18-19
2.3 monitoring and control program instance LabWindows / CVI development 19 -23
2.3.1 PCL-818 card About 19
2.3.2 application software design 19-21
2.3.2.1 PCL-818 card panel design 19-20
2.3.2.2 Event driver 20
2.3.2.3 acquisition card drivers are found; the 2.3.3 applications running 20-21
21-23
2.4 LabWindows / CVI development interface between the module and VC achieve the 23-25 ??2.4.1 object code files and static library
23
2.4.2 dynamic link library 23-24
2.4.3 VC call LabWindos / CVI development DLL 24-25
2.5 LabWindows / CVI applications released 25
2.6 Chapter Summary 25-26
Chapter distributed test and test system data conversion software design and implementation 26-45
3.1 is common several database interface technology 26-29
3.1.1 Open Database Connection (ODBC API) 26-27
3.1.2 MFC the ODBC class the MFC DAO (Data Access Objects) programming nbsp 27
3.1.3; 27-28
3.1.4 an OLE DB
3.1.5 Activex on the 28th Data objects (ADO) 28-29
3.2 MFC ODBC database access method and its VC mechanism the 29-31 3.2.1 ODBC database access structure
29 -30
3.2.2 VC database application structure 30-31
the 3.2.2.1 data source with the record set 30
3.2.2.2 view record set 30-31
3.3 MFC ODBC database custom file conversion process 31-34
3.3.1 file into ACESS database process 31-34 <br / > the 3.3.1.1 file into ACESS database design steps the 31-32
3.3.1.2 file conversion ACESS database process 32-34
3.3.2 files into the ACESS database instance nbsp 34
3.4 the MFC ODBC achieve source database import target database; 34-42
the 3.4.1 ODBC source database conversion process of ACESS database 35-36
the 3.4.1.1 ODBC source databases transformation ACESS database design steps 35
3.4.1.2 ODBC source database transformation the ACESS database processes 35-36
3.4.2 database conversion nbsp critical solve two issues; 36-40
3.4.2.1 using VC and the ODBC technology for heterogeneous database structure information 37-38
3.4.2.2 database data types matching problem 38-40
3.4.3 ODBC source database conversion the ACESS database instance 40-42
3.5 SQL Server database characteristics and the DTS Data Transformation Services 42 - 43
3.5.1 SQL Server 2000 database characteristics 42
3.5.2 SQL Server Data Transformation Services 42-43
3.5.2.1 Data Transformation Services DTS function 42-43
3.5.2.2 DTS package working mechanism 43
3.5.2.3 DTS package to import / export the wizard data conversion process 43 <br / > 3.6 data conversion characteristics of its analysis 43-44
3.7 Chapter Summary 44-45
Chapter database real-time data and time consistency and system time synchronization technology Research 45-60
4.1 Distributed Database Real 45-50
4.1.1 test and test system database requirements 45-46
4.1 .1.1 real-time database 45-46
4.1.1.2 Distributed database 46
4.1.2 tried and tested system distributed database design thinking 46-47
4.1.3 test and test system distributed database design 47
4.1.4 system solutions to achieve some of the key technology 47-49
4.1.4.1 real-time memory database storage strategy 47-48
4.1.4.2 Real-time memory database physical organization 48
4.1.4.3 Packing instructions concerning the external interface of the real-time memory database 48 <br / 49
4.1.5 System design features of the program> 4.1.4.4 Real-time memory database with SQL Server 2000 database integration 48-49
4.1.4.5 Real-time memory database communication 49-50
4.1.5.1 set abroad the advantages of the two types of real-time database in one 49
to 4.1.5.2 set of virtual shared memory middleware memory database functionality in one 49-50
4.2 distributed database data and time consistency 50-55
4.2.1 consistency of data and time (temporal consistency) requirements 50-51
4.2.2 Real-time data and timing consistency definition the 51-52 4.2.3 priority-based scheduling algorithm to solve the absolute consistency of timing issues
52-53
4.2.4 based on data consistency of the view to resolve the relative timing 53-55
4.2.5 Timing analysis consistency solution 55
4.3 distribution test and test system clock synchronization technology 55-59
4.3.1 system synchronization requirements 55
4.3.2 synchronization levels, time standards and external synchronization clock source 55-57
4.3.2.1 synchronization level 55-56
4.3.2.2 synchronization time standards 56
4.3.2.3 external synchronization clock sources are found; 56-57
4.3.3 system time synchronization program 57
4.3.4 system software synchronization algorithm analysis the 57-59 4.4 Chapter Summary
59-60
Chapter Summary and Outlook 60-62
Acknowledgements to References 62-63
63-64
Related dissertations
- Microcomputer-controled Precision AC High-Voltage Power
- Video Copy Detection Based on the Expression of Spatiotemporal Information
- The Anthropometric Data Based on Three Dimensional Clothing Structural Design Applied Research
- The Study of Effectiveness Audit and Conversion Method on ERP Standard Output Data
- USB-CAN Data Conversion Research and the Application in the Explosive-handling Robot
- A Study on Automatic Image and Video Annotation
- Research on Stereo Matching and View Synthesis for Natural3DTV System
- Research and Implementation of Heterogeneous Data Conversion System Based on XML
- Enterprise service bus and its application in integration of transit trust system
- The Design and Implementation of the Management Systems in Bank-Financed Projects Based on Data Conversion
- Research on Data Integration and Conversion Based on Spring Frame
- Research and Implementation the Technology of Processing PCB Data in Automatic Test System
- Research and Application on Conversion and Retrieval Methods of XML for Crop Pests Data
- Research and Application Of Building Information Modelling Based on Spatial Structure
- Research on Indoor Airship Control System Based on AP10
- The Technical Study of Fourier Transform Imaging Spectrometer Data Process
- Three-dimensional GIS Transmission Line Management System
- Research on Geometric Approximation Problems in Curves and Surfaces Modeling
- The Research of Middleware Technology Based on XML in Object Web Computing Environment
- Study on Train Carrying Malfunction Diagnosis Expert System of Electric Locomotive