Introduction of IPTV and MHP Speaker: 簡怡婷 2015/4/13 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 2 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. 3 Service Audiovisual multimedia services TV Broadcast Pay Per View Film download Radio TV shopping Interactive Video Game … Communications services Data and information services … 4 IPTV Value Chain IPTV value chain is composed of four major players Content Provider; Service Provider; Network Provider; Customer Satellite Contents Wireless receiving system network Terrestrial content Security system Wire network TV program Value-added Contents DB Additional contents processing system provider Notebook TV Mobile device 5 Technique DVB (Digital Video Broadcasting) MHP (Multimedia Home Platform) OSGi (Open Services Gateway Initiative) UPnP (Universal Plug and Play) 6 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 7 DVB in Taiwan DVB-T DVB-H Delivered at 2007 8 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. 9 MHP Software stack 10 Basic Architecture MHP model consider three layers Resources System software Applications 11 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 12 MHP Internal Interfaces Audio output Video output + Remote control / keyboard/ Mouse input Graphics Storage Media Control User Interaction API Media Decoder Media Control Application CA Turner control Control MPEG-2 Section Filter Service Information Remote Program TCP/IP DSM-CC Others Over UDP/IP Demux CA Interaction Channel Turner 13 Network Broadcasting Chain 14 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. 15 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. 16 PSI PSI defines four different tables. Program Allocation Table (PAT) Program Map Table (PMT) Conditional Access Table (CAT) Transport Stream Descriptor Table (TSDT) 17 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) 18 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. 19 DSM-CC Object Carousel Layering 20 Conditional Access System Conditional Access System (CAS) is used to control the access to program content. 21 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. 22 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. 23 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 24 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 25 MHP Application Electronic Program Guides (EPG) Information service E-commerce and T-Games Education service E-mail and internet … 26 E-commerce and E-Games 27 Education service & E-mail and internet 28 IPTV implementation of ISMP framework Virtual Service Provider TV Station modulator card Tuner RF USB STB Internet Wireless UPnP Devices Wired HDMI cable I/O AAA Server HD 29 Main Menu 30 Electric Program Guide 31 Record and Schedules 32 Homework Run a Xlet of openMHP on a linux-like OS Install MPH platform Record all the progress you do Appending pictures is better 33 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: 注意環境變數設定 34 Reference http://www.interactivetvweb.org/tutorials/javatv 附上openmhp1.0.4: http://140.116.82.51:8081/openmhp104_src.zip 帳密與實驗室帳密相同 35