Protocol Auto-Adapted Communication Technology
- Author
- LuHongWu
- Advisor
- ZhaoHengYong
- School
- Beijing University of Chemical Technology
- Major
- Applied Computer Technology
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 41
- Citations
- 0
- communication protocol
- protocol analysis
- Lexical analysis
- Parsing
- Deterministic finite automata (DFA)
Abstract
In modern industrial production , the application of the automated system has been very popular and has been widely used as a major component of the automated system of the Distributed Control System (DCS) is . Industrial automation system control device there are closed , the lack of a unified standard open interfaces . Different manufacturers provide different protocols and communication for their respective products , which resulted in in doing upper application development , had to develop a specific , dedicated communication interface . This is not only caused by the complexity and redundancy of the application , the disadvantage is that , once the underlying equipment changes , it may cause the entire application to re - write compilers . Greatly increase the burden of the maintenance and development of the program staff . Our group in the development of a series of industrial automation monitoring software and real-time systems , on the face of this problem . Therefore , the group members have carried out in-depth research on this issue . This article is on the basis of previous studies , the analysis of the results of previous studies , identify the lack of previous studies , and on this basis proposed solution ideas and solutions . In this paper, in-depth study of the basic principles of the lexical analyzer analyzes from a regular expression to non-deterministic finite automaton machine ( NFA ) , and then to determine the finite automaton machine ( DFA ) , the last generation minimized deterministic finite automata (DFA ') principles and algorithms . Analyzed the realization of the principle of automatically generated lexical analyzer automatically generated lexical analyzer (LEX) , the idea of user profiles to automatically generate a lexical analyzer . Article also study the basic principles of the parser , and automatic generation of parsers (YACC) , user profile to parse the data frame
Table of contents
Chapter 1 Introduction 11-13
Chapter II Introduction to OPC technology and control equipment protocol analysis 13-18
2.1 generation of OPC technology 13 <br / > 2.2 OPC specifications outlined 13-14
2.3 Benefits of OPC specification design system the 14-15 2.4 OPC technology applications
15
2.5 OPC summarize 15-16
2.6 control the device protocol analysis 16-18
Chapter the lexical analyzer principle and automatically generate 18-30
3.1 input subsystem 18
3.2 lexical analysis in two ways 18-20
3.3 regular expression
20 3.4 Finite Automata the finite automaton machine (DFA) 20-22
3.4.1 determine 21-22
3.4.2 uncertain finite automata machine (NFA) 22
3.5 from formal ceremony to lexical analysis program 22-26
3.5.1 automated algorithm A1 23-24
3.5.2 determine the algorithm A2 24 -26
3.5.3 minimization algorithm A3 26
3.6 build lexer automated tools - FLEX 26-30
3.6.1 Input match actions performed after 27
3.6.2 match scanner (lexical analyzer) 27-28
3.6.3 28-30 < br /> Chapter the parser principle and automatically generate 30-39
4.1 top-down analysis 30-36
4.1.1 from top to bottom heuristics with backtracking 30-31
4.1.2 LL analysis 31-36
4.2 Bottom-up analysis 36-37
4.3 parser automatically generates device-YACC 37-39
Chapter protocol adaptive data frame data extraction solutions designed 39-58
5.1 predecessors research results and insufficient 39-40
5.2 overall program design 40-41
5.3 user profile design 41-44
5.3.1 protocol formal description the the 41-43
5.3.2 user syntax rules defined 43-44
5.4 lexical analyzer generator automatically 44-52 <br / > 5.4.1 from the regular expression to the NFA the 45-46
5.4.2 from NFA to DFA 46-50
5.4.3 DFA's minimum determined based are found; 50-52
5.5 the parser automatically generated 52-54
5.5.1 script file identifier 52-53
the 5.5.2 syntax tree generator 53-54
5.6 data frame identifier 54-58
5.6.1 input subsystem design 55-57
5.6.2 syntax tree lookup and matching 57-58
Chapter VI Conclusion 58-59
Reference 59-61
Appendix 61 -62
Acknowledgements 62-63
pursue a degree during the academic catalog 63
Related dissertations
- Source Code Assessment System Research and Development
- Visual Implementation of Operational Semantics of Procedural Programming Languages
- The Design and Implementation of the DSQL Based on the Domain Data Model
- Technology of Data-Frame Processing Based on User’s Customization
- Implementation of the Parser of TTCN-3 by Parser Generator Based on the Windows System
- Research and Application of Formal Language in Report Systems
- Research on spatial data manipulation language
- Research of VHDL Compiler’s Design Techniques
- VHDL Compiling System Design Methods and Studies on the Key Techniques
- The Design and Implementation of LL(1) Action Grammar Compiler’s Automatic Constructor in Java Language
- Based on the entity 's non-circular curved surface grinding Research and Implementation of Simulation System
- A Protocol Driving Communication Technology
- OCCL Compiler for Linux
- Syntax Checking Methods of the Flight Scheduling Rules
- Reverse Demonstration of Algorithm in CAI
- Compiler technology -based automated data collection technology research
- Based on DOM / AST technical design of the C language parser
- Finite Automata-based Technology in Flight Scheduling
- Design and Implementation of A Network Access Monitoring System for User
- Design and Implementation of Open Remote Monitoring Protocol