1 / 30

Web-based P2P Streaming by HTTP

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

xuxa
Download Presentation

Web-based P2P Streaming by HTTP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web-based P2P Streaming by HTTP 呂駿逸 呂學儒 施旻宏 指導教授 鍾添曜 

  2. Outline • 1.Introduction • 2.Related work • 3.System design • 4. Experiment • 5. Future work • 6.References

  3. 1.Introduction • 1.1Peer-to-peer overlay network • 1.2Motivation

  4. 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

  5. 1.2Motivation • Media Player

  6. 1.2Motivation (cont.) • Streaming + P2P

  7. 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

  8. 2.Related work • 2.1BitTorrent • 2.2 BitTube

  9. 2.1 BitTorrent

  10. 2.1 BitTorrentintroduction • Tracker • Responsible for helping peer communicate with each other • Torrent file • Length of file • File name • Tracker URL • Peer • Seed • Leecher

  11. 2.2 BitTube • BitTube: Case Study of a Web-based Peer-Assisted Video-on-Demand System.

  12. 3. System Design • 3.1System Introduction • 3.2System Architecture

  13. 3.1System Introduction • Our system • Peer-to-peer architecture • No need of client software • Web UI

  14. 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>

  15. 3.2System Architecture

  16. 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

  17. 3.2System Architecture(cont.) • Server Module • Web Server • Serving as user interface, updating main page when the video list have changed • Tracker Server

  18. 4. Experiment • 4.1 Experimental environment • 4.2 Experiment result

  19. 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.

  20. 4.2 Experiment Result First part Download / Upload speed analysis

  21. 4.2 Experiment Result(cont.) Second part Download / Upload speed analysis

  22. 4.2 Experiment Result(cont.) First part Start Up time analysis

  23. 4.2 Experiment Result(cont.) Second part Startup time analysis

  24. 4.2 Experiment Result(cont.) First part Server Uploading analysis

  25. 4.2 Experiment Result(cont.) Second part Server Uploading analysis

  26. 5.Future work • Improving performance • Piece selection Algo. • Peer switch policy • Optimizing interface • Adding Live streaming support

  27. 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

  28. 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

  29. 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.

  30. Q&A

More Related