Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Open IoT Made Easy
OGC SensorThings API
Steve Liang, Ph.D.
Founder/CEO, SensorUp
Associate Professor, University of Calgar...
About Dr. Steve Liang
๏ Associate Professor, Geomatics Engineering, Uni. Calgary
๏ AITF-Microsoft Industry Research Chair ...
About SensorUp
๏ We develop Sensor Web and IoT Platforms
๏ the first implementation of the OGC SensorThings API
๏ We are le...
Think about some Thing
Your
Shirt
Your Drink
Your
Parking
Your
Baby
Your
Pacifier
Your Cat
Poop
Sensor
and
Actuator
Smart
Things
Network
Operator
Device-
Cloud
API
Data and
Analytics
APP-
Cloud
API
System
Integrator/
A...
Why Locations matter?
System of Systems
๏ The real potential of the Internet of Things
Network Effect:
The value of a network is
proportional to...
Today’s IoT Silos
Network A
Application A
Thing A
Network B
Application B
Thing B
Network C
Application C
Thing C
Network ...
“77% of surveyed IoT experts
claimed that Interoperability is the
biggest challenge currently facing
the Internet of Thing...
Which hardware will Google
choose to intentionally brick next?
“
“the guardian
What is IoT Interoperability?
๏ (IEEE) Interoperability is the ability of two or more (IoT)
systems or components to excha...
Is Open Source the
Solution for IoT
Interoperability?
Open Source can
build silos too.
Open Standard + Open Source
Ask your IoT solution provider
๏ Is your solution Open Standards
Compliance Certified?
๏ Open Standards means
standards fro...
OGC SensorThings API
“OGC specifications are
outdated and difficult to use…”
“
Someone at FOSS4G N.A.
Eclipse Whiskers
Whiskers: an open source implementation for OGC
SensorThings API
SensorThings Entities UML
SensorThings Entities - 2
There is where it starts
http://URL/v1.0/
No Capabilities XML

Hypermedia Driven
Crawler/Search Engine Friendly
SensorThings URL Pattern
http://URL/v1.0/Datastreams(id)
http://URL/v1.0/Datastreams
http://URL/v1.0/Datastreams(id)/Obser...
Quiz - 1
http://URL/v1.0/FeaturesOfInterest(id)/Observations
Show me all Observations of this building
21.4 Celcius
35% RH...
Quiz - 2
http://URL/v1.0/Locations(id)/Things
Show me all Things located in this building
Thermostat
Water tank
Coffee Mak...
Quiz - 3
http://URL/v1.0/ObservedProperties(id)/Datastreams
Give me all Temperature Datastreams
Datastreams(1)
Datastreams...
SensorThings $expand
http://URL/v1.0/Datastreams?$expand=Observations
Give me all Datastreams AND their Observations
Give ...
SensorThings $select
http://URL/v1.0/Datastreams?
$select=unitOfMeasurement
Give me all Datastreams’ Unit of Measurement O...
SensorThings dataArray
http://URL/v1.0/Datastreams(id)/Observations?
$resultFormat=dataArray
My bandwidth costs me! Give m...
SensorThings Pagination
http://URL/v1.0/Observations?

$top=100&$skip=100
http://URL/v1.0/Observations?

$top=100&$skip=10...
SensorThings Query Options
http://URL/v1.0/Observations?

$filter=result gt 10.9
http://URL/v1.0/Datastreams?

