Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web...
Transcript of Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web...
![Page 1: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/1.jpg)
Tizen TV Architecture
Overview
Seokjae Jeong, Ph.D.
Samsung Electronics
20. Oct. 2014
![Page 2: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/2.jpg)
Architecture
![Page 3: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/3.jpg)
3
Tizen Architecture for Mobile
Native Framework Web Framework
Applications
Kernel
Core
Application
Framework Graphics & UI Multimedia Web Messaging Location
Security System Base Connectivity Telephony PIM
Linux Kernel & device drivers
Web Applications Native Applications
Mobile Specific
Component
![Page 4: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/4.jpg)
4
Tizen Architecture for TV (ongoing)
Kernel
Core
Application
Framework Graphics & UI Multimedia Web Messaging Location
Security System Base Connectivity TV Broadcasting PIM
Linux Kernel & device drivers
Native Framework Web Framework
Applications
Web Applications Native Applications
TV Specific
Component
Removed
component
![Page 5: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/5.jpg)
5
Tizen Architecture for TV (ongoing)
Applications
Web Framework
Kernel
Core
Application
Framework Graphics & UI Multimedia Web
Security System Base Connectivity
TV Broadcasting
Linux Kernel & device drivers
Web Applications
Core Applications (in-house)
Web Runtime
W3C/HTML5 Device APIs Web UI FW Caph
![Page 6: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/6.jpg)
6
Hardware Adaption and Kernel
• Features:
• Linux Kernel & Device Drivers
• Hardware Adaptation Layer • Plug-ins
• OpenGL ES/EGL Graphics Driver • DRM-based graphics stack
• DVB subsystem for TV Broadcasting
HAL
Linux Kernel & Device Driver
DRM (Graphics) DMABUF (Buf. Mgt.)
GPU(3D) Driver
ALSA (Sound) / V4L2, DVB (Media)
IPC: KDBUS Key/MMC/USB
Driver
TV Broadcasting Plug-ins
Multimedia Plug-ins
Connectivity Plug-ins Deviced Plug-ins
X-Drivers (Video/Input)
![Page 7: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/7.jpg)
7
Core subsystems
Core subsystems
Base
IPC
(D-Bus)
Database
(SQLite)
Essentials
(glibc, …)
System
System
(system-server)
Sensor
(sensor-fw, plugin)
Power Mgmt
(libslp-pm) Connectivity
Network Configuration
(net-config)
Bluetooth
(Bluez)
HTTP
(libsoup,libcurl)
Wi-Fi
(wpa_supplicant)
Connection
(ConnMan)
TV Broadcasting
TV Service
(tv-service)
TV Player
(tv-player)
Broadcast Stream
(Gstreamer, plugin)
Multimedia
Video
(Gst, plugin)
Audio
(Gst,PulseAudio)
Camera
(GStreamer)
Audio Policy
(ASM)
3D Audio
(OpenAL)
Security
Access Control
(SMACK)
Certification
(cert-svc)
Crypto
(OpenSSL)
Graphics &
Input
2D
(EFL, cairo)
3D
(DALi, OpenGL ES/EGL)
Window Mgmt
(e17)
Window System
(X11)
Font
(Fontconfig, freetype2)
ISF, Voice FW
(isf, ise, STT, TTS, plugin)
App FW
AppLife Cycle Mgmt
(app-core)
TV Context Manager
(context-manager)
App Launch
(AUL, app-service)
Package Mgmt
(slp-pkgmgr)
Web
Web UI FW & Caph
(web-ui-fw)
JS Engine
(JavaScriptCore)
Runtime
(WRT)
Layout & Rendering
(WebKit2/EFL)
Core API
New for TV
![Page 8: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/8.jpg)
8
Web API
• Standard HTML5 + Tizen Device API
Network & Comm
Storage
Web API
Device API W3C
Miscellaneous
Application
Bluetooth
Media Contents
Notification
Download
Full Screen API
Typed Array
Web GL
CSS3
Key Mapping
HTML 5
File
Web Worker
getUserMedia
WebAudio
WebSocket
Web Notification
Game Pad
App Cache
App Cache
Widget
Web UI FW & Caph
![Page 9: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/9.jpg)
9
Applications
• Web Applications for all profiles
• Web has been the primary app. development env. from Tizen 1.0
• SDK is available for Web App development
• Many sample apps included in the SDK
• Core Applications
• Available for device implementers through components in Core subsystem
Web Applications
Web Framework
Core subsystem
Core Applications (in-house)
App. Framework Graphics & UI Multimedia Web
Security System Base Connectivity
TV Broadcasting
Web Runtime
W3C/HTML5 Device APIs
getUserMedia Key Mapping
CSS3 Game Pad
Web Worker
BT TV Control
Application Media Con.
Download … …
Web UI FW
Caph
![Page 10: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/10.jpg)
Core subsystems : Major changes from Tizen Mobile
![Page 11: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/11.jpg)
11
TV Broadcasting
• Provides
• Capability to scan and store TV broadcasting programs.
• Data of the electronic program guide (EPG).
• Play a live broadcasting stream (DTV/ATV).
• Various formats and standards of captions.
TV Broadcasting
TV Player
Player Control Stream Control
TV Service
SCAN EPG Live
GStreamer
Tuner Plugin Demux Plugin Decoder Plugin Sink Plugin Caption Plugin
![Page 12: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/12.jpg)
12
Application Framework (1/3)
• Provides
• Launching Application (AUL, App-Service) • Explicit or implicit information (Combination of Action, URI, and MIME) can be used to determine an app
to launch
• Allow to launch different type of app (i.e. Web to Core and Core to Web)
• Application life cycle management and handling system events (App-
core) • Getting app state change notification or system events through main loop
• Then, calling registered callbacks for the events
• Installing/Uninstalling application (package-manager)
• Managing application launched history (RUA)
• Setting an alarm to launch at specific time (alarm-manager)
• AUL : Application Utility Library
• RUA : Recently Used Application
![Page 13: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/13.jpg)
13
Application Framework (2/3)
• Provides
• Handling global key events with the remote controller to launch
application based on TV UX scenario (TV Context Manager)
Application Framework
Application DB Launch PAD
(AUL Daemon)
alarm-
manager
AUL
App-core
VCONF RUA
App-
service
AIL package-
manager
TV Context Manager
New for TV
![Page 14: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/14.jpg)
14
Application Framework (3/3)
• TV Context Manager
• Launching an application with AUL by key input on a TV remote control
• Running rule-based actions based on TV UX scenario ex) Running an OSD app exclusively; when launching an OSD app, then other apps exit
ex) Pushing “Exit” key terminates the running application and activate Live TV application on top-level
Live TV
TV Context Manager
Key Handler
X11 Handler
Context
Config
UI & App Framework
Input Subsystem
Window Manager
X server
AUL Task Manager
AMD
Remote Control Input
X Client
App Core
Home Screen
X Client
App Core
User App
X Client
App Core
![Page 15: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/15.jpg)
15
Graphics & Input (1/2)
• Consists of:
• Window System based on X11
• EFL(Enlightenment Foundation Libraries) • Rich Widgets multiple theme supports by Elementary
• Retained mode canvas by Evas (Scene-graph, OpenGL ES back-end)
• Composite Window Manager
• TV ref. theme for TV UX (elementary)
• 3D UI Toolkit - DALi
• 3D (OpenGL ES)
• Input Service (SCIM), Voice FW (STT, TTS)
• Font (freetype2, fontconfig)
![Page 16: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/16.jpg)
16
Graphics & Input (2/2)
Graphics & Input
X Window System
Input
Svc
OpenGL ES/EGL
eet
fontconfig freetype2 eina
elementary
cairo
ecore
evas edje
Voice
FW
DALi
New for TV
![Page 17: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/17.jpg)
Tizen TV
Reference UX
![Page 18: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/18.jpg)
18
Tizen TV Reference UX (1/2)
home screen – live tv
Apps panel
![Page 19: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/19.jpg)
19
Tizen TV Reference UX (2/2)
Media Browser
Music Player
![Page 20: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/20.jpg)
Conclusion
![Page 21: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/21.jpg)
21
Conclusion (1/2)
• Building Tizen TV Platform Architecture is ongoing
• Web APIs
• TV control API added
• Mobile specific APIs removed
• New core applications with TV ref. UX
• Home screen, Live TV, Web browser,
App. launcher, Multimedia Apps, etc.
![Page 22: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/22.jpg)
22
Conclusion (2/2)
• Major new/ revised core subsystems
• TV Broadcasting
• TV Specific Input & Application Scenario • TV Context Manager
• Web UI Framework, Caph
• Graphics & UI • TV theme for UI: GUI theme for TV widgets (EFL)
• DALi, 3D UI Toolkit.
• Kernel & Device Driver • Linux DVB subsystem for DTV broadcasting
![Page 23: Tizen TV Architecture Overviewdownload.tizen.org/misc/media/tds2014/slides/TV... · Web Applications Native Applications Mobile Specific Component . 4 Tizen Architecture for TV (ongoing)](https://reader034.fdocuments.in/reader034/viewer/2022042709/5f4c6ad2dbe0841ac119e0cc/html5/thumbnails/23.jpg)