文档介绍:华中科技大学
硕士学位论文
基于P2P网络的SIP通讯系统的设计与实现
姓名:曾婕
申请学位级别:硕士
专业:软件工程
指导教师:薛志东
20071030
摘要
技术和IP技术的相互渗透和相互融合使得Vo I P 应用研究的热点,而
其中SIP协议以其实现成本低廉和扩展性强等特性而逐渐成为目前Vo I P 应用研究的
热点。
目前利用SIP建立起来的Vo I P 体系结构主要是依赖服务器来完成的用户定位,属
于C/S模式或混合模式。随着用户的增加,服务器的维护和配置的开销也随之增加,
面临着服务器的瓶颈问题。而P2P网络技术所提供的分布式特性和对等概念能有效的
解决这些SIP应用中服务单点失效的问题。本文选用P2P网络技术中的一种路由算法
来负责网络节点的查询定位以及信息维护,以实现SIP通讯系统在P2P网络下的应用。
由于P2P网络的自身特点,在该网络下节点按能力分为的普通节点和超节点,因此基
于P2P网络的SIP应用的代理服务器和注册服务器的功能必须由超节点来完成,以提
供对节点信息的注册和查找服务。而普通节点则根据查找算法选择超节点作为注册
服务器和代理服务器。
本文详细的论述了在P2P网络中的节点是如何实现SIP的各个功能实体,如注册
服务器,代理服务器,和重定向服务器的功能,并在分析了当前最稳定开源Vocal栈
协议之后,给出基于P2P网络的SIP的即时消息系统的详细设计,并对该系统进行了
相关测试。实验结果表明,基于P2P网络的SIP应用可以将原本由服务器所承担的处
理数据分担为每个超节点承担的工作,减轻了单点处理的负担,同时有效的降低了建
立呼叫的平均跳数,缩短了呼叫建立的平均时延。
关键词:SIP P2P 网络技术 Vocal栈协议
I
Abstract
With the development of technology and IP technology, VoIP related
research es a popular research field nowadays, and SIP protocol in VoIP gradually
es a hot topic in VoIP related research because of its low cost and great extensibility.
Current VoIP system based on SIP is working in a centralized way for user
localization which belongs to C/S mode or mixed mode. If the number of users increases,
cost to maintain and configure server increases too which may cause the system bottleneck
problem. However, the distributed characteristics and concept of equality of P2P mode
provide a good base of solution to SIP paper selects one routing
algorithm in work technology to deal with search and localization work node
and information maintainance, to implement munication system over work.
Because of work's characteristics, in work nodes are categoried to normal
node and super node based on node ability, thus the functions of proxy server and
registraion server in SIP application over work are implemented by super node to
provide registration and search service of node information. A normal node can use the
search algorithm to select proper super