Kien A. Hua University of Central Florida. Overview  Background - Location-based services & challenges  Range Query in Open Space  Dynamic Range Query.

Slides:



Advertisements
Similar presentations
Dissemination-based Data Delivery Using Broadcast Disks.
Advertisements

Differential Forms for Target Tracking and Aggregate Queries in Distributed Networks Rik Sarkar Jie Gao Stony Brook University 1.
Efficient Evaluation of k-Range Nearest Neighbor Queries in Road Networks Jie BaoChi-Yin ChowMohamed F. Mokbel Department of Computer Science and Engineering.
Pete Bohman Adam Kunk.  Introduction  Related Work  System Overview  Indexing Scheme  Ranking  Evaluation  Conclusion.
A Generic Framework for Monitoring Continuous Spatial Queries over Moving Objects.
Delay bounded Routing in Vehicular Ad-hoc Networks Antonios Skordylis Niki Trigoni MobiHoc 2008 Slides by Alex Papadimitriou.
Mohamed F. Mokbel University of Minnesota
Nearest Neighbor Search in Spatial and Spatiotemporal Databases
1 Next Century Challenges: Scalable Coordination in sensor Networks MOBICOMM (1999) Deborah Estrin, Ramesh Govindan, John Heidemann, Satish Kumar Presented.
ZIGZAG A Peer-to-Peer Architecture for Media Streaming By Duc A. Tran, Kien A. Hua and Tai T. Do Appear on “Journal On Selected Areas in Communications,
On Reducing Communication Cost for Distributed Query Monitoring Systems. Fuyu Liu, Kien A. Hua, Fei Xie MDM 2008 Alex Papadimitriou.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
The Fourth WIM Meeting 1 Active Nearest Neighbor Queries for Moving Objects Jan Kolar, Igor Timko.
1 Location Information Management and Moving Object Databases “Moving Object Databases: Issues and Solutions” Ouri, Bo, Sam and Liqin.
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
A New Broadcasting Technique for An Adaptive Hybrid Data Delivery in Wireless Mobile Network Environment JungHwan Oh, Kien A. Hua, and Kiran Prabhakara.
A Cross Layer Approach for Power Heterogeneous Ad hoc Networks Vasudev Shah and Srikanth Krishnamurthy ICDCS 2005.
ICDE A Peer-to-peer Framework for Caching Range Queries Ozgur D. Sahin Abhishek Gupta Divyakant Agrawal Amr El Abbadi Department of Computer Science.
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
CS 712 | Fall 2007 Using Mobile Relays to Prolong the Lifetime of Wireless Sensor Networks Wei Wang, Vikram Srinivasan, Kee-Chaing Chua. National University.
Multi-level Hashing for Peer-to-Peer System in Wireless Ad Hoc Environment Dewan Tanvir Ahmed and Shervin Shirmohammadi Distributed & Collaborative Virtual.
Processing Monitoring Queries on Mobile Objects Lecture for COMS 587 Department of Computer Science Iowa State University.
1 SD-Rtree: A Scalable Distributed Rtree Witold Litwin & Cédric du Mouza & Philippe Rigaux.
GeoGrid: A scalable Location Service Network Authors: J.Zhang, G.Zhang, L.Liu Georgia Institute of Technology presented by Olga Weiss Com S 587x, Fall.
Signal Propagation Propagation: How the Signal are spreading from the receiver to sender. Transmitted to the Receiver in the spherical shape. sender When.
A Framework for Energy- Saving Data Gathering Using Two-Phase Clustering in Wireless Sensor Networks Wook Chio, Prateek Shah, and Sajal K. Das Center for.
VLDB '2006 Haibo Hu (Hong Kong Baptist University, Hong Kong) Dik Lun Lee (Hong Kong University of Science and Technology, Hong Kong) Victor.
College of Engineering Non-uniform Grid- based Coordinated Routing Priyanka Kadiyala Major Advisor: Dr. Robert Akl Department of Computer Science and Engineering.
Energy-Aware Scheduling with Quality of Surveillance Guarantee in Wireless Sensor Networks Jaehoon Jeong, Sarah Sharafkandi and David H.C. Du Dept. of.
Machine Learning Approach to Report Prioritization with an Application to Travel Time Dissemination Piotr Szczurek Bo Xu Jie Lin Ouri Wolfson.
Maximum Network Lifetime in Wireless Sensor Networks with Adjustable Sensing Ranges Cardei, M.; Jie Wu; Mingming Lu; Pervaiz, M.O.; Wireless And Mobile.
Locating Mobile Agents in Distributed Computing Environment.
Clustering Moving Objects in Spatial Networks Jidong Chen, Caifeng Lai, Xiaofeng Meng, Renmin University of China Jianliang Xu, and Haibo Hu Hong Kong.
Extending Traditional Algorithms for Cyber-Physical Systems Sumeet Gujrati and Gurdip Singh Kansas State University.
Communication Paradigm for Sensor Networks Sensor Networks Sensor Networks Directed Diffusion Directed Diffusion SPIN SPIN Ishan Banerjee
DIST: A Distributed Spatio-temporal Index Structure for Sensor Networks Anand Meka and Ambuj Singh UCSB, 2005.
Energy-Efficient Monitoring of Extreme Values in Sensor Networks Loo, Kin Kong 10 May, 2007.
Mobile Agent Migration Problem Yingyue Xu. Energy efficiency requirement of sensor networks Mobile agent computing paradigm Data fusion, distributed processing.
A new Ad Hoc Positioning System 컴퓨터 공학과 오영준.
Group 8: Denial Hess, Yun Zhang Project presentation.
Differential Ad Hoc Positioning Systems Presented By: Ramesh Tumati Feb 18, 2004.
Dual-Region Location Management for Mobile Ad Hoc Networks Yinan Li, Ing-ray Chen, Ding-chau Wang Presented by Youyou Cao.
Dr. Sudharman K. Jayaweera and Amila Kariyapperuma ECE Department University of New Mexico Ankur Sharma Department of ECE Indian Institute of Technology,
Clustering of Uncertain data objects by Voronoi- diagram-based approach Speaker: Chan Kai Fong, Paul Dept of CS, HKU.
Performance of Adaptive Beam Nulling in Multihop Ad Hoc Networks Under Jamming Suman Bhunia, Vahid Behzadan, Paulo Alexandre Regis, Shamik Sengupta.
1 30 November 2006 An Efficient Nearest Neighbor (NN) Algorithm for Peer-to-Peer (P2P) Settings Ahmed Sabbir Arif Graduate Student, York University.
C. Savarese, J. Beutel, J. Rabaey; UC BerkeleyICASSP Locationing in Distributed Ad-hoc Wireless Sensor Networks Chris Savarese, Jan Beutel, Jan Rabaey.
February 4, Location Based M-Services Soon there will be more on-line personal mobile devices than on-line stationary PCs. Location based mobile-services.
Range Monitoring Queries in Location-based Services Kien A. Hua School of EECS University of Central Florida.
Location Privacy Protection for Location-based Services CS587x Lecture Department of Computer Science Iowa State University.
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
UNIT IV INFRASTRUCTURE ESTABLISHMENT. INTRODUCTION When a sensor network is first activated, various tasks must be performed to establish the necessary.
Location-based Spatial Queries AGM SIGMOD 2003 Jun Zhang §, Manli Zhu §, Dimitris Papadias §, Yufei Tao †, Dik Lun Lee § Department of Computer Science.
Energy Efficient Data Management for Wireless Sensor Networks with Data Sink Failure Hyunyoung Lee, Kyoungsook Lee, Lan Lin and Andreas Klappenecker †
On Mobile Sink Node for Target Tracking in Wireless Sensor Networks Thanh Hai Trinh and Hee Yong Youn Pervasive Computing and Communications Workshops(PerComW'07)
Efficient Placement and Dispatch of Sensors in a Wireless Sensor Network You-Chiun Wang, Chun-Chi Hu, and Yu-Chee Tseng IEEE Transactions on Mobile Computing.
Repairing Sensor Network Using Mobile Robots Y. Mei, C. Xian, S. Das, Y. C. Hu and Y. H. Lu Purdue University, West Lafayette ICDCS 2006 Speaker : Shih-Yun.
ParkNet: Drive-by Sensing of Road-Side Parking Statistics Irfan Ullah Department of Information and Communication Engineering Myongji university, Yongin,
Continuous Monitoring of Spatial Queries in Wireless Broadcast Environments.
Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications * CS587x Lecture Department of Computer Science Iowa State University *I. Stoica,
2010 IEEE Global Telecommunications Conference (GLOBECOM 2010)
Net 435: Wireless sensor network (WSN)
Pervasive Data Access (PDA) Research Group
Efficient Evaluation of k-NN Queries Using Spatial Mashups
Finding Fastest Paths on A Road Network with Speed Patterns
Probabilistic Data Management
Continuous Density Queries for Moving Objects
Spatial Databases: Spatio-Temporal Databases
Overview: Chapter 4 Infrastructure Establishment
Presentation transcript:

Kien A. Hua University of Central Florida

Overview  Background - Location-based services & challenges  Range Query in Open Space  Dynamic Range Query in Road Networks  Sensor Approach to Location-based Services

Location-based Services (LBS) Rapid development and commercialization of wireless network technology localization technologies smart mobile devices sensor networks Location-based Services Allow users to query their environment and use the spatial data for various purposes

LBS Example The phone uploads its GPS coordinates to the LBS server every few minutes. You can view up to 100 of the last reported spots the person has been on a Google map. Integrate a mobile device’s position with other information so as to provide added value to the users.

Range Monitoring Queries in Location-based Services

Moving Object Database Moving object database is the core of a location-based service A B C D E H I G F J K L k-NN QueryRange Query

Location-Based Queries  Two kinds of location-based queries: Snapshot queries: “Tell me the 3 nearest cars around me now ” Continuous queries: “Monitor 3 nearest restaurants around me for the next 10 minutes ”  We focus on one continuous query type called Range Monitoring Query (RMQ).

Range-Monitoring Query What is range-monitoring query ? Retrieve mobile objects in a spatial region, and continuously monitor the population in the area

a Q2Q2 Q1Q1 b c f d e Range Monitoring Queries

a Q2Q2 Q1Q1 b c f d e

Key Challenges  Communication bottleneck Very large number of mobile objects repeatedly update their locations  Computation bottleneck Maintain a very large constantly changing location databases Constantly compute many queries  Location uncertainty Location of moving objects known when sampled, may have moved by time server processes the queries

How to minimize location updates ? –Each update involves mobile communication costs and server processing costs How to minimize query processing cost ? –Query results keep changing Traditional and spatial databases are not suitable for these tasks Performance Issues

Q1Q1 Q5Q5 Q2Q2 Q4Q4 Q3Q3 Circular Safe Region Rectangular Safe Region a

Weaknesses of Safe Regions  Computing a safe region takes from O(n) to O(n log3n)  A solution - Using Resident Domain  Adding a new query requires recomputation of safe regions for all objects  A solution - Using Spatial Index

MQM - Resident Domain A mobile object A contacts the server when A exits the current resident domain, or enters or exits a query in the resident domain Q1Q1 Q2Q2 Q7Q7 Q6Q6 Q3Q3 Q5Q5 Q4Q4 Resident Domain A N = 3 Q8Q8 Q9Q9

Safe Region vs. Resident Domain Q1Q1 Q2Q2 Q7Q7 Q6Q6 Q3Q3 Q5Q5 Q4Q4 Resident Domain A Q8Q8 Q9Q9 Safe Region Safe Region is relatively smaller, and incurs substantially more communication messages

Q1Q1 Q4Q4 Q2Q2 Q3Q3 R1R1 R 42 R 21 R 31 R 22 R 41 Determine the Resident Domain Query Q 2 overlaps query Q 3 Q 2 and Q 3 are relevant to monitoring region R 22 Space is dynamically partitioned into disjoint subdomains A monitoring region

Q1Q1 Q4Q4 Q2Q2 Q3Q3 R1R1 R 42 R 21 R 31 R 22 R 41 a Determine the Resident Domain Too small for a

Q1Q1 Q4Q4 Q2Q2 Q3Q3 R1R1 R 42 R 21 R 31 R 22 R 41 a Determine the Resident Domain Use a larger Resident domain for a

Domain Decomposition  Suddomains and monitoring regions are maintained using BP-tree (Binary Partitioning Tree)  For each new query, Search BP-tree to find the overlapping subdomains, each corresponding to a monitoring region. Insert the monitoring regions into their subdomain Split a subdomain if its number of monitoring regions exceeds the threshold R 11 R 12 Query Overlapping subdomains Two monitoring regions

D D domain node data node BP-tree Example Q1 Q1Q1

D d1d1 d1d1 d2d2 d2d2 BP-tree Example Q7Q7 Q1 R 72 R 71

d1d1 d1d1 d2d2 d 21 d 22 d 21 d 22 D BP-tree Example Q9 R 91 R 911 R 912

Advantages over Safe Regions  Resident domains can be determined efficiently  A new query generally affects only a small number of existing resident domains  Resident domain are generally much larger resulting in less location updates  Offloads query processing tasks to mobile units Distributed processing Trading computation for communications to conserve energy

Number of messages sent by mobile objects (millions) Number of monitoring queries (thousands) MQM Safe Region Mobile Communication Cost

Server Processing Cost

Summary  Safe Region Object A does not need to update its location as long as it moves within the safe region  Resident Domain When Object A enters or exits a query’s area, A updates its location (and the query result) Q1Q1 Q2Q2 Q7Q7 Q6Q6 Q3Q3 Q5Q5 Q4Q4 Resident Domain A Q8Q8 Q9Q9 Safe Region

Resident Domain - Summary Resident Domain approach is highly scalable in terms of Mobile communication costs, and Server processing costs for real-time range monitoring queries

Many Variants Some examples:  Jun Zhang, Manli Zhu, Dimitris Papadias, Yufei Tao, and Dik Lee, “Location-based Spatial Queries,” in SIGMOD’03  Bugra Gelik and Ling Liu, “MobiEyes: Distributed Processing of Continuously Moving Queries on Moving Objects in Mobile Systems,” in EDBT’04  Fuyu Liu, Kien A. Hua, and Tai Do, “A P2P Technique for Continuous kNN Query in Road Networks,” in DEXA’07  Kihwan Kim, Ying Cai, and Wallapak Tavanapong, “Safe Time: Distributed Real-time Monitoring of cKNN in Mobile Peer-to-Peer Networks,” in MDM’08

Moving Queries over Stationary Objects  Safe Region and Resident Domain are proposed for stationary queries over moving objects  Moving queries over stationary objects  Example: Tell me gas stations within 3 miles of my current location  Technique: ─ The server sends a Self Computing Region (SCR) to each querying object ─ This SCR includes a set of stationary objects (e.g., gas stations) in the proximity ─ The querying object computes and updates its own query result ─ The querying object contacts the server when it moves out of its current SCR

Moving Range Query  Defined by a range (e.g., within 5 miles)  Moves in accordance with a specific moving object (e.g., car)  Results include objects (e.g., gas stations, other cars) currently inside the specified range.

Example - Moving Range Query Airport Show me Italian restaurants within 5 miles UCF

Query Properties  Query Mobility: moving vs. stationary  Query Shape: static vs. dynamic  Objects: moving vs. stationary  Environment: open space vs. network Open space: dealing with Euclidean distance Network: dealing with network distance

Dynamic Range Query (DRQ) Moving Range QueryDynamic Range Query Query Mobility Moving Query Shape StaticDynamic* Database Objects Moving Environment Network Complexity Less challengingMore challenging * Shape of query footprint changes dynamically

Network Distance d d Not included in the query result Included in the query result Moving Range Query Dynamic Range Query

Example – Dynamic Range Query  Give me all the AAA vehicles on service within five miles from me, while I am driving from Orlando to Miami.  How to answer such queries efficiently ?

DRQ - Dynamic Footprint Query Object

DRQ - Dynamic Footprint

Challenges  Server workload  Communication bandwidth  Limited battery power on client side  Dynamic query footprints One additional challenge !

System Assumptions  Every moving object is equipped with a positioning device.  Every moving object has some computing capability.

Modeling Graph  Network Undirected graph G = (N, E) N: a set of nodes E: a set of edges  Edge e = If i < j ○ n i : start node ○ n j : end node n 3 - start node n 4 - end node

Edge Distance Edge distance is the shortest netwrok distance between two edges: d(e i, e j ) = min( (d SS (e i, e j ), d SE (e i, e j ), d ES (e i, e j ), d EE (e i, e j ) ) SSSEES EE Network Distance between two edges –Four types of edge distance between two distinct edges: SS, SE, ES, EE

Moving Objects  Two types of moving objects for a given query Query object: the moving object defined as the spatial center of the dynamic range query Data object: other objects  A moving object is a moving point in the road network pos = relative position from the S-node (start node) direction = +1 if moving from S-node to E-node; -1, otherwise. Speed = object speed. Query objects must report new speed IsQuery = 1 if the object is a query object Compute New position of a moving object: newPos = (currentTime – reportTime)  speed  direction + pos

Object Distance Four possible network distances between two objects SS SEES EE nana nbnb oioi ncnc ndnd ojoj nbnb oioi ncnc ndnd ojoj nbnb oioi ncnc ndnd ojoj nana nana nbnb oioi ncnc ndnd ojoj nana The object distance is the minimum of the four, i.e., the shortest network distance.

Dynamic Range Query (DRQ)  Query has two parameters q = O q : query object range : the network space within the length distance from O q makes up the query range  Query result all moving objects within the query range (e.g., O d ) Query object Q q & query range = 5 Query result = {o i | o i  O, d(o i, o q ) ≤ length}

Monitoring Region  Position of query object Q determines the set of edges (road segments) that overlap with the current query range  As Q moves over an edge E, the union of the sets of overlapping edges corresponding to the different positions of Q defines the monitoring region of the DRQ when Q moves on E.

Monitoring Region Example Consider a query object Q moving on edge n 1 n 6 with a query range of 5 n1n1 n6n6 n2n2 n3n3 n 10 n9n9 n7n7 n8n8 n5n5 n4n Q The server first computes the monitoring region (purple segments), e.g., D( n 1 n 6, n 2 n 10 ) = min (3, 4, 7, 8) < 5 n 2 n 10 is part of the monitoring region,,,,,,, The SE- distance from n 1 n 6 is 2 For each edge in the monitoring region, the server then multicasts its edge distance from to all objects in the region

n1n1 n6n6 n2n2 n3n3 n 10 n9n9 n7n7 n8n8 n5n5 n4n Q D Processing on Mobile Host (1)  Query object Q /w range = 5, at location 3.6 on edge n 1 n 6.  Data object D at location 0.5 on edge n 2 n 10. Object D picks up only part of the message: {,, object Q ’s information },,,,,,, Multicast Message: Edge distances from E S S E

n1n1 n6n6 n2n2 n3n3 n 10 n9n9 n7n7 n8n8 n5n5 n4n Q D Processing on Mobile Host (2)  Query object Q /w Range = 5, at location 3.6 on edge n 1 n 6  Data object D at location 0.5 on edge n 2 n = 7.1 > (4 – 3.6) = 4.9 < 5 d(D,Q) = 4.9 < 5  Object D should be included in the query’s result. Object D continues to monitor its distance from Q (by estimating Q’s current positions) and update the query result on the server accordingly Object D uses the edge distances received from the multicast to compute its distance to Q S S E E

Some Storage Techniques for Networks  J. Zhao and A. Zaki, “Spatial Data Traversal in Road Map Databases: A Graph Indexing Approach,” CIKM ’94  D. Papadias, J. Zhang, N. Mamoulis and Y. Tao, “Query Processing in Spatial Network Databases,” VLDB ’03  S. Shekhar and D. Liu, “CCAM: A Connectivity Clustered Access Method for Networks and Network Computations,” IEEE Trans. on Knowledge and Data Engineering, 9(1), 1997

Summary  The server computes the monitoring region for each DRQ, and multicasts the information to moving objects inside the monitoring region.  Moving object uses the information received from the server to monitor if it is inside the query’s range. updates the server only when the new location changes the query result

Simulation Setup  Area of interest a square shaped region of 10,000 square miles 2000 nodes 4000 edges  100,000 moving objects Speeds vary between 0.5 and 1 mile per time unit Initial speeds follow a Zipf distribution with a skew factor of 0.7 Every time step, 10% of the objects change their speed at a small increment  10 to 1,000 queries

Performance Comparisons (1)  Communication cost Compared to Query-Blind Optimal (QBO) technique: ○ Moving objects send messages to server whenever they change speed or move to a new road segment ○ Server estimates object locations and update query results. Server can become a bottleneck This scheme incurs low communication cost and is used as a reference to study communication costs.

Performance Comparisons (2)  Server computation cost Compared to Query Indexing technique We adapted the Query Indexing technique for spatial network environments. Server maintains a list of relevant k-NN queries for each road segment When server receives location update from an object, the server ○ determines the segment the object is on, ○ retrieve the relevant k-NN queries, ○ updates the affected queries.

Server Communication Cost Effect of # of queries on server communication cost Naïve: Every object repeatedly reports its new location Every object constantly updates its location regardless of number of queries. Objects updates their location when they enter a new road segment or change speed regardless of number of queries. As number of queries increases, objects have more queries to update their results

Object Communication Cost Effect of # of queries on object-side communication cost Query Blind Optimal - Server Computation Cost is very high

Server Computation Cost (#segments loaded per time unit) Offloading query processing to mobile nodes greatly reduces server computation cost

Remarks  Use “road segment” as the unit for monitoring regions  Moving objects utilize their own computing power to help reduce server load and save wireless bandwidth  Distributed servers can be used for a very- large deployment, in which case the proposed technique keeps the number of servers low  A limitation - query result is an approximation due to location estimation A solution: Query objects must report their new speed

A Semi-P2P Approach  Query Processing Tracking the moving objects and the query regions Update query results when objects move in or out of the query regions  The DRQ solution is a semi-P2P approach Every moving object participates in query processing as a peer Server only provides the database service

Limitations  To mitigate communication bottleneck with the database server Safe Region Resident Domain  Limitations Communication Cost: still increases rapidly with the increases in number of participating objects Deployment Cost: is proportional to the number of participating objects Objects must be equipped with a GPS, computing device, and communication apparatus

Challenge  Is there a solution such that the deployment cost and the demand on server bandwidth are fixed regardless of the number of participants ?  Such an approach would be less expensive, and scalable to support a very large user community

Using Sensors Sensor-based Location-based Services (SLBS) As opposed to sending location updates from the objects to the server, mobile sensors (e.g., RFID readers) report the identities of mobile objects they detect

SLBS - Advantages  Number of sensors required is proportional to the area of the application terrain, not the number of participants  Demand on server bandwidth is proportional to the number of sensors, not the number of participants  Participants are not required to carry GPS and computing equipment → SLBS is applicable to a variety of applications

SLBS - Challenges  Standard LBS approach processes queries based on “precise” locations of moving objects  SLBS must process queries based on the presence of moving objects Due to location uncertainty, server must fuse information from multiple sensors to deduct the query results

Standard LBS deals with a Different Kind of Location Uncertainty  Location uncertainty due to communication delay  Some solutions Apply dead-reckoning update policy ○ Both server and mobile node estimate the new node location ○ If an estimated location deviates from the actual location by a certain threshold, the mobile node updates its location with the server Update when condition changes ○ Assume that objects move at constant speed on a known road ○ Objects notify server every time there is a change in direction or speed of movement

SLBS Example - RFID  RFID tags and readers Passive Tags: Use the radio frequency from the reader to transmit their data signal (i.e.. ID) Active Tags: Have on-board battery for power to transmit their data signal.  RFID Readers can detect the identification of mobile objects in the proximity (as opposed to sending location updates from objects to server)  The exact locations of the target objects are not known

CAWA: Continuous Approximate Where-About Queries  A CAWA query is a continuous query that tracks locations of a moving object to determine its whereabouts in the past t time units  The whereabouts of the object are represented by an MBR that encompasses the locations of the query object in the past t time units t = 1 t = 2 t = 3 t = 4 t = 5 Whereabouts in the past 4 time units

Motivation Many applications do not demand the precise locations of the objects of interest  Parents want to know if their child is still waiting at school  A student wants to know if a particular book has been returned to the library  A passenger wants to know if the next bus is arriving soon  The army wants to know that the convoy is currently contained within a friendly area

Uncertainty Region  If a target object is detected by one sensor, its uncertainty region is the entire sensing area  If a target object is detected by multiple sensors, its whereabouts can be narrowed down to a small region Whereabouts

Approximate Sensing Range Approximating the sensing area with a minimum bounding square.

Uncertainty Region Moving object Sensing range Object detected by a single sensor

Uncertainty Region Moving object Sensing range Uncertainty region (i.e., whereabouts) equals the sensing range Object detected by a single sensor

Uncertainty Region Less uncertainty Object detected by two sensors

Uncertainty Region Uncertainty reduces rapidly with increases in number of sensors Object detected by multiple sensors

CAWA: Continuous Approximate Whereabouts Query t = 1 t = 2 t = 3 t = 4 t = 5 Precise Answer

CAWA Query Processing t = 1 t = 2 CAWA result at time 2 Whereabouts at time 1 Whereabouts at time 1

CAWA Query Processing t = 1 t = 2 t = 3 CAWA result at time 3

CAWA Query Processing t = 1 t = 2 t = 3 t = 4 CAWA result at time 4

CAWA Query Processing t = 1 t = 2 t = 3 t = 4 t = 5 CAWA answer Query Window = 4

CAWA Query Processing t = 1 t = 2 t = 3 t = 4 t = 5 CAWA answer Query Window = 4 t = 5 Next CAWA answer, i.e., whereabouts in the last 5 time units

False Positive t = 1 t = 2 t = 3 t = 4 t = 5 CAWA answer Precise answer False positive

CAWA Algorithm SensorLocTable Contains mobile sensor locations QueryTable Contains current query objects DedectedObjTable Contains query objects detected by sensor in the current iteration WhereaboutsTable The whereabouts of all query objects for each iteration of the last T max time units (there could be multiple queries on the same query object) Periodically, the server performs the following procedure 1. Receives updates from sensors, updates SensorLocTable, and create new DetectedObjTable 2. Update the WhereabotsTable with new whereabouts computed from DetectedObjTable 3. Scan WhereaboutsTable to compute the query result for each query object Q i by computing the MBR for the whereabouts in the past W i time units. 4. Reports query results to users as the results become available

Distributed Processing - Initial Assignment  A query can be submitted to any one of the servers  If the initial server does not find the query object in its subdomain, it broadcasts the query to all other servers  The server that detects the new query object takes ownership of this new query

Distributed Processing - Handover When a query object is within a threshold of a neighboring subdomain belonging to server S i The current server informs S i about the query S i activates a timer and expects the query object to cross over by the end of the set time If S i still does not see the query object when the timer expires, S i can discard this handover request; otherwise S i is elevated to be the new responsible query server for this particular query

Performance Study FP TP FN Query Result Ground Truth

Parameters - Default Values  Terrain: 200  200 m 2  Sensing Coverage: 500%  Sensing Range: 2  2 m 2  Number of mobile nodes: 1,000  Number of queries: 100  Mobility Model: Random Waypoint model  Total simulation time is 1,000 seconds  Query window is 50 seconds

Effect of Sensor Coverage

Effect of Sensor Range

Effect of Node Mobility

Effect of relatively slow mobility  The object moves within some initial where-about area  A large CAWA answer compared to the correct answer  To address this effect, we need more mobile sensors. Sensor S 1 Sensor S 2 CAWA answer Correct answer

Summary & Conclusions  CAWA is a less expensive framework for location-based services Deployment cost is proportional to the area of the application terrain, not the number of participating mobile objects Precision and Recall are excellent with adequate sensing coverage (about 300% in our simulation study)  Computation complexity is O(N), with respect to number of sensors, not tracked objects Scalable – computation dependent on number of sensors, not number of moving objects  Similarly, communication cost is proportional to the number of sensors, not mobile objects.

k-NN Query  Object is assumed to be at center of its uncertainty region  3-NN of query O k are T 1, T 3, T 4. Uncertainty region

k-NN Query Processing 1. Determine the MBR that encloses the sensing ranges of all sensors that detect the query objects Q S1S1 S2S2 S3S3 MBR

k-NN Query Processing 1. Determine the MBR that encloses the sensing ranges of all sensors that detect the query objects 2. Count number of objects, O MBR, detected inside the MBR 3. Compute area per object (i.e., inverse of density): Q S1S1 S2S2 S3S3 MBR

k-NN Query Processing 1. Determine the MBR that encloses the sensing ranges of all sensors that detect the query objects 2. Count number of objects, O MBR, detected inside the MBR 3. Compute area per object (i.e., inverse of density): 4. Determine query area: 5. Determine dimensions of initial query area S×S: 6. Expand the query area, centered at query object, if there are less than k objects inside 7. Determine the k-NN from the set of objects inside the query area

Performance