基于RTAI的协议解析器的设计与实现
[Abstract]:Real-time equipment control system is to apply real-time operating system to device monitoring and fault diagnosis to realize real-time management and control, visualization and permanent processing of equipment information. Protocol resolver is the main function module of the system. Through real-time communication, the data exchange is completed, the effective data is extracted and processed. Due to the high real-time requirements of the system, this paper through the performance test of RTAI and Linux, and finally chooses the real-time environment based on RTAI to realize the analysis of heterogeneous protocols. In this paper, an extensible protocol resolver is designed by using the existing protocol parsing technology and related protocol standards to realize the real-time parsing of heterogeneous protocols: using extensible XML documents to describe the format and content of the protocol. Reduce the coupling degree between the specific content of the protocol and the parsing code; The Schema verification document is designed to constrain the protocol content, and the processing mode of the sub-template is designed and analyzed. When the protocol changes, the template is recombined according to the configuration file for parsing. Through RTAI programming interface and multi-thread processing, the real-time analysis of heterogeneous protocols is realized. The key points of the protocol resolver include the following aspects: 1. Real-time protocol analysis. The equipment management and control system determines the requirement of real-time processing, so it is necessary to design the processing mode of the protocol reasonably and develop it based on RTAI real-time environment to achieve the real-time analysis of the protocol. Real-time data communication. Data communication is the basic function of equipment control and control system. In this paper, UDP protocol is used to realize data transmission and RTnet is used to realize real-time communication. Protocol resolution extensibility. Because of the variety of devices and communication protocols, extensible methods must be designed to reduce the code modification cost of heterogeneous protocols. Through the learning and application of design pattern, component design and other related software technologies, the protocol resolver is realized to achieve the goals of scalability and easy maintenance. the real-time performance of the system is guaranteed by RTAI real-time environment and RTnet real-time communication. The system test shows that through the application of XML description, RTAI real-time guarantee, analytical subtemplate protocol processing, multithreading and so on, the protocol resolver can analyze heterogeneous protocol messages efficiently and in real time, and obtain reliable parsing results. When modifying or adding heterogeneous protocols, the resolution subtemplate can be automatically matched by modifying the configuration file.
【学位授予单位】:中国科学院大学(中国科学院沈阳计算技术研究所)
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP311.52
【参考文献】
相关期刊论文 前10条
1 王永娜;赵奎;王鸿亮;王俊霖;;针对异构协议的动态解析器模型[J];计算机系统应用;2017年01期
2 倪兴旺;;基于XML的异构数据交换研究与实现[J];石家庄学院学报;2014年03期
3 王小可;;基于RTAI的实时LINUX分析与实现[J];计算机光盘软件与应用;2013年12期
4 董永吉;郭云飞;黄万伟;夏军波;;一种新的高速报文解析结构研究[J];电子与信息学报;2013年05期
5 宋康;商巍;任振兴;;基于Xenomai及RTnet的PMU数据集中器的实现方案[J];电脑知识与技术;2013年08期
6 姜岸;;基于Linux的实时操作系统的研究[J];电子世界;2012年13期
7 张静;宋珂;章桐;;基于Linux系统的内核编译及实时RTAI架构[J];佳木斯大学学报(自然科学版);2012年01期
8 关鸿耀;刘榕;;IEC104规约在水电厂远动通讯中的应用[J];小水电;2011年01期
9 郭艳艳;吴扬扬;;一种基于XML Schema的XML索引[J];华侨大学学报(自然科学版);2011年01期
10 赵旭;夏靖波;;基于RTAI的Linux系统实时性研究与改进[J];计算机工程;2010年14期
相关硕士学位论文 前7条
1 吴振亚;Linux实时调度研究及改进[D];西安电子科技大学;2014年
2 沈涛;Linux内核实时性以及网络实时性的研究[D];南京邮电大学;2013年
3 路林;即时通信协议的特征与通联关系分析[D];解放军信息工程大学;2012年
4 孙悦敏;网络协议分析方法的研究[D];西安电子科技大学;2011年
5 李伟;强实时RTAI在ARM9处理器的实现及性能研究[D];西南交通大学;2010年
6 周东;广域监控系统中协议解析器的设计与实现[D];南京理工大学;2010年
7 郑金爽;基于RTAI的嵌入式实时Linux的研究及实现[D];吉林大学;2010年
,本文编号:2484319
本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/2484319.html