Publications-Theses

Article View/Open

Publication Export

Google ScholarTM

NCCU Library

Citation Infomation

Related Publications in TAIR

題名 IRIS App:互動式2.0手機廣播電台應用程式
IRIS App:Interactive 2.0 Radio System on the Internet over Smartphone
作者 林凱禎
Lin, Kai Chen
貢獻者 蔡子傑
Tsai, Tzu Chieh
林凱禎
Lin, Kai Chen
關鍵詞 手機應用程式
廣播電台
網路電話
網路位址交換
負載平衡系統
Smartphone App
Radio
VoIP
NAT
load balance
日期 2012
上傳時間 1-Mar-2013 09:25:51 (UTC+8)
摘要 智慧型手機的功能日漸強大,而我們希望能夠利用智慧型手機普及的趨勢,實作一個能夠讓眾人互動的電台應用程式,IRIS:互動式2.0手機廣播電台應用程式。聽眾能夠透過網路與在廣播電台上建立節目的分享者連線,來收聽分享者目前正在播放的音樂歌曲。在此,我們將分享者稱作是“網路DJ”,聽眾可以透過頻道來選擇喜歡的電台。而原本僅能收聽音樂的使用者則可以隨時選擇成為“網路DJ”,並且經營屬於自己風格的網路電台。
“網路DJ”除了單純分享音樂外,也可以透過手機上的麥克風收音來主持節目。如果聽眾對“網路DJ”有任何回應,還可以使用Call-in進行網路電話型式的網路對談。
然而因為手機本身有網路傳輸的問題。手機上網時通常位在網路交換器背後,因為使用虛擬位址以至於彼此之間無法直接進行連線。並且當系統內有多名“網路DJ”同時進行放送時,將會有多條不同的聲音串流來爭奪伺服器網路的頻寬,並且造成提供服務的伺服器負擔。為了解決這些問題,我們要優先處理無法直接連線的困境,接著並引入了簡單的負載平衡方式來分散聽眾,進而解決伺服器網路的瓶頸。最後,我們作出這個廣播電台應用程式並且有令人滿意的運行結果。
Smartphones are more powerful and popular nowadays. We hope to utilize smartphones to develop an interactive radio application, IRIS: Interactive 2.0 Radio System on the Internet over Smartphone. Using this App, a user can create a channel and become a “DJ” to provide the show. Otherwise, he/she can be the audience to choose the radio channel that his/her favorite DJ hosts.
The DJ not only provides the music but also can anchor by the microphone on the smartphone. If the audience has any feedback to the DJ, he/she can make a call-in to talk interactively with DJ by the VoIP service.
To this end, there is a problem on network transmission over smartphone. Because smartphones are usually behind NAT, it would cause no one to be able to connect to each other directly due to private IPs. Besides, when many DJ provide their shows on the air, it might cause many streaming relays to overload the Server. Therefore, we need to solve the NAT problem and alleviate the loading on the server by deploying a load balancing architecture. The App and the radio system were developed and the results were satisfactory.
參考文獻 [1] RFC1631 The IP Network Address Translator (NAT)
[2] RFC2663 IP Network Address Translator (NAT) Terminology and Considerations
[3] Network Address Translation (NAT) Protocol. http://www.tcpipguide.com/free/t_IPNetworkAddressTranslationNATProtocol.htm
[4]RFC2709 Security Model with Tunnel-mode IPsec for NAT Domains
[5]RFC3022 Traditional IP Network Address Translator (Traditional NAT)
[6]RFC3027 Protocol Complications with the IP Network Address Translator (NAT)
[7] M. E. Baran and F. F. Wu "Network Reconfiguration in Distribution Systems for Loss Reduction and Load Balancing", IEEE Transactions on Power Delivery, vol. 4, no. 2, pp.1401 -1407 1989
[8]M. Cierniak, M.J. Zaki and W. Li, &ldquo, Customized Dynamic Load Balancing for a Network of Workstations, &rdquo, J. Parallel and Distributed Computing, vol. 43, pp. 156-162, 1997.
[9] Siuli Roy , Dola Saha , S. Bandyopadhyay , Tetsuro Ueda , Shinsuke Tanaka, A network-aware MAC and routing protocol for effective load balancing in ad hoc wireless networks with directional antenna, Proceedings of the 4th ACM international symposium on Mobile ad hoc networking & computing, June 01-03, 2003, Annapolis, Maryland, USA
[10] TuneIn Radio http://tunein.com/
[11] Pandora http://www.pandora.com/
[12] Skype http://www.skype.com/
[13] Line http://line.naver.jp
[14] S. Baset and H. Schulzrinne. An analysis of the skype peer-to-peer internet telephony protocol. Technical Report CUCS-039-04, Computer Science Department, Columbia University, New York, NY, Sep 2004.
[15] RFC 5389, J. Rosenberg, R. Mahy, P. Matthews, D. Wing, Session Traversal Utilities for NAT (STUN), The Internet Society (October 2008)
[16] RFC5766, R. Mahy, J. Rosenberg, C. Huitema. TURN: traversal using relay NAT. Internet draft, Internet Engineering Task Force, July 2004. Work in progress
[17] RFC 6062, J. Rosenberg, S. Perreault, Ed. Traversal Using Relays around NAT (TURN) Extensions for TCP Allocations. Internet draft, Internet Engineering Task Force,
[18] RFC 6156, G. Camarillo Ericsson, O. Novo, S. Perreault, Ed., Traversal Using Relays around NAT (TURN) Extension for IPv6 (April 2011)
[19] RFC 5245, Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols, J. Rosenberg (April 2010)
[20] RFC 3489, STUN - Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs), J. Rosenberg, J. Weinberger, C. Huitema, R. Mahy, The Internet Society (March 2003)
[21] RFC 2326 Real Time Streaming Protocol (RTSP)
[22] Wi-Fi Direct http://developer.android.com/guide/topics/connectivity/wifip2p.html
描述 碩士
國立政治大學
資訊科學學系
98753028
101
資料來源 http://thesis.lib.nccu.edu.tw/record/#G0098753028
資料類型 thesis
dc.contributor.advisor 蔡子傑zh_TW
dc.contributor.advisor Tsai, Tzu Chiehen_US
dc.contributor.author (Authors) 林凱禎zh_TW
dc.contributor.author (Authors) Lin, Kai Chenen_US
dc.creator (作者) 林凱禎zh_TW
dc.creator (作者) Lin, Kai Chenen_US
dc.date (日期) 2012en_US
dc.date.accessioned 1-Mar-2013 09:25:51 (UTC+8)-
dc.date.available 1-Mar-2013 09:25:51 (UTC+8)-
dc.date.issued (上傳時間) 1-Mar-2013 09:25:51 (UTC+8)-
dc.identifier (Other Identifiers) G0098753028en_US
dc.identifier.uri (URI) http://nccur.lib.nccu.edu.tw/handle/140.119/57062-
dc.description (描述) 碩士zh_TW
dc.description (描述) 國立政治大學zh_TW
dc.description (描述) 資訊科學學系zh_TW
dc.description (描述) 98753028zh_TW
dc.description (描述) 101zh_TW
dc.description.abstract (摘要) 智慧型手機的功能日漸強大,而我們希望能夠利用智慧型手機普及的趨勢,實作一個能夠讓眾人互動的電台應用程式,IRIS:互動式2.0手機廣播電台應用程式。聽眾能夠透過網路與在廣播電台上建立節目的分享者連線,來收聽分享者目前正在播放的音樂歌曲。在此,我們將分享者稱作是“網路DJ”,聽眾可以透過頻道來選擇喜歡的電台。而原本僅能收聽音樂的使用者則可以隨時選擇成為“網路DJ”,並且經營屬於自己風格的網路電台。
“網路DJ”除了單純分享音樂外,也可以透過手機上的麥克風收音來主持節目。如果聽眾對“網路DJ”有任何回應,還可以使用Call-in進行網路電話型式的網路對談。
然而因為手機本身有網路傳輸的問題。手機上網時通常位在網路交換器背後,因為使用虛擬位址以至於彼此之間無法直接進行連線。並且當系統內有多名“網路DJ”同時進行放送時,將會有多條不同的聲音串流來爭奪伺服器網路的頻寬,並且造成提供服務的伺服器負擔。為了解決這些問題,我們要優先處理無法直接連線的困境,接著並引入了簡單的負載平衡方式來分散聽眾,進而解決伺服器網路的瓶頸。最後,我們作出這個廣播電台應用程式並且有令人滿意的運行結果。
zh_TW
dc.description.abstract (摘要) Smartphones are more powerful and popular nowadays. We hope to utilize smartphones to develop an interactive radio application, IRIS: Interactive 2.0 Radio System on the Internet over Smartphone. Using this App, a user can create a channel and become a “DJ” to provide the show. Otherwise, he/she can be the audience to choose the radio channel that his/her favorite DJ hosts.
The DJ not only provides the music but also can anchor by the microphone on the smartphone. If the audience has any feedback to the DJ, he/she can make a call-in to talk interactively with DJ by the VoIP service.
To this end, there is a problem on network transmission over smartphone. Because smartphones are usually behind NAT, it would cause no one to be able to connect to each other directly due to private IPs. Besides, when many DJ provide their shows on the air, it might cause many streaming relays to overload the Server. Therefore, we need to solve the NAT problem and alleviate the loading on the server by deploying a load balancing architecture. The App and the radio system were developed and the results were satisfactory.
en_US
dc.description.tableofcontents CHAPTER 1 1
1.1 Background 1
1.1.1 The Network Address Translation (NAT) 1
1.1.2 The Load Balancing System 2
1.2 Motivation for IRIS 3
1.3 Organization 6
CHAPTER 2 7
2.1 Network Address Translation 7
2.2 Network Address Translation Traversal 9
2.3 Load balancing System 13
CHAPTER 3 15
3.1 IRIS Architecture 15
3.2 IRIS Construction 18
3.2.1 DJ Join 18
3.2.2 Audience Join 20
3.2.3 Call-in 21
3.2.4 Load Balancing Server Relay 22
CHAPTER 4 25
4.1 Reality 25
4.2 Traversal Using Relay NAT 26
4.3 Load Balancing System 28
4.3.1 IRIS without Load Balancing 28
4.3.2 Secondary Server Load Balancing 28
4.3.3 Three DJ in IRIS 30
4.3.4 Call-in In IRIS 31
4.4 User Interface 32
4.4.1 Audience 34
4.4.2 DJ 37
CHAPTER 5 39
Reference 40
zh_TW
dc.language.iso en_US-
dc.source.uri (資料來源) http://thesis.lib.nccu.edu.tw/record/#G0098753028en_US
dc.subject (關鍵詞) 手機應用程式zh_TW
dc.subject (關鍵詞) 廣播電台zh_TW
dc.subject (關鍵詞) 網路電話zh_TW
dc.subject (關鍵詞) 網路位址交換zh_TW
dc.subject (關鍵詞) 負載平衡系統zh_TW
dc.subject (關鍵詞) Smartphone Appen_US
dc.subject (關鍵詞) Radioen_US
dc.subject (關鍵詞) VoIPen_US
dc.subject (關鍵詞) NATen_US
dc.subject (關鍵詞) load balanceen_US
dc.title (題名) IRIS App:互動式2.0手機廣播電台應用程式zh_TW
dc.title (題名) IRIS App:Interactive 2.0 Radio System on the Internet over Smartphoneen_US
dc.type (資料類型) thesisen
dc.relation.reference (參考文獻) [1] RFC1631 The IP Network Address Translator (NAT)
[2] RFC2663 IP Network Address Translator (NAT) Terminology and Considerations
[3] Network Address Translation (NAT) Protocol. http://www.tcpipguide.com/free/t_IPNetworkAddressTranslationNATProtocol.htm
[4]RFC2709 Security Model with Tunnel-mode IPsec for NAT Domains
[5]RFC3022 Traditional IP Network Address Translator (Traditional NAT)
[6]RFC3027 Protocol Complications with the IP Network Address Translator (NAT)
[7] M. E. Baran and F. F. Wu "Network Reconfiguration in Distribution Systems for Loss Reduction and Load Balancing", IEEE Transactions on Power Delivery, vol. 4, no. 2, pp.1401 -1407 1989
[8]M. Cierniak, M.J. Zaki and W. Li, &ldquo, Customized Dynamic Load Balancing for a Network of Workstations, &rdquo, J. Parallel and Distributed Computing, vol. 43, pp. 156-162, 1997.
[9] Siuli Roy , Dola Saha , S. Bandyopadhyay , Tetsuro Ueda , Shinsuke Tanaka, A network-aware MAC and routing protocol for effective load balancing in ad hoc wireless networks with directional antenna, Proceedings of the 4th ACM international symposium on Mobile ad hoc networking & computing, June 01-03, 2003, Annapolis, Maryland, USA
[10] TuneIn Radio http://tunein.com/
[11] Pandora http://www.pandora.com/
[12] Skype http://www.skype.com/
[13] Line http://line.naver.jp
[14] S. Baset and H. Schulzrinne. An analysis of the skype peer-to-peer internet telephony protocol. Technical Report CUCS-039-04, Computer Science Department, Columbia University, New York, NY, Sep 2004.
[15] RFC 5389, J. Rosenberg, R. Mahy, P. Matthews, D. Wing, Session Traversal Utilities for NAT (STUN), The Internet Society (October 2008)
[16] RFC5766, R. Mahy, J. Rosenberg, C. Huitema. TURN: traversal using relay NAT. Internet draft, Internet Engineering Task Force, July 2004. Work in progress
[17] RFC 6062, J. Rosenberg, S. Perreault, Ed. Traversal Using Relays around NAT (TURN) Extensions for TCP Allocations. Internet draft, Internet Engineering Task Force,
[18] RFC 6156, G. Camarillo Ericsson, O. Novo, S. Perreault, Ed., Traversal Using Relays around NAT (TURN) Extension for IPv6 (April 2011)
[19] RFC 5245, Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols, J. Rosenberg (April 2010)
[20] RFC 3489, STUN - Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs), J. Rosenberg, J. Weinberger, C. Huitema, R. Mahy, The Internet Society (March 2003)
[21] RFC 2326 Real Time Streaming Protocol (RTSP)
[22] Wi-Fi Direct http://developer.android.com/guide/topics/connectivity/wifip2p.html
zh_TW