Developing Tizen OS Based Solutions (IDF13) - Chris Norman


Published on

Published in: Technology, Education
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Developing Tizen OS Based Solutions (IDF13) - Chris Norman

  1. 1. 1 Developing Tizen* OS Based Solutions Chris Norman, Sr. Technical Marketing Engineer, Intel Corporation SFTS013 * Tizen is a trademark of the Linux* Foundation
  2. 2. 2 Agenda • Tizen* Overview • HTML5 Leadership • Openness • Innovation and Differentiation • Industry support • Summary • Q&A
  3. 3. 3 Tizen* Overview
  4. 4. 4 What is The Tizen* Software Platform? • A robust and flexible Open Source standards- based software platform based on HTML5 • For smartphones, tablets, in-vehicle infotainment (IVI) devices, smart TVs, clamshells and more • Innovative OS, applications, and a user experience that consumers can take from device to device • Allows OEM flexibility to customize
  5. 5. 5 Tizen* Vision HTML5 Leadership Truly Open Innovation and Differentiation Industry Leaders Support Freedom to drive HTML5 innovations without speed bumps Equal opportunity to shape direction Freedom to innovative Industry leaders unite around a common OS and app store Multiple OS’s and devices Not controlled by a single entity Freedom to differentiate Multiple choices at every level of the stack Ability to leverage existing web apps & tools No restrictions on applications/ services Robust developer program to deliver innovative apps W3C API support Open governance HTML5 Leadership Truly Open Innovation and Differentiation Industry Leaders Support Delight consumers and enable ecosystem partner differentiation with a cross-device, cross-architecture, open software platform based on a comprehensive standards-based HTML5 implementation
  6. 6. 6 Tizen* Architecture Linux* kernel & device drivers Security System Base Connectivity Telephony PIM App Framework Graphics & UI Multimedia Location Messaging Web Web Framework W3C/HTML5 Video CSS3 Worker Touch WebGL … Device APIs BT LBS Message Call NFC … Web Run- time Web Applications Native Framework Native Applications Social/Content Locations Uix Media Web/Xml Net/Telephony/Messaging Graphics/UI Base/IO/Text/Locales App/Security/System services BT= Bluetooth® Technology LBS = Location Based Services NFC = Near Field Communications
  7. 7. 7 Tizen* OS Web Framework • Accommodates and leverages most up-to-date Web technologies • Provides a large number of HTML5 functionalities defined by W3C and other standardization groups • Defines various new device APIs, which enable you to access device functionalities – The device functionalities are provided with a strict rule- based security control system that restricts the malicious use of the device APIs
  8. 8. 8 Tizen* OS Native Framework • Composed of system services and a set of native namespaces across various domains providing more than 10,000 open APIs – Namespaces include Base, I/O, App, Security, Graphics, UI, Net, Messaging, Social, Locations, and Web • Provides popular standard open source libraries, such as glibc, libstdc++, libxml2, OpenGL* ES, OpenAL, and OpenMP*
  9. 9. 9 HTML5 Leadership
  10. 10. 10 Tizen* Web Application Environment • One Web API across all Tizen* profiles, ensuring application portability • Web API relies on upstream standards (W3C and others) and aggressively implements early API drafts – Utilizes all W3C defined HTML5 environment and APIs – Leverages other W3C standardization efforts (for battery, sensors, etc.) • Adds new APIs only when there are no existing standards • Participate in standardization efforts to influence and accelerate relevant specifications
  11. 11. 11 Developer Benefits of HTML5 • HTML5 is the primary development environment for Tizen* apps • Widely adopted technology – Speeds app delivery across multiple OS platforms and devices • Flexible distribution model • Create Web-powered apps with rich multimedia user experiences • Create new-style, full screen, immersive, beautiful Web-powered apps – Designed and optimized for touch
  12. 12. 12 0 100 200 300 400 500 600 Feb-08 Jul-09 Nov-10 Apr-12 Aug-13 iOS Android Firefox Opera Windows WebOS Blackberry Tizen As of 2.2 Release, Tizen* OS Leads all Mobile Platforms in Support of HTML5  Highest on both html5test score and bonus points – 492 out of possible 500!  Receives max bonus points of 16 scores Tizen also best in class for Ringmark – which measures functionality needed to develop mobile apps Tizen* also best in class for Ringmark – which measures functionality needed to develop mobile apps * * * * * *
  13. 13. 13 Tizen* OS Browser and performance The Web Application stack has been highly tuned to provide the user with a smooth and responsive applications Focused work on… • Web Runtime, • JavaScript Engine, • Web UI Framework, and • web application examples …led to significant improvements in launch times. Fast and responsive Web application platform
  14. 14. 14 Examples of Tizen* Web UI FW Optimizations Intensive analysis of often used code paths and optimizations on key bottlenecks: 1. Analyzed and Improved data() 2. jqmData() >> get/setAttribute 3. Improved _getCreateOptions() 4. Analyzed and Improved template module 5. Checked event parameters on each() method calls and reduced the events as much as possible 6. Analyzed and Improved _createWidget() method 7. Analyzed and Improved $.widget() method and other methods in the call stack 8. Analyzed and Improved "widgetex" object 9. Analyzed sections from "DomContentLoaded" event to paint DOM element and improved the sections 10. Analyzed and improved sections which have deep call stacks
  15. 15. 15 Tizen* OS is Open
  16. 16. 16 Developing Tizen* OS Solution • maintains the Tizen* OS upstream project, which includes open source components only • An OSV can develop a Tizen OS commercial solution • OSV’s value–add can include – BSP integration, kernel customization – Proprietary component integration – Application development – Performance optimization and product validation – Customization and system integration Extensive details at
  17. 17. 17 Source Code Management • Git OS developers use Git to clone and track Tizen package source code – • Gerrit Code is reviewed using Gerrit – • GBS (git-build-system) is used to locally build packages • MIC is an image creator. It's used to create images for Tizen*. • JIRA is used to track bugs and to gather feature requests – guide/environment-setup
  18. 18. 18 Tizen* OS Compliance • Tizen* OS Compliance is designed to ensure mobile device implementations and applications work together – Mobile device implementations: if implemented to a profile, a device will provide a consistent behavior defined by that profile to applications, and provide a consistent user experience – specification – Applications: if built to this specification, applications will run on compliant devices which implement the APIs it uses. Applications MAY be targeted to a specific profile if necessary –
  19. 19. 19 Tizen* OS Compliance Platform & Profiles • The current profile is – Mobile: Handsets, tablets • Additional profiles are expected in the future, possibly including – IVI: In-vehicle infotainment systems – TV: DTV/STB/IPTV systems – Clamshell: Notebook style laptops – Camera: Cameras – Printer: Printers
  20. 20. 20 Innovation, Differentiation and a Robust Developer Program
  21. 21. 21 Examples of Innovation and Differentiation • Security • Camera stack • Connectivity • Power Management
  22. 22. 22 Tizen* Security Tizen* takes a layered approach to security, with an innovative framework that allows platforms to implement a manageable security solution, and minimizing the attack vectors of malware. WRT - Web Runtime • Each application is sandboxed • Each Application is digitally signed by the developer and by the distributor (Tizen store) • Encrypted application is decoded at runtime, not at install SMACK - Simplified Mandatory Access Control in the Kernel • Each application has its own SMACK label • Any access to an object in the system (e.g. contacts database) is checked against the SMACK rules Content Security Framework • Provides privileges necessary to properly protect the device • APIs to scan applications, device content, URLs used by the applications, etc.
  23. 23. 23 Software Hardware with software(image copy) Hardware(buffer sharing) low-cpu Preview I420-> ffcolorspace - > ximagesink (800x600@10fps) NV12 -> vaapiupload(cpu to gpu) -> vaapisink (800x600@30fps) NV12(surface) -> vaapisink (800x600@30fps) Recorder I420 -> x264enc(software) -> 3gppmux (800x600@5fps) NV12 -> vaapiupload - > vaapiencode -> 3gppmux (720p@20fps) NV12(surface) -> vaapiencode -> 3gppmux (1080p@30fps) Capture 2.3 sec/8M JPEG 1.1 sec/8M JPEG 0.62 sec/8M JPEG Tizen* Camera Performance tuning
  24. 24. 24 Video recorder and View Finder performance tuning • Buffer sharing for video recorder • Dual stream support Still image capture performance tuning • Remove unnecessary color convert for still image capture • Buffer sharing for still image capture Tizen* Camera Performance tuning
  25. 25. 25 Tizen* OS Connectivity • The mobile profile is using a Tizen* specific Telephony stack – oFono (another open source project) has been integrated into Tizen and provides a rich set of features • Similarly, the NFC solution in Tizen mobile targets a specific set of NFC hardware – The Open Source Linux*-NFC (neard) solution has been adapted to work inside Tizen, and could be used as an alternative option Differentiation or Innovation? Integrators have options!
  26. 26. 26 Tizen* OS Power Management There are multiple energy saving features in the Linux kernel, at the whole system level as well as at the individual processor or I/O device level. • To get to longer battery life – Only do needed jobs – Do the job as fast as possible – Enter into low power status as much as possible – Avoid unnecessary wakeup as much as possible
  27. 27. 27 Tizen* OS Power Management • APIs – Power - power_lock_state / power_unlock_state / power_wakeup …… – libslp-pm - pm_lock_state / pm_unlock_state / pm_change_state • User Space – Power-manager: one daemon to implement and manage those states – Device manager: provide platform specific callbacks • Kernel Space – Standard way of suspend/resume and enter into sleep state  (STR for Tizen*) – Wakeup Events Framework from 2.6.36  /sys/power/wakeup_count  pm_stay_awake / pm_relax / pm_wakeup_event
  28. 28. 28 Tizen* Software Development Kit Platform Binaries and Libraries IDE Header FilesTools Sample Apps Includes all of the tools, documentation, and resources to create Tizen* Web applications (using Tizen Web API) and Tizen Native Applications (using the Tizen Native API)
  29. 29. 29 SDK IDE and Tools • SDK IDE: A development environment with a set of coding and development tools • Command line interface: This tool is the IDE functional tool in the Tizen* SDK • UI builder: This WYSIWYG (What You See Is What You Get) design environment tool is used to create user interfaces • Web simulator and emulator: These tools allow you to run your Web applications to develop and debug them • Help files, code samples, wiki, forums, IRC channel, mailing lists…
  30. 30. 30 Tizen* Web App Development Cycle Features: • Eclipse* based IDE • Cross-OS support • Deploy/debug with VM or device • Device emulation • Target Platforms – Current: x86/ARM* Handheld – In plan: IVI Develop Debug Package •Web app pkg format (.wgt) Or •Native App (.TPK) Virtual Machine Tizen* SDK On device QEMU QEMU Emulator Linux* & Windows* Host Workstation WebKit runtime Simulator Distribute App Store
  31. 31. 31 The Tizen* store is open for submissions at Tizen* Store
  32. 32. 32 • The Tizen* App Challenge is open NOW through November 1, 2013 • Submit your app to the Tizen Store • Once verified, submit the App ID to the competition • 54 prizes in 9 categories • Over $4 Million in prizes!!!!! • The top 10 ranked HTML5 apps will be eligible for an additional $50,000 prize! • Tizen* Application Challenge!
  33. 33. 33 Industry Leaders Support
  34. 34. 34 Tizen*Association Members Strong Industry Momentum behind Tizen*! See for more details
  35. 35. 35 Governance
  36. 36. 36 Tizen* Release History Web- centric platform Web/ native dual framework Tizen* 1.0 Tizen 2.0 Apr 2012 Feb 2013 Tizen 2.2 Tizen 2.1 Hybrid Web/Native, Enhanced Security, and Optimized Performance Commercial Ready w/ Enhanced UX May 2013 July 2013 All products, dates and figures specified are preliminary based on current expectations, and are subject to change without notice
  37. 37. 37 Tizen* IVI Release History GENIVI Compliance • Fastboot with systemd < 5 secs • Rootfs < 500 Mb • Sample Navigation App • Sample Hands free dialer App • Media Player App • IVI Home Screen App Fully Functional Web Framework • Automotive Message Broker • BT HFP dialer application • DLNA • Murphy Policy Manager • WiFi Tethering • Dual Display Support • Sample IVI Apps Focus Areas • Wayland • Fast Boot • Small Footprint • Ethernet • NFC • HW Acceleration • Vehicle & Additional Web APIs for Automotive • UI Manager Tizen* 1.0 Tizen 2.0 Tizen Next 2012 Apr ‘13 All products, dates and figures specified are preliminary based on current expectations, and are subject to change without notice
  38. 38. 38 Tizen* 3.0 and Beyond - Future Trends Tizen* 3.0 @ All development is @ • Git trees are maintained @ • Patch submission via Gerrit @ • Daily / Weekly images availability @ Upstream and Tizen specific packages already available @ Generic Images are available @ • Images for IVI and mobile platforms is being worked @
  39. 39. 39 Summary
  40. 40. 40 Tizen* Summary HTML5 Leadership Truly Open Innovation and Differentiation Industry Leaders Support Freedom to drive HTML5 innovations without speed bumps Equal opportunity to shape direction Freedom to innovative Industry leaders unite around a common OS and app store Multiple OS’s and devices Not controlled by a single entity Freedom to differentiate Multiple choices at every level of the stack Ability to leverage existing web apps & tools No restrictions on applications/ services Robust developer program to deliver innovative apps W3C API support Open governance HTML5 Leadership Truly Open Innovation and Differentiation Industry Leaders Support Delight consumers and enable ecosystem partner differentiation with a cross-device, cross-architecture, open software platform based on a comprehensive standards-based HTML5 implementation
  41. 41. 41 Summary • The Tizen* software platform is a robust and flexible Open Source platform highlighting best-in-class HTML5 support • Tizen is customizable and open for OSV/OEM to develop innovative products • Tizen provides a set of tools and defines working process for developers to collaborate on OS and application development • Opportunities for OSV to provide value-add
  42. 42. 42 Next Steps • For OEMs, System Integrators, OSVs – Check out – Get involved in the development of Tizen* – Consider Tizen for the basis for your next project • For Application Developers – Download the Tizen SDK and explore the options it can provide you – Check whether your favourite app development environment supports or is planning to support Tizen – Submit your app to the Tizen Challenge
  43. 43. 43 Additional Sources of Information PDF of this presentation is available is available from our Technical Session Catalog: The URL is on top of Session Agenda Pages in Pocket Guide. Information Tizen* IVI demo Technology Showcase HTML5 Experience Zone Technology Showcase Tizen Project Tizen OS Development documentation Developing Tizen Web Applications LinuxCon – Tizen mini-summit September 16th -20th, 2013 Tizen Developer Summit Seoul, Korea, October 11th -12th, 2013
  44. 44. 44 Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: Tizen is a trademark of the Linux* Foundation Bluetooth is a trademark owned by its proprietor and used by Intel Corporation under license. Intel, Look Inside and the Intel logo are trademarks of Intel Corporation in the United States and other countries. *Other names and brands may be claimed as the property of others. Copyright ©2013 Intel Corporation.
  45. 45. 45 Risk Factors The above statements and any others in this document that refer to plans and expectations for the third quarter, the year and the future are forward-looking statements that involve a number of risks and uncertainties. Words such as “anticipates,” “expects,” “intends,” “plans,” “believes,” “seeks,” “estimates,” “may,” “will,” “should” and their variations identify forward-looking statements. Statements that refer to or are based on projections, uncertain events or assumptions also identify forward-looking statements. Many factors could affect Intel’s actual results, and variances from Intel’s current expectations regarding such factors could cause actual results to differ materially from those expressed in these forward-looking statements. Intel presently considers the following to be the important factors that could cause actual results to differ materially from the company’s expectations. Demand could be different from Intel's expectations due to factors including changes in business and economic conditions; customer acceptance of Intel’s and competitors’ products; supply constraints and other disruptions affecting customers; changes in customer order patterns including order cancellations; and changes in the level of inventory at customers. Uncertainty in global economic and financial conditions poses a risk that consumers and businesses may defer purchases in response to negative financial events, which could negatively affect product demand and other related matters. Intel operates in intensely competitive industries that are characterized by a high percentage of costs that are fixed or difficult to reduce in the short term and product demand that is highly variable and difficult to forecast. Revenue and the gross margin percentage are affected by the timing of Intel product introductions and the demand for and market acceptance of Intel's products; actions taken by Intel's competitors, including product offerings and introductions, marketing programs and pricing pressures and Intel’s response to such actions; and Intel’s ability to respond quickly to technological developments and to incorporate new features into its products. The gross margin percentage could vary significantly from expectations based on capacity utilization; variations in inventory valuation, including variations related to the timing of qualifying products for sale; changes in revenue levels; segment product mix; the timing and execution of the manufacturing ramp and associated costs; start-up costs; excess or obsolete inventory; changes in unit costs; defects or disruptions in the supply of materials or resources; product manufacturing quality/yields; and impairments of long-lived assets, including manufacturing, assembly/test and intangible assets. Intel's results could be affected by adverse economic, social, political and physical/infrastructure conditions in countries where Intel, its customers or its suppliers operate, including military conflict and other security risks, natural disasters, infrastructure disruptions, health concerns and fluctuations in currency exchange rates. Expenses, particularly certain marketing and compensation expenses, as well as restructuring and asset impairment charges, vary depending on the level of demand for Intel's products and the level of revenue and profits. Intel’s results could be affected by the timing of closing of acquisitions and divestitures. Intel's results could be affected by adverse effects associated with product defects and errata (deviations from published specifications), and by litigation or regulatory matters involving intellectual property, stockholder, consumer, antitrust, disclosure and other issues, such as the litigation and regulatory matters described in Intel's SEC reports. An unfavorable ruling could include monetary damages or an injunction prohibiting Intel from manufacturing or selling one or more products, precluding particular business practices, impacting Intel’s ability to design its products, or requiring other remedies such as compulsory licensing of intellectual property. A detailed discussion of these and other factors that could affect Intel’s results is included in Intel’s SEC filings, including the company’s most recent reports on Form 10-Q, Form 10-K and earnings release. Rev. 7/17/13