47
5 OGC SensorThings: IoT Data Interoperability with a GeoWeb approach 0.23 litre/minute 0.25 litre/minute 0.27 litre/minute RH: 85 % Temp: 18 Celsius Dr. Steve Liang Chair, OGC SensorThings API Standard Working Group Rapporteur, ITU-T Q12/11 on IoT Test Specifications Founder and CEO, SensorUp Inc. Associate Professor, University of Calgary

IoT Data Interoperability with a GeoWeb approach

Embed Size (px)

Citation preview

Page 1: IoT Data Interoperability with a GeoWeb approach

5OGC SensorThings: IoT Data Interoperability with a GeoWeb approach

0.23 litre/minute

0.25 litre/minute0.27 litre/minuteRH: 85 %

Temp: 18 Celsius

Dr. Steve Liang Chair, OGC SensorThings API Standard Working Group Rapporteur, ITU-T Q12/11 on IoT Test Specifications Founder and CEO, SensorUp Inc. Associate Professor, University of Calgary

Page 2: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Agenda• Introduction to Open Geospatial Consortium (OGC)

• Why Location (almost always) matters?

• What is IoT interoperability?

• Introduction to OGC Sensor Web Enablement

• Introduction to OGC SensorThings API

• SensorThings API Introduction and Benefits

• Case Studies

• Demo

Page 3: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

About Dr. Steve Liang• Associate Professor, Geomatics Engineering, Uni. Calgary

• AITF-Microsoft Industry Chair on Open Sensor Web

• Chair OGC SensorThings API Standard Working Group

• Co-Chair OGC Sensor Web Enablement Domain Working Group

• N.A. Chair, OGC University Domain Working Group

• Rapporteur, ITU-T SG12/11 on Internet of Things Test Specifications

