Computer Science ›› 2026, Vol. 53 ›› Issue (4): 252-259.doi: 10.11896/jsjkx.250900115

• Database & Big Data & Data Science • Previous Articles     Next Articles

Fast Map Matching Method Based on Trajectory Micro-segment Model

KANG Jun, GAO Shengkai, LAI Jiabao   

  1. School of Information Engineering, Chang’an University, Xi’an 710018, China
  • Received:2025-09-17 Revised:2025-11-13 Online:2026-04-15 Published:2026-04-08
  • About author:KANG Jun,born in 1975,Ph.D,asso-ciate professor,master’s supervisor,is a member of CCF(No.56262M).His main research interests include big data analysis,spatiotemporal trajectory data mining,and traffic behavior feature analysis and recognition.

Abstract: Map matching is one of the core technologies in intelligent transportation systems,aiming to map GPS trajectory data to urban road networks,eliminate positioning errors,and reconstruct actual driving paths.With the explosive growth of GPS tra-jectory data volume,traditional HMM(Hidden Markov Model)-based map matching methods struggle to meet real-time proces-sing requirements due to high computational costs and temporal dependency constraints.To address this,this paper proposes a fast map matching method based on a trajectory micro-segment model(Micro-Segment Fast Matching,MSFM).By leveraging a sliding window mechanism,the proposed method decomposes trajectories into fixed-length micro-segments and employs vecto-rized computation techniques in a distributed computing environment.This approach significantly improves computational efficiency while maintaining map matching accuracy.Experimental results demonstrate that,under a distributed cluster configuration,MSFM achieves a map matching speed of approximately 110 000 points per second,which is 7 times faster than baseline algorithms,while retaining a 95.86% matching accuracy.By optimizing the storage structure of trajectory data,the MSFM method exhibits significant performance advantages in real-time processing of large-scale trajectory data with high efficiency.

Key words: Map matching, Micro-segment, Hidden Markov model, Distributed computing, Vectorized computation

CLC Number: 

  • TP311.13
