A Distributed Spatial Index With High Update Efficiency for Location-Based Real-Time Services

A Distributed Spatial Index With High Update Efficiency for Location-Based Real-Time Services

Junhua Fang, Zonglei Zhang
Copyright: © 2023 |Pages: 28
DOI: 10.4018/JDM.318454
Article PDF Download
Open access articles are freely available for download

Abstract

LBS-RT (location-based service in a real-time manner) has become popular because it can provide quick and timely services. Range query is often used in LBS-RT, which finds objects in a specified area, and spatial indices are often used to speed up range query. However, in LBS-RT, there are some difficulties. Spatial index was originally designed to index static dataset, but the dataset is dynamic in LBS-RT, which needs lots of insert and delete operations. To meet the gap, this paper proposes a new distributed spatial index called GQ-QBS. It's a two-layer master-slave mode that consists of a global index and multiple local indices. The global index (GQ-tree) is responsible for the dynamic load balancing and auto-scaling, while the local index (QBS-tree) is for quickly updating and querying. Experiments show the index has a significant advantage in LBS-RT.
Article Preview
Top

Introduction

With the rapid development of wireless technology and the ubiquity of portable devices, Location-Based Service (LBS) (Lu et al., 2011; Usman et al., 2018; Zhu et al., 2017) is playing an increasingly important role in our daily life, such as navigation system (Win et al., 2011; Kawamata & Oku, 2019), location-based recommendation (Park et al., 2007; Ye et al., 2010) and traffic congestion prediction (Xu et al., 2020). As the primary data source for LBS, spatial-temporal data is known for its vital timeliness, which means its value decays quickly over time. Therefore, providing LBS-RT (Location Based Service in a real-time manner) by processing spatial-temporal data in real-time has become a hot topic.

Range query is a basic operation in LBS, and its function is to find all objects in a specified area. Spatial indexes are often used to speed up range query. Similarly, spatial indexes are often used in LBS-RT, and the following example of LBS-RT requires a spatial index. During a parade, the government monitors the size of the crowd in real-time to match the level of security measures. The crowd size can be accurately calculated by clustering the trajectory data generated in the last N minutes. The system needs to update the crowd size regularly to ensure timeliness. Trajectory clustering requires a large number of trajectory similarity searches. Many frameworks (Xie et al., 2017; Shang et al., 2018) that perform similarity search in a large trajectory set require a spatial index to speed up similarity search. LBS-RT only analyzes the data generated in the last N minutes. In Figure 1, those applications often use a sliding time window (Chen et al., 2019) to maintain data. Every time the window slides, outdated items slide out the time window, such as the two items at 9:02 and 9:03, new items slide into it, such as the two items at 9:31 and 9:34. Therefore, the index in LBS-RT needs to perform a lot of update operations.

Figure 1.

Sliding time window

JDM.318454.f01

R-tree (Guttman et al., 1984) and its variants (Leutenegger et al., 1997; A. Fu et al., 2000; Zhou et al., 2008; Kamel et al., 1994; Ciaccia et al., 1997; Y. Fu et al., 2003; Beckmann et al., 1990; Zaschke et al., 2014; Jung et al., 2014; Phan et al., 2017; Amaral et al., 2016; Xiong & Aref, 2006) are commonly used spatial indexes. Most variants are designed to improve the retrieval performance of R-tree, such as STR-tree (Leutenegger et al., 1997), VP-tree (A. Fu et al., 2000), KD-tree (Zhou et al., 2008), Hilbert-tree (Kamel et al., 1994), M-tree (Ciaccia et al., 1997), QR-tree (Y. Fu et al., 2003), R-star-tree (Beckmann et al., 1990) and PH-tree (Zaschke et al., 2014). These indexes don’t pay attention to improving update performance. Although some works (Zhang. F et al., 2014; Jo & Jung, 2018) use distributed methods to maintain index for improving update performance, they don’t reduce the resource consumption.

Complete Article List

Search this Journal:
Reset
Volume 35: 1 Issue (2024)
Volume 34: 3 Issues (2023)
Volume 33: 5 Issues (2022): 4 Released, 1 Forthcoming
Volume 32: 4 Issues (2021)
Volume 31: 4 Issues (2020)
Volume 30: 4 Issues (2019)
Volume 29: 4 Issues (2018)
Volume 28: 4 Issues (2017)
Volume 27: 4 Issues (2016)
Volume 26: 4 Issues (2015)
Volume 25: 4 Issues (2014)
Volume 24: 4 Issues (2013)
Volume 23: 4 Issues (2012)
Volume 22: 4 Issues (2011)
Volume 21: 4 Issues (2010)
Volume 20: 4 Issues (2009)
Volume 19: 4 Issues (2008)
Volume 18: 4 Issues (2007)
Volume 17: 4 Issues (2006)
Volume 16: 4 Issues (2005)
Volume 15: 4 Issues (2004)
Volume 14: 4 Issues (2003)
Volume 13: 4 Issues (2002)
Volume 12: 4 Issues (2001)
Volume 11: 4 Issues (2000)
Volume 10: 4 Issues (1999)
Volume 9: 4 Issues (1998)
Volume 8: 4 Issues (1997)
Volume 7: 4 Issues (1996)
Volume 6: 4 Issues (1995)
Volume 5: 4 Issues (1994)
Volume 4: 4 Issues (1993)
Volume 3: 4 Issues (1992)
Volume 2: 4 Issues (1991)
Volume 1: 2 Issues (1990)
View Complete Journal Contents Listing