天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當前位置:主頁 > 科技論文 > 軟件論文 >

基于RTAI的協(xié)議解析器的設計與實現(xiàn)

發(fā)布時間:2019-05-23 23:09
【摘要】:實時設備管控系統(tǒng)是將實時操作系統(tǒng)應用到設備監(jiān)控和故障診斷中,實現(xiàn)實時管控、設備信息的可視化與永久化處理。協(xié)議解析器是系統(tǒng)的主要功能模塊,通過實時通信完成數(shù)據(jù)交互,提取有效數(shù)據(jù)并計算處理。由于系統(tǒng)對實時性要求極高,本文通過對RTAI及Linux的性能測試,最終選用基于RTAI實時環(huán)境實現(xiàn)異構協(xié)議的解析。本文利用已有協(xié)議解析技術,結合相關的協(xié)議標準,設計可擴展的協(xié)議解析器,實現(xiàn)異構協(xié)議實時解析:使用具有擴展性的XML文檔描述協(xié)議格式與內容,降低協(xié)議具體內容與解析代碼的耦合度;設計Schema驗證文檔,對協(xié)議內容進行約束;設計解析子模版的處理方式,協(xié)議變化時,根據(jù)配置文件重新組合模版進行解析;通過RTAI編程接口及多線程處理,實現(xiàn)異構協(xié)議實時解析。協(xié)議解析器關鍵點包含以下幾方面:1.協(xié)議解析實時性。設備管控系統(tǒng)決定了對實時處理的需求,因此要合理設計協(xié)議的處理方式,同時基于RTAI實時環(huán)境進行開發(fā),以達到協(xié)議實時解析;2.實時數(shù)據(jù)通信。數(shù)據(jù)通信為設備管控系統(tǒng)的基本功能,本課題中使用UDP協(xié)議實現(xiàn)數(shù)據(jù)傳輸,使用RTnet實現(xiàn)實時通信;3.協(xié)議解析可擴展性。由于設備種類繁多,通信協(xié)議多樣,必須設計可擴展方式降低對異構協(xié)議處理的代碼修改代價。通過設計模式、組件設計等相關軟件技術的學習應用,實現(xiàn)協(xié)議解析器,達到可擴展、易維護等目標,通過RTAI實時環(huán)境及RTnet實時通信保證系統(tǒng)實時性。系統(tǒng)測試表明:通過協(xié)議的XML描述、RTAI實時保障、解析子模版協(xié)議處理、多線程等方式的應用,協(xié)議解析器能夠高效、實時地解析異構協(xié)議報文,獲得可靠的解析結果,并且在修改或新增異構協(xié)議時,通過修改配置文件即可自動匹配解析子模版進行解析。
[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

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/kejilunwen/ruanjiangongchenglunwen/2484319.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權申明:資料由用戶e3cc5***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com