1 / 20

Hybrid Video Downloading / Streaming over peer-to-peer network

Hybrid Video Downloading / Streaming over peer-to-peer network. Yufeng Shan and Shivkumar Kalyanaraman Multimedia and Expo, 2003. ICME '03. Proceedings. 2003 International Conference on , Volume: 2 , 6-9 July 2003 Presented By Sam. Agenda. Background Hybrid downloading/streaming Scheme

Télécharger la présentation

Hybrid Video Downloading / Streaming over peer-to-peer network

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. Hybrid Video Downloading /Streaming over peer-to-peer network Yufeng Shan and Shivkumar Kalyanaraman Multimedia and Expo, 2003. ICME '03. Proceedings. 2003 International Conference on , Volume: 2 , 6-9 July 2003 Presented By Sam

  2. Agenda • Background • Hybrid downloading/streaming Scheme • Goal • Basic framework • Flow • Memory disk cooperative buffering • Simulation • Conclusion • Comment

  3. Background Peer-to-peer(p2p) architecture is defined: • A peer stores the streamed data after receiving it, and then streams the cached content to other requesting peers. In previous study, only < 5% hosts can work as server-like peers.

  4. Background Question/Problem found: • It should have sufficient number of powerful peers. • Clients (i.e. the peers) may suffer more network fluctuation and network outage than the traditional client/server architecture • In extreme case, the streaming session has to be closed when all the peers with cached content are unreachable. • On the other hand, Traditional server is always available.

  5. Hybrid downloading/streaming Scheme(HDS) • Integrates • Traditional client/server based video streaming system (streaming mode) • Peer-to-peer based media data distribution system (downloading mode) • Use receiver driven coordination control (RDCC) to coordinate two modes.

  6. Goal • HDS reduces the server load • RDCC maintains the maximum content availability at receiver side • Given all peers with cached content are unavailable, the receiver still can maintain video streaming from video server

  7. Basic framework To simplify, 1 video server, 1 supplying peer, 1 requesting peer with CBR video sequence.

  8. Flow • Peer decides to watch a movie • Peer sends out a request to the video server and performs lookup service to find the supplying peers who have the video content. • After receiving the information, divides the whole video content into N slices, a piece of video data in a video bit stream (m = M/N)

  9. Flow 4. The receiver runs the RDCC algorithm: • Receive streaming traffic from the video server and prebuffer up to Tpre seconds • At the same time, downloading the second slice (the slice after Tpre second) video content from the supplying peer • After the streaming session catches up to the position of the second slice, it suspends the streaming mode (pure-downloading mode), offering relief to the server. • During the pure-downloading mode, RDCC checks if the amount of data in receiver is lower than a threshold. If yes, a mix of streaming mode and downloading mode will be done. Stage 1 Stage 2 Stage 3

  10. Flow Stage 1 Stage 2 Stage 3 Tpre Tx

  11. RDCC • Availability of video content r • r defines as the ratio of total successive data in the buffer to the pre-buffer size. • If r > 1, enough successive data • If r < 1, underflow occurs.

  12. RDCC If (r < 1&& Bd < B) { Trigger the streaming mode; if (Bs >= B) { Downloading (n+1)th video slice given current slice being streamed is nth; if (streaming session reaches (n+1)th video slice) Suspend streaming mode; } else run COOP mode; } else downloading-only mode; Bd : Available bandwidth between supplying peer and the receiver Bs : Available bandwidth between video server and the receiver

  13. COOP • This mode only happens when r < 1 and both Bs and Bd are smaller than B • Calculate Rg : Ratio between the available bandwidth of video server and the available bandwidth of the supplying peer. • Both server and supplying peer calculates the amount of frames they should send according to the ratio Rg.

  14. Memory disk cooperate buffering (MDB) • Use 2 buffers : memory and disk buffer • Memory buffer : same size of traditional scheme • Disk buffer : unlimited size compared to movie length • The receiver uses up as much bandwidth as available to buffer video data. First caches the packet into disk buffer and then fills the memory buffer.

  15. Memory disk cooperate buffering (MDB) Advantages: • Absorb more network fluctuation • Significantly reduce the stop-and-rebuffering instances • Efficiently use the available bandwidth

  16. Simulation • Receiver is a laptop in the RPI network • 2 computers act as supplying peers • Video server is a SUN machine at UC Berkeley • Test video sequence : “foreman” bit rate B = 128kbps • Length of sequence : 81 seconds • Tpre = 3 seconds

  17. Simulation Hybrid downloading/streaming # packet in Buffer Time (in seconds) Streaming Bs = 128kbps Bd = 256kbps

  18. Simulation Server load in different available bandwidth

  19. Simulation Available Bandwidth Receiving Rate Stop and Rebuffering Buffer occuption

  20. Conclusion • HDS proposed, which aims integrating traditional client/server based video streaming system and peer-to-peer based media data distribution system.

More Related