METHOD AND SYSTEM FOR MODIFICATION OF AN UNLOCKED RECORD OF A DATABASE BY INTERACTING PROCESSES
First Claim
1. A method for modifying an unlocked record of a database by interacting processes, which comprises the steps of:
- a) performing a first process which accesses a record and locks the record in order to perform operations to the record;
b) checking during the first process if the record is marked for post-processing by detecting a presence of a flag in the record;
c) performing, via the first process, the following actions in a case the record is not marked for post-processing and thus a presence of the flag is lacking;
performing the operations on the record;
unlocking the record and terminating the first process;
d) performing, via the first process, the following steps in a case the record is marked for post-processing and thus a presence of the flag is detected;
setting the flag to a predefined first state which denotes that post-processing is due;
performing the operations to the record and saves the record;
unlocking the record;
calling a second process and terminating the first process;
e) performing, via the second process, the following steps in a case where the record is marked for post-processing;
performing further operations to the record and saving the record; and
setting the flag to a predefined second state which denotes that the post-processing is done and terminating the second process.
1 Assignment
0 Petitions
Accused Products
Abstract
In a method for modifying an unlocked record of a database by interacting processes, a first process accesses the record and locks it, then checks if the record is marked for post-processing. In case the record is not marked for post-processing the first process proceeds to the following actions: performs the operations on the record, unlocks the record and terminates. In case the record is marked for post-processing the first process performs the following steps: sets the flag to a predefined first state which denotes that post-processing is due, performs the operations to the record and saves them, unlocks the record, calls a second process and terminates. In the case that the record is marked for post-processing, the second process performs the following steps: performs further operations to the record and saves them, sets the flag to a predefined second state which denotes that post-processing is done and terminates.
6 Citations
7 Claims
-
1. A method for modifying an unlocked record of a database by interacting processes, which comprises the steps of:
-
a) performing a first process which accesses a record and locks the record in order to perform operations to the record; b) checking during the first process if the record is marked for post-processing by detecting a presence of a flag in the record; c) performing, via the first process, the following actions in a case the record is not marked for post-processing and thus a presence of the flag is lacking; performing the operations on the record; unlocking the record and terminating the first process; d) performing, via the first process, the following steps in a case the record is marked for post-processing and thus a presence of the flag is detected; setting the flag to a predefined first state which denotes that post-processing is due; performing the operations to the record and saves the record; unlocking the record; calling a second process and terminating the first process; e) performing, via the second process, the following steps in a case where the record is marked for post-processing; performing further operations to the record and saving the record; and setting the flag to a predefined second state which denotes that the post-processing is done and terminating the second process. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A module, comprising:
-
software code adapted to be used as a plug-in, the plug-in being importable into database software systems, the software code performing a method for modifying an unlocked record of a database by interacting processes, the software code performing the steps of; a) performing a first process which accesses a record and locks the record in order to perform operations to the record; b) checking during the first process if the record is marked for post-processing by detecting a presence of a flag in the record; c) performing, via the first process, the following actions in a case the record is not marked for post-processing and thus a presence of the flag is lacking; performing the operations on the record; unlocking the record and terminating the first process; d) performing, via the first process, the following steps in a case the record is marked for post-processing and thus a presence of the flag is detected; setting the flag to a predefined first state which denotes that post-processing is due; performing the operations to the record and saves the record; unlocking the record; calling a second process and terminating the first process; e) performing, via the second process, the following steps in a case where the record is marked for post-processing; performing further operations to the record and saving the record; and setting the flag to a predefined second state which denotes that the post-processing is done and terminating the second process.
-
-
7. A module, comprising:
-
a software library, the software library being adapted to be included into a code base of database software systems, the software library performing a method for modifying an unlocked record of a database by interacting processes, the software library performing the steps of; a) performing a first process which accesses a record and locks the record in order to perform operations to the record; b) checking during the first process if the record is marked for post-processing by detecting a presence of a flag in the record; c) performing, via the first process, the following actions in a case the record is not marked for post-processing and thus a presence of the flag is lacking; performing the operations on the record; unlocking the record and terminating the first process; d) performing, via the first process, the following steps in a case the record is marked for post-processing and thus a presence of the flag is detected; setting the flag to a predefined first state which denotes that post-processing is due; performing the operations to the record and saves the record; unlocking the record; calling a second process and terminating the first process; e) performing, via the second process, the following steps in a case where the record is marked for post-processing; performing further operations to the record and saving the record; and setting the flag to a predefined second state which denotes that the post-processing is done and terminating the second process.
-
Specification