context aware pervasive

57
Context-Aware Pervasive Computing S. Neelavathy Pari Assistant Professor MIT CAMPUS, Anna University

Upload: mansoor-ahamed

Post on 21-Apr-2015

65 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Context Aware Pervasive

Context-Aware Pervasive Computing

S. Neelavathy PariAssistant Professor

MIT CAMPUS, Anna University

Page 2: Context Aware Pervasive

• What is context?– Context of a person, software agents, things,

situated ,devices, etc– Context: location, time, etc… -> information that

can be used to recognize a situation• Related concept: the situation• What is a context-aware pervasive

computingsystem?A system that can respond intelligently to contextual information about the physical world acquired via sensors and information about the computational environment.

Page 3: Context Aware Pervasive

Context-Aware PervasiveComputing Applications

• Context-Aware Services• Context-Aware Devices/Appliances/Artifacts• Context-Aware Information Retrieval• Context-Aware Security• Context-Aware Messaging• Context-Aware Environments (rooms, etc)• ….• Basic Context-Aware system:• Sensing + Reasoning + Acting

Page 4: Context Aware Pervasive

• What are they? • Systems with the capability to sense

what is happening or changing in their environment, think and take appropriate actions to adapt to the changes.

• Why?To reduce the burden of excessive user involvement and providing proactive intelligent assistance.To realize the era of smart devices and smart environment.

Page 5: Context Aware Pervasive

When? Who?• Work on ubiquitous computing began at Xerox Palo Alto Research

Center or PARC in 1987.

• Bob Sprague, Richard Bruce, and others proposed developing wall-sized displays.

• Mark Weiser coined the phrase "ubiquitous computing" around 1988.

• The concept of pervasive computing emerged out of ubiquitous computing research at Xerox PARC and elsewhere in the early 1990s.

• The term 'context-aware' was first used by Schilit and Theimer in their 1994 paper….

Page 6: Context Aware Pervasive

On going research• Xerox's Palo Alto Research Center (PARC), for example, has been

working on pervasive computing applications since the 1980s. • IBM's project Planet Blue, for example, is largely focused on

finding ways to integrate existing technologies with a wireless infrastructure.

• Carnegie Mellon University's Human Computer Interaction Institute (HCII) is working on similar research in their Project Aura, whose stated goal is "to provide each user with an invisible halo of computing and information services that

persists regardless of location." • The Massachusetts Institute of Technology (MIT) has a project

called Oxygen. MIT named their project after that substance because they envision a future of ubiquitous computing devices as freely available and easily accessible as oxygen is today.

Page 7: Context Aware Pervasive

Principles and Functionality

• According to [R2], a context-aware pervasive system can be viewed as having three basic functionalities: – Sensing– Thinking (metaphorically)– Acting

ThinkingSensing Acting

Page 8: Context Aware Pervasive

Sensing (Context Acquisition)

• Physical sensors• Virtual sensors• Logical sensors Sensor

Sensor Fusiona more comprehensive view

of the physical world

Sensor 1 Sensor 2 Sensor 3

Sensor 4Context values from sensor 1

Context values from sensor 3

Combination of all the observations i.e. sensor1 + sensor2 + sensors3 + sensor4

Page 9: Context Aware Pervasive

Thinking

ThinkingSensing Acting

Utilization of the data obtained

Making sense to obtain knowledge

Such knowledge together with other (perhaps built-in) knowledge can then be used to infer further knowledge

about the context

Page 10: Context Aware Pervasive

Acting

ActingThinkingSensing

Context information has been gathered, situations recognized, now it is time to take action.Action to be taken are application specific, and the action itself might be to perform further sensing.

Considerations to be taken:Performance - action should be performed in timeControl - the user should be able to retain control

Page 11: Context Aware Pervasive

Architecture

• Design considerations for building context-aware systems relate to the previously mentioned three phases of sensing, thinking, and acting.

• The method of context-data acquisition is very important when designing context-aware systems because it predefines the architectural style of the system at least to some extent.

Page 12: Context Aware Pervasive

Methods of context-data Acquisition

• Direct sensor access – Used in devices with sensors locally built in. – The client software gathers the desired information directly from

these sensors. – It is not suited for distributed systems

• Middleware infrastructure – Introduces a layered architecture with the intention of hiding low-

level sensing details

• Context server – Gathering sensor data is moved to the context server to facilitate

