30
© Hitachi Communication Technologies America, Inc. 2013. All rights reserved. Enabling Smart Data on M2M Gateways and Aggregators How OSGi and Java enables smart data on M2M aggregators and gateways. Hitachi Communication Technologies America, Inc. 3/27/2013 Walt Bowers Chief Architect OSGi Solutions

Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

Embed Size (px)

Citation preview

Page 1: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

© Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Enabling Smart Data on M2M Gateways and Aggregators How OSGi and Java enables smart data on M2M aggregators and gateways.

Hitachi Communication Technologies America, Inc.

3/27/2013

Walt Bowers

Chief Architect OSGi Solutions

Page 2: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

Contents

© Hitachi Communication Technologies America, Inc. 2012. All rights reserved.

1. M2M Overview

2. Aggregators and Gateways

3. Developer Challenges in M2M

How OSGi and Java enables smart data on M2M aggregators and gateways.

Enabling Smart Data on M2M Gateways and Aggregators

1

4. OSGi – The M2M Framework to enable smart Data

5. Demo

Page 3: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

© Hitachi Communication Technologies America, Inc. 2012. All rights reserved.

1. M2M Overview

How OSGi and Java enables smart data on M2M aggregators and gateways. Enabling Smart Data on M2M Gateways and Aggregators

2

Page 4: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

3 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

M2M Overview

Enterprise Data & Applications

Cloud for Embedded

Devices

Meters

Smart Appliances & electronics

Personal Devices

Med-Large Embedded / Multi-function Devices

VoIP Communications

Industrial controls / Network Appliances

Management / Monitoring / Operations

Sensors / Microcontrollers

Connected Vehicles

Page 5: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

4 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

M2M Architecture

Java Language & Tools

Java Language & Tools

Java Card

Java Embedded

Industries: Healthcare, Energy, Automation, Communications, etc.

SOA /ESB

DB

Enterprise Manager

Devices

Embedded Platforms & Extensions

Language

Applications

Language

Platform & Services

Servers

Z-Wave

Clien

t C

lou

d /

Serv

ers

Cloud / Network Infrastructure

Services Communications, Data Aggregation, Software Updates, Local Analytics etc.

OSGi

Application Manager

Zigbee Bluetooth

DB

Page 6: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

5 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Development on the Client Side

Java Language & Tools

Java Card

Java Embedded

DB Embedde Suite

Devices

Embedded Platforms & Extensions

Language

Clien

t

Services Communications, Data Aggregation, Software Updates, Local Analytics etc.

OSGi

To Cloud/Application

Sensors Z-Wave Zigbee Bluetooth

Page 7: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

6 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

M2M Market Dynamics

• Size , Growth, and Technology is driving an expected Revolution

– 50+ Billion connected devices anticipated 2020*

– Processing power continues to increase within these devices

allowing for enhanced intelligence

– Increasing number of ways to effectively interconnect

Machines/Devices/Equipment to an end users, cloud, and business

applications

* Source Ericsson

• However, realization of these benefits are not occurring today because:

– Complete or end-to-end solutions are inherently complex and costly to design, develop and deploy

– Solutions that are deployed today can be a combination of technologies that are stitched together and thereby not able to evolve or adapt easily

Page 8: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

© Hitachi Communication Technologies America, Inc. 2012. All rights reserved.

2. Aggregators and Gateways

How OSGi and Java enables smart data on M2M aggregators and gateways.

7

Enabling Smart Data on M2M Gateways and Aggregators

Page 9: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

8 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Many Devices at a location

• How to act on local data?

• How to do local analytics?

• How to create smart data for the cloud?

Residential Industrial/ Commercial

Transportation

Page 10: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

9 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Aggregators – One Device to Rule them All

WiFi

Bluetooth

IP

Zigbee

Z-Wave

CANBUS

DECT

Page 11: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

10 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Aggregators and Gateways

• Control and Collect Data from sensors and devices

– Aggregate data from multiple sensors/devices

– Provide local management for sensors/devices

– Intelligently determine when and how to upload the data

• Local Analytics

– Smart network usage

• Alert – send via 3G/4G network immediately

• Data collection, wait till WiFi or off peak

– Local analytics

• Turn sensor or switch on/off based on local rules

• Local decisions based on local sensor data

– Behavior can be dynamically updated

• Controlled by cloud based on global analytics

Page 12: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

11 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Hospital or

Healthcare Provider

Company Field

Support Staff

3rd Party

Service Provider

Network (Wired or Wireless)

Consumer

Business Operation Mgr

App Servers

Aggregators in the Network

Page 13: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

© Hitachi Communication Technologies America, Inc. 2012. All rights reserved.

2. Developer Challenges in M2M

How OSGi and Java enables smart data on M2M aggregators and gateways.

12

Enabling Smart Data on M2M Gateways and Aggregators

Page 14: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

13 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Which Aggregator Platform

Page 15: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

14 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Java - Device Independence

Just Add:

• Application Lifecycle

– Install, uninstall, start, stop, upgrade

