300 likes | 457 Views
Web-based P2P Streaming by HTTP. 呂駿逸 呂學儒 施旻 宏 指導 教授 鍾添曜 . Outline. 1. Introduction 2. Related work 3. System design 4. Experiment 5. Future work 6 . References. 1. Introduction. 1.1 Peer-to-peer overlay network 1.2 Motivation. 1.1 Peer-to-peer overlay network. Advantage
E N D
Web-based P2P Streaming by HTTP 呂駿逸 呂學儒 施旻宏 指導教授 鍾添曜
Outline • 1.Introduction • 2.Related work • 3.System design • 4. Experiment • 5. Future work • 6.References
1.Introduction • 1.1Peer-to-peer overlay network • 1.2Motivation
1.1Peer-to-peer overlay network • Advantage • Peer = client + server • No server loading • More peer, more speed • Disadvantage • Low security (Trojan horse) • High network loading
1.2Motivation • Media Player
1.2Motivation (cont.) • Streaming + P2P
1.2Motivation (cont.) • P2P IPTV- PPStream • Based on P2P networking structure • Need to install player • Software security • Advertisement • Web based P2P • Plug-in Browser • Intuitive to use • Trojan avoidance
2.Related work • 2.1BitTorrent • 2.2 BitTube
2.1 BitTorrentintroduction • Tracker • Responsible for helping peer communicate with each other • Torrent file • Length of file • File name • Tracker URL • Peer • Seed • Leecher
2.2 BitTube • BitTube: Case Study of a Web-based Peer-Assisted Video-on-Demand System.
3. System Design • 3.1System Introduction • 3.2System Architecture
3.1System Introduction • Our system • Peer-to-peer architecture • No need of client software • Web UI
3.1System Introduction(cont.) • Discussion and solution • TCP transmission is blocked by firewall • Changing the format of TCP package, encapsulate it to HTTP POST message • Implementation of BitTorrent’s concept • Using Mozilla LiveConnect method to connect javascript code in webpage and java object which implement BitTorrent concept • Representation of video streaming • HTML5 <video>
3.2 System Architecture(cont.) • Peer Module • User Interface • User’s Browser, connecting with BitTorrent & Media Player • BitTorrent • Implementing BitTorrent Protocol • Media Player • Playing the video segments received from BitTorrent
3.2System Architecture(cont.) • Server Module • Web Server • Serving as user interface, updating main page when the video list have changed • Tracker Server
4. Experiment • 4.1 Experimental environment • 4.2 Experiment result
4.1 Experimental environment • Using YZU network to do the experiment • First part : Several peers send video requests • Second part: Peers send video requests one by one • Environment of Server and peers: • One computer as a tracker server and the other as the initial seed peer. The rest of the peers are using 1301B’s computers. • Video file format: • 39.8MB Ogg file. • Testing time: • First stage tests 6 times, second stage tests 2 times.
4.2 Experiment Result First part Download / Upload speed analysis
4.2 Experiment Result(cont.) Second part Download / Upload speed analysis
4.2 Experiment Result(cont.) First part Start Up time analysis
4.2 Experiment Result(cont.) Second part Startup time analysis
4.2 Experiment Result(cont.) First part Server Uploading analysis
4.2 Experiment Result(cont.) Second part Server Uploading analysis
5.Future work • Improving performance • Piece selection Algo. • Peer switch policy • Optimizing interface • Adding Live streaming support
6.References • [1] Peer-to-peer network: • A Survey and Comparison of Peer-to-Peer Overlay Network Schemes. Eng KeongLua, Jon Crowcroft, Marcelo Pias, Ravi Sharma, Steven Lim. IEEE, 2005. • [2] BitTorrent: • Incentives Build Robustness in BitTorrent. Bram Cohen, 2003. • [3] PPLive. http://pplive.com • [4] PPStream. http://www.ppstream.com/ • [5] Vuze. http://azureus.sourceforge.net/index.php • [6] Bitcomet. http://www.bitcomet.com/index.php • [7] 其他方面. http://en.wikipedia.org/wiki/BitTorrent_(protocol)#Others
5.References(cont.) • [8] Gnutella http://www.gnutellaforums.com/ • [9] BitTube. B. Liu and Y. Cui and B. Chang and B. Gotow and Yuan Xue. • BitTube: Case Study of a Web-based Peer-Assisted Video-on-Demand System. In2008. • [10] BitTorrent protocol. http://en.wikipedia.org/wiki/BitTorrent_(protocol) • [11] Mozilla LiveConnect. • https://developer.mozilla.org/en/JavaScript/Guide/LiveConnect_Overview
5. References(cont.) • [12] Mozilla Firefox addons: • https://addons.mozilla.org/zh-TW/firefox/ • [13] RFC2616 HTTP protocol: • http://www.w3.org/Protocols/rfc2616/rfc2616.html • [14] BitTorrent. http://bittorrent.com • [15] Peer-to-peer media streaming application survey. SébastienVénot, Lu Yan. IEEE 2007. • [16] Will IPTV Ride the Peer-to-peer Stream? AlexandroSentinelli, Gustavo Marfia, Mario Gerla, and Leonard Kleinrock. IEEE 2007.