华南理工大学学报(自然科学版) ›› 2008, Vol. 36 ›› Issue (1): 44-49.

• 计算机科学与技术 • 上一篇    下一篇

基于谓词分类的语义缓存查询裁剪

李东杨小鹏罗鹏飞1   

  1. 1. 华南理工大学 计算机科学与工程学院, 广东 广州 510640;2. 华南理工大学 软件学院, 广东 广州 510006
  • 收稿日期:2007-01-31 修回日期:2007-08-25 出版日期:2008-01-25 发布日期:2008-01-25
  • 通信作者: 李东(1970-),男,博士,副教授,主要从事数据库、XML和移动计算方面的研究. E-mail:cslidong@scut.edu.cn
  • 作者简介:李东(1970-),男,博士,副教授,主要从事数据库、XML和移动计算方面的研究.
  • 基金资助:

    广东省自然科学基金资助项目(48086040550)

Query Trimming for Semantic Cache Based on Predicate Classification

Li Dong  Yang Xiao-peng  Luo Peng-fei   

  1. 1.School of Computer Science and Engineering, South China University of Technology, Guangzhou 510640, Guangdong, China; 2. School of Computer Software, South China University of Technology, Guangzhou 510006, Guangdong, China
  • Received:2007-01-31 Revised:2007-08-25 Online:2008-01-25 Published:2008-01-25
  • Contact: 李东(1970-),男,博士,副教授,主要从事数据库、XML和移动计算方面的研究. E-mail:cslidong@scut.edu.cn
  • About author:李东(1970-),男,博士,副教授,主要从事数据库、XML和移动计算方面的研究.
  • Supported by:

    广东省自然科学基金资助项目(48086040550)

摘要: 为了解决传统查询裁剪在时间和空间上的高复杂性,提出了一种基于谓词分类的语义缓存查询裁剪算法.首先从语义上将谓词分成范围谓词和约束谓词两类,并分别对这两类谓词进行“满足”、“相交”和“包含”的定义;然后基于谓词分类提出了一种新的查询裁剪算法,并对算法的复杂度进行了分析.模拟实验结果表明,所提出的裁剪算法是有效的,特别是在处理查询和缓存相交的情况下,与基于谓词模型的传统串型裁剪算法和基于逻辑规则的裁剪算法相比,文中算法可明显改善查询裁剪效率.

关键词: 查询裁剪, 语义, 约束式, 范围式, 语义缓存

Abstract:

In order to overcome the high complexity of the traditional query-trimming algorithm in time and space domains, a query-trimming algorithm for semantic cache is proposed based on predicate classification. In the proposed algorithm, all predicates are first divided into two different categories, namely restricted predicate and range predicate, which are then defined as semantic satisfaction, semantic intersection and semantic inclusion. Afterwards, a new query-trimming algorithm is presented, with its complexity being also analyzed. The proposed trimming algorithm is finally compared with the traditional serial trimming algorithm based on predicate model and with the trimming algorithm based on logic rules. Simulated results show that the proposed algorithm greatly improves the query-trimming efficiency, especially in the case of intersection between query and cache.

Key words: query trimming, semantics, restricted predication, range predication, semantic cache