首页> 外国专利> An Efficient Locking Protocol for Sub-Document Concurrency Control Using Prefix Encoded Node Identifiers in XML Databases

An Efficient Locking Protocol for Sub-Document Concurrency Control Using Prefix Encoded Node Identifiers in XML Databases

机译:在XML数据库中使用前缀编码的节点标识符进行子文档并发控制的有效锁定协议

摘要

A system and method for concurrency control of hierarchically structured data is provided. Lock requests on a target node are processed by exploiting ancestor-descendant information encoded into prefix encoded node identifiers (IDs). A set of implicit locks on ancestor nodes along a path from an immediate parent of a target node to a root node is derived from an explicit lock request on a target node. A logical lock tree describing existing lock modes for ancestor nodes is consulted to determine compatibility with the derived set of implicit locks. If existing lock modes for ancestor nodes are compatible with the derived set of implicit locks, a lock request on a target node is granted. Otherwise, the lock request is denied. A lock release request follows the reverse process; a target node in a particular transaction is released, as are subsequent locks on its ancestors made by the same transaction.
机译:提供了一种用于层次结构化数据的并发控制的系统和方法。通过利用编码为前缀编码的节点标识符(ID)的祖先后代信息来处理目标节点上的锁定请求。从目标节点的直接父节点到根节点的路径上的祖先节点上的一组隐式锁定是从目标节点上的显式锁定请求派生的。咨询描述祖先节点的现有锁定模式的逻辑锁定树,以确定与派生的隐式锁定集的兼容性。如果祖先节点的现有锁定模式与派生的隐式锁定集兼容,则将授予目标节点上的锁定请求。否则,锁定请求将被拒绝。锁定释放请求遵循相反的过程。释放特定事务中的目标节点,以及相同事务对它的祖先的后续锁定。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号