OM2M: Standardized service platform for M2M … · OM2MOM2M: Standardized service: Standardized...

17
OM2M OM2M: Standardized service : Standardized service platform for M2M platform for M2M Yassine Banouar Thierry Monteil interoperability interoperability www.om2m.org Thierry Monteil Mahdi Ben Alaya Christophe Chassot Khalil Drira [email protected] @YassineBANOUAR

Transcript of OM2M: Standardized service platform for M2M … · OM2MOM2M: Standardized service: Standardized...

OM2MOM2M: Standardized service: Standardized serviceplatform for M2Mplatform for M2M

Yassine BanouarThierry Monteil

1

platform for M2Mplatform for M2Minteroperabilityinteroperability

www.om2m.org

Thierry MonteilMahdi Ben Alaya

Christophe ChassotKhalil Drira

[email protected]@YassineBANOUAR

Agenda

• Introduction• ETSI M2M standardization• OM2M service Platform

2

• OM2M service Platform• Subscribe/Notify scenarios• Conclusion

6/18/2014

http://www.webofthings.org/2011/02/04/lift11-talk-transcript/

The Web evolution

3

Machine-to-Machine

• Smart buildings• Smart Home• Smart grid• smart factories• etc.

6/18/2014

ETSI M2M Vision(“horizontal”)

M2M Business

Application 1

M2M Business

Application 2

M2M Business

Application n

ETSI M2M Standardization

M2M Business

Application 1

Proprietary M2M applications(« verticals »)

M2M Business

Application 2

M2M Business

Application n

M2M Device

M2M Device

M2M Device

M2M Gateway

Application Infrastructure

Core Network Infrastructure

Access Network InfrastructureWireless / Fixed Line

4

DedicatedDevices

Existing ICT Infrastructure

DedicatedDevices

Existing ICT Infrastructure

Existing ICT Infrastructure

DedicatedDevices

6/18/2014

M2M Applications

M2M Service Capabilities

Core Network (e.g. 3GPP, TSPAN)

mIa M2M Core

Network and Application

DomainAccess Network

(e.g. xDSL, 3G, GPRS, HFC, satellite, WiFi, WiMAX, etc.)

PC/Dedicated Appliance

ETSI M2M – High levelarchitecture

ETSI M2M Standardization

M2M Legacy Device

M2M Applications

dIa

mId

dIa

M2M ETSI DeviceM2M

Device/ Gateway Domain

WiMAX, etc.)

M2M Area Network(e.g. Zigbee, BT, WiFi, etc.)

5

mId

M2M Service Capabilities

M2M Service Capabilities

M2M Applications

M2M Gateway

AE

IP RF

CS

GC

SEC

Application layerApplication layer

GSCL

Application layerApplication layer

Application Enablement (AE) SECurity

(SEC)Comm.

Selection (CS)

NSCL

LegacyDevices

• ETSI M2M standard provides a Service Capability Layer (SCL) including aset of common services for M2M interoperability.

dIa

mIa

NANANAGA GA

ETSI M2M Standardization

M2M Gateway

RARREM

M2M Network

InterworkingProxy (IP)

RF

Reachability, Addressing & Repository (RAR)

Remonte EntityManagemnt

(REM)

Generic Comm. (GC)

Legacy Device

M2MDevice

Device and Gateway domain Network domain

AE

IP RF

CS

RARREM

GC

SEC

Application LayerApplication Layer

DSCLdIa

66/18/2014

Your SC!

DA DA

OM2M features

Groupmanagement

Requestretargeting

Access-rightsmanagement

SCLsregistration

SCLsdiscovery

• OM2M implements a RESTful API (using an URI and CRUD Methods)• All M2M communications are performed based on simple primitive procedures 7

Applications registration

Resource (de)announcement

Subscriptionmanagement

Container management

Resource discovery

6/18/2014

OM2M Demo1« Yes! I can turn it ON »

LAAS ADREAM experimental building

8

WAN

M2M Server(NSCL)

LANLAAS

BeagleBoneBlack

M2M Gateway(GSCL)

FanRelay

LuminositySensor

TemperatureSensor

LampRelay

Phidgets HUB

6/18/2014

