Peer-to-Peer Spatial Queries in Sensor Networks Murat Demirbas Hakan Ferhatosmanoglu The Ohio State University.

Slides:



Advertisements
Similar presentations
The A-tree: An Index Structure for High-dimensional Spaces Using Relative Approximation Yasushi Sakurai (NTT Cyber Space Laboratories) Masatoshi Yoshikawa.
Advertisements

Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Nearest Neighbor Queries using R-trees
1 Greedy Forwarding in Dynamic Scale-Free Networks Embedded in Hyperbolic Metric Spaces Dmitri Krioukov CAIDA/UCSD Joint work with F. Papadopoulos, M.
A Survey on Tracking Methods for a Wireless Sensor Network Taylor Flagg, Beau Hollis & Francisco J. Garcia-Ascanio.
Nearest Neighbor Queries using R-trees Based on notes from G. Kollios.
1 NNH: Improving Performance of Nearest- Neighbor Searches Using Histograms Liang Jin (UC Irvine) Nick Koudas (AT&T Labs Research) Chen Li (UC Irvine)
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
Common approach 1. Define space: assign random ID (160-bit) to each node and key 2. Define a metric topology in this space,  that is, the space of keys.
2-dimensional indexing structure
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Spatial Indexing for NN retrieval
Tracking Murat Demirbas SUNY Buffalo. A Pursuer-Evader Game for Sensor Networks Murat Demirbas Anish Arora Mohamed Gouda.
Scalable Application Layer Multicast Suman Banerjee Bobby Bhattacharjee Christopher Kommareddy ACM SIGCOMM Computer Communication Review, Proceedings of.
HyperCuP – P2P Network Boyko Syarov. 2 Outline  HyperCup: What is it?  Basic Concepts  Broadcasting Algorithm  Topology Construction  Ontology Based.
Spatial Indexing SAMs.
Distributed Quad-Tree for Spatial Querying in Wireless Sensor Networks (WSNs) Murat Demirbas, Xuming Lu Dept of Computer Science and Engineering, University.
LSRP: Local Stabilization in Shortest Path Routing Anish Arora Hongwei Zhang.
Chapter 3: Data Storage and Access Methods
Spatial Queries Nearest Neighbor Queries.
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
LPT for Data Aggregation in Wireless Sensor networks Marc Lee and Vincent W.S Wong Department of Electrical and Computer Engineering, University of British.
Distributed Quad-Tree for Spatial Querying in Wireless Sensor Networks (WSNs) Murat Demirbas, Xuming Lu Dept of Computer Science and Engineering, University.
Strategies for Implementing Dynamic Load Sharing.
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Wireless Distributed Sensor Networks Special Thanks to: Jasvinder Singh Hitesh Nama.
Mario Čagalj supervised by prof. Jean-Pierre Hubaux (EPFL-DSC-ICA) and prof. Christian Enz (EPFL-DE-LEG, CSEM) Wireless Sensor Networks:
Trip Planning Queries F. Li, D. Cheng, M. Hadjieleftheriou, G. Kollios, S.-H. Teng Boston University.
Glance: A lightweight querying service for wireless sensor networks Murat Demirbas SUNY Buffalo Anish Arora, Vinod Kulathumani Ohio State Univ.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
GS 3 GS 3 : Scalable Self-configuration and Self-healing in Wireless Networks Hongwei Zhang & Anish Arora.
Fast Subsequence Matching in Time-Series Databases Christos Faloutsos M. Ranganathan Yannis Manolopoulos Department of Computer Science and ISR University.
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Michael Vassilakopoulos.
1 SD-Rtree: A Scalable Distributed Rtree Witold Litwin & Cédric du Mouza & Philippe Rigaux.
SEMILARITY JOIN COP6731 Advanced Database Systems.
A Distributed Clustering Framework for MANETS Mohit Garg, IIT Bombay RK Shyamasundar School of Tech. & Computer Science Tata Institute of Fundamental Research.
The X-Tree An Index Structure for High Dimensional Data Stefan Berchtold, Daniel A Keim, Hans Peter Kriegel Institute of Computer Science Munich, Germany.
Research overview Murat Demirbas University at Buffalo, SUNY CSE Dept. iComp.
Minimum Average Routing Path Clustering Problem in Multi-hop 2-D Underwater Sensor Networks Presented By Donghyun Kim Data Communication and Data Management.
Introduction to The NSP-Tree: A Space-Partitioning Based Indexing Method Gang Qian University of Central Oklahoma November 2006.
Locating Mobile Agents in Distributed Computing Environment.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
WEAR: A Balanced, Fault-Tolerant, Energy-Aware Routing Protocol for Wireless Sensor Networks Kewei Sha, Junzhao Du, and Weisong Shi Wayne State University.
1 Shape Segmentation and Applications in Sensor Networks Xianjin Xhu, Rik Sarkar, Jie Gao Department of CS, Stony Brook University INFOCOM 2007.
Nearest Neighbor Queries Chris Buzzerd, Dave Boerner, and Kevin Stewart.
Bin Yao (Slides made available by Feifei Li) R-tree: Indexing Structure for Data in Multi- dimensional Space.
On Computing Top-t Influential Spatial Sites Authors: T. Xia, D. Zhang, E. Kanoulas, Y.Du Northeastern University, USA Appeared in: VLDB 2005 Presenter:
A Membership Management Protocol for Mobile P2P Networks Mohamed Karim SBAI, Emna SALHI, Chadi BARAKAT.
Performance Comparison of xBR-trees and R*-trees for Single Dataset Spatial Queries Performance Comparison of xBR-trees and R*-trees for Single Dataset.
1 30 November 2006 An Efficient Nearest Neighbor (NN) Algorithm for Peer-to-Peer (P2P) Settings Ahmed Sabbir Arif Graduate Student, York University.
R-Trees: A Dynamic Index Structure For Spatial Searching Antonin Guttman.
BATON A Balanced Tree Structure for Peer-to-Peer Networks H. V. Jagadish, Beng Chin Ooi, Quang Hieu Vu.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
Self-stabilizing energy-efficient multicast for MANETs.
1 CSIS 7101: CSIS 7101: Spatial Data (Part 1) The R*-tree : An Efficient and Robust Access Method for Points and Rectangles Rollo Chan Chu Chung Man Mak.
ICIIS Peradeniya, Sri Lanka1 An Enhanced Top-Down Cluster and Cluster Tree Formation Algorithm for Wireless Sensor Networks H. M. N. Dilum Bandara,
R* Tree By Rohan Sadale Akshay Kulkarni.  Motivation  Optimization criteria for R* Tree  High level Algorithm  Example  Performance Agenda.
1 Reverse Nearest Neighbor Queries for Dynamic Databases SHOU Yu Tao Jan. 10 th, 2003 SIGMOD 2000.
Spatio-Temporal Databases. Term Project Groups of 2 students You can take a look on some project ideas from here:
1 Spatial Query Processing using the R-tree Donghui Zhang CCIS, Northeastern University Feb 8, 2005.
Mehdi Kargar Department of Computer Science and Engineering
Strategies for Spatial Joins
Introduction to Wireless Sensor Networks
Vineet Mittal Should more be added here Committee Members:
Wireless Sensor Network Architectures
Nearest Neighbor Queries using R-trees
DHT Routing Geometries and Chord
Spatio-Temporal Databases
Spatial Indexing I R-trees
Presentation transcript:

