首页> 外国专利> Method and apparatus providing optimistic locking of shared computer resources

Method and apparatus providing optimistic locking of shared computer resources

机译:提供共享计算机资源乐观锁定的方法和装置

摘要

Techniques for concurrent access to a resource object, such as a database object, include generating a lock data structure for a particular resource object. The lock data structure includes data values for a resource object identification, a lock type, and a version number. The version number is related to a number of changes to the resource object since the lock data structure was generated. By carrying a lock version number in a lock data structure managed by a lock manager, improved optimistic locking is provided in a database. In particular, the approach enables introduction of optimistic locking to a legacy database without requiring burdensome changes to a database table schema.
机译:用于同时访问资源对象(例如数据库对象)的技术包括为特定资源对象生成锁定数据结构。锁定数据结构包括用于资源对象标识,锁定类型和版本号的数据值。由于生成了锁定数据结构,因此版本号与资源对象的更改次数有关。通过在由锁管理器管理的锁数据结构中携带锁版本号,可以在数据库中提供改进的乐观锁。尤其是,该方法无需对数据库表架构进行繁琐的更改即可将乐观锁定引入旧数据库。

著录项

  • 公开/公告号US8745707B2

    专利类型

  • 公开/公告日2014-06-03

    原文格式PDF

  • 申请/专利权人 SHAHROKH SADJADI;

    申请/专利号US20050035635

  • 发明设计人 SHAHROKH SADJADI;

    申请日2005-01-14

  • 分类号G06F7/04;G06F15/16;G06F17/30;H04L29/06;

  • 国家 US

  • 入库时间 2022-08-21 16:00:52

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号