簡易檢索 / 詳目顯示

研究生: 陳品良
Pin-Liang Chen
論文名稱: Android VoIP系統之電耗研究
Study on Power Consumption of Android-Based VoIP Systems
指導教授: 陳俊良
Jiann-Liang Chen
口試委員: 郭斯彥
Sy-Yen Kuo
趙涵捷
Han-Chieh Chao
吳中實
Jung-Shyr Wu
黎碧煌
Bih-Hwang Lee
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2012
畢業學年度: 100
語文別: 英文
論文頁數: 76
中文關鍵詞: IP電話電能消耗編/解碼模組SIPAndroid手機G.722H.264
外文關鍵詞: VoIP, Power Consumption, Codec, SIP, Android Systems, G.722, H.264
相關次數: 點閱:233下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

近年來,隨著行動通訊網路的迅速發展,傳統電話單單只有語音的溝通模式已不符合需求,故網路視訊通話近年逐漸取代傳統硬體網路電話,但目前主要的網路視訊通話系統技術多集中在傳統電腦微軟、蘋果作業系統架構下,在傳統電腦硬體架構下不需考慮到視訊通話的電能耗損,但在Android系統上電能消耗為非常重要之議題,故目前Android系統未能有兼顧電能耗費與語音效果佳的視訊通話軟體。

VoIP技術包含語音與視訊的編/解碼,一般在視訊通話中最消耗電能的部份為編/解碼,故本研究特別針對不同的編/解碼模組進行分析研究,找出最適合在Android系統上運行的視訊通話軟體,並且比較現有的視訊通話軟體與本研究所提出之最佳編/解碼模組在Android系統上的耗電情況。本研究設計一系統架構包含:視訊通話伺服器、轉傳伺服器、Proxy伺服器、視訊通話使用者端軟體及記錄Android系統電能消耗軟體。且本系統仍依據RFC3261作為系統通訊規範。

本研究透過VoIP伺服器內的編/解碼核心可擴充性,將語音編碼GSM、Speex、PCMU、PCMA與G.722置入核心內,並將使用者端也置入相同的語音編碼,此時,即可利用使用者端Android 4.0智慧型手機進行語音會議,量測上述六種語音編/解碼的耗電能,在取得語音通話品質與電耗之間的最佳平衡點後,將其與目前市面上兩種主要VoIP系統Skype、Google Talk比較,在語音會議部分採用G.722可以獲得優化的通話品質與電能耗費,在視訊通話則採用G.722搭配H.264可獲得優化的通話品質與電能耗費。


Recently because of the rapid development of mobile communication networks, the traditional telephone system is using only for the communication of the voice, which does not meet the present customer demands. So the video calls in recent years gradually replace traditional PSTN, but the main network video technology is more concentrated in the traditional computer, Microsoft and Apple operating systems architecture. Without considering the traditional computer hardware architecture, taking into account of power consumption of the video call, on Android systems, very important issues still not have power consumption and quality applications.

VoIP technology involves voice and video encoding and decoding. Usually most of the video call encoding / decoding will have more power consumption. This study uses different encoding / decoding module, and identifies the most suitable video call application running on Android, and proposes optimal tradeoff encoding / decoding module power consumption on Android systems. The design system architecture includes: video call server, transmission server, a proxy server, a video call client application and recording Android systems power consumption application. This system is based on the RFC3261 specification for communications.

This study on scalability of VoIP server codec core embedded voice codec GSM, Speex, PCMU and PCMA, and the smartphone applications also have same codec. We use android 4.0 smartphones conduct voice conference, and measure six types of codec, therefore, we will get power consumption and voice quality tradeoff by methods execution. We compare commercial VoIP systems Skype and Google Talk, and then the voice conference in G.722 and video conference in G.722 and H.264 can get the optimized quality and power consumption.

