29
1 1 CSCE 5013: Hot Topics in Mobile and Pervasive Computing Discussion of LOC1 and LOC2 Nilanjan Banerjee Hot Topic in Mobile and Pervasive Computing University of Arkansas Fayetteville, AR nilanjan.banerjee@gmail. com Acknowledgment: Romit Roychoudhuri for the slides

1 1 CSCE 5013: Hot Topics in Mobile and Pervasive Computing Discussion of LOC1 and LOC2 Nilanjan Banerjee Hot Topic in Mobile and Pervasive Computing University

Embed Size (px)

Citation preview

11

CSCE 5013: Hot Topics in Mobile and Pervasive Computing

Discussion of LOC1 and LOC2

Nilanjan Banerjee

Hot Topic in Mobile and Pervasive Computing

University of ArkansasFayetteville, AR

[email protected]

Acknowledgment: Romit Roychoudhuri for the slides

22

LOC2: SurroundSense

3

Location-Based Applications (LBAs)

For Example: GeoLife shows grocery list when near Walmart MicroBlog queries users at a museum Location-based ad: Phone gets coupon at Starbucks

iPhone AppStore: 3000 LBAs, Android: 500 LBAs

4

Most emerging location based apps do not care about the physical location

GPS: Latitude, Longitude

5

Most emerging location based apps do not care about the physical location

Instead, they need the user’s logical location

GPS: Latitude, Longitude

Starbucks, RadioShack, Museum, Library

6

Physical Vs Logical

Unfortunately, most existing solutions are physical

GPS GSM based Google Latitude

RADAR Cricket …

7

Given this rich literature,

Why not convert from Physical to Logical Locations?

8

Physical LocationError

9

Pizza HutStarbucks

Physical LocationError

10

Pizza HutStarbucks

Physical LocationError

The dividing-wall problem The dividing-wall problem

11

SurroundSense:A Logical Localization Solution

12

It is possible to localize phones by sensing the ambience

It is possible to localize phones by sensing the ambience

Hypothesis

such as sound, light, color, movement, WiFi …

13

It is possible to localize phones by sensing the ambience

It is possible to localize phones by sensing the ambience

Hypothesis

such as sound, light, color, movement, WiFi …

14

Multi-dimensional sensing extracts more ambient information

Any one dimension may not be unique, but put together, they may provide a

unique fingerprint

15

SurroundSense

Multi-dimensional fingerprint Based on ambient

sound/light/color/movement/WiFi

Starbucks

Wall

Pizza Hut

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

16

BB AACC DDEE

Should Ambiences be Unique Worldwide?

FFGG

HHJJ

II

LLMMNN

OO

PPQQ

QQ

RR

KK

17

Should Ambiences be Unique Worldwide?

BB AACC DDEE

FFGG

HHJJ

II

KKLL

MMNNOO

PPQQ

QQ

RR

GSM provides macro location (strip mall) SurroundSense refines to Starbucks

18

Economics forces nearby businesses to be diverse

Not profitable to have 3 adjascent coffee shopswith same lighting, music, color, layout, etc.

SurroundSense exploits this ambience diversity

Why does it work?

The Intuition:

19

++

Ambience Fingerprinting

Test Fingerprint

Sound

Acc.

Color/Light

WiFi

LogicalLocation

Matching

FingerprintDatabase

==

Candidate Fingerprints

GSM Macro Location

SurroundSense Architecture

20

Fingerprints

Sound:(via phone microphone)

Color:(via phone camera)

Amplitude Values-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1

N

orm

aliz

ed

C

ount

0.14

0.12

0.1

0.08

0.06

0.04 0.02

0

Acoustic fingerprint (amplitude distribution)

Color and light fingerprints on HSL space

Lightn

ess

1

0.5

0

Hue

0

0.5

1 00.2

0.4

0.6

0.8

1

Saturation

21

Fingerprinting Sound

Fingerprint generation : Signal amplitude Amplitude values divided in 100 equal intervals Sound Fingerprint = 100 normalized values

• valueX = # of samples in interval x / total # of samples

Filter Metric: Euclidean distance Discard candidate fingerprint if metric > threshold г

Threshold г Multiple 1 minute recordings at the same location di = max dist ( any two recordings )

г = max ( di of candidate locations )

22

Fingerprinting Color

Floor Pictures Rich diversity across different locations Uniformity at the same location

Fingerprint generation: pictures in HSL space K-means clustering algorithm Cluster’s centers + sizes

Ranking metric

23

Fingerprints

Movement: (via phone accelerometer)

Cafeteria Clothes Store Grocery Store

Static

Moving

24

Fingerprints

Movement: (via phone accelerometer)

Cafeteria Clothes Store Grocery Store

Static

Queuing Seated

Moving

25

Fingerprints

Movement: (via phone accelerometer)

Cafeteria Clothes Store Grocery Store

Static

Pause for product browsing

Short walks between product browsing

Moving

26

Fingerprints

Movement: (via phone accelerometer)

Cafeteria Clothes Store Grocery Store

Static

Walk more Quicker stops

Moving

27

Fingerprints

Movement: (via phone accelerometer)

WiFi: (via phone wireless card)

Cafeteria Clothes Store Grocery Store

Static

ƒ(overheard WiFi APs)

ƒ(overheard WiFi APs)

Moving

28

Fingerprinting WiFi

Fingerprint generation: fraction of time each unique address was overheard

Filter/Ranking Metric Discard candidate fingerprints which do not have similar

MAC frequencies

29

Discussion

Time varying ambience Collect ambience fingerprints over different time

windows

What if phones are in pockets? Use sound/WiFi/movement Opportunistically take pictures

Fingerprint Database War-sensing