osgi iot demo @ cebit 2016
Post on 16-Apr-2017
608 Views
Preview:
TRANSCRIPT
COPYRIGHT © 2008-2016 OSGi Alliance. All Rights Reserved
OSGi IoT Demo 201614 to 18 March, Hannover, Germany
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
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
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/
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/
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/
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.
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
• 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
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
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
- 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
• 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
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
- 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
November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved 16
Customized Hardware
• 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
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
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
20
Emulator & GUI
March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved
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
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
• 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
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
25 March 2016OSGi IoT Demo CeBIT 2016. © 2008-2016 OSGi Alliance. All Rights Reserved
@OSGiAlliance Join our group
help@osgi.org www.osgi.org
https://www.osgi.org/about-us/working-groups/internet-of-things/
Find out more…..
top related