• Founder and CEO, SensorUp Inc, a University of Calgary startup (http://www.sensorup.com)

Page 4: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

About SensorUp• We are a world leader in OGC Sensor Web and IoT

• e.g., we developed the very first integrated SWE client back in 2005.

• Our clients include Lockheed Martin, Natural Resources Canada, Agriculture and Agri-Food Canada, etc.

• We are leading several international IoT standard development efforts (OGC and ITU-T)

• We developed world’s first OGC SensorThings API implementation

• We are proud member of Eclipse and OGC.

Page 5: IoT Data Interoperability with a GeoWeb approach

OGC®

Copyright © 2016 Open Geospatial Consortium

Not-for-profit, international voluntary consensus standards organization; leading development of geospatial standards

• 20th Anniversary celebrated in 2014

• 515+ members

• 40+ standards

• Many profiles, schema and best practices

• Thousands of product implementations

• Broad user community implementation worldwide

• Alliances and collaborative activities with many other organizations

• Every OGC standard at least needs three independent implementations.

The Open Geospatial Consortium

5

Commercial 41%

Government 18%

NGO 10%

Research 7%

University 24%

Some OGC standards become ISO standards

Page 6: IoT Data Interoperability with a GeoWeb approach

OGC®

What are OGC standardizing?

6

Web Service A (or a Client) Web Service B

2. web service interfaces (also ISO 19119)

1. information models and encodings

In other words, OGC’s IoT work can be considered as Web of Things (WoT) as well.

Page 7: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Why Location (almost always) matters?

Smoke Detector Emergency Evacuation

Page 8: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Location Technology Evolution

Region-Centric Geospatial Information

Feature-Centric Geospatial Information

Human-Centric Geospatial Information

Device-Centric Geospatial Information

1980s 1990s 2000s 2010s

Georgia

Page 9: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

number of users

size of spaceUrban Planning/ Civil Engineering

Car Navigation/Web Map

PedestrianNavigation

??<1m

Page 10: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

number of users

size of spaceUrban Planning/ Civil Engineering

Car Navigation/Web Map

PedestrianNavigation

??<1m

Region-Centric Geospatial Information

Feature-Centric Geospatial Information

Human-Centric Geospatial Information

Device-Centric Geospatial Information

Page 11: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

number of users

size of spaceUrban Planning/ Civil Engineering

Car Navigation/Web Map

PedestrianNavigation

??<1m

Indoor    Space

Region-Centric Geospatial Information

Feature-Centric Geospatial Information

Human-Centric Geospatial Information

Device-Centric Geospatial Information

Page 12: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

number of users

size of spaceUrban Planning/ Civil Engineering

Car Navigation/Web Map

PedestrianNavigation

??<1m

Region-Centric Geospatial Information

Feature-Centric Geospatial Information

Human-Centric Geospatial Information

Device-Centric Geospatial Information

Indoor    Space

IoT  Space

Page 13: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

“77% of surveyed IoT experts claimed that Interoperability is the biggest challenge currently facing the Internet of Things”

IoT Nexus Report

Page 14: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Why is IoT interoperability important?• Future Proof

• No Vendor Lock-in, More Choices!

• Lower Capital expenditure (CAPEX)

• Lower Operating expenditure (OPEX)

• Lower Training Cost

• Innovation in Assembly (create Network Effect)

Page 15: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

(IEEE) Interoperability is the ability of two or more (IoT) systems or components to exchange information and to use the information that has been exchanged.

(Brodie, 1993) Two components X and Y can interoperate (are interoperable) if X can send requests R for services to Y, based on a mutual understanding of R by X and Y, and if Y can similarly return mutually understandable responses S to X.

What is IoT Interoperability?

Page 16: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

IoT Interoperability, which layer?

Devices (Hardware)

Local Sensor Networks

Transit Network

Routing (IP)

Application Protocol

Device-Cloud Interfaces (API)

Data Models

Applications

mBed Arduino

Zigbee

SigFox

6lowpan

CoAP HTTP MQTT

LWM2MOGC

Sensor-Things

OGC Sensor-Things

ISO 19156(O&M)

LoRa

SigFox LoRa

IPV4/V6

IoT Data Interoperability

IoT Network Interoperability

OGC SWE and

SensorThings API

Page 17: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

IoT (WoT) Value Chain

Sensor and

Actuator

Smart Things

Network Operator

Device-Cloud API

Data and Analytics

APP-Cloud API

System Integrator/Application

Provider

1 2 3 4 5 6 7

OGC SensorThings API and SWE

Page 18: IoT Data Interoperability with a GeoWeb approach

Service Registry/Search Engine

OGC Vision: an word wide sensor web (OGC Sensor Web Enablement)

A Sensor Web Browsersensor system A : Air

sensor system B : Water

sensor system C : Smartphones

station 1

station 2

station 3

station 4

station 5

Page 19: IoT Data Interoperability with a GeoWeb approach

OGC ®

Observation and Measurement (O&M) OGC/ISO 19156:2011

19

Page 20: IoT Data Interoperability with a GeoWeb approach

OGC ®

O&M Concept

20

Page 21: IoT Data Interoperability with a GeoWeb approach

OGC ®

21

Sensor Web Enablement is a mature standard

https://portal.opengeospatial.org/files/?artifact_id=53823

Proven Working!!

More details: OGC SWE Implementation Maturity Report

Page 22: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Page 23: IoT Data Interoperability with a GeoWeb approach

OGC ®

23

OGC SensorThings API

Page 24: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

“I was impressed with the ‘state of the practical’ where these various industry sensors can be integrated today using open standards (i.e., SensorThings API) that remove the stovepipe limitations of one-off technologies.”

Dr. Reginald Brothers Under Secretary for Science and Technology

Page 25: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

What is SensorThings API• An Open Geospatial Consortium (OGC) Standard Candidate (approval

vote ends in 5 days!!)

• Part of the mature OGC Sensor Web Enablement standards

• Provide the following functions:

• Sensor Data Management (sensing profile - part I)

• Sensor Data Analytics (sensing profile - part I)

• Command and Control (tasking profile - part II)

• Event Detection and Notification (rules engine profile - part III)

Page 26: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Applications or Devices

Web Server (e.g., Cloud)

2. SensorThings API RESTful Interfaces for accessing sensor data, tasking actuators and detect events

1. Standard Data Model based on ISO/OGC Observation and Measurement

MQTT, HTTP, CoAP

Page 27: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

SensorThings API Entities

Page 28: IoT Data Interoperability with a GeoWeb approach

HTTP Verbs to CRUD• POST

• create a new entity

• PATCH

• update partial resources

• DELETE

• remove an entity

Page 29: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

DEMO - SensorThings Playground• http://pg.sensorup.com

Page 30: IoT Data Interoperability with a GeoWeb approach

Demo and GIST

• https://gist.github.com/liangsteve/9bbc095c9e417af63a6e

Page 31: IoT Data Interoperability with a GeoWeb approach

Query Options

31

Page 32: IoT Data Interoperability with a GeoWeb approach

Evaluating System Query Options

32

• Prior to applying any server-driven paging:

• $filter

• $orderby

• $skip

• $top

• After applying any server-driven paging:

• $expand

• $select (reduce data transmitted)

Page 33: IoT Data Interoperability with a GeoWeb approach
Page 34: IoT Data Interoperability with a GeoWeb approach

• SensorThings API MQTT Extension

• http://jsfiddle.net/nrv4wbhf/4/

• http://jsfiddle.net/0etm8kvn/4/

Page 35: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

SensorThings API Maturity• Adoption vote ends on February 1st 2016

• OGC Compliance Test available

• At least four different server implementations

• Being tested in OGC Incident Management Information Sharing Pilot (sponsored by Department of Homeland Security and IJIS)

Page 36: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

FAQ• Is SensorThings API part of the OGC Sensor Web Enablement?

• YES.

• Is SensorThings API compatible with OGC Sensor Observation Services?

• YES.

• Is SensorThings API compatible with Spatial Data Infrastructure (SDIs)?

• YES.

• Can I use my existing GIS to connect to SensorThings API services?

• YES. For example, we have an ArcGIS plug-in available.

Page 37: IoT Data Interoperability with a GeoWeb approach

Case Study #1• A pilot project funded by Department of Homeland Security and IJIS

Institute

• Problem:

• lacking a Common Operating Picture (COP) for various first responder groups and disaster managers

• Solution:

• SensorUp platform allows various group to access heterogeneous sensing systems

Case Study #1

Page 38: IoT Data Interoperability with a GeoWeb approach

OGC ®

Incident Management Information Sharing (an OGC Pilot Project)

38

• Project sponsor:

Page 39: IoT Data Interoperability with a GeoWeb approach

Case Study #1• Opportunities:

• next generation first responders need to be protected, connected, fully aware.

• sensors are everywhere, including smart shirts, plug-and-play sensing systems, smart cities infrastructure

• lacking a Common Operating Picture (COP) for various first responder groups and disaster managers

• Solution and Results:

• SensorThings API allows various groups accessing heterogeneous IoT-based sensing systems within a coherent platform

• enable interoperability

• can reduce implementation and training time and cost significantly in the future

Page 40: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Sensor registration

Page 41: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Smart Shirt and Wearable Cam

Page 42: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Event Notification via MQTT

Page 43: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

SensorThings API Next Step

• SensorThings Part II - Tasking

• SensorThings Part III - Rules Engine

• ISO

• ITU-T

Page 44: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Arctic Citizen Sensors

Page 45: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

How to learn more?• Video tutorials: SensorUp YouTube Channel

• Developer Documentations: http://sensorup.com/docs/

• OGC SensorThings SWG Community Site: http://ogc-iot.github.io/ogc-iot-api/

• Read our technical blog: http://sensorup.com

• Attend our bi-weekly webinars: http://www.sensorup.com/index.php/tag/webinar/

Page 46: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Acknowledgement

Page 47: IoT Data Interoperability with a GeoWeb approach

sensorup.com@sensorup

Any Questions?