Top Banner
Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong Ly
23

Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Dec 30, 2015

Download

Documents

Tiffany Lamb
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: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Designing an Efficient and Extensible

Mobile TV Testbed

Cheng-Hsin Hsu

Simon Fraser University, Canada

joint work with Mohamed Hefeeda,

Yi Liu, and Cong Ly

Page 2: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Mobile TV ServiceMobile TV Service

2

Broadcast mass-market programs to subscribers Mobile devices have stringent energy budgets Devices receive a data burst and turn off receiving

circuits until the next burst called time slicing

Page 3: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Base Station

Mobile TV NetworksMobile TV Networks

3

Program feeds are IP streams from streaming servers or cameras

Multiple TV programs are multiplexed AND time sliced by a multiplexer into a MPEG-2 TS stream

The MPEG-2 TS stream is modulated, amplified, and broadcast to mobile devices

Streaming Server

Camera

Multiplexer(IP Encapsulator)

Modulator/Amplifier

IP Networks ASI Networks

ContentProviders

Network Operators

Page 4: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Problem StatementProblem Statement

4

Design a mobile TV base station for academic prototyping and cost-efficient small- to medium-size deployments platform to analyze: energy consumption,

channel switching delay, no. broadcast programs, and perceived streaming quality

10-20 TV channels with a commodity PC or low-end server

Page 5: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Current Solutions (1/2)Current Solutions (1/2)

5

Commercial Base Stations expensive, e.g., a single EXPWAY FastESG

server costs 75k USD [Sarri09] a complete base station costs even more

Need a more cost-efficient base station!

Page 6: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

x20?

Current Solutions (2/2)Current Solutions (2/2)

6

Open-Source Base Station [FATCAPS] too many disk I/O’s does not scale well too many utilities with no admin interface

Need a better design!

VLCServer

MPEG

DataAggregato

r

Pcap

TimeSlicer

TS

Tdt Updater

Correct PSISI

Dtplay

PythonCompiler

PythonSources

For PSISI

TS Packets

Null PacketReplacer

w/PSISI

Page 7: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design GoalsDesign Goals

7

[G1] Higher efficiency and scalability avoid disk I/O’s and memcpys

[G2] Utilization of multi-core processors pipelined structure to allow parallelism

[G3] Integrated software solution centralized admin interface

[G4] Better extensibility future supports for other networks such as

MediaFLO, WiMAX, and MBMS

Page 8: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design Decisions (1/3)Design Decisions (1/3)

8

[D1] Use Burst as the unit of time slicing, encapsulation, and transmission. Burst is self-contained with IP payloads and

headers/trailers of all protocols No disk I/O’s for intermediate data No memcpys for IP payloads

Page 9: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design Decisions (2/3)Design Decisions (2/3)

9

[D2] Divide the base station into three indep. Phases, which are connected by two priority queue pipelined and parallelism

Empty Burst

Time SlicingThread

With IPPayload

RequestQueue

Encap.Thread

With All Headers/Trailers

ReadyQueue

Trans.Thread

Encap.Thread

Encap.Thread

Page 10: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design Decisions (3/3)Design Decisions (3/3)

10

[D3] Implement a centralized Configuration Manager to allow save/restore settings interface with Web GUI for management

[D4] Modularized design for future extensions For example, MPE-FEC Burst is a subclass of

MPE Burst

Page 11: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Software ArchitectureSoftware Architecture

11

Page 12: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

High-Level DesignHigh-Level Design

12

Page 13: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design of Burst SchedulersDesign of Burst Schedulers

13

Page 14: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design of Burst ReadersDesign of Burst Readers

14

Page 15: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design of BurstsDesign of Bursts

15

Page 16: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design of EncapsulatorsDesign of Encapsulators

16

Page 17: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design of TransmitterDesign of Transmitter

17

Page 18: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design of PSI/SI TablesDesign of PSI/SI Tables

18

PAT: program association PMT: program map NIT: network information INT: IP/MAC notification SDT: service description TDT: time and date

Page 19: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Design of Configuration ManagerDesign of Configuration Manager

19

Page 20: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Testbed SetupTestbed Setup

20

Page 21: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Future WorkFuture Work

21

Web GUI for configuration management [Cong] MPE-FEC support [Hamed] PSI/SI table implementation [Farid] StreamReader classes [Som] Flute server integration ESG files implementation

Page 22: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

ConclusionsConclusions

22

Presented layout of general broadcast network

Outlined design goals of a broadcast base station

Described our design decisions and system architecture

Presented the high-level system design and detailed design for each component

Highlighted future work

Page 23: Designing an Efficient and Extensible Mobile TV Testbed Cheng-Hsin Hsu Simon Fraser University, Canada joint work with Mohamed Hefeeda, Yi Liu, and Cong.

Thank You, and Questions?Thank You, and Questions?

23

More details can be found online at http://nsl.cs.sfu.ca