Peer-to-Peer Spatial Queries in Sensor Networks Murat Demirbas Hakan Ferhatosmanoglu The Ohio State University

Sensor networks A sensor node:  8K RAM, 4Mhz processor  magnetism, heat, sound, vibration, infrared  wireless communication up to 200 feet  costs ~$10 (right now costs $100) Applications include:  ecology monitoring, precision agriculture  military and surveillance In OSU, we developed a tracking service for DARPA-NEST  classify trespassers as car, soldier, civilian  report the tracking information to a base-station (laptop) for visualization

Spatial queries in sensor networks The primary goal of sensor networks is to monitor spatial information about a region of interest  Nearest neighbor (NN) queries are essential : What is the location of the nearest data object to (x,y) ? Database systems  R-tree for efficient execution of nearest neighbor queries

Challenges in sensor networks energy constrained nodes, network contention :  programs should avoid excessive communication  centralized programs are not suitable  work in database systems not readily applicable faults :  data is noisy  nodes fail in complex ways  on site maintenance is not feasible  self-healing programs are needed

P2P spatial queries in sensor networks Pursuer- evader tracking A pursuer should be able to query a node for the location of the closest evader Every node is a peer : –each node (not only the base- station) can insert a query –each node can participate in the processing of the query query is processed as local as possible

Our contributions We present a peer-to-peer query processing system where  only the relevant nodes for the correct execution of the query are involved in the query execution (for minimizing energy and response time)  the indexing structure, peer-tree, is self-stabilizing (for achieving eventually correct answers in the presence of faults)

Outline Model Peer-tree structure P2P nearest neighbor queries Pursuer – evader tracking revisited Conclusions

Model  Geometric network model (2-D)  Connected graph; duplex links  Transient faults  Maximal parallelism in node actions

Outline Model Peer-tree structure P2P nearest neighbor queries Pursuer – evader tracking revisited Conclusions

C B R-tree structure Approximately balanced tree A node holds n to 2n (c,mbr) pairs : –c is the child pointer –mbr is the minimum bounding rectangle (MBR) of all rectangles at c Rectangles at any level may be overlapping Every descending path in the tree is a sequence of nested rectangles with the last one containing the actual data A E F D G H FEDGH BC A. x y

Peer-tree construction Hierarchical partitioning of a sensor network based on the number of nodes (n to 2n) contained at each cluster  every node cooperates at level 1 of the partitioning  only clusterheads of level i cooperate for level i+1 Every node v maintains  l.v : highest level of construction v has cooperated  p.v(i), 0<i=<l.v : parent of v at level i  c.v(i), 0<i=<l.v : children of v at level i  mbr.v(i) : MBR of v(i) calculated using c.v(i)  Peer-tree is the tree that c pointers embed over the network Two actions  Join/form cluster  Split a cluster

Join/form a cluster v executes a join/form cluster action if l.v=i yet p.v(i)=nil v searches for a node with l= i+1, at increasingly larger radii :  if such a node is encountered v joins that node’s cluster Else, if v encounters n nodes with l=i during its search :  v waits for a random time (to avoid formation of multiple clusters that are concurrently started by multiple nearby nodes)  if v is not contacted within this wait, v forms a cluster p.v(i)=v, l.v=i+1, c.v(i+1) is set, mbr.v(i+1) is calculated

Split cluster During concurrent executions of join/form cluster action by multiple nodes, a level i clusterhead v may end up with > 2n children v assigns extra level i clusterheads among its children and ensures that each cluster has n to 2n nodes

Peer-tree

Self-stabilization of peer-tree v’s i’th level cluster is collapsed if: c.v(i)<n, or there is a node u in c.v(i) s.t.,  u  mbr.v(i), or  p.u  v the nodes in the collapsed cluster join neighboring clusterheads or form their clusters

Outline Model Peer-tree structure P2P nearest neighbor queries Pursuer – evader tracking revisited Conclusions

NN queries over traditional R-tree The search starts from the root (highest) level, and performs a traversal of the relevant MBRs The MBRs that are guaranteed not to have the closest data point are pruned  e.g., MINDIST, the shortest possible distance from a point in an MBR to (x,y), is larger than the current candidate for NN At every iteration, the algorithm  sorts the MBRs with respect to their MINDIST,  considers the first item in the list, expands its children, and inserts them to the list for processing

P2P NN queries over Peer-tree Any node in the network can submit an NN query concerning any coordinate (x,y) If the query can be answered locally, there is no need to propagate it till the root (highest) level :  query is propagated up if (x,y) is not enclosed within current MBR At some level a clusterhead that contains (x,y) is reached :  from this point on, the query is sent to children  children are ordered with respect to MINDIST  this way only the most relevant children are queried

NN query execution query (x,y)

NN query execution query (x,y)

P2P NN queries If (x,y) is not within MBR of v at level i, mbr.v(i), then forward query to p.v(i) let u be the first encountered clusterhead that contains (x,y) u forwards query to relevant children in c.u While the query is traveling downwards, each clusterhead  sorts the children wrt MINDIST  prunes list using the replies from queried children A level 0 node returns its nearest distance NN, reply is propagated up u aggregates the replies  if (x,y) is encapsulated by c.u, the reply is sent to querying node  else, u punts the query to its clusterhead

NN query execution query (x’,y’)

Tradeoff : time vs. energy Minimal response time  The clusterhead forwards the query to its relevant children in parallel (concurrent execution) Minimal energy consumption  The clusterhead forwards the query to its relevant children sequentially (to maximize pruning) Optimizing both  Hybrid of the above

Outline Model Peer-tree structure P2P nearest neighbor queries Pursuer – evader tracking revisited Conclusions

Pursuer-evader problem Evader is omniscient; Strategy of evader is unknown Pursuer can only see state of nearest node; Pursuer moves faster than evader Required is to design a program for nodes and pursuer so that pursuer can catch evader (despite the occurrence of faults) [Demirbas, Arora, Gouda]

Evader-centric program (cont.) Tracking tree is dynamically rooted at the evader Parent of a node is closer to the evader

Evader-centric program (cont.) Tracking tree is dynamically rooted at the evader Parent of a node is closer to the evader

Evader-centric program (cont.) Tracking tree is dynamically rooted at the evader Parent of a node is closer to the evader

Pursuer-evader tracking via P2P spatial queries The pursuer submits an NN query with its own location to find out the location of the nearest evader to itself  On demand approach  No tracking tree is maintained, a clusterhead is only aware of the existence of an evader in its region, but does not know where it is

Conclusions We have presented for the first time a peer-to-peer spatial query processing system for sensor networks We are implementing this system in the context of our work on tracking services for sensor network (LITS) Indexing in database systems, peer-to-peer systems, sensor networks have a lot of similarities (as well as distinctions)  peer-tree is based on R-tree concept in database systems  possible to extend peer-tree for wired systems since energy is no longer an issue, scalability and load balancing can be improved by inserting long links