arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.01424cs.DB
收藏

大型图中批处理跳数约束的s-t简单路径查询处理

Batch Hop-Constrained s-t Simple Path Query Processing in Large Graphs

Long Yuan, Kongzhang Hao, Xuemin Lin, Wenjie Zhang

AI总结:

本文研究大型图中批处理跳数约束的s-t简单路径查询的高效处理,提出基于HC-s路径查询的两阶段检测与共享计算枚举算法,显著提升了十亿级图上多查询并发处理的效率与可扩展性。

摘要:

跳数约束的s-t简单路径(HC-s-t path)枚举是图分析中的一个基础问题。针对该问题的现有解决方案主要集中在优化单个查询的处理性能上。然而,在实际应用中,更常见的情况是多个HC-s-t路径查询同时发起并作为一个批处理执行。因此,本文研究批处理HC-s-t路径查询处理问题,旨在作为一个批处理并发且高效地计算所有查询的结果。为实现该目标,我们首先提出HC-s路径查询的概念,能够精确刻画不同查询间的共同计算。随后,我们设计了一种两阶段HC-s路径查询检测算法,以识别给定HC-s-t路径查询所共有的HC-s路径查询。基于检测到的HC-s路径查询,我们进一步设计了一种高效的HC-s-t路径枚举算法,其中由HC-s路径查询表示的共同计算得到了有效共享。我们在真实图上进行了大量实验,结果表明,所提出的算法在处理十亿级大型图中的多个HC-s-t路径查询时具有高效性和可扩展性。

英文摘要:

Hop-constrained s-t simple path (HC-s-t path) enumeration is a fundamental problem in graph analysis. Existing solutions for this problem focus on optimizing the processing performance of a single query. However, in practice, it is more often that multiple HC-s-t path queries are issued simultaneously and processed as a batch. Therefore, we study the problem of batch HC-s-t path query processing in this paper and aim to compute the results of all queries concurrently and efficiently as a batch. To achieve this goal, we first propose the concept of HC-s path query which can precisely characterize the common computation among different queries.We then devise a two-phase HC-s path query detection algorithm to identify the common HC-s path queries for the given HC-s-t path queries. Based on the detected HC-s path queries, we further devise an efficient HC-s-t path enumeration algorithm in which the common computation represented by HC-s path queries are effectively shared. We conduct extensive experiments on real-world graphs and the experimental results demonstrate that our proposed algorithm is efficient and scalable regarding processing multiple HC-s-t path queries in large graphs at billion-scale.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