LXI網(wǎng)絡(luò)儀器后臺處理的設(shè)計(jì)與實(shí)現(xiàn)
本文選題:LXI 切入點(diǎn):HISLIP 出處:《西安郵電大學(xué)》2017年碩士論文
【摘要】:LXI(LAN eXtension for Instrumentation)技術(shù)是局域網(wǎng)在儀器領(lǐng)域的擴(kuò)展,由此構(gòu)建的儀器測控平臺具有成本低、可重構(gòu)性強(qiáng)以及儀器組件可以分布式部署等優(yōu)點(diǎn),LXI已經(jīng)成為儀器總線的發(fā)展方向。LXI總線相較于傳統(tǒng)儀器總線有很大優(yōu)勢,它不受帶寬和底板結(jié)構(gòu)因素的限制,隨著以太網(wǎng)吞吐量的逐步提升,能夠滿足不同條件下自動化測試系統(tǒng)的要求。為了突破傳統(tǒng)VXI總線測控系統(tǒng)中儀器組件不能實(shí)現(xiàn)不同區(qū)域內(nèi)分布式部署的限制以及構(gòu)造模塊化精簡的儀器測控系統(tǒng)平臺,本文對LXI網(wǎng)絡(luò)儀器進(jìn)行了研究,并對LXI網(wǎng)絡(luò)儀器后臺處理部分的功能需求進(jìn)行設(shè)計(jì)實(shí)現(xiàn)。LXI網(wǎng)絡(luò)儀器后臺出臺處理部分的設(shè)計(jì)實(shí)現(xiàn)分為儀器組件自動發(fā)現(xiàn)模塊、SNMP(Simple Network Management Protocol)客戶端、HISLIP(High-Speed LAN Instrument Protocol)客戶端和后臺處理服務(wù)總調(diào)度四個模塊,所有模塊均在linux平臺下開發(fā)。儀器組件自動發(fā)現(xiàn)功能采用DHCP(Dynamic Host Configuration Protocol)協(xié)議和HISLIP協(xié)議相結(jié)合的方式進(jìn)行設(shè)計(jì),能夠自動感知并記錄接入測控網(wǎng)絡(luò)中的儀器組件;SNMP客戶端完成測控主機(jī)對各儀器組件的控制和管理,在設(shè)計(jì)中嵌入AES_128_CBC對稱加密算法,解決SNMPv2協(xié)議數(shù)據(jù)在網(wǎng)絡(luò)中傳輸安全性較低的問題;HISLIP客戶端按照LXI總線的標(biāo)準(zhǔn)規(guī)定設(shè)計(jì)實(shí)現(xiàn),用于完成測控后臺與儀器組件之間測控指令和測量數(shù)據(jù)的傳輸工作;后臺處理服務(wù)總調(diào)度模塊作為外部應(yīng)用程序調(diào)用后臺處理服務(wù)的統(tǒng)一接口程序,用戶只需獲取接口模塊的具體參數(shù)形式即可調(diào)用后臺處理提供的所有服務(wù),總調(diào)度模塊設(shè)計(jì)中多任務(wù)處理采用進(jìn)程形式實(shí)現(xiàn),主進(jìn)程和其它服務(wù)進(jìn)程之間的通信和信息共享通過共享內(nèi)存這種高效的IPC方式設(shè)計(jì)完成。本文首先對LXI儀器總線和網(wǎng)絡(luò)儀器進(jìn)行了分析,研究LXI總線的標(biāo)準(zhǔn)規(guī)范和特點(diǎn)優(yōu)勢以及網(wǎng)絡(luò)儀器的系統(tǒng)架構(gòu),深入分析HISILIP協(xié)議的通信規(guī)程和交互模式,進(jìn)而設(shè)計(jì)實(shí)現(xiàn)HISLIP協(xié)議客戶端;其次分析研究DHCP服務(wù)器的工作原理和日志文件,結(jié)合 HISLIP 協(xié)議和 SCPI(Standard Commands for Programmable Instruments)設(shè)計(jì)實(shí)現(xiàn)儀器組件自動發(fā)現(xiàn)功能模塊。另外,在研究SNMPv2和AES_128_CBC對稱加密算法的基礎(chǔ)上,將二者相融合實(shí)現(xiàn)了具有數(shù)據(jù)加解密功能的SNMP客戶端;再者通過分析HISLIP客戶端、SNMP客戶端和儀器組件自動發(fā)現(xiàn)模塊的接口參數(shù),設(shè)計(jì)實(shí)現(xiàn)調(diào)用后臺處理服務(wù)的統(tǒng)一接口程序,外部應(yīng)用程序只需獲取統(tǒng)一接口模塊的具體參數(shù)形式即可調(diào)用相關(guān)服務(wù)。最后,針對本文實(shí)現(xiàn)的后臺處理功能模塊,結(jié)合實(shí)驗(yàn)室資源搭建LXI網(wǎng)絡(luò)儀器測控系統(tǒng)并對所有模塊進(jìn)行功能測試,結(jié)果表明各功能模塊均能滿足預(yù)期設(shè)計(jì)要求。
[Abstract]:LXI(LAN eXtension for Instrumentation is an extension of local area network in instrument field. The instrument measurement and control platform based on this technology has low cost. LXI has become the developing direction of instrument bus. LXI bus has a great advantage over traditional instrument bus, and it is not limited by bandwidth and bottom plate structure factors. With the increase of Ethernet throughput, It can meet the requirements of automatic test system under different conditions. In order to break through the limitation that the instrument components in traditional VXI bus measurement and control system can not realize distributed deployment in different areas and construct a modular and concise instrument measurement and control system platform. In this paper, LXI network instruments are studied. The function requirement of LXI network instrument background processing part is designed and implemented. The design and implementation of the backstage processing part of LXI network instrument are divided into two parts: the automatic discovery module of instrument components, the simple Network Management protocol client side and the client side of HISLIPP High-Speed LAN Instrument Protocol. Four modules of total dispatch of station processing service, All modules are developed on linux platform. The automatic discovery function of instrument components is designed by the combination of DHCP(Dynamic Host Configuration protocol and HISLIP protocol. It can automatically perceive and record the control and management of each instrument component by the instrument component AES_128_CBC client, and embed the AES_128_CBC symmetric encryption algorithm in the design. In order to solve the problem of low security transmission of SNMPv2 protocol data in the network, HISLIP client is designed and implemented according to the standard of LXI bus, which is used to complete the transmission of measurement and control instructions and measurement data between measurement and control background and instrument components. The master scheduling module of background processing service is a unified interface program for external application program to invoke background processing service. The user only needs to obtain the specific parameters of the interface module to call all the services provided by background processing. In the design of the total scheduling module, the multi-task processing is realized in the form of process. The communication and information sharing between the main process and other service processes is accomplished through the design of the efficient IPC mode of shared memory. Firstly, this paper analyzes the LXI instrument bus and network instrument. The standard specification and characteristic advantage of LXI bus and the system architecture of network instrument are studied. The communication protocol and interaction mode of HISILIP protocol are deeply analyzed, and then the client of HISLIP protocol is designed and implemented. Secondly, the working principle and log files of DHCP server are analyzed, and the automatic discovery function module of instrument components is designed and implemented by combining HISLIP protocol with SCPI(Standard Commands for Programmable Instruments.In addition, based on the research of SNMPv2 and AES_128_CBC symmetric encryption algorithms, The SNMP client which has the function of data encryption and decryption is realized by the fusion of the two. Furthermore, by analyzing the interface parameters of the HISLIP client and the instrument module, the unified interface program of calling the background processing service is designed. The external application only needs to obtain the specific parameter form of the unified interface module to invoke the related services. Finally, for the background processing function module implemented in this paper, Combined with laboratory resources, the LXI network instrument measurement and control system is built and all modules are tested. The results show that each functional module can meet the expected design requirements.
【學(xué)位授予單位】:西安郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP311.52;TP393.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 高維安;范晶;;基于Web的在線培訓(xùn)考試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[J];電子技術(shù)與軟件工程;2016年24期
2 龐新法;;HiSLIP協(xié)議的原理及機(jī)制剖析[J];現(xiàn)代電子技術(shù);2015年17期
3 張夢娜;于鴻洋;;基于C/S模式的遠(yuǎn)程云臺控制系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[J];電視技術(shù);2014年13期
4 姚洪波;孟正;李希;文偉平;;基于P2P的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[J];信息網(wǎng)絡(luò)安全;2014年03期
5 李小鋒;李宥謀;郭猛;張姣;;HiSLIP協(xié)議的研究與應(yīng)用[J];測控技術(shù);2014年02期
6 張冠杰;程方;張治中;;射頻一致性測試儀中SCPI模塊的設(shè)計(jì)實(shí)現(xiàn)[J];計(jì)算機(jī)工程與設(shè)計(jì);2014年02期
7 郭猛;李宥謀;李小鋒;;嵌入式儀器儀表網(wǎng)絡(luò)代理設(shè)計(jì)與實(shí)現(xiàn)[J];自動化儀表;2013年12期
8 賈靜;;泰克新品發(fā)布會在北京成功召開[J];國外電子測量技術(shù);2013年12期
9 郭秋麗;;基于TFTP協(xié)議的簡單文件傳輸系統(tǒng)的研究[J];電子技術(shù);2013年07期
10 李文勇;孫傳恒;劉學(xué)馨;周超;杜曉偉;楊信廷;;嵌入式農(nóng)產(chǎn)品追溯碼加密算法設(shè)計(jì)與實(shí)現(xiàn)[J];農(nóng)業(yè)工程學(xué)報(bào);2012年17期
,本文編號:1669880
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1669880.html