Abstract
We study the continuous evaluation of spatial join queries and extensions thereof, defined by interesting combinations of sensor readings (events) that co-occur in a spatial neighborhood. An example of such a pattern is “a high temperature reading in the vicinity of at least four high-pressure readings”. We devise protocols for ‘in-network’ evaluation of this class of queries, aiming at the minimization of power consumption. In addition, we develop cost models that suggest the appropriateness of each protocol, based on various factors, including selectivity of query elements, energy requirements for sensing, and network topology. Finally, we experimentally compare the effectiveness of the proposed solutions on an experimental platform that emulates real sensor networks.
Similar content being viewed by others
Notes
We assume that the locations of sensors are known to them. They could be constant and apriori defined (for stationary, manually placed sensors), or detected by GPS devices placed on the sensors.
Without loss of generality, we assume that all sensors have the same communication range. Our protocols and filtering techniques can be easily adjusted for the generic case.
Low-selectivity joins output few results while high-selectivity joins produce many results.
In fact, if s i receives m > k messages, we have multiple query results, one for each \(m\choose k\) combination of border nodes. Nonetheless all these results can be compressed to a single tuple containing s i and all qualifying border nodes.
A node that qualifies both predicates sends its message up to max {x,λ − x} hops.
For a fixed product Sel(P 2)·Sel(P 1), the probability for a sensor to qualify either P 1 or P 2 (i.e., 1 − (1 − Sel(P 1))(1 − Sel(P 2))) is minimized when Sel(P 2) = Sel(P 1) and increases with r.
Let p be the packet loss rate of each sensor node. Consider a fixed retransmission scheme, where each sensor node repeats z times its transmitting/receiving/idle listening operation. Thus, the probability of successfully transmitting a packet (between neighbors) increases rapidly from (1 − p) to (1 − p z). For example, suppose that the original packet loss rate is p = 0.2 (i.e., successful transmission probability of 0.8). At z = 2 (z = 3), we double (triple) the energy consumption of sensors and the successful transmission probability (between neighbors) rises to 0.96 (0.992). Thus, we are able to achieve a very high successful transmission probability, with only a small factor z in energy consumption.
References
D.J. Abadi, S. Madden, and W. Lindner. “REED: Robust, Efficient filtering and event detection in sensor networks,” in Proc. of VLDB, 2005.
B.J. Bonfils and P. Bonnet. “Adaptive and decentralized operator placement for in-network query processing,” in Proc. of IPSN, 2003.
P. Bonnet, J. Gehrke, and P. Seshadri. “Towards sensor database systems,” in Proc. of MDM, 2001.
D. Chu, A. Deshpande, J. Hellerstein, and W. Hong. “Approximate data collection in sensor networks using probabilistic models,” in Proc. of ICDE, 2006.
J. Considine, F. Li, G. Kollios, and J.W. Byers. “Approximate aggregation techniques for sensor databases,” in Proc. of ICDE, 2004.
A. Deligiannakis, Y. Kotidis, and N. Roussopoulos. “Compressing historical information in sensor networks,” in Proc. of ACM SIGMOD, 2004.
A. Deligiannakis, Y. Kotidis, and N. Roussopoulos. “Hierarchical in-network data aggregation with quality guarantees,” in Proc. of EDBT, 2004.
A. Deshpande, C. Guestrin, S. Madden, J.M. Hellerstein, and W. Hong. “Model-driven data acquisition in sensor networks,” in Proc. of VLDB, 2004.
M. Hadjieleftheriou, N. Mamoulis, and Y. Tao. “Continuous constraint query evaluation for spatiotemporal streams,” in Proc. of SSTD, 2007.
C. Intanagonwiwat, R. Govindan, and D. Estrin. “Directed diffusion: A scalable and robust communication paradigm for sensor networks,” in Proc. of MOBICOM, 2000.
Y. Kotidis. “Snapshot queries: Towards data-centric sensor networks,” in Proc. of ICDE, 2005.
Y. Kotidis. “Processing proximity queries in sensor networks,” in International Workshop on Data Management for Sensor Networks, 2006.
S. Madden, M.J. Franklin, J.M. Hellerstein, and W. Hong. “TAG: A tiny aGgregation service for Ad-hoc sensor networks,” in Proc. of OSDI, 2002.
S. Madden, M.J. Franklin, J.M. Hellerstein, and W. Hong. “TinyDB: An acquisitional query processing system for sensor networks,” ACM TODS, Vol. 30(1):122–173, 2005.
A. Mainwaring, D. Culler, J. Polastre, R. Szewczyk, and J. Anderson. “Wireless sensor networks for habitat monitoring,” in Proc. of WSNA, 2002.
A. Manjhi, S. Nath, and P.B. Gibbons. “Tributaries and deltas: Efficient and robust aggregation in sensor network streams,” in Proc. of ACM SIGMOD, 2005.
J. Paek, K. Chintalapudi, J. Cafferey, R. Govindan, and S. Masri. “A wireless sensor network for structural health monitoring: Performance and experience,” in Proc. of the 2nd IEEE Workshop on Embedded Networked Sensors, 2005.
A. Pandit and H. Gupta. “Communication-efficient implementation of range-joins in sensor networks,” in Proc. of DASFAA, 2006.
M.A. Sharaf, J. Beaver, A. Labrinidis, and P.K. Chrysanthis. “Balancing energy efficiency and quality of aggregate data in sensor networks,” VLDB Journal, Vol. 13(4):384–403, 2004.
G. Simon, M. Maróti, Á. Lédeczi, G. Balogh, B. Kusy, A. Nádas, G. Pap, J. Sallai, and K. Frampton. “Sensor network-based countersniper system,” in Proc. of SenSys, 2004.
A. Soheili, V. Kalogeraki, and D. Gunopulos. “Spatial queries in sensor networks,” in Proc. of ACM GIS, 2005.
U. Srivastava, K. Munagala, and J. Widom. “Operator placement for in-network stream query processing,” in Proc. of ACM PODS, 2005.
X. Yang, H.-B. Lim, M. Tamer Özsu, K.-L. Tan. “In-network execution of monitoring queries in sensor networks,” in Proc. of ACM SIGMOD, 2007.
Y. Yao and J. Gehrke. “The cougar approach to In-network query processing in sensor networks,” SIGMOD Record, Vol. 31(3):9–18, 2002.
M.L. Yiu, N. Mamoulis, and S. Bakiras. “Retrieval of spatial join pattern instances from sensor networks,” in Proc. of SSDBM, 2007.
H. Yu, E.-P. Lim, and J. Zhang. “On in-network synopsis join processing for sensor networks,” in MDM, 2006.
F. Zhao and L. Guibas. Wireless Sensor Networks: An Information Processing Approach. Elsevier/Morgan Kaufmann, 2004.
Author information
Authors and Affiliations
Corresponding author
Additional information
Work supported by grant HKU 7155/06E from Hong Kong RGC. A preliminary version of this work appeared in [25], available at http://www.cs.aau.dk/∼mly/ssdbm07_senpat.pdf.
Rights and permissions
About this article
Cite this article
Yiu, M.L., Mamoulis, N. & Bakiras, S. Retrieval of Spatial Join Pattern Instances from Sensor Networks. Geoinformatica 13, 57–84 (2009). https://doi.org/10.1007/s10707-007-0043-y
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10707-007-0043-y