Quantcast
Jump to content

webOS Open Source Edition For Developers


Recommended Posts

On March 19th, LG introduced 

link hidden, please login to view
 with the intention of opening up webOS again to the world of development to move beyond TVs. This is the second time an open-source version of webOS has been released, the first coming under the failed tenure of HP back in 2011. 

LG Chief Technology Officer Dr. I.P. Park. “webOS has come a long way since then and is now a mature and stable platform ready to move beyond TVs.”

webOS Open Source Edition Architecture

The following figure shows the overall architecture of webOS Open Source Edition (OSE). webOS OSE consist of a set of layers: Core Applications, Application Framework, Managers & Services, Base Components, and BSP/Kernel.

webOS Open Source Edition Architecture

Core Applications

  • webOS OSE has Core applications as the top layer and this layer includes System UI and System app.
  • System UI includes apps that are related to the basic user interface, such as Home Launcher and Notification. These apps are usually implemented using QML.
  • System app includes Settings app and web browser. Settings app is used to control the system properties and implemented using Enact. As a web browser, the Chromium browser is used.

Application Framework

  • To help developers creating better apps and services, webOS OSE provides enhanced options and environments compared to developing solely with HTML5, JavaScript, or CSS. The web app framework Enact, which is equivalent to jQuery, and Software Development Kit (SDK) are provided.
  • Enact
  • Enact is a web app framework optimized for developing web apps for webOS OSE. For more information and structure of Enact, refer to Enact developer site.
  • Enact is also an open source project and is provided separately from webOS OSE.

SDK

The SDK provides a development environment for web apps and services. In this release of webOS OSE, we provide a CLI-based SDK for developing and installing web apps and services. Web apps can be packaged with services that are developed using Node.js. For more details on development/packaging of web apps and services, see Command Line Interface.

Managers & Services

  • Managers & Services layer includes the following components.
  • System and Application Manager
  • System and Application Manager (SAM) oversees the behavior of apps. SAM manages each app throughout its lifecycle, including the installation, launch, termination, and removal of the app.

There are two types of apps in webOS Open Source Edition: native app and web app. In case of a web app, actual launching and management are performed by Web Application Manager as described below.

Web Application Manager

Web Application Manager (WAM) is responsible for launching and managing web apps. In addition, WAM performs CPU usage optimization, status monitoring and recovery processing, and access privileges management, all based on the running status of web apps.

Luna Surface Manager

Luna Surface Manager (LSM) is a component that works as a graphics manager. LSM displays graphical elements on the screen, manages the composition of these elements, and performs the event handling for input devices such as keyboard and pointer. LSM is also responsible for the execution and management of System UI, such as Home Launcher and Notification. LSM is implemented using Qt, and System UI is implemented using QML.

Activity Manager

Activity Manager is responsible for managing and executing activities requested from services. An activity is requested along with a specific condition, and it is triggered when the condition is met. You can configure the activity to perform tasks such as automatic execution of specific services, callback requests, and so on.

uMediaServer

uMediaServer (uMS) is a module that works as a server for the webOS media framework. uMS provides interfaces for media playback, manages resources, pipelines, and their policies, and manages the lifecycle of the media player.

Base Components

Base Components layer includes the following components.

  • LS2
  • LS2, also called Luna Bus, is a system bus used by webOS OSE. LS2 manages the interface registration and invocation required for the interconnection among apps and services. Originally based on D-bus, LS2 has been enhanced to optimize the performance for embedded device environment.

Web Engine

webOS OSE uses Chromium as the web engine. A web engine is the module that loads and parses a web app (or web page) consisting of HTML, CSS, and JavaScript, and performs all tasks required to represent the web app on the screen, such as layering and rendering. Currently the web runtime environment of webOS OSE is implemented according to the multi-process model of Chromium. Therefore, each web app is run as a separate independent process.

Chromium also includes browser logics a.k.a. Chromium browser which webOS OSE provides as the default browser app.

DB8

DB8 is an embedded JSON database that supports data storing and retrieving in the structure of key-value store. webOS OSE uses LevelDB as the back-end database. The default service associated with DB8 is the com.webos.db. The com.webos.tempdb, which allows you to configure temporary storage in memory, is also provided.

Node.js

The service framework based on Node.js is provided so that you can implement services with JavaScript language. Node.js is a JavaScript framework that is typically run on a server. In webOS OSE, Node.js has been built in to facilitate service development. For more information on developing services based on Node.js, see JS Services.

