Skip to main content
Log in

Moving Query Monitoring in Spatial Network Environments

  • Published:
Mobile Networks and Applications Aims and scope Submit manuscript

    We’re sorry, something doesn't seem to be working properly.

    Please try refreshing the page. If that doesn't work, please contact support so we can address the problem.

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Notes

  1. Please see Appendix for proof.

  2. Please see Appendix for details.

  3. 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.

  4. 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

  1. Loopt “Loopt: Discover the world around you”. http://www.loopt.com/. Accessed 26 Feb 2011

  2. Mouratidis K, Hadjieleftheriou M, Papadias D (2005) Conceptual partitioning: an efficient method for continuous nearest neighbor monitoring. In: SIGMOD conference, pp 634–645

  3. Agarwal PK, Arge L, Erickson J (2000) Indexing moving points. In: PODS, pp 175–186

  4. 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

  5. Mokbel MF, Xiong X, Aref WG (2004) Sina: scalable incremental processing of continuous queries in spatio-temporal databases. In: SIGMOD conference, pp 623–634

  6. Saltenis S, Jensen CS, Leutenegger ST, Lopez MA (2000) Indexing the positions of continuously moving objects. In: SIGMOD conference, pp 331–342

  7. Tao Y, Papadias D (2002) Time-parameterized queries in spatio-temporal databases. In: SIGMOD conference, pp 334–345

  8. Xia Y, Prabhakar S, Lei S, Cheng R, Shah R (2005) Indexing continuously changing data with mean-variance tree. In: SAC, pp 1125–1132

  9. Yu X, Pu KQ, Koudas N (2005) Monitoring k-nearest neighbor queries over moving objects. In: ICDE, pp 631–642

  10. 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

  11. 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

    Article  MathSciNet  Google Scholar 

  12. Hu H, Xu J, Lee DL (2005) A generic framework for monitoring continuous spatial queries over moving objects. In: SIGMOD conference, pp 479–490

  13. 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

    Article  Google Scholar 

  14. 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

  15. Cai Y, Hua KA, Cao G (2004) Processing range-monitoring queries on heterogeneous mobile objects. In: Mobile data management, pp 27–38

  16. 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

    Article  Google Scholar 

  17. Gedik B, Liu L (2004) Mobieyes: distributed processing of continuously moving queries on moving objects in a mobile system. In: EDBT, pp 67–87

  18. Gedik B, Liu L (2006) Mobieyes: a distributed location monitoring service using moving location queries. IEEE Trans Mob Comput 5(10):1384–1402

    Article  Google Scholar 

  19. Wu W, Guo W, Tan K-L (2007) Distributed processing of moving k-nearest-neighbor query on moving objects. In: ICDE, pp 1116–1125

  20. Wang H, Zimmermann R, Ku W-S (2006) Distributed continuous range query processing on moving objects. In: DEXA, pp 655–665

  21. 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

  22. Ku W-S, Zimmermann R, Wang H (2007) Location-based spatial queries with data sharing in wireless broadcast environments. In: ICDE, pp 1355–1359

  23. Liu F, Hua KA, Xie F (2008) On reducing communication cost for distributed moving query monitoring systems. In: MDM, pp 156–164

  24. Liu F, Do TT, Hua KA (2006) Dynamic range query in spatial network environments. In: DEXA, pp 254–265

  25. Liu F, Hua KA, Do TT (2007) A p2p technique for continuous k-nearest-neighbor query in road networks. In: DEXA, pp 264–276

  26. “The U.S. naval observatory gps timing operations,” http://tycho.usno.navy.mil/gps.html

  27. 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

    Article  Google Scholar 

  28. Papadias D, Zhang J, Mamoulis N, Tao Y (2003) Query processing in spatial network databases. In: VLDB, pp 802–813

  29. Kolahdouzan MR, Shahabi C (2004) Voronoi-based k nearest neighbor search for spatial network databases. In: VLDB, pp 840–851

  30. Hu H, Lee DL, Xu J (2006) Fast nearest neighbor search on road networks. In: EDBT, pp 186–203

  31. Hu H, Lee DL, Lee VCS (2006) Distance indexing on road networks. In: VLDB, pp 894–905

  32. Huang X, Jensen CS, Saltenis S (2005) The islands approach to nearest neighbor querying in spatial networks. In: SSTD, pp 73–90

  33. Kolahdouzan MR, Shahabi C (2004) Continuous k-nearest neighbor queries in spatial network databases. In: STDBM, pp 33–40

  34. Cho H-J, Chung C-W (2005) An efficient and scalable approach to cnn queries in a road network. In: VLDB, pp 865–876

  35. 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

  36. Mouratidis K, Yiu ML, Papadias D, Mamoulis N (2006) Continuous nearest neighbor monitoring in road networks. In: VLDB, pp 43–54

  37. Zhu M, Lee DL, Zhang J (2006) K-closest pair query monitoring over moving objects. In: MDM, p 14

  38. Jensen CS, Kolárvr J, Pedersen TB, Timko I (2003) Nearest neighbor queries in road networks. In: GIS, pp 1–8

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fuyu Liu.

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:

$$n = \left\lceil avg\_r / avg\_seg \right\rceil $$

the total number of segments covered by the query’s monitoring region, denoted as f(n), is:

$$f(n) = 4n^2 + 4n - 1 $$
(12)

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.

Fig. 18
figure 18

Monitoring regions for n = 1 and n = 2

This means that Eq. 12 holds when n = 1:

$$f(1) = 7 = 4 \times 1^2 + 4 \times 1 - 1 \label{eq:f(1)} $$
(13)

Now, assume that when n = k − 1, with k ≥ 2, we have

$$f(k-1) = 4(k-1)^2 + 4(k-1) -1 \label{eq:f(k-1)} $$
(14)

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.

Fig. 19
figure 19

Observations when n = 2

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.

Fig. 20
figure 20

Monitoring region for n = 3

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

$$\begin{array}{rll} f(k) & = &f(k-1) + (8k - 2) + 2 \nonumber \\ & = &f(k-1) + 8k \label{eq:f(k1)} \end{array}$$
(15)

After plugging Eq. 14 into Eq. 15, we get

$$\begin{array}{rll} f(k) & =& 4(k-1)^2 + 4(k-1) -1 + 8k \nonumber \\ & =& 4k^2 + 4k - 1 \label{eq:f(k2)} \end{array}$$
(16)

By combining Eq. 13, 14, and 16, we prove the correctness of Eq. 12 using mathematical induction.

Rights and permissions

Reprints 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

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11036-011-0298-2

Keywords

Navigation