Abstract
Moving queries over mobile objects are an important type of query in moving object database systems. In recent years, there have been quite a few works in this area. Due to the high frequency in location updates and the expensive cost of continuous query processing, server computation capacity and wireless communication bandwidth are the two limiting factors for large-scale deployment of moving object database systems. Many techniques have been proposed to address the server bottleneck including one using distributed servers. To address both scalability factors, distributed query processing techniques have been considered. These schemes enable moving objects to participate in query processing to substantially reduce the demand on server computation, and wireless communications associated with location updates. Most of these techniques, however, assume an open-space environment. Since Euclidean distance is different from network distance, techniques designed specifically for an open space cannot be easily adapted for a spatial network. In this paper, we present a distributed framework which can answer moving query over moving objects in a spatial network. To illustrate the effectiveness of the proposed framework, we study two representative moving queries, namely, moving range queries and moving k-nearest-neighbor queries. Detailed algorithms and communication mechanisms are presented. The simulation studies indicate that the proposed technique can significantly reduce server workload and wireless communication cost.
Similar content being viewed by others
Notes
Please see Appendix for proof.
Please see Appendix for details.
The modification is quite simple. Basically, oPos and (oeLength—oPos) should be replaced by the data object’s distances to the home edge’s nodes when appropriately.
The modification is quite simple. Basically, qPos and (eLength—qPos) should be replaced by the query object’s distances to the home edge’s nodes when appropriately.
References
Loopt “Loopt: Discover the world around you”. http://www.loopt.com/. Accessed 26 Feb 2011
Mouratidis K, Hadjieleftheriou M, Papadias D (2005) Conceptual partitioning: an efficient method for continuous nearest neighbor monitoring. In: SIGMOD conference, pp 634–645
Agarwal PK, Arge L, Erickson J (2000) Indexing moving points. In: PODS, pp 175–186
Kollios G, Gunopulos D, Tsotras VJ (1999) On indexing mobile objects. In: Proceedings of the eighteenth ACM SIGACT-SIGMOD-SIGART symposium on principles of database systems, 31 May–2 June 1999. ACM Press, Philadelphia, Pennsylvania, pp 261–272
Mokbel MF, Xiong X, Aref WG (2004) Sina: scalable incremental processing of continuous queries in spatio-temporal databases. In: SIGMOD conference, pp 623–634
Saltenis S, Jensen CS, Leutenegger ST, Lopez MA (2000) Indexing the positions of continuously moving objects. In: SIGMOD conference, pp 331–342
Tao Y, Papadias D (2002) Time-parameterized queries in spatio-temporal databases. In: SIGMOD conference, pp 334–345
Xia Y, Prabhakar S, Lei S, Cheng R, Shah R (2005) Indexing continuously changing data with mean-variance tree. In: SAC, pp 1125–1132
Yu X, Pu KQ, Koudas N (2005) Monitoring k-nearest neighbor queries over moving objects. In: ICDE, pp 631–642
Xiong X, Mokbel MF, Aref WG (2005) Sea-cnn: scalable processing of continuous k-nearest neighbor queries in spatio-temporal databases. In: ICDE, pp 643–654
Prabhakar S, Xia Y, Kalashnikov DV, Aref WG, Hambrusch SE (2002) Query indexing and velocity constrained indexing: scalable techniques for continuous queries on moving objects. IEEE Trans Comput 51(10):1124–1140
Hu H, Xu J, Lee DL (2005) A generic framework for monitoring continuous spatial queries over moving objects. In: SIGMOD conference, pp 479–490
Mouratidis K, Papadias D, Bakiras S, Tao Y (2005) A threshold-based algorithm for continuous monitoring of k nearest neighbors. IEEE Trans Knowl Data Eng 17(11):1451–1464
Cai Y, Hua KA (2002) An adaptive query management technique for real-time monitoring of spatial regions in mobile database systems. In: PCC ’02: proceedings of the performance, computing, and communications conference, 2002. On 21st IEEE International. IEEE Computer Society, Washington, DC, pp 259–266
Cai Y, Hua KA, Cao G (2004) Processing range-monitoring queries on heterogeneous mobile objects. In: Mobile data management, pp 27–38
Cai Y, Hua KA, Cao G, Xu T (2006) Real-time processing of range-monitoring queries in heterogeneous mobile databases. IEEE Trans Mob Comput 5(7):931–942
Gedik B, Liu L (2004) Mobieyes: distributed processing of continuously moving queries on moving objects in a mobile system. In: EDBT, pp 67–87
Gedik B, Liu L (2006) Mobieyes: a distributed location monitoring service using moving location queries. IEEE Trans Mob Comput 5(10):1384–1402
Wu W, Guo W, Tan K-L (2007) Distributed processing of moving k-nearest-neighbor query on moving objects. In: ICDE, pp 1116–1125
Wang H, Zimmermann R, Ku W-S (2006) Distributed continuous range query processing on moving objects. In: DEXA, pp 655–665
Do TT, Liu F, Hua KA (2007) When mobile objects’ energy is not so tight: a new perspective on scalability issues of continuous spatial query systems. In: DEXA, pp 445– 458
Ku W-S, Zimmermann R, Wang H (2007) Location-based spatial queries with data sharing in wireless broadcast environments. In: ICDE, pp 1355–1359
Liu F, Hua KA, Xie F (2008) On reducing communication cost for distributed moving query monitoring systems. In: MDM, pp 156–164
Liu F, Do TT, Hua KA (2006) Dynamic range query in spatial network environments. In: DEXA, pp 254–265
Liu F, Hua KA, Do TT (2007) A p2p technique for continuous k-nearest-neighbor query in road networks. In: DEXA, pp 264–276
“The U.S. naval observatory gps timing operations,” http://tycho.usno.navy.mil/gps.html
Shekhar S, Liu D-R (1997) Ccam: a connectivity-clustered access method for networks and network computations. IEEE Trans Knowl Data Eng 9(1):102–119
Papadias D, Zhang J, Mamoulis N, Tao Y (2003) Query processing in spatial network databases. In: VLDB, pp 802–813
Kolahdouzan MR, Shahabi C (2004) Voronoi-based k nearest neighbor search for spatial network databases. In: VLDB, pp 840–851
Hu H, Lee DL, Xu J (2006) Fast nearest neighbor search on road networks. In: EDBT, pp 186–203
Hu H, Lee DL, Lee VCS (2006) Distance indexing on road networks. In: VLDB, pp 894–905
Huang X, Jensen CS, Saltenis S (2005) The islands approach to nearest neighbor querying in spatial networks. In: SSTD, pp 73–90
Kolahdouzan MR, Shahabi C (2004) Continuous k-nearest neighbor queries in spatial network databases. In: STDBM, pp 33–40
Cho H-J, Chung C-W (2005) An efficient and scalable approach to cnn queries in a road network. In: VLDB, pp 865–876
Huang B, Huang Z, Lin D, Lu H, Song Y, Li H (2004) Itqs: an integrated transport query system. In: SIGMOD conference, pp 951–952
Mouratidis K, Yiu ML, Papadias D, Mamoulis N (2006) Continuous nearest neighbor monitoring in road networks. In: VLDB, pp 43–54
Zhu M, Lee DL, Zhang J (2006) K-closest pair query monitoring over moving objects. In: MDM, p 14
Jensen CS, Kolárvr J, Pedersen TB, Timko I (2003) Nearest neighbor queries in road networks. In: GIS, pp 1–8
Author information
Authors and Affiliations
Corresponding author
Appendix: Number of segments included in a monitoring region
Appendix: Number of segments included in a monitoring region
In this appendix, we will show that for the n defined as:
the total number of segments covered by the query’s monitoring region, denoted as f(n), is:
When n = 1, as shown in Fig. 18a, there are 7 segments in the monitoring region. The solid thick segment in the center is the segment where a query object is on. All the surrounding 6 segments are included in the monitoring region.
This means that Eq. 12 holds when n = 1:
Now, assume that when n = k − 1, with k ≥ 2, we have
The next step is to identify the relationship between f(k) and f(k − 1). When n = 2, the monitoring region is drawn in Fig. 18b. As we can see, the same segments inherited from when n = 1 are still included in the monitoring region, represented with solid thick segments. Moreover, there are new ones added into the monitoring region represented in the solid thin segments.
By comparing Figs. 18a and b, we can tell that when n is increased from 1 to 2, there are two groups of new segments added into the monitoring region, as depicted by the solid thin segments in Fig. 19a and b, respectively. The thin solid segments in Fig. 19a are the corner segments to be added into the new monitoring region. When n = 2, there are four such corner segments in each corner. When n = k, there will be 2k of such segments in the corner. Since there are four corners, there are 2k * 4 = 8k such segments, except two segments that are counted twice (the segments on the far left and right). So the number of segments belonging to the first set is 8k − 2. The second group of new segments is depicted in Fig. 19b. There is one solid thin segment that bridges the left-top corner and the right-top corner, similarly, there is another one in the bottom. When n is increased by one, there are always two new segments to be added into the new monitoring region.
To help verify these two observations, we draw the monitoring region for n = 3 in Fig. 20, which shows that there are 22 segments belonging to the first group and 2 segments from the second group.
As a conclusion, when n is increased from k − 1 to k, there are two groups of segments added into the new monitoring region. The first group has (8k − 2) segments, while the second group has 2 segments. Then we have
After plugging Eq. 14 into Eq. 15, we get
By combining Eq. 13, 14, and 16, we prove the correctness of Eq. 12 using mathematical induction.
Rights and permissions
About this article
Cite this article
Liu, F., Hua, K.A. Moving Query Monitoring in Spatial Network Environments. Mobile Netw Appl 17, 234–254 (2012). https://doi.org/10.1007/s11036-011-0298-2
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11036-011-0298-2