软交换系统大话务量呼叫模拟器的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
软交换的基本含义就是将呼叫控制功能从媒体网关中分离出来,通过软件实现基本呼叫控制功能。与传统的程控交换机相比,软交换基于分组交换技术,能够实现低成本的语音传送、传真等传统电信业务,并对新兴数据业务提供有力支持。但是由于它的发展时间尚短,从而软交换设备的可靠性不能与传统交换机相比,如何提高软交换设备的可靠性,是软交换技术广泛应用的关键。压力测试是检验设备可靠性的一个重要环节,在压力测试中所用的主要工具是大话务量呼叫模拟器。它是一种能够模拟许多电话用户,同时或轮流向软交换系统发起大量完整呼叫的工具。
     以软交换技术为核心的网络是基于统一协议、分组网络、业务驱动的开放网络,能够提供多种业务的连接控制、路由、网络资源管理、计费、认证等功能。软交换设备与各种媒体网关、终端、应用服务器、其他软交换设备间采用标准协议相互通信。整个软交换网络体系结构包括接入层、传送层、业务控制层、业务管理层和网络管理层包含五个层次,各层的功能及相关设备均不相同。在实际应用的H.323网络体系架构中包括了网关、网守、后台服务器三个层次。
     当设计的大话务量呼叫模拟器运行于WINDOWS平台下,并且呼叫连接采用TCP协议时,任务体系结构的选择是一个非常重要的问题,采用线程池技术能够使模拟器的性能最优化,并降低网络的拥塞。同时,根据软交换系统的被测功能,可以将呼叫流程进行简化,提高模拟器的性能并降低模拟器结构的复杂度。考虑到模拟器的可移植性,设计一个系统接口模块是必要的,同时,采用有限状态机的方法可以简化程序的结构,建立统计信息表有利于在测试中发现问题。大话务量呼叫模拟器的设计基于面向对象的思想,将每个模拟的终端看成一个对象,这些对象各自独立与待测交换系统完成信令交互。整个模拟器的结构从上而下可以分成用户控制层、流程控制层和协议栈层三个层次,用户控制层接受用户配置的话务参数,并通过定时器驱动流程控制层发起呼叫;流程控制层规定呼叫流程,同时对收发的信令信息进行统计;而在用于编解码的协议栈时,在条件允许的情况下,模拟器一般采用与待测系统不同的协议栈。
     实现了H.323网守的大话务量呼叫模拟器后,并利用此模拟器对H.323网守进行了压力测试,获得H.323网守的初步性能指标,H.323网守在实际大规模的应用中也获得了令人满意的效果。
Softswitch which means separates the call control function from the media gatewayachieves to control the call by designing software. Compare to the traditional switcher,Softswitch can cut down the cost, support many new operation and be convenient toapplicate . But because of shortage of the time after its’generation, and also the Internet is a“best effort delivery”Network, the reliability of the Softswitch equipments is not as good asthe traditional switcher. So how to improve the reliability of the equipments is the key topopularize Softswitch. Stress test is a important process when checking up the reliability ofthe equipments. The bulk call simulator is the main implement when executing the stress test.It can simulate many phones, and sends calling requirements to the Softswitch equipmentsat the same time of alternate.
     The softswitch network is based on standard protocols, transferred by grouping anddrived by the operation. The network can support routing, accounting, network managementand authentication. The softswtich equipments exchange message with the media gateways,terminals and servers. This architecture of the softswitch network includes 5 layers: theaccess layer, the transaction layer, the operation control layer, the operation managementlayer and the network management layer. In H.323 network architecture, there are 3 layers:gateway layer, gatekeeper layer and backend server layer.
     When the bulk call simulator running on WINOWS and uses TCP protocol to establishconnect, how to choose the task architecture is a very important problem. The technology ofthread pool can enhance the capability of the simulator and reduce the congestion of thenetwork. To predigest the call flow is also profit to enhance the capability of the simulator.Also how to import the abnormal call flows, pay attention to the transplant of the simulatorand establish the statistics table is very import.
     Based on the Object Oriented thesis, each terminal could be seen as a object. Theyexchange the messages with the softswitch equipments. The architecture of the simulator isdivided into 3 layers: the user layer, the flow control layer and the protocol stack layer. Theuser layer is used to input and show the configuration. The flow control layer is used tocontrol the register and call flow. The protocol stack layer is used to coding and decodingthe protocol messages.
     At last, the article tests the gatekeeper with the simulator and the test results issatisfactory .
