• Keine Ergebnisse gefunden

Being Aware of the Context means..

N/A
N/A
Protected

Academic year: 2021

Aktie "Being Aware of the Context means.."

Copied!
16
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Contextual Adaptation

Doctoral Seminar Ubiquitous Information

ETH Zürich, WS 01/02

Andrei Popovici

(2)

Being Aware of the Context means..

• <ProG> to react to changes in the environment

• <ProG> and adapt the application behavior accordingly

• <ConG> But what is the environment?

• <ConG> ..and what is the application?

– maybe the application component (e.g., Netscape)?

– or maybe the application and the operating system?

– what happens in case of a distributed system?

<ProG>

<ProG>

"

<ConG>

"

<ConG>

(3)

Context Awareness Fact Sheet

Vague,

Everybody understands

something slightly different under Ctx Awareness.

Problems

Human-Computer Interaction ’80s

Origins and Idea

When computers became mobile

It became a Buzzword

Bill Schilit ’94 [SAW94]

Term of Context

Awareness

(4)

Outline

• Context awareness overview

• Adaptation in context awareness

• Application-aware adaptation

– Idea

– Techniques

• Run-time extension of services

– Application aware networks

– Application aware Jini networks

(5)

Application and Environment

App. A

OS

network data other

devices

App. A

User profile User feelings State of mind

ligh

ting

no ise

ps ee d

Computing Costs

Nearby Resources Network Connectivity

Othe r Ap

plic atio

ns

Awareness Adaptation App. Aware Nets

(6)

Sensing

Os

Modelling Adapting

low level data Typed & structured data

Technology Example Goals

•Passive

•Active

–Obvious (ifs) –Cooperative

•Algorithms

•Sound Modeling

•Good SE

•Low-level

•Hardware:rf/ir,other

•Software:profiling/OS

•Everybody

•CMU

–CODA –Odyssey

•Location

–Symbolic –Geometric

•Context Toolkit

•Bandwidth

•Location

–Indoor

–Outdoor ( gps)

•Exotica

•Old: ctx

transparency

•New: ctx sensitiveness

•Better

Abstractions

•Tool support

•Larger set of inputs

•Accurate data

# No killer application[ChKo00]

Awareness Adaptation App. Aware

Nets

(7)

Adaptation

• Passive adaptation: display something

• Active adaptation: change behavior

– <Con>: change behavior of WHOM?

• Classification (Satya)

Application core

Laisser faire

S C

Application-aware adaptation (cooperative, OS support)

OS

Application transparent

Ctx. Awareness Adaptation App. Aware Nets

(8)

Application-aware adaptation

• Application contains a piece of OS

functionality

• The OS receives Client/App specific features

A

Suitability with respect to mobility:

– Laisser faire: what could be foreseen by developers

– Application-aware: leads to real context-specific behavior

#Extensible applications:

container technology/run-time environments

Suitability with respect to mobility:

– Laisser faire: what could be foreseen by developers

– Application-aware: leads to real context-specific behavior

#Extensible applications:

container technology/run-time environments

Ctx. Awareness Adaptation App. Aware Nets

(9)

Run-time environments -container technology-

m m m

1

2

3

m m m

1

2

3

Security

Billing DB

before deployment

After deployment

Changes range from generic to application-specific:

–e.g., EJB like (security, transactions, persistence) –e.g., organization-specific billing

!!!Container-technology unfit for mobility!!!

# Make container technology fit for mobile nodes

Ctx. Awareness Adaptation App. Aware Nets

(10)

Application-aware nets

Core

functionality

• Defines enhancements for a whole community of nodes/applications of the same domain

• Inserts functionality as applications join the community

• Withdraws functionality when applications leave the community

# Platform for run-time Adaptation: PROSE

Powerful adaptation of container technology plus network awareness¹ of spontaneous networks.

Powerful adaptation of container technology plus network awareness¹ of spontaneous networks.

usage

discovery

Ctx. Awareness Adaptation App. Aware Nets

1. Network awareness in spontaneous nets # passive context awareness

(11)

PROSE

JVMAI

register/

unregister join-points

Weaver

(Extension Mgr)

advices

notify join points

JVMDI or JIT

insert/weave withdraw

The JVM

application

Add action a at the beginning of

(methods matching “.*foo.+” ) and

((defined in classes that extend Remote) or (defined in class “Bar.*” )

Add action a at the beginning of

(methods matching “.*foo.+” ) and

((defined in classes that extend Remote) or (defined in class “Bar.*” )

PROSE allows dynamic extensions of services Generic extensions (AOP idea):

Ctx. Awareness Adaptation App. Aware Nets

(12)

12/16

Application-aware JINI network

Weaver m m

LUS

Ext. Base

c

join(1) discover(2) usage(3)

Service S

LUS

Ctx. Awareness Adaptation App. Aware Nets

(13)

Application-aware network issues

• Security:

– Extensions must be signed – Trust relationships

• Transient functionality

– Added components are leased. When a node leaves a network, the leases expires and the added components are discarded.

• Performance

– Adaptation must be fast, the added functionality must be executed without a major overhead.

Ctx. Awareness Adaptation App. Aware Nets

(14)

Demo 1

Client

Client1: question Client2: answer

Host 1

Client Host 2

Ctx. Awareness Adaptation App. Aware Nets

(15)

Demo 2

• A Jini/mindstorms environment:

– remote controlled device as a Jini service

• Record what commands were issued, at what point in time, by whom

– replay parts of the history – query the past

– perform inverse operations

Ctx. Awareness Adaptation App. Aware Nets

(16)

Some References

W94 B. Schilit, N. Adams, R. Want; Context-Aware Computing applications

NSN97 M. Satyanarayanan et.al; Agile application aware adaption for mobility

WSA96 R.Want, B. Schilit,…; The ParcTab Ubiquitous computing experiment

SBG98 A.Schmidt, M.Beigl,..; There is more to context than location

ChKo00 G.Chen, D.Kotz: A suvery of Context-Aware Mobile Computing Research

Referenzen

ÄHNLICHE DOKUMENTE

Finally, the failure to recognize the temporal order of stored information (Experiment 3) clearly differentiated between spontaneous confabulators and other amnesic subjects but had

Following comprehensive reforms of the science and technology system (S&amp;T) in China and strategic changes in the global TNC organisation, public institutions are more likely

Die emotionale Verwobenheit im Feld, so mein Argument, muss dabei nicht einen negativen Einfluss auf die Wissenschaftlichkeit von Forschungen haben – im Gegenteil: Wer durch

Visitors (Visualization and Exploration of Multiple Time- Oriented Records) is an abstracted semantics intrusion detection visualization and monitoring program that uses

To understand guard cell physiology and the role of ABA in the plant response to low air humidity, defined as the Vapor Pressure Deficit (VPD) between plants and the atmosphere,

Recognizing  the  fundamental  importance  of  S&amp;T  advice  for  our  globally‐interconnected  civilization,

ConnectinGEO (Coordinating an Observation Network of Networks EnCompassing saTellite and IN-situ to fill the Gaps in European Observations” is an H2020 Coordination and Support

Textiles, Textile Products, Leather, and Footwear Pulp, Paper, Paper Products, Printing, and Publishing Wood and Products of Wood and Cork.. Chemicals Excluding