面向協(xié)議一致性測試的通用適配器架構(gòu)研究和原型實(shí)現(xiàn)
發(fā)布時(shí)間:2018-03-23 23:31
本文選題:協(xié)議測試 切入點(diǎn):一致性測試 出處:《北京郵電大學(xué)》2014年碩士論文
【摘要】:協(xié)議一致性測試是協(xié)議測試的基礎(chǔ),也是協(xié)議工程和協(xié)議實(shí)現(xiàn)產(chǎn)品開發(fā)過程中的重要活動(dòng)。網(wǎng)絡(luò)協(xié)議尤其是物聯(lián)網(wǎng)技術(shù)的發(fā)展對協(xié)議一致性測試提出了支持分布式測試場景的要求,而協(xié)議實(shí)現(xiàn)的市場化要求測試系統(tǒng)能夠快速開發(fā)搭建所需的測試環(huán)境。測試系統(tǒng)通過測試適配器實(shí)現(xiàn)與被測系統(tǒng)通信的功能,因此測試適配器的功能逐漸成為了制約測試能力及范圍的重要因素。 目前的測試適配器實(shí)現(xiàn)大多基于某種協(xié)議或通信方式,且與具體的測試系統(tǒng)如TTCN-3緊密集成,難以擴(kuò)展、重用且難以實(shí)現(xiàn)與多種不同系統(tǒng)接口通信的能力;诖,需要一個(gè)通用的適配器架構(gòu)來指導(dǎo)適配器開發(fā)。 本文提出了基于中間件技術(shù)的通用適配器架構(gòu),并開發(fā)了一種原型系統(tǒng),最后在實(shí)際的6LoWPAN和CoAP一致性測試中進(jìn)行了實(shí)驗(yàn)驗(yàn)證。主要工作如下: 1)介紹了一致性測試系統(tǒng)架構(gòu)適配器研究現(xiàn)狀,并在其基礎(chǔ)上提出了通用適配器的需求; 2)提出了協(xié)議一致性測試通用適配器架構(gòu),包括了總體架構(gòu)和模塊構(gòu)成,提出了基于多連接的通信管理和基于插件的適配器管理。 3)在所提通用適配器架構(gòu)的基礎(chǔ)上,設(shè)計(jì)并開發(fā)了通用適配器原型系統(tǒng),包括了物理適配器和測試系統(tǒng)適配器的開發(fā)和適配器間AAP協(xié)議的設(shè)計(jì)。物理適配器在Linux操作系統(tǒng)下運(yùn)行,測試系統(tǒng)適配器使用QT提供用戶界面,可在多平臺(tái)下運(yùn)行。 4)為原型系統(tǒng)開發(fā)了三個(gè)適配插件:IEEE802.15.4適配插件、Ethernet適配插件和UDP適配插件。 5)在6LoWPAN一致性測試和CoAP一致性測試中分別設(shè)計(jì)了一個(gè)實(shí)驗(yàn)對6LoWPAN邊緣路由和CoAP服務(wù)器進(jìn)行了一致性測試,測試使用了通用適配器原型系統(tǒng)和插件。 目前對通用適配器的研究和應(yīng)用仍不成熟,本課題對通用適配器的研究填補(bǔ)了一致性測試中關(guān)于測試適配器的空白,具有一定的理論研究水平。本課題對通用適配器的原型系統(tǒng)的開發(fā)和成功實(shí)驗(yàn),證明了通用適配器可以用于現(xiàn)有的協(xié)議測試活動(dòng),具有很高的實(shí)際應(yīng)用價(jià)值。
[Abstract]:Protocol conformance testing is the basis of protocol testing. It is also an important activity in the process of protocol engineering and protocol implementation product development. The development of network protocols, especially the Internet of things, puts forward the requirement of supporting distributed testing scenarios for protocol conformance testing. The marketization of the protocol requires that the test system be able to quickly develop and build the required test environment. The test system realizes the function of communicating with the tested system through the test adapter. Therefore, the function of the test adapter has gradually become an important factor restricting the testing ability and scope. Most of the current test adapters are based on some protocol or communication mode, and are tightly integrated with specific test systems such as TTCN-3, which are difficult to extend, reuse and implement the ability to communicate with many different systems. A common adapter architecture is needed to guide adapter development. In this paper, a general adapter architecture based on middleware technology is proposed, and a prototype system is developed. Finally, an experimental verification is carried out in the actual 6LoWPAN and CoAP conformance testing. The main work is as follows:. 1) the research status of conformance testing system architecture adapters is introduced, and the requirements of general adapters are put forward. 2) A general adapter architecture for protocol conformance testing is proposed, including the overall architecture and module structure. The communication management based on multi-connection and adapter management based on plug-in are proposed. 3) on the basis of the general adapter architecture, the prototype system of the universal adapter is designed and developed. It includes the development of physical adapters and test system adapters and the design of AAP protocol between adapters. The physical adapters run under the Linux operating system, and the test system adapters use QT to provide the user interface, which can be run on multiple platforms. 4) three adapters: IEEE 802.15.4 and UDP adapters are developed for the prototype system. 5) in 6LoWPAN conformance test and CoAP conformance test, an experiment is designed to test 6LoWPAN edge routing and CoAP server respectively. At present, the research and application of universal adapters are still immature. The research on universal adapters has filled the gap of testing adapters in conformance testing. The development and successful experiment of the prototype system of the universal adapter prove that the universal adapter can be used in the existing protocol testing activities and has high practical application value.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.04
【參考文獻(xiàn)】
相關(guān)期刊論文 前1條
1 王冠;吳際;徐珞;金茂忠;;面向TTCN-3分布式測試執(zhí)行平臺(tái)的測試適配器框架的研究與設(shè)計(jì)[J];電子學(xué)報(bào);2009年S1期
,本文編號:1655722
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1655722.html
最近更新
教材專著