Database system and method with improved locks
First Claim
1. A method for handling database locks comprising:
- detecting a new query from a new administrator for a set of database records that are associated with a potential new lock;
determining whether said new administrator has any chance of being authorized to acquire said new lock;
attempting to acquire said new lock if said new administrator has a chance of being authorized; and
informing said new administrator of a failure to acquire said new lock if a prior lock has already been acquired due to a prior query by a prior administrator.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for handling database locks includes detecting a new query from an administrator for a set of database records. Next, it is determined whether the administrator has any chance of being authorized to acquire a new lock. If so, an attempt is made to acquire the new lock and, on the failure to acquire, the administrator is informed that the lock has already been acquired by a prior administrator. Optionally, the new administrator is also provided with identifying information of the prior administrator and contact information for the prior administrator. The new administrator is therefore pre-screened to determine whether there is any chance to acquire a new lock to reduce the chance that an unauthorized new administrator could lock the set of database records. Also, should the new administrator be authorized but not able to access the set of database records due to a prior lock, the new administrator can be informed of the identity and contact information concerning the holder of the prior lock.
-
Citations
34 Claims
-
1. A method for handling database locks comprising:
-
detecting a new query from a new administrator for a set of database records that are associated with a potential new lock;
determining whether said new administrator has any chance of being authorized to acquire said new lock;
attempting to acquire said new lock if said new administrator has a chance of being authorized; and
informing said new administrator of a failure to acquire said new lock if a prior lock has already been acquired due to a prior query by a prior administrator. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer readable media including program code segments for handling database locks comprising:
-
a code segment detecting a new query from a new administrator for a set of database records that is associated with a potential new lock;
a code segment determining whether said new administrator has any chance of being authorized to acquire said new lock;
a code segment attempting to acquire said new lock if said new administrator has a chance of being authorized; and
a code segment informing said new administrator of a failure to acquire said new lock if a prior lock has already been acquired due to a prior query by a prior administrator. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A method for making a preliminary determination as to whether a database administrator has authorization to access a set of database records comprising:
-
determining that a database administrator has no chance of being authorized to access a designated set of database records if said database administrator does not have one or more of;
(a) write authorization for said designated set of database records;
(b) if said designated set of database records are personal database records of said database administrator of a type likely to create a conflict of interest, (c) if the database administrator is not organizationally permitted to access said set of database records;
or (d) if said database administrator is not currently authorized; and
determining that a database administrator has a chance of being authorized if said database administrator has one or more of;
(a) write authorization and maximum administrator authorization; and
(b) write authorization, not maximum authorization, not if said designated set of database records are personal database records of said database administrator of a type likely to create a conflict of interest, if the database administrator is not organizationally permitted to access said set of database records, and currently authorized.
-
-
24. A computer readable media including program code segments for making a preliminary determination as to whether a database administrator has authorization to access a set of database records comprising:
-
a code segment determining that a database administrator has no chance of being authorized to access a designated set of database records if said database administrator does not have one or more of;
(a) write authorization for said designated set of database records;
(b) if said designated set of database records are personal database records of said database administrator of a type likely to create a conflict of interest, (c) if the database administrator is not organizationally permitted to access said set of database records;
or (d) if said database administrator is not currently authorized; and
a code segment determining that a database administrator has a chance of being authorized if said database administrator has one or more of;
(a) write authorization and maximum administrator authorization; and
(b) write authorization, not maximum authorization, not if said designated set of database records are personal database records of said database administrator of a type likely to create a conflict of interest, if the database administrator is not organizationally permitted to access said set of database records, and currently authorized.
-
-
25. A database system including locks comprising:
-
means for detecting a new query from a new administrator for a set of database records capable that is associated with a new lock;
means for determining whether said new administrator has any chance of being authorized to acquire said new lock;
means for attempting to acquire said new lock if said new administrator has a chance of being authorized; and
means for informing said new administrator of a failure to acquire said new lock if a prior lock has already been acquired due to a prior query by a prior administrator. - View Dependent Claims (26, 27, 28, 29)
-
-
30. A database system comprising:
-
a plurality of administrator terminals;
a database server capable of being accessed by a plurality of administrators associated with said plurality of administrator terminals, said database server including, at least in part, a database program capable of managing a plurality of records that may be grouped into sets of records, said database program including the functionality of;
(a) detecting a new query from a new administrator at a new administrator terminal for a set of database records capable that is associated with a new lock;
(b) determining whether said new administrator has any chance of being authorized to acquire said new lock;
(c) attempting to acquire said new lock if said new administrator has a chance of being authorized; and
(d) informing said new administrator at said new administrator terminal of a failure to acquire said new lock if a prior lock has already been acquired due to a prior query by a prior administrator on a prior administrator station. - View Dependent Claims (31, 32, 33, 34)
-
Specification