13
A Set of Languages for Context-Aware Adaptation Giuseppe Ghiani, Fabio Paternò, Carmen Santoro, Lucio Davide Spano {giuseppe.ghiani, fabio.paterno, carmen.santoro, lucio.davide.spano}@isti.cnr.it CNR-ISTI, HIIS Laboratory, Via G. Moruzzi 1 56124 Pisa, Italy

Giuseppe Ghiani, Fabio Paternò, Carmen Santoro, Lucio Davide Spano {giuseppe.ghiani, fabio.paterno, carmen.santoro, lucio.davide.spano}@isti.cnr.it CNR-ISTI,

Embed Size (px)

Citation preview

A Set of Languages for Context-Aware Adaptation

Giuseppe Ghiani, Fabio Paternò, Carmen Santoro, Lucio Davide Spano

{giuseppe.ghiani, fabio.paterno, carmen.santoro, lucio.davide.spano}@isti.cnr.it

CNR-ISTI, HIIS Laboratory, Via G. Moruzzi 156124 Pisa, Italy

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

Adaptation of SFESystematic approach for the adaptation

problem

TasksSense the contextReason about the sensed data for identifying

the situationSelect the most appropriate actionsExecute them

Very different aspects to be considered

Adaptation architecture

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

Architecture Components

UIDefinition

Rules

RuleInterpreter

ContextManager

Platform 1Adapter

Platform 1Generator

Platform 1SFE

Platform 2Adapter

Platform 2Generator

Platform 2SFE

Platform nAdapter

Platform nGenerator

Platform nSFE

EntityDescription

CD

CD

CD

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

Design Time

UIDefinition

Rules

RuleInterpreter

ContextManager

Platform 1Adapter

Platform 1Generator

Platform 1SFE

Platform 2Adapter

Platform 2Generator

Platform 2SFE

Platform nAdapter

Platform nGenerator

Platform nSFE

EntityDescription

CD

CD

CD

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

Run Time

UIDefinition

Rules

RuleInterpreter

ContextManager

Platform 1Adapter

Platform 1Generator

Platform 1SFE

Platform 2Adapter

Platform 2Generator

Platform 2SFE

Platform nAdapter

Platform nGenerator

Platform nSFE

EntityDescription

CD

CD

CD

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

ASFE-DL Abstract UI

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

ASFE-DL Concrete Desktop UI

Concrete Interactors: Edit

Concrete Interactors: Only Output

Concrete Relations

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

AAL-DL

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

Context Management LanguageContext to be sensed in real time

Different Context Delegates provide data

Context Manager collects data from different delegates

Different operations Insert a context entity Query an entity Query all entities Update an entity Delete an entity Reset an entity Subscribe for an entity update

Lucio Davide SpanoA Set of Languages for Context-Aware Adaptation

ConclusionAdaptation Architecture

Different modules for managing different aspects

Design Time Initial Application Configuration

Rule Language Definition of the adaptation logic

Context Management Language Different implementations of sensing delegate

Different shared managers for Context sensing Adaptation decisions