System and method for storing and retrieving objects
First Claim
Patent Images
1. A method for storing an object hierarchy having a plurality of objects, the method comprising steps of:
- a) storing, in a data stream located in a volatile memory, the data stream having a format, data of a first object having a reference to a second object;
b) storing, in the data stream, the reference to the second object in the data stream;
c) storing, in the data stream, data of the second object; and
d) storing each of the plurality of objects of the object hierarchy in a single data stream, the data stream being stored in a non-volatile memory in a format structurally equivalent to the format of the data stream located in the volatile memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for storage and retrieval of objects. The objects are stored on a permanent medium in a manner to allow for fast recovery of the objects from the medium. The objects are stored in a format that is structurally equivalent to the format of the objects on a volatile medium, such as memory of a general-purpose computer. Objects are stored according to a data relationship with other objects. The objects may be stored as a stream of objects and offset references. Offset references are converted to actual memory addresses as objects are retrieved into the volatile medium.
-
Citations
45 Claims
-
1. A method for storing an object hierarchy having a plurality of objects, the method comprising steps of:
-
a) storing, in a data stream located in a volatile memory, the data stream having a format, data of a first object having a reference to a second object;
b) storing, in the data stream, the reference to the second object in the data stream;
c) storing, in the data stream, data of the second object; and
d) storing each of the plurality of objects of the object hierarchy in a single data stream, the data stream being stored in a non-volatile memory in a format structurally equivalent to the format of the data stream located in the volatile memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
immediate data of a first object;
immediate data of a second object; and
an offset reference from the first object to the second.
-
-
18. The data structure according to claim 17, further comprising a reference to a function table holding functions for the first object.
-
19. The data structure according to claim 17, further comprising a header indicating a state of the first and second objects.
-
20. The data structure according to claim 17, further comprising class description information.
-
21. The data structure according to claim 17, further comprising a third object and an offset reference to the third object.
-
22. The method of claim 1, further comprising:
storing, in the data stream, all data referenced by the first object.
-
23. A method for recovering an object hierarchy having a plurality of stored objects from storage media into computer memory, the method comprising:
-
allocating memory for the plurality of stored objects;
copying each of the plurality of stored objects of the object hierarchy from storage media into computer memory, wherein the format of the stored objects in computer memory is structurally equivalent to the format of the stored objects on the storage media; and
converting addresses of the stored objects to actual addresses in computer memory. - View Dependent Claims (24, 25, 26, 27, 28, 45)
-
-
29. A computer program product comprising a computer readable medium having computer program logic recorded thereon for enabling a processor in a computer system to store an object hierarchy having a plurality of objects, the computer program being adapted to cause the computer system to perform the steps of:
-
a) storing, in a data stream located in a volatile memory, the data stream having a format, data of a first object having a reference to a second object;
b) storing, in the data stream, the reference to the second object in the data stream;
c) storing, in the data stream, data of the second object; and
d) storing each of the plurality of objects of the object hierarchy in a single data stream, the single data stream being stored in a non-volatile memory in a format structurally equivalent to the format of the data stream located in the volatile memory. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
Specification