高级检索
    黄阳, 周旭, 杨志邦, 余婷, 张吉, 曾源远, 李肯立. 基于缓存的时变道路网最短路径查询算法[J]. 计算机研究与发展, 2022, 59(2): 376-389. DOI: 10.7544/issn1000-1239.20210892
    引用本文: 黄阳, 周旭, 杨志邦, 余婷, 张吉, 曾源远, 李肯立. 基于缓存的时变道路网最短路径查询算法[J]. 计算机研究与发展, 2022, 59(2): 376-389. DOI: 10.7544/issn1000-1239.20210892
    Huang Yang, Zhou Xu, Yang Zhibang, Yu Ting, Zhang Ji, Zeng Yuanyuan, Li Kenli. Cache-Based Shortest Path Query Algorithm for Time-Varying Road Networks[J]. Journal of Computer Research and Development, 2022, 59(2): 376-389. DOI: 10.7544/issn1000-1239.20210892
    Citation: Huang Yang, Zhou Xu, Yang Zhibang, Yu Ting, Zhang Ji, Zeng Yuanyuan, Li Kenli. Cache-Based Shortest Path Query Algorithm for Time-Varying Road Networks[J]. Journal of Computer Research and Development, 2022, 59(2): 376-389. DOI: 10.7544/issn1000-1239.20210892

    基于缓存的时变道路网最短路径查询算法

    Cache-Based Shortest Path Query Algorithm for Time-Varying Road Networks

    • 摘要: 作为图论中的基本操作之一,最短路径查询已被广泛应用于路径规划、GPS导航和个性化推荐等基于道路网的相关应用中.针对道路网中在线最短路径查询所面临的计算成本高、查询速度慢等问题,现有方案通常采用缓存技术来优化其性能.考虑到道路网的边权重具有频繁变化的特性,现有工作未能有效地实现缓存数据的快速更新,忽略了缓存数据的时效性,从而导致缓存命中率不高.鉴于此,首先提出一种新的缓存存储结构,能够有效平衡最短路径的整体查询速度与缓存数据更新速度之间的关系;其次,结合路径共享能力及路径多样性设计了新的缓存存储策略,优化缓存收益,继而提高缓存命中率;最后,提出基于缓存的时变最短路径查询(cache-based time-varying shortest path query, CTSPQ)算法.在真实数据集上的实验结果验证了CTSPQ算法的有效性和可扩展性.

       

      Abstract: As one of the fundamental operations in graph theory, the shortest path query has been extensively applied to the related applications based on road networks, including GPS navigation and personalized recommendation. In view of the high computational cost and slow query speed faced by the use of servers in the road network to query the shortest path online, the existing solutions usually utilize caching technology to optimize their performance. Considering that the edge weight of the road network has the characteristics of frequent changes, the existing related work failed to effectively realize the rapid update of cached data, then ignored the timeliness of the shortest path in the cache, which led to a decrease in the cache hit ratio. In view of this, we first propose a new cache storage structure that effectively balances the relationship between the overall query speed of the shortest path and the cache data update speed; Secondly, we propose a cache storage strategy that combines path sharing abilities and path diversity to optimize cache revenue and improve cache hit ratio; Finally, we propose a cache-based time-varying shortest path query (CTSPQ) algorithm based on the storage structure to improve the speed of querying the shortest path in the cache. A great deal of experiments on real data sets prove the effectiveness and scalability of the proposed techniques.

       

    /

    返回文章
    返回