Top Banner
Institute of Computer Science Department of Distributed Systems Department of Distributed Systems Prof. Dr.-Ing. P. Tran-Gia IPTV Using Peer-to-Peer A li ti L M lti t Application Layer Multicast or IPTV Internet killed the TV Star IPTV - Internet killed the TV Star Tobias Hoßfeld, Rastin Pries www3.informatik.uni-wuerzburg.de [hossfeld,pries]@informatik.uni-wuerzburg.de
27

IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Oct 11, 2019

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Institute of Computer ScienceDepartment of Distributed SystemsDepartment of Distributed Systems

Prof. Dr.-Ing. P. Tran-Gia

IPTV Using Peer-to-PeerA li ti L M lti tApplication Layer Multicast

orIPTV Internet killed the TV StarIPTV - Internet killed the TV Star

Tobias Hoßfeld, Rastin Pries

www3.informatik.uni-wuerzburg.de[hossfeld,pries]@informatik.uni-wuerzburg.de

Page 2: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Motivation

P2P Technologie erfolgreich im Internet eingesetztBitTorrent, eDonkey: effizienter Austausch großer Dateienmöglich in Flash Crowd Szenarien Skalierbarkeitmöglich in Flash Crowd Szenarien, SkalierbarkeitSkype VoIP: intelligente, adaptive Mechanismen (Codec, Bandbreite, Application Layer Routing), Quality of ExperienceDistributed Hash Tables: skalierbare, deterministische Suche, Selbstorganisation der Peers in logischen Strukturen

Warum?Popularität durch kostenlose Applikationen, viele Nutzerp pp ,Ressourcen der Nutzer werden in System eingebunden(Bandbreite, Speicherkapazitäten) W h d B itb d (DSL) T if d ll (Fl t R t )Wachsender Breitbandzugang (DSL), Tarifmodelle (Flat Rate)

Wo kann man P2P in IPTV einsetzen? Theorie? Praxis?

2Tobias Hoßfeld, Rastin Pries

Wo kann man P2P in IPTV einsetzen? Theorie? Praxis?

Page 3: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Agenda

Client/Server und P2P

Übersicht P2P basiertes IPTV

Beispiel: Application Layer Multicast für Realtime Streamingpp y gZIGZAG Protokoll

(P2P-) IPTV in der Praxis

ZusammenfassungZusammenfassung

3Tobias Hoßfeld, Rastin Pries

Page 4: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Probleme bei Client-Server-Modell

SkalierbarkeitMehr Dienste: Multimedia, VideoVideoMehr TeilnehmerMehr Ressourcenbedarf: B db it S i h CPUBandbreite, Speicher, CPU

QoS und QoEJitter bei VideostreamingÜberlast (bei Flash Crowds)

Flexible, adaptive, kostengünstige Netzelemente

Peer-to-Peer

4Tobias Hoßfeld, Rastin Pries

Page 5: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Beispiel: Festplattenkapazität und Bandbreite

Tobias Hoßfeld and Kenji Leibnitz. Modeling and Evaluation of an Online TV Recording Service. MAMA2007 @ SIGMETRICS '071

0.8gemessen: 8.8 MB / Minute

0.4

0.6

CD

F

20 Sender, 1 WocheKapazität: 1.7748 TBPro Peer: 0 7395 MB

0.2 measuredlognormal

l k

Pro Peer: 0.7395 MB

Bandbreite: 2.8160 TByte/s0 200 400 600 800 1000 1200 1400

0size [MB]

erlang-k

y(alle schauen gleichzeitig)

Goldmedia: Bisher haben 2,4 Mio. Menschen in Europa IPTV abonniert.Bis 2010 in Deutschland mehr als 1,3 Mio. Haushalte mit IPTV; weltweit bis zu 60 Mio Menschen

5Tobias Hoßfeld, Rastin Pries

IPTV; weltweit bis zu 60 Mio. Menschen.

Page 6: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Übersicht über IPTV

IPTV

Non Realtime RealtimeNon-Realtime Realtime

Timeshift-TV

Videostream Videorekorder

Datei-download

StreamingBroadcast Multicast

Physical Layer

AnycastPhysical Layer

IP Layer

Application Layer

P2PC/SP2PC/SDateidownload

