77
Context as a Service Disputation Michael Wagner Verteilte Systeme FB16 - Elektrotechnik/Informatik Universität Kassel

Context as a service

Embed Size (px)

DESCRIPTION

Vortrag bei Verteidigung meiner Dissertation mit dem Thema "Context as a Service" Zusammenfassung: In Mark Weisers Vision von ubiquitären Computern verschwinden Computer aus dem Blickfeld der Nutzer und interagieren nahtlos mit anderen Computern und Nutzern um Dienste und Informationen bereitzustellen. Durch das Verschieben des Computers in den Hintergrund des Nutzers wird eine andere Art an Anwendungen benötigt, um weiterhin zu interagieren allerdings ohne den Nutzer zu stören. Der Kontext einer Anwendung umfasst alle Informationen, die genutzt werden können um Situationen, Orte oder andere für die Anwendung relevante Objekte zu beschreiben. Kontextsensitive Anwendungen sind in der Lage ihre Umgebung zu überwachen und Wissen über externe Betriebsbedingungen anzusammeln. Diese Anwendungen können ihr Verhalten dynamisch an die gesammelten Informationen anpassen und somit (zumindest einen Teil) der fehlenden Nutzerinteraktion ersetzen. Kontextsensitivität kann also als wichtiger Baustein für Anwendungen im Umfeld von ubiquitären Computern angesehen werden. Dabei müssen kontextsensitive Anwendungen in Umgebungen ubiquitärer Systeme besondere Herausforderungen meistern, wie beispielsweise die Verteilung von Informationen über diverse Geräte, die Mobilität dieser Geräte, Beschränkung von Geräteressourcen und Heterogenität von Informationsquellen. Moderne mobile Geräte sind heutzutage mit schnellen Prozessoren, großem Speicher und mehreren Sensoren, wie Global-Positioning-System-Sensor (GPS), Lichtsensor oder Beschleunigungsmesser, ausgestattet. Da viele Anwendungen im Umfeld ubiquitärer Systeme Kontextinformationen nutzen, um ihre Dienste zu verbessern, eignen sich diese Geräte hervorragend um kontextsensitive Anwendungen auszuführen. Zusätzlich zu den Sensoren können so genannte Kontext-Reasoner und externe Informationsquellen, wie zum Beispiel ein in einem Gebäude installiertes Lokalisierungssystem existieren und somit auch als weitere Informationsquellen auf dem mobilen Gerät genutzt werden. Dabei ist es möglich, dass all diese Sensoren und andere Quellen Informationen des gleichen Typs zur Verfügung stellen. Allerdings können sich diese Dienste in Qualitätsstufen (z. B. Genauigkeit), Darstellungsform der angebotenen Informationen (z.B. Position in Koordinaten und als Adresse dargestellt) und in den Kosten für die Bereitstellung der Informationen unterscheiden (z.B. Batterieverbrauch). Mehr unter http://nbn-resolving.de/urn:nbn:de:hebis:34-2013032242665

Citation preview

Page 1: Context as a service

Context as a ServiceDisputation

Michael WagnerVerteilte SystemeFB16 - Elektrotechnik/InformatikUniversität Kassel

Page 2: Context as a service

Übersicht

Einführung und AufgabenstellungLösungsweg und Ergebnisse

Kontextmodell und -ontologie Context Offer and Query Language Suche und Abgleich Selektion

EvaluationZusammenfassung

Michael Wagner – Context as a Service

4. März 2013

2

Page 3: Context as a service

Einführung und Aufgabenstellung

Michael Wagner – Context as a Service

4. März 2013

3

Page 4: Context as a service

Ubiquitous Computing“The most profound technologies are those that disappear. They weave themselves into the fabric of everyday life until they are indistinguishable from it.“ [Wei91]

Mobilität Dynamik Interoperabilität Heterogenität

Nutzerinteraktion Adaptivität Kontextsensitivität Sicherheit

Michael Wagner – Context as a Service

Herausforderungen im Ubiquitous Computing:

4. März 2013

4

Page 5: Context as a service

Kontext & Kontextsensitivität

Kontext ist jede Information, die genutzt werden kann, um die Situation einer Entität zu charakterisieren.

Kontext

Eine Anwendung ist kontextsensitiv, wenn ihr Verhalten durch Informationen über ihren Kontext beeinflusst wird.

Kontextsensitivität

Michael Wagner – Context as a Service

4. März 2013

5

Page 6: Context as a service

Kontextanbieter – Beispiele

Sensoren

GPS-Sensor Digitaler Kompass Näherungssensor Lichtsensor Beschleunigungssensor Thermometer

Reasoner

Zellen-basierte Position Netzwerk-basierte Position Kalender-basierte Position Aktivität Internet Wetter

Michael Wagner – Context as a Service

4. März 2013

6

Page 7: Context as a service

Heterogenität

Kontextanbieter lokal und verteilt bieten teilweise

Informationen vom gleichen Typ an

aber unterschiedliche Qualität und Kosten

und Repräsentationen von Informationen und Metadaten

Kontextkonsumenten lokal und verteilt benötigen teilweise

Informationen vom gleichen Typ

aber unterschiedliche Präferenzen bzgl. Qualität und Kosten

und bzgl. Repräsentationen von Informationen und Metadaten

Michael Wagner – Context as a Service

4. März 2013

7

Page 8: Context as a service

Aufgabenstellung

Auswahl und Aktivierung dynamisch zur Laufzeit entdeckter Kontextanbieter Abwägen von Qualität und Kosten Kostenminimierung Abschätzung von Qualität und Kosten

deaktivierter Anbieter Unterstützung heterogener Repräsentationen

Michael Wagner – Context as a Service

4. März 2013

8

Page 9: Context as a service

Michael Wagner – Context as a Service

Herausforderungen

Kontext als DienstHeterogenität

Abstraktion

Lose Kopplung Dynamisches Auffinden

Dynamische Auswahl

Kosten-minimierung

4. März 2013

9

Page 10: Context as a service

Existierende LösungenIm Quellcode

verlinkte Komponenten

Kapselung von Sensoren und

Reasoner

Keine Unterstützung für

Suche und Selektion

Dynamische Suche und Selektion, z.B. [Dey00;

CAS06;HM04]

Keine Unterstützung für heterogene

Datenrepräsentationen

Keine Unterstützung für Deaktivierung oder

andere ressourcenschonende

Maßnahmen

Fusion von Kontextinformationen

unterschiedlicher Quellen, z.B. [NM04]

Wenige Arbeiten unterstützen heterogen repräsentierte Daten,

z.B. [Rei10]

Keine Deaktivierung unbenötigter Quellen

Kein Auswahlprozess

Michael Wagner – Context as a Service

4. März 2013

10

Page 11: Context as a service

Lösungsweg und Ergebnisse

Michael Wagner – Context as a Service

4. März 2013

11

Page 12: Context as a service

Michael Wagner – Context as a Service

Lösungsweg

• Heterogenität

Kontext-modell und

-ontologie

• Abstraktion• Lose Kopplung

Context Offer and

Query Language

• Dynamisches Auffinden

Suche und Abgleich

• Dynamische Auswahl

• KostenminimierungSelektion

Kontextreasoner

Konsument Anbieter

Kopplung

Konvertierung

Suche und Abgleich

Selektion

Kontext als Dienst

4. März 2013

12

Page 13: Context as a service

Kontextmodell

Michael Wagner – Context as a Service

Kontext-modell und

-ontologie

Scope

Entity

RepresentationBasic

Representation

CompositeRepresentation

characterizes *

hasRepresentation *

has Dimension *

is-a

