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

十亿节点图上的正则表达式匹配

Regular Expression Matching on billion-nodes Graphs

Hongzhi Wang, Jiabao Han, Bin Shao, Jianzhong Li

摘要:

正则表达式是描述序列模式的有力工具,在许多应用中,需要检索顶点对之间的路径满足一定的约束。为了满足这样的需求,本文定义了正则表达式查询,利用正则表达式来表示图中顶点之间的约束。针对社交网络等大型图上的RE查询,提出了索引大小与图大小呈次线性关系的RE查询处理方法。考虑到大型图可能随机分布在多台机器上,在不假设图分布的情况下,提出了并行RE处理算法。为了实现复杂RE查询处理的高效率,我们开发的成本为基础的查询优化策略,只有一个小尺寸的统计信息,这是适合查询大型图。综合实验结果表明,该方法适用于大规模的图形。

英文摘要:

In many applications, it is necessary to retrieve pairs of vertices with the path between them satisfying certain constraints, since regular expression is a powerful tool to describe patterns of a sequence. To meet such requirements, in this paper, we define regular expression (RE) query on graphs to use regular expression to represent the constraints between vertices. To process RE queries on large graphs such as social networks, we propose the RE query processing method with the index size sublinear to the graph size. Considering that large graphs may be randomly distributed in multiple machines, the parallel RE processing algorithms are presented without the assumption of graph distribution. To achieve high efficiency for complex RE query processing, we develop cost-based query optimization strategies with only a small size statistical information which is suitable for querying large graphs. Comprehensive experimental results show that this approach works scale well for large graphs.

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

↑