Responsive image
博碩士論文 etd-0912112-084445 詳細資訊
Title page for etd-0912112-084445
論文名稱
Title
廣域網路之部分可靠的即時傳輸實作
The Implementation of Real-time Transmission with Partial Reliability in Wide Area Networks
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
78
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2012-07-20
繳交日期
Date of Submission
2012-09-12
關鍵字
Keywords
傳輸通訊協定、即時傳輸服務、TCP、UDT、RTP
Transfer Protocol, TCP, Real-time Transfer Service, RTP, UDT
統計
Statistics
本論文已被瀏覽 5694 次,被下載 661
The thesis/dissertation has been browsed 5694 times, has been downloaded 661 times.
中文摘要
隨著近年來網路快速的發展及頻寬快速的增加,網際網路的即時服務需求在許多網路服務上是必須的,因此網際網路即時服務的傳輸問題就變成一個很重要的議題。目前大多數的應用還是使用TCP 作為通訊協定,但由於TCP 可靠傳輸的特性,以致於TCP 無法符合即時性傳輸的需求,所以必須設計一套新的通訊協定來使用在即時服務的傳輸上。根據需求,我們發現了一套新的open source 的應用層通訊協定 – UDT(UDP-based Data Transfer),可以透過此通訊協定中提供的部份可靠傳輸的特性,將此通訊協定應用在即時服務的傳輸中,此外,透過此通訊協定composable 特性,可以讓使用者根據需求去調整通訊協定內的參數和設定讓自己的應用達到更好的效能。
本篇論文首先會針對RTP(Real-time Transport Protocol)和UDT 做比較,並說明在本論文實驗環境下不選擇RTP 的原因。而本論文的實驗環境是假設在金融即時服務的環境下測試,以往在此環境下會使用的通訊協定是TCP,所以實驗中會針對TCP 和UDT 的測試結果來做比較和分析,並透過調整參數去測試UDT 在即時服務傳輸環境下的效能,像是資料遺失率…等,希望可以提供使用者在使用UDT 作為即時傳輸服務的通訊協定時的一個參考。
Abstract
Due to the rapid development of the Internet and the fast expansion of the bandwidth, the requirement of the real-time service for the Internet is necessary. In this way, the problem of the real-time service for the Internet becomes an important issue. Most of the applications still use TCP as the protocol, but due to the reliable property of TCP, TCP can’t fit the requirement of the real-time transfer. So, we need to implement a protocol which we can use on the real-time transfer service.
According to the requirement, we find an open source application layer protocol – UDT (UDP-based Data Transfer). We can implement the application of real-time transfer by using the partial reliable messaging property of the protocol. In addition, user can adjust the parameters or settings of the protocol to make their application get into better performance by using the composable property of the protocol.
In our research, we’ll compare with RTP (Real-time Transport Protocol) and UDT, and also explain the reason why we don’t choose RTP in our research. The
assumption environment of our research is financial real-time service, and the protocol of such applications is TCP. In this way, we’ll analyze and compare the
result of the tests between TCP and UDT. We’ll also adjust the parameters of the protocol to test the performance of the UDT under the environment of the real-time transfer, such as data lose rate, etc.. These results can supply the reference for the users when using UDT as their protocol to implement their real-time applications.
目次 Table of Contents
致謝 i
摘要 ii
ABSTRACT iii
目錄 iv
圖目錄 vii
表目錄 ix
1. 序論 1
1.1. 研究背景 1
1.2. 研究動機與目的 2
1.3. 國內外研究現況 2
1.3.1 網路傳輸通訊協定之研究現況 2
1.3.2. 即時傳輸服務相關之研究現況 4
1.3.2.1. RSVP (Resource ReServation Protocol) 5
1.3.2.2. RTP (Real-time Transport Protocol) 6
1.3.2.3. RTCP (Real-time Control Protocol) 8
1.3.2.4. RTSP (Real-Time Streaming Protocol) 8
1.3.3. 尚待研究問題及研究意義 9
1.4. 論文架構 9
2. UDT概論與介紹 11
2.1. UDT背景介紹 11
2.2. UDT特性和功能 12
2.2.1. UDT特性 12
2.2.2. UDT功能 13
2.3. UDT封包定義 13
2.3.1. 資料封包(Data Packets) 13
2.3.2. 控制封包(Control Packets) 15
2.3.3. Sender模組和Receiver模組間的關係 17
2.4. UDT模組和元件 17
2.4.1. 傳送者模組(Sender Module) 18
2.4.2. 接收者模組(Receiver Module) 18
2.4.3. 應用程式介面模組(APIs Module) 19
2.4.4. UDP通道模組(UDP Channel Module) 20
2.4.5. 流量控管模組(Congestion Control Module) 20
2.4.6. UDP Multiplexer 20
2.4.7. 計時器(Timers) 21
2.5. UDT運作流程 21
2.5.1. Client – Server連線模式 22
2.5.2. Peer-to-Peer連線模式 22
2.5.3. 資料的傳送(Data Sending) 22
2.5.4. 資料的接收(Data Receiving) 23
2.6. 壅塞控制(CONGESTION CONTROL) 24
2.6.1. 壅塞控制機制 24
2.6.1.1. 與TCP的壅塞控制機制的差異 26
2.6.2. Noisy Link 26
2.7. UDT COMPOSABLE特性 27
2.8. UDT的部份可靠傳輸模式(PARTIAL RELIABLE MESSAGING MODE) 29
2.8.1. 使用時機 29
2.8.2. 使用方法 29
2.8.3. 重複封包(Duplicate Packets)的出現 30
2.9. UDT使用方式 30
2.9.1. 建立UDT Library 30
2.9.2. 設定UDT Library路徑 31
2.9.3. 建立UDT連線 31
2.9.3.1. Reliable Streaming連線 31
2.9.3.2. Partial Reliable Messaging連線 32
2.10. UDT使用時機 33
3. 研究與實作 34
3.1. 實驗環境介紹 34
3.2. 通訊協定的選擇 34
3.3. 軟體介紹 36
3.4. 實驗介紹與分析 36
3.4.1. 實驗一 36
3.4.1.1. 實驗說明 36
3.4.1.2. 實驗設計 36
3.4.1.3. 實驗環境 37
3.4.1.4. 實驗結果 37
3.4.1.5. 實驗分析 38
3.4.2. 實驗二 39
3.4.2.1. 實驗說明 39
3.4.2.2. 實驗設計 39
3.4.2.3. 實驗環境 40
3.4.2.4. 實驗結果 41
3.4.2.5. 實驗分析 43
3.4.3. 實驗三 43
3.4.3.1. 實驗說明 43
3.4.3.2. 實驗設計 44
3.4.3.3. 實驗環境 45
3.4.3.4. 實驗結果 46
3.4.3.5. 實驗分析 48
3.4.4. 實驗四 49
3.4.4.1. 實驗說明 49
3.4.4.2. 實驗設計 49
3.4.4.3. 實驗環境 50
3.4.4.4. 實驗結果 51
3.4.4.5. 實驗分析 51
4. 結論與未來展望 52
5. 參考文獻 54
附錄 58

參考文獻 References
[1] William Allcock, John Bresnahan, Rajkumar Kettimuthu, Michael Link, Catalin Dumitrescu, Ioan Raicu, Ian Foster, “The Globus Striped GridFTP Framework and Server”. SC 05, Seattle, WA, Nov. 2005.
[2] M. Allman, V. Paxson, and W. Stevens, “TCP Congestion Control”. IETF, RFC 2581, April 1999.
[3] Sumitha Bhandarkar, Saurabh Jain, and A. L. Narasimha Reddy, “Improving TCP Performance in High Bandwidth High RTT Links using Layered Congestion Control”. Proc. PFLDNet 2005 Workshop, February 2005.
[4] L. Brakmo, L. Peterson. TCP Vegas, “End-to-end Congestion Avoidance on a Global Internet”. IEEE Journal on Selected Areas in Communication, Vol. 13, No. 8 (October 1995) pp. 1465-1480.
[5] A. Edwards, S. Muir, “Experiences Implementing a High Performance TCP In User-space”. Proc. ACM SIGCOMM 1995, Cambridge, MA, pp. 196 - 205.
[6] W. Feng, P. Tinnakornsrisuphap, “The Failure of TCP in High-performance Computational Grids”. SC '00, Dallas, TX, Nov. 4 - 10, 2000.
[7] S. Floyd, “High Speed TCP for Large Congestion Windows”. IETF, RFC 3649, Experimental Standard, Dec. 2003.
[8] M. Gerla, M. Y. Sanadidi, R. Wang, A. Zanella, C. Casetti, and S. Mascolo, “TCP Westwood: Congestion Window Control using Bandwidth Estimation”. IEEE Globecom 2001, Vol. 3, pp 1698-1702.
[9] Yunhong Gu, Xinwei Hong, and Robert Grossman, “An Analysis of AIMD Algorithms with Decreasing Increases”. Gridnets 2004, First Workshop on Networks for Grid Applications, Oct. 29, San Jose, CA, USA.
[10] Yunhong Gu, Robert L. Grossman, “Optimizing UDPBased Protocol Implementations”. Proceedings of the Third International Workshop on Protocols for Fast Long-Distance Networks (PFLDnet 2005), Feb 3 – 4, 2005, Lyon, France.
[11] E. He, J. Leigh, O. Yu, T. A. DeFanti, “Reliable Blast UDP: Predictable High Performance Bulk Data Transfer”. IEEE Cluster Computing 2002, Chicago, IL 09/01/2002.
[12] D. Katabi, M. Hardley, C. Rohrs, “Internet Congestion Control for Future High Bandwidth-Delay Product Environments”. ACM SIGCOMM '02, Pittsburgh, PA, Aug. 19 - 23, 2002.
[13] Injong Rhee, Lisong Xu, CUBIC, “A New TCP-Friendly High-Speed TCP Variants”. PFLDnet 2005, Feb. 2005, Lyon, France.
[14] Yunhong Gu, Robert L. Grossman, “UDT: UDP-based Data Transfer for High-Speed Wide Area Networks”. Chicago. 2006.
[15] H. Schulxrinne, S. Casner, R. Frederick, V. Jacobson, “RTP: A Transfer Protocol for Real-Time Applications”. The Internet Society, RFC3550, pp. 5-6, 2003.
[16] A. Chien, T. Faber, A. Falk, J. Bannister, R. Grossman, J. Leigh, “Transfer Protocols for High Performance: Whither TCP?”. Communications of the ACM 46 (11) (2003) pp. 42-49.
[17] Yunhong Gu, Xinwei Hong, Robert Grossman, “Experiences in Design and Implementation of a High Performance Transport Protocol”, in: SC 2004, Pittsburgh, PA, USA, 6-12 November 2004.
[18] T. Kelly, “Scalable TCP: Improving Performances in Highspeed Wide Area Networks”. ACM Computer Communication Review (April) (2003).
[19] K. Kumazoe, Y. Hori, M. Tsuru, Y. Oie, “Transport Protocol for Fast Long Distance Networks: Comparison of Their Performances in JGN”, in: SAINT’04. Tokyo, Japan, 26-30 January 2004.
[20] S.H. Rodrigues, T.E. Anderson, D.E. Culler, “High-performance Local Area Communication with Fast Sockets”, in: USENIX’97, Anaheim, CA, 6-10 January 1997.
[21] R. Srikant, “The Mathematics of Internet Congestion Control”, Birkhauser, 2004.
[22] XU Hua-rong, LI Ming-shi, “Real-time Video Transmission Subsystem Based on RTP”, in: Computer Engineering and Design, Vol. 26, China, 2005.
[23] Ma Chuan, Liu Zhijing, “The Implement of Video Real-time Transport in RTP”, China ,2004.
[24] Zhao Yingying, Zhang Lanfen, “Research and Implementation on Media Transmission Based on RTP”, China, 2006.
[25] Zhu Peng, Li Chunwen, “Design an Implementation of a Transport System Based on RTP for Video Streaming over the Internet”, Beijing, 2003.
[26] Yunhong Gu, Robert L. Grossman, “Supporting Configurable Congestion Control in Data Transport Services”. SC 2005, Nov 12-18, Seattle, WA.
[27] UDT soft development kit, UDT sdk 4.0a: http://sourceforge.net/projects/udt/.
[28] T. V. Lakshman, Upamanyu Madhow, “The Performance of TCP/IP for
Networks with High Bandwidth-Delay Products and Random Loss”. IEEE/ACM
Transaction on Networking, Vol. 5, No. 3, June 1997.
[29] 孫文賽, 唐澤聖, “用於傳輸複雜三維網絡模型的最佳傳輸方案研究”, 澳門, 2009.
[30] Mark, R. Meiss, Tsunami, “A High-Speed Rate-Controlled Protocol for File Transfer”, Sep. 28, 2004.
[31] R. R. Stewart, Q. Xie, K. Morneault, C. Sharp, H. J. Schwarzbauer, T.
Taylor, I. Rytina, M. Kalla, L. Zhang, and V. Paxson, “Stream Control
Transmission Protocol”. RFC 2960, Oct. 2000.
[32] Eddie Kohler, Mark Handley, Sally Floyd, Jitendra Padhye, “Datagram
Congestion Control Protocol (DCCP)”, http://www.icir.org/kohler/dcp/. Jan. 2005.
[33] H. Schulzrinne, S. Casner, R. Frederick, and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications”.1889.
[34] D. Clark, M. Lambert, and L. Zhang, “NETBLT: A High Throughput Transport Protocol". ACM SIGCOMM '87, Stowe, VT, Aug. 1987.
[35] S. H. Rodrigues, T. E. Anderson, and D. E. Culler, “High-Performance Local Area Communication with Fast Sockets”. USENIX '97, Anaheim, California, January 6-10, 1997.
[36] Van Jacobson, Michael J. Karels, "Congestion Avoidance and Control", in Proceedings of the Sigcomm '88, Stanford, CA, August, 1988.
[37] D. Chiu and R. Jain, "Analysis of the Increase/Decrease Algorithms for Congestion Avoidance in Computer Networks", Journal of Computer Networks and ISDN, Vol. 17, No. 1, June 1989, pp. 1-14.
[38] TCP Congestion Control: http://en.wikipedia.org/wiki/Transmission_Control_Protocol
[39] Linux: SOCK_PACKET and PF_PACKET: http://books.gigatux.nl/mirror/unixnetworkprogramming/0131411551_ch29lev1sec4.html
[40] Randa El-Marakby, David Hutchison, "Integrating RTP into the World Wide Web," RTMW'96 Workshop , 1996.
[41] Fan Ya-qin, Zhang Li-chui, Qi Xiao-li, “Application of RSVP on QoS of the VoIP Network”, Journal of Jilin University (Information Science Edition), Vol.22, No2, China, Mar. 2004.
[42] Chen Song, Ji Chang-peng, “Application of UDT in Microseism Data Transmission System”, CCCM 2009, Vo1. 4, China, Aug. 2009.
[43] Dosik An, Jongseon Park, Gicheol Wang, Gihwan Cho, “An Adaptive UDT Congestion Control Method with Reflecting of the Network Status”, Information Networking(ICOIN), 2012 International Conference, Feb. 2012.
[44] Tos U., Ayav T., “Adaptive RTP Rate Control Method”, COMPSACW, Turkey, July. 2011.
[45] Peng Ling, Li ShaoWen, “An Improved Algorithm of RTP Adaptive Transmission Control”, WGEC ’09, China, Oct. 2009.
[46] Edwan T.A., Lin Guan, Oikonomou G., Phillips I., “Higher Order Delay Functions for Delay-loss Based TCP Congestion Control”, WiAD, UK, June 2010.
[47] Sun Xiaoling, “TCP Congestion Control Algorithm Research”, ICIDT, Vol. 3, China, June 2012.
[48] Anastasi G.F., Cucinotta T., Lipari G., Garcia-Valls M., “A QoS Registry for Adaptive Real-time Service-oriented Applications”, SOCA, Italy, Dec. 2011.
[49] Naor Z., Das S.K., “Mobile Real-time Group Communication Service”, INFOCOM, Haifa, March 2010.
[50] Panahi M., Weiran Nie, Lin K.J., “A Framework for Real-time Service-Oriented Architecture”, CEC ’09, USA, July 2009.
[51] Jin Wang, Jinsong Cho, Sungyoung Lee, Tinghuai Ma, “Real time Services for Future Cloud Computing Enabled Vehicle Networks”, WCSP, South Korea, Nov. 2011.
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code