引文
[1] Leftly S, Jones D. Softswitch technology. Tech Apparel Textiles, Frankfurt, 2002: 6587
    [2] 饶翔, 张顺颐. 基于软交换的下一代网络体系结构. 电信科学, 2001, 17(8): 1720
    [3] 邱小立. VoIP 网络电话:电子商务新走向. 成功营销, 2005(4): 2829
    [4] 雍忠玮. IP 通信:改变行业的业务方式. 计算机周报, 2005(52): 2123
    [5] Agrawl, C., Session Initiation Protocol (SIP) H.323 Interworking, IETF Internet Draft, Work inProgress, 2000: 2729
    [6] Yun Zhang. SIPbasedVoIP network and its interworking with the PSTN.Electronics&Communication Engineering Journal, 2002, 14(6): 273282
    [7] ITUTRecommendation H.323 Draft v4 (02/2000)
    [8] 郑涛, 唐晓英. 基于H.323 的网上呼叫中心. 电声技术, 2001(9): 3941
    [9] 李琳, 柴乔林, 袁春阳. H.323 与SIP 在VOIP 应用中的实现及比较. 计算机应用, 2002, 22(9):7480
    [10] 赵慧玲, 叶华. 软交换相关技术的研究. 电信网技术, 2002(2): 13
    [11] 卢晓南, 刘泽. 中国IP 电话发展态势. 中国信息导报, 2000(9): 1213
    [12] 席海青, 陈霞. VoIP 发展综述. 世界电信, 2004(11): 3538
    [13] B Beizer. Software System Testing and Quality Assurance. Thomson Computer Press, 1996: 5861
    [14] 张永梅, 陈立潮等. 软件测试技术研究. 测试技术学报, 2002, 16(2): 148151
    [15] Chris Wilkinson. 对Web 服务进行压力测试. Developworks, April 2005: 2737
    [16] Alan Booth, Andrew Citron. Stress testing your software without stressing your testers.Developworks, 2002(2): 8387
    [17] 李传峰. 负荷测试分析. 天津通信技术, 2004(4): 3840
    [18] M R Lyu. Handbook of Software Reliability Engineering. CA: IEEEComputer Society Press, CA,1996: 845850
    [19] 谢希仁. 计算机网络(第四版). 电子工业出版社, 北京, 2003 年4 月: 241
    [20] Williams, S. The softswitch advantage. IEE Review, 2002: 5456
    [21] 赵慧玲, 叶华等. 以软交换为核心的下一代网络技术. 人民邮电出版社, 北京, 2002 年8 月:446
    [22] 魏航, 杨学良. 下一代网络(NGN)的体系结构与软交换协议, 计算机应用, 2003, 23(12): 7578
    [23] MJ Yates, I Boyd. The Parlay Network API Specification. BT Technology Journal, 2000, 18(2):5764
    [24] 徐培文, 王鹰, 尹宁旻. 软交换及其管理技术. 机械工业出版社, 北京, 2006 年3 月: 112156
    [25] 姜海东, 胡绍海. H.323 中关守的功能及实现. 数据通信, 1999(4): 5558
    [26] ITUTRecommendation H.225: Call signaling protocols and media stream packetization forpacketbasedmultimedia communication systems (02/98)
    [27] 杨昆, 薛宁, 胡绍海等. IP 电话及其增值业务技术. 人民邮电出版社, 北京, 2002 年1 月: 39140,157205
    [28] Julian Zhu, 中国联通公司IP 电话业务网四期扩容工程整体方案技术建议书, UTStarCom,2003: 13
    [29] H Liu, P Mouchtaris, voice over IP signaling: H.323 and beyond, T Technologies IEEECommunications Magazine, 2000: 5658
    [30] 王红熳, 邹华, 毛文欣等. 网守实现若干问题和策略的研究. 北京邮电大学学报, 2000, 23(2):6366
    [31] ITUTRecommendation H.323: Packet based multimedia communications systems (02/98)
    [32] 糜正琨. IP 网络电话技术. 人民邮电出版社, 北京, 2000 年6 月: 211304
    [33] Julian Zhu, MSwitch H.323 GK Implementation Design, UTStarCom, 2003: 2325
    [34] 陈淑珍, 石波. 基于Windows 多线程环境下的串口通信. 武汉大学学报, 2000, 46( 3): 373375
    [35] Jeffrey Richter. Programming Applications for Microsoft Windows. Microsoft Pr, September 1,1999: 325362
    [36] 程远忠, 杜平安. Winsock 中I/O 模型探讨. 计算机工程, 2001, 27(1): 178179
    [37] 范莉莉, 刘武, 黄光明, 陈建文. IP 电话的TCP 和IP 协议的实现方法. 单片机与嵌入式系统,2004(6): 1720
    [38] Kevin T, Manley. Generalpurposethreads with I/O completion ports. 1998, 16(4): 7583
    [39] 邓志洪, 张治国. 有限状态程序模型及其应用. 五邑大学学报, 2001, 15(4): 6670
    [40] 刘正林. 面向对象程序设计. 华中科技大学出版社, 武汉, 2001 年5 月: 298301
    [41] 傅韬, 王芙蓉. 基于VoIP 的大话务模拟器设计. 电信工程技术与标准化, 2005(12): 7881

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

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

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