90 likes | 188 Views
BelAmI JT6: Assisted Living and Working. Joint Workshop Budapest, April 28./29. Á kos Nagy , András Szabó, Lóránt Vajda. Project Mission: Challenge. Create a dynamic architecture Create drivers for different technologies Ease of Use Reliable System Start/Stop Drivers/Devices
E N D
BelAmI JT6: Assisted Living and Working Joint Workshop Budapest, April 28./29. Ákos Nagy, András Szabó, Lóránt Vajda
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
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.
Specific Services Common Services User Space User Space Service provider Gateway operator Tutorial: R-OSGi in a nutshell • Share services among virtual gateways Root Space JVM
OSGi OSGi OSGi R-OSGi R-OSGi R-OSGi Service 2. Service 2. Service 3. Service 1. Tutorial: R-OSGi in a nutshell • 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 JVM Computer B JVM Computer A JVM Computer C
Device Manager Devices Drivers 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???? BATSY Adhoco • Synchronization • Driver assignments to Devices • Device-Driver life-cycle management in the background Particle Micaz Serial USB UPnP UDP/TCP
FACT Device Manager Devices Drivers Tutorial: Device Access in a nutshell Serial Serial USB UPnP UDP/TCP BATSY BATSY OSGi JVM • How it works???? : SZOVEGET IDE!!!!!!!
OSGi OSGi OSGi R-OSGi R-OSGi R-OSGi Serial Driver Device Manager BATSY Device Serial Driver BATSY Device JVM Computer B JVM JVM Computer A Computer C Serial USB UPnP Tutorial: Device Access and R-OSGi UDP/TCP • Easy to develop new Driver • Easy to develop new Device PROXY
OSGi OSGi OSGi R-OSGi R-OSGi R-OSGi J2ME/CLDC Computer B JVM J2ME/CLDC Computer A Computer C Tutorial: Why to use R-OSGI iMote • Distributed environent (intelligent home) • High-level connection between nodes • R-OSGi can run on small devices using Concierge OSGi Framework Concierge Nokia 770 Equinox Routers Concierge iPAQ WM SonyEricsson m600i