concurrent multiple access. Matthias Baldauf; A survey on context-aware systems. Int. J. Ad Hoc and

Ubiquitous Computing, Vol. 2, No. 4, 2007

Page 13: Context Aware Pervasive

Middleware Infrastructure based architecture

Raw Data Retrieval

Sensors

Application

Storage/Management

Preprocessing

Acting

Thinking

Sensing

Page 14: Context Aware Pervasive

Scaling up Context-Aware Computing

• How to live efficiently and effectively in increasingly complex, dense, dynamic, inhabited environments, i.e. places?

– Hypothesis: Place Knowledge Bases can help...

Page 15: Context Aware Pervasive

• How to enhance the physical world with digital informationthat adds value and meaning to our lives?

-Hypothesis: Physical annotation systems can help...

Page 16: Context Aware Pervasive

• How to interact with the ever increasing complexity of collections of devices and ubiquitous services?

-Hypothesis: Task-oriented abstraction can help...

Page 17: Context Aware Pervasive

• Smart Places: Place as Context, Context-Aware Mobile Applications for a Place

(with Anh-Tuan Nguyen, Seng Loke, Torab Torabi, Hongen Lu)• Place? meaningful location/space... varying granularities• What can we do if we have detailed knowledge about places?• What knowledge about a place should we have? (static, dynamic/• real-time, historical, etc) Outline:• Place-Based Virtual Communities• The scenario• System Architecture• The PlaceAware Ontology

Page 18: Context Aware Pervasive

Place-Based Virtual Communities Place-Based Community wherecommunications happen at a place and aremediated by computers

Community is supported by place-specificdigital services

Environment awareness is supported bysensing devices

Ontology-based shared knowledge about aplace: people (and their relationships),places, objects (and their relationships),etc... history (who was here?), movements,etc... ( a place knowledge base )Smart

Page 19: Context Aware Pervasive

Scenarios

• Friend Finder: by executing SPARQL• query to the place knowledge base• What happened there/here?• What is happening there/here?• Who were there/here?

Page 20: Context Aware Pervasive

System ArchitectureThe system usesJADE/LEAP tosupport agents onmobile devices

On stand alonemode: using JSR-82for Bluetooth API

Protégé, Jena,Sesame API is usedfor SPARQL queries

Page 21: Context Aware Pervasive

A snapshot of the PBVC Ontology in atool called PlaceAware

Page 22: Context Aware Pervasive

PlaceAware software

Page 23: Context Aware Pervasive

Finding people

Page 24: Context Aware Pervasive

Finding Things (Devices, etc)es

• When friends’ devicesappear, their names andid is listed.• If we choose the listing all mode, not only friends’ devices, butalso other devices can be detected.

Page 25: Context Aware Pervasive

Location-Based Social Networking

Page 26: Context Aware Pervasive
Page 27: Context Aware Pervasive
Page 28: Context Aware Pervasive
Page 29: Context Aware Pervasive

Annotating the Physical World

• Associate context with notes• “Markup” for the physical world• Associate things with notes• Associate people with notes• Associate space (and points in physical space)

with notes

Page 30: Context Aware Pervasive

Indoor annotation

Page 31: Context Aware Pervasive

Outdoor annotation

Page 32: Context Aware Pervasive

Associating Annotations withThings/Objects & Space

• Single object• Collections of objects• Single point in physical space• Collections of points in physical space:

• e.g.,

− a line− an area (define by a line joining a collection of

points)

Page 33: Context Aware Pervasive

Annotating physical world

Page 34: Context Aware Pervasive

Software system to• Allow users to leave annotations/notes, to“attach” a note to a thing, a collection of things,

a point in space, a collection of points in space (or its semantic equivalent, i.e., a building, a field, etc) in the right context...

Allows users to retrieve annotations/notes inthe right context...(where Context = Time x ObjectID/LocationID x UserID x NearbyObjects

x ...)• Contexts x Things ---------------- Contexts x Point-in-Space• Annotations/notes ---------------- Annotations/notes

Page 35: Context Aware Pervasive

Things can get Complex

Page 36: Context Aware Pervasive
Page 37: Context Aware Pervasive

Spraying” RFID tags all over acity?

• Ucode (in the Tokyo Ubiquitous Technology Project)

• But start with a zoo:http://www.tokyo-zoo.net/english/ueno/uc/mail.html