摘要 I Abstract II 致謝 III Content III List of Figures IV List of Tables VI Chapter 1 Introduction 1 1.1 Motivation 1 1.2 Contribution of This Thesis 3 Chapter 2 Background Knowledge 4 2.1 Communication Protocol 4 2.2 Multimedia Codec 15 2.2.1 Voice Codec 16 2.2.2 Video Codec 18 Chapter 3 XMPP Based VoIP System 20 3.1 XMPP Protocol 20 3.2 Jingle 22 Chapter 4 System Architecture 31 4.1 SIP Server 31 4.1.1 Asterisk 31 4.1.2 Asterisk Operation 35 4.2 SIP Client 39 4.3 Integrate Servers and Client 47 Chapter 5 Implementation and Performance Analysis 50 5.1 Implementation 50 5.1.1 Scenario Environment 50 5.1.2 System Implementation 50 5.2 Performance Analysis 67 Chapter 6 Conclusion and Future Work 71 6.1 Conclusion 71 6.2 Future Work 71 References 73

[1] D.Schlosser, M. Jarschel, V. Burger and R. Pries, “Monitoring the user perceived quality of SILK-base voice call,” Telecommunication Networks and Applications Conference, pp. 78-83, Nov. 2010.
[2] K. Paul and T.K. Kundu, “Android on Mobile Devices : An Energy Perspective, ” Computer and Information Technology (CIT), pp. 2421-2426, July. 2010.
[3] J. Rosenberg, H. Schulzrinne and G. Camarillo, “The Stream Control Transmission Protocol (SCTP) as a Transport for the Session Initiation Protocol (SIP),” RFC4168 IETF, The Internet Society (2005).
[4] P. Resnick, “Internet Message Format,” RFC2882, July 2000.
[5] M. Handley and V. Jacobson, “SDP: Session Description Protocol,” RFC2327, April 1998.
[6] J.Rosenberg and H. Schulzrinne, “Session Initiation Protocol (SIP): Locating SIP Servers,” RFC3263, Jun 2002.
[7] M.A. Ramirez and M. Minami, “Techonology and Standards for Low-Bit-Rate vocoding methods,” in The Handbook of Computer Networks, H. Bidgoli, Ed, New York: Wiley, vol. 2, pp.447-467, 2008.
[8] A. Sollaud “RTP Payload Format for ITU-T Recommendation G.711.1,” RFC6391 Nov. 2008.
[9] K. Vos, S. Jensen and K. Soerensen “SILK Speech Codec Draft-Vos-Silk-02,” Internet-Draft, March, 2011.
[10] G.J. Sullivan, P. Topiwala and A. Luthra, “The H.264/AVC Advanced Video Coding Standard: Overivew and Introduction to the Fidelity Range Extensions,” SPIE Conference, Jan, 2005.
[11] J. Bankoski, J. Koleszar, L. Quillio, J. Salonen, P. Wilkins and Y. Xu, “VP8 Data Format and Decoding Guide,” RFC6386, Nov, 2011.
[12] WebM an open web media project, http://www.webmproject.org/.
[13] J.V. Meggelen, L. Madsen and J. Smith, “Asterisk: The Future of Telephony,” O’Reilly Media, vol. 1, pp.11-34, Aug, 2007.
[14] M. Daniele, B. Haberman, S. Routhier and J. Schoenwaelder, “Textual Conventions for Internet Network Addresses,” RFC3291, May. 2002
[15] S. Ludwig, P Saint-Andre, S. Egan, R. McQueen and D. Cionoiu, “Jingle RTP Session,” XEP-0167 Draft, Dec. 2009.
[16] P. Saint-Andre, “Jingle File Transfer,” XEP-0234 Experimental, Feb. 2012.
[17] P. Saint-Andre, J. Karneges and D. Meyer, “Jingle XML Streams,” XEP-0247 Deferred, Feb. 2009.
[18] J. Postel, “User Datagram Protocol,” RFC768, Aug. 1980.
[19] J. Beda, P. Saint-Andre, S. Ludwig, J. Hildebrand and S. Egan, “Jingle Raw UDP Transport Method,” XEP-0177 Draft, Dec. 2009.
[20] J. Beda, S. Ludwig, P. Saint-Andre, J. Hildebrand S. Egan and R. McQueen, “Jingle ICE-UDP Transport Method,” XEP-0176 Draft, June. 2009.
[21] J. Postel, “Transmission Control Protocol,” RFC793, Sep. 1981.
[22] D. Smith, M. Miller, P. Saint-Andre and J. Karneges, “SOCKS5 Bytestreams,” XEP-0065 Draft, April. 2011
[23] P. Saint-Andre, D. Meyer, J. Karneges, M. Lundblad, T. Markmann and K. Harke, “Jingle SOCKS5 Bytestreams Transport Method,” XEP-0260 Draft, Sep. 2011.
[24] J. Karneges and P. Saint-Andre, “In-Band Bytestreams,” XEP-0047 Draft, Mar. 2011.
[25] P. Saint-Andre, “Jingle In-Band Bytestreams Transport Method,” XEP-0261 Draft, Sep. 2011.
[26] T. Dierks and E. Rescorla, “The Transport Layer Security (TLS) Protocol,” RFC5246, Aug. 2008.
[27] E. Rescorla and N. Modadugu, “Datagram Transport Layer Security,” RFC4347, Apr. 2006.
[28] M.A. Qadeer “Asterisk Voice Exchange: An Alternative to Conventional EPBX,” Computer and Electrical Engineering, pp.652-656, Dec, 2008.
[29] A. Imran, M.A. Qadeer and M. Khan “Asterisk VoIP Private Branch Exchange,” Multimedia, Aignal Processing and Communication Technologies, pp.217-220, Mar. 2009.
[30] F. Iseki, Y. Sato and M.W. Kim, “VoIP System Based on Asterisk for Enterprise,” Advanced Communication Technology (ICACT), pp.1284-1288, Feb. 2011.
[31] B. Russell, “The Architecture of Open Source Applications,” lulu.com, vol. 1, pp.20-87, Mar. 2012.
[32] Asterisk, http://www.asterisk.com
[33] L. Chu,”Implementation and Application of VoIP Network,” Artificial Intelligence, Management Science and Electronic Commerce (AIMSEC), pp.2139-2141, Aug. 2011.
[34] K. Lukas, N. Pavel, Z. Jaroslav, D. Patrik and P. Jan, “Remote Control of Asterisk via Web Services,” Telecommunications and Signal Processing (TSP), pp.27-30, Aug. 2011.
[35] S. Goel and M. Bhattacharya, “Speech Based Dialog Query System Over Asterisk PBX Server,” Signal Processing Systems (ICSPS), pp.V3-725-V3-756. July. 2010.
[36] Linphone, http://www.linphone.com
[37] L. Hu, X. Kong, L. Huang, H. Lin, J. Lin, Y. Yao and X. Jiang, “Implementation of G.729 Codec Based on Mediastreamer Technology,” Networking, Architecture, and Storage, pp.243-246, July. 2009.
[38] Y.D. Lin, C.C. Tseng, C.Y. Ho and Y.H. Wu, “How NAT-compatible are VoIP Applications?,” Communications Magazine, IEEE, pp.68-65, Dec. 2010.
[39] S. Chen, “H.264 Coding Stream Transfer Based on Mediastreamer Framework,” Multimedia and Information Technology (MMIT), pp.262-265, April. 2010.
[40] M. Chen, H. Lin and L. Huang, “Video Surveillance System on the Web: The Use of Mediastreamer2 Library and ActiveX Control,” Control, Automation and Systems Engineering (CASE), pp1-4, July. 2011.
[41] H. Schulzrinne, S. Casner, R. Frederick and V. Jacobson, “RTP: A Transport Protocol for Real-Time Application,” RFC3550, July 2003.
[42] H. Schulzrinne and S. Casner “RTP Profile for Audio and Video Conferences with Minimal Control,” RFC3551, July. 2003.
[43] Y.K. Wang, R. Even, T. Kristensen and R. Jesup, “RTP Payload Format for H.264 Video,” RFC6184, May. 2011.
[44] VoIP SIP SDK, http://www.voipsipsdk.com/
[45] J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R. Sparks, M. Handley and E.Schooler, “SIP: Session Initiation Protocol,” RFC3261, June. 2002.
[46] P. Zimmermann, A. Johnston and J. Callas, “ZRTP: Media Path Key Agreement for Unicast Secure RTP,” RFC6189, April. 2011.
[47] I. Hickson and D. Hyatt, “A Vocabulary and Associated APIs for HTML and XHTML,” W3C Working Draft, Jan. 2008.

QR CODE