基于擴(kuò)展ICE框架的NAT穿越技術(shù)研究
發(fā)布時(shí)間:2018-05-01 06:36
本文選題:實(shí)際網(wǎng)絡(luò) + 對稱型NAT; 參考:《哈爾濱工業(yè)大學(xué)》2014年碩士論文
【摘要】:隨著多媒體通信技術(shù)和互聯(lián)網(wǎng)技術(shù)的不斷發(fā)展,點(diǎn)對點(diǎn)之間的通信要求變得越來越高。如何使兩個(gè)客戶端在不同的網(wǎng)絡(luò)間實(shí)現(xiàn)穩(wěn)定,快速連接傳輸?shù)腜2P(peer-to-peer)通信成為熱門研究課題。特別在復(fù)雜網(wǎng)絡(luò)環(huán)境下,這種研究和相關(guān)技術(shù)實(shí)現(xiàn)更顯得非常重要。NAT(Network Address Translator,網(wǎng)絡(luò)地址轉(zhuǎn)換)的存在解決了IP地址短缺的問題。SIP協(xié)議(Session Initiation Protocol,會(huì)話發(fā)起協(xié)議)的提出提供了兩客戶端之間會(huì)話連接建立的技術(shù)標(biāo)準(zhǔn),但是,NAT的存在使得私有網(wǎng)絡(luò)的SIP信息數(shù)據(jù)包無法在公有網(wǎng)絡(luò)上路由。為了實(shí)現(xiàn)在實(shí)際網(wǎng)絡(luò)結(jié)構(gòu)中可靠的網(wǎng)絡(luò)穿越連接,保證SIP信息數(shù)據(jù)包在不同局域網(wǎng)間傳輸,一方面,本文使用TCP連接代替UDP連接進(jìn)行NAT穿越,模擬TCP三次握手完成NAT連接,避免在網(wǎng)絡(luò)不穩(wěn)定或者帶寬受限等情況下,因?yàn)閁DP丟包不可靠連接的性質(zhì)而引起NAT穿越不成功。另一方面,鑒于實(shí)際網(wǎng)絡(luò)環(huán)境中比較常見的對稱型NAT網(wǎng)絡(luò)設(shè)備很難穿越成功,本文在原有ICE(Interactive Connectivity Establishment,交互連通建立)框架理論基礎(chǔ)上,重點(diǎn)提出了一種改進(jìn)ICE候選地址機(jī)制的網(wǎng)絡(luò)穿越方案,給出了對稱NAT類型的端口映射方式的分類以及相對應(yīng)的端口預(yù)測功能,從而解決了對稱NAT類型網(wǎng)關(guān)的網(wǎng)絡(luò)穿越問題。盡量避免中繼傳輸所引起的網(wǎng)絡(luò)負(fù)載壓力增大問題,有利于提高連接服務(wù)質(zhì)量。基于上面提出的兩方面,本論文的程序基于PJSIP協(xié)議庫實(shí)現(xiàn),在PJSIP協(xié)議棧中添加了端口預(yù)測功能化模塊,并在實(shí)際網(wǎng)絡(luò)環(huán)境中進(jìn)行了測試,數(shù)據(jù)結(jié)果顯示所添加的模塊符合預(yù)期效果,端口命中率符合理論值。
[Abstract]:With the development of multimedia communication technology and Internet technology, the requirement of point-to-point communication becomes higher and higher. How to make the two clients stable between different networks and how to quickly connect P2Ppeer-to-peer communication has become a hot research topic. Especially in the complex network environment, This kind of research and related technical implementation become more important. The existence of NATN Network Address translator (network address translation) solves the problem of IP address shortage. Sip protocol session Initiation protocol (session initiation protocol) provides a session connection between two clients. The established technical standards, However, due to the existence of Nat, private SIP packets cannot be routed over public networks. In order to realize reliable network traversing connection in actual network structure and ensure the transmission of SIP information packet between different LAN, on the one hand, this paper uses TCP connection instead of UDP connection to traverse NAT, and simulates TCP three times handshake to complete NAT connection. In the case of network instability or bandwidth constraints, NAT traversal is not successful because of the unreliable connection properties of UDP packet loss. On the other hand, in view of the fact that symmetric NAT network devices are difficult to traverse successfully in the real network environment, this paper bases on the original ICE(Interactive Connectivity establishment (interactive connectivity) framework theory. In this paper, a network traversal scheme with improved ICE candidate address mechanism is proposed, and the classification of symmetric NAT type port mapping mode and the corresponding port prediction function are given, thus solving the network traversal problem of symmetric NAT type gateway. The problem of network load pressure caused by relay transmission is avoided and the quality of service is improved. Based on the above two aspects, the program of this paper is implemented on the basis of PJSIP protocol library, and the port prediction function module is added to the PJSIP protocol stack, and tested in the actual network environment. The data results show that the added module conforms to the expected effect and the port hit rate accords with the theoretical value.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.04
【參考文獻(xiàn)】
相關(guān)期刊論文 前3條
1 蔡聞怡;陳一民;;基于代理的SIP穿越NAT和防火墻方案[J];計(jì)算機(jī)工程;2007年22期
2 劉春燕;陳名松;冼莉莉;;基于端口探測的SIP穿透NAT的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)工程;2008年17期
3 石碩;林莉;李久仲;張蒲生;;基于端口準(zhǔn)隨機(jī)猜測的UDP穿越Symmetric NAT的方法[J];計(jì)算機(jī)工程與設(shè)計(jì);2008年01期
相關(guān)碩士學(xué)位論文 前1條
1 閔江;一種利用TURN穿越對稱型NAT方案的設(shè)計(jì)與實(shí)現(xiàn)[D];華中科技大學(xué);2008年
,本文編號(hào):1828185
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1828185.html
最近更新
教材專著