A Protocol Driving Communication Technology
- Author
- LiXiaoFan
- Advisor
- ZhaoHengYong
- School
- Beijing University of Chemical Technology
- Major
- Applied Computer Technology
- Classification
- TP393 Computer network
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 38
- Citations
- 0
Abstract
Computers and devices with different application-layer protocol to communicate , you need to write their own dedicated communication interface program . These communication interface structure of the program is often very similar , the biggest difference is that a different understanding and interpretation of the received data frame to the network interface . This can easily cause the entire application complexity and redundancy of the system . However, although these application layer protocols are different from each other , but they all have a similar structure , and indicates the type of command, for example , by a few bytes to several bytes indicates that the data type , another few bytes represent the data value , and so on . This makes us the formal description of these protocols . In fact , the vast majority of computer language description with this method . Lexical analysis is the first step to understand the interpretation of computer language compiler theory , lexer written in different languages ??with consistent formal description analysis the lexer automatically generated according to the formal description of the language output of such language lexical analyzer . This article is by the lexical analyzer generator automatically parsed to achieve a unified approach of the host computer and application layer protocol device communication , in accordance with its principles and ideas to explore .
Table of contents
Chapter Introduction 7-8
second chapter of the control device application layer protocol analysis 8-10
Chapter protocol guided the theoretical basis of the data extraction technology 10-26
3.1 lexical analyzer 10-12
3.2 lexical analyzer automatically generated 12-19
3.2.1 automated algorithm A1 14-15
3.2.2 Deterministic algorithm A2 15-17
3.2.3 a formal ceremony -> NFA-> DFA example 17-19 <br / > 3.3 automatically generated lexical analyzer 's a realization Flex (Fast Lex) 19-26
3.3.1 regular expression syntax 20-21
3.3.2 input match 21-22
3.3.3 Actions to be performed after the match 22
3.3.4 generated scanner ( lexical analyzer ) 22-23
3.3.5 start condition 23-24
3.3.6 an example of the input file Flex 24-26
Chapter IV solution design 26-45
4.1 CENTUM SGW1240 controller communication protocol description 26-28
4.2 driver table automatically constructs the realization 28-39
4.2.1 agreements formal Description 28-35
4.2.2 driver table automatically constructs the realization 35-39
4.2.2.1 Flex compiler lexical analyzer source code 36-37
4.2.2.2 scan NexLex.txt generated lexical analyzer source code 37
4.2.2.3 constructor automatically generates a driving table dynamic link library 37-39 <br / > 4.3 data frame recognizer achieve 39-45
4.3.1 send commands 40-43
4.3.2 Receive Data 43
4.3.3 process Data 43
4.3.4 working Process 43-44
4.3.5 simulation environment to achieve 44-45
fifth Zhang concluded 45-47
References 47-49
Appendix 49-55
Thanks 55
published papers 55
Related dissertations
- Technology of Data-Frame Processing Based on User’s Customization
- Protocol Auto-Adapted Communication Technology
- Design and Implementation of A Network Access Monitoring System for User
- Design and Implementation of Open Remote Monitoring Protocol
- Research and Design on Intrusion Detection Methods for Industry Control System
- Research and Application of BP Neural Network Optimization Based on Improved Ant Colony Algorithm
- Design and Implementation of Trojan Detection System Based on Network Transmission Content
- Research and Implement of Ipman XP Software Based on WinPcap
- Research and Application of Network Monitor
- The Research and Implementation of Distributed Intrusion Detection System Based on Libnids
- Design and Optimization of Deep Packet Inspection System in Multicore Environment
- Design and Implementation of Monitoring System of Instant Messaging Based on Protocol Buffer
- Based on Protocol Analysis of Network Security Audit System Design and Implementation
- The Automatic Marking Method of Script
- Matrix Model for Strand Space Theory
- The Name of Shanxi Wheaten Food and Cultural
- Design and implementation of network service quality monitoring system based on C/S structure
- The Hardware Design of64-channel Bus Analyzer Module
- The Software Design of64Channels Bus Analyzer Mosule
- Research and Implementation of Automatic Generation of Configuration Information of IPv6Based Campus Network