EP1817698B1

Method, computer system and software application for providing a lock service

Abstract

This record has no abstract on file.

EP1817698B1, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Expired 5 December 2025, 0.8 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

9 claims: 4 independent, 5 dependent

  1. 1
    A method for processing data objects in a computer system comprising locking one or more of the data objects by means of a data base management system, comprising:- a lock service module (102) receiving from a first data processing module a request to set one or more logical locks (606a) one or more data objects to limit access of further data processing modules to the one or more data objects , wherein said data processing modules are implemented as applications ;- the lock service module (102) automatically selecting whether a) the logical locks (606a) on the data objects are to be set when changes of the data objects are requested or b) the logical locks (606a) on the data objects are to be set when the first or each further data processing module is started or c) no logical locks (606a) are to be set on said data objects;- in case a selection is made according to a) or b): the lock service module (102) trying to set logical locks (606a) on the one or more data base objects according to the selection and the lock service module (102) sending a message on the success and/or failure of logically locking said data objects to the one data processing module;- in case a selection is made according to c) the lock service module (102) sending a corresponding message to the one data processing module';- the one data processing module processing in case a) and b) the successfully locked data objects or, in case c), all data objects and, when updating the data objects in the data base, the data base management system performing the locking of the data objects in the data base , wherein said automatic selection is done by querying configurable settings .
  2. 4
    The method of one or more of claims 1 to 3, wherein the selections are made by querying configurable settings, preferably the settings being configurable per application and/or per user.
  3. 5
    The method of claims 1 to 4 further comprising:- the lock service module (102) receiving names of one or more (m) key fields of the one or more data objects to be locked;- the lock service module (102) receiving n values for each of the m key fields of n data objects to locked;- receiving a maximum number (k) of logical locks (606a) for the n data objects;- the lock service module (102) checking whether n = k and in case the condition is satisfied, - the lock service module (102) creating one or - more lock objects comprising the names of the key fields 1 to m and values Val_1.1 to Val_(i-1).y(i-1) for the key fields 1 to i-1 and comprising wildcards for the remaining key fields.
  4. 7
    A computer system comprising:- memory having program instructions;- input means for receiving and entering data;- output means for sending and presenting data - a data base management system comprising a lock mechanism for locking data objects in the data base;- storage means for storing data;- a processor responsive to the program instructions;- said program instructions comprising a lock service module (102) and a plurality of data processing modules for performing a method according to any of claims 1 to 6 when the program instructions are executed by the processor.
  5. 8
    A computer readable medium comprising program instructions for:performing a method according to any of claims 1 to 6 when the program instructions are executed in the computer system.