4. März 2013

13

Page 14: Context as a service

Repräsentationen

Michael Wagner – Context as a Service

Kontext-modell und

-ontologie

Scope

Entity

Representation LocationRep

LocationInfo

characterizes *

hasRepresentation *

John Doeio

is-a

is-a

LocationInfoIndv1

Street = KönigstorNumber = 12City = Kassel

Latitude = 52.868Longitude = -2.193

LocationInfoIndv2

io

io

io

hasRepresentation *

hasRepresentation

characterizes *

4. März 2013

14

Page 15: Context as a service

Kontextontologie Interne Struktur der Kontextinformationen und

deren Metadaten als Repräsentationen in der Ontologie

Inter-Representation-Operations (IROs) zur Transformation zwischen Repräsentationen

Metadaten-Operationen zur Berechnung neuer Metadaten basierend auf vorhandenen Metadaten

Grundlagen: MUSIC [Rei+08a], CoOL [SLF03] und Reichle [Rei10]

Michael Wagner – Context as a Service

Kontext-modell und

-ontologie

4. März 2013

15

Page 16: Context as a service

Context Offerand Query Language

Michael Wagner – Context as a Service

Angebot oder Nachfrage von Kontext-information

• einem bestimmten Informationstyp zugehörig

• eine bestimmte Entität beschreibend

• in einer bestimmten Repräsentation dargestellt

• gemäß Bedingungen zu Metadaten

Grundlagen: MUSIC Context Query Language (CQL) [Rei+08b] und der Information Offer and Request Language (IORL) [Rei10]

Context Offer and

Query Language

4. März 2013

16

Page 17: Context as a service

Beispiel für Angebot und Nachfrage

Michael Wagner – Context as a Service

Context Query 1

Entity: User | Jon DoeScope: PositionRep: Cartesian Coordinates

Accuracy < 1 kmBatteryCost

< 0.1mWh

Freshness < 1 min

Context Offer 1

Entity: UserScope: PositionRep: WGS84

GPS Sensor

Accuracy: < 10m

BatteryCost < 0.5 mWh

Timestamp (UNIX)

Context Offer and

Query Language

Accuracy (0.1)

Cost (0.9)

4. März 2013

17

Page 18: Context as a service

Abgleich von Angebot und Nachfrage

Der Abgleich erfolgt in mehreren Phasen:1. Abgleich von Entitäten und Informationstypen2. Abgleich von Repräsentationen inkl. der

Bereitstellung erforderlicher Mediationsketten3. Abgleich der Bedingungen

Ergebnis: Mediationsketten zwischen einer Anfrage und einem Angebot

Michael Wagner – Context as a Service

Suche und Abgleich

4. März 2013

18

Page 19: Context as a service

Mediator Chain

Beispiel für Abgleich

Michael Wagner – Context as a Service

Suche und Abgleich

1. Informations-typen

2. Entitäten3. Repräs-

entationen4. Metadaten-

Bedingungen

Context Query 1

Entity: User | Jon DoeScope: PositionRep: Cartesian Coordinates

Accuracy < 1 km

BatteryCost < 0.1mWh

Freshness < 1 min

Context Offer 1

Entity: UserScope: PositionRep: WGS84

GPS Sensor

Accuracy: < 10m

BatteryCost < 0.5 mWh

Context Offer 2

Entity: UserScope: PositionRep: Cartesian Coordinates

Cell-ID based Location Sensor

BatteryCost < 0.1 mWh

Accuracy = 1 cell

Timestamp (UNIX)

Timestamp(UNIX)

MediationWGS84 Cartesian

MetadataOperation

MetadataMediation

4. März 2013

19

Page 20: Context as a service

Anforderungen an dieSelektion

Auswahl einer Kontextquelle für jede Anfrage anhand deren Präferenzen bzgl. Kosten und Qualität

Berücksichtigung der Möglichkeit, einen Kontextdienst als Quelle für mehrere Anfragen zu nutzen

Minimierung der Kosten

Michael Wagner – Context as a Service

Selektion

4. März 2013

20

Page 21: Context as a service

Michael Wagner – Context as a Service

Selektionsfunktion Aggregierte Nutzenfunktion für eine Menge von

Mediatorketten für alle Anfragen 𝑋 Einfache Nutzenfunktion für eine Menge von

Mediatorketten für eine einzelne Anfrage 𝑋 𝑟

4. März 2013

21

u ( X )=(1−𝛼 )⋅ (∑𝑟∈𝑅

𝑢𝑟 ( 𝑋 ))+𝛼⋅∑𝑑∈𝐶

𝑢𝑐 ( 𝑋 ,𝑑 )

|𝐶|

Selektion

Page 22: Context as a service

Evaluation

Michael Wagner – Context as a Service

4. März 2013

22

Page 23: Context as a service

Michael Wagner – Context as a Service

23 Kontextdienste mit 31 Kontextangebote

5 Demonstratoren Heterogene Daten Einfache Selektion Selektion für mehrere

Anfragen Teilen von

Kontextdiensten Kostenminimierung

Demonstratoren

Demonstrator Kostenminimierung

4. März 2013

23

Page 24: Context as a service

Evaluation von Performanz und Skalierbarkeit

• Iterationen (bei n Repräsentationen) • z.B. 8 Repräsentationen 56 IROs 1957 Mediationsketten in 41,08 s

Mediations-dienst

• Exponentielles Wachstum im „Worth Case“• z.B. 250 Bedingungen in Anfrage und Angebot

18,39 ms

Abgleich von Bedingungen

• Angebote pro Anfrage und Anfragen Durchläufe

• z.B. 5 Anfragen + 5 Angebote pro Anfrage 19,217 s

Selektions-dienst

Michael Wagner – Context as a Service

4. März 2013

24

Page 25: Context as a service

Zusammenfassung & Ausblick

Michael Wagner – Context as a Service

4. März 2013

25

Page 26: Context as a service

Michael Wagner – Context as a Service

ZusammenfassungUnterstützung kontextsensitiver Anwendungen in Ubiquitous Computing Umgebungen

Aufgabe

Kontextdienste als Abstraktion dynamisch auffindbarer, lokaler und externer Kontextquellen, -reasoner und anderer DatenquellenLösungsweg

Umfassendes Konzept und Implementierung zur Unterstützung von kontextsensitiver Anwendungen bei der Suche, Mediation und Selektion von Kontextdiensten basierend auf Qualitäts- und KostenkriterienErgebnis

4. März 2013

26

Page 27: Context as a service

Ausblick Verbesserung der Skalierbarkeit des

Selektionsansatzes z.B. durch einen Divide-and-Conquer-Ansatz

Kombination aus Selektionsansatz und Fusionsansatz

Datenschutz und Sicherheit Methodische Unterstützung von Entwicklern

Michael Wagner – Context as a Service

4. März 2013

27

Page 28: Context as a service

Context as a ServiceDisputation

Michael WagnerVerteilte SystemeFB16 - Elektrotechnik/InformatikUniversität Kassel

Page 29: Context as a service

Publikationen als (Ko-)Autor I Jacqueline Floch, Cristina Fra, Rolf Fricke, Kurt Geihs, Michael Wagner, Jorge Lorenzo,

Eduardo Soladana, Stefan Mehlhase, Nearchos Paspallis, Hossein Rahnama, Pedro A. Ruiz, and Ulrich Scholz. Playing MUSIC - building context-aware and self-adaptive mobile applications. In: Software: Practice and Experience (2012). issn: 1097-024X. doi: 10.1002/spe.2116. url: http://dx.doi.org/10.1002/spe.2116.

