Method and system for locking resources in a distributed environment
AssigneeMicrosoft Corporation
InventorJonathan S. Goldick
Life of this patent
Estimating the term…
Abstract
A method and system that creates and maintains lock properties for a resource or object in a distributed environment. The lock properties provide other client computer systems limited availability to the locked resource. Limited availability relates to being able to only read, write or delete the resource, or any combination thereof. Additionally, these lock properties allow other client computer systems to simultaneously hold or share equivalent locks. Other lock properties relate to advisory or mandatory status for the lock. Advisory locks may be honored or ignored by other client computer systems.
Claims20
A computer storage medium having stored thereon a locked resource accessed with a Distributed Authoring and Versioning (DAV) protocol message, wherein the DAV protocol is an extension of Hypertext Markup Language (HTTP), and wherein the locked resource comprises:
- a data object to store object data;
- and
- a lock object, wherein the lock object is associated with the data object, and wherein the lock object comprises information relating to a type of lock on the associated data object, and wherein the lock object further comprises a property that is of a noshare type.
A method of locking a resource in a distributed environment communicating in a Distributed Authoring and Versioning (DAV) protocol, wherein the DAV protocol is an extension of Hypertext Markup Language (HTTP), the method comprising:
- sending a request in the DAV protocol to access a resource, wherein the resource comprises a data object, and wherein the request originates from an application program;
- processing the request;
- causing the creation of a lock object having a predetermined type, wherein the predetermined type is one from the group consisting of a nosharewrite, a noshareread, and a nosharedelete;
- receiving a lock token upon the creation of the lock object;
- and
- accessing the resource.
A system for creating and managing a lock object in a distributed environment communicating in a Distributed Authoring and Versioning (DAV) protocol, wherein the DAV protocol is an extension of Hypertext Markup Language (HTTP), the computer system comprising:
- an application program, the application program operable to send a request in the DAV protocol to access a data object;
- and
- a services layer, the services layer operable to determine a type of access requested for the data object and to determine if the data object is associated with the lock object, wherein the lock object comprises a locktype property.
Dependencies are inferred from the claim text.