作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2014, Vol. 40 ›› Issue (12): 50-56. doi: 10.3969/j.issn.1000-3428.2014.12.009

• 先进计算与数据处理 • 上一篇    下一篇

道路网络中基于方向关系约束的CKNN查询

孙海龙a,王霓虹a,王春艳b   

  1. 东北林业大学 a.信息与计算机工程学院; b.图书馆,哈尔滨 150040
  • 收稿日期:2014-02-07 修回日期:2014-03-31 出版日期:2014-12-15 发布日期:2015-01-16
  • 作者简介:孙海龙(1977-),男,讲师、博士研究生,主研方向:移动对象数据库;王霓虹,教授、博士生导师;王春艳,馆员。
  • 基金资助:
    中央高校基本科研业务费专项基金资助项目(DL12AB02);国家“863”计划基金资助项目(2012AA102003-2);国家林业局公益性行业科研专项基金资助项目(201104037)。

CKNN Query Based on Constraint of Directional Relation in Road Network

SUN Hailonga,WANG Nihonga,WANG Chunyanb   

  1. a.College of Information and Computer Engineering;
    b.Library,Northeast Forestry University,Harbin 150040,China
  • Received:2014-02-07 Revised:2014-03-31 Online:2014-12-15 Published:2015-01-16

摘要: 针对位置服务应用中,基于道路网络的移动对象连续K最近邻(CKNN)查询实时响应速度慢的问题,提出基于方向关系约束的移动对象CKNN查询算法CDR-CKNN。采用锥形模型建立方向关系表示模型,将查询中的方向关系谓词转化为开放图形,作为K最近邻查询的约束条件,快速过滤与查询结果无关的道路边,从而避免查找最近邻对象时对道路网的盲目扩展,缩短查找K最近邻对象的时间。实验结果表明,当道路网络规模增加时,CDR-CKNN算法查询性能比IMA/GMA算法提高2倍~3.3倍,其性能受兴趣点对象分布密度影响较小;采用八方向锥形模型比四方向锥形模型的算法查询效率提高1.5倍~3倍。

关键词: 方向关系模型, 方向关系谓词, 道路网络, 连续K最近邻查询, 开放图形, 锥形模型

Abstract: Aiming at the problem that the real-time response of Continuous K Nearest Neighbors(CKNN) query in road networks is slow in location based services,this paper proposes a CKNN query based on constraint of directional relation,named CDR-CKNN.The algorithm takes the cone-based model as directional relation model,converts the directional relation predicate into open shape which is the constraint condition of K Nearest Neighbor(KNN) query,and pruns the irrelevant road network edges with query result.It avoids blind network expansion,and decreases the time of finding out KNN.Experimental results show that CDR-CKNN algorithm has better query performance than classical IMA/GMA algorithm when road network becomes larger,the performance is increased by 2~3.3 times,moreover,distribution density of Points of Interest(POI) has fewer influence on CDR-CKNN than IMA/GMA.Simultaneously,the query efficiency based on eight-direction cone model is increased by 1.5~3 times than four-direction cone model.

Key words: directional relation model, directional relation predicate, road network, Continuous K Nearest Neighbors(CKNN) query, open shape, cone model

中图分类号: