9
BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Embed Size (px)

DESCRIPTION

Budapest BelAmI JT6: Assisted Living and Working April 28th Slide 3 Joint Task 6 Project Mission: Definitions  OSGi: Developed by OSGi Alliance (BMW, IBM, Ericson, Siemens, Vodafone, Sun, etc.) OSGi is a dynamic, modular, service-oriented framework over JAVA VM. Components are located in bundles.  R-OSGi : Open-source extension to OSGi, ensures high-level connection among distributed OSGi frameworks over TCP/IP.  Phsysical Device: a hardware, or set of hardwares: sensors, sensor networks, mobile phones, PDAs, UPnP camera, intelligent medical devices, actuators, home automation devices, etc.  Device components: software components, that handle physical devices, offers high-level services. These components are JAVA- based (minimum: J2ME/CDC) and meet the requirements of org.osgi.service.device specification  Driver components : software components, that serve device components. Drivers are assigned to specific technologies: Serial, UDP, USB, UPnP, etc. They also acts on org.osgi.service.device.

Citation preview

Page 1: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

BelAmI JT6: Assisted Living and Working

Joint Workshop

Budapest, April 28./29.Ákos Nagy, András Szabó, Lóránt Vajda

Page 2: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 2

Joint Task 6

Project Mission: Challenge

Create a dynamic architecture Create drivers for different technologies Ease of Use Reliable System Start/Stop Drivers/Devices Easy configuration of Devices/Drivers

Page 3: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 3

Joint Task 6

Project Mission: Definitions OSGi: Developed by OSGi Alliance (BMW, IBM, Ericson, Siemens,

Vodafone, Sun, etc.) OSGi is a dynamic, modular, service-oriented framework over JAVA VM. Components are located in bundles.

R-OSGi : Open-source extension to OSGi, ensures high-level connection among distributed OSGi frameworks over TCP/IP.

Phsysical Device: a hardware, or set of hardwares: sensors, sensor networks, mobile phones, PDAs, UPnP camera, intelligent medical devices, actuators, home automation devices, etc.

Device components: software components, that handle physical devices, offers high-level services. These components are JAVA-based (minimum: J2ME/CDC) and meet the requirements of org.osgi.service.device specification

Driver components : software components, that serve device components. Drivers are assigned to specific technologies: Serial, UDP, USB, UPnP, etc. They also acts on org.osgi.service.device.

Page 4: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 4

Joint Task 6

Tutorial: R-OSGi in a nutshell Share services among virtual gateways

JVM

Root Space

User Space User Space

Common Services

Specific Services

Gateway operator

Service provider

Page 5: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 5

Joint Task 6

Tutorial: R-OSGi in a nutshell

JVM

OSGi

R-OSGi

JVM

OSGi

R-OSGi

JVM

OSGi

R-OSGi

Share services among virtual gateways Communication:

• Remote Service Access: Remote method calls supporting complex data object transport (despite UPnP)

• Eventing: OSGi events are transported between connected peers

Automated Service Discovery in subnet Direct connection to known peers via HTTP Supports Bluetooth

Service 1.

Service 3.

Computer A

Computer B

Computer C

Service 2.Service 2.

Page 6: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 6

Joint Task 6

Tutorial: Device Access in a nutshell Specified by OSGi Alliance, introduced in R3 release Device Access Specification – OSGi based mechanism to handle physical

devices (configuration, life-cycle management,etc.) Using the dynamism of OSGi, enables plug@play, almost zero-conf scenarios.

How it works????Device Device ManagerManager

DevicesDevices

DriversDrivers

BATSY

Adhoco

Particle

Micaz

Serial

USB

UPnP

UDP/TCP

Synchronization Driver assignments to Devices Device-Driver life-cycle management in the background

Page 7: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 7

Joint Task 6

Tutorial: Device Access in a nutshell

How it works????

JVM

OSGi

Device Device ManagerManager

DevicesDevices

BATSYBATSY

DriversDrivers

Serial

USBUPnP

UDP/TCP

Serial

FACT

: SZOVEGET IDE!!!!!!!

Page 8: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 8

Joint Task 6

Tutorial: Device Access and R-OSGi

OSGi

R-OSGi

OSGi

R-OSGi

OSGi

R-OSGi

Device Manager

JVM

JVM

JVMComputer A

Computer B

Computer C

BATSYDevice

USBUPnP

UDP/TCP

Serial

SerialDriver

Easy to develop new Driver Easy to develop new Device

PROXY

BATSYDevice

SerialDriver

Page 9: BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda

Budapest

BelAmI JT6: Assisted Living and Working

April 28thSlide 9

Joint Task 6

Tutorial: Why to use R-OSGI

OSGi

R-OSGi

OSGi

R-OSGi

OSGi

R-OSGi

JVM

J2ME/CLDC

J2ME/CLDCComputer A

Computer B

Computer C

Distributed environent (intelligent home)

High-level connection between nodes

R-OSGi can run on small devices using Concierge OSGi Framework

iMote

Concie

rge

Concie

rge

Equin

ox

Nokia 770

Routers

SonyEricsson m600i

iPAQ WM