$filter=sub...
SensorThings Geospatial Filter
Locations?$filter=st_within(location,
geography'POLYGON ((-117.850341796875
53.93021986394,...
DEMO
Connected First Responders
https://www.youtube.com/watch?v=Xn7FTUs2qOE
Event Filtering and Notifications
https://www.youtube.com/watch?
v=980CfUFTdgM&index=4&list=PLUSJC5mjKZ9RZJyzsLpFS0_Ziz8zGt...
SensorThings Playground
http://pg.sensorup.com
SensorThings Tutorials/Webinar
SensorUp
Open IoT Made Easy - Introduction to OGC SensorThings API
Upcoming SlideShare
Loading in …5
×

Open IoT Made Easy - Introduction to OGC SensorThings API

1,427 views

Published on

This is the slides presented at FOSS4G N.A. Conference.

This presentation will introduce and demonstrate the OGC SensorThings API. The OGC SensorThings API is a new Open Geospatial Consortium standard that provides an open and unified way to interconnect the Internet of Things (IoT) devices, data, and applications over the Web. Unlike the traditional OGC standards, SensorThings API is very simple and efficient. At the same time, it is also comprehensive and designed to handle complex use cases. It builds on a rich set of proven-working and widely-adopted open standards, such as the OGC Sensor Web Enablement (SWE) standards, including the ISO/OGC Observation and Measurement (O&M) and Sensor Observation Services (SOS). The main difference between the SensorThings API and the OGC SOS is that the SensorThings API is designed specifically for the resource-constrained IoT devices and the Web developer community. As a result, the SensorThings API follows the REST principles, the use of an efficient JSON encoding, and the use of the flexible OASIS OData protocol and URL conventions. We will also demonstrate several real-world applications of the OGC SensorThings API in emergency management and smart cities. In addition to introduce the specification, this talk will also demonstrate an end-to-end IoT application based on the open source libraries of the SensorUp SensorThings platform.

Published in: Internet
  • There are over 16,000 woodworking plans that comes with step-by-step instructions and detailed photos, Click here to take a look ➤➤ http://tinyurl.com/yy9yh8fu
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Want to preview some of our plans? You can get 50 Woodworking Plans and a 440-Page "The Art of Woodworking" Book... Absolutely FREE ◆◆◆ http://tinyurl.com/y3hc8gpw
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Open IoT Made Easy - Introduction to OGC SensorThings API

  1. 1. Open IoT Made Easy OGC SensorThings API Steve Liang, Ph.D. Founder/CEO, SensorUp Associate Professor, University of Calgary @steveliang
  2. 2. About Dr. Steve Liang ๏ Associate Professor, Geomatics Engineering, Uni. Calgary ๏ AITF-Microsoft Industry Research Chair on Open Sensor Web ๏ Chair OGC SensorThings API Standard Working Group ๏ Rapporteur, ITU-T SG12/11 on Internet of Things Test Specifications ๏ Founder and CEO, SensorUp Inc ๏ Father of Noah Liang
  3. 3. About SensorUp ๏ We develop Sensor Web and IoT Platforms ๏ the first implementation of the OGC SensorThings API ๏ We are leading several international IoT standard development efforts (OGC and ITU-T) ๏ We are a member of Eclipse and Open Geospatial Consortium
  4. 4. Think about some Thing
  5. 5. Your Shirt
  6. 6. Your Drink
  7. 7. Your Parking
  8. 8. Your Baby
  9. 9. Your Pacifier
  10. 10. Your Cat Poop
  11. 11. Sensor and Actuator Smart Things Network Operator Device- Cloud API Data and Analytics APP- Cloud API System Integrator/ Applicatio 1 2 3 4 5 6 7 IoT Value Chain Kura OGC SensorThings Paho
 Mosquitto Californium WhiskersWhiskers Whiskers
  12. 12. Why Locations matter?
  13. 13. System of Systems ๏ The real potential of the Internet of Things Network Effect: The value of a network is proportional to the square of the number of users of the system (n²).
  14. 14. Today’s IoT Silos Network A Application A Thing A Network B Application B Thing B Network C Application C Thing C Network D Application D Thing D
  15. 15. “77% of surveyed IoT experts claimed that Interoperability is the biggest challenge currently facing the Internet of Things” “
  16. 16. Which hardware will Google choose to intentionally brick next? “ “the guardian
  17. 17. What is IoT Interoperability? ๏ (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.
  18. 18. Is Open Source the Solution for IoT Interoperability?
  19. 19. Open Source can build silos too.
  20. 20. Open Standard + Open Source
  21. 21. Ask your IoT solution provider ๏ Is your solution Open Standards Compliance Certified? ๏ Open Standards means standards from recognized Standard Development Organizations (SDOs).
  22. 22. OGC SensorThings API
  23. 23. “OGC specifications are outdated and difficult to use…” “ Someone at FOSS4G N.A.
  24. 24. Eclipse Whiskers Whiskers: an open source implementation for OGC SensorThings API
  25. 25. SensorThings Entities UML
  26. 26. SensorThings Entities - 2
  27. 27. There is where it starts http://URL/v1.0/ No Capabilities XML
 Hypermedia Driven Crawler/Search Engine Friendly
  28. 28. SensorThings URL Pattern http://URL/v1.0/Datastreams(id) http://URL/v1.0/Datastreams http://URL/v1.0/Datastreams(id)/Observations http://URL/v1.0/Observations(id)/Datastream Not Hierarchical!! The URL pattern itself is a powerful query language. Same URL pattern applies to SensorThings MQTT extension.
  29. 29. Quiz - 1 http://URL/v1.0/FeaturesOfInterest(id)/Observations Show me all Observations of this building 21.4 Celcius 35% RH 212 Occupants 3 employees needing coffee
  30. 30. Quiz - 2 http://URL/v1.0/Locations(id)/Things Show me all Things located in this building Thermostat Water tank Coffee Maker LED Lights
  31. 31. Quiz - 3 http://URL/v1.0/ObservedProperties(id)/Datastreams Give me all Temperature Datastreams Datastreams(1) Datastreams(2) ….
  32. 32. SensorThings $expand http://URL/v1.0/Datastreams?$expand=Observations Give me all Datastreams AND their Observations Give me all Datastreams AND their latest Observations http://URL/v1.0/Datastreams? $expand=Observations($top=1)
  33. 33. SensorThings $select http://URL/v1.0/Datastreams? $select=unitOfMeasurement Give me all Datastreams’ Unit of Measurement ONLY
  34. 34. SensorThings dataArray http://URL/v1.0/Datastreams(id)/Observations? $resultFormat=dataArray My bandwidth costs me! Give me the readings in compact form!!!
  35. 35. SensorThings Pagination http://URL/v1.0/Observations?
 $top=100&$skip=100 http://URL/v1.0/Observations?
 $top=100&$skip=100&orderby=result desc
  36. 36. SensorThings Query Options http://URL/v1.0/Observations?
 $filter=result gt 10.9 http://URL/v1.0/Datastreams?
 $filter=substringof('temp',description)
  37. 37. SensorThings Geospatial Filter Locations?$filter=st_within(location, geography'POLYGON ((-117.850341796875 53.93021986394, -117.850341796875 54.44449176335762, -116.75170898437501 54.44449176335762, -116.75170898437501 53.93021986394, -117.850341796875 53.93021986394))')&$orderby=id desc
  38. 38. DEMO
  39. 39. Connected First Responders https://www.youtube.com/watch?v=Xn7FTUs2qOE
  40. 40. Event Filtering and Notifications https://www.youtube.com/watch? v=980CfUFTdgM&index=4&list=PLUSJC5mjKZ9RZJyzsLpFS0_Ziz8zGtYs9
  41. 41. SensorThings Playground http://pg.sensorup.com
  42. 42. SensorThings Tutorials/Webinar SensorUp

×