an iot gateway centric architecture to provide novel m2m services

26
An IoT Gateway Centric Architecture to Provide Novel M2M Services Soumya Kanti Datta Research Engineer EURECOM, France Email: [email protected] IEEE World Forum on Internet of Things (WF-IoT 2014)

Upload: soumya-kanti-datta

Post on 19-Jul-2015

187 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: An IoT gateway centric architecture to provide novel m2m services

An IoT Gateway Centric Architecture to Provide Novel M2M

Services Soumya Kanti Datta

Research Engineer

EURECOM, France

Email: [email protected]

IEEE World Forum on Internet

of Things (WF-IoT 2014)

Page 2: An IoT gateway centric architecture to provide novel m2m services

Contents

• Introduction

– M2M & IoT

– Key Elements

– Sensor Markup Language

• Proposed IoT Architecture

• Prototype Implementation

• Conclusion

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 2

Page 3: An IoT gateway centric architecture to provide novel m2m services

Introduction

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 3

M2M Communication

• Communication between two or more entities that do not necessarily need any direct human intervention [ETSI].

• Information exchange between a Subscriber station and a Server in the core network (through a base station) or between Subscriber station, which may be carried out without any human interaction [IEEE 802.16p].

IoT

• A global network infrastructure, linking physical and virtual objects through the exploitation of data capture and communication capabilities [EU FP7 CASAGRAS].

• A global infrastructure for the information society, enabling advanced services by interconnecting (physical and virtual) things based on, existing and evolving, interoperable information and communication technologies [ITU-T Y.2060]

Page 4: An IoT gateway centric architecture to provide novel m2m services

Key M2M Elements

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 4

Page 5: An IoT gateway centric architecture to provide novel m2m services

Internet of Things (IoT)

• To achieve the IoT – Things need to be connected to software

– Things need to be made available to be used together as a system

• M2M architecture and protocols address the first item

• Second item is a challenge

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 5

Page 6: An IoT gateway centric architecture to provide novel m2m services

Sensor Markup Language (SenML)

• Represents simple sensor measurements and device parameters.

• Implemented using JSON/XML/EXI.

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 6

Source: Media Types for Sensor Markup Language (SENML) draft-jennings-senml-10

Page 7: An IoT gateway centric architecture to provide novel m2m services

Contents

• Introduction

• Proposed IoT Architecture

– M2M Devices and Endpoints

– Wireless Gateway

– Mobile Application

– Novel Services

• Prototype Implementation

• Conclusion

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 7

Page 8: An IoT gateway centric architecture to provide novel m2m services

Gateway Centric IoT Architecture

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 8

Page 9: An IoT gateway centric architecture to provide novel m2m services

M2M Devices and Endpoints

• Smart M2M Device

– Interface of this device allows sensor metadata to be read by GET request.

• Legacy device

– Sends sensor measurement to proxy-in of WG or Intermediate Sensor Gateway (ISG) over Modbus.

– Proxy-in or ISG creates metadata

• SenML is used to represent metadata

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 9

Page 10: An IoT gateway centric architecture to provide novel m2m services

Wireless Gateway

• Backbone of the architecture

• Designed and implemented as a web application based on REST paradigm

• Web services are categorised into two interfaces

– North

– South

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 10

Page 11: An IoT gateway centric architecture to provide novel m2m services

North Interface

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 11

Device and Endpoint Discovery

• Clients do not have any information on the M2M devices and endpoints initially.

• Clients establish a connection to WG to retrieve a list of connected devices and endpoints.

• The list is maintained in a local database.

• Addition or removal of devices and endpoints automatically updates the local database.

• Clients also learn about actuator capabilities.

Page 12: An IoT gateway centric architecture to provide novel m2m services

North Interface

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 12

Reporting sensor metadata

• After discovery phase, client selects sensors.

• A GET request is sent to WG to retrieve the metadata

Page 13: An IoT gateway centric architecture to provide novel m2m services

South Interface

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 13

Proxy-in

• M2M device is actually connected to a proxy-in which registers the device.

• It facilitates real time interaction between the clients and sensors.

• Proxy-in collects sensor metadata either using a GET request or getting a push notification from the M2M device itself.

Proxy-out

• It links clients with actuators.

• The proxy-out receives the URI of actuator.

• There is a protocol that translates the HTTP payload into M2M device specific command which the actuator will understand.

Page 14: An IoT gateway centric architecture to provide novel m2m services

Provision for Actuator

• Novel aspect: extension of SenML Capabilities. • We have added the following

– Interface definition to differentiate between sensor and actuator

– Type – Supported functionalities

• For light – on, off and dim

– Allowed range of values • Could be discreet or continuous

– Unit – Location

• Destination URI of the actuator

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 14

Page 15: An IoT gateway centric architecture to provide novel m2m services

Mobile Application

• Performs the following

– Dynamic discovery of M2M devices and endpoints

– Receive and display sensor measurements

– Control actuators

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 15

Page 16: An IoT gateway centric architecture to provide novel m2m services

Contents

• Introduction

• Proposed IoT Architecture

• Prototype Implementation

– Android application

– Wireless Gateway

– Use cases

• Conclusion

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 16

Page 17: An IoT gateway centric architecture to provide novel m2m services

Prototype Implementation

• Mobile application Connect and Control Things (CCT)

– developed using cross platform tools PhoneGap 2.9.0 and JQuery Mobile 1.3.1.

• Wireless gateway is running in a Google App Engine

• Tested with real and simulated M2M devices and Endpoints

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 17

Page 18: An IoT gateway centric architecture to provide novel m2m services

CCT

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 18

Page 19: An IoT gateway centric architecture to provide novel m2m services

Simulated Sensors

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 19

Page 20: An IoT gateway centric architecture to provide novel m2m services

Use case with a sensor

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 20

Page 21: An IoT gateway centric architecture to provide novel m2m services

Use case with an actuator

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 21

Page 22: An IoT gateway centric architecture to provide novel m2m services

PUSH Notification

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 22

Page 23: An IoT gateway centric architecture to provide novel m2m services

Contents

• Introduction

• Proposed IoT Architecture

• Prototype Implementation

• Conclusion

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 23

Page 24: An IoT gateway centric architecture to provide novel m2m services

Conclusion

• Attempt to integrate endpoints with web services.

• Extended SenML capabilities to control actuators.

• Connect & control both smart & legacy devices.

• The system provides an incremental methodology to add new services and functionalities.

• Future direction

– Access rights for multiple users

– Security & privacy concerns

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 24

Page 25: An IoT gateway centric architecture to provide novel m2m services

8-Mar-14 An IoT Gateway Centric Architecture to Provide Novel M2M Services 25

Page 26: An IoT gateway centric architecture to provide novel m2m services

Requesting actuator update

Req PUT /proxyout1.mydomain.com/dev1.mynetwork.net

<senml bn=urn:dev:mac:6399877>

<e n="temp" t="0" v=“20" u="Cel" xbif=“a”/>

</senml>

Resp 204 No Content.

26 4/7/2015