IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
US-0961290
(2010-12-06)
|
등록번호 |
US-8200643
(2012-06-12)
|
발명자
/ 주소 |
|
출원인 / 주소 |
- International Business Machines Corporation
|
대리인 / 주소 |
|
인용정보 |
피인용 횟수 :
2 인용 특허 :
68 |
초록
Disclosed is a method, system, and program for lock management. Under control of a lock manager, lock request queuing is performed, heartbeat functions are performed, and state information is maintained.
대표청구항
▼
1. A method for lock management, comprising: under control of a lock manager that manages lock requests received from one or more multi-vendor clients and directed to one or more multi-vendor locking agents and manages responses from the one or more multi-vendor locking agents to the one or more mul
1. A method for lock management, comprising: under control of a lock manager that manages lock requests received from one or more multi-vendor clients and directed to one or more multi-vendor locking agents and manages responses from the one or more multi-vendor locking agents to the one or more multi-vendor clients, receiving lock requests from a locking aware client among the multi-vendor clients;determining that the lock requests have been refused by the one or more multi-vendor locking agents; andfor the locking aware client, performing lock request queuing for the lock requests; andunder control of a locking aware agent, receiving a request to access a resource from a locking unaware client among the multi-vendor clients, wherein the locking unaware client does not perform locking;determining whether the locking aware agent can access the device; andin response to determining that the locking aware agent can access the device, obtaining a lock to execute the request;releasing the lock when the request has been executed; andnotifying the lock manager that the resource is available for locking. 2. The method of claim 1, further comprising: maintaining state information, wherein the state information includes locks held by the one or more multi-vendor clients and identifies the one or more multi-vendor locking agents holding locks, wherein the state information reflects states of the one or more multi-vendor clients and the one or more multi-vendor locking agents. 3. The method of claim 1, further comprising: enforcing a locking protocol that defines interactions between the lock manager, the multi-vendor clients, and the multi-vendor locking agents. 4. The method of claim 1, further comprising: receiving a read protected action on the resource;holding a read lock on the resource; andblocking write actions from writing to the resource. 5. The method of claim 1, further comprising: receiving a write protected action on the resource;holding a change lock on the resource;blocking write actions from writing to the resource; andblocking read and change locks on the resource. 6. The method of claim 1, further comprising: under control of the lock manager, performing functions to ensure that the one or more multi-vendor clients and the one or more multi-vendor locking agents are functioning properly by sending a signal to one of the one or more multi-vendor clients and the one or more multi-vendor locking agents and receiving a response to the signal that indicates proper functioning. 7. A system for lock management, comprising: a processor;a computer readable medium accessible to the processor;under control of a lock manager that manages lock requests received from one or more multi-vendor clients and directed to one or more multi-vendor locking agents and manages responses from the one or more multi-vendor locking agents to the one or more multi-vendor clients, code causing the processor to: receive lock requests from a locking aware client among the multi-vendor clients;determining that the lock requests have been refused by the one or more multi-vendor locking agents; andfor the locking aware client, perform lock request queuing for the lock requests; andunder control of a locking aware agent, code causing the processor to: receive a request to access a resource from a locking unaware client among the multi-vendor clients, wherein the locking unaware client does not perform locking;determining whether the locking aware agent can access the device; andin response to determining that the locking aware agent can access the device, obtain a lock to execute the request;release the lock when the request has been executed; andnotify the lock manager that the resource is available for locking. 8. The system of claim 7, wherein the code causes the processor to further perform: maintaining state information, wherein the state information includes locks held by the one or more multi-vendor clients and identifies the one or more multi-vendor locking agents holding locks, wherein the state information reflects states of the one or more multi-vendor clients and the one or more multi-vendor locking agents. 9. The system of claim 7, wherein the code causes the processor to further perform: enforcing a locking protocol that defines interactions between the lock manager, the multi-vendor clients, and the multi-vendor locking agents. 10. The system of claim 7, wherein the code causes the processor to further perform: receiving a read protected action on the resource;holding a read lock on the resource; andblocking write actions from writing to the resource. 11. The system of claim 7, further comprising: means for receiving a write protected action on the resource;means for holding a change lock on the resource;means for blocking write actions from writing to the resource; andmeans for blocking read and change locks on the resource. 12. The system of claim 7, wherein the code causes the processor to further perform: under control of the lock manager, performing functions to ensure that the one or more multi-vendor clients and the one or more multi-vendor locking agents are functioning properly by sending a signal to one of the one or more multi-vendor clients and the one or more multi-vendor locking agents and receiving a response to the signal that indicates proper functioning. 13. An article of manufacture comprising a computer readable storage medium storing a program for lock management, wherein the program, when executed by a processor of a computer, causes operations to be performed, the operations comprising: under control of a lock manager that manages lock requests received from one or more multi-vendor clients and directed to one or more multi-vendor locking agents and manages responses from the one or more multi-vendor locking agents to the one or more multi-vendor clients, receiving lock requests from a locking aware client among the multi-vendor clients;determining that the lock requests have been refused by the one or more multi-vendor locking agents; andfor the locking aware client, performing lock request queuing for the lock requests; andunder control of a locking aware agent, receiving a request to access a resource from a locking unaware client among the multi-vendor clients, wherein the locking unaware client does not perform locking;determining whether the locking aware agent can access the device; andin response to determining that the locking aware agent can access the device, obtaining a lock to execute the request;releasing the lock when the request has been executed; andnotifying the lock manager that the resource is available for locking. 14. The article of manufacture of claim 13, the operations further comprising: maintaining state information, wherein the state information includes locks held by the one or more multi-vendor clients and identifies the one or more multi-vendor locking agents holding locks, wherein the state information reflects states of the one or more multi-vendor clients and the one or more multi-vendor locking agents. 15. The article of manufacture of claim 13, the operations further comprising: enforcing a locking protocol that defines interactions between the lock manager, the multi-vendor clients, and the multi-vendor locking agents. 16. The article of manufacture of claim 13, the operations further comprising: receiving a read protected action on the resource;holding a read lock on the resource; andblocking write actions from writing to the resource. 17. The article of manufacture of claim 13, the operations further comprising: receiving a write protected action on the resource;holding a change lock on the resource;blocking write actions from writing to the resource; andblocking read and change locks on the resource. 18. The article of manufacture of claim 13, the operations further comprising: under control of the lock manager, performing functions to ensure that the one or more multi-vendor clients and the one or more multi-vendor locking agents are functioning properly by sending a signal to one of the one or more multi-vendor clients and the one or more multi-vendor locking agents and receiving a response to the signal that indicates proper functioning.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.