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

當(dāng)前位置:主頁(yè) > 科技論文 > 軟件論文 >

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

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

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 王永娜;趙奎;王鴻亮;王俊霖;;針對(duì)異構(gòu)協(xié)議的動(dòng)態(tài)解析器模型[J];計(jì)算機(jī)系統(tǒng)應(yīng)用;2017年01期

2 倪興旺;;基于XML的異構(gòu)數(shù)據(jù)交換研究與實(shí)現(xiàn)[J];石家莊學(xué)院學(xué)報(bào);2014年03期

3 王小可;;基于RTAI的實(shí)時(shí)LINUX分析與實(shí)現(xiàn)[J];計(jì)算機(jī)光盤(pán)軟件與應(yīng)用;2013年12期

4 董永吉;郭云飛;黃萬(wàn)偉;夏軍波;;一種新的高速報(bào)文解析結(jié)構(gòu)研究[J];電子與信息學(xué)報(bào);2013年05期

5 宋康;商巍;任振興;;基于Xenomai及RTnet的PMU數(shù)據(jù)集中器的實(shí)現(xiàn)方案[J];電腦知識(shí)與技術(shù);2013年08期

6 姜岸;;基于Linux的實(shí)時(shí)操作系統(tǒng)的研究[J];電子世界;2012年13期

7 張靜;宋珂;章桐;;基于Linux系統(tǒng)的內(nèi)核編譯及實(shí)時(shí)RTAI架構(gòu)[J];佳木斯大學(xué)學(xué)報(bào)(自然科學(xué)版);2012年01期

8 關(guān)鴻耀;劉榕;;IEC104規(guī)約在水電廠遠(yuǎn)動(dòng)通訊中的應(yīng)用[J];小水電;2011年01期

9 郭艷艷;吳揚(yáng)揚(yáng);;一種基于XML Schema的XML索引[J];華僑大學(xué)學(xué)報(bào)(自然科學(xué)版);2011年01期

10 趙旭;夏靖波;;基于RTAI的Linux系統(tǒng)實(shí)時(shí)性研究與改進(jìn)[J];計(jì)算機(jī)工程;2010年14期

相關(guān)碩士學(xué)位論文 前7條

1 吳振亞;Linux實(shí)時(shí)調(diào)度研究及改進(jìn)[D];西安電子科技大學(xué);2014年

2 沈濤;Linux內(nèi)核實(shí)時(shí)性以及網(wǎng)絡(luò)實(shí)時(shí)性的研究[D];南京郵電大學(xué);2013年

3 路林;即時(shí)通信協(xié)議的特征與通聯(lián)關(guān)系分析[D];解放軍信息工程大學(xué);2012年

4 孫悅敏;網(wǎng)絡(luò)協(xié)議分析方法的研究[D];西安電子科技大學(xué);2011年

5 李偉;強(qiáng)實(shí)時(shí)RTAI在ARM9處理器的實(shí)現(xiàn)及性能研究[D];西南交通大學(xué);2010年

6 周東;廣域監(jiān)控系統(tǒng)中協(xié)議解析器的設(shè)計(jì)與實(shí)現(xiàn)[D];南京理工大學(xué);2010年

7 鄭金爽;基于RTAI的嵌入式實(shí)時(shí)Linux的研究及實(shí)現(xiàn)[D];吉林大學(xué);2010年

,

本文編號(hào):2484319

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

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


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

版權(quán)申明:資料由用戶e3cc5***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com