Herecast: An Open Infrastructure for Location-Based Services using - - PowerPoint PPT Presentation

herecast an open infrastructure for location based
SMART_READER_LITE
LIVE PREVIEW

Herecast: An Open Infrastructure for Location-Based Services using - - PowerPoint PPT Presentation

Herecast: An Open Infrastructure for Location-Based Services using WiFi Mark Paciga and Hanan Lutfiyya Presented by Emmanuel Agu CS 525M Introduction Users context includes location, time, date, temperature, schedule, etc


slide-1
SLIDE 1

Herecast: An Open Infrastructure for Location-Based Services using WiFi

CS 525M

Mark Paciga and Hanan Lutfiyya Presented by Emmanuel Agu

slide-2
SLIDE 2

Worcester Polytechnic Institute 2

Introduction

  • User’s context includes location, time, date,

temperature, schedule, etc

  • Context-aware Location takes advantage of user

context for computing

  • Location is most widely used piece of context
  • Example location-aware applications:

– Pull up web pages relevant to user location (e.g google search that returns nearest restaurants) – Users publish their presence so friends can find them

  • Also, location-based service:

– E.g find print to closest printer

slide-3
SLIDE 3

Worcester Polytechnic Institute 3

GPS

  • GPS finds location of users worldwide
  • GPS uses satellite constellations
  • Signals cannot penetrate walls
  • Result: GPS works great outdoors, not so well

indoors

  • Even tall buildings cause GPS problems
  • EU planning new GPS standard that can blast

through walls…. Not here now!!!

slide-4
SLIDE 4

Worcester Polytechnic Institute 4

Indoor location sensing

  • Some authors have proposed indoor location sensing
  • Example: Location finger printing method.
  • Used in RADAR (Microsoft), LOCUS (WPI)
  • Location fingerprinting has two stages:

– Calibration (offline) – Look-up (real-time)

  • Calibration:

– Walk around, record signal strength at known location, build database called radio map

  • Look-up:

– As user moves, use current unknown signal strength to infer location (matching)

slide-5
SLIDE 5

Worcester Polytechnic Institute 5

Location Fingerprinting

  • Parameters affecting accuracy/performance

– Number and location of access points – Number of training points – Pattern matching algorithm

slide-6
SLIDE 6

Worcester Polytechnic Institute 6

Obtaining Signal Strength

  • Signal strength varies with

– Location: hence location fingerprinting – Orientation: user direction, antenna omni-directional Vs. directional – Building: construction, walls, attenuation – Time: people moving, doors opening – Sampling: number of SS samples used

  • Important: SS variation due to location >> all other factors

combined

  • SS better measure than SNR
  • Associate SS tuple with location
  • Note: directional antennas improve results
slide-7
SLIDE 7

Worcester Polytechnic Institute 7

Signal Strength Matching

MEASURED TUPLES ::: ::: ::: ::: ::: ::: 44

  • 12

22 145 380 ::: ::: ::: ::: ::: ::: 36 28

  • 16

210 350 ::: ::: ::: ::: ::: ::: 42 39 21 4 355 260 44 36 25

  • 355

220 ::: ::: ::: ::: ::: ::: 6 10 20 36 145 40 8 12 28 32 145 80 ::: ::: ::: ::: ::: ::: AP4 AP3 AP2 AP1 Y X SIGNAL STRENGTH LOCATION 45 36 24

  • AP4

AP3 AP2 AP1 OBSERVED SIGNAL STRENGTH

  • Find closest match in

database

slide-8
SLIDE 8

Worcester Polytechnic Institute 8

Signal Strength Matching

  • Simple: Return closest match
  • Deterministic:

– Smallest Euclidean distance (RADAR, Infocom 2000)

  • sqrt[(ss1’-ss1)2+(ss2’-ss2)2+(ss3’ - ss3)2]

– Elimination via Thresholding

  • Probabilisitic:

– Joint PDF and clustering (Horus, Percom 2003) – Bayesian inference, sensor fusion (LADD, Mobicom 2002) – Markov modeling and Kalman filters (Liu, JSAC 1998)

slide-9
SLIDE 9

Worcester Polytechnic Institute 9

LOCUS MQP

  • Ali Taheri, Arvinder Singh, Best CS MQP WPI
  • Determine physical location of clients on an 802.11b real

wireless network at WPI

  • Software-only, platform independent solution:

– Uses existing access points and wireless cards – Does not use GPS or proprietary tags – Commercial products already from Ekahau, Newbury

  • Performance in WPI Network
slide-10
SLIDE 10

Worcester Polytechnic Institute 10

Issues with Location Fingerprinting

  • Location finger printing is very accurate
  • Main issue is that callibration is manual, takes a lot of

time

  • About 12 hours required to callibrate a floor of a

building

  • New directions: community-based systems
  • Main idea: users upload radio map (list of access

points, locations, observed signal strength)

  • Projects: Herecast, PlaceLab (Intel)
slide-11
SLIDE 11

Worcester Polytechnic Institute 11

Herecast Architecture

  • Herecast implemented with examples on Univ. of

Western Ontario campus

  • Wireless access points broadcast MAC address

(unique identifier) that distinguishes it from other Aps

  • Computing device can use it to map location, find

location-based services

slide-12
SLIDE 12

Worcester Polytechnic Institute 12

Data modeling and management

  • Location information is associated with AP
  • UML diagram of data model is shown below
  • Example: UWO -> London -> province of Ontario
  • UWO has many buildings (Middlesex, Taylor lib, etc)
slide-13
SLIDE 13

Worcester Polytechnic Institute 13

Access Points

  • Access points constantly being added/deleted
  • Do not want Sys admin to be burdened with city-wide
  • r campus wide database maintenance
  • Solution: community-based AP information

maintenance

  • Users assigned role, some can add new APs found,

delete AP info, etc

  • Users initially assigned few privileges
  • Add more privileges as users observed to give

accurate information

slide-14
SLIDE 14

Worcester Polytechnic Institute 14

Access Point Information

  • Changes stored in change log, can be rolled back
  • Deletions placed in queue to be vetted by high-

ranking user

  • Future: users may vote to accept/reject changes
  • When user finds new AP, fills form to upload info
  • Details filled include city, province, country, area,

street address, floor, etc

slide-15
SLIDE 15

Worcester Polytechnic Institute 15

Uploading AP information

  • Entered information is symbolic
  • GPS uses coordinates (longitude, latitude)
slide-16
SLIDE 16

Worcester Polytechnic Institute 16

Symbolic Information

  • Coordinates make it easier to calculate distances
  • Users more comfortable with symbolic representation
  • E.g The name of a building.
  • Client Device software consists of:

– Finding AP Information Component – Maintaining AP Information Component – Communication with server

slide-17
SLIDE 17

Worcester Polytechnic Institute 17

Client Device Software

  • Finding AP Information Component:

– Reads AP MAC address, Signal Strength

  • Maintaining AP Information Component:

– Stores gathered AP info in AccessPoint object – List of AccessPoint objects stored in AccessPointList – Includes method to query highest RSSI – Herecast approach: Location is associated with AP with strongest Signal Strength…. Hmmm!

  • Communication with server

– Information transfer using standard HTTP – HTTP GET to download database info – HTTP POST used by client to upload info to database

slide-18
SLIDE 18

Worcester Polytechnic Institute 18

Client Device Software

  • Data Cache Component:

– Server returns entire AccessPointList to client, not just requested AP info – Thus, the additional information can be cached – Stored using text file to keep it compact for mobile device – On next request, cache is first searched

slide-19
SLIDE 19

Worcester Polytechnic Institute 19

Possible Services

  • Initial screen includes services available at user’s

location

  • Services may

– retrieve location once – Constantly updated

  • Example service:

– Map of UWO, user location

  • Users may subscribe to

services

slide-20
SLIDE 20

Worcester Polytechnic Institute 20

Implementation

  • Written in C++
  • Pocket PC version uses embedded visual C++
  • WiFi Scanner is open source to interface to network

card and discover APs.

  • Can show all available APs at user location
slide-21
SLIDE 21

Worcester Polytechnic Institute 21

Implementation

  • Library code is open-source
  • Consists of WiFi scanner, software to maintain

AccessPointList, software to ask for service subscription

  • Testing work: surveyed approx. 140 APs in 12

buildings at UWO

  • Building with most APs (20) had all APs found in 1 hr
slide-22
SLIDE 22

Worcester Polytechnic Institute 22

Applications

  • Area Maps
  • Friend finder

– Automatically publish user locations to his/her friends

slide-23
SLIDE 23

Worcester Polytechnic Institute 23

Applications

  • Heresay: location-based message board
slide-24
SLIDE 24

Worcester Polytechnic Institute 24

Bandwidth Advisor

  • Users with no connectivity, pull up list of APs in area

and load associated with each AP

  • Device detects congestion, advises user to move to

better location

  • BA also helps balance network
  • User can click
  • n location to

find out load

slide-25
SLIDE 25

Worcester Polytechnic Institute 25

Related work

  • Active badge (infrared)
  • Active bat (radio signals + ultrasound)
  • Cricket, MIT (ultrasound)
  • RADAR, Microsoft (Radio signals)
  • Placelab, Intel (Radio signals, community-based)
slide-26
SLIDE 26

Worcester Polytechnic Institute 26

Discussion

  • Wide-area Vs Local: Herecast can support wide-

area location application

  • Fine Vs Coarse resolution: Herecast is not as fine-

grained as triangulation using multiple access point

  • Privacy: Use opt-in approach
  • Resource consumption: was minimal
  • Ease of development location-aware app: easy…

area map service created in an hour

  • Data management issues: one server okay now,

more needed in future

slide-27
SLIDE 27

Worcester Polytechnic Institute 27

Future Work

  • Future applications
  • GPS integration
  • Warn user when AP signal leakage (signal received

in different building)

  • Autonomous map generation: use symbolic info to

generate map and compare distances