基于RTAI的協(xié)議解析器的設計與實現(xiàn)
[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 王永娜;趙奎;王鴻亮;王俊霖;;針對異構協(xié)議的動態(tài)解析器模型[J];計算機系統(tǒng)應用;2017年01期
2 倪興旺;;基于XML的異構數(shù)據(jù)交換研究與實現(xiàn)[J];石家莊學院學報;2014年03期
3 王小可;;基于RTAI的實時LINUX分析與實現(xiàn)[J];計算機光盤軟件與應用;2013年12期
4 董永吉;郭云飛;黃萬偉;夏軍波;;一種新的高速報文解析結構研究[J];電子與信息學報;2013年05期
5 宋康;商巍;任振興;;基于Xenomai及RTnet的PMU數(shù)據(jù)集中器的實現(xiàn)方案[J];電腦知識與技術;2013年08期
6 姜岸;;基于Linux的實時操作系統(tǒng)的研究[J];電子世界;2012年13期
7 張靜;宋珂;章桐;;基于Linux系統(tǒng)的內核編譯及實時RTAI架構[J];佳木斯大學學報(自然科學版);2012年01期
8 關鴻耀;劉榕;;IEC104規(guī)約在水電廠遠動通訊中的應用[J];小水電;2011年01期
9 郭艷艷;吳揚揚;;一種基于XML Schema的XML索引[J];華僑大學學報(自然科學版);2011年01期
10 趙旭;夏靖波;;基于RTAI的Linux系統(tǒng)實時性研究與改進[J];計算機工程;2010年14期
相關碩士學位論文 前7條
1 吳振亞;Linux實時調度研究及改進[D];西安電子科技大學;2014年
2 沈濤;Linux內核實時性以及網(wǎng)絡實時性的研究[D];南京郵電大學;2013年
3 路林;即時通信協(xié)議的特征與通聯(lián)關系分析[D];解放軍信息工程大學;2012年
4 孫悅敏;網(wǎng)絡協(xié)議分析方法的研究[D];西安電子科技大學;2011年
5 李偉;強實時RTAI在ARM9處理器的實現(xiàn)及性能研究[D];西南交通大學;2010年
6 周東;廣域監(jiān)控系統(tǒng)中協(xié)議解析器的設計與實現(xiàn)[D];南京理工大學;2010年
7 鄭金爽;基于RTAI的嵌入式實時Linux的研究及實現(xiàn)[D];吉林大學;2010年
,本文編號:2484319
本文鏈接:http://www.sikaile.net/kejilunwen/ruanjiangongchenglunwen/2484319.html