+ deadlinesVideostream

OnlineTVRecorderRobuste CDNsP2P VoD

6Tobias Hoßfeld, Rastin Pries

+ flash crowd+ minimal delay

Robuste CDNsMobile P2P (VHO, Multihoming)

P2P VoD

Page 7: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

(Near) Realtime IPTV mit P2P

Warum über Internet? Laut iSuppli: „Die Fernsehunterhaltung wird um Interaktivität, Personalisierung und die Integration von Sprach-und Datendiensten bereichert “und Datendiensten bereichert.

Warum P2P? Skalierbarkeit, Flexibilität, Selbstorganisation,...

Multicast auf unteren Schichten erreicht nicht alle TeilnehmerIP-Multicast: nicht unterstützt; Änderung der RouterIP Multicast: nicht unterstützt; Änderung der RouterApplication Layer Multicast:

realisiere Multicast auf Layer 7 (unabh. von darunter-liegendem)physikalischen Netz)

Peers stellen Ressourcen wie Speicher, Bandbreite, CPU zurVerfügungg g

Challenge: robuste, effiziente Koordinationation der Peers

7Tobias Hoßfeld, Rastin Pries

Page 8: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

P2P-basiertes IPTV

Zeitliche Verzögerungkleine Baumhöhe benötigtBerücksichtigung von Delays zwischen Peers

Bandbreite: Peers mit hoher Bandbreitenäher an Wurzelmobile Peers: wechselndeKapazitäten durch VHO

Distribution Tree• geeignete Metrik benötigt zumAufbau des Baumes

Zuverlässigkeit: Zuverlässige näher an Wurzel

Aufbau des Baumes

Peermanagement• zusätzliche Koordination der

mobile Peers und Churn

Ausfall einen Knoten bringtP bl P t

Peers bei Ausfall und Ankunft

8Tobias Hoßfeld, Rastin Pries

Probleme: Peermanagement

Page 9: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG – P2P Based Application Layer Multicast

