Design and Implementation of Universally Configurable Serial Protocol Parser
- Author
- ZhangYuGuo
- Advisor
- MaJianFeng , XieHongBing
- School
- Xi'an University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 18
- Citations
- 0
Abstract
With the acceleration of urbanization , urban rail transit construction rapid development . For information exchange , resource sharing , and to protect the subway efficient , safe operation , subway comprehensive monitoring system has been widely used . Subway integrated monitoring system is an integrated professional subsystem or equipment distributed integration system , extensive use of serial communication interface layer to achieve interoperability between the main control system , subsystem or device . Subsystems and equipment from different manufacturers , the communication protocol types are numerous different projects can not be universal interface to achieve a lot of work . This paper analyzes the problems and shortcomings of the subway integrated monitoring system , subsystems and equipment access , and briefly describes the configuration software and serial communication technology , went on the the FEP data acquisition and control platform for the analysis and research , by then based on object-oriented software design thinking , a universal message format abstract description of methods and a state machine configuration , based on the the message configuration session configuration , workers Universal Serial protocol parser object configuration , the state transition table configuration of the serial protocol adaptation . Finally, the combination of CDT agreement , Universal Serial protocol parser test , and the test results were analyzed , the following conclusions the : Universal serial protocol parsers basically achieve the design objectives and protocol conversion .
Table of contents
Summary 3-4
Abstract 4-7
Chapter 1 Introduction 7-11
1.1 Overview
1.2 subject background 7-8
1.3 topics sense research content and chapters 8-9
1.4 9-11
Chapter 2 configuration software and communication technology 11-19
2.1 configuration software Overview 11
2.2 configuration software appear 11
2.3 configuration software main features nbsp 11-12
2.4 commonly used means of communication; the 12-16 the 2.4.1 serial communication
12-15
2.4.2 Ethernet communications the 15-16 2.4.3 board communication
16
2.5 serial bus link conflict handling 16-19
Chapter 3 Data acquisition control platform and drive the development of 19-25
3.1 FEP data acquisition control platform 19-20
software 3.1.1 FEP duties 19-20 < br /> 3.1.2 FEP software system structure 20
3.2-driven development to achieve research the 3.2.1-driven development model 20-25
20-21 < br /> 3.2.2 interface driver types 21-22
3.2.3-driven scheduling management 22-25
Chapter 4 generic configurable serial protocol parsers of design 25-43
4.1 design ideas and methods 25-27
4.1.1 object-oriented software design thinking 25-26
4.1 .2 thread pool technology 26-27
the 4.1.3 the Xml technical applications 27
4.2 software overall structure described 27-28
the 4.3 protocol parser system constitutes 28-29
4.4 state machine design 29-33
the 4.4.1 event defined 30-31
4.4. 2 system status 31
4.4.3 action library the 31-32
4.4.4 State Transition Table 32-33
4.5 serial packets format defined 33-37
4.5.1 packet structure definition to control relations 33-37
4.5.2 uplink and downlink packet 37
4.6 the data exchange 37-38
4.7 algorithm functions 38-39
4.8 configuration interface 39-43
4.8.1 communication packet configuration the the 39-40
4.8.2 control action configuration , 40-41
4.8.3 state transition table configuration 41-43
5 Chapter generic configurable serial protocol parser implementation 43-71
5.1 configuration management and initialization are found; the 43-46
5.2 session and packet achieve 46-48
5.2.1 session 46-47
5.2.2 message. Packet Manager 47-48
5.2.3 message initialization sequence diagram 48
5.3 message elements to achieve 48-57
5.3.1 packet elements auxiliary features 50-51 <br / > 5.3.2 managed packet elements 51-52
5.3.3 fixed length packets element 52-54
5.3.4 Variable message element attributes 54-57
5.4 workers object implementations the 5.4.1 codec 57-60
the 5.4.2 port operator 57
57-59
5.4.3 Calculator 59
5.4.4 event generator 59
5.4.5 Timer 59-60 < br /> 5.4.6 workers assistant 60
5.5 state machine implementations 60-67
5.5.1 the state conversion table 62-65
5.5.2 elements of the state transition table 65
the 5.5.3 state transition table activities 65-66
5.5.4 remote processing 66 -67
5.6 Universal Serial driver running processes 67-71
5.6.1 configuration files are found; 67
5.6.2 driver initialization process 67-69
5.6.3 driver normal operation process 69
the the 5.6.4 driver exit process 69-71
Chapter 6 test and results analysis 71-75
6.1 configuration data 71-73
6.2 Analysis of 73-75
Conclusion 75-77
Acknowledgements 77-79
Reference 79-81
Related dissertations
- Research on the Economic Capital Management of A Commercial Bank
- The transformation and upgrading of enterprises in the human resources allocation of -YT twelve. Analysis of five human resource planning
- Calderon Technique Based Integral Equation Methods in Computational Electromagnetics
- Research on Surface Defects Visual Inspection System for Metal Components
- A Tension Control Technique and System for JLB Winding
- Design and Realization of Distributed Control System Based on Industrial Ethernet
- The Design for the Lower Part of Railway Rescue Crane Control System Based on SHCAN2000System
- The Design and Implementation oF Process Control Functions of DCS
- Configuration Synthesis and Perforance Analysis of a6-dof Master Robot
- Modeling and Extracting of ROI in Visual Inspection of Industrial Products
- Research on the Deployment of ERP Financial Management System for Construction Machinery Industry
- Design of supervisory control configuration software based on XML document
- 32Channel,16Bit,Current-input AD Converter
- A Study on the Educational Resources and Opportunities of Party Members in Rural Areas
- From the Unique to the Universal
- A Arrangement and Research about the Inscriptions on Bronze of Jin System
- The County General Hospital of Chongqing Health Human Resource Allocation
- Design and Implementation of DC-DC Converter Batch Universal Test System
- The Optimization of Dosage Control System in Water Plants
- Studies on the Conception and the Methodology of Aldo Van Eyck