introduction to qocim - télécom sudparis · asthmatic people want to live quality of context...

16
Introduction to QoCIM 20/06/2017 Pierrick Marie Conference Context 2017 Workshop QAMUCA

Upload: others

Post on 08-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

Introduction to QoCIM

20/06/2017

Pierrick Marie

Conference Context 2017Workshop QAMUCA

Page 2: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 2 / 16Context’17 – Workshop QAMUCA

Play with QoCIM

Prerequisite for technical demo:

* Java & eclipse with maven plugin

* maven

* git

Download the demos:

* git clone https://framagit.org/pierrick/qocim-v2.git

* git clone

http://fusionforge.int-evry.fr/anonscm/git/qocim/qocim.git

Page 3: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 3 / 16Context’17 – Workshop QAMUCA

Why using Quality of Context (QoC)?

Uber needs Quality of Context

Asthmatic people want to live

Quality of Context Information Model (QoCIM)

Page 4: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 4 / 16Context’17 – Workshop QAMUCA

Survey of existing QoC Criteria - 2015

Author

DefnitionBuchholz et al.

(2003)Kim et Lee

(2006)Sheikh et al.

(2008)Brgulja et al.

(2009) Filho (2010)Vanrompay

(2011)Neisse (2012)

Manzoor et al. (2014)

Temps entre deux productions de mesure

Temporal Resolution

x

Temps de réponse pour une requête

Response time

Probabilité que l'information n'ai pas d'erreur

Probability of Correctness

x Precision x

Marge d'erreur de l'information Accuracy

Granularité de la localisation de l'information

Spatial Resolution

ResolutionPrecsion of

location

Validité basée sur l'âge de l'information

Up to Dateness Up to Dateness Freshness x x Freshness Precision of timestamp

Timeliness (1)

Répétabilité des mesures (norme ISO)

Standard Error Rate

Precision

Niveau de criticité (importance) des mesures Signifcance

Niveau de détail (granularité) de l'information

Precision Precision x Sensitiveness Granularity Usability

Niveau de confance dans la source

Trust Worthiness

Transferts des informations sécurisés

x Access Security

Gestion des droits d'accès à l'information

Access Security (11)

Access Right

Information fournie au bon format

Representation Consistency

Representation Consistency

Confance dans l'exactitude de l'information

Probability of

Correctness

Probability of Correctness

(3, 6, 9)

Probability of

CorrectnessReliability (3)

Tous les aspects de la situation sont disponibles Resolution Completeness Completeness Completeness

id

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Page 5: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 5 / 16Context’17 – Workshop QAMUCA

IoT is a little bit complex...

Presentation

Filtering

Fusion

Fusion

Inference Aggregation

Inference

Acquisition

Transformations

Page 6: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 6 / 16Context’17 – Workshop QAMUCA

Dedicated Java methods

Quality of Context Information Model (QoCIM)

Data

Page 7: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 7 / 16Context’17 – Workshop QAMUCA

Freshness Indicator

Page 8: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 8 / 16Context’17 – Workshop QAMUCA

Correctness indicator

Page 9: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 9 / 16Context’17 – Workshop QAMUCA

A graphical QoC criteria editor

Page 10: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 10 / 16Context’17 – Workshop QAMUCA

QoCIM - V1

Available: https://fusionforge.int-evry.fr/www/qocim/

* git repository

* maven dependancies

* demonstrations and excerciceshttps://fusionforge.int-evry.fr/www/qocim/lab/qocim-lab-exercices.html

Let’s play with QoCIM!

Page 11: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 11 / 16Context’17 – Workshop QAMUCA

Pollution measurement scenario

Application

Application

Application

Collector CollectorCollector

Broker overlay+ QoC routing flters

Capsule

Capsule

https://fusionforge.int-evry.fr/www/qocim/lab/qocim-capsule-lab-exercices.html

Page 12: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 12 / 16Context’17 – Workshop QAMUCA

QoCIM – V1: implementations drawbacks

Foreach QoC criteria:

* manipulating many and complex Java classes

(at least 7 classes ~ 1000 lines)

* “heavy” model difcult to extend

(changing defnition, adding new type of qualifed information)

* only available in synchronous mode

// public qualifyInformation(information): QoCValue

Page 13: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 13 / 16Context’17 – Workshop QAMUCA

QoCIM - V2

Foreach QoC criteria:

* manipulating few and simple Java classes

(3 classes ~ 300 lines)

* easy to add / change QoC defnition

* easy to support new type of information

* available in synchronous and asynchronous mode

Page 14: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 14 / 16Context’17 – Workshop QAMUCA

QoCIM – V2: URL reminder

Prerequisite for technical demo:

* eclipse (with maven plugin)

* maven

* git (optionnal)

Download the demo:

* git clone https://framagit.org/pierrick/qocim-v2.git

OR * https://pierrickmarie.info/qocim-v2-master.zip

Page 15: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

20/06/2017 15 / 16Context’17 – Workshop QAMUCA

Work in progress: Esper with QoCIM

QoCIM

Page 16: Introduction to QoCIM - Télécom SudParis · Asthmatic people want to live Quality of Context Information Model (QoCIM) 20/06/2017 Context’17 ... Workshop QAMUCA 5 / 16 IoT is

Thank you!

Questions?

Source code: https://fusionforge.int-evry.fr/www/qocim/