Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
OSGi Devcon 2011DLNA Bundles – OSGi as a Media Gateway  Shinya Nobuoka  Hitachi Solutions  Mar 24, 2011                   ...
Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary                       © Hitachi Solutions, Lt...
Who we are Shinya Nobuoka OSGi bundle developer at Hitachi Solutions Hitachi Solutions - System Integrator/Developer - Loc...
Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary                       © Hitachi Solutions, Lt...
Motivation  What is the killer application/service on OSGi?  We focused on Media services    Idea & Objective:    Develop ...
Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary                 © Hitachi Solutions, Ltd. 201...
What is DLNA? DLNA   Standard for sharing media contents among    home devices on the LAN                  (1) play      ...
Why DLNA? DLNA is a widely accepted standard on home network area There are a lot of home devices those support DLNA  900...
Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary                       © Hitachi Solutions, Lt...
DLNA Bundles Overview  Make HGW         Get media files from                    Control DLNA to be a DMS      the internet...
How to implement DLNA stack 1/3   DLNA is based on UPnP (Universal Plug and Play)                    DLNA           Media ...
How to implement DLNA stack 2/3  Problem UPnP service does not provide functions needed to implement DLNA serviceExample C...
How to implement DLNA stack 3/3    Our Solution  Add “hidden interface” to UPnP by using  Dictionary argument Example Case...
Getting internet contents into DLNA 1/4   Idea: DMS Proxy  DMS (DLNA server) which get contents from the  internet and sho...
Getting internet contents into DLNA 2/4   Implementation issues of DMS Proxy on HGW   1. Lack of CPU power for video trans...
Getting internet contents into DLNA 3/4    Transcoding Server   Enables real-time transcoding using server’s    CPU resou...
Getting internet contents into DLNA 4/4    DMS Core    Provides core functions for implementing DMS    Simplifies DMS ap...
Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary                       © Hitachi Solutions, Lt...
DMS Proxy for a video site  Use smart phone as a controller                        Select a video,                        ...
Picture sharing between homes   Send pictures to friend’s home (1) Take picture,                                 (3) Send ...
Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary                       © Hitachi Solutions, Lt...
Summary Developed DLNA bundles those can be used for internet-based media service  DLNA stack can be implemented by   ext...
Thank you!         http://www.hitachi-solutions.com/        Shinya Nobuoka        shinya.nobuoka.vs@hitachi-solutions.comD...
Upcoming SlideShare
Loading in …5
×

DLNA bundles - OSGi as a Media Gateway

4,338 views

Published on

Published in: Technology
  • Be the first to comment

