25
COPYRIGHT © 2008-2016 OSGi Alliance. All Rights Reserved OSGi IoT Demo 2016 14 to 18 March, Hannover, Germany

OSGi IoT Demo @ CeBIT 2016

Embed Size (px)

Citation preview

Page 1: OSGi IoT Demo @ CeBIT 2016

COPYRIGHT © 2008-2016 OSGi Alliance. All Rights Reserved

OSGi IoT Demo 201614 to 18 March, Hannover, Germany

Page 2: OSGi IoT Demo @ CeBIT 2016

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved 2

Objectives

• Demonstrate how OSGi is ‘Made for IoT’ • Showcase the OSGi ecosystem • Multiple open source projects and commercial OSGi

products integrated to deliver an end-to-end solution • Demonstrate how OSGi specifications enable a solution

that is highly extensible • builds on OSGi IoT demo’s from 2014 and 2015

• Provide a ‘visible’ demo thats fun, entertaining and engaging with visitor interaction

Page 3: OSGi IoT Demo @ CeBIT 2016

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved 3

What is OSGi?

Open Standards for Modularity and Services

• Modular Software Architecture

• Portable and Reusable Software Modules

• Dynamic Service Lifecycle

Page 4: OSGi IoT Demo @ CeBIT 2016

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved 4

Modular Software Architecture

• Common architecture applicable to M2M & IoT, Cloud and Enterprise

• Execution environment, APIs, device abstraction

• Application development framework, OSGi enRoute (enroute.osgi.org)

• Internet & IoT Scale - can run locally on one device or distributed on 10,000’s servers or millions of devices

Picture courtesy of Katie Walker https://www.flickr.com/photos/eilonwy77/

Page 5: OSGi IoT Demo @ CeBIT 2016

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved5

Portable and Reusable Modules

• Faster time-to-market • Increased agility and

reduced development effort and project risk

• Reduction in maintenance costs

• Ecosystem-based solutions Picture courtesy of observista

https://www.flickr.com/photos/everydaylifemodern/

Page 6: OSGi IoT Demo @ CeBIT 2016

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved6

Dynamic Service Lifecycle

• True 24/7 remote maintenance

• Remote software updates • Aftermarket sales of

upgrades and extensions

Picture courtesy of mac_filko https://www.flickr.com/photos/mac_filko/

Page 7: OSGi IoT Demo @ CeBIT 2016

7

OSGi - Already the Hidden Enabler

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Existing uses include: • IoT, M2M, Smart Home, Telematics, Assisted Living, Healthcare,

Automotive, Media, Control Systems, Energy Management, Smart Meters, Telecommunications, Enterprise Software Platforms and Robotics.

Page 8: OSGi IoT Demo @ CeBIT 2016

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved 8

OSGi - Made for IoT

• Roots: as a specification for Home Gateways

• OSGi Residential Expert Group (REG)

• IoT Expert Group launched September 2015

• https://www.osgi.org/about-us/working-groups/internet-of-things/

• Open specification design process https://github.com/osgi/design

Page 9: OSGi IoT Demo @ CeBIT 2016

• The OSGi Alliance is a global non-profit technology corporation and counts many leading software vendors, telcos and other organizations among its membership. A wide range of open source projects and commercial products use OSGi technology for IoT, cloud and enterprise markets.

• Current board members include:

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved 9

The OSGi Alliance

Page 10: OSGi IoT Demo @ CeBIT 2016

10

Key Components of the Demo

• OSGi • Its everywhere

• Applications • In the Cloud • On the Raspberry Pi’s / Gateway's

• OSGi enRoute • Train Manager • Track Manager

• Customized hardware • Circuit Boards, RFID readers, Signals and Switches /

Track Points

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 11: OSGi IoT Demo @ CeBIT 2016

11

• Objective: To make OSGi as easy as possible for

developers to get started with OSGi without compromising its core values

http://enroute.osgi.org

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 12: OSGi IoT Demo @ CeBIT 2016

- Gateways & Everywhere Cloud

• Eurotech industrial gateways

• Eurotech Everywhere Cloud - Instant accessibility to, and

management of, device data through the cloud platform

