Font Size: a A A

Design And Implementation Of Measurement And Control System’s Network Protocol Based On DSL

Posted on:2016-04-09Degree:MasterType:Thesis
Country:ChinaCandidate:Y C LongFull Text:PDF
GTID:2308330461459231Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
With the continuous development of distributed measurement and control system, the range of its product’s requirements and application are growing. In the process of developing a distributed measurement and control system, it is commonly to design a new network protocol ac ccording to different requirements. But today it is hard to meet requirements of software productivity with using common method to desi gn network protocol.We study the research work of analysis and design of the network protocol based on domain specific language and formal description method.In the first part of this thesis, the background, significance and overview on present research situation is introduced.We study on method of analysis and design of the network protocol.We present domain specific language’s definition, design mode and implemention method.Design method based on domain specific language of network protocl is researched.In this thesis we present a MSP protocol layer between transport layer and application layer.We develop a domain specific language named MDSL based on communications model of distributed measurement and control system a nd finite state machine. We present MDSL’s complete syntax rules. The protocols designed by MDSL are worked at MSP protocol layer. MSP protocol layer is above UDP layer, MDSL protocol layer provide reliability to UDP’s data transmission.The design of MDSL consists of lexical rules, syntax rule, semantic analysis and so on. We present MDSL interpreter to interpret MDSL code.MDSL interpreter include lexer, parser and so on.We can use MDSL to describe network protocol and the script file will be executed by interpreter. Finally, we will get network protocol’s APIs. It is of great benefit to us to call these APIs in the process of of developing a distributed measurement and control system. The new APIs can replace the socket function. We can use these APIs to write network communication program.The experimental results show that it is beneficial for network protocol’s designing, maintaining, changing and updating to use MDSL to design network protocol. Using MDSL to design network protocol can realize software reuse, improve the universality of measurement and control system software and improve development efficiency. The research results of this thesis has certain engineering application value.
Keywords/Search Tags:domain specific language, measurement and control system, network protocol, interpreter
PDF Full Text Request
Related items