Method and apparatus for marking code for data versioning
First Claim
Patent Images
1. A method in a data processing system for marking code for data versioning the method comprising:
- responsive to receiving a user input, inserting a first marking statement in the code and a second marking statement in the code, wherein a portion of code between the first marking statement and the second marking statement form a marked section of code;
detecting a change made in data in an object caused by execution of the marked section of code and changes made in data in additional objects changed by execution of the marked section of code; and
responsive to detecting the change, tracking the change made in data in the object and the changes made to the data in the additional objects as a version of delta data in a data structure wherein the data structure comprises an index for selecting the version of the delta data, an array index identifying a location of the change within the delta data, and a value indicating the change, wherein the object and the additional objects form a set of objects and wherein each object in the set of objects may be restored to a prior state independently of other objects in the set of objects using a selected version of the delta data.
3 Assignments
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer instructions for marking data versioning for code. Responsive to receiving an application programming interface call, a first marking statement in the code and a second marking statement are inserted in the code. A portion of code between the first marking statement and the second marking statement forms a marked section of code. A change made in data in an object caused by execution of the marked portion of code is detected. The detected change is tracked in manner such that the object may be restored to a prior state.
-
Citations
14 Claims
-
1. A method in a data processing system for marking code for data versioning the method comprising:
-
responsive to receiving a user input, inserting a first marking statement in the code and a second marking statement in the code, wherein a portion of code between the first marking statement and the second marking statement form a marked section of code; detecting a change made in data in an object caused by execution of the marked section of code and changes made in data in additional objects changed by execution of the marked section of code; and responsive to detecting the change, tracking the change made in data in the object and the changes made to the data in the additional objects as a version of delta data in a data structure wherein the data structure comprises an index for selecting the version of the delta data, an array index identifying a location of the change within the delta data, and a value indicating the change, wherein the object and the additional objects form a set of objects and wherein each object in the set of objects may be restored to a prior state independently of other objects in the set of objects using a selected version of the delta data. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A data processing system for marking code for data versioning, the data processing system comprising:
-
a bus; a memory connected to the bus, wherein the memory comprising computer instructions; a hard disk connected to the bus; a processor connected to the bus, wherein the processor executes the computer instructions to direct the data processing system to; responsive to receiving a user input, insert a first marking statement in the code and a second marking statement in the code, wherein a portion of code between the first marking statement and the second marking statement form a marked section of code; detect a change made in data in an object caused by execution of the marked section of code and changes made in data in additional objects changed by execution of the marked section of code; and responsive to detecting the change, track the change made in data in the object and the changes made to the data in the additional objects as a version of delta data in a data structure wherein the data structure comprises an index for selecting the version of the delta data, an array index identifying a location of the change within the delta data, and a value indicating the change, wherein the object and the additional objects form a set of objects and wherein each object in the set of objects may be restored to a prior state independently of other objects in the set of objects using a selected version of the delta data. - View Dependent Claims (7, 8, 9)
-
-
10. A recordable-type medium containing computer executable instructions stored thereon for a computer program product for marking code for data versioning, the computer program product comprising:
-
computer executable instructions, responsive to receiving a user input, for inserting a first marking statement in the code and a second marking statement in the code, wherein a portion of code between the first marking statement and the second marking statement form a marked section of code; computer executable instructions for detecting a change made in data in an object caused by execution of the marked section of code and changes made in data in additional objects changed by the execution of the marked section of code; and computer executable instructions, responsive to detecting the change, for tracking the change made in data in the object and the changes made to the data in the additional objects as a version of delta data in a data structure wherein the data structure comprises an index for selecting the version of the delta data, an array index identifying a location of the change within the delta data, and a value indicating the change, wherein the object and the additional objects form a set of objects and wherein each object in the set of objects may be restored to a prior state independently of other objects in the set of objects using a selected version of the delta data. - View Dependent Claims (11, 12, 13, 14)
-
Specification