Font Size: a A A

Design And Implementation Of Protocol Parser Based On RTAI

Posted on:2018-11-14Degree:MasterType:Thesis
Country:ChinaCandidate:Y N WangFull Text:PDF
GTID:2348330536966517Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Real-time equipment management is a system which needs realize real-time control and the visualization or permanent processing of equipment information,by using real-time operating system for monitoring equipment and diagnosing the trouble.Protocol parser is the main function module of the system.It realizes data real-time interaction and extracts valid data to process.Performance of RTAI and Linux has been tested,taking into account the high real-time requirements of the system.Finally RTAI real-time environment is realized to analysis heterogeneous protocols.A scalable protocol parser based on standard protocol resolution technology is designed to resolve heterogeneous protocol in this paper.Extensible XML document,which describes protocol format and content,reduces the coupling between specific content of the protocol and resolution code.Schema validation document is designed to constrain contents of the protocol.Sub-template processing is designed to analysis heterogeneous protocol according to the configuration file for sub-template matching.Real-time protocol analysis is achieved through RTAI programming interface and multi-threaded processing.Key points of the protocol parser contains are as follows:1.Real-time property of protocol parser.The equipment management system determines the need for real-time processing,so a reasonable way is designed to deal with the agreement based on RTAI development,in order to achieve real-time property.2.Real-time data communication.Data communication is the basic function of equipment control system,using UDP protocol and RTnet real-time communication.3.The scalability of protocol parser.An extensible way is designed to reduce the cost of modifying code for heterogeneous protocol processing due to wide variety of devices and diversity of communication protocols.Through the study of application design patterns,component design and other related software technology,the protocol parser achieves scalable and easy maintenance and other goals.Real-time performance of the system is satisfied by RTAI real-time environment and RTnet real-time communication.The system test proves that the designed protocol parser can efficiently analyze heterogeneous protocols in real time by using XML to describe the protocol,RTAI real-time system,and analytic sub-template processing and multi-threaded application.It also can automatically match analytic sub-template to process new protocol through the configuration file.
Keywords/Search Tags:RTAI, Real-time analysis, Real-time communication, Extensibility
PDF Full Text Request
Related items