Entwickelt von Tran, Hua, Do (University of Florida, Orlando, 2003) W it t i kl NICE (NICE i I t t C tiWeiterentwicklung von NICE (NICE is Internet Cooperative Environment) Topologie: hierarchische Clusterp g

Robustheit durch Trennung von Peermanagement und TreeHead des Clusters zuständig für Administration des NetzwerksHead des Clusters zuständig für Administration des NetzwerksAssociate-Head des Clusters verantwortlich für Nutzdatenverteilung

Delays und geringe Baumtiefe werden berücksichtigtD t b it d h ZIGZAG i h Cl t

9Tobias Hoßfeld, Rastin Pries

Datenverbreitung durch ZIGZAG zwischen Clustern

Page 10: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG Adminstrative Organisation von Peers

Ebene 0 enthält alle PeersPeers in Ebene j < H− 1 sind in Cluster geteilt, Größe [k, 3k].Ebene H-1 hat nur einen Cluster, dessen Größe [2, 3k].

10Tobias Hoßfeld, Rastin Pries

Page 11: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG Peermanagement–Protokoll

Position- und Connectionsverwaltung durch Empfänger non-head >> Knotengrad

Empfänger head >> D(x) - end-to-end delay vom Server

Empfänger parent >>KnotengradFlag Rechachable()gControlprotokoll

g{X1, X2, ..} - beliefernde Peers im Cluster{Y1,Y2, ..} - Heads von b li f d Cl t

g ()Flag Addable()

beliefernden Clustern

11Tobias Hoßfeld, Rastin Pries

Page 12: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG Multicast Baum

nicht höchste Ebene >>

Nicht-Head Mitglieder erhalten Ihre Daten direkt von Ihren Associate-HeadsDer Associate-Head

weder eingehende, noch ausgehende Verbindung.

Associate Heads.bekommt seine Daten immer von einem fremden Head

12Tobias Hoßfeld, Rastin Pries

Page 13: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG - Rekursiver Join-Algorithmus

JOIN-Algorithmus:If X is layer-0 ass. head

Select a child Y :

ElseIf Addable(X) Select a child Y :Addable(Y) and D(Y)+d(Y,P) is minForward join request to Y

Addable(X)-true, if Reachable(X) = true and X in cluster [k;3k-1]Reachable(X)-true if there exists a path in the multicast tree from X to a layer-0Reachable(X)-true, if there exists a path in the multicast tree from X to a layer-0d(Y, P) – Verzögerung von Y nach PD(Y) – Verzögerung von Y zum Server von Y

13Tobias Hoßfeld, Rastin Pries

Page 14: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG - Rekursiver Join-Algorithmus

JOIN-Algorithmus:If X is layer-0 ass. head

Select a child Y :

ElseIf Addable(X) Select a child Y :Addable(Y) and D(Y)+d(Y,P) is minForward join request to Y

Addable(X)-true, if Reachable(X) = true and X in cluster [k;3k-1]Reachable(X)-true if there exists a path in the multicast tree from X to a layer-0Reachable(X)-true, if there exists a path in the multicast tree from X to a layer-0d(Y, P) – Verzögerung von Y nach PD(Y) – Verzögerung von Y zum Server von Y

14Tobias Hoßfeld, Rastin Pries

Page 15: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG - Rekursiver Join-Algorithmus

JOIN-Algorithmus:If X is layer-0 ass. head

Select a child Y :

ElseIf Addable(X) Select a child Y :Addable(Y) and D(Y)+d(Y,P) is minForward join request to Y

Addable(X)-true, if Reachable(X) = true and X in cluster [k;3k-1]Reachable(X)-true if there exists a path in the multicast tree from X to a layer-0Reachable(X)-true, if there exists a path in the multicast tree from X to a layer-0d(Y, P) – Verzögerung von Y nach PD(Y) – Verzögerung von Y zum Server von Y

15Tobias Hoßfeld, Rastin Pries

Page 16: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG - Rekursiver Join-Algorithmus

JOIN-Algorithmus:If X is layer-0 ass. head

Select a child Y :

ElseIf Addable(X) Select a child Y :Addable(Y) and D(Y)+d(Y,P) is minForward join request to Y

Addable(X)-true, if Reachable(X) = true and X in cluster [k;3k-1]Reachable(X)-true if there exists a path in the multicast tree from X to a layer-0Reachable(X)-true, if there exists a path in the multicast tree from X to a layer-0d(Y, P) – Verzögerung von Y nach PD(Y) – Verzögerung von Y zum Server von Y

16Tobias Hoßfeld, Rastin Pries

Page 17: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

ZIGZAG - Rekursiver Join-Algorithmus

JOIN-Algorithmus:If X is layer-0 ass. HeadAdd P to only cluster of XMake P new child of X

ElseIf Addable(X) Select a child Y :Select a child Y :Addable(Y) and D(Y)+d(Y,P) is minForward join request to YElseSelect a child Y :Reachable(Y) and D(Y)+d(Y P) is min

Addable(X)-true, if Reachable(X) = true and X in cluster [k;3k-1]Reachable(X)-true if there exists a path in the multicast tree from X to a layer-0

D(Y)+d(Y,P) is minForward join request to Y

Reachable(X)-true, if there exists a path in the multicast tree from X to a layer-0d(Y, P) – Verzögerung von Y nach PD(Y) – Verzögerung von Y zum Server von Y

17Tobias Hoßfeld, Rastin Pries

Page 18: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Zusammenfassung

P2P basiertes IPTVFlexibel und umgeht heutige Internetbeschränkungen (wie IP-

Multicast)Unabhängig von der darunter liegenden TopologieKeine Veränderungen an Router notwendigKeine Veränderungen an Router notwendigResistenter gegen Angriffe/ AusfälleNutzt vorhandene Ressourcen und Infrastruktur aus

Nachteil:Benötigt komplexe Koordination der Peers und Overhead

Herausforderungen bei Datenverteilung:Herausforderungen bei Datenverteilung:Verteilung der Last, Berücksichtigung von physikalischem Netz,

geeignete Metriken, Quality of Experience und QoS

18Tobias Hoßfeld, Rastin Pries

Page 19: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Institute of Computer ScienceDepartment of Distributed SystemsDepartment of Distributed Systems

Prof. Dr.-Ing. P. Tran-Gia

Praxis

www3.informatik.uni-wuerzburg.de

Page 20: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Joost ist ein Video on Demand Dienst der im Oktober 2006 von den Skype und Kazaa Gründer Niklas Zennström und Janus Friis unter dem Namen Venice Project gegründet wurde.Namen Venice Project gegründet wurde.

16. Januar 2007: Offizieller Name des Projektes nun endgültig Joost27 A t 2007 B t V i 0 12 0 fü b St t d ff B t27. August 2007: Beta-Version 0.12.0 verfügbar - Start der offenen Beta

Systemvoraussetzungen:Windows XP, VistaMac OS XLinuxMind. 500 MHz CPUMind. 48 MB Gafikkarte

20Tobias Hoßfeld, Rastin Pries

Page 21: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Basiert ähnlich wie KaZaA und Skype auf dem FastTrack-P2P-PrinzipBesteht hauptsächlich aus Open-Source-Komponenten (Mozilla, Apache HTTPD Redland Postgres OpenSSL RDF SVG XUL)HTTPD, Redland, Postgres, OpenSSL, RDF, SVG, XUL)Verwendet den H.264 CodecIm Gegensatz zu YouTube wird auf lizensierte Qualität gesetztIn Deutschland über 50 Kanäle zur AuswahlFinanzierung läuft über personalisierte Werbeclipspersonalisierte WerbeclipsProgramm kann gestoppt,gespult und noch einmal

h t dangeschaut werden

21Tobias Hoßfeld, Rastin Pries

Page 22: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Zattoo is TV to go! What made us couch Zattoo is TV to go! What made us couch potatoes was that we had to watch it there.

22Tobias Hoßfeld, Rastin Pries

Page 23: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Zattoo wurde 2005 in den USA von Sugih Jamin, Professor der Informatik an der University of Michigan und Beat Knecht, Marketingfachmann für Softwareprodukte und früherer McKinsey Berater in Silicon Valley,Softwareprodukte und früherer McKinsey Berater in Silicon Valley, gegründet.

Zattoo jap für Menschenmenge“Zattoo, jap. für „MenschenmengeBereits über 850.000 NutzerVerfügbar in der Schweiz,Deutschland (seit 14.09.2007),Dänemark, SpanienNächsten Länder: BelgienNächsten Länder: Belgien, Österreich, Frankreich

S t tSystemvoraussetzungen:Windows XP, Vista, Mac OS X, LinuxMind. 1.5 GHz, 512 MB RAM

23Tobias Hoßfeld, Rastin Pries

Page 24: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Aufnahmen und Pausen sind aus rechtlichen Gründen nicht möglichKanalwechsel in weniger als 10 Sekunden, davon 2 Sekunden ZwischenspeicherungZwischenspeicherungGesamtverzögerung ca. 20 SekundenAuflösung von 350x288 Pixeln

24Tobias Hoßfeld, Rastin Pries

Page 25: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Suchfunktionen und Chat-Möglichkeiten sollen ähnlich wie bei Joost eingebaut werdenIn Zukunft neben den kostenlosen Sender Pay-TVIn Zukunft neben den kostenlosen Sender Pay-TVFinanzierung von Zattoo soll über Werbeeinblendungen beim Kanalwechsel erfolgen.Üb h Vid t t i t i ht l tÜbernahme von Videotext ist nicht geplantMehr als 50 Kanäle geplant

Nicht als Ersatz für den normalen Fernsehernormalen Fernseher,

sondern für mobile Nutzer gedacht

25Tobias Hoßfeld, Rastin Pries

Page 26: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

IPTV

Ausserdem gibt es noch:

Babelgumg

PPLive

TVUPlayer

ChooseAndWatch & FreeTube

Das Internet ist voll mit verschiedenen IPTV-Software-Angeboten:

Feidian, PPMate, ab365 Live, QQ Live, MaxTV Online, VGO Live, Streamer One, SopCast, PPStream, PeerCast, MySee, TVAnts, TV Koo!, Coolstreaming Mediacenter, usw.g ,

26Tobias Hoßfeld, Rastin Pries

Page 27: IPTV - Internet killed the TV StarInternet killed the TV Star IPTV Using Peer-to-Peer Aliti L Mlti tApplication Layer Multicast or IPTV - Internet killed the TV StarInternet killed

Was ist IPTV?

Vielen Dank für Ihre Aufmerksamkeit!

Fragen?

27Tobias Hoßfeld, Rastin Pries