DLNA bundles - OSGi as a Media Gateway

  1. 1. OSGi Devcon 2011DLNA Bundles – OSGi as a Media Gateway Shinya Nobuoka Hitachi Solutions Mar 24, 2011 © Hitachi Solutions, Ltd. 2011. All rights reserved.
  2. 2. Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary © Hitachi Solutions, Ltd. 2011. All rights reserved. 1
  3. 3. Who we are Shinya Nobuoka OSGi bundle developer at Hitachi Solutions Hitachi Solutions - System Integrator/Developer - Location: Tokyo, Japan - Providing OSGi-certified product “SuperJ Engine Framework” © Hitachi Solutions, Ltd. 2011. All rights reserved. 2
  4. 4. Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary © Hitachi Solutions, Ltd. 2011. All rights reserved. 3
  5. 5. Motivation What is the killer application/service on OSGi? We focused on Media services Idea & Objective: Develop DLNA bundles those enable media services through the internet Video Site Video Picture Sharing DLNA DLNA bundles Friend’s Home Picture OSGiDLNADevice Home Gateway © Hitachi Solutions, Ltd. 2011. All rights reserved. 4
  6. 6. Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary © Hitachi Solutions, Ltd. 2011. All rights reserved. 5
  7. 7. What is DLNA? DLNA  Standard for sharing media contents among home devices on the LAN (1) play Video Server (DMS) Player (DMP/DMR) (2) control Controller (DMC) (Case 1) Watch a video in recorder from TV (Case 2) Use cell phone as a remote controller © Hitachi Solutions, Ltd. 2011. All rights reserved. 6
  8. 8. Why DLNA? DLNA is a widely accepted standard on home network area There are a lot of home devices those support DLNA  9000 DLNA-certified products  440 million DLNA-certified devices TV PC Smart Phone Game Devices HDD Recorder © Hitachi Solutions, Ltd. 2011. All rights reserved. 7
  9. 9. Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary © Hitachi Solutions, Ltd. 2011. All rights reserved. 8
  10. 10. DLNA Bundles Overview Make HGW Get media files from Control DLNA to be a DMS the internet, open it for devices from home net. browser Contents Video Site control DLNA USB DMS DMS Proxy HTML DMC DMS Core DMC Core UPnP OSGi [Issue 1] How to implement DLNA stack [Issue 2] Getting internet contents into DLNA © Hitachi Solutions, Ltd. 2011. All rights reserved. 9
  11. 11. How to implement DLNA stack 1/3 DLNA is based on UPnP (Universal Plug and Play) DLNA Media contents sharing Automatic device among electric devices discovery on the (e.g. TV, recorder,..) same network UPnP UPnP is standardized as a OSGi service. Basic idea is to implement DLNA service on the UPnP service DLNA App DLNA (stack) UPnP (stack) But.. © Hitachi Solutions, Ltd. 2011. All rights reserved. 10
  12. 12. How to implement DLNA stack 2/3 Problem UPnP service does not provide functions needed to implement DLNA serviceExample Case DLNA app needs <dlna:> tag info inserted into UPnP message UPnP service has no means to include <dlna:> tag info into UPnP message Need to extend UPnP service Original interface of UPnP should not be changed (else it causes compatibility problem) <?xml…> <device> DLNA App … <dlna:X_DLNADOC…> DLNA DMS-1.50 DLNA </dlna:X_DLNADOC> UPnP device © Hitachi Solutions, Ltd. 2011. All rights reserved. 11
  13. 13. How to implement DLNA stack 3/3 Our Solution Add “hidden interface” to UPnP by using Dictionary argument Example Case (cont.) UPnP service adds <dlna:> tag info into UPnP message only if <dlna:> tag info was present in the Dictionary argument from DLNA App Dictionary (Map) DLNA App object Device info <?xml…> UPnP.device.type: urn:schemas… <device> … UPnP.device.manufacturer: Hitachi <dlna:X_DLNADOC…> … DMS-1.50 DLNA.x_dlnadoc: DMS-1.50 </dlna:X_DLNADOC> DLNADLNA UPnPdevice © Hitachi Solutions, Ltd. 2011. All rights reserved. 12
  14. 14. Getting internet contents into DLNA 1/4 Idea: DMS Proxy DMS (DLNA server) which get contents from the internet and show them as DLNA contents 1. Convert contents list to DLNA format/protocol 2. Transcode videos (flv, mp4) to DLNA format (mpeg2) ・ ------- ・ ------- ・ ------- ・ ------- ・ ------- ・ ------- ・ ------- ・ ------- DLNA contents list contents list Video Site X DLNA DMS Proxy DLNA Picture Site Y contents file contents file device DLNA protocol UPnP © Hitachi Solutions, Ltd. 2011. All rights reserved. 13
  15. 15. Getting internet contents into DLNA 2/4 Implementation issues of DMS Proxy on HGW 1. Lack of CPU power for video transcoding Solution: Transcoding Server 2. Implementation cost of DLNA applications Solution: DMS Core © Hitachi Solutions, Ltd. 2011. All rights reserved. 14
  16. 16. Getting internet contents into DLNA 3/4 Transcoding Server  Enables real-time transcoding using server’s CPU resource  Can be worked on PlugComputer, PC, etc.. Video Site X DMS Proxy FLV MPEG2 MPEG2 DLNA device UPnP Transcoding Server © Hitachi Solutions, Ltd. 2011. All rights reserved. 15
  17. 17. Getting internet contents into DLNA 4/4 DMS Core  Provides core functions for implementing DMS  Simplifies DMS application development • Get contents list • Get contents file Picture Site X ・ ・ ------- ------- Picture Site Y ・ ------- ・ ------- Video Site Y Video Site X ・ ------- ・ ------- Simple API ・ ------- ・ ------- DLNA MPEG2 DMS Core • Generate DLNA DLNA contents list device UPnP • conceal the detail of DLNA protocol © Hitachi Solutions, Ltd. 2011. All rights reserved. 16
  18. 18. Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary © Hitachi Solutions, Ltd. 2011. All rights reserved. 17
  19. 19. DMS Proxy for a video site Use smart phone as a controller Select a video, push it to DLNA device Smart Phone (1) (2) Video Site A Video Site X (4) (DMS Proxy)DLNA DMC Core DMS Core (3)device OSGi Transcoding Server © Hitachi Solutions, Ltd. 2011. All rights reserved. 18
  20. 20. Picture sharing between homes Send pictures to friend’s home (1) Take picture, (3) Send upload to HGW Pic Reciever (2) Send DMS/DMC Core DLNA OSGi DLNA Picture Frame Eye-Fi card Friend’s Home My Home (e.g. Parents) © Hitachi Solutions, Ltd. 2011. All rights reserved. 19
  21. 21. Outline• Motivation• What is DLNA? Why?• DLNA bundles• Applications• Summary © Hitachi Solutions, Ltd. 2011. All rights reserved. 20
  22. 22. Summary Developed DLNA bundles those can be used for internet-based media service  DLNA stack can be implemented by extending UPnP service  Server side transcoding is needed for real time streaming of video files  It is possible to bring internet contents into local DLNA network There are many possible media services waiting to be implemented with DLNA bundles © Hitachi Solutions, Ltd. 2011. All rights reserved. 21
  23. 23. Thank you! http://www.hitachi-solutions.com/ Shinya Nobuoka shinya.nobuoka.vs@hitachi-solutions.comDLNA is a registered trademark and DLNA Certified is a trademark of the Digital Living Network Alliance.Eye-Fi is a registered trademark of Eye-Fi, inc.UPnP is a trademark of the UPnP Implementers Corporation.All other trademarks or registered trademarks are the property of their respective owners. © Hitachi Solutions, Ltd. 2011. All rights reserved. 22

×