节点文献
一种基于应用层路由的SIP穿越NAT方案设计与实现
Design and Implementation of a Scheme for SIP Traversing NAT Based on Application-Layer Routing
【作者】 邱志松;
【导师】 张笑燕;
【作者基本信息】 北京邮电大学 , 软件工程, 2008, 硕士
【摘要】 本论文的研究目标是为SIP技术能够无缝地应用在NAT网络服务。SIP协议是一种新兴的网络协议,它能够将VoIP、多媒体会议、push-to-talk(按键通话)、定位服务、在线信息和即时通信等功能组合起来,形成更大规模的无缝通信服务。然而网络中已大量部署的NAT设备对SIP正常通信造成困难,阻碍了SIP技术的推广。为了解决SIP消息无法通过NAT传输的问题,本论文首先详细介绍了SIP协议,并对其特有的应用层路由机制进行了深入分析,指出现有技术无法实现SIP穿越NAT的关键在于SIP的应用层路由信息没有得到合理的转换与解释。我们对NAT技术的研究现状进行了调查,发现现有技术方案并没有正确解决这方面存在的问题,与之相反,却对网络的拓扑做出了特定假设,使SIP技术的应用必须增加部署服务器的成本,同样阻碍了企业对于采用SIP技术的信心。在此基础上我们设计并实现了一种有效的SIP穿越NAT方案,它主要关注SIP应用层路由信息的正确网络地址转换,并设计了其核心算法。该方案的优点在于:不限于任何NAT体系结构,可以作为任意现有应用层协议NAT穿越方案的SIP处理构件;可以满足任意SIP网络拓扑的通信,不要求部署额外的服务器;只对必要的信息进行处理,而不必识别整个SIP消息,提高了NAT设备的处理速度,也降低了必要的NAT设备存储占用。除此之外,本文还提出了“栈模式”的SIP应用层路由机制分析方法,以及“约减法”归纳SIP NAT网络拓扑情况。前者提高了对SIP技术的认识,后者则对加入NAT设备的SIP网络可能的拓扑情况进行了简化,利用有限的简化拓扑模式表达无限的拓扑空间,使本论文设计的SIP穿越NAT方案的有效性得以验证。总而言之,本论文不仅仅解决了SIP穿越NAT的难题,还提高研究者对SIP以及NAT等相关领域的认识,为这两个领域相关应用的设计与开发提供了丰富的参考。
【Abstract】 The purpose of this paper is to seamlessly connect SIP services in the network containing NAT devices. Although SIP is a newly proposed network protocol, it is able to combine all the communication capabilities into a larger scale seamlessly, like VoIP, multi-media conference, push-to-talk, locating service, online messaging and instant messaging. Nevertheless, the NAT services having been deployed in the network make transferring SIP messages difficult, thus prohibit the popularity of SIP applications. In order to solve this problem, this paper will introduce SIP in detail firstly, and find the key of the issue is the inability of NAT devices to translate the special information containing SIP application-layer routing. We investigate present researches on NAT, and discover that present researches do not solve the problem correctly. On the contrary, they make assumptions on the network topologies. As a result, the cost for applying SIP technology in an organization is increased greatly, which will discourage enterprise from deploying SIP applications. Basing on our analysis, we implement an effective scheme for SIP message traversing NAT, which focuses on network address translation for application-layer routing information in SIP messages and designs a core algorithm for it. The advantage of our scheme includes following aspects: Our implementation is not restricted to any NAT architecture, it could be used a SIP processing component in any present application-layer NAT scheme; It is applicable to any SIP topologies, that is to say no additional servers are required; There is no need to recognize the entire SIP message, but only those that must be translating, therefore it could not only make NAT process SIP packets more quickly, but also lower the occupancy of NAT storage. Moreover, this paper makes use of "stack" to analyze the application-layer routing of SIP, and reduces the topology space of SIP NAT network, which will be used for validation of our scheme.Generally, this paper not only solve the problem of SIP traversing in NAT network, but also increase our knowledge of SIP and NAT, thus makes rich references for designing and developing for both fields.
- 【网络出版投稿人】 北京邮电大学 【网络出版年期】2008年 10期
- 【分类号】TP393.03
- 【下载频次】99