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

计算机工程 ›› 2010, Vol. 36 ›› Issue (21): 7-10. doi: 10.3969/j.issn.1000-3428.2010.21.003

• 博士论文 • 上一篇    下一篇

基于局部路径加锁的XML并发控制协议

康 宏,袁晓洁,黄亚楼,黄晓骋,官 莹   

  1. (南开大学计算机科学与技术系,天津 300071)
  • 出版日期:2010-11-05 发布日期:2010-11-03
  • 作者简介:康 宏(1973-),男,讲师、博士研究生,主研方向:XML数据管理;袁晓洁、黄亚楼,教授、博士;黄晓骋,博士研究生;官 莹,硕士研究生
  • 基金资助:
    国家“863”计划基金资助项目“无缝集成关系数据库系统的纯XML引擎研制与关键技术研究”(2009AA01Z152)

XML Concurrency Control Protocol Based on Local Path Locking

KANG Hong, YUAN Xiao-jie, HUANG Ya-lou, HUANG Xiao-cheng, GUAN Ying   

  1. (Department of Computer Science and Technology, Nankai University, Tianjin 300071, China)
  • Online:2010-11-05 Published:2010-11-03

摘要: 传统XML数据库并发控制协议大多采用基于XML文档树的路径加锁方式,并发度不高。针对该问题,提出一种基于局部路径加锁模型的XML数据库并发控制协议。该协议基于XML的节点编码,利用查询函数对目标节点的祖先后裔加锁情况进行快速判断,并根据操作类型对目标节点或者其父节点进行加锁,从而减少对锁的频繁请求,提高事务并发度以及实现大规模XML数据的有效管理。

关键词: 节点编码, 局部路径加锁, XML数据库并发控制

Abstract: Traditional XML database concurrency control protocols are almost based on the path locking model of XML document tree and it can not provide high concurrency. Aiming at this problem, this paper proposes an XML database concurrency control based on local path locking model. This protocol goes on node coding based XML, uses the scan function to judge the locking status of the target node ancestor and descendant, locks the target node or its parent node according to the operation type to reduce the frequent request for lock, improves concurrency for transaction and realizes the efficient management for large-scale XML data.

Key words: node coding, local path locking, XML database concurrency control

中图分类号: