• No results found

How To Make A System Context Aware

N/A
N/A
Protected

Academic year: 2021

Share "How To Make A System Context Aware"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

Trends in Mobile Computing –

From Mobile Phone to

Context-Aware Service Platform

Thomas Strang

German Aerospace Center (DLR)

Oberpfaffenhofen, Germany

(2)

Outlook:

Motivation

Implications of Mobility

From Mobile Phone to Service Platform

Autonomy

Service Discovery and Execution

Context Awareness

Contextual Interoperability

Context Ontology

(3)
(4)

Mobile Devices!

multiple inhomogenious networks

short range: IrDA, Bluetooth, Wireless LAN wide area: (HS)CSD, GPRS, UMTS

often also no network / weak connectivity

resource limited (RLD)

battery power

processing power (performance) memory (volatile and non-volatile)

programmable, also by third parties

WML script

(5)

Types of Mobility and its Implications

What is different?

M

o

b

ili

ty

user interaction model

User Mobility

smaller, battery-driven devices multiple inhomogeneous networks often no network

position becomes parameter

Device Mobility

issues in data distribution

Session Mobility

Service Mobility

(Code Mobility)

distributed lifecycle management security is strong issue

(6)

What is Context (1/2) ?

Definition of

Context Information

“A context information is any information which can be used to characterize the state of an entity concerning a specific aspect”

“An entity is a person a place or in general an object”

“An aspect is a classification, symbol or value-range, whose subsets are a superset of all reachable states”

Example:

Entity: Telephone Aspect: Call State

{ { on-hook & idle }, { on-hook & ringing }, { off-hook } }

Context Information: specific state

CI( entity=+4917912345,

aspect=callState ) =

(7)

What is Context (2/2) ?

Definition of

Context

“A context is the set of all context information characterizing the entities relevant for a specific task in their relevant aspects”

“An entity is relevant for a specific task, if its state is characterized at least concerning one relevant aspect”

“An aspect is relevant, if the state with respect to this aspect is

accessed during a specific task or the state has any kind of influence on the task”

Example:

Task: traveller reaching plane using public transport

Relevant Entities • traveller

• carrier (taxi, train, bus...) • infrastructure (roads...) • plane to reach

Context: all CI of relevant aspects

Æ willingness to spend money

Æ duration/delay, cost

Æ delay

(8)

Context Awareness

Definition of

Context Awareness

:

“A system is context aware if it uses any kind of context information before or during service provisioning or service usage”

Location Awareness

is special issue of Context Awareness

(but by far not the only one!)

Two main benefits from Context Awareness:

Adaptation of services to changes in environment reduces amount of interaction with user

(9)

A service is...

The

concept of services

as approach for

solving complex tasks

in a

collaborative manner.

A service is a namable entity which is responsible for providing

information or performing actions with specific characteristics.

A service w.r.t. this definition may be a

carrier service

, but is

not

restricted to be such.

Services are

independently deployable

and need a

framework

for

(10)

Browser Approach vs. Service Platform Approach

WAP+WML/XHTML

requires online connection limitied scripting possible no storage, just caching one network

just UI

Java

works even offline (autonomy) high variety by programming file system, prefetching

multiple networks (cost metrics) multi-party programming

(enabled by late binding) adaptivity to environment (context awareness)

(11)

Mobile Service Platform based on MIDP

Remarkable specials (compared to other Java versions):

VM: no float, no double, preverification required “closed” late binding -> “weak” mobile code

HTTP is the only mandatory network protocol -> no sockets, no RMI No custom classloades, no reflection, no object serialization

(12)

“Three Columns” of Architecture

Search Interf ace IMSP Manager IMSP IMSP IMSP Inv ocation Interf ace Register Interf ace Code Snippet DB Context aware of f er f ilter Registrations Context aware

serv ice matcher

Mobile Application Suite

AMSR

Serv ice Module Serv ice Module Serv ice Module Data

Sensor Processing

Autonomy through device local

Service Registry

Context-aware Service Discovery

Context-aware Service Execution Servise Mgt Application Network Adaptation Local Service Implementations Execution Handler Discovery Handler Service Registry

Signature Interop Specification Software Interface Signature List of Addressable Instances (URLs)

Protocol Interop Specification(optional)

Semantic Interop Specification(optional)

Context Interop Sprecification

Context Information Value Ranges(optional)

Dependency Declarations(optional)

Cost Indications(optional)

[Code Snippets](optional)

Service Offer

(13)

Local Service Registry

Network Adaptation Service Registry Local Service Implementations Discovery Handler Execution Handler

Service Mgt Application It is essential being able to

handle weak connections

and periods of no

connection

Without network

connectivity, facilities for

ƒ Service disposition

ƒ Service discovery & execution

ƒ Service interaction interface (eg. UI)

are required to run on the mobile device!

Low End Service Platform Implem. based on CLDC / MIDP

Java based service mgt. application including Service Registry leaning towards Web Services based on XML & HTTP

(14)

Context-aware Service Discovery

Hierarchical organized service discovery, starting at mobile

Signature Interop Specification Software Interface Signature

List of Addressable Instances (URLs)

Protocol Interop Specification (optional)

Semantic Interop Specification (optional)

Context Interop Sprecification

Context Information Value Ranges (optional)

Dependency Declarations (optional)

Cost Indications (optional)

[Code Snippets] (optional)

Service Offer

capacity limits + communication costs

of mobile device

is big

issue

WSDL Context extension WSCI DAML+S

(15)

Distributed Mediator Operation:

spread & join

Abstract

Service Invocation

using multiple links cost mgt neccessary CoS feedback CI feed IMSP < spread > IMSP < join >

Service Implementation Service Implementation Abstract Service

