










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











Lecture 14
Pervasive Computing Applications
ECE/CS 4984, Spring 2003 2 Pervasive Computing Applications
Lecture Objectives
ï Understand characteristics and technical challenges
ï Understand system middleware and supports for
ï Exemplify pervasive computing applications
ECE/CS 4984, Spring 2003 3 Pervasive Computing Applications
Sources
ï T. Kindberg and A. Fox, ìSystem software for ubiquitous computing,î IEEE Pervasive Computing , Vol. 1, No. 1, 2002, pp. 70-81. ï A. Smailagic and D. Kogan, ìLocation sensing and privacy in a context-aware computing environment,î IEEE Wireless Communications, Vol. 9, No. 5, Oct. 2002, pp. 10-17. ï S.S. Yau et al. ìReconfigurable context-sensitive middleware for pervasive computing,íí IEEE Pervasive Computing , Vol. 1, No. 3, 2002, pp. 33-40. ï M. Roman, et al. ìA middleware infrastructure for active spacesî, IEEE Pervasive Computing , Vol. 1, No. 4, 2003, pp. 74-
ï B. Johanson, et al. ìThe interactive workspaces project: experiences with ubiquitous computing rooms,î IEEE Pervasive Computing , Vol. 1, No. 2, 2002, pp. 67-75.
ECE/CS 4984, Spring 2003 4 Pervasive Computing Applications
Agenda
ï Characteristics of pervasive computing
ï System supports to enable pervasive computing
ï Middleware for context-aware pervasive computing
ï Examples of pervasive computing applications
ï Experimentation
ECE/CS 4984, Spring 2003 7 Pervasive Computing Applications
server
integration of laptops with a 802.11 access point
should involve a part of the environment that has a non- electronic function (e.g., a white board, a cup, etc.)
considerable human manual intervention
ECE/CS 4984, Spring 2003 8 Pervasive Computing Applications
cup (a non-electronic function) that contains sensing, processing and networking elements that let it communicate with the saucer of its state (full or empty, held or putdown, hot or cold)
a specialized protocol is used between the cup and saucer as the owner would not be able to use the coffee cup without the saucer
ECE/CS 4984, Spring 2003 9 Pervasive Computing Applications
have sensors that allow physical integration
if preconfigured components are used in the game
involve players with generic game playing pieces that let them spontaneously join local games not encountered before
ECE/CS 4984, Spring 2003 10 Pervasive Computing Applications
allow objects to be accessed by physical hyperlinks
identifier of the object
objects to be integrated into the physical world as web pages without the need to reconfigure browsers
intervention to keep it going. The human in the loop changes the browserís associations to advertised web services
ECE/CS 4984, Spring 2003 13 Pervasive Computing Applications
The Semantic Rubicon
The semantic Rubicon is the division between system and human for high-level decision-making or physical world semantics processing
The division should be exposed in system design and the criteria and mechanisms for crossing it should be clearly indicated
Little evidence exists to suggest that software alone can meet ubiquitous computing challenges, although it is desirable to have minimum or no Image extracted from intervention IEEE Pervasive ComputingMagazine, Vol. 1, No. 1, 2002.
ECE/CS 4984, Spring 2003 14 Pervasive Computing Applications
System Support
ï Discovery
specifying services
ServiceType=ìphotoPrintî
ServiceType=ìprintingî
ServiceType=ìdigitalFrameî
Missed opportunity
Service Type Mismatched
ECE/CS 4984, Spring 2003 15 Pervasive Computing Applications
System Support (2)
ï Interaction
interact
ServiceType=ìPrintî DataType=ìJPEGî ServiceType=ìprintî DataType=ìJPEGî
ServiceType=ìdigitalFrameî DataType = ìJPEGî
(Standardized) Data Oriented Interaction Service
(Standardized) Data Oriented Interaction Service
A common service: A tuple space or an event service
ECE/CS 4984, Spring 2003 16 Pervasive Computing Applications
System Support (3)
ï Adaptation
well as spontaneous interaction
devices in a heterogeneous environment
communication (as in Jini) ñ requiring JVM
Interactive Workspaces) ñ requiring a common UI description language to describe UI elements, e.g., ìThis control is a Boolean toggleî ï Another example is to use XML for specifying UI for web services
ECE/CS 4984, Spring 2003 19 Pervasive Computing Applications
Positioning for Location-aware
Computing
ï Outdoor ñ GPS (Global Position Sensing) normally to within 1- m accuracy with differential correction
ï Indoor
based on ultrasonic sensors (to within 3 cm accuracy)
location tracking (to within 1-5 m accuracy)
Image extracted from IEEE Pervasive ComputingMagazine, Vol. 1, No. 1, 2002.
ECE/CS 4984, Spring 2003 20 Pervasive Computing Applications
System Support ñ Location Tracking in
Smart Spaces
ï CMU has developed and deployed a Triangulation, Mapping and Interpolation (CMU-TMI) algorithm based on 802.11 for location tracking: ! Physical locations of access points are known in advance ! A mobile device scans all access points (at least 3) within range to determine their signal and noise strengths ! The signal strengths are used to infer the distance between the device and the access points using an approximate relation obtained a priori ! Triangulation technique is applied to calculate the physical location
ECE/CS 4984, Spring 2003 21 Pervasive Computing Applications
System Support (5)
ï Programming Framework
placed at the application or middleware level:
ï Providing only application-level coordination mechanisms, e.g., through a ìtuple-spaceî API
ï Providing more tightly integrated facilities for achieving context awareness, QoS resource management, and adaptive control. ï Determining the userís task and intention, and facilitating associations between components to assist the user in these activities
ECE/CS 4984, Spring 2003 22 Pervasive Computing Applications
System Support (6)
ï Robustness
resources
ï Periodic service advertisement and lease in the ìcommonî data-oriented interaction service
accessing a service or file while moving) application code ï More effective failure handling can be done implicitly by the middleware, e.g., retrying an idempotent operation (binding to a remote file) for a number of times
ï Security ñ trust between devices, access control
ECE/CS 4984, Spring 2003 25 Pervasive Computing Applications
RCSM: A Reconfigurable Context
Sensitive Middleware (2)
ï ASUís RCSM provides a context-aware interface description language (CA-IDL) API for an application to
the application
based on context values ï Compilers are provided to build adaptive object containers (ADCs) based on CA-IDL
Image extracted fromIEEE Pervasive Computing Magazine, Vol. 1, No. 3, 2002.
ECE/CS 4984, Spring 2003 26 Pervasive Computing Applications
Pervasive Computing Example 1:
UIís Gaia-enabled Active Spaces (1)
Image extracted fromIEEE Pervasive Computing Magazine, Vol. 1, No. 4, 2002.
ï Gaia is a distributed middleware infrastructure that coordinates software entities and heterogeneous network devices contained in a physical space
into an ìactive spaceî by adding coordination via a context- based software infrastructure
ECE/CS 4984, Spring 2003 27 Pervasive Computing Applications
Pervasive Computing Example 1:
UIís Gaia-enabled Active Spaces (2)
Image extracted fromIEEE Pervasive Computing Magazine, Vol. 1, No. 4, 2002.
channel registration/notification
querying/registering context information such as peopleís locations
states of resources including digital entities (applications and services using heartbeats) and physical entities (devices and people using sensors)
displaying/retrieving information about all entities in the active space
with context and format info to allow context-sensitive data retrieval presented with the right UI format, e.g., make personal data available to applications conditioned on presence
Example: Presentation Manager Application
ECE/CS 4984, Spring 2003 28 Pervasive Computing Applications
Pervasive Computing Example 1:
UIís Gaia-enabled Active Spaces (3)
EX: Presentation Manager Application
handheld walks into a Gaia-enabled room
sends a ìX is hereî event with the user profile info of X contained ! Space repository receives the event and displays the user info. ! Context file system obtains the speakerís mount point and mounts the speakerís presentation file ready for access
directory server and then sends a heartbeat event to the heartbeat channel ! presence service detects and sends a ìnew deviceî found event ! Space repository receives the event and displays the handheld info
entities of the active space
A prototype of Gaia-enabled active space
Context: Speaker X enters the room Action: start the presentation manager application ï Read the presentation file ï Allowing X to control presentation by control events generated from the touch screen or handheld
ECE/CS 4984, Spring 2003 31 Pervasive Computing Applications
Experimentation:
SLP-based Pervasive Pocket TV
ï SLP (RFC 2608) is an IETF standard that provides a scalable framework for automatic resource discovery on IP networks. Three entities are defined in a SLP system:
ï A UA initiates service discovery on behalf of one or more applications. It can send queries to all SAs via multicast if a DA does not exist or to a DA to discover services via unicast.
ï A SA works on behalf of one or more services. It responds directly to UA queries via unicast. If a DA exists, a SA can register its services with the DA to expose its services.
ECE/CS 4984, Spring 2003 32 Pervasive Computing Applications
Experimentation:
Pervasive Pocket TV (2)
ï A DA serves as a centralized information repository. It
Application
UA (^) SA
DA
Service
query
reply
directory service query service registration directory service reply acknowledgment
ECE/CS 4984, Spring 2003 33 Pervasive Computing Applications
Experimentation:
Pervasive Pocket TV (3)
ï DA Discovery: Passive vs. Active
UA/SA DA
Multicast SrvRqst (service:directory-agent)
Unicast DAAdvert
UA/SA DA
Multicast DAAdvert
ECE/CS 4984, Spring 2003 34 Pervasive Computing Applications
Experimentation:
Pervasive Pocket TV (4)
ï Three configurations
SA UA SA
Multicast SrvRqst Multicast SrvRqst Unicast SrvRply Unicast SrvRply
UA DA
SA
SA
Unicast SrvRqst Unicast SrvRply
Unicast SrvReg Unicast SrvAck
Unicast SrvAck Unicast SrvReg
Small: No DA
Medium: 1 DA
Large: Multiple DAís
UA
UA
SA
SA (^) SA
SA
DA
DA ECE Scope CS Scope
adopted in L