dynamic deployment of sensing experiments in the wild u sing smartphones

28
Dynamic Deployment of Sensing Experiments in the Wild Using Smartphones Nicolas Haderer , Christophe Ribeiro, Romain Rouvoy, Lionel Seintuier University Lille 1 – LIFL, Inria Lille – Nord Europe 1

Upload: salim

Post on 22-Feb-2016

21 views

Category:

Documents


0 download

DESCRIPTION

Dynamic Deployment of Sensing Experiments in the Wild U sing Smartphones. Nicolas Haderer , Christophe Ribeiro , Romain Rouvoy , Lionel Seintuier University Lille 1 – LIFL, Inria Lille – Nord Europe. Agenda. CrowdSensing Problematic & Limitation The APISENSE platform - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

Dynamic Deployment of Sensing Experiments in the Wild Using Smartphones

Nicolas Haderer, Christophe Ribeiro, Romain Rouvoy, Lionel Seintuier

University Lille 1 – LIFL,Inria Lille – Nord Europe

1

Page 2: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

2

Agenda

• CrowdSensing• Problematic & Limitation• The APISENSE platform• Preliminary results• Demo

Page 3: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

3

Why do we collect data?

• Better understanding of crowd behavior and its environment– E.g., optimizing public transport services

Paths of Chigago TwitteresRoad map of Chicago

Page 4: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

4

Mobile|Phone Sensing

• Revolution driven by smart devices to collect of crowd activity traces

4

Increasing popularityApp distribution channels

GPSWIFI/3G/4G

AccelerometerCompas

CameraMicrophone

Rich suites of sensors

Page 5: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

5

CrowdSensing

• Capability of lifting a (large) diffuse group of participants to delegate the task of retrieving trustable data from the field

GPSWIFI/3G/4G

AccelerometerCompas

CameraMicrophone

Crowd Sensing

Page 6: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

6

CrowdSensing Data collection can take different forms

Participatory sensing involves the user in the sensing task (eg. surveys)

Opportunistic sensing uses mobile sensors carried by the user (eg. smartphones)

And can be effective across multiple scalesIndividual Group Community

Page 7: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

7

CrowdSensing : opportunities

• A lot of research interests – Building Noise Map Urban area– Obtain human crowd density – Earthquakes Monitoring – …

Page 8: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

8

Agenda

• CrowdSensing• Problematic & Limitation• The APISENSE platform• Preliminary results• Demo

Page 9: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

9

Problematic

• Real world deployment is labor-intensive process

Taskdescription

Taskexecution

Workerrecruitment

Taskdeployment

Data uploadWorker rewarding

Crosscutting challenges

Privacy Energy

Page 10: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

10

Existing tools

• Funf in a box

Page 11: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

11

• Pogo : Middleware for Mobile Phone Sensing

Existing tools

Page 12: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

12

Limitation of the SotA

• Multi-tenant architectures are limited– Constrained infrastructures (database, resources)– Tenants side effects (availability)– Legal issues (data ownership)– Security leaks (data isolation)

• Application-specific solutions– Lack of flexibility to be reused in another context

Page 13: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

13

• Community sensing problem

Limitation of the SotA

High energy consumption

Data redundancy

Page 14: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

14

Challenges summary

Taskdescription

Taskexecution

Workerrecruitment

Taskdeployment

Data uploadWorker rewarding

Crosscutting challenges

Privacy Energy

Softwarechallenges Scalability SecurityFlexibility

Development cost

Page 15: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

15

Agenda

• CrowdSensing• Problematic & Limitation• The APISENSE platform• Preliminary results• Demo

Page 16: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

16

APISENSE®

• Open crowd-sensing platform– Flexible and customizable architecture– Supporting various research communities– Leveraging the deployment of CrowdSensing tasks

Page 17: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

http://www.apisense.fr 17

APISENSE® – The platform

Page 18: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

18

Central Node

• A trustable central server– Intermediary between collector node & workers– Guarantees workers anonymity (generated ids)– Checks the task scripts and rewards workers– Deploy and generate sensing node

Page 19: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

19

Sensing Node

• A cloud-oriented storage• Support for data authentication + encryption• Configurable infrastructure (SPL + components)

• XML | NoSQL database, processing services, visualization

Page 20: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

20

APISENSE Mobile Application

• Mobile application– Downloads & executes scripts (sandbox)– Uploads datasets when plugged– Controls sensor privileges & privacy filters

Time filter Sensors privileges Location filter

Page 21: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

21

CrowdSensing Javascript API

Page 22: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

22

CrowdSensing Javascript API

Page 23: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

23

APISENSE®

Page 24: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

24

Agenda

• CrowdSensing• Problematic & Limitation• The APISENSE platform• Preliminary results• Demo

Page 25: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

25

Application Example

• Collecting exceptions in the wild (CoffeeScript)

logcat.onLog {filter: [’*:W’,’*:E’]}, (log) -> trace.add message: log.message, time: log.timestamp, application: apps.process(log.pid).applicationName, topTask: apps.topTask().applicationName

Error log Taxonomy

Warning log Taxonomy

Page 26: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

26

Application Example

• Assessing Machine Learning Models– User context recognition implementation : ~ 30 lines

…accelerometer.onChange(function(acc) { buffer.push(acc) });// Learning phasedialog.display({ message: "Select movement", spinner: classes },function(pattern){ accelerometer.onChange(function(acc) { buffer.push(acc) }); sleep(‘5s’) model.record(attributes(buffer), pattern); buffer = new Array(); return;});…// Exploitation phasetime.schedule({ period: '5s' }, function() { trace.add({ position: model.evaluate(attributes(buffer)), stats: model.statistics() }); buffer = new Array();} } });

Representative Confusion Matrix

Page 27: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

27

Agenda

• CrowdSensing• Problematic & Limitation• The APISENSE platform• Preliminary results• Demo

Page 28: Dynamic Deployment of Sensing Experiments in the Wild  U sing Smartphones

28

Nicolas HADERERCHRISTOPHE RIBEIRORomain ROUVOYLionel SEINTURIER

Questions ?

http://apisense.fr