Methods, systems and computer applications for real time data processing
AssigneeSap SE
InventorRoman Rapp
Life of this patent
Estimating the term…
Abstract
Methods, systems and software applications are provided for real time data processing. In one implementation, a method is provided for locking data objects in a computer system. The method may comprise determining whether a number of lock objects to be locked is less than or equal to a maximum number of lock objects; creating, when the number is less than or equal to the maximum, one or more lock objects comprising names and values for key fields; and creating, when the number is greater than the maximum, one or more lock objects by applying a heuristic process such that the lock objects include wild cards for key fields.
Claims18
A computer-implemented method for locking data objects in a computer system, the data objects including a plurality of key fields, the method comprising:
- determining whether a number of the data objects to be locked is less than or equal to a maximum number of locks, wherein the data objects are stored in memory of the computer and the maximum number is greater than 0;
- creating, when the number of the data objects to be locked is less than or equal to the maximum number of locks, a plurality of lock objects comprising names and values for the key fields;
- and
- creating, when the number of the data objects to be locked is greater than the maximum number of locks, a plurality of lock objects comprising names and values for the key fields by applying a heuristic process such that the one or more lock objects include a wildcard value for a key field;
- the heuristic process including:
- determining a quantity of different values for the data objects by consecutively determining a quantity of different values for one or more of the key fields until the quantity of different values for one or more of the key fields is greater than the maximum number of locks;
- determining, when the quantity of the different values for the data objects is greater than the maximum number of locks, a common characteristic of the values of a key field;
- creating a combination value based on a combination of the common characteristic and a wildcard value;
- and
- writing the combination value into a key field of a created lock object.
A computer system for locking data objects, the data objects including a plurality of key field, the computer system comprising:
- a memory device storing program instructions and the data objects;
- and
- a data processor executing the program instructions to cause the computer system to:
- determine whether a number of the data objects to be locked is less than or equal to a maximum number of locks, wherein the maximum number is greater than 0;
- create, when the number of the data objects to be locked is less than or equal to the maximum number of locks, a plurality of lock objects comprising names and values for the key fields;
- and
- create, when the number of the data objects to be locked is greater than the maximum number of locks, a plurality of lock objects comprising names and values for the key fields by applying a heuristic process such that the one or more lock objects include a wildcard value for a key field;
- the heuristic process including:
- determining a quantity of different values for the data objects by consecutively determining a quantity of different values for one or more of the key fields until the quantity of different values for one or more of the key fields is greater than the maximum number of locks;
- determining, when the quantity of the different values for the data objects is greater than the maximum number of locks, a common characteristic of the values of a key field;
- creating a combination value based on a combination of the common characteristic and a wildcard value;
- and
- writing the combination value into a key field of a created lock object.
A non-transitory computer readable storage medium, the storage medium comprising program instructions which, when executed on a processor, cause the processor to perform a method for locking data objects in a computer system , the data objects including a plurality of key fields, the method comprising:
- determining whether a number of the data objects to be locked is less than or equal to a maximum number of locks, wherein the data objects are stored in memory of the computer and the maximum number is greater than 0;
- creating, when the number of the data objects to be locked is less than or equal to the maximum number of locks, a plurality of lock objects comprising names and values for each of the key fields;
- and
- creating, when the number of the data objects to be locked is greater than the maximum number of locks, a plurality of lock objects comprising names and values for the key fields by applying a heuristic process such that the one or more lock objects include a wildcard value for a key field;
- the heuristic process including:
- determining a quantity of different values for the data objects by consecutively determining a quantity of different values for one or more of the key fields until the quantity of different values for one or more of the key fields is greater than the maximum number of locks;
- determining, when the quantity of the different values for the data objects is greater than the maximum number of locks, a common characteristic of the values of a key field;
- creating a combination value based on a combination of the common characteristic and a wildcard value;
- and
- writing the combination value into a key field of a created lock object.
Dependencies are inferred from the claim text.