Research Article

Research on the fast geolocation algorithm based on Bloom filter

Weitong Wang*
Weihai International College, Beijing Jiaotong University, Weihai, Shandong, 100044, China

* Corresponding author: [email protected]

Abstract

With the rapid development of geolocation information services, which involves large-scale location data querying, including map data and user location data. Traditional data storage and query methods face challenges of storage space and query efficiency, and the ability to process real-time geolocation data becomes critical in Geographic Information Services positioning systems that require servers to achieve millisecond-level response speeds. In addition to this, in geolocation services, for a given latitude and longitude information, it is necessary to quickly determine whether it exists or matches some specific location in the map service. The common traditional information finding algorithm in geographic location service is B-tree, and this paper proposes a geographic location information finding algorithm based on the Bloom filter, which mainly solves two problems. One is the storage problem of large amounts of latitude and longitude information; the other is how to convert the data stored in bytes level to bits level, which greatly reduces the space complexity and the inefficient information finding. The Bloom filter reduces the query time to linear time complexity O(n). The fastest query time for 5 million items of latitude and longitude information can reach 3.12 seconds. This article will illustrate the efficiency of the proposed method through a real-time traffic navigation scenario.

Keywords: Geographic Information Services(GIS); space compression; bloom filter; bitmap
Published: January 31, 2024
DOI: 10.54254/2755-2721/31/20230171
Volume: ACE Vol.31
pp. 290-295
Download PDF

References

  1. Tsou, MH. (2002). An Operational Metadata Framework for Searching, Indexing, and Retrieving Distributed Geographic Information Services on the Internet. In: Egenhofer, M.J., Mark, D.M. (eds) Geographic Information Science. GIScience 2002. Lecture Notes in Computer Science, vol 2478. Springer, Berlin, Heidelberg.
  2. CHANG, F., DEAN, J., GHEMAWAT, S., HSIEH, W. C., WALLACH, D. A., BURROWS, M., CHANDRA, T., FIKES, A., AND GRUBER, R. E. Bigtable: a distributed storage system for structured data. In OSDI ’06: Proceedings of the 7th Symposium on Operating Systems Design and Implementation (Nov. 2006), pp. 205–218.
  3. GHEMAWAT, S., GOBIOFF, H., AND LEUNG, S.-T. The Google file system. In SOSP ’03: Proceedings of the 19th ACM Symposium on Operating Systems Principles (Oct. 2003), pp. 29–43.
  4. Hu, T. C., Tan, K. C.: Least upper bound on the cost of optimum binary search trees. Acta Informatica 1, 307–310 (1972).
  5. Bayer, R. Symmetric binary B-Trees: Data structure and maintenance algorithms. Acta Informatica 1, 290–306 (1972). https://doi.org/10.1007/BF00289509
  6. Bloom Burton H. 1970. Space/time trade-offs in hash coding with allowable errors. Communications of the ACM 13, 7 (July 1970), 422–426.