System and method for handling parallel updates of objects requiring time sensitive acknowledgement
AssigneeSap SE
InventorsAndreas W. Daum, Bernd Ernesti, Renzo Colle, Thomas Griesser, Henrik Saterdag, Daniel Zoch, Liwei Lu, Markus J. Kaas, Peter T. Malik
Life of this patent
Estimating the term…
Abstract
A system and method of updating persistent objects in a persistent store. In response to receipt of a confirmation of task competition, an attempt is made to acquire a lock for corresponding item data in the persistent store. Regardless of whether the lock is acquired, a successful update of the persistent store is acknowledged to the sender of the confirmation within a defined time period.
Claims14
A method comprising:
- receiving, from a signal source, a confirmation of completion of a task for a central object, the central object including item data and global data, the global data independent of the item data;
- attempting to acquire a database lock for a subset of the item data of the central object;
- acknowledging to the signaling source a successful update regardless of a success in acquiring the lock;
- and
- updating the central object if the lock is acquired;
- and queuing the confirmation if the lock is not acquired.
A system comprising:
- a database to persistently storing a central object corresponding to a business process, the central object based on a data model having global data independent from item data;
- a lock server coupled to the database to provide database locks for individual item data;
- an update module to update an item in the central object responsive to a confirmation from a remote source, the update module to signal the remote source success of the update before the update occurs if a lock for the item cannot be acquired within a defined time period after receipt of the confirmation;
- and
- a queue to retain the confirmation until a lock can be acquired.
A machine readable medium containing instructions that when executed cause a machine to:
- receive, from a signal source, a confirmation of completion of a task for a central object, the central object including item data and global data independent of the item data;
- attempt to acquire a database lock for a subset of the item data of the central object;
- acknowledge to the signaling source a successful update regardless of a success in acquiring the lock;
- update the central object if the lock is acquired;
- and
- queue the confirmation if the lock is not acquired.
A system comprising:
- means for persistently storing objects having global data and item data, the global data independent of the item data;
- means for acquiring a lock for an item data independent of other item data in an object;
- means for updating the object that acknowledges a successful update to a sender of a confirmation within a defined time period even though the update has not completed;
- and
- means for retaining the confirmations for which a lock cannot be obtained within the defined time period.
Dependencies are inferred from the claim text.