发明名称 Method and apparatus providing optimistic locking of shared computer resources
摘要 Techniques for concurrent access to a resource object, such as a database, 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. A request is received from a requesting process. The request is for a requested lock type for access to the particular resource object. It is determined whether to grant the request based on the requested lock type and the lock type in the lock data structure. 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.
申请公布号 US6850938(B1) 申请公布日期 2005.02.01
申请号 US20010781525 申请日期 2001.02.08
申请人 CISCO TECHNOLOGY, INC. 发明人 SADJADI SHAHROKH
分类号 G06F7/00;G06F15/16;G06F17/30;H04L9/00;(IPC1-7):G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址