• In Demo: - ReliaGATE DynaCOR - ReliaGATE 10-20 - Everywhere Cloud

12 March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 13: OSGi IoT Demo @ CeBIT 2016

• An OSGi Cloud - Built from OSGi - Supports OSGi, non-OSGi, non-Java

and Docker-based apps

• Dynamic - self scaling • Resilient - self healing • Model-Driven - automated

deployment and management • Middleware Agnostic • In Demo:

- Hosting Track Manager, ProSyst mPRM, MQTT Broker, Redis

- Automated discovery for Raspberry Pi’s

13

- Service Fabric

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 14: OSGi IoT Demo @ CeBIT 2016

14

- mPRM

IoT Backend

3rd Party

TR-069

Cloud Services

ProSyst mBS

OSGi Framework

Device Abstraction

LayerManagement

Agent

Notification

Database

User and Role Management

Modules (e.g. Applications)

(Service) Applications

Software Repository

Device and Software Management

Modules (e.g. Applications)

etc.

etc.SMS

Misc. Modules

IoT Gateway

Device Protocols

ProSyst mPRMUser Interface / Interaction

End-User Devices

OMA-DM

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 15: OSGi IoT Demo @ CeBIT 2016

- Kura

• An open source Java / OSGi framework for IoT Gateways

• Kura APIs provide access to: - underlying hardware - management of network configuration communications - gateway management

• Includes support for Bluetooth LE • Works on Raspberry Pi, Beaglebone, Intel Edison and

Custom Hardware

15 March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 16: OSGi IoT Demo @ CeBIT 2016

November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved 16

Customized Hardware

Page 17: OSGi IoT Demo @ CeBIT 2016

• Red/Green LED’s provide signals • IR LED emulates LEGO® Remote Control

17

Customized Hardware• Circuit boards made for controlling signals, points and

train and RFID readers • Fritzing (see http://fritzing.org/projects/raspberry-pi-rfidmotorled-driver)

What we did: • RFID readers

detect train location • Motors operate the

points

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 18: OSGi IoT Demo @ CeBIT 2016

November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved 18

Track Manager

• Track Manager: • controls the switches

(points) • controls the signals • receives the RFID • dispatches events so that

the other participants know what is going on

SDKTrack Manager

• Controls the switches (points)

• Controls the signals • Receives the RFID • Dispatches events so

that the other participants know what is going on

Page 19: OSGi IoT Demo @ CeBIT 2016

November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved 19

SDK

Train Manager • Responsible for navigating the train • Assigned a position and the

software must then navigate through the track to that destination

• Must obtain permission to use segments of the track

• Must obey the signals • Make sure the train does not speed

Page 20: OSGi IoT Demo @ CeBIT 2016

20

Emulator & GUI

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 21: OSGi IoT Demo @ CeBIT 2016

21

SDK Service ModelKEY

• Yellow triangle — Service. Triangle points to the provider of the service. Listeners connect to the side of the triangle and clients of the service to the straight part.

• Orange rounded rectangle — Bundle

• Green Parallelogram — An IO device

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 22: OSGi IoT Demo @ CeBIT 2016

22

Demo ArchitectureOSGi enRoute based SDK running in Cloud and on Raspberry Pis

OSGi running everywhere

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

ProSyst mPRM

MQTTTrack

ManagerRedis

Train Manager

ProSyst mPRM Provisions OSGi Bundles ro Raspberry Pi's

Raspeberry Pi Train Manager Communicates

with Cloud Track Manager using

Distributed OSGi to update Train

positions

Page 23: OSGi IoT Demo @ CeBIT 2016

• Peter Kriens from OSGi Alliance and members of the following organizations:

23

Thanks

March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

Page 24: OSGi IoT Demo @ CeBIT 2016

November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved 24

SDK Service ModelSDKGet Involved

Make Your Mark

Help us create and deliver the future www.osgi.org/Join

Join the OSGi Alliance and

the IoT Expert Group

Page 25: OSGi IoT Demo @ CeBIT 2016

25 March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved

@OSGiAlliance Join our group

[email protected] www.osgi.org

https://www.osgi.org/about-us/working-groups/internet-of-things/

Find out more…..