• Multiple Versions of Application

• Dynamically Changing the Behavior

• Discovering Services

But we are still missing:

Page 16: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

15 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

M2M Networking Technology

1960’s 1970’s 1980’s 1990’s 2000’s 2010’s

RS-232

Ethernet X10 RS-485 RS-422 RS-232

802.11b&g USB Wireless Hart Satellite GSM/GPRS Ethernet X10 RS-485 RS-422 RS-232

802.11 a&n WiMax 6LoWPAN Bluetooth Zigbee ZWAVE LTE 802.11 b&g USB Wireless Hart HSPDA Satellite GSM/GPRS Ethernet X10 RS-485 RS-422 RS-232

Satellite GSM/GPRS Ethernet X10 RS-485 RS-422 RS-232

Page 17: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

16 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

M2M Protocols, Sensors & Connected Devices

Zigbee

Z-Wave

Bluetooth

DECT

WiFi

IP

CanBUS

Door lock

Thermostat

Energy Monitor

Glucose Monitor

Camera

Temperature Sensor Blood Pressure

Monitor

Motion Detector

Light Sensor

Light Switch

Accelerometer

GPS

Simple Switch

Dimmer

X10

Pulse-Ox

ModBUS

Smart Meter

Humidity Sensor

6LoWPan

Barometer

Passenger Counters

RS232

Page 18: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

17 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Java + OSGi

M2M Smart Aggregators and

Gateways

Page 19: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

© Hitachi Communication Technologies America, Inc. 2012. All rights reserved.

4. OSGi – The M2M Framework for Smart Data

How OSGi and Java enables smart data on M2M aggregators and gateways. Enabling Smart Data on M2M Gateways and Aggregators

18

Page 20: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

19 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Java and OSGi in M2M Architecture

App Bundles

Abstraction Bundles

Video Streaming

Z-Wave Service

Photo app

Sensor (Z-Wave, ZigBee), UI

Serial Service

Storage Service

ZigBee Service

USB Base

USB Serial

Mail

USB Storage

NI Mgr

HTTP UPnP XML Service Tracker Device Access

OSGi Framework

OSGi Compendiums

Java SE Embedded or JavaME

Operating System

Hardware

Drivers (e.g. USB)

Wifi Service

Cellular Service

SMS Service

PAN Service

Bluetooh Service

JavaOne NFC Demo

• Provides common bundles to promote applications

• Development of Common bundles/services to abstract protocols

• Added value for application developers

Page 21: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

20 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

OSGi benefits for M2M

• Quicker development and deployment of M2M solutions

– Device and sensor abstraction

– Focus on the business solution not the underlying sensor technology

– Access to large community of Java developers

– Quick integration and use of existing projects

• Gateway behavior can be changed dynamically and remotely

– Local analytics and business rules are controlled by global analytics

– Dynamically adapted for verticals or specific customers

• Broadens the scope of M2M applications

– Applications can be re-used in different verticals

• Combining of existing services to create new services

– Applications use services of other applications to create new services

• Portability of M2M Applications

– Java allows device independence

– Same application on many gateway types

Page 22: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

© Hitachi Communication Technologies America, Inc. 2012. All rights reserved.

5. Demo

How OSGi and Java enables smart data on M2M aggregators and gateways. Enabling Smart Data on M2M Gateways and Aggregators

21

Page 23: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

22 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

JavaOne NFC Demo

ZWave Zigbee

NFC Reader

LCD Display

MiraBox

Multi-Sensor Energy Switch

Page 24: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

© Hitachi Communication Technologies America, Inc. 2012. All rights reserved.

Hitachi Communication Technologies America, Inc.

How OSGi and Java enables smart data on M2M aggregators and gateways.

Enabling Smart Data on M2M Gateways and Aggregators

3/27/2013

Walt Bowers

Chief Architect OSGi Solutions

[email protected]

END

23

Page 25: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

24 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

OSGi DevCon Session Feedback

1 Sign In: www.eclipsecon.org

2 Select Session Evaluate

3 Vote

Page 26: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters
Page 27: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters
Page 28: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

Appendix

Page 29: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

28 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

Transportation Apps – buses, trains, fleet

Passenger

Counter

ReliaGATE

(System gateway)

1 Location tracking (LBS)

Camera (Normal operation,

local storage; emergencies such

as Amber alert, streaming to

emergency authorities)

Digital signage (Information

and advertising - Location

aware)

Vehicle diagnostics

(Sensors throughout

vehicle)

Route monitoring (Time of

day optimization)

Fraud detection

(Passenger counter,

camera, fare collection)

3 2

4

5 6

7

Page 30: Enabling Smart Data on M2M Gateways and Aggregators · Enabling Smart Data on M2M Gateways and Aggregators ... * Source Ericsson • However, ... Passenger Counters

29 © Hitachi Communication Technologies America, Inc. 2013. All rights reserved.

SuperJ® Applications Ecosystem: Security, Home Control, Connected Health, Media Sharing