计算机应用 ›› 2014, Vol. 34 ›› Issue (7): 1992-1996.DOI: 10.11772/j.issn.1001-9081.2014.07.1992

• 数据技术 • 上一篇    下一篇

基于对象集合的空间关键词查询

梁银,董永权   

  1. 江苏师范大学 计算机科学与技术学院,江苏 徐州 221116
  • 收稿日期:2014-01-06 修回日期:2014-02-20 出版日期:2014-07-01 发布日期:2014-08-01
  • 通讯作者: 梁银
  • 作者简介:梁银(1970-),女,云南建水人,副教授,博士,主要研究方向:空间数据库、空间关键词查询;董永权(1979-),男,江苏宿迁人,副教授,博士,主要研究方向:Web数据集成、关键词查询。
  • 基金资助:

    国家自然科学基金项目;江苏省自然科学基金项目

Spatial keyword query based on collective object

LIANG Yin,DONG Yongquan   

  1. School of Computer Science and Technology, Jiangsu Normal University, Xuzhou Jiangsu 221116, China
  • Received:2014-01-06 Revised:2014-02-20 Online:2014-07-01 Published:2014-08-01
  • Contact: LIANG Yin

摘要:

在进行空间关键词查询时,有时需要查找一组既紧凑且离查询点最近、又覆盖查询关键词且对象个数很少的对象,而现有的查询方法通常只能返回包含所有查询关键词的单个空间对象。为此,提出了解决此类查询问题的近似查询算法和精确查询算法。首先给出了这类查询问题的形式化定义,以及描述对象集合质量的代价函数,并对代价函数进行了归一化处理;然后在近似查询算法中采用基于IR-tree的最佳优先搜索策略进行剪枝,有效缩减了查询候选空间;在精确查询算法中采用基于IR-tree的广度优先搜索策略查找包含查询关键词的对象,以达到降低查询处理代价的目的。实验结果表明,近似算法的查询效率明显优于精确算法,且能获得非常精确的查询结果。

Abstract:

In spatial keyword query, a group of objects involving minimum number that cover the query keywords and are compact and nearest to the query location will be queried, but generally, the current query method only can return the single spatial object containing all query keywords. To address this query, an approximate algorithm and an exact algorithm were introduced. The query problem was formally defined. A new cost function to describe the quality of the collective objects was defined and normalized. Then the approximate algorithm utilized a best-first search based on the IR-tree to prune the search space. The exact algorithm utilized a breadth-first search based on the IR-tree to retrieve the objects that contain some query keywords to reduce query processing cost. The experiments show that query efficiency of the approximate algorithm is much better than that of the exact algorithm, and approximate algorithm is capable of achieving very accurate results.

中图分类号: