Abstract
The wide adaptation of GPS and cellular technologies has created many applications (e.g., location-based, tracking, geo-fencing, and surveillance) that collect and maintain large repositories of data in the form of trajectories. Each trajectory contains the spatial locations collected for a given moving object over an ordered sequence of time instants. Previous work on querying and analyzing trajectorial data typically falls into methods that either addresses spatial range and nearest neighbor queries, or similarity based queries. Nevertheless, trajectories are complex moving objects whose behavior over time and space can be better captured as a sequence of interesting events. We thus facilitate the use of motion pattern queries that allow the user to select trajectories based on specific motion patterns. Such patterns are described as regular expressions over a spatial alphabet that can be implicitly or explicitly anchored to the time domain. Moreover, we are interested in “flexible” patterns that allow the user to include variables in the pattern query, and thus greatly increase its expressive power. In this chapter, we present a system called FlexTrack for efficient processing of flexible pattern queries. FlexTrack includes an underlying indexing structure and algorithms for query processing using different evaluation strategies. Using both synthetic and real datasets an extensive performance evaluation of the FlexTrack system shows significant performance improvement when compared to baseline approaches.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
NAVCEN, U.C.G.N.C.: Navstar GPS User Equipment Introduction. http://www.navcen.uscg.gov/pubs/gps/gpsuser/gpsuser.pdf (1996)
Consumer & Governmental Affairs Bureau, F.: Wireless 911 services. http://www.fcc.gov/guides/wireless-911-services
AccuTracking Inc.: AccuTracking. http://www.accutracking.com (2012)
iSECUREtrac: tracNET24. http://www.isecuretrac.com (2012)
Path Intelligence Inc.: FootPath. http://www.pathintelligence.com (2011)
Instedd Inc.: GeoChat. http://www.instedd.org/technologies/geochat/
Ijeh, A., Brimicombe, A., Preston, D., Imafidon, C.: Geofencing in a security strategy model. In: H. Jahankhani, A. Hessami, F. Hsu (eds.) Global Security, Safety, and Sustainability, Communications in Computer and Information Science, vol. 45, pp. 104–111. Springer, Berlin Heidelberg (2009). DOI http://dx.doi.org/10.1007/978-3-642-04062-7_11
Kollios, G., Papadopoulos, D., Gunopulos, D., Tsotras, V.J.: Indexing mobile objects using dual transformations. The VLDB Journal 14(2), 238–256 (2005). DOI http://dx.doi.org/10.1007/s00778-004-0139-z
Pelanis, M., Saltenis, S., Jensen, C.S.: Indexing the past, present, and anticipated future positions of moving objects. ACM Trans. Database Syst. 31(1), 255–298 (2006). DOI http://dx.doi.org/10.1145/1132863.1132870
Tao, Y., Faloutsos, C., Papadias, D., Liu, B.: Prediction and indexing of moving objects with unknown motion patterns. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 611–622. ACM (2004). DOI http://dx.doi.org/10.1145/1007568.1007637
Tao, Y., Papadias, D.: Time-parameterized queries in spatio-temporal databases. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 334–345. ACM (2002). DOI http://dx.doi.org/10.1145/564691.564730
Tao, Y., Sun, J., Papadias, D.: Analysis of predictive spatio-temporal queries. ACM Trans. Database Syst. pp. 295–336 (2003). DOI http://dx.doi.org/10.1145/958942.958943
Hadjieleftheriou, M., Kollios, G., Tsotras, V.J., Gunopulos, D.: Indexing spatiotemporal archives. The VLDB Journal 15(2), 143–164 (2006). DOI http://dx.doi.org/10.1007/s00778-004-0151-3
Pfoser, D., Jensen, C.S., Theodoridis, Y.: Novel approaches in query processing for moving object trajectories. In: Proceedings of the International Conference on Very Large Data Bases (VLDB), pp. 395–406 (2000)
Benetis, R., Jensen, S., Karciauskas, G., Saltenis, S.: Nearest and reverse nearest neighbor queries for moving objects. The VLDB Journal 15(3), 229–249 (2006). DOI http://dx.doi.org/10.1007/s00778-005-0166-4
Aggarwal, C.C., Agrawal, D.: On nearest neighbor indexing of nonlinear trajectories. In: Proceedings of the ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS), pp. 252–259. ACM (2003). DOI http://dx.doi.org/10.1145/773153.773178
Ferhatosmanoglu, H., Stanoi, I., Agrawal, D., Abbadi, A.E.: Constrained nearest neighbor queries. In: Proceedings of the International Symposium on Advances in Spatial and Temporal Databases (SSTD), Lecture Notes in Computer Science, vol. 2121, pp. 257–278. Springer (2001). DOI http://dx.doi.org/10.1007/3-540-47724-1_14
Cudre-Mauroux, P., Wu, E., Madden, S.: Trajstore: An adaptive storage system for very large trajectory data sets. In: Proceedings of the IEEE International Conference on Data Engineering (ICDE), pp. 109–120. IEEE Computer Society (2010). DOI http://dx.doi.org/10.1109/ICDE.2010.5447829
Lee, J.G., Han, J., Whang, K.Y.: Trajectory clustering: a partition-and-group framework. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 593–604. ACM (2007). DOI http://dx.doi.org/10.1145/1247480.1247546
Mamoulis, N., Cao, H., Kollios, G., Hadjieleftheriou, M., Tao, Y., Cheung, D.W.: Mining, indexing, and querying historical spatiotemporal data. In: Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 236–245. ACM (2004). DOI http://dx.doi.org/10.1145/1014052.1014080
Papadias, D., Tao, Y., Zhang, J., Mamoulis, N., Shen, Q., Sun, J.: Indexing and retrieval of historical aggregate information about moving objects. IEEE Data Eng. Bull. (2002)
Papadias, D., Shen, Q., Tao, Y., Mouratidis, K.: Group nearest neighbor queries. In: Proceedings of the IEEE International Conference on Data Engineering (ICDE), pp. 301–312. IEEE Computer Society (2004). DOI http://dx.doi.org/10.1109/ICDE.2004.1320006
Bakalov, P., Hadjieleftheriou, M., Tsotras, V.J.: Time relaxed spatiotemporal trajectory joins. In: Proceedings of the ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, pp. 182–191. ACM (2005). DOI http://dx.doi.org/10.1145/1097064.1097091
Arumugam, S., Jermaine, C.: Closest-point-of-approach join for moving object histories. In: Proceedings of the IEEE International Conference on Data Engineering (ICDE), pp. 86–86. IEEE Computer Society (2006). DOI http://dx.doi.org/10.1109/ICDE.2006.36
Vieira, M.R., Bakalov, P., Tsotras, V.J.: Querying trajectories using flexible patterns. In: Proceedings of the International Conference on Extending Database Technology (EDBT), pp. 406–417. ACM (2010). DOI http://dx.doi.org/10.1145/1739041.1739091
Vieira, M.R., Bakalov, P., Tsotras, V.J.: FlexTrack: A system for querying flexible patterns in trajectory databases. In: Proceedings of the International Symposium on Advances in Spatial and Temporal Databases (SSTD), Lecture Notes in Computer Science, vol. 6849, pp. 475–480. Springer, Berlin Heidelberg (2011). DOI http://dx.doi.org/10.1007/978-3-642-22922-0_34
Esri: ArcGIS. http://www.esri.com (2013)
Sadri, R., Zaniolo, C., Zarkesh, A., Adibi, J.: Expressing and optimizing sequence queries in database systems. ACM Trans. Database Syst. 29(2), 282–318 (2004). DOI http://dx.doi.org/10.1145/1005566.1005568
Seshadri, P., Livny, M., Ramakrishnan, R.: SEQ: A model for sequence databases. In: Proceedings of the IEEE International Conference on Data Engineering (ICDE), pp. 232–239. IEEE Computer Society (1995). DOI http://dx.doi.org/10.1109/ICDE.1995.380388
Agrawal, J., Diao, Y., Gyllstrom, D., Immerman, N.: Efficient pattern matching over event streams. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 147–160. ACM (2008). DOI http://dx.doi.org/10.1145/1376616.1376634
du Mouza, C., Rigaux, P., Scholl, M.: Efficient evaluation of parameterized pattern queries. In: Proceedings of the ACM International Conference on Information and Knowledge Management (CIKM), pp. 728–735. ACM (2005). DOI http://dx.doi.org/10.1145/1099554.1099731
Erwig, M., Schneider, M.: Spatio-temporal predicates. IEEE Trans. on Knowl. and Data Eng. 14(4), 881–901 (2002). DOI http://dx.doi.org/10.1109/TKDE.2002.1019220
Hadjieleftheriou, M., Kollios, G., Bakalov, P., Tsotras, V.J.: Complex spatio-temporal pattern queries. In: Proceedings of the International Conference on Very Large Data Bases (VLDB), pp. 877–888 (2005)
Sakr, M.A., Güting, R.H.: Spatiotemporal pattern queries in SECONDO. In: Proceedings of the International Symposium on Advances in Spatial and Temporal Databases (SSTD), Lecture Notes in Computer Science, vol. 5644, pp. 422–426. Springer, Berlin Heidelberg (2009). DOI http://dx.doi.org/10.1007/978-3-642-02982-0_32
Tao, Y., Papadias, D., Shen, Q.: Continuous nearest neighbor search. In: Proceedings of the International Conference on Very Large Data Bases (VLDB), pp. 287–298 (2002)
Agarwal, P.K., Arge, L., Erickson, J.: Indexing moving points. In: Proceedings of the ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS), pp. 175–186. ACM (2000). DOI http://dx.doi.org/10.1145/335168.335220
Cai, M., Revesz, P.: Parametric R-tree: An index structure for moving objects. In: COMAD, pp. 57–64 (2000)
Elbassioni, K.M., Elmasry, A., Kamel, I.: An efficient indexing scheme for multi-dimensional moving objects. In: International Conference on Database Theory (ICDT), pp. 425–439. Springer-Verlag (2003). DOI http://dx.doi.org/10.1007/3-540-36285-1_28
Jensen, C.S., Lin, D., Ooi, B.: Query and update efficient B+-Tree based indexing of moving objects. In: Proceedings of the International Conference on Very Large Data Bases (VLDB), pp. 768–779 (2004)
Patel, J.M., Chen, Y., Chakka, V.P.: Stripes: an efficient index for predicted trajectories. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 635–646. ACM (2004). DOI http://dx.doi.org/10.1145/1007568.1007639
Prabhakar, S., Xia, Y., Kalashnikov, D.V., Aref, W.G., Hambrusch, S.E.: Query indexing and velocity constraint indexing: Scalable techniques for continuous queries on moving objects. IEEE Trans. on Computers pp. 1–17 (2002). DOI http://dx.doi.org/10.1109/TC.2002.1039840
Saltenis, S., Jensen, C.S.: Indexing of moving objects for location-based services. In: Proceedings of the IEEE International Conference on Data Engineering (ICDE), pp. 463–472. IEEE Computer Society (2002). DOI http://dx.doi.org/10.1109/ICDE.2002.994759
Tao, Y., Papadias, D.: MV3R-Tree: A spatio-temporal access method for timestamp and interval queries. In: Proceedings of the International Conference on Very Large Data Bases (VLDB), pp. 431–440 (2001)
Tao, Y., Papadias, D., Sun, J.: The TPR*-tree: An optimized spatio-temporal access method for predictive queries. In: Proceedings of the International Conference on Very Large Data Bases (VLDB), pp. 790–801. VLDB Endowment (2003)
Mokbel, M.F., Aref, W.G.: SOLE: scalable on-line execution of continuous queries on spatio-temporal data streams. The VLDB Journal17(5), 971–995 (2008). DOI http://dx.doi.org/10.1007/s00778-007-0046-1
Anagnostopoulos, A., Vlachos, M., Hadjieleftheriou, M., Keogh, E.J., Yu, P.S.: Global distance-based segmentation of trajectories. In: Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 34–43. ACM (2006). DOI http://dx.doi.org/10.1145/1150402.1150411
Cai, Y., Ng, R.: Indexing spatio-temporal trajectories with Chebyshev polynomials. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 599–610. ACM (2004). DOI http://dx.doi.org/10.1145/1007568.1007636
Ni, J., Ravishankar, C.V.: PA-Tree: A parametric indexing scheme for spatio-temporal trajectories. In: Proceedings of the International Symposium on Advances in Spatial and Temporal Databases (SSTD), Lecture Notes in Computer Science, vol. 3633, pp. 254–272. Springer-Verlag (2005). DOI http://dx.doi.org/10.1007/11535331_15
Lee, S.L., Chun, S.J., Kim, D.H., Lee, J.H., Chung, C.W.: Similarity search for multidimensional data sequences. In: Proceedings of the IEEE International Conference on Data Engineering (ICDE), pp. 599–608. IEEE Computer Society (2000). DOI http://dx.doi.org/10.1109/ICDE.2000.839473
Yanagisawa, Y., Akahani, J.i., Satoh, T.: Shape-based similarity query for trajectory of mobile objects. In: M.S. Chen, P. Chrysanthis, M. Sloman, A. Zaslavsky (eds.) Mobile Data Management, Lecture Notes in Computer Science, vol. 2574, pp. 63–77. Springer, Berlin Heidelberg (2003). DOI http://dx.doi.org/10.1007/3-540-36389-0_5
Vlachos, M., Kollios, G., Gunopulos, D.: Discovering similar multidimensional trajectories. In: Proceedings of the IEEE International Conference on Data Engineering (ICDE), pp. 673–684. IEEE Computer Society (2002). DOI http://dx.doi.org/10.1109/ICDE.2002.994784
IBM: Informix. http://www.ibm.com/software/data/informix/ (2012)
Mokhtar, H., Su, J., Ibarra, O.: On moving object queries. In: Proceedings of the ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS), pp. 188–198. ACM (2002). DOI http://dx.doi.org/10.1145/543613.543638
Sakr, M.A., Güting, R.H.: Spatiotemporal pattern queries. GeoInformatica 15(3), 497–540 (2011). DOI http://dx.doi.org/10.1007/s10707-010-0114-3
Qu, Y., Wang, C., Gao, L., Wang, X.S.: Supporting movement pattern queries in user-specified scales. IEEE Trans. on Knowl. and Data Eng. 15(1), 26–42 (2003). DOI http://dx.doi.org/10.1109/TKDE.2003.1161580
Laube, P., Imfeld, S., Weibel, R.: Discovering relative motion patterns in groups of moving point objects. J. of Geog. Inf. Science 19(6), 639–668 (2005). DOI http://dx.doi.org/10.1080/13658810500105572
Knuth, D.E., Jr., J.H.M., Pratt, V.R.: Fast pattern matching in strings. SIAM J. Comput. 6(2), 323–350 (1977). DOI http://dx.doi.org/10.1145/1146809.1146812
Nievergelt, J., Hinterberger, H., Sevcik, K.C.: The grid file: An adaptable, symmetric multikey file structure. ACM Trans. Database Syst. 9(1), 38–71 (1984). DOI http://dx.doi.org/10.1145/348.318586
Robinson, J.T.: The K-D-B-tree: a search structure for large multidimensional dynamic indexes. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 10–18. ACM (1981). DOI http://dx.doi.org/10.1145/582318.582321
Freeston, M.: The BANG file: A new kind of grid file. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 260–269. ACM (1987). DOI http://dx.doi.org/10.1145/38713.38743
Fagin, R., Lotem, A., Naor, M.: Optimal aggregation algorithms for middleware. In: Proceedings of the ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS), pp. 102–113. ACM (2001). DOI http://dx.doi.org/10.1145/375551.375567
The Chorochronos Archive: The R Tree Portal. http://www.chorochronos.org (2013)
Moussalli, R., Vieira, M.R., Najjar, W.A., Tsotras, V.J.: Stream-mode FPGA acceleration of complex pattern trajectory querying. In: Proceedings of the International Symposium on Advances in Spatial and Temporal Databases (SSTD), Lecture Notes in Computer Science, vol. 8098, pp. 201–222. Springer (2013). DOI http://dx.doi.org/10.1007/978-3-642-40235-7_12
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2013 The Author(s)
About this chapter
Cite this chapter
Vieira, M.R., Tsotras, V.J. (2013). Flexible Pattern Queries. In: Spatio-Temporal Databases. SpringerBriefs in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-02408-0_2
Download citation
DOI: https://doi.org/10.1007/978-3-319-02408-0_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-02407-3
Online ISBN: 978-3-319-02408-0
eBook Packages: Computer ScienceComputer Science (R0)