謝宏昀臺灣大學:電信工程學研究所李中崴Li, Chung-WeiChung-WeiLi2007-11-272018-07-052007-11-272018-07-052006http://ntur.lib.ntu.edu.tw//handle/246246/58833The objective of the thesis is to design and implement algorithms for seamless vertical handoff between GSM and VoWLAN on dual-mode mobile devices. Due to the low cost of WLAN chips, in the future everyone is expected to own one or more dual-mode handsets equipped with the GSM and WLAN modules. Although the users can access GSM and WLAN simultaneously, they still won't feel convenient without the interoperability between GSM and WLAN. For example, people wish to use VoIP through WLAN access to save money but use GSM audio service to maintain session continuity. Currently, there are several research endeavors working toward solving the vertical handoff problems between GSM and VoWLAN access, including proprietary and standardized solutions. However, current proprietary solutions are designed for specific dual-mode clients and the users cannot enjoy the vertical handoff services without the specific handsets. Standardized solutions are designed for GSM telephony operators and hence vertical handoff services will fail if the users are not within the coverage of corresponding WLAN service. Therefore, we need to design a flexible vertical handoff solution to satisfy all situations, including all kinds of dual-mode clients, different WLAN operators, and different GSM operators. To design our intelligent vertical handoff algorithm, we conduct several experiments to figure out potential problems during the vertical handoff procedure. By way of the experimental results we understand that the problems of deciding handoff timing and synchronizing two different audio streams are the most critical issues. To perform seamless vertical handoff between VoWLAN and GSM accesses, we design the handoff decision mechanism to ensure that the GSM and VoWLAN coverage will overlap. By utilizing the audio time-scaling method, we design an audio mixing mechanism to ensure seamless audio switching between GSM and VoWLAN. To implement the algorithm on a dual-mode client, we make several modifications on related entities. At the remote client side, we let it respond to the handoff querying by using winsock programming. At the dual-node client side, we do the handoff triggering and modify the SIP softphone to perform audio waveform tapping for controlling and buffering the instant audio streams of GSM and VoWLAN. The results show that without audio mixing algorithm, there is audio block for more than three hundred milliseconds. With audio mixing mechanism, on the other hand, there is no audio gap during the vertical handoff procedure and the audio streams can be seamlessly migrated. Hence, the proposed vertical handoff algorithms with audio mixing can help the dual-mode client seamlessly switch the audio path and achieve seamless vertical handoffs between GSM and VoWLAN.LIST OF TABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv LIST OF FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v ABSTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii 1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 BACKGROUND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1 Voice over IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1.1 Basic SIP Architecture . . . . . . . . . . . . . . . . . . . . . 6 2.1.2 SIP Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2 GSM Infrastructures and Interoperability with IP Networks . . . . . 13 2.2.1 GSM Infrastructures . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.2 SIP Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.3 Interoperability between GSM and SIP . . . . . . . . . . . . 16 2.3 Current Solutions for Vertical Handoff . . . . . . . . . . . . . . . . . 18 2.3.1 Proprietary Solutions . . . . . . . . . . . . . . . . . . . . . . 18 2.3.2 Unlicensed Mobile Access (UMA) . . . . . . . . . . . . . . . 19 2.3.3 Solutions of Researched Communities . . . . . . . . . . . . . 27 3 CHALLENGES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.1 SIP for Vertical Handoffs . . . . . . . . . . . . . . . . . . . . . . . . 32 3.2 Handoff Decision Problem . . . . . . . . . . . . . . . . . . . . . . . . 33 3.2.1 Call Setup Time Measurement . . . . . . . . . . . . . . . . . 34 3.2.2 Voice Quality Measurement . . . . . . . . . . . . . . . . . . . 36 3.3 Audio Synchronization Problem . . . . . . . . . . . . . . . . . . . . 38 4 ALGORITHM DESIGN . . . . . . . . . . . . . . . . . . . . . . . . . 42 4.1 Vertical Handoff Procedure . . . . . . . . . . . . . . . . . . . . . . . 43 4.2 Handoff Decision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4.3 Audio Mixing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4.3.1 Audio Time-Scaling Algorithm . . . . . . . . . . . . . . . . . 49 4.4 Seamless Vertical Handoff Algorithm . . . . . . . . . . . . . . . . . . 53 4.4.1 Vertical Handoff Procedure from GSM to VoWLAN . . . . . 53 4.4.2 Vertical Handoff Procedure from VoWLAN to GSM . . . . . 55 5 IMPLEMENTATION . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.1 Dual-Mode Client Modification . . . . . . . . . . . . . . . . . . . . . 57 5.1.1 Handoff Trigger . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.1.2 Auto-Answer Mode . . . . . . . . . . . . . . . . . . . . . . . 58 5.1.3 Waveform Tapping . . . . . . . . . . . . . . . . . . . . . . . 60 5.2 Remote Client Modification . . . . . . . . . . . . . . . . . . . . . . . 63 6 TESTBED EVALUATION . . . . . . . . . . . . . . . . . . . . . . . . 64 6.1 Testbed Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 6.2 Vertical Handoff Operations . . . . . . . . . . . . . . . . . . . . . . 65 6.3 Results and Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . 66 6.3.1 Audio Waveforms . . . . . . . . . . . . . . . . . . . . . . . . 67 6.3.2 Metric Evaluation . . . . . . . . . . . . . . . . . . . . . . . . 70 7 CONCLUSION AND FUTURE WORK . . . . . . . . . . . . . . . 75 REFERENCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764684713 bytesapplication/pdfen-US垂直換手無線網路行動電話網路vertical handoffGSMVoWLAN支援雙模行動裝置語音通訊之無縫垂直換手機制設計與實作Design and Implementation of Seamless Vertical Handoff Algorithms for Voice Communications on Dual-Mode Mobile Devicesthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/58833/1/ntu-95-R93942109-1.pdf