节点文献

流媒体相关协议软件测试套开发方法研究

Study on Methodology of Developing Software Testing Suite of Streaming Media Protocol Stack

【作者】 赵洁

【导师】 孙晶;

【作者基本信息】 北方工业大学 , 计算机应用技术, 2009, 硕士

【摘要】 随着计算机网络技术的不断发展,流媒体技术得到广泛地应用,语音、图像、视频等业务给用户带来了高质量的视觉和声音服务。协议作为计算机网络应用的基础,提供了网络应用软件的设计与实现的规范。SIP(Session Initiation Protocol,会话初始化协议,简称SIP)作为流媒体软件开发协议得到了广泛的应用。然而,不同开发者对协议的理解容易产生偏差,所以对协议与协议软件的一致性进行检测尤为重要。由于SIP协议在流媒体软件开发中扮演了核心角色的作用,所以本课题研究具有实际意义。研究过程中,本课题分析了基于TTCN-3的协议一致性测试过程,并且对SIP协议的消息格式,方法特点和传输特性做了深入分析。在研究分析的基础上,主要针对SIP协议中的基本方法设计开发了通用测试套,该测试套可以对SIP协议应用软件进行协议一致性测试。在对TTCN-3运行时接口规范和SIP应用软件交互过程进行分析的基础上,给出了通用适配器的解决方案,实现了一类通用的适配器。在对TTCN-3控制接口规范和SIP应用软件数据、消息传输格式进行分析的基础上,给出了通用的编码解码器的解决方案,实现了一类通用的编码解码器。本课题总结出了一个基于TTCN-3的SIP应用软件测试流程,分别针对PC机上的SIP协议应用和手机上的SIP协议应用,给出了两个测试案例。测试过程操作简单、实用性强、可重用性强。论文共分为六个部分,首先介绍了课题研究的背景、内容及方法;然后给出了相关的理论知识和技术;第三部分对SIP协议进行了深入的分析;在第四部分中,论文给出了通用测试套、通用编码解码器和通用适配器的设计方案及实现方法;文章的第五部分分别针对PC机上的SIP协议应用和手机上的SIP协议应用给出了测试过程;最后,对本课题进行了相关方面的总结。

【Abstract】 With computer network technology unceasing development, the streaming media technology obtain widely applies. Pronunciation, image and video frequency have brought the high grade vision and the sound service to the users. The protocol is regarded as the computer network application foundation. The protocol also provides for the network application software the design standard which realizes. SIP (Session Initiation Protocol) obtained the widespread application as the protocol of streaming media software development protocol. However, the understanding of different developer is difference. Therefore it is also essential to execute the agreement test for streaming media protocol software. SIP is the popular protocol applied in the multimedia data live transmission at present. So this topic research has the practical significance.In the study, the topic analyzed the agreement test procedure based on TTCN-3 and analyzed the characteristics of SIP deeply. In the foundation of research analysis, the topic design and develop a generic test suite in the view of SIP protocol essential method. The test suite is used to execute the agreement test of SIP. On the basis of analyzing Runtime Interface and the interactive process of SIP application software, the implementation of a generic SIP application software adapter was given. And on the basis of analyzing TTCN-3 Control Interface and the data format of message transition of SIP application software, the implementation of a generic codec was given. The topic summarized a test flow of SIP application software based on TTCN-3. The topic has given two test cases that respectively apply in personal computer and mobile phone. The test procedure has the characteristics of easy operator, usability and reusability.The paper contains six parts. Firstly, it introduced the topic research background, the content and the method.Then, it gived the correlation theories knowledge and the technology. The next, it analized the SIP protocol deeply. In the forth part, it gived the design proposal and realizes the method of the generic test suite, the generic codec and the generic adapter. In the fifth part, it gived two test cases that respectively apply in personal computer and mobile phone. In the finally, it summarized the related aspect of the topic.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络