Page 38: Context Aware Pervasive

Or in you? swallow an RFID tag and annotate yourself ..

Kodak has developed an edible RFID tag, which they claim has many important benefits. The tags themselves are coated with a thick layer of soft gelatin which takes a while to dissolve. After dissolving the tags are intentionally fragile and will dissolve when exposed to gastric acids in the stomach. These tags can also be used in artificial joints, to help notify doctors when a replacement may be needed, and also these tags can be used on pills so that nurses can monitor if the patient has taken their medication or not.

http://www.trendhunter.com/trends/eidble-rfids

Page 39: Context Aware Pervasive

Making Spaces and Things Taskable

with• What is a smart space?

Seamlessly integrating computational elements into the fabric of everyday life…” [Weiser 1991],Everyday objects and environments are aware of their surroundings & peers and behave smartly.

The aim: Support our activities, complement our skills, add to

our pleasure, convenience, accomplishments

Page 40: Context Aware Pervasive

Invisible Computers?• “The most profound technologies are those that disappear. They weave

themselves into the fabric of everyday life until they are indistinguishable from it.” – Mark Weiser

Can we separate the interface from the computer?

Page 41: Context Aware Pervasive

Usability problems with smart spaces

Page 42: Context Aware Pervasive

Usability problems

Invisibility & Overload of features– Technologies blend into environments.– Frequently adding/removing devices and services to/from the spaces.– One device -> tens of features– Different combinations of devices

Hundreds of features

Page 43: Context Aware Pervasive

• Inconsistency of user interfaces• – Brand identification, product differentiation• [Rich 2009; Oliveira 2008]• • Inconsistency of task executionsSame tasks but different operations/ procedures

when being executed in different smart spaces.

How to tackle these usability problems?Our approach is based on task-oriented computing

Page 44: Context Aware Pervasive

Task-oriented scenarios

• Pervasive city’s scenario“It’s 7p.m., it’s raining, and you’re walking in the centre of city.

You consult your phone and it suggests ‘Dinner?’, ‘Taxi?’, ‘Bus?’. Selecting ‘Dinner?’ will present restaurants you’re apt to like and even dishes that you may want…”

Pervasive university campus’s scenario• “You’re driving approaching Anna University Campus, the

LCD on your car suggests ‘Campus map?’, ‘Find a place?’, ‘Parking spot?’. Selecting ‘Parking spot’ will guide you to find a parking spot.”

Page 45: Context Aware Pervasive

Pervasive Personal office Scenario “You enter your office. The lighting, heating, and cooling levels

are automatically adjusted based on you electronic profile. The coffeemaker works to give you a cup of hot white coffee.”

–You look at your Smartphone, and it tells you what tasks you can do with your phone here– You “point” your phone or bring your phone near to a device/artifact and the phone shows you a list of tasks you can do with the device/artifact (e..g, device is an audio system, artifact is a research paper, chair, etc)

Our long term aim is to realize these scenarios!

Page 46: Context Aware Pervasive

Task-Oriented Computing

• Our approach is based on task-oriented computing [Wang et al. 2000]:

– A task is a user’s goal or objective– Users interact with/think of the computing in terms of tasks

instead of applications/devices’ functionality.– Users focus on the tasks at hand rather than on the means for

achieving those tasks [ Masuoka2003].– Application function is modeled as tasks and sub-tasks.

Page 47: Context Aware Pervasive

Approach: a task-orientedframework

Page 48: Context Aware Pervasive

Location-based taskrecommendation

• Location = Anna University Campus

Location = Building PS1

Page 49: Context Aware Pervasive

Pointing based Task Recommendation

Page 50: Context Aware Pervasive
Page 51: Context Aware Pervasive
Page 52: Context Aware Pervasive
Page 53: Context Aware Pervasive
Page 54: Context Aware Pervasive

Current Implementation

Page 55: Context Aware Pervasive

Location = Personal Office

Page 56: Context Aware Pervasive

Current implementation

Page 57: Context Aware Pervasive

Future work, Issues• Design a comprehensive task description language• Develop a graphical editor for authoring task descriptions• Extend the task execution engine• Develop mechanisms for effectively publishing and retrieving task

models:• Indexing, matching, searching, composing, recognizing task models• Address conflicts of task executions in multi-user environments….• Transparent/Translucent task execution...• Macro recording of complex tasks...• Performance• Stability