Methods and systems for data moving 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, comprising:
- selecting a data object stored in the first storage location;
storing an identifier (ID) of the data object in a transactional type lock object;
determining whether another process is moving the data object to the second storage location by determining whether the ID is stored in a permanent type lock object; and
when the ID is not stored in the permanent type lock object and another process is not moving the data object to the second storage location, checking whether the data object is archiveable before storing the data object at the second storage location;
when the data object is archiveable;
storing the data object at the second storage location;
storing the ID in the permanent type lock object;
assigning the second storage location to the ID stored in the permanent type lock object; and
deleting the ID stored in the transactional type lock object.
2 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 at least one transactional type lock object. Systems and methods consistent with the invention may determine whether a permanent type lock exists for a data object. If the permanent type lock does exist, systems and methods consistent with the invention may store the data object, the ID of which is contained in the at least one transactional type lock object, at the second storage location, store the ID of that data object in a permanent type lock object, assign the second storage location to the ID in the at least one permanent type lock object, and delete the ID of that data object in the transactional type lock object.
55 Citations
27 Claims
-
1. A method for moving data objects in a computer system from a first storage location to a second storage location, comprising:
-
selecting a data object stored in the first storage location; storing an identifier (ID) of the data object in a transactional type lock object; determining whether another process is moving the data object to the second storage location by determining whether the ID is stored in a permanent type lock object; and when the ID is not stored in the permanent type lock object and another process is not moving the data object to the second storage location, checking whether the data object is archiveable before storing the data object at the second storage location; when the data object is archiveable; storing the data object at the second storage location; storing the ID in the permanent type lock object; assigning the second storage location to the ID stored in the permanent type lock object; and deleting the ID stored in the transactional type lock object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer system for processing data comprising:
-
a memory device for storing program instructions; an input device for entering data; a storage for storing 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 stored in the first storage location; storing an identifier (ID) of the data object in a transactional type lock object; determining whether another process is moving the data object to the second storage location by determining whether the ID is stored in a permanent type lock object; and when the ID is not stored in the permanent type lock object and another process is not moving the data object to the second storage location, checking whether the data object is archiveable before storing the data object at the second storage location; when the data object is archiveable; storing the data object at the second storage location; storing the ID in the permanent type lock object; assigning the second storage location to the ID stored in the permanent type lock object; and deleting the ID stored in the transactional type lock object.
-
-
11. A computer readable 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 stored in the first storage location; storing an identifier (ID) of the data object in a transactional type lock object; determining whether another process is moving the data object to the second storage location by determining whether the ID is stored in a permanent type lock object; and when the ID is not stored in the permanent type lock object and another process is not moving the data object to the second storage location, checking whether the data object is archiveable before storing the data object at the second storage location; when the data object is archiveable; storing the data object at the second storage location; storing the ID in the permanent type lock object; assigning the second storage location to the ID stored in the permanent type lock object; and deleting the ID stored in the transactional type lock object. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A computerized system for moving data objects from a first storage location to a second storage location, comprising:
-
a storage for storing instructions; a processor for processing the instructions; means for selecting a data object stored in the first storage location; means for storing an identifier (ID) of the data object in a transactional type lock object; means for determining whether another process is moving the data object to the second storage location by determining whether the ID is stored in a permanent type lock object; and means for, when the ID is not stored in the permanent type lock object and another process is not moving the data object to the second storage location, checking whether the data object is archiveable before storing the data object at the second storage location; means for, when the data object is archiveable; storing the data object at the second storage location; storing the ID in the permanent type lock object; assigning the second storage location to the ID stored in the permanent type lock object; and deleting the ID stored in the transactional type lock object. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26)
-
-
27. A method for moving data objects from a first storage location to a second storage location, the method comprising:
-
selecting a data object stored in the first storage location; determining whether another process is attempting to perform a transaction with the data object by determining whether an identifier (ID) of the data object is stored in a transactional type lock object; when the ID is not stored in the transactional type lock object and another process is not attempting to perform a transaction with the data object, storing the ID in the transactional type lock object; determining whether another processing is moving the data object to the second storage location by determining whether the ID is stored in a permanent type lock object; when the ID is not stored in the permanent type lock object and another process is not moving the data object to the second storage location, determining whether the data object is archiveable, the data object being archiveable if the data object is readable, complete, and error-free; when the data object is archiveable; storing the ID in the permanent type lock object; storing the data object at the second storage location; assigning the second storage location to the ID in the permanent type lock object; deleting the data object from the first storage location; and deleting the ID stored in the permanent type lock object; and deleting the ID stored in the transactional type lock object.
-
Specification