                          

Pervasive computing is all about making information, data and services available everywhere and anytime. The explosion of huge amounts of data largely distributed and produced by different means (sensors, devices, networks, analysis processes, more generally data services) and the requirements to have queries processed on the right information, at the right place, at the right time has lead to new research challenges for querying. For example, query processing can be done, locally in the car, on PDA or mobile phone or it can be delegated to a distant server accessible through Internet. Data and services can therefore be queried and managed by stationary or nomad devices, using different networks. The main objective of this chapter is to present a general overview of existing approaches on query processing and our vision on query evaluation in pervasive environments. It illustrates, with scenarios and practical examples, existing data and streams querying systems in pervasive environments. It describes the evaluation process of (i) mobile queries and queries on moving objects, (ii) continuous queries and (iii) stream queries. Finally, the chapter introduces our vision of query processing as a service composition in pervasive environments.

[1]  Hyman Krakower The Reading Section , 1945 .

[2]  Patricia G. Selinger,et al.  Access path selection in a relational database management system , 1979, SIGMOD '79.

[3]  James F. Allen Maintaining knowledge about temporal intervals , 1983, CACM.

[4]  Karen Ward,et al.  Dynamic query evaluation plans , 1989, SIGMOD '89.

[5]  Gio Wiederhold,et al.  Mediators in the architecture of future information systems , 1992, Computer.

[6]  Goetz Graefe,et al.  The Volcano optimizer generator: extensibility and efficient search , 1993, Proceedings of IEEE 9th International Conference on Data Engineering.

[7]  Tomasz Imielinski,et al.  Data management for mobile computing , 1993, SGMD.

[8]  Srinivasan Seshan,et al.  Low-Latency Handoff for Cellular Data Networks , 1996 .

[9]  A. Prasad Sistla,et al.  Modeling and querying moving objects , 1997, Proceedings 13th International Conference on Data Engineering.

[10]  Elisa Bertino,et al.  Indexing Techniques for Advanced Database Systems , 1997, The Springer International Series on Advances in Database Systems.

[11]  David J. DeWitt,et al.  Efficient mid-query re-optimization of sub-optimal query execution plans , 1998, SIGMOD '98.

[12]  Evaggelia Pitoura,et al.  Data Management for Mobile Computing , 1997, The Kluwer International Series on Advances in Database Systems.

[13]  Vijay Kumar,et al.  Location dependent data and its management in mobile databases , 1998, Proceedings Ninth International Workshop on Database and Expert Systems Applications (Cat. No.98EX130).

[14]  Bharat K. Bhargava,et al.  Data Consistency in Intermittently Connected Distributed Systems , 1999, IEEE Trans. Knowl. Data Eng..

[15]  Daniel Barbará,et al.  Mobile Computing and Databases - A Survey , 1999, IEEE Trans. Knowl. Data Eng..

[16]  Dieter Pfoser,et al.  Capturing the Uncertainty of Moving-Object Representations , 1999, SSD.

[17]  Klaus R. Dittrich,et al.  An overview and classification of mediated query systems , 1999, SGMD.

[18]  Peter J. Haas,et al.  Ripple joins for online aggregation , 1999, SIGMOD '99.

[19]  Yannis Theodoridis,et al.  Evaluation of Access Structures for Discretely Moving Points , 1999, Spatio-Temporal Database Management.

[20]  Calton Pu,et al.  Continual Queries for Internet Scale Event-Driven Information Delivery , 1999, IEEE Trans. Knowl. Data Eng..

[21]  Joseph M. Hellerstein,et al.  Eddies: continuously adaptive query processing , 2000, SIGMOD '00.

[22]  Mehul A. Shah,et al.  Adaptive Query Processing: Technology in Evolution , 2000, IEEE Data Eng. Bull..

[23]  David J. DeWitt,et al.  NiagaraCQ: a scalable continuous query system for Internet databases , 2000, SIGMOD '00.