Invocation SmartResult

Makes

service execution context aware

Advantages

: Multiple Result Merging/Selecting;

Cascading; Update/Revocation

(16)

Ubiquitous Computing: Three main facets

context

awareness

smart

devices

ad-hoc

networking

Network Situation particularly from mobility: location information good context sensors

benefit much from context awareness due

to typically limited

resources, display and

(17)

Interoperability Levels

Platform Interoperability (RPC)

Programming Language Interoperability (IDL) Service Interoperability Signature Level Protocol Level Semantic Level Service Interoperability Signature Level Protocol Level Semantic Level Context Level

Own

context level

eases

separation of services

which are

interoperable on classic levels, but not on context level (and

vice versa)

Example: electronic public transport timetable service

context is

not covered very well

in classic levels

(18)

Interoperability in Middleware

Middleware Task:

Interoperability Evaluation during Service Discovery

service search (feed)

service selection (feed back)

Interoperability Evaluation during Service Execution

lifecycle monitoring and management

service A service B service client substitutable by compatib le with compatible w ith

(19)

MNM Service Model: Service View

service provider domain customer domain

implements realizes observes realizes implements supplies accesses uses service client supplies uses concludes substantiates concludes usage

functionality parametersQoS managementfunctionality service access point service CSM client customer«role» user «role» provides

service implementation manages

directs

«role»

service provider

service management implementation service agreement Sou rc e: Ga rschha mme r, M., Hauck , R ., H eger ing , H .-G ., Ke mp te r, B., Rad is ic , I., Rölle, H. , S chmidt, H., A Case -D riven Me thod ol ogy for App ly ing the MN M Se rv ice Mode l , In Stad le r, R., U le m a, M., ed ito rs , Pro ceedings o f the 8t h In te rnational IF IP/IEEE Ne two rk Ope rations and Ma nage ment Sympos iu m ( N OMS 2002) , pp. 697-710, IEEE Pub lish ing , IF IP/IEEE, F lo rence, Ita ly, Ap ril, 2002. CSM access point

(20)

protocol level

semantic level signature level context level

context level signature level semantic level

context level

protocol level signature level

service provider domain customer domain

uses manages

implements realizes observes realizes implements supplies accesses uses service client supplies accesses uses concludes substantiates concludes usage

functionality managementfunctionality

vid e r do main context uses CM access point uses accesses implem en ts provid es context inf orma tion manage s dire cts context m gt im plementation « rol e » co nt ext provid er awareness supplies accesses re ali ze s service access point service CSM client customer«role» CM client user «role» CSM access point provides

service implementation manages

directs

service management implementation service

agreement

QoS parameters

Interoperability in Extended MNM S-Model

Context Ontology

Language

(21)

Design of Context Ontology Language (CoOL)

XML & XML schema based

probably based also on RDF

used to model

aspects defining valid context information relevance conditions

actors and dependencies

enables dynamic (at runtime) multi-party service interoperability

checks at new context level

CoOL is employed during service discovery and execution to negotiate

and monitor context to enable context awareness of middleware and services

Middleware uses CoOL statements to link distributed

object-associated context information with context un-aware objects and

(22)

Open issues: Current Investigations on CoOL

Pure XML schema vs. RDF / RDF Schema

complexity of RDF/RDFS vs. resource limited devices some drawbacks of RDF have already been identified e.g. in [Haustein2001] [Furche2001] [Indulska2003] but significant body of work has been done with RDF

“Plugin Model” to DAML-S vs. Standalone Model

DAML-S / DAML+OIL adds additional complexity

WebOnt (OWL) vs. minimum language

OWL in very early state

(23)

Summary

Introduction to MIDP devices

Autonomous Context-Aware Services for Smart Mobile Devices

Service Discovery and Execution on the Mobile Device (through device local Service Registry as part of framework) Context Information empoyed during discovery and execution Concept using reasonable architecture elements (Web Services)

New context level of service interoperability

advantages particularly in Ubiquitous Computing Environments

Clear definitions what context is and what not

Introduction of the aspect

affiliated context awareness

Context extension of the MNM service model

Identification of interoperability requirements

Outline of Context Ontology Language (CoOL)

(24)

Thank You!

Any Questions?

Dipl.-Inform. Thomas Strang

mailto:[email protected] http://www.dlr.de/kn/kn-s/strang German Aerospace Center (DLR) Site Oberpfaffenhofen

Institute of Communications and Navigation (KN-S) PO Box 1116 82230 Wessling-Oberpfaffenhofen Tel: +49-8153-28-1354 Fax: +49-8153-28-1871 The Project

References

Related documents

The purpose of this multiple case study was to explore the strategies used by small business manufacturing leaders in Lagos, Nigeria to sustain their businesses, using general

The main findings of the paper are: first, international knowledge spillover is an important driver of industry output per worker, and the magnitude of this spillover

This document is Deliverable 5 of the project on “The Future of European Long-Distance Transport'. It contains the report on the scenario process carried out in Phase II of

In mouse taste buds, GLP-1 was found to be expressed in a subset of T1R3-expressing cells, which may be sweet and/or umami taste receptor cells, and a subset of 5-HT expressing

In the near future, Asian countries will need to develop sufficient numbers of pharmacy faculty, especially practice faculty, along with sufficient practice model sites to

Keywords: site, genius loci, intuition, place, place theory, education, site, unconventional analysis, site analysis, perception, filter, dowsing, feng shui, geomancy,

In general however, cattail, common reed (Phragmites) and canary grass produced greater biomass in both gravel and water-based systems as compared to the other

The chance to report an orphaned or injured bear; the knowledge that their individual concern will result in that bear receiving humane and appropriate care; and that because of