Kurt Geihs, Roland Reichle, Michael Wagner, and Mohammad Ullah Khan. Modeling of Context-Aware Self-Adaptive Applications in Ubiquitous and Service-Oriented Environments. In: Software Engineering for Self-Adaptive Systems. Berlin, Heidelberg: Springer-Verlag, 2009, pp. 146-163. url:http://www.vs.uni-kassel.de/publications/2009/GRWK09.

Kurt Geihs, Roland Reichle, Michael Wagner, and Mohammad Ullah Khan. Service-Oriented Adaptation in Ubiquitous Computing Environments. In: Proceedings IEEE CSE'09, 12th IEEE International Conference on Computational Science and Engineering, August 29-31, 2009, Vancouver, BC, Canada. IEEE Computer Society, 2009, pp. 458-463.

Roland Reichle, Michael Wagner, Mohammad Ullah Khan, Kurt Geihs, Jorge Lorenzo, Massimo Valla, Cristina Fra, Nearchos Paspallis, and George A. Papadopoulos. A Comprehensive Context Modeling Framework for Pervasive Computing Systems. In: Distributed Applications and Interoperable Systems, 8th IFIP WG 6.1 International Conference, DAIS 2008, Oslo, Norway, June 4-6, 2008. Proceedings. Ed. By Rene Meier and Sotirios Terzis. Vol. 5053. LNCS. 2008, pp. 281-295. isbn: 978-3-540-68639-2.

Michael Wagner – Context as a Service

4. März 2013

29

Page 30: Context as a service

Publikationen als (Ko-)Autor II Roland Reichle, Michael Wagner, Mohammad Ullah Khan, Kurt Geihs, Massimo Valla,

Cristina Fra, Nearchos Paspallis, and George A. Papadopoulos. A Context Query Language for Pervasive Computing Environments. In: Sixth Annual IEEE International Conference on Pervasive Computing and Communications (PerCom 2008), 17-21 March 2008, Hong Kong. IEEE Computer Society, 2008, pp. 434-440.

Michael Wagner. Context as a service. In: UbiComp 2010: Ubiquitous Computing, 12th International Conference, UbiComp 2010, Copenhagen, Denmark, September 26-29, 2019, Adjunct Papers Proceedings. Ed. by Jakob E. Bardram, Marc Langheinrich, Khai N. Truong, and Paddy Nixon. ACM International Conference Proceeding Series. ACM, 2010, pp. 489- 492. isbn: 978-1-4503-0283-8.

Michael Wagner, Roland Reichle, and Kurt Geihs. Context as a service - Requirements, design and middleware support. In: Ninth Annual IEEE International Conference on Pervasive Computing and Communications, PerCom 2011, 21-25 March 2011, Seattle, WA, USA, Workshop Proceedings. IEEE, 2011, pp. 220-225.

Michael Wagner – Context as a Service

4. März 2013

30

Page 31: Context as a service

Existierende Ansätze I

Michael Wagner – Context as a Service

Arbeit Anforderung 1:Suche

Anforderung 2:Loose Kopplung

Anforderung 3:Heterogenität

Anforderung 4:Angebot & Anfrage

Anforderung 5:(De-) Aktivierung

Anforderung 6: Service Selektion

Anforderung 7:Kostenreduzierung

CoBrA[CFJ03a; CFJ03b; Che04;CFJ04] ↑ ↑ ↓ ↓ ↓ ↓ ↓

CONTEXT[CAS06] ↑ ↑ ↓ ↗ ↓ ↑ ↘Context Toolkit[SDA99; DA00;Dey00] ↓ ↑ ↓ ↓ ↓ ↓ ↓

↓ = no support ↘ = very limited support ↗ = partial support ↑ = full support

4. März 2013

31

Page 32: Context as a service

Existierende Ansätze II

Michael Wagner – Context as a Service

Arbeit Anforderung 1:Suche

Anforderung 2:Loose Kopplung

Anforderung 3:Heterogenität

Anforderung 4:Angebot & Anfrage

Anforderung 5:(De-) Aktivierung

Anforderung 6: Service Selektion

Anforderung 7:Kostenreduzierung

COSMOS[CRS07; RCS08; ACC09] ↓ ↑ ↓ ↘ ↓ ↓ ↓ EEMSS[Wan+09] ↓ ↓ ↓ ↓ ↑ ↗ ↑Gaia [Rom+02; RC03; RAC04] ↑ ↑ ↗ ↗ ↓ ↓ ↓Huebscher et al.[HM04] ? ↑ ↓ ↑ ↓ ↗ ↘ ↓ = no support ↘ = very limited support ↗ = partial support ↑ = full support

4. März 2013

32

Page 33: Context as a service

Existierende Ansätze III

Michael Wagner – Context as a Service

Arbeit Anforderung 1:Suche

Anforderung 2:Loose Kopplung

Anforderung 3:Heterogenität

Anforderung 4:Angebot & Anfrage

Anforderung 5:(De-) Aktivierung

Anforderung 6: Service Selektion

Anforderung 7:Kostenreduzierung

Hydrogen[Hof+03] ↓ ↑ ↓ ↓ ↓ ↓ ↓ Korpipää et al.[Kor+03; KM03;Kor+04; Kor+05]

↑ ↑ ↓ ↗ ↓ ↓ ↓MobiLife[Flo+05; Ker+06] ↑ ↑ ↓ ↑ ↓ ↓ ↓MUSIC & Paspallis[Pas09] ↑ ↑ ↗ ↗ ↑ ↓ ↘ ↓ = no support ↘ = very limited support ↗ = partial support ↑ = full support

4. März 2013

33

Page 34: Context as a service

Existierende Ansätze IV

Michael Wagner – Context as a Service

Arbeit Anforderung 1:Suche

Anforderung 2:Loose Kopplung

Anforderung 3:Heterogenität

Anforderung 4:Angebot & Anfrage

Anforderung 5:(De-) Aktivierung

Anforderung 6: Service Selektion

Anforderung 7:Kostenreduzierung

Nexus [Bec04; Rot+06; NM04; Gro+09; Lan+09; Hön+09]

↓ ↑ ↓ ↓ ↓ ↓ ↓ QCMM [MTD08; MTD09; MTD10] ? ↑ ↓ ↗ ↓ ↗ ↓Reichle [Rei10] ↑ ↑ ↗ ↗ ↓ ↓ ↓ ↓ = no support ↘ = very limited support ↗ = partial support ↑ = full support

4. März 2013

34

Page 35: Context as a service

Existierende Ansätze V

Michael Wagner – Context as a Service

Arbeit Anforderung 1:Suche

Anforderung 2:Loose Kopplung

Anforderung 3:Heterogenität

Anforderung 4:Angebot & Anfrage

Anforderung 5:(De-) Aktivierung

Anforderung 6: Service Selektion

Anforderung 7:Kostenreduzierung

Roy et al.[RGD10; RDJ12] ↑ ↑ ↓ ↗ ↓ ↗ ↗ Sentient Object Model [BC04] ↓ ↑ ↓ ↑ ↓ ↓ ↓SOCAM [GPZ04; Gu+04; GPZ05] ↑ ↑ ↓ ↑ ↓ ↓ ↓ ↓ = no support ↘ = very limited support ↗ = partial support ↑ = full support

4. März 2013

35

Page 36: Context as a service

Semantisches Tableau für Ausdruckslogik

¬(¬ (𝑝∧𝑞 )→ (¬𝑝∨¬𝑞 ))

¬ (𝑝∧𝑞 )¬𝑝

¬¬𝑝𝑝

X

¬𝑞

¬¬𝑝

𝑝

XMichael Wagner – Context as a Service

¬¬ 𝑋

𝑋

𝑋∧𝑌

𝑋¬(𝑋∧𝑌 )

¬𝑋 ¬𝑌

Beispiel:Konstruktionsregeln:

𝑋∨𝑌

𝑋 𝑌

¬(𝑋∨𝑌 )

¬𝑋𝑋→𝑌

¬𝑋 𝑌

¬(𝑋→𝑌 )

𝑋

4. März 2013

36

Page 37: Context as a service

Zusammengesetzte Repräsentation

Michael Wagner – Context as a Service

Scope Representationhas Representation

Basic Representation

Composite Representation

is a is ahasDimension

LocationRep

WGS84Rep

is a

is a

is aFloatRep

is a

LocationConcepts

Latitude

Longitude

Altitude

is a

is ais ais a

has Latitude

has Longitude

has Altitude

has Representation

Unit

has Unit

FloatInMeterRep

degrees

meter

BaseUnit

UnitDerivedByScaling

radianis a

is a is a

derived fromhas Unit

<implicit class>

is a

has Unithas Representation

DerivedUnit

is a

instance of

instanceofinstance of

Kontext-modell und

-ontologie

4. März 2013

37

Page 38: Context as a service

Kontextoperationen

Michael Wagner – Context as a Service

OperationInter-Representation

Operation

MetadataOperation

Scope

Metadata

Derived Metadata Common Metadata

is a

TimestampFreshnessbased on

is a is a

is a

is a

is a

is a

works on

OperationGrounding

has Grounding

derived by

derives

FreshnessOperation

derived by

derives

is a

has Input Metadata

has Output Metadata

has Dependency

Representationhas Representation

has Input

has Output

Kontext-modell und

-ontologie

4. März 2013

38

Page 39: Context as a service

Metadaten

Michael Wagner – Context as a Service

Scope

is a

Metadata

Common Metadata ScopeMetadataRepresentation

MetadataAtomic Metadata Derived Metadata CostMetadata

Sensor CostMetadata

Cost of ContextMetadata

is a

is ais a is a

is ais a

is ais ais a

based on

Timestamp FreshnessbasedOn

is a

is a

is a

is a

is a

Value Range

is a

Reliability

is a

Estimated SensorCost

is a

Estimated CoC

is aChange Frequency

is a

basedOnbasedOn

is a

Kontext-modell und

-ontologie

4. März 2013

39

Page 40: Context as a service

Michael Wagner – Context as a Service

Hierarchische Kompositionder Kontextontologie

Quelle: [Rei10]

Kontext-modell und

-ontologie

4. März 2013

40

Page 41: Context as a service

Context Offerand Query Language

Michael Wagner – Context as a Service

Context Offer/Request

Scope Representation Subscription Source

(0ffer)

Characterized Entity

(1..*)Entity

Entity

Constrain

t

Selection Function (Request)Selection Function

Factor (0..*)

Scope Constraint

(0..*)

Metadata Constraint

(0..*)

Scope Constraint

Composite Scope ConstraintOperator Scope Constraint (0..*)

Atomic Scope ConstraintScopeID or ScopeProper

tyOperator Value Delta

Metadata Constraint

Composite Scope ConstraintOperator Metadata Constraints (0..*)

Atomic Metadata ConstraintMetadata

class Operator Value Delta Representation

Position

WGS84

OnChange

[email protected]

0.9 accuracy (max)

0.1 cost (min)

freshness

less

1 min

Context Offer and

Query Language

4. März 2013

41

Page 42: Context as a service

Mediatorketten

Michael Wagner – Context as a Service

Genericmetadatum mediation & calculation

IRO-based dependency

mediation

Context offerGeneric

metadatum mediation

IRO-specific metadatum mediation

ContextInformationRep_out

Metadatum1Rep_out

Metadatum3Rep_out

ContextInformationRep_in

Metadatum1Rep_in

Metadatum2Rep_in

Mediation

Mediation

Mediation

Mediator chain

Mediator chain

Mediation

Mediation

Mediation

Mediation

Mediation

Context query

Metadatum2Rep_out

Calculation

Metadata Mediator

IRO Mediator

1

2

3

4

Suche und Abgleich

4. März 2013

42

Page 43: Context as a service

Beispiel – Mediatorketten

Michael Wagner – Context as a Service

IRO-based dependency mediation

Genericmetadatum mediation

IRO-specific metadatum mediation

Genericmetadatum mediation & calculation

Context offerContext query

Mediator chain

Position(WGS_84)

Metadatum1Accuracy (m)

Metadatum2Freshness (min)

PositionWorkstation

Number

Metadatum1Accuracy (m)

Metadatum2Timestamp (UNIX)

Mediationsecond into

minute

acc =

1 m

fresh >

0 min

cost = 0.05 mWh

Mediator chainBuilding Position

(WGS84)

CalculationFreshness (s)

based on Timestamp

(UNIX)

MediationEstimated cost

(mWh)increase

MediationPosition à

WGS84

MediationAccuracy

(m) decrease

MediationWorkstationNo. à

RoomPosition relativ

Metadatum3Estimated cost

(mWh)

Metadatum3Estimated cost

(mWh)

MediationAccuracy (m)

decrease

acc > 10 m

timestamp > 0 s

cost = 0.15 mWh

fresh >

0 s

Suche und Abgleich

4. März 2013

43

Page 44: Context as a service

Michael Wagner – Context as a Service

Abgleich Bedingungen – Metadaten-Wertbereiche Wertebereiche von Metadaten

Der Wertebereich eines Typs von Metadaten umfasst alle möglichen Werte von Metadaten dieses Typs.

Beispiele für Ableitung des Wertebereichs aus Bedingungen:

Suche und Abgleich

Operator Abkürzung Prädikat Wertebereich

Equal EQ

Greater than GT

Less than LT

Greater or equal GE

4. März 2013

44

Page 45: Context as a service

Michael Wagner – Context as a Service

Abgleich Bedingungen – Konsistenz

Suche und Abgleich

Eine Bedingung ist schwach konsistent zu einer Bedingung , wenn die Schnittmenge beider Wertebereiche nicht leer ist, also wenn .

Schwache Konsistenz

Eine Bedingung ist streng konsistent zu einer Bedingung , falls der Wertebereich von eine Teilmenge von ist, also wenn .

Strenge Konsistenz

4. März 2013

45

Page 46: Context as a service

Beispiel – Abgleich Bedingungen

Michael Wagner – Context as a Service

(𝐿𝑇 (𝐹𝑟𝑒𝑠 h𝑞 ,10 )∧ (𝐿𝑇 ( 𝐴𝑐𝑐𝑞 ,100 )∨𝐺𝑇 (𝑅𝑒 𝑙𝑞 ,75 ) ))∧ (𝐿𝑇 (𝐹𝑟𝑒𝑠 h𝑜 ,5 )∧𝐺𝑇 (𝐴𝑐𝑐𝑜 ,50 ) )

𝐿𝑇 (𝐴𝑐𝑐𝑞 ,100 )weak

𝐺𝑇 (𝑅𝑒𝑙𝑞 ,75 )X

4. März 2013

46

Page 47: Context as a service

Beispiel – Selektion

Michael Wagner – Context as a Service

Chain 7

Chain 1

Chain 3

Chain 2

Chain 4

Chain 6

Chain 5

cost: 15 acc: 10

cost :5 acc: 5

cost: 100 acc: 100

cost: 50 acc: 50

cost: 5 acc:5

Context Offer 2

cost: 100 acc: 100

Context Offer 1

cost: 5 acc: 5

Context Request 2

cost acc

Context Request 1

cost acc

Context Request 3

cost acc

cost: 50 acc: 50

cost: 5 acc: 5

Chain 8

cost: 50 acc: 50

Context Offer 3

cost: 50 acc: 50

high preference of request to min/max metadatum

medium preference

low preference

optimal selection for single query

suboptiomal selection for a single query

optimal selection for set of queries

Selektion

4. März 2013

47

Page 48: Context as a service

Michael Wagner – Context as a Service

Berechnung Qualitätswert Selektion

𝑥 ,wenn𝑚𝑖𝑛𝑃𝑟𝑒𝑓 = 𝑓𝑎𝑙𝑠𝑒∧𝑥≠−∞∧ 𝑦=∞

𝑥+𝑦2,wenn 𝑥≠−∞∧ 𝑦≠∞

𝑣 (𝑜 ,𝑑)=¿𝑦 , wenn𝑚𝑖𝑛𝑃𝑟𝑒𝑓 =𝑡𝑟𝑢𝑒∧𝑥=−∞∧ 𝑦 ≠∞0 , sonst

𝑞 (𝑜 ,𝑑 )=¿

𝜖 , sonst

4. März 2013

48

Page 49: Context as a service

Michael Wagner – Context as a Service

Berechnung Kostenwert Selektion

𝑥+𝑦2,wenn 𝑥≠−∞∧ 𝑦≠∞

𝑐 (𝑜 ,𝑑 )=¿ 𝑦 , wenn𝑥=−∞∧ 𝑦 ≠∞

0 , sonstKosten für eine Menge an Kostenangeboten X:

𝜖 ,wenn∃𝑜∈𝑋 ,𝑑𝑜𝑚 (𝑜 ,𝑑 )=(𝑥 , 𝑦 )∧ 𝑦=∞𝑢𝑐 ( 𝑋 ,𝑑)=¿

1−𝑐 ( 𝑋 ,𝑑)𝑐(𝑂𝑀 ,𝑑)

, sonst

4. März 2013

49

Page 50: Context as a service

Michael Wagner – Context as a Service

Wertebereich I Selektion

𝑑𝑜𝑚′ (𝑜 ,𝑑)=¿

4. März 2013

50

Page 51: Context as a service

Michael Wagner – Context as a Service

Wertebereich II Historische Daten:

Gewichtung basierend auf dem Alter:

neue Tuplemenge:

Selektion

4. März 2013

51

Page 52: Context as a service

Michael Wagner – Context as a Service

Wertebereich III Selektion

𝑑𝑜𝑚′ (𝑜 ,𝑑 ) ,wenn𝐻𝑜𝑑=∅

(𝑣❑′

min {𝑥|∑𝑖=1

𝑥

𝑤𝑖′ ≥ 0.25 }

,𝑣❑′

min {𝑥|∑𝑖=1

𝑥

𝑤𝑖′ ≥ 0.75 }) , sonst

𝑑𝑜𝑚 (𝑜 ,𝑑 )=¿

4. März 2013

52

Page 53: Context as a service

Michael Wagner – Context as a Service

Selektionsfunktion I Selektion

Einfache Nutzenfunktion: Berechnet den Nutzen einer Menge von Mediatorketten für eine einzelne Anfrage

( max𝑥∈ {𝑦∈𝑋|∃𝑚∈𝑀 𝑟 :𝑜𝑚=𝑦 }( ∑𝑑∈𝐷 𝑤𝑑𝑟 ∙𝑞 (𝑥 ,𝑑)))+ ∑

𝑑∈𝐶

𝑤𝑑𝑟′ 𝑢𝑐 ( 𝑋 ,𝑑) , sonst .

0 ,wenn¬ (∃𝑚∈𝑀𝑟 :𝑜𝑚∈𝑋 )

𝑢𝑟 (𝑋 )=¿

4. März 2013

53

Page 54: Context as a service

Selektionsfunktion IIAggregierte Nutzenfunktion:Berechnet den Nutzen einer Menge von Mediatorketten für alle Anfragen

Michael Wagner – Context as a Service

Selektion

(1−𝛼 )⋅ (∑𝑟∈ 𝑅

𝑢𝑟 ( 𝑋 ))+𝛼⋅∑𝑑∈𝐶

𝑢𝑐 ( 𝑋 ,𝑑 )

|𝐶|,   sonst .

0 ,  wenn  ∃𝑟 ∈𝑅 ,𝑢𝑟 ( 𝑋 )=0 ,

𝑢 ( 𝑋 )=¿

4. März 2013

54

Page 55: Context as a service

Middleware – Infrastruktur

Michael Wagner – Context as a Service

Device 2Device 2 Device mDevice 1

MiddlewareInstance 1

Application 1

CQ

Sensor 1

CO

Reasoner 1

COCQ

Application 2

CQ

Sensor 3

CO

Sensor 4

CO

Sensor 5

CO

Application 4

CQ

Application 3

CQ

Sensor 2

CO

MiddlewareInstance 3

Reasoner 2

COCQ

Application Reasoning 1

CQ

Context Service

Consumer

Middleware

Context Services

MiddlewareInstance 2

Synchronous or asynchronous communication of context information

Service advertisement & context dissemination

CO Context Offer CQ Context Query

4. März 2013

55

Page 56: Context as a service

Middleware – Architektur JAVA-

Implementierung Basierend auf

OSGi Android-

spezifische Kontextdienste

Michael Wagner – Context as a Service

Middleware

OntologyReasoner

Mediation Engine

Selection Service

QoC & CoC Monitor

Register

Trigger Matching

Use

TriggerSelection

Trigger mediation check

TriggerBinding &AccessRepository Punish &

amnesty offers

Establishmediatorchains

AccessRepository

AccessOntology

Access Ontology

AccessRepository

MatchingService

OntologyManager

OntologyAccess Repository

TriggerMonitoring

AccessRepository Discovery

Service

Context Offer & Query

Repository

DiscoveryPlugin

MiddlewareInstances

Context Repository

Context DataRepository

Context Service

Consumer

Context Service

Data Push/PullData

Push/Pull

Activate / deactivate offer

Binding Service

BindingPlugin

Mediator ChainRepository

VisualizationService

Inform Inform

4. März 2013

56

Page 57: Context as a service

Kontextdienst – Zyklus

Michael Wagner – Context as a Service

Context Service lifecycle

Act

ive

OSGi lifecycle

INSTALLED

RESOLVED

UNINSTALLED

STARTING

C_INSTALLED

C_RESOLVED

C_ACTIVE

STOPPING

install

resolverefresh /update

uninstall

uni

nst

all

refresh / update

start

c_resolve

c_resolve

c_activate c_deactivate

stop

C_PUNISHED

c_punish

c_amnesty

4. März 2013

57

Page 58: Context as a service

Michael Wagner – Context as a Service

Demonstrator Beispiele Kontextangebote

Offer Entity Scope Representation Metadata Constraints

Acceleration(Google Nexus One – normal delay)

Device | this

Acceleration Android-Device-Acceleration-Rep

TimeStamp ≥ 1 UnixTimeStamp ᴧ PowerConsumption 1.71 PercentPerHour ᴧ ChangeFrequency = 4.09 Hz

Fall detection Device | this

Fall Detection

BooleanRep FalseNegativeRate = 2.67% ᴧ FalsePositiveRate = 8.7% ᴧ DeviceMemoryUsage = 600kB ᴧ CPUUsage = 3.128 MHz

Activity recognition 1

User | this

Activity Activity-KwapiscRep (String)

Accuracy > 61.5% ᴧ Accuracy < 98.3%

Calendar Activity

User | this

Activity Activity-CalendarRep (String)

Cost = 0

4. März 2013

58

Page 59: Context as a service

Michael Wagner – Context as a Service

Demonstrator Beispiele Kontextanfragen

ContextConsumer

Entity Scope Representation Metadata Constraints

Selection Criteria

Fall detection

Device | this

Acceleration Android-Device-Acceleration-Rep

min Change-Frequency

Activity recognition 5

Device | this

Acceleration Android-Device-Acceleration-Rep

Change-Frequency > 10 Hz

min Change-Frequency

Dem. A1 User | mwa

Location AddressRep Freshness < 10s

0.9 min EstimatedSensorCost & 0.1 Accuracy (m)

Dem. A2 User | mwa

Activity ActivityKoseRep

4. März 2013

59

Page 60: Context as a service

Michael Wagner – Context as a Service

Demonstrator Beispiele IROs

IRO Name Scope InputRep OutputRep InputMetadata

OutputMetadata

ActivityLee-ToKoseIRO

Activity ActivityLeeRep ActivityKoseRep

SecondTo-MilliSecond-IRO

Scope DoubleRep & Unit=second

DoubleRep & Unit=milli-second

WGS84To-AddressIRO

Location LocationWGS84

AddressRep EstimatedSensorCost (DoubleRep)

EstimatedSensorCost (DoubleRep)

CastIRO Scope Basic-Representation

Basic-Representation

4. März 2013

60

Page 61: Context as a service

Michael Wagner – Context as a Service

Demonstrator A: Screenshots

Query 1: Location (AddressRep) Ausgewählte Kette:Network Location Service Query 1

4. März 2013

61

Page 62: Context as a service

Demonstrator E:Kostenminimierung

Michael Wagner – Context as a Service

4. März 2013

62

Page 63: Context as a service

Michael Wagner – Context as a Service

Evaluation – Mediationsdienst Gesucht: Mediation

zwischen und Gegeben:

Repräsentationen IROs

Ergebnis: Mediationsketten Iterationen

4. März 2013

63

Page 64: Context as a service

Evaluation – Mediationsdienst – Speicher

Michael Wagner – Context as a Service

4. März 2013

64

Page 65: Context as a service

EvaluationAbgleich von Constraints

Michael Wagner – Context as a Service

Gesucht: Erfüllbarkeit einer Menge von Constraint

Gegeben: Constraints in Anfrage

bzw. Angebot Szenarios:

Best Case: Nur KonjunktionenAverage Case: Disjunktionen und KonjunktionenWorst Case: Nur Disjunktionen

4. März 2013

65

Page 66: Context as a service

Evaluation – Selektion

Michael Wagner – Context as a Service

Gesucht: Quelle von Kontextanfragen

Gegeben: Angebote pro

Anfrage Ergebnis:

Iterationen des Selektionsalgorithmus

4. März 2013

66

Page 67: Context as a service

Referenzen I Zied Abid, Sophie Chabridon, and Denis Conan. A Framework for Quality of Context

Management. In: Quality of Context, First International Workshop, QuaCon 2009, Stuttgart, Germany, June 25-26, 2009. Revised Papers. Ed. by Kurt Rothermel, Dieter Fritsch, Wolfgang Blochinger, and Frank Düurr. Vol. 5786. LNCS. Springer, 2009, pp. 120-131. isbn: 978-3-642-04558-5.

Alessandra Agostini, Claudio Bettini, Nicolo Cesa-Bianchi, Dario Maggiorini, Daniele Riboni, Michele Ruberl, Cristiano Sala, and Davide Vitali. Towards Highly Adaptive Services for Mobile Computing. In: Mobile Information Systems, IFIP TC 8 Working Conference on Mobile Information Systems (MOBIS), 15-17 September 2004, Oslo, Norway. Ed. by Elaine Lawrence, Barbara Pernici, and John Krogstie. Vol. 158. IFIP International Federation for Information Processing. 2004, pp. 121-134. isbn: 0-387-22851-9.

Alessandra Agostini, Claudio Bettini, and Daniele Riboni. A Performance Evaluation of Ontology-Based Context Reasoning. In: Fifth Annual IEEE International Conference on Pervasive Computing and Communications - Workshops (PerCom Workshops 2007), 19-23 March 2007, White Plains, New York, USA. IEEE Computer Society, 2007, pp. 3-8. isbn: 978-0-7695-2788-8.

Alessandra Agostini, Claudio Bettini, and Daniele Riboni. Loosely Coupling Ontological Reasoning with an Ecient Middleware for Context-awareness. In: 2nd Annual International Conference on Mobile and Ubiquitous Systems (MobiQuitous 2005), 17-21 July 2005, San Diego, CA, USA. IEEE Computer Society, 2005, pp. 175-182. isbn: 0-7695-2375-7.

Michael Wagner – Context as a Service

4. März 2013

67

Page 68: Context as a service

Referenzen II Christian Becker. System Support for Context-aware Computing. Englisch. Habilitation.

Universität Stuttgart : Sonderforschungsbereich SFB 627 (Nexus: Umgebungsmodelle für mobile kontextbezogene Systeme), Germany, June 2004, p. 245. url: http://www2.informatik.uni-stuttgart.de/cgi-bin/NCSTRL/NCSTRL_view.pl?id=HABIL-2004-02&engl=.

Gregory Biegel and Vinny Cahill. A Framework for Developing Mobile, Context-aware Applications. In: Proceedings of the Second IEEE International Conference on Pervasive Computing and Communications (PerCom 2004), 14-17 March 2004, Orlando, FL, USA. IEEE Computer Society, 2004, pp. 361-365. isbn: 0-7695-2090-1.

Thomas Buchholz, Michael Krause, Claudia Linnho-Popien, and Michael Schiers. CoCo: Dynamic Composition of Context Information. In: 1st Annual International Conference on Mobile and Ubiquitous Systems (MobiQuitous 2004), Networking and Services, 22-25 August 2004, Cambridge, MA, USA. IEEE Computer Society, 2004, pp. 335-343. isbn: 0-7695-2208-4.

Maria Chantzara, Miltiades E. Anagnostou, and Efstathios D. Sykas. Designing a Quality-Aware Discovery Mechanism for Acquiring Context Information. In: 20th International Conference on Advanced Information Networking and Applications (AINA 2006), 18-20 April 2006, Vienna, Austria. IEEE Computer Society, 2006, pp. 211-216. isbn: 0-7695-2466-4.

Harry Chen. An Intelligent Broker Architecture for Pervasive Context-Aware Systems. PhD thesis. University of Maryland, Baltimore Count, Dec. 2004. url: http://ebiquity.umbc.edu/get/a/publication/152.pdf.

Michael Wagner – Context as a Service

4. März 2013

68

Page 69: Context as a service

Referenzen III

Michael Wagner – Context as a Service

Harry Chen, Tim Finin, and Anupam Joshi. A Context Broker for Building Smart Meeting Rooms. In: AAAI 2004 Spring Symposium on Knowledge Representation and Ontology for Autonomous Systems. Draft. Stanford, 2004. url: http://www.aaai.org/Papers/Symposia/Spring/2004/SS-04-04/SS04-04-008.pdf.

Harry Chen, Tim Finin, and Anupam Joshi. An Ontology for Context-Aware Pervasive Computing Environments. In: The Knowledge Engineering Review 18.03 (2003), pp. 197-207. doi: DOI:10.1017/S0269888904000025. eprint: http://journals.cambridge.org/article_S0269888904000025. url: http://dx.doi.org/10.1017/S0269888904000025.

Harry Chen, Timothy W. Finin, and Anupam Joshi. Using OWL in a Pervasive Computing Broker. In: Proceedings of the Workshop on Ontologies in Agent Systems (OAS 2003), Melbourne, Australia, July 15, 2003. Ed. by Stephen Craneeld, Timothy W. Finin, Valentina A. M. Tamma, and Steven Willmott. Vol. 73. CEUR Workshop Proceedings. CEUR-WS.org, 2003, pp. 9-16.

Denis Conan, Romain Rouvoy, and Lionel Seinturier. Scalable Processing of Context Information with COSMOS. In: Distributed Applications and Interoperable Systems, 7th IFIP WG 6.1 International Conference, DAIS 2007, Paphos, Cyprus, June 6-8, 2007, Proceedings. Ed. by Jadwiga Indulska and Kerry Raymond. Vol. 4531. LNCS. Springer, 2007, pp. 210-224. isbn: 978-3-540-72881-8.

4. März 2013

69

Page 70: Context as a service

Referenzen IV

Michael Wagner – Context as a Service

Anind K. Dey. Providing architectural support for building context-aware applications. AAI9994400. PhD thesis. Atlanta, GA, USA: Georgia Institute of Technology, 2000. isbn: 0-493-01246-X.

Anind K. Dey and Gregory D. Abowd. The Context Toolkit: Aiding the Development of Context-Aware Applications. In: Workshop on Software Engineering for Wearable and Pervasive Computing , Limerick, Ireland. June 2000. Fifth Annual IEEE International Conference on Pervasive Computing and Communications – Workshops (PerCom Workshops 2007), 19-23 March 2007, White Plains, New York, USA. IEEE Computer Society, 2007. isbn: 978-0-7695-2788-8.

Patrik Floreen, Michael Przybilski, Petteri Nurmi, Johan Koolwaaij, Anthony Tarlano, Matthias Wagner, Marko Luther, Fabien Bataille, Mathieu Boussard, Bernd Mrohs, and Sianlun Lau. Towards a Context Management Framework for MobiLife. In: IST Mobile & Wireless Communications Summit. 2005.

Matthias Gromann, Nicola Hönle, Carlos Lübbe, and Harald Weinschrott. An Abstract Processing Model for the Quality of Context Data. In: Quality of Context, First International Workshop, QuaCon 2009, Stuttgart, Germany, June 25-26, 2009. Revised Papers. Ed. by Kurt Rothermel, Dieter Fritsch, Wolfgang Blochinger, and Frank Dürr. Vol. 5786. LNCS. Springer, 2009, pp. 132-143. isbn: 978-3-642-04558-5.

Tao Gu, Hung Keng Pung, and Da Qing Zhang. A Middleware for Building Context-Aware Mobile Services. In: In Proceedings of IEEE Vehicular Technology Conference (VTC). 2004.

4. März 2013

70

Page 71: Context as a service

Referenzen V

Michael Wagner – Context as a Service

Tao Gu, Hung Keng Pung, and Daqing Zhang. A service-oriented middleware for building context-aware services. In: J. Network and Computer Applications 28.1 (2005), pp. 1-18.

Tao Gu, Xiaohang Wang, Hung Keng Pung, and Daqing Zhang. An Ontology-based Context Model in Intelligent Environments. In: Communication Networks and Distributed Systems Modeling and Simulation Conference. San Diego, California, Jan. 2004.

Thomas Hofer, Wieland Schwinger, Mario Pichler, Gerhard Leonhartsberger, Josef Altmann, and Werner Retschitzegger. Context-Awareness on Mobile Devices - the Hydrogen Approach. In: HICSS. 2003, p. 292.

Nicola Hönle, Matthias Gromann, Daniela Nicklas, and Bernhard Mitschang. Design and implementation of a domain-aware data model for pervasive context information. In: Computer Science - R&D 24.1-2 (2009), pp. 69-83.

Markus C. Huebscher and Julie A. McCann. Adaptive middleware for context-aware applications in smart-homes. In: Proceedings of the 2nd Workshop on Middleware for Pervasive and Ad-hoc Computing, Toronto, Ontario, Canada, October 18-22, 2004. Ed. by Paddy Nixon and Fabio Kon. ACM, 2004, pp. 111-116. isbn: 1-58113-951-9.

Ralf Kernchen, David Bonnefoy, Agathe Battestini, Bernd Mrohs, Matthias Wagner, and Mika Klemettinen. Context-awareness in MobiLife. In: Proc. of the 15th IST Mobile Summit. Mykonos, Greece, June 2006. url: http://www.ist-esense.org/fileadmin/images/PDF\_Other/IST\_SUMMIT\_2006/5.c\_MOBILIFE.pdf.

4. März 2013

71

Page 72: Context as a service

Referenzen VI

Michael Wagner – Context as a Service

Panu Korpipää, Jonna Häkkilä, Juha Kela, Sami Ronkainen, and Ilkka Känsälä. Utilising context ontology in mobile device application personalisation. In: Proceedings of the 3rd International Conference on Mobile and Ubiquitous Multimedia, MUM 2004, College Park, Maryland, USA, October 27-29, 2004. Ed. By David S. Doermann and Ramani Duraiswami. Vol. 83. ACM International Conference Proceeding Series. ACM, 2004, pp. 133-140. isbn: 1-58113-981-0.

Panu Korpipää, Esko-Juhani Malm, Ilkka Salminen, Tapani Rantakokko, Vesa Kyllönen, and Ilkka Känsälä. Context management for end user development of context-aware applications. In: 6th International Conference on Mobile Data Management (MDM 2005), Ayia Napa, Cyprus, May 9-13, 2005. Ed. by Panos K. Chrysanthis and George Samaras. ACM, 2005, pp. 304-308. isbn: 1-59593-041-8.

Panu Korpipää and Jani Mäntyjärvi. An Ontology for Mobile Device Sensor-Based Context Awareness. In: Modeling and Using Context, 4th International and Interdisciplinary Conference, CONTEXT 2003, Stanford, CA, USA, June 23-25, 2003, Proceedings. Ed. by Patrick Blackburn, Chiara Ghidini, Roy M. Turner, and Fausto Giunchiglia. Vol. 2680. LNCS. Springer, 2003, pp. 451-458. isbn: 3-540-40380-9.

P. Korpipää, J. Mäntyjärvi, J. Kela, H. Keränen, and E. J. Malm. Managing context information in mobile devices. In: Pervasive Computing, IEEE 2.3 (2003), pp. 42-51. doi: 10.1109/MPRV.2003.1228526. url: http://dx.doi.org/10.1109/MPRV.2003.1228526.

4. März 2013

72

Page 73: Context as a service

Referenzen VII

Michael Wagner – Context as a Service

Michael Krause and Iris Hochstatter. Challenges in Modelling and Using Quality of Context (QoC). In: Mobility Aware Technologies and Applications, Second International Workshop, MATA 2005, Montreal,Canada, October 17-19, 2005, Proceedings. Ed. by Thomas Magedanz, Ahmed Karmouch, Samuel Pierre, and Iakovos S. Venieris. Vol. 3744. LNCS. Springer, 2005, pp. 324-333. isbn: 3-540-29410-4.

Ralph Lange, Nazario Cipriani, Lars Geiger, Matthias Gromann, Harald Weinschrott, Andreas Brodt, Matthias Wieland, Stamatia Rizou, and Kurt Rothermel. Making the World Wide Space Happen: New Challenges for the Nexus Context Platform. In: Seventh Annual IEEE International Conference on Pervasive Computing and Communications, PerCom 2009, 9-13 March 2009, Galveston, TX, USA. IEEE Computer Society, 2009, pp. 1-4. isbn: 978-1-4244-3304-9.

Atif Manzoor, Hong Linh Truong, and Schahram Dustdar. On the Evaluation of Quality of Context. In: Smart Sensing and Context, Third European Conference, EuroSSC 2008, Zurich, Switzerland, October 29-31, 2008. Proceedings. Ed. by Daniel Roggen, Clemens Lombriser, Gerhard Tröster, Gerd Kortuem, and Paul J. M. Havinga. Vol. 5279. LNCS. Springer, 2008, pp. 140-153. isbn: 978-3-540-88792-8.

Atif Manzoor, Hong Linh Truong, and Schahram Dustdar. Using Quality of Context to Resolve Conflicts in Context-Aware Systems. In: Quality of Context, First International Workshop, QuaCon 2009, Stuttgart, Germany, June 25-26, 2009. Revised Papers. Ed. by Kurt Rothermel, Dieter Fritsch, Wolfgang Blochinger, and Frank Dürr. Vol. 5786. LNCS. Springer, 2009, pp. 144-155. isbn: 978-3-642-04558-5.

4. März 2013

73

Page 74: Context as a service

Referenzen VIII

Michael Wagner – Context as a Service

Atif Manzoor, Hong-Linh Truong, and Schahram Dustdar. Quality of Context: Models and Applications for Context-aware Systems in Pervasive Environments. In: The Knowledge Engineering Review Special Issue on Web and Mobile Information Services (2010).

Daniela Nicklas and Bernhard Mitschang. On building location aware applications using an open platform based on the NEXUS Augmented World Model. In: Software and System Modeling 3.4 (2004), pp. 303-313.

Nearchos Paspallis. Middleware-based development of context-aware applications with reusable components. PhD thesis. Nicosia, Cyprus: Department of Computer Science, University of Cyprus, 2009. url: http://www.cs.ucy.ac.cy/~paspalli/phd/index.html.

Anand Ranganathan and Roy H. Campbell. A Middleware for Context-Aware Agents in Ubiquitous Computing Environments. In: Middleware 2003, ACM/IFIP/USENIX International Middleware Conference, Rio de Janeiro, Brazil, June 16-20, 2003, Proceedings. Ed. by Markus Endler and Douglas C. Schmidt. Vol. 2672. LNCS. Springer, 2003, pp. 143-161. isbn: 3-540-40317-5.

Anand Ranganathan, Jalal Al-Muhtadi, and Roy H. Campbell. Reasoning about Uncertain Contexts in Pervasive Computing Environments. In: IEEE Pervasive Computing 3.2 (2004), pp. 62-70.

Roland Reichle. Information Exchange and Fusion in Dynamic and Heterogeneous Distributed Environments. PhD thesis. Kassel, Germany: University of Kassel, Fachbereich 16: Elektrotechnik/Informatik, Distributed Systems Group, July 2010. url: http://nbn-resolving.de/urn:nbn:de:hebis:34-2010121035166.

4. März 2013

74

Page 75: Context as a service

Referenzen IX

Michael Wagner – Context as a Service

Manuel Roman, Christopher Hess, Renato Cerqueira, Roy H. Campbell, and Klara Nahrstedt. Gaia: A Middleware Infrastructure to Enable Active Spaces. In: IEEE Pervasive Computing 1 (2002), pp. 74-83.

Kurt Rothermel, Dieter Fritsch, Wolfgang Blochinger, and Frank Dürr, eds. Quality of Context, First International Workshop, QuaCon 2009, Stuttgart, Germany, June 25-26, 2009. Revised Papers. Vol. 5786. LNCS. Springer, 2009. isbn: 978-3-642-04558-5.

Kurt Rothermel et al. SFB 627 - Umgebungsmodelle für mobile kontextbezogene Systeme. In: Inform., Forsch. Entwickl. 21.1-2 (2006), pp. 105-113.

Romain Rouvoy, Denis Conan, and Lionel Seinturier. Software Architecture Patterns for a Context-Processing Middleware Framework. In: IEEE Distributed Systems Online 9.6 (2008).

Nirmalya Roy, Sajal K. Das, and Christine Julien. Resource-Optimized Quality-Assured Ambiguous Context Mediation Framework in Pervasive Environments. In: IEEE Trans. Mob. Comput. 11.2 (2012), pp. 218-229.

Nirmalya Roy, Tao Gu, and Sajal K. Das. Supporting pervasive computing applications with active context fusion and semantic context delivery. In: Pervasive and Mobile Computing 6.1 (2010), pp. 21-42.

Daniel Salber, Anind K. Dey, and Gregory D. Abowd. The Context Toolkit: Aiding the Development of Context-Enabled Applications. In: Proceeding of the CHI '99 Conference on Human Factors in Computing Systems: The CHI is the Limit, Pittsburgh, PA, USA, May 15-20, 1999. Ed. by Marian G. Williams and Mark W. Altom. ACM, 1999, pp. 434-441. isbn: 0-201-48559-1.

4. März 2013

75

Page 76: Context as a service

Referenzen X

Michael Wagner – Context as a Service

Kamran Sheikh, Maarten Wegdam, and Marten van Sinderen. Middleware Support for Quality of Context in Pervasive Context-Aware Systems. In: Fifth Annual IEEE International Conference on Pervasive Computing and Communications - Workshops (PerCom Workshops 2007), 19-23 March 2007, White Plains, New York, USA. IEEE Computer Society, 2007, pp. 461-466. isbn: 978-0-7695-2788-8.

Kamran Sheikh, Maarten Wegdam, and Marten van Sinderen. Quality-of-Context and its use for Protecting Privacy in Context Aware Systems. In: JSW 3.3 (2008), pp. 83-93.

M.J. van Sinderen, A.T. van Halteren, M. Wegdam, H.B. Meeuwissen, and E.H. Eertink. Supporting context-aware mobile applications: an infrastructure approach. In: Communications Magazine, IEEE 44.9 (Sept. 2006), pp. 96-104. issn: 0163-6804. doi: 10.1109/MCOM.2006.1705985.

Thomas Strang, Claudia Linnho-Popien, and Korbinian Frank. CoOL: A Context Ontology Language to Enable Contextual Interoperability. In: Distributed Applications and Interoperable Systems, 4th IFIP WG6.1 International Conference, DAIS 2003, Paris, France, November 17-21, 2003, Proceedings. Ed. By Jean-Bernard Stefani, Isabelle M. Demeure, and Daniel Hagimont. Vol. 2893. LNCS. Springer, 2003, pp. 236-247. isbn: 3-540-20529-2.

4. März 2013

76

Page 77: Context as a service

Referenzen XI

Michael Wagner – Context as a Service

Yi Wang, Jialiu Lin, Murali Annavaram, Quinn Jacobson, Jason I. Hong, Bhaskar Krishnamachari, and Norman M. Sadeh. A framework of energy ecient mobile sensing for automatic user state recognition. In: Proceedings of the 7th International Conference on Mobile Systems, Applications, and Services (MobiSys 2009), Krakow, Poland, June 22-25, 2009. Ed. by Krzysztof Zielinski, Adam Wolisz, Jason Flinn, and Anthony LaMarca. ACM, 2009, pp. 179-192. isbn: 978-1-60558-566-6.

Mark Weiser. The Computer for the 21st Century. In: Scientic American Communications, Computers, and Network (Sept. 1991). url: http://www.ics.uci.edu/~dutt/ics212-wq05/weiser-sci-am-sep-91.pdf.

4. März 2013

77