OM2M component diagram

9

• The CORE plugin routes received request to the correct controller.• It checks access rights, persist data, notifies interested subscribers, do

request redirect or resource announcement if needed.6/18/2014

OM2M component diagram

OM2M

10

OM2M main components

diagram

6/18/2014

Specific Specific Devicemgnt

DM

Interworking Proxy

ZIG

BEE

PHID

GET

S

Comm.Protocol Binding

MQ

TT

Additional Services

Dat

a Ce

ntric

Ro

utin

gD

ata

Cent

ric

Rout

ing

Auto

nom

ic

Com

putin

gAu

tono

mic

Co

mpu

ting

Security

PSK

GenericProcessing

• OM2M runs on top of an OSGi Equinox runtime.• Each SCL includes required plugins and is build as an Eclipse

product using Maven and Tycho.

OM2M building blocks and plugins

OM

A-D

M

ZIG

BEE

PHID

GET

S

MQ

TT

CoAP

Dat

a Ce

ntric

Ro

utin

gD

ata

Cent

ric

Rout

ing

Auto

nom

ic

Com

putin

gAu

tono

mic

Co

mpu

ting

TLS-

PSK

Java Runtime Environment

OSGi EQUINOX framework

Operating System

CORE

Hardware

Oth

er

plug

in!

11

HTT

P

6/18/2014TL

S

Phid

gets

IPU

CORE

Technology independent Response

Interworking Proxy Unit

Technology independent Request

HTTP App

CORE

12

Service Capability Layer (SCL)6/18/2014

Phid

gets

IPU

CORE

Zigb

eeZigbee Request

Interworking Proxy Unit

Technology independent Request

HTTP App

CORE

Technology independent Response

Zigb

eeIP

U

Zigbee Response

Zigbee Request

Your

tech

noIP

U!

Yourtechno

13

Service Capability Layer (SCL)6/18/2014

HTTP Request

URI: http://ipAddress:port/context/resourceTargetIdMethod: GET, POST, PUT, DELETE

EXECUTE

Protocol Independent request

targetId: resourceTargetIdMethod: RETRIEVE, CREATE, UPDATE, DELETE, EXECUTE

HTTP Response

StatusCode: 200, 201,404

CoAP Request

HTT

P M

appi

ng

COREProtocol independent request

HTTP App

CoAP

Map

ping

Communication Protocol mapping

Protocol independent Response

ResponseStatus: Ok, Created, Not Found, etc.

CoAP Response

CoAP Request

COREProtocol independent request

CoAP AppCo

APM

appi

ng

CoAP Response

StatusCode: 2.00, 2.01, 4.04

CoAP Request

URI: coap://ipAddress:port/context/resourceTargetIdMethod: GET, POST, PUT, DELETE 14

Protocol independent responseO

ther

M

appi

ng

OtherComm.

Protocol Service Capability Layer (SCL)

6/18/2014

ETSI Communication techniques• request/response• long polling (NA server enabled)• subscribe/notify (NA server enabled)

NSCL

HomeNCSLapplications

NAmIa

SmartHomeApp

NAGA

dIa

POST

POSTGSCLmyHomeGSCL

applications

15

NSCLscls

M2M Server

subscriptions

SUB_NEW_SCL

SmartHomeApp

myHomeGSCLmId

scls

applications

M2M Gateway

HomeNCSL

POSTPOST

Subscribe/Notify scenario6/18/2014

OM2M Demo2« Yes! I can remotely monitor it »

16

LANThe Pierre

Baudis conference

center

M2M Server(NSCL) BeagleBone

BlackM2M Gateway

(GSCL)

Phidgets HUB

Group ManagementSwitch ON/OFF agroup of lamps

NA(server enabled)

Subscribe/Notify

6/18/2014

WAN

M2M Server(NSCL)

LANLAAS

BeagleBoneBlack

M2M Gateway(GSCL)

FanRelay

LuminositySensor

TemperatureSensor

LampRelay

Phidgets HUB

Thanks!Questions?Questions?

17

.orgProject ContributorsThierry Monteil Mahdi Ben AlayaYassine Banouar Christophe Chassot

Khalil Drira

6/18/2014