謝宏昀臺灣大學:電信工程學研究所廖碩唯Liao, Shuo-WeiShuo-WeiLiao2007-11-272018-07-052007-11-272018-07-052007http://ntur.lib.ntu.edu.tw//handle/246246/58734隨著科技的發展,掌上型行動裝置的運算能力已大幅度的提升,並能透過各種異質的無線介面,使用網路提供的各種服務與應用,尤其是使用視訊串流技術收看隨選視訊已成為相當重要的應用。然而,一般在行動裝置上的視訊串流皆是使用單一無線網路作為傳輸媒介,由於無線網路具有許多不良的特性,視訊串流在無線網路上的效果不甚理想。儘管部份相關研究提出同時使用多重路徑來提昇視訊串流的品質,但是並未考量到行動裝置上無線多網的異質性,對於進ㄧ步關於有限電力資源以及通訊費用方面的討論,更是付之闕如。 本篇論文提出一個能夠在異質無線多網下運作的視訊串流封包分送系統。透過即時考量異質網路的頻寬、延遲變動等特性,再佐以獨特的跨層式設計,希望能在考慮底層能量消耗以及通訊費用的情形下,提供給使用者更佳的使用經驗以及更長的裝置可用時間。本論文首先分析無線網路造成視訊串流效果不理想的原因,包括相對於有線網路較高錯誤率、頻寬及封包延遲時間的變異性。其次介紹本論文提出的封包分送系統,並特別描述如何使用跨層的資訊如訊框的重要性、電力資源的消耗量等,以決定封包分送的策略,達到最佳的收視品質。最後經由NS-2模擬的結果驗證,使用此篇論文所提出的幾個機制,可以有效的降低重要訊框的遺失率,並且能在有限的電力資源以及通訊費用之下,提供視訊串流影像畫質大約2~3dB的增益。The objective of this thesis is to design and implement a cross-layer packet striping framework for video streaming in heterogeneous wireless networks. Due to the great progress of processing speed of integrated chips and cost down of small size color screens in recent years, mobile devices today are able to display color video clips well and to connect to various wireless networks through different network interfaces. With those abilities the users always want to stream video on them. Traditional video streaming framework can always uses only one network interface. However due to the unstable characteristics of wireless transmission channels, the quality is not well after all. In order to overcome this problem, this thesis tries to use the available links on mobile devices spontaneously to improve overall wireless networks reliability. A packet striping framework is designed to schedule the video packets to the links to provide better video streaming quality. However, some resources such as communication fee or battery power on mobile device are valuable to users. To increase the feasibility of the packet striping framework, the usage of resource is also considered while designing the framework. Finally, simulations are conducted on NS-2 to show the effectiveness of the proposed cross-layer packet striping framework.ABSTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii LIST OF TABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi LIST OF FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii CHAPTER 1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . 1 CHAPTER 2 BACKGROUND AND MOTIVATION . . . . . . . . 4 2.1 Video Technology Fundamental . . . . . . . . . . . . . . . . . . . . . 4 2.1.1 Video Coding . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1.2 Video Streaming . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1.3 Tools to Evaluate the Video Quality . . . . . . . . . . . . . . 7 2.2 Performance of Video Streaming on Wireless Network . . . . . . . . 11 2.2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2 The UMTS Wireless Network . . . . . . . . . . . . . . . . . . 13 2.2.3 The 802.11 Wireless Network . . . . . . . . . . . . . . . . . . 15 2.2.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.3 Problems Causing Video Quality Degradation . . . . . . . . . . . . . 18 2.3.1 Packet Loss in Wireless Networks . . . . . . . . . . . . . . . 18 2.3.2 Insu±cient Link Bandwidth . . . . . . . . . . . . . . . . . . 21 2.3.3 Large Range of Packet Delay Jitter . . . . . . . . . . . . . . 23 2.3.4 Special Characteristics of Video Packets . . . . . . . . . . . . 25 2.3.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.4 Using Path Diversity to Improve Video Streaming Quality . . . . . . 26 CHAPTER 3 CROSS-LAYER PACKET STRIPING FRAMEWORK 28 3.1 Cross-Layer Considerations . . . . . . . . . . . . . . . . . . . . . . . 28 3.1.1 Power Resource of Wireless Interfaces . . . . . . . . . . . . . 30 3.1.2 Communication Fee . . . . . . . . . . . . . . . . . . . . . . . 32 3.1.3 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.2 System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.2.1 User Preference Tracker . . . . . . . . . . . . . . . . . . . . . 36 3.2.2 Power Consumption Manager . . . . . . . . . . . . . . . . . . 36 3.2.3 Communication Fee Manager . . . . . . . . . . . . . . . . . . 36 3.2.4 Video Packet Analyzer . . . . . . . . . . . . . . . . . . . . . 37 3.2.5 Packet Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.2.6 Video Packet Dispatcher . . . . . . . . . . . . . . . . . . . . 38 3.2.7 Network Monitor . . . . . . . . . . . . . . . . . . . . . . . . 38 CHAPTER 4 DESIGN OF THE PACKET STRIPING ALGORITHM 41 4.1 Simplistic Packet Striping Algorithms . . . . . . . . . . . . . . . . . 41 4.1.1 Randomized Striping . . . . . . . . . . . . . . . . . . . . . . 41 4.1.2 Sequential Striping . . . . . . . . . . . . . . . . . . . . . . . 42 4.1.3 Duplicated Striping . . . . . . . . . . . . . . . . . . . . . . . 42 4.1.4 Round-Robin Striping . . . . . . . . . . . . . . . . . . . . . . 43 4.2 Ideal Packet Striping Algorithm . . . . . . . . . . . . . . . . . . . . 44 4.2.1 Basic Notations . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.2.2 Striping Strategy . . . . . . . . . . . . . . . . . . . . . . . . 45 4.2.3 Video Quality Estimation and Optimization . . . . . . . . . 46 4.2.4 Computation Complexity . . . . . . . . . . . . . . . . . . . . 47 4.3 Proposed Cross-Layer Striping Algorithm . . . . . . . . . . . . . . . 49 4.3.1 Cross-Layer Mechanisms . . . . . . . . . . . . . . . . . . . . 49 4.3.2 Packet Striping Algorithm . . . . . . . . . . . . . . . . . . . 52 CHAPTER 5 SIMULATION RESULTS . . . . . . . . . . . . . . . . . 56 5.1 Simulation Models on Network Simulation 2 . . . . . . . . . . . . . 56 5.1.1 Basic Video Streaming Model . . . . . . . . . . . . . . . . . 56 5.1.2 Network Delay Jitter Model . . . . . . . . . . . . . . . . . . 59 5.2 Parameters and Implementation . . . . . . . . . . . . . . . . . . . . 62 5.3 Bene‾ts of Proposed Mechanisms . . . . . . . . . . . . . . . . . . . 63 5.3.1 Video Frame Importance Determination Mechanism . . . . . 64 5.3.2 Network Loss Rate Consideration . . . . . . . . . . . . . . . 66 5.3.3 Network Delay Jitter Modeling . . . . . . . . . . . . . . . . . 67 5.3.4 Group of Frame Mechanism . . . . . . . . . . . . . . . . . . 68 5.4 Unconstrained Resource Case . . . . . . . . . . . . . . . . . . . . . . 69 5.4.1 Insu±cient Bandwidth . . . . . . . . . . . . . . . . . . . . . 70 5.4.2 Just Enough Bandwidth . . . . . . . . . . . . . . . . . . . . 73 5.4.3 Plenty Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . 75 5.5 Communication Fee Constraint . . . . . . . . . . . . . . . . . . . . . 75 5.5.1 Both Links are Charged Packet by Packet . . . . . . . . . . . 77 5.5.2 Only UMTS Link is Charged Packet by Packet . . . . . . . . 80 5.6 Battery Power Constraint . . . . . . . . . . . . . . . . . . . . . . . . 81 5.6.1 Discussion on Power-Aware Frame Importance . . . . . . . . 82 5.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 CHAPTER 6 CONCLSION AND FUTURE WORK . . . . . . . . . 85 REFERENCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86en-US異質無線多網視訊串流封包分送跨層雙模多模video streamingpacket stripingcommunication feecross-layerpacket schedulingheterogeneouswireless network異質無線多網下視訊串流封包分送系統之跨層設計與研究A Cross-Layer Packet Striping Framework for Video Streaming in Heterogeneous Wireless Networksthesis