Methods and systems for moving data using locks
First Claim
1. A method for moving data objects in a computer system from a first storage location to a second storage location, the method comprising:
- selecting a data object from the first storage location;
determining whether an identifier (ID) of the data object is stored in a transactional lock object, the ID comprising one or more key fields of the data object;
when the ID is not stored in the transactional lock object, storing the ID in the transactional lock object, indicating that an action is being performed on the data object;
determining whether the ID is stored in a permanent lock object;
when the ID is not stored in the permanent lock object, storing the ID in the permanent lock object, indicating that the data object is subject to a moving process;
deleting the ID from the transactional lock object after storing the ID in the permanent lock object;
storing a copy of the data object at the second storage location;
determining whether the copy of the data object is successfully stored at the second storage location; and
when the copy of the data object is successfully stored at the second storage location;
assigning the copy of the data object stored at the second storage location to the ID in the permanent lock object;
deleting the data object from the first storage location; and
deleting the ID from the permanent lock object after deleting the data object from the first storage location.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods, computer readable medium and systems are provided for moving data objects from a first storage location to a second storage location. One or more data objects may be selected having an identifier from a first storage location. The ID may be stored in a second lock object. Systems and methods consistent with the invention may determine whether the ID is stored successfully, and upon a successful storage, may store the ID in a first lock object. The data object is stored at a second storage location and the data object is deleted from the first storage location. After the ID has been stored in a first lock object, the ID is then deleted from the second lock object.
54 Citations
40 Claims
-
1. A method for moving data objects in a computer system from a first storage location to a second storage location, the method comprising:
-
selecting a data object from the first storage location; determining whether an identifier (ID) of the data object is stored in a transactional lock object, the ID comprising one or more key fields of the data object; when the ID is not stored in the transactional lock object, storing the ID in the transactional lock object, indicating that an action is being performed on the data object; determining whether the ID is stored in a permanent lock object; when the ID is not stored in the permanent lock object, storing the ID in the permanent lock object, indicating that the data object is subject to a moving process; deleting the ID from the transactional lock object after storing the ID in the permanent lock object; storing a copy of the data object at the second storage location; determining whether the copy of the data object is successfully stored at the second storage location; and when the copy of the data object is successfully stored at the second storage location; assigning the copy of the data object stored at the second storage location to the ID in the permanent lock object; deleting the data object from the first storage location; and deleting the ID from the permanent lock object after deleting the data object from the first storage location. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer system for processing data, the computer system comprising:
-
memory means for storing program instructions; input means for entering the data; storage means for storing the data; a processor responsive to the program instructions, wherein the program instructions comprise program code means for performing a method for moving data objects in the computer system from a first storage location to a second storage location, the method comprising; selecting a data object from the first storage location; determining whether an identifier (ID) of the data object is stored in a transactional lock object, the ID comprising one or more key fields of the data object; when the ID is not stored in the transactional lock object, storing the ID in the transactional lock object, indicating that an action is being performed on the data object; determining whether the ID is stored in a permanent lock object; when the ID is not stored in the permanent lock object, storing the ID in the permanent lock object, indicating that the data object is subject to a moving process; deleting the ID from the transactional lock object after storing the ID in the permanent lock object; storing a copy of the data object at the second storage location; determining whether the copy of the data object is successfully stored at the second storage location; and when the copy of the data object is successfully stored at the second storage location; assigning the copy of the data object stored at the second storage location to the ID in the permanent lock object; deleting the data object from the first storage location; and deleting the ID from the permanent lock object after deleting the data object from the first storage location. - View Dependent Claims (15)
-
-
16. A computer readable storage medium comprising instructions for performing a method for moving data objects in a computer system from a first storage location to a second storage location, the method comprising:
-
selecting a data object from the first storage location; determining whether an identifier (ID) of the data object is stored in a transactional lock object, the ID comprising one or more key fields of the data object; when the ID is not stored in the transactional lock object, storing the ID in the transactional lock object, indicating that an action is being performed on the data object; determining whether the ID is stored in a permanent lock object; when the ID is not stored in the permanent lock object, storing the ID in the permanent lock object, indicating that the data object is subject to a moving process; deleting the ID from the transactional lock object after storing the ID in the permanent lock object; storing a copy of the data object at the second storage location; determining whether the copy of the data object is successfully stored at the second storage location; and when the copy of the data object is successfully stored at the second storage location; assigning the copy of the data object stored at the second storage location to the ID in the permanent lock object; deleting the data object from the first storage location; and deleting the ID from the permanent lock object after deleting the data object from the first storage location. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A computerized system for moving data objects from a first storage location to a second storage location, the computerized system comprising:
-
a processor executing program instructions; means for selecting a data object from the first storage location; means for determining whether an identifier (ID) of the data object is stored in a transactional lock object, the ID comprising one or more key fields of the data object; means for storing the ID in the transactional lock object, indicating that an action is being performed on the data object, when the ID is not stored in the transactional lock object; means for determining whether the ID is stored in a permanent lock object; means for storing the ID in the permanent lock object, indicating that the data object is subject to a moving process, when the ID is not stored in the permanent lock object; means for deleting the ID from the transactional lock object after storing the ID in the permanent lock object; means for storing a copy of the data object at the second storage location;
means for determining whether the copy of the data object is successfully stored at the second storage location; andmeans for, when the copy of the data object is successfully stored at the second storage location; assigning the copy of the data object stored at the second storage location to the ID in the permanent lock object; deleting the data object from the first storage location; and deleting the ID from the permanent lock object after deleting the data object from the first storage location. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
Specification