+ All Categories
Home > Documents > Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT...

Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT...

Date post: 06-Jan-2018
Category:
Upload: karin-fox
View: 217 times
Download: 0 times
Share this document with a friend
Description:
MIT Project Oxygen Pervasive, human-centered computing Improve human productivity and comfort –Move computation into the mainstream of our lives –Improve ease-of-use and accessibility –“Do more by doing less” The real challenge: “To develop a deep understanding of how to develop, deploy, and manage systems of systems in dynamic environments” Build to use; use to build
27
Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science http://nms.lcs.mit.edu/
Transcript
Page 1: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Networking for Pervasive Computing

Hari BalakrishnanNetworks and Mobile Systems GroupMIT Laboratory for Computer Science

http://nms.lcs.mit.edu/

Page 2: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

The real new, new thing

• Natural technology trends– Computation is becoming essentially free– Communication is becoming ubiquitous

• Smart devices– Huge numbers of computing devices in the world– What are we doing with them?

• Modes of operation– Programs controlling other programs in our environment– Human-in-the-loop: computing should be only as visible

as I desire; no more, no less...

Page 3: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

MIT Project Oxygen

• Pervasive, human-centered computing• Improve human productivity and comfort

– Move computation into the mainstream of our lives– Improve ease-of-use and accessibility– “Do more by doing less”

• The real challenge:“To develop a deep understanding of how to develop,

deploy, and manage systems of systems in dynamic environments”

• Build to use; use to build

Page 4: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

“Situated”computing Projector

Phone

Camera array

Microphone array

Speech & vision

- Handheld, mobile computers (e.g., Handy21)- Situated computing resources & sensors (e.g, Enviro21)- Networked “smart” devices

- And tons of software making all this work together!User technologies & system software

The Oxygen environment

Page 5: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

An example:Context-aware network services

• Resource discovery and secure information access

• Unconstrained, adaptive mobility

• “Zero” configuration • Context-aware, location-based,

speech-driven active maps

Page 6: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

This talk: context-aware networking

• Enable applications to adapt to real-world context and conditions• Physical location

– Location-aware applications– Requires location-support system (Cricket)

• User/application intent– Resource discovery mechanism must allow applications to express what

they want– Intentional Naming System (INS)

• Mobility– Devices using multiple networks at the same time– Application-controlled end-to-end mobile routing to capture network

context (Migrate)

Page 7: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Cricket design goals

• Preserve user privacy• Recognize spaces, not just physical position

– Good boundary detection is important • Operate inside buildings• Easy to administer and deploy

– Decentralized architecture and control• Low cost and power consumption• GPS-oriented solutions do not provide required

precision, reliability, or cost-effectiveness

Page 8: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Traditional approach

Networked sensor grid

Location DB

ID = u

ID = u?

Responder

Problems: privacy; administration; granularity; cost

Page 9: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Cricket: Private location-support

Beacon

Listener

No central beacon control or location databasePassive listeners + active beacons preserves privacyStraightforward deployment and programmability

space = “a1”

space = “a2”

Pick nearest to infer space

Page 10: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

• A beacon transmits an RF and an ultrasonic signal simultaneously– RF carries location data, ultrasound is a narrow

pulse

• The listener measures the time gap between the receipt of RF and ultrasonic signals– A time gap of x ms roughly corresponds to a

distance of x feet from beacon– Velocity of ultra sound << velocity of RF

Determining distance

RF data(space name)

Beacon

Listener

Ultrasound(pulse)

Page 11: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Uncoordinated beacons

• Multiple beacon transmissions are uncoordinated

• Different beacon transmissions can interfere– Causing inaccurate distance measurements at

the listener

Beacon A Beacon B

tRF B RF A US B US A

Incorrect distance

Page 12: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Handling spurious interactions

• Combination of three different techniques:– Bounding stray signal interference– Preventing repeated interactions via

randomization– Listener inference algorithms

Page 13: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Bounding Stray Signal Interference

• RF range > ultrasonic range– Ensures an accompanied RF signal with

ultrasound

tRF A US A

Page 14: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

t

S/b

r/v (max)

S = size of space advertisementb = RF bit rater = ultrasound rangev = velocity of ultrasound

Bounding Stray Signal Interference

(RF transmission time) (Max. RF-US separation at the listener)

S rb v

Page 15: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Bounding stray signal interference

• Envelop ultrasound by RF• Interfering ultrasound causes RF signals to

collide• Listener does a block parity error check

– The reading is discarded

tRF A US A

RF B US B

Page 16: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Preventing repeated interactions

• Randomize beacon transmissions: loop:

pick r ~ Uniform[T1, T2];delay(r);xmit_beacon(RF,US);

• Optimal choice of T1 and T2 can be calculated analytically – Trade-off between latency and collision probability

• Erroneous estimates do not repeat

Page 17: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Inference Algorithms

• MinMode– Determine mode for each beacon– Select the one with the minimum mode

• MinMean– Calculate the mean distance for each beacon– Select the one with the minimum value

• Majority (actually, “plurality”)– Select the beacon with most number of readings– Roughly corresponds to strongest radio signal

Page 18: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Inference Algorithms

Distance(feet)

Frequency A B

5 10

5

107Number of samples

6.46.14Mean (feet)

86Mode (feet)

86Actual distance (feet)

BA

Page 19: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Closest beacon may not reflect correct space

I am atB

Room A Room B

Page 20: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Correct beacon positioning

Room A Room B

x x

I am atA

• Position beacons to detect the boundary

• Multiple beacons per space are possible

Page 21: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Implementation• Cricket beacon and listener

• LocationManager provides an API to applications

• Integrated with intentional naming system for resource discovery

Micro-controller

RF

US

Micro-controller

RF

USRS232

Page 22: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Mobile listener performance

Location Algorithm Error Rates

024

68

101214

161820

2 3 4 5 6

Sampling Interval

Erro

r Rat

e (%

)

MinMeanMinModeMajority

Room A Room B

Room C

Page 23: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Context-aware resource discovery

• Services advertise/register resources• Consumers make queries for services• System matches services and consumers• This is really a naming problem

– Name services and treat queries are resolution requests

– Problem: most of today’s naming systems name by (network) locations

– Names should refer to what, not where

Page 24: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

[service = lcs.mit.edu/thermo][building = NE43 [floor = 5 [room = *]]][temperature > 250C]data

[service = mit.edu/camera][building = NE43

[room = 510]][resolution=800x600][access = public][status = ready]

Intentional names

• Expressive name language (like XML)• Providers announce attributes• Clients make queries

– Attribute-value matches– Wildcard matches– Ranges

Page 25: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

INS architecture

[service = camera][building = NE43

[room = 510]]

Intentional name

Late binding: integrate resolution and message routing

image

Lookup

camera510.lcs.mit.edu

Resolver self-configuration

Intentional name resolvers form an overlay network

Page 26: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Status

• Cricket v1 being deployed with location-aware applications using INS– Lots of interesting deployment issues and interactions with

the real-world• INS deployed at LCS

– Starting to be used in wider Oxygen context– Mobile applications using late-binding– Cricket beacons disseminate INS “vspaces”

• Enabling technologies for location-aware applicationshttp://nms.lcs.mit.edu/

Page 27: Networking for Pervasive Computing Hari Balakrishnan Networks and Mobile Systems Group MIT Laboratory for Computer Science

Cricket demo


Recommended