Method and apparatus for data versioning and recovery using delta content save and restore management
First Claim
1. A method in a data processing system for managing versioning data for memory segments, the method comprising:
- allocating a memory segment for data in response to a request from a requestor to allocate the memory segment;
creating within the memory segment a versioning data structure for the memory segment, wherein the versioning data structure is used to store delta data for changes in the data for the memory segment, and wherein the memory segment is associated with the versioning data structure;
detecting a change in the data for the memory segment;
responsive to detecting the change in the data for the memory segment, storing the delta data in the versioning data structure within the memory segment, wherein the delta data is the change in the data between a prior version and a current version of the data in a changed form; and
returning a reference to the memory segment containing the versioning data structure to the requestor that requested allocation of the memory segment.
3 Assignments
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer instructions for managing versioning data for memory segments. Responsive to a request from a requester to allocate a memory segment, the memory segment is allocated. A versioning data structure is created for the memory segment. The versioning data structure is used to store changes in data for the memory segment, and the memory segment includes a pointer to the versioning data structure. When a change in the data is detected for the memory segment, wherein the change in the data forms the delta data. Responsive to detecting the change in the data for the memory segment, the delta data is stored in the versioning data structure, wherein the versioning data structure is used to return the data in the memory segment to a prior state.
46 Citations
29 Claims
-
1. A method in a data processing system for managing versioning data for memory segments, the method comprising:
-
allocating a memory segment for data in response to a request from a requestor to allocate the memory segment; creating within the memory segment a versioning data structure for the memory segment, wherein the versioning data structure is used to store delta data for changes in the data for the memory segment, and wherein the memory segment is associated with the versioning data structure; detecting a change in the data for the memory segment; responsive to detecting the change in the data for the memory segment, storing the delta data in the versioning data structure within the memory segment, wherein the delta data is the change in the data between a prior version and a current version of the data in a changed form; and returning a reference to the memory segment containing the versioning data structure to the requestor that requested allocation of the memory segment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer program product having a computer recordable type medium for managing versioning data for memory segments, the computer program product comprising:
-
first instructions for allocating a memory segment for data in response to a request from a requestor to allocate the memory segment; second instructions for creating within the memory segment a versioning data structure for the memory segment, wherein the versioning data structure is used to store delta data for changes in the data for the memory segment and wherein the memory segment is associated with the versioning data structure; third instructions for detecting a change in the data for the memory segment; fourth instructions, responsive to detecting the change in the data for the memory segment, storing the delta data in the versioning data structure within the memory segment, wherein the delta data is the change in the data between a prior version and a current version of the data in a changed form; and fifth instructions for returning a reference to the memory segment containing the versioning data structure to the requestor that requested allocation of the memory segment. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A data processing system for managing versioning data for memory segments, the data processing system comprising:
-
allocating means for allocating a memory segment for data in response to a request from a requestor to allocate the memory segment; creating means for creating within the memory segment a versioning data structure for the memory segment, wherein the versioning data structure is used to store delta data for changes in the data for the memory segment and wherein the memory segment is associated with the versioning data structure; detecting means for detecting a change in the data for the memory segment; storing means, responsive to detecting the change in the data for the memory segment, for storing the delta data in the versioning data structure within the memory segment, wherein the delta data is the change in the data between a prior version and a current version of the data in a changed form; and returning means for returning a reference to the memory segment containing the versioning data structure to the requestor that requested allocation of the memory segment. - View Dependent Claims (24, 25, 26, 27, 28)
-
-
29. A data processing system for managing versioning data for memory segments, the data processing system comprising:
-
a bus system; a communications unit connected to the bus system; a memory connected to the bus system, wherein the memory includes a set of instructions; and a processing unit connected to the bus system, wherein the processing unit executes the set of instructions, responsive to a request from a requestor to allocate a memory segment, to allocate the memory segment for data;
create within the memory segment a versioning data structure for the memory segment, in which the versioning data structure is used to store changes in the data for the memory segment and in which the memory segment includes a pointer to the versioning data structure;
detect a change in the data for the memory segment, in which the change in the data forms delta data;
responsive to detecting the change in the data for the memory segment, store the delta data in the versioning data structure within the memory segment, in which the delta data is the change in the data between a prior version and a current version of the data in a changed form; and
return a reference to the memory segment containing the versioning data structure to the requestor that requested allocation of the memory segment.
-
Specification