华南理工大学学报(自然科学版) ›› 2009, Vol. 37 ›› Issue (5): 139-144.

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

基于属性更新的语义缓存一致性维护算法

李东1  袁应化1  叶友1  刘振宇2   

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

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

Algorithm of Semantic Caching Coherency Maintenance Based on Attribute Update

Li Dong1  Yuan Ying-hua1  Ye You1  Liu Zhen-yu2   

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

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

摘要: 为解决传统语义缓存一致性维护数据通信流量大、更新速度慢、占用空间多的问题,文中提出了一种新的语义缓存一致性维护算法,通过分析语义缓存段与更新语句的条件谓词以及投影属性的关系,并进行语义裁剪,将更新粒度细化至被更新的属性.理论分析和仿真实验结果表明,该算法能够有效地减少数据通信开销、缓存更新时间和占用空间,提高缓存命中率.

关键词: 移动数据库, 语义缓存, 一致性维护, 语义裁剪, 属性更新

Abstract:

In order to overcome the disadvantages of the traditional strategy for semantic caching coherency mainte- nance, such as the large data communications flow, the slow update speed and the large occupation of memory space, a new algorithm of semantic caching coherency maintenance based on attribute update is proposed. In this algorithm, the relationship between the semantic caching segment and the conditional predicate as well as the pro- jection attribute of the update operation is analyzed, and a semantic trimming is performed, thus fining the update operation to the exact attribute size. The results of theoretical analyses and simulated experiments show that the new algorithm effectively increases the cache hit ratio, saves the data communication cost and the update time of cache and reduces the data access occupation.

Key words: mobile database, semantic caching, coherency maintenance, semantic trimming, attribute update