Introduction of IPTV and MHP Speaker: 簡怡婷 2014/3/10
Outline • Introduction of IPTV • What is IPTV – Definition • IPTV Value Chain • Technique • Introduction of MHP • Introduction of MHP • Basic Architecture • MHP Internal Interfaces • Xlet - MHP Application • MHP Application • IPTV implementation of ISMP • Homework
What is IPTV - Definition • IPTV (Internet Protocol Television) means a kind of service platform and system where various audiovisual multimedia services are delivered using Internet Protocols over a network infrastructure.
Service • Audiovisual multimedia services • TV Broadcast • Pay Per View • Film download • Radio • TV shopping • Interactive Video • Game • … • Communications services • Data and information services • …
IPTV Value Chain • IPTV value chain is composed of four major players • Content Provider; Service Provider; Network Provider; Customer • Satellite • Terrestrial content • TV program • Contents DB • Additional contents • provider • Contents receiving system • Security system • Value-added processing system • Wireless network • Wire network • Notebook • TV • Mobile device
Technique • DVB (Digital Video Broadcasting) • MHP (Multimedia Home Platform) • OSGi (Open Services Gateway Initiative) • UPnP (Universal Plug and Play)
DVB (Digital Video Broadcasting) • There are several sub-standard of the DVB standard : • DVB-S (Satellite) • DVB-T (Terrestrial) • DVB-H (Handheld) • DVB-C (Cable) • IPTV
DVB in Taiwan • DVB-T • DVB-H • Delivered at 2007
Introduction of MHP • Multimedia Home Platform (DVB-MHP) is an open middleware system standard designed by the DVB project for interactive digital television • MHP solution encompasses the whole set of technologies necessary to implement, including protocols, common languages (API), interface, and recommendations. • The main purpose of MHP is to provide a common interface for multimedia application (Xlet) on the digital TV platform.
Basic Architecture • MHP model consider three layers • Resources • System software • Applications
Basic Architecture • Resources • Hardware entities • MPEG processing, I/O devices, CPU, memory and a graphics system • System software • Middle layer isolates the application from the hardware, enabling portability of the application • Uses the available resources in order to provide an abstract view of the platform to the applications • Implementations include an application manager (“navigator”) to control the MHP and the applications running on it • Applications • Interactive services as software running in hardware entities
MHP Internal Interfaces Audio output Video output Remote control / keyboard/ Mouse input + Graphics User Interaction Storage Media Control Remote Program API Media Decoder Media Control Application TCP/IP Others Over UDP/IP CA control Turner Control MPEG-2 Section Filter Service Information DSM-CC Demux CA Interaction Channel Turner Network
Transport Stream Elements • An elementary stream is a sequence of packets containing video, audio or some other type of data. • Each service is a collection of one or more elementary streams.
PSI/SI • Video, audio and other data are all interleaved when transmitted on a single Transport Stream (TS). • These separate sources of data are identified with a unique packet identifier (PID). • Program Specific Information (PSI) is defined as a part of MPEG-2 standard. • Service Information (SI) is an addition to the PSI specification.
PSI • PSI defines four different tables. • Program Allocation Table (PAT) • Program Map Table (PMT) • Conditional Access Table (CAT) • Transport Stream Descriptor Table (TSDT)
SI • SI defines four mandatory tables. • Network Information Table (NIT) • Service Description Table (SDT) • Event Information Table (EIT) • Time and Date Table (TDT) • SI defines four optional tables. • Bouquet Association Table (BAT) • Running Status Table (RST) • Time Offset Table (TOT) • Stuffing Tables (ST)
DSM-CC • MHP applications, data and events are broadcasted using a DSM-CC layout system. • The application and data are sent on an object carousel, while events are sent as stream events.
Conditional Access System • Conditional Access System (CAS) is used to control the access to program content.
Xlet - MHP Application • An MHP application is an interactive application written by Java. • Called Xlet • Run on top of the MHP middleware • Specific lifecycle (started, stopped, paused, and resumed) • The states changes of an Xlet are handled by the Xlet itself. Xlets communicate with the application manager about state changes via callback.
Xlet Lifecycle • Loaded – loaded but not initialized. • Paused – minimizes its usage of resource. • Active – working and providing instance. • Destroyed – released all its resource and terminated.
Basic API – Java • DVB creates a lightweight version suitable for broadcast applications called DVB-J. • Based on a subset of Personal Java 1.2 • Add several major parts, such as STB-specific functions • UI model reflects the consumer • Changes in the core Java classes to save memory space
Extension API • JavaTV API • Xlet classes and infrastructure • Service selection • SI/PSI access • DAVIC API • Basic MPEG concepts • Tuning between transport streams • MPEG-2 section filtering • Resource management • Access to CA information • HAVi API • Video/graphics integration • UI widgets for consumer systems and TV screens • Solutions for hardware restrictions related to video and graphics integration on TV screen • 3 layers: • Background layer • Video layer • Graphic layer
MHP Application • Electronic Program Guides (EPG) • Information service • E-commerce and T-Games • Education service • E-mail and internet • …
IPTV implementation of ISMP • framework Virtual Service Provider TV Station modulator card Tuner RF STB USB AAA Server Internet Wireless HDMI cable I/O HD Wired UPnP Devices
Homework • Run a Xlet of openMHP on a linux-like OS • Install MPH platform • Record all the progress you do • Appending pictures is better
Homework 解說 • 安裝所需套件 • JVM (JDK 1.4 以上版本) • Apache ant ：方便compile xlet • JavaTv （ Javatv 1.0 ）：提供API給數位電視平台 • OpenMHP ：提供PC的open source的 MHP平台 • 其他套件 • JMF 2.1.1 : JAVA library ,用來對java 應用程式增加 audio, video 和其它time-based media • (5)ImageMagick 5.5.7: • 注意環境變數設定
Reference • http://www.interactivetvweb.org/tutorials/javatv • 附上openmhp1.0.4：http://22.214.171.124:8081/openmhp104_src.zip 帳密與實驗室帳密相同