Using Smartphones for Prototyping Semantic Sensor Analysis Systems - - PowerPoint PPT Presentation

using smartphones for prototyping semantic sensor
SMART_READER_LITE
LIVE PREVIEW

Using Smartphones for Prototyping Semantic Sensor Analysis Systems - - PowerPoint PPT Presentation

Using Smartphones for Prototyping Semantic Sensor Analysis Systems Hassan Issa , Ludger van Elst, Andreas Dengel SBD 2016 Workshop San Francisco 01.07.2016 Over 5,000 sensors in each engine 20 terabytes of data generated per engine every


slide-1
SLIDE 1

Using Smartphones for Prototyping Semantic Sensor Analysis Systems

Hassan Issa, Ludger van Elst, Andreas Dengel

SBD 2016 Workshop – San Francisco – 01.07.2016

slide-2
SLIDE 2

Over 5,000 sensors in each engine 20 terabytes of data generated per engine every hour FRA to SFO 450 TB of sensor data What if all these sensors go online?

slide-3
SLIDE 3

3

What if everything goes online?

slide-4
SLIDE 4

isA isA hasPet

Semantic Web

General Knowledge

Web Ontology Language

Concrete Facts

Resource Description Framework

Gary Larson's The Far Side

hasPet

Person Animal

slide-5
SLIDE 5

Semantic Sensor Network Ontology

slide-6
SLIDE 6

Semantic Sensor Network Ontology

slide-7
SLIDE 7

Advantages of Semantic Sensor Data

  • Easy data integration
  • Helps achieving autonomous processing and reasoning about sensor

data

  • Preserve data generation context
  • Provides levels of abstraction

7

slide-8
SLIDE 8

Prototype: Semantic Sensor Analysis System

Generating sensor data Semantic modeling of the data generation context Transforming raw sensor data to semantic data Querying and analyzing the data

slide-9
SLIDE 9

SensorTracker App

  • Utilize smartphone sensors
  • Easy deployment
  • Data stored locally and/or

transmitted over the internet

  • Fused sensor data
slide-10
SLIDE 10

Generating an SSN-Based Ontology

slide-11
SLIDE 11

Generating an SSN-Based Ontology

slide-12
SLIDE 12

Generating an SSN-Based Ontology

slide-13
SLIDE 13

Raw Sensor Data to Semantic Data

13

(“1450616528091”, “Accelerometer”, “-0.21284452”, “0.5286397”, “9.438902”) timestamp sensor value-1 value-2 value-3 Raw Sensor Data Line

1450616528091 hasObservationTime AccelerationValue type

  • 0.21284452

has Acceleration_x 0.5286397 9.438902 has Acceleration_z

slide-14
SLIDE 14

Big Data Implementation

  • Scale up to handle huge amounts of sensor data
  • Using Apache Spark
  • Distinguish TBox/ABox data
  • TBox data broadcasted to all nodes
  • Abox data distributed over cluster

14

slide-15
SLIDE 15

TBox Encoding

  • Base ontology is small
  • Created locally on a single machine
  • Two Tables created
  • Ontology Classes
  • Numerical id of a class
  • set of its sub-classes’ ids
  • Property Classes:
  • Numerical id of property
  • IDs of domain and range classes
  • Ids of sub-properties
slide-16
SLIDE 16

ABox Encoding

  • Raw sensor data transformed into triples
  • Triples are stored in separate RDDs for each property
  • Not all triples are loaded on each query
slide-17
SLIDE 17
  • Use Spark operations for analysis
  • SPARQL queries are transformed into a set of spark operations
  • Map
  • Filter
  • Join

Querying Semantic Sensor Data

SPARQL SPARRK

slide-18
SLIDE 18

Street Quality Assessment Application

  • Smartphone deployed in a public

transport bus

  • 8 days
  • 1600km
  • 14+ million records

(Germany: 153+ billion records/day)

18

slide-19
SLIDE 19

Street Anomalies Detected

19

Spike of at least 1.8m/s2 in a 2-second time frame

slide-20
SLIDE 20

Street Anomalies’ Locations

20

Clustering using DBSCAN

slide-21
SLIDE 21

Conclusions

  • Introduced a prototype for sensor analysis systems
  • Smartphone used for data collection
  • SSN-based ontology generated to describe the sensor setup
  • Raw sensor data transformed to semantic data
  • Spark used for data transformation and analysis
  • System is scalable and can integrate data from different sources
  • Street quality assessment use case
slide-22
SLIDE 22

Future Work

  • Collect ground truth and evaluate street anomalies results
  • Create a complete ontology for bus networks according to German
  • pen data
  • Evaluate and optimize storage scheme followed
slide-23
SLIDE 23

Thank you.

23