BSP/Kernel

BSP/Kernel layer consists of several components to support Raspberry Pi 3. Typically, it provides evdev for event processing, Mesa for graphics support, and Wi-Fi and wired LAN for connectivity.

Except as noted, this content is licensed under Creative Commons Attribution 4.0 and sample code is licensed under Apache License 2.0.

Visit: 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By MRAY1122
      Hi, 
       
      My LG Smart WebOS TV recently got a burned image on the screen for 2 hours now. I don't have an option to refresh the pixels on the screen to clear this through options. What options do I have to clear this up? 
       
      Model: LG WebOS uk6300PUE
    • By lina75
      Can anyone please suggest an app to watch the world cup, i tried  iptvsmarters and paid for it but it isn't working on my lg smart tv
      and i was told about TOD but couldn't find it on the lg store
    • By Sap
      Guys, please advise how we can stream the FIFA World Cup on LG Smart Tv? Jio Cinema has won the exclusive rights and it would be an absolute shame if we are not able to watch the biggest sporting event in the world on our smart TV. Nullifies the entire purpose of a Smart TV. Kindly get this addressed. 
    • By Fausto
      I aIl
      I cannot receive Rai1 4k fifa game,
      The message sayd It Is supported only from version 2.0.1.
      How can I check my installed version?
      I have received Hbbtv Channel until a few days ago 
      Let me know 
      Fausto 
       
    • By News Reporter
      Art not only inspires, it also completely changes the way we see the world. Having long understood this, LG has been committed to making life better through the power of art and technology for many years, a promise embodied by the LG OLED ART project which celebrates this merging of technical essence and artistic creativity.

      To make Asia’s largest digital art event the next stop on this influential project’s calendar, LG became the Exclusive Screen Partner of
      link hidden, please login to view. Exhibiting and debuting several creative, cutting-edge products that advance the digital art movement, LG brought its leading OLED technology to display diverse artworks in extreme detail, showing every little brushstroke while also explaining how LG merges technical essence with artistic creativity.
      Taking this opportunity to connect with the art scene on a deeper level, LG selected its stunning LG Transparent OLED Display to present the eye-catching MetaSkull artwork by renowned London-based Chinese artist , which took him and his creative team three years to perfect. A unique looping video at 4K, this masterpiece depicts a metaverse skull which opens a new chapter for art and is set to be auctioned off by Sotheby’s.
      With 38 percent display transparency, the stunning perspective design perfectly integrates the piece into the exhibition, with every fine detail of the skull revealed through the intense color contrast of LG OLED technology. Visitors and media guests were stunned by this superb technology’s ability to harness the power of technology to make amazing art into breathtaking art.

      The LG OLED Objet Collection was also present to display top digital art, including LG OLED Objet Collection Easel which, as its name suggests, resembles an elegant art frame and features a moveable fabric cover that offers a subtle, modern aesthetic. Also making an appearance was LG OLED Objet Collection Posé, which was being introduced to Hong Kong for the first time. The magnificent Posé boasts softly curved edges and a soothing, soft beige color which complements the woven fabric grooves on the back to make it aesthetically pleasing from every angle.

      Another newcomer to Hong Kong was LG OLED Flex, a groundbreaking TV that separates itself from traditional gaming displays as the world’s first freely bendable 42-inch OLED screen – a true TV history maker.

      In addition to newly launched products, LG also showcased the magnificent works of well-known artist on its 97-inch LG OLED evo Gallery Edition TV, once again demonstrating how LG’s self-lit OLED enables the ultimate digital canvas for the new generation of artists.

      (From left) Henry Chu’s ‘Flowered World’ and ‘Piano Wind’
      Inside the Collector Showcase zone, LG OLED evo Gallery Edition TVs displayed two astonishing pieces by talented Hong Kong-based artist , who works with data, music and body movements to come up with the most unique creations. Chu’s inspiring Piano Wind NFT features vivid colors and contrast, which means it requires the lifelike colors only LG OLED evo Gallery Edition TV can produce to reach its full potential.

      This exciting collaboration with the Digital Art Fair Xperience represents LG’s transformation into a leading advocate of fine art, and once again reinstates the brand’s commitment to inspiring art creation through the unique values LG OLED ART continues to deliver around the globe.
      Contributed by LG Hong Kong
      # # #

  • Similar Tagged Content




×
×
  • Create New...