用户名: 密码: 验证码:
流媒体相关协议软件测试套开发方法研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着计算机网络技术的不断发展,流媒体技术得到广泛地应用,语音、图像、视频等业务给用户带来了高质量的视觉和声音服务。协议作为计算机网络应用的基础,提供了网络应用软件的设计与实现的规范。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协议应用给出了测试过程;最后,对本课题进行了相关方面的总结。
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.
引文
[1]RFC3261-SIP:Session Initiation Protocol.[S].2005-2-16
    [2]王震.流媒体技术的应用研究.计算机工程.2004年12月,第30卷增刊:375-377
    [3]施新刚,尹霞。移动IPV6协议一致性测试研究与实践。计算机工程。2007年6月第33卷第11期:116-119
    [4]廖宏越,赵蓝兰,周武章.流媒体协议的研究与实现.计算机与数字工程.2007年,第4期,第35卷:106-108
    [5]RFC3550-RTP:A Transport Protocol for Real-Time Applications.[s].2003-7
    [6]RFC3605-RTCP:Real Time Control Protocol.[s].2003-10
    [7]RFC2208-RSVP:Resource Reservation Protocol.[s].1997-9
    [8]RFC2326-RTSP:Real Time Streaming Protocol.[s].1998-4
    [9]李建廷.流媒体技术综述.现代电子技术.2005年第3期:91-93
    [10]张静,雷为民。一种支持媒体流的SIP性能测试工具的设计与实现。小型微型计算机系统。第27卷第10期2006年10月:1831-1836
    [11]张琳琳,梁冰,曲昭伟。SIP协议一致性测试研究。现代测量与实验室管理。2007年第2期:33-36
    [12]http://www.ttcn-3.org/home.htm
    [13]Jens Grabowski,Helmut Neukirchen,Benjamin Zeiss.TRex-The Refactoring and Metrics Tool for TTCN-3 Test Specifications.
    [14]蒋凡,季向东,曾凡平.TTCN-3测试系统的设计与实现.计算机工程.2005,11:80-81
    [15]刘小勇,蒋凡.面向对象的TTCN-3测试系统的实现.计算机工程.2006,10:80-82
    [16]GB/T 17178.1-1997 idt ISO/IEC 9646-1:1994信息技术开放系统互连一致性测试方法和框架 第1部分:基本概念
    [17]颜炯,王戟,陈火旺。基于模型的软件测试综述。计算机科学。2004年Vol.31No.2:184-187
    [18]周海华,边恩炯.SIP原理与应用.机械工业出版社.2006.5:281-285
    [19]陈文刚,孟红。全新的黑盒测试语言TTCN-3。国外电子测量技术。2001年第1期。
    [20]YIN Xia WANG ZhiLiang JING ChuanMing & SHI XinGang.A TTCN-3 based protocol testing system and its extension.Science in China(Series F:Information Sciences):1703-1722
    [21]高翔,蒋凡,杨敬峰,李贺禄。TTCN-3研究综述。计算机工程与科学。2004年第26卷第6期:17-20
    [22]Jens Grabowski.TTCN-3 A New Test Specification Language for Black-Box Testing of Distributed Systems.http://citeseer.ist.psu.edu/
    [23]Methods for Testing and Specification(MTS);The Testing and Test Control Notation version 3;Part 1:TTCN-3 Core Language[S].ETSI ES 201 873-1V3.1.1.2008-03.31-45
    [24]Jens Grabowski,Anthony Wiles,Colin Willcock.On the Design of the New Testing Language TTCN-3.http://citeseer.ist.psu.edu/
    [25]Benjamin Zeiss,Helmut Neukirchen,Jens Grabowski.TRex-An Open-Source Tool for Quality Assurance of TTCN-3 Test Suites.
    [26]Methods for Testing and Specification(MTS);The Testing and Test Control Notation version 3;Part5:TTCN-3 Runtime Interface[S].ETSI ES 201 873-5V3.1.1.2008-03.22-51
    [27]Methods for Testing and Specification(MTS);The Testing and Test Control Notation version 3;Part 6:TTCN-3 Control Interface[S].ETSI ES 201 873-6V3.1.1.2008-03.74-92
    [28]赵会娟,胡鹏飞.SIP协议在一种通信软件测试中的应用.中国测试技术.2008年3月:36-39
    [29]Aameek Singh and Priya Mahadevan.Design and Implementation of SIP Network and Client Service.IEEE,2004
    [30]Injong Rhee and Jaewoo Kang.A Scalable Architecture for SIP Infrastructure using Content Addressable Networks.IEEE,2005
    [31]Dirk Trossen and Dana Pavel.Service Discovery & Availability Subscriptions Using the SIP Event Framework.IEEE,2005
    [32]Jan Janak,SIP Proxy Server Effectiveness,Department of Computer Science,Faulty of Electrical Engineering,Czech Technical University,21st May 2003
    [33]Jin ZHOU,Jie LI,Yin Ben XIA.SIP Network Discovery by Using SIP Message Probing.Network Operations and Management Symposium,2008.NOMS 2008.IEEE:791-794
    [34]淋浒,王阳,雷为民,于东海,杜玲.SIP协议测试方法和测试工具的研究.小型微型计算机系统.2008年3月:406-410
    [35]LI Tian,WANG Zhiliang,YIN Xia.SIP Conformance Testing Based on TTCN-2.Tsinghua Science and Technology.2007,S1:223-228
    [36]Anthony Wiles,Scott Moseley and Sebastian Mueller.Experience of Using TTCN-3 for Testing SIP and OSP.2003
    [37]ETSI TS 102 027-1 V4.1.1(2006-07) Methods for Testing and Specification (MTS);Conformance Tset Specification for SIP(IETF RFC 3261);Part 1:Protocol Implementation Conformance Statement(PICS) proforma
    [38]ETSI TS 102 027-2 V4.1.1(2006-07) Methods for Testing and Specification (MTS);Conformance Tset Specification for SIP(IETF RFC 3261);Part 2:Test Suite Structure and Test Purposes(TSS&TP)
    [39]ETSI TS 102 027-3 V4.1.1(2006-07) Methods for Testing and Specification (MTS);Conformance Tset Specification for SIP(IETF RFC 3261);Part 3:AbstractTestSuite(ATS)and partial Protocol Implementation eXtra Information for Testing(PIXIT) proforma
    [40]包玲,朱翠涛.基于JAIN SIP的多媒体会议系统中发言权控制.光通信研究.2008年第2期:28-32
    [41]马云锋,赵会群.基于Eclipse的TTCN-3开发环境的设计与实现[A].ISMATM[C],Beijing,China,2005
    [42]Yunfeng Ma,Huiqun Zhao.Design and Implementation of TTCN-3 IDE Based on Eclipse[A].ISMATM[C],Beijing,China,2005

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700