how the osgi residential specifications can help to build an ecosystem for smart home - kai...

19
COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved OSGi Residential Specification Release 6 Andreas Kraft & Kai Hackbarth Co-chairs Residential Expert Group

Upload: mfrancis

Post on 16-Apr-2017

581 views

Category:

Technology


2 download

TRANSCRIPT

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

OSGi Residential Specification Release 6 Andreas Kraft & Kai Hackbarth Co-chairs Residential Expert Group

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Agenda

•  The War of Smart Home Protocols •  Smart Home Ecosystem •  The Role of OSGi

•  Overview OSGi Residential Specification Release 4.3 •  Overview OSGi Residential Specification Release 6

•  EnOcean Device Service Specification •  USB Device Service Specification •  Serial Device Service Specification •  Network Interface Information Service Specification •  Resource Monitoring Specification •  Device Abstraction Layer Specification •  Device Abstraction Layer Functions Specification

•  Conclusion

Page 2

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

The War of Smart Home Protocols

Page 3

IEEE 802.3 IEEE 802.11

IEEE 802.15.4

Bonjour

Wired Protocols Wireless Protocols

IP-Device(s) (Discovery)

EHS/Konnex

proprietary non-proprietary

non-IP-based IP-based

IPv6-capable IPv4-capable

mDNS

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Smart Home Ecosystem

Page 4

Application and platform developers

Operators OEMs and vendors Semiconductors

Operators OEMs and vendors Semiconductors

HAN technology owners and vendors

Application and platform Developers OEMs and vendors

Application and platform Developers OEMs and vendors

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

The Role of OSGi

Page 5

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Overview Residential Specification Release 4.3

Page 6

2012: OSGi Residential Specification 4.3 published

Fulfills HGI SWEX Requirements e.g., • BBF TR069 Connector Service Specification • BBF TR157 Amendment 3 Software Module Guidelines • DMT Admin 2.0

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Overview Residential Specification Release 6

2015: OSGi Residential Specification 6 published

• EnOcean Device Service Specification • USB Device Service Specification • Serial Device Service Specification • Network Interface Information Service Specification • Resource Monitoring Specification • Device Abstraction Layer Specification • Device Abstraction Layer Functions Specification

Page 7

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

EnOcean Device Service Specification

•  API of an EnOcean Base Driver according to OSGi Device Access specification

•  Discovery and control of EnOcean devices as OSGi services •  Support for event handling •  OSGi services exported as EnOcean devices

Page 8

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

USB Device Service Specification

•  Home Gateway use USB Dongles to support additional HAN technologies •  USB Device Services Spec. allows to get detailed information about connected

USB devices •  Realized as an OSGi USBInfoDevice service

Page 9

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Serial Device Service Specification

•  The Serial Device Service specification defines an API for establishing communication between an OSGi bundles and a serial device, such as a ZigBee coordinator or Z-Wave controller

•  No common abstraction from serial interface library in Java today •  Javax.comm is old •  RX/TX not carrier friendly

Page 10

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Network Interface Information Service Specification

•  Java today is not able to recognize and notify about changes in low level IP functions •  Network interface •  IP adresss / version •  MAC address

Page 11

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Resource Monitoring Specification

• Monitoring bundles resource usage • Granular activation

•  per Bundle •  per set of Bundles

• Five resource type are specified •  CPU, memory, disk storage, alive threads and in use sockets

• Resource types can be extended and query-able • Eventing mechanism

Page 12

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Resource Monitoring Specification – Typical Use Case

Page 13

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Device Abstraction Layer Specification

Basic Functions of a Device Abstraction API

• Discovery: Notification mechanism when adding or removing smart appliances

• Control and query: Set and retrieve state values of appliances

• Eventing: Notification mechanism upon change of state values

• Management: Inclusion/exclusion of appliances, key management, firmware upgrades etc.

Page 14

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Device Abstraction Layer...not

11/4/15

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Device Abstraction Layer Specification

•  API applicable for all relevant device protocols ●  General device data model ●  Device operations •  Access control based on user and application permissions

•  Fine-grained security control •  Full flexibility of OSGi security model

•  A notification mechanism is needed for: •  Device state monitoring •  Device data model monitoring •  Device operations monitoring

Page 16

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Device Abstraction Layer Specification

Page 17

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Device Abstraction Layer Functions Specification

Page 18

Functions flexibility Implementations of org.osgi.service.dal.Function

These functions can be • reused in a specific domain, • extended if required functionality is missing, or • replaced in a specific domain.

•  BooleanControl •  BooleanSensor •  MultiLevelControl •  MultiLevelSensor

•  Meter •  Alarm •  Keypad •  WakeUp

COPYRIGHT © 2009-2015 OSGi Alliance. All Rights Reserved

Conclusion •  OSGi REG delivered 2 specification releases for smart home •  Collaboration with other SDOs •  REG specification helped to drive adoption •  REG Specifications are also applicable to many other IoT verticals

11/4/15