[24]  Luc Bouganim,et al.  Dynamic query scheduling in data integration systems , 2000, Proceedings of 16th International Conference on Data Engineering (Cat. No.00CB37073).

[25]  Christian S. Jensen,et al.  Indexing the positions of continuously moving objects , 2000, SIGMOD '00.

[26]  Yannis Manolopoulos,et al.  Overlapping Linear Quadtrees and Spatio-Temporal Query Processing , 2000, Comput. J..

[27]  M. Franklin,et al.  XJoin: A Reactively-Scheduled Pipelined Join Operator , 2000, IEEE Data Eng. Bull..

[28]  Yannis Manolopoulos,et al.  Closest pair queries in spatial databases , 2000, SIGMOD '00.

[29]  Cristina Ribeiro,et al.  Query operations for moving objects database systems , 2000, GIS '00.

[30]  Dennis Shasha,et al.  WebFilter: A High-throughput XML-based Publish and Subscribe System , 2001, VLDB.

[31]  Jennifer Widom,et al.  Continuous queries over data streams , 2001, SGMD.

[32]  Divyakant Agrawal,et al.  Constrained Nearest Neighbor Queries , 2001, Encyclopedia of GIS.

[33]  Konstantinos Kalpakis,et al.  Modeling Moving Objects for Location Based Services , 2001, Infrastructure for Mobile and Wireless Systems.

[34]  Margaret H. Dunham,et al.  Location dependent query processing , 2001, MobiDe '01.

[35]  Nick Roussopoulos,et al.  K-Nearest Neighbor Search for Moving Query Point , 2001, SSTD.

[36]  Ouri Wolfson,et al.  A Spatiotemporal Model and Language for Moving Objects on Road Networks , 2001, SSTD.

[37]  Oscar H. Ibarra,et al.  Moving Objects: Logical Relationships and Queries , 2001, SSTD.

[38]  Tomasz Imielinski,et al.  Wireless Graffiti - Data, Data Everywhere Matters , 2002, VLDB.

[39]  Walid G. Aref,et al.  Query Indexing and Velocity Constrained Indexing: Scalable Techniques for Continuous Queries on Moving Objects , 2002, IEEE Trans. Computers.

[40]  Chin-Wan Chung,et al.  Selectivity estimation for spatio-temporal queries to moving objects , 2002, SIGMOD '02.

[41]  Michael Stonebraker,et al.  Monitoring Streams - A New Class of Data Management Applications , 2002, VLDB.

[42]  Takahiro Kawamura,et al.  Semantic Matching of Web Services Capabilities , 2002, SEMWEB.

[43]  Sharad Mehrotra,et al.  Dynamic Queries over Mobile Objects , 2002, EDBT.

[44]  Joseph M. Hellerstein,et al.  Partial results for online query processing , 2002, SIGMOD '02.

[45]  Jennifer Widom,et al.  Models and issues in data stream systems , 2002, PODS.

[46]  David Maier,et al.  Distributed Query Processing and Catalogs for Peer-to-Peer Systems , 2003, CIDR.

[47]  Dimitrios Gunopulos,et al.  On-Line Discovery of Dense Areas in Spatio-temporal Databases , 2003, SSTD.

[48]  Hassan A. Karimi,et al.  A predictive location model for location-based services , 2003, GIS '03.

[49]  Yufei Tao,et al.  Location-based spatial queries , 2003, SIGMOD '03.

[50]  Yufei Tao,et al.  Query Processing in Spatial Network Databases , 2003, VLDB.

[51]  Divyakant Agrawal,et al.  Range and kNN Query Processing for Moving Objects in Grid Model , 2003, Mob. Networks Appl..

[52]  Jennifer Widom,et al.  STREAM: The Stanford Stream Data Manager , 2003, IEEE Data Eng. Bull..

[53]  Lukasz Golab,et al.  Issues in data stream management , 2003, SGMD.

[54]  Yannis Theodoridis,et al.  Ten Benchmark Database Queries for Location-based Services , 2003, Comput. J..

[55]  Bo Xu,et al.  Time-series prediction with applications to traffic and moving objects databases , 2003, MobiDe '03.

[56]  Krithi Ramamritham,et al.  Processing of location-dependent continuous queries on real-time spatial data: the view from RETINA , 2003, 14th International Workshop on Database and Expert Systems Applications, 2003. Proceedings..

[57]  Frederick Reiss,et al.  TelegraphCQ: Continuous Dataflow Processing for an Uncertain World , 2003, CIDR.

[58]  Ralf Hartmut Güting,et al.  Managing moving objects on dynamic transportation networks , 2004, Proceedings. 16th International Conference on Scientific and Statistical Database Management, 2004..

[59]  A. Prasad Sistla,et al.  Updating and Querying Databases that Track Mobile Units , 1999, Distributed and Parallel Databases.

[60]  Thierry Delot,et al.  Evaluating Location Dependent Queries Using ISLANDS , 2004, ISSADS.

[61]  Cyril Labbé,et al.  PinS: peer to peer interrogation and indexing system , 2004, Proceedings. International Database Engineering and Applications Symposium, 2004. IDEAS '04..

[62]  Antonis Markopoulos,et al.  Efficient Location-Based Hard Hando. Algorithms for Cellular Systems , 2004, NETWORKING.

[63]  Walid G. Aref,et al.  SINA: scalable incremental processing of continuous queries in spatio-temporal databases , 2004, SIGMOD '04.

[64]  Ioana Manolescu,et al.  Lazy query evaluation for Active XML , 2004, SIGMOD '04.

[65]  Christian S. Jensen,et al.  Towards A Streams-Based Framework for Defining Location-Based Queries , 2004, STDBM.

[66]  Klaus H. Hinrichs,et al.  Managing uncertainty in moving objects databases , 2004, TODS.

[67]  Frank Dürr,et al.  On location models for ubiquitous computing , 2004, Personal and Ubiquitous Computing.

[68]  Johannes Gehrke,et al.  Query Processing in Sensor Networks , 2003, CIDR.

[69]  Alfons Kemper,et al.  StreamGlobe: Processing and Sharing Data Streams in Grid-Based P2P Infrastructures , 2005, VLDB.

[70]  Ralf Hartmut Güting,et al.  Modeling and querying moving objects in networks , 2006, The VLDB Journal.

[71]  Özgür Ulusoy,et al.  A data mining approach for location prediction in mobile environments , 2005, Data Knowl. Eng..

[72]  Yannis Manolopoulos Spatial Databases: Technologies, Techniques and Trends , 2005, Spatial Databases.

[73]  Christian S. Jensen,et al.  Techniques for efficient road-network-based tracking of moving objects , 2005, IEEE Transactions on Knowledge and Data Engineering.

[74]  Feifei Li,et al.  On Trip Planning Queries in Spatial Databases , 2005, SSTD.

[75]  Zoubir Mammeri,et al.  Query processing in mobile environments: a survey and open problems , 2005, First International Conference on Distributed Frameworks for Multimedia Applications.

[76]  Christian S. Jensen,et al.  Nearest and reverse nearest neighbor queries for moving objects , 2006, The VLDB Journal.

[77]  Eduardo Mena,et al.  Applications of Moving Objects Databases , 2005, Spatial Databases.

[78]  Jianwen Su,et al.  A Query Language for Moving Object Trajectories , 2005, SSDBM.

[79]  Bo Xu,et al.  MOBI-DIC: MOBIle DIscovery of loCal Resources in Peer-to-Peer Wireless Network , 2005, IEEE Data Eng. Bull..

[80]  Maha Abdallah,et al.  Scalable Range Query Processing for Large-Scale Distributed Database Applications , 2005, IASTED PDCS.

[81]  Yufei Tao,et al.  Historical spatio-temporal aggregation , 2005, TOIS.

[82]  Ying Xing,et al.  The Design of the Borealis Stream Processing Engine , 2005, CIDR.

[83]  Annika Hinze,et al.  Evolving Triggers for Dynamic Environments , 2006, EDBT.

[84]  Byunggu Yu,et al.  Interpolating and Using Most Likely Trajectories in Moving-Objects Databases , 2006, DEXA.

[85]  Eduardo Mena,et al.  Location-dependent queries in mobile contexts: distributed processing using mobile agents , 2006, IEEE Transactions on Mobile Computing.

[86]  Pankaj K. Agarwal,et al.  Scalable continuous query processing by tracking hotspots , 2006, VLDB.

[87]  Kien A. Hua,et al.  Real-time processing of range-monitoring queries in heterogeneous mobile databases , 2006, IEEE Transactions on Mobile Computing.

[88]  Jimeng Sun,et al.  Spatio-temporal join selectivity , 2006, Inf. Syst..

[89]  Manfred Hauswirth,et al.  Similarity Queries on Structured Data in Structured Overlays , 2006, 22nd International Conference on Data Engineering Workshops (ICDEW'06).

[90]  Ling Liu,et al.  MobiEyes: A Distributed Location Monitoring Service Using Moving Location Queries , 2006, IEEE Transactions on Mobile Computing.

[91]  Walid G. Aref,et al.  SOLE: scalable on-line execution of continuous queries on spatio-temporal data streams , 2008, The VLDB Journal.

[92]  Nikos Pelekis,et al.  Algorithms for Nearest Neighbor Search on Moving Object Trajectories , 2007, GeoInformatica.

[93]  Yufei Tao,et al.  Range search on multidimensional uncertain data , 2007, TODS.

[94]  Ying Xing,et al.  A Cooperative, Self-Configuring High-Availability Solution for Stream Processing , 2007, 2007 IEEE 23rd International Conference on Data Engineering.

[95]  Wang-Chien Lee,et al.  On Searching Continuous k Nearest Neighbors in Wireless Data Broadcast Systems , 2007, IEEE Transactions on Mobile Computing.

[96]  Hans-Arno Jacobsen,et al.  Adaptive location constraint processing , 2007, SIGMOD '07.

[97]  Kyriakos Mouratidis,et al.  Continuous Nearest Neighbor Queries over Sliding Windows , 2007 .

[98]  Johannes Gehrke,et al.  Cayuga: A General Purpose Event Monitoring System , 2007, CIDR.

[99]  Hans-Peter Kriegel,et al.  Probabilistic Nearest-Neighbor Query on Uncertain Objects , 2007, DASFAA.

[100]  Yan Luo,et al.  Mobile local search via P2P databases , 2008, PORTABLE-POLYTRONIC 2008 - 2nd IEEE International Interdisciplinary Conference on Portable Information Devices and the 2008 7th IEEE Conference on Polymers and Adhesives in Microelectronics and Photonics.

[101]  Nicole Bidoit,et al.  Machines pour flux de données. Comparaison de langages de requêtes continues , 2008, Ingénierie des Systèmes d Inf..

[102]  Bo Xu,et al.  Spatial queries in disconnected mobile networks , 2008, GIS '08.

[103]  Chi-Yin Chow,et al.  Probabilistic Verifiers: Evaluating Constrained Nearest-Neighbor Queries over Uncertain Data , 2008, 2008 IEEE 24th International Conference on Data Engineering.

[104]  Wei Wu,et al.  Continuous Reverse k-Nearest-Neighbor Monitoring , 2008, The Ninth International Conference on Mobile Data Management (mdm 2008).

[105]  Bo Xu,et al.  In-network query processing in mobile P2P databases , 2009, GIS.

[106]  Christine Collet,et al.  Efficiently Coordinating Services for Querying Data in Dynamic Environments , 2009, 2009 Mexican International Conference on Computer Science.

[107]  Jean-Marc Petit,et al.  A simple (yet powerful) algebra for pervasive environments , 2010, EDBT '10.

[108]  Thierry Delot,et al.  Vehicular event sharing with a mobile peer-to-peer architecture , 2010 .