跳到主要內容

簡易檢索 / 詳目顯示

研究生: 劉炳榮
Bing-Rong Liu
論文名稱: 具QoS功能的Home Gateway之設計與實現
The Design and Implementation of a QoS Home Gateway
指導教授: 吳曉光
Hsiao-kuang Wu
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 資訊工程學系
Department of Computer Science & Information Engineering
畢業學年度: 91
語文別: 英文
論文頁數: 52
中文關鍵詞: 差異性服務多媒體
外文關鍵詞: Home Gateway, Quality of Service (QoS), Diffserv
相關次數: 點閱:7下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 寬頻的到來使得家庭用戶能從Internet使用多媒體資料。Home gateway為提供家中電腦及資訊家電存取Internet的寬頻設備,在Home gateway相關的研究中包含了為連接Home network使用多種網路技術,保全,服務資訊提供及網路品質保證(QoS)等。當越來越多種設備都經由home gateway連上Internet時,QoS就越顯得重要。若home gateway沒有適當的機制配合,對VoIP一類有即時資料需求的使用端會因競爭產生packet loss或jitter等影響。然而,目前大部分的home gateway尚未將QoS內建。本研究的目的即為設計並實作一具備QoS功能的home gateway。本研究假設在core network端已有Diffserv來支援由home gateway出去的封包。其面臨的困難在於找出一個有效支援QoS的queuing方法,同時此方法還要能在有限的硬體資源上實現。主要的queuing採用了CBQ,選用的原因是根據在NS2中模擬分析後得到的結果。硬體平台使用了FPGA處理封包,另連接兩張乙太網路卡。軟體部分使用了小型的embedded OS及IP stack,並加入CBQ的功能。最後也建立了一個測試環境來檢驗結果。


    The broadband technologies such as ADSL have enabled delivering multimedia streams to the residential users. A home gateway is a broadband network device that provides Internet access for home equipments, including PCs, IAs (Information Appliances), and telecommunication devices. Critical issues for a home gateway have been under investigation, such as new network interface, security, resource discovery, and QoS. Without a QoS mechanism on the home gateway, packet loss and jitter can significantly affect the multimedia sessions such as VoIP. Most existing home gateways provide preliminary functions such as NAT, firewall, but they do not support QoS enable functions. This thesis designs and implements a QoS supported home gateway. The contributions of this thesis include analyzing the appropriate queuing disciplines, and implementing a CBQ engine on an embedded resource limited platform. A CBQ engine, with three queues, is implemented based on the result of our model and simulation in NS-2. This home gateway hardware is implemented on a FPGA board, with two Fast-Ethernet interfaces. An embedded OS and a light weight IP stack were adopted and modified to adapt to our QoS mechanism. Several multimedia stream application experiments are performed to validate the functionality.

    CONTENTS Abstract I 摘要 II Contents III List Of Figures V List Of Tables VI CHAPTER 1 1 Background and Introduction 1 1.1 The Home Network 1 1.2 The role of a Home Gateway in the Home Network 3 1.3 Home Gateway QoS requirement 4 1.4 Contributions and Challenges 9 1.5 Organization of this Thesis 11 CHAPTER 2 12 Related Work 12 2.1 Queuing Disciplines 12 2.2 QoS Gateway Implementations and Experiments 14 2.3 Motivation: Simple queuing engine on embedded system 15 CHAPTER 3 16 Home Network Modeling And Simulation 16 3.1 Network Environment 16 3.2 Simulation Scenarios 17 3.3 Simulation results and Analysis 18 3.4 CBQ as the Solution 22 CHAPTER 4 25 Implementation 25 4.1 System Architecture 25 4.2 Hardware Architecture Detail 26 4.3 Software Architecture Detail 28 4.4 System Operation 29 4.5 Egress queuing 31 4.6 Bandwidth Controlling 33 4.7 System Usage 34 CHAPTER 5 36 Implementation Experiments 36 5.1 Test Environment and Applications 36 5.2 Results and Comparison 39 CHAPTER 6 45 Conclusion and Future Work 45 References 47 Appendix A 52 Implementation Platform 52 LIST OF FIGURES Figure 1 1: An Example for Home Network Applications 2 Figure 1 2: A Diffserv Network 7 Figure 3 1: Ns-2 Simulation Model 17 Figure 3 2: Ideal average throughput of VoIP 19 Figure 3 3: Comparing average throughput of VoIP 20 Figure 3 4: Comparing average throughput of VoIP 21 Figure 3 5: Comparing average throughput of Video 22 Figure 4 1: Overview of the Home Gateway System Hardware Architecture 25 Figure 4 2: Home Gateway System Software Architecture 26 Figure 4 3: IP packet flow 30 Figure 4 4: Converting Ethernet frame to pbufs 31 Figure 4 5: IP stack and device driver 32 Figure 4 6: IP stack and CBQ engine 32 Figure 4 7: CBQ engine and Device driver 33 Figure 4 8: One Usage of the QoS supported Home Gateway 34 Figure 5 1: Test environment 36 Figure 5 2: Logic view of the Test environment 37 Figure 5 3: Test environment 37 Figure 5 4: Application flows go through the home gateway 39 Figure 5 5: VoIP throughput with CBQ support in Scenario 1 40 Figure 5 6: VoIP and H.323 throughput with CBQ support 43 LIST OF TABLES Table 3 1: Sender Parameters for Scenario 1 20 Table 3 2: Sender Parameters for Scenario 2 21 Table 3 3: Sender Parameters for Scenario 3 22 Table 4 1: Hardware Components 27 Table 4 2: Resources used on FPGA 28 Table 4 3: Home Gateway software components 29 Table 4 4: lwIP Pbuf structure 31 Table 4 5: Example rules for setting up the home gateway 35 Table 5 1: Parameters for each application 39 Table 5 2: Queuing Parameters for each application in scenario 1 39 Table 5 3: Average throughput in Scenario 1 41 Table 5 4: QoS throughput achieved in Scenario 1 41 Table 5 5: Queuing Parameters for each application in scenario 2 42 Table 5 6: Average throughput in scenario 2 43 Table 5 7: QoS throughput achieved in scenario 2 44

    REFERENCES
    [1] “IEEE pervasive computing”, http://www.computer.org/pervasive/
    [2] "TechHome Guide to Home Networks", http://www.ce.org/publications/books_references/techhome/home/default.asp
    [3] http://www.bluetooth.com/
    [4] "IEEE 802.3u-1995", http://standards.ieee.org/getieee802/802.3.html
    [5] “The HomePlug Powerline Alliance”, http://www.homeplug.org/index_basic.html.
    [6] http://www.1394ta.org
    [7] http://www.usb.org
    [8] http://standards.ieee.org/getieee802/802.11.html
    [9] http://homerf.org
    [10] http://www.palowireless.com/uwb/
    [11] http://www.havi.org
    [12] http://www.upnp.org
    [13] http://www.jini.org
    [14] http://www.vesa.org
    [15] http://www.osgi.org
    [16] http://www.adsl.com
    [17] http://www.vdslalliance.com
    [18] Postel, Jon, “Internet Protocol – DARPA Internet Program Protocol Specification,” RFC791, DARPA, 1981
    [19] Postel, J., "Transmission Control Protocol – DARPA Internet Program Protocol Specification", RFC 793, DARPA, September 1981
    [20] Postel, J., "User Datagram Protocol", RFC 768, USC/Information Sciences Institute, September 1981
    [21] Saito, T., Tomoda, I., Takabatake, Y., Teramoto, K., Fujimoto, K., “Gateway technologies for home network and their implementations”, Distributed Computing Systems Workshop, 2001 International Conference on , 16-19 April 2001
    [22] R. Braden, D. Clark, and S. Shenker, “Integrated services in the Internet Architecture: An Overview”, RFC 1633, June 1994.
    [23] S. Blake, D. Black, M. Carlson, E. Davies, Z. Wang, AND W. Weiss, “An architecture for differentiated services,” RFC 2475,IETF, Dec. 1998
    [24] E. Rosen, A. Viswanathan, and R. Callon, “Multiprotocol Label Switching Architecture,” RFC 3031, Jan. 2001.
    [25] R. Braden, L. Zhang, S. Berson, S. Herzog, and S. Jamin, “Resource reServation protocol (RSVP) version 1 functional specification,” RFC 2205, Sept. 1997
    [26] K. Nichols, S. Blake, F. Baker, and D. Black, “Definition of the differentiated services field (DS field) in the IPv4 and IPv6 headers,” IETF RFC 2474, December 1998.
    [27] V. Jacobson, K. Nichols, K. Poduri, “An Expedited Forwarding PHB,” RFC 2598, June 1999
    [28] J. Heinanen, F. Baker, W. Weiss and J. Wroclawski, "Assured Forwarding PHB Group," RFC 2597, Jun. 1999
    [29] M. Handley, H. Schulzrinne, E. Schooler, and J. Rosenberg, “SIP: session initiation protocol,” RFC 2543, March 1999.
    [30] Case, J., Fedor, M., Schoffstall, M., Davin, J, “A Simple Network Management Protocol (SNMP),” RFC1157
    [31] D. Durham, et al. “The COPS (Common Open Policy Service) Protocol,” RFC 2748, January 2000
    [32] S. Floyd, V. Jacobson, ”Link-sharing and resource management models for packet networks,” Networking, IEEE/ACM Transactions on, Volume: 3 Issue: 4, Aug. 1995, Page(s): 365 –386
    [33] K. Mezger, D. W. Petr and T. Kelley, "Weighted Fair Queueing vs. Weighted Round Robin: A comparative Analysis", IEEE Wichita Conference on Communications, Networking and Signal Processing, April 1994.
    [34] M. Shreedhar, G. Varghese, “Efficient Fair Queuing Using Deficit Round Robin,” IEEE/ACM Trans. Networking, vol.4, 6/96, pp.375-85
    [35] “ARM,” http://www.arm.com
    [36] “MIPS,” http://www.mips.com
    [37] “Nios 3.0 CPU Data Sheet,” http://www.altera.com/literature/ds/ds_nioscpu.pdf
    [38] G. Huston, “Internet Performance Survival Guide,” Wiley, 2000.
    [39] “Network Simulator – ns (version 2)”, development through the VINT project at LBNL, Xerox PARC, UCB, and USC/ISI”, URL:http://www.isi.edu/nsnam/ns/index.html
    [40] “References on CBQ”, http://www.icir.org/floyd/cbq.html
    [41] A. K. Parekh and R. G. Gallager, “A generalized processor sharing approach to flow control - the single node case”, in IEEE INFOCOM 1992, May 1992.
    [42] S. Jamaloddin Golestani. “A self-clocked fair queuing scheme for broadband applications”, In Proceedings of the Conference on Computer Communications(IEEE Infocom), Toronto, Canada, June 1994. IEEE.
    [43] Jon C. R. Bennett and Hui Zhang. “WF²Q: Worst-case Fair Weighted Fair Queuing”, In Proceedings of the Conference on Computer Communications (IEEE Infocom), San Francisco, California, Marc 1996.
    [44] Pawan Goyal, Harrick Vin, and Haichen Cheng. “Start-time fair queuing: A scheduling algorithm for integrated services packet switching networks”. In SIGCOMM Symposium on Communications Architectures and Protocols, Stanford, California, August 1996.
    [45] M. May et al. "1-Bit Schemes for Service Discrimination in the Internet: Analysis and Evaluation", INRIA Research Report, August 1997.
    [46] Anton Kos, Saso Tomazic, “A Two-bit Scheme for Services Differentiation in IP Networks”, In Mediterranean Electrotechnical Conference, 2000.
    [47] Werner Almesberger, “Linux Network Traffic Control – Implementation Overview”
    [48] Kenjiro Cho. The Design and Implementation of the ALTQ Traffic Management System, Thesis, Keio University, January 2001.
    [49] ITU-T, “Recommendation G.729: Coding of Speech at 8 kbit/s using Conjugate Structure Algebraic Code Excited Linear Prediction (CS-ACELP),” Mar. 1996.
    [50] “Scalable portable Architecture,” http://www.sparc.com
    [51] Jean Labrosse, “µC/OS-II, The Real-Time Kernel, 2nd,” CMP Books, June, 2002
    [52] µC/OS-II Nios port, http://www.ucos-ii.com/contents/products/ucos-ii/ports-misc.html
    [53] Adam Dunkels, “Minimal TCP/IP implementation with proxy support,” Technical Report T2001:20, SICS - Swedish Institute of Computer Science, February 2001.
    [54] Konrad, Guido, Port to uCOS-II http://mail.gnu.org/archive/html/lwip-users/2003-01/msg00148.html

    QR CODE
    :::