[1]ZHENG Y,ZHOU X.Computing with spatial trajectories[M].Springer Science & Business Media,2011.
[2]LUO Q,HE S,HAN X,et al.LSTTN:A long-short term transformer-based spatiotemporal neural network for traffic flow forecasting[J].Knowledge-Based Systems,2024,293:111637.
[3]JUAN Z,ZHANG J,GAO M.A multimodal travel route recommendation system leveraging visual Transformers and self-attention mechanisms[J].Frontiers in Neurorobotics,2024,18:1439195.
[4]QUDDUS M A,OCHIENG W Y,NOLAND R B.Current map-matching algorithms for transport applications:State-of-the art and future research directions[J].Transportation Research part C:Emerging Technologies,2007,15(5):312-328.
[5]RABINER L,JUANG B.An introduction to hidden Markovmodels[J].IEEE Assp Magazine,1986,3(1):4-16.
[6]NEWSON P,KRUMM J.Hidden Markov map matchingthrough noise and sparseness[C]//Proceedings of the 17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems.2009.
[7]ZAHARIA M,CHOWDHURY M,DAS T,et al.Resilient distributed datasets:A {Fault-Tolerant} abstraction for {In-Memory} cluster computing[C]//Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation(NSDI 12).2012.
[8]YANG C,GIDOFALVI G.Fast map matching,an algorithm integrating hidden Markov model with precomputation[J].International Journal of Geographical Information Science,2018,32(3):547-70.
[9]GUTTMAN A.R-trees:A dynamic index structure for spatialsearching[C]//Proceedings of the 1984 ACM SIGMOD International Conference on Management of Data.1984.
[10]FINKEL R A,BENTLEY J L.Quad trees a data structure for retrieval on composite keys[J].Acta Knformatica,1974,4:1-9.
[11]BALKIĆ Z,ŠOŠTARIĆ D,HORVAT G.GeoHash and UUID identifier for multi-agent systems[C]//Proceedings of the Agent and Multi-Agent Systems Technologies and Applications:6th KES International Conference(KES-AMSTA 2012).2012:25-27.
[12]ISHIGURO T,SASAI T,FUKUSHIMA S,et al.Leveragingtrajectory simplification for efficient map-matching on road network[C]//Proceedings of the 2024 25th IEEE International Conference on Mobile Data Management(MDM).2024.
[13]KOLLER H,WIDHALM P,DRAGASCHNIG M,et al.Fast hidden Markov model map-matching for sparse and noisy trajectories[C]//Proceedings of the 2015 IEEE 18th International Conference on Intelligent Transportation Systems.2015.
[14]HART P E,NILSSON N J,RAPHAEL B.A formal basis for the heuristic determination of minimum cost paths[J].IEEE Transactions on Systems Science and Cybernetics,1968,4(2):100-107.
[15]GOLDBERG A V,HARRELSON C.Computing the shortestpath:A search meets graph theory[C]//Proceedings of the SODA.2005.
[16]DOGRAMADZI M,KHAN A.Accelerated map matching forGPS trajectories[J].IEEE Transactions on Intelligent Transportation Systems,2021,23(5):4593-4602.
[17]FU X,ZHANG J,ZHANG Y.An Online Map Matching Algorithm Based on Second-Order Hidden Markov Model[J].Journal of Advanced Transportation,2021,2021(1):9993860.
[18]HUANG J,QIAO S,YU H,et al.Parallel map matching onmassive vehicle gps data using mapreduce[C]//Proceedings of the 2013 IEEE 10th International Conference on High Perfor-mance Computing and Communications & 2013 IEEE Internatio-nal Conference on Embedded and Ubiquitous Computing.2013.
[19]DEAN J,GHEMAWAT S.MapReduce:simplified data proces-sing on large clusters[J].Communications of the ACM,2008,51(1):107-113.
[20]ALVES P D,QUOC V N H,ZHENG B,et al.A framework for parallel map-matching at scale using Spark[J].Distributed and Parallel Databases,2019,37:697-720.
[21]YU J,WU J,SARWAT M.Geospark:A cluster computingframework for processing large-scale spatial data[C]//Procee-dings of the 23rd SIGSPATIAL International Conference on Advances in Geographic Information Systems.2015.
[1] ZHANG Manjing, HE Yulin, LI Xu, HUANG Zhexue. Distributed Two-stage Clustering Method Based on Node Sampling [J]. Computer Science, 2025, 52(2): 134-144.
[2] WANG Hancheng, DAI Haipeng, CHEN Zhipeng, CHEN Shusen, CHEN Guihai. Large-scale Network Community Detection Algorithm Based on MapReduce [J]. Computer Science, 2024, 51(4): 11-18.
[3] HAN Qiqi, LIU Xin. Application of Air-Sea Coupled Mode in High-speed Interconnection Environment [J]. Computer Science, 2023, 50(11A): 221000136-5.
[4] WANG Ru-bin, LI Rui-yuan, HE Hua-jun, LIU Tong, LI Tian-rui. Distributed Distance Join Algorithm for Massive Spatial Data [J]. Computer Science, 2022, 49(1): 95-100.
[5] QIAN Tian-tian, ZHANG Fan. Emotion Recognition System Based on Distributed Edge Computing [J]. Computer Science, 2021, 48(6A): 638-643.
[6] YUAN Chen-yu, XIE Zai-peng, ZHU Xiao-rui, QU Zhi-hao, XU Yuan-yuan. Convolutional Optimization Algorithm Based on Distributed Coding [J]. Computer Science, 2021, 48(2): 47-54.
[7] ZHANG Cheng-wei, LUO Feng-e, DAI Yi. Prediction Method of Flight Delay in Designated Flight Plan Based on Data Mining [J]. Computer Science, 2020, 47(11A): 464-470.
[8] ZHANG Jing, YANG Jian, SU Peng. Survey of Monosyllable Recognition in Speech Recognition [J]. Computer Science, 2020, 47(11A): 172-174.
[9] JIA Zhi-chun, LI Xiang, YU Zhan-lin, LU Yuan, XING Xing. QoS Satisfaction Prediction of Cloud Service Based on Second Order Hidden Markov Model [J]. Computer Science, 2019, 46(9): 321-324.
[10] YAN Sheng-long, YU Juan, ZHOU Hou-pan. IIVMM:An Improved Interactive Voting-based Map Matching Algorithm for Low-sampling-rate GPS Trajectories [J]. Computer Science, 2019, 46(9): 325-332.
[11] LI Bo-jia, ZHANG Yang-sen, CHEN Ruo-yu. Method for Generating Massive Data with Assignable Distribution [J]. Computer Science, 2019, 46(8): 56-63.
[12] WU Jian-wei, LI Yan-ling, ZHANG Hui, ZANG Han-lin. HMM Cooperative Spectrum Prediction Algorithm Based on Density Clustering [J]. Computer Science, 2018, 45(9): 129-134.
[13] YUE Xin, DU Jun-wei, HU Qiang, WANG Yan-ping. Fault Tree Structure Matching Algorithm and Its Application [J]. Computer Science, 2018, 45(9): 202-206.
[14] GONG Fa-ming,ZHU Peng-hai. Word Segmentation Based on Adaptive Hidden Markov Model in Oilfield [J]. Computer Science, 2018, 45(6A): 97-100.
[15] TONG Zhen-ming, LIU Zhi-peng. Next Place Prediction of Massively Multiplayer Online Role-playing Games [J]. Computer Science, 2018, 45(11A): 453-457.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!