Electronic content store
First Claim
1. A method for storing and accessing objects in an electronic content store, the method including:
- (a) assigning each object a version number, such that multiple instances of the same object with different version numbers may coexist;
(b) when accessing an object in the content store for reading or writing, specifying a requested version number;
(c) when reading an object, if an instance of that object with the requested version number exists in the content store, returning that instance of the object, and otherwise returning the most recent older instance of that object;
(d) when writing to an object, if an instance of that object with the requested version number exists in the content store, performing the write to that instance of the object, and otherwise making a copy of the most recent older instance of the object, assigning the requested version number to the copy, and performing the write to the copy;
(e) maintaining a first current version number relating to a current published version of the content and a second, later current version number relating to a yet-to-be published administration version of the content; and
(f) when it is required to publish the administration version, updating the first current version number to equal the second current version number, and updating the second current version number to a new, later value, without changing the version numbers of the object.
2 Assignments
0 Petitions
Accused Products
Abstract
In a method for storing and accessing objects in an electronic content store (e.g. for a Website), each object is assigned a version number, such that multiple instances of the same object with different version numbers may coexist. When accessing an object in the content store for reading or writing, a requested version number is specified. When reading an object, if an instance of that object with the requested version number exists in the content store, that instance of the object is returned, and otherwise the most recent older instance of that object is returned. When writing to an object, if an instance of that object with the requested version number exists in the content store, the write is performed to that instance of the object, and otherwise a copy is made of the most recent older instance of the object, the copy is assigned the requested version number, and the write is performed to the copy. This provides an efficient and convenient mechanism for managing versions of the content.
-
Citations
10 Claims
-
1. A method for storing and accessing objects in an electronic content store, the method including:
-
(a) assigning each object a version number, such that multiple instances of the same object with different version numbers may coexist;
(b) when accessing an object in the content store for reading or writing, specifying a requested version number;
(c) when reading an object, if an instance of that object with the requested version number exists in the content store, returning that instance of the object, and otherwise returning the most recent older instance of that object;
(d) when writing to an object, if an instance of that object with the requested version number exists in the content store, performing the write to that instance of the object, and otherwise making a copy of the most recent older instance of the object, assigning the requested version number to the copy, and performing the write to the copy;
(e) maintaining a first current version number relating to a current published version of the content and a second, later current version number relating to a yet-to-be published administration version of the content; and
(f) when it is required to publish the administration version, updating the first current version number to equal the second current version number, and updating the second current version number to a new, later value, without changing the version numbers of the object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A web server including:
-
(a) an electronic content store holding a plurality of objects, each object having a version number, such that multiple instances of the same object with different version numbers may coexist;
(b) means for reading an object with a requested version number, by returning an instance of that object with the requested version number if much an instance exists in the content store, and otherwise returning the most recent older instance of that object;
(c) means for writing to an object with a requested version number, by performing the write to an instance of that object with the requested version number if such an instance exists in the content store, and otherwise making a copy of the most recent older instance of the object, assigning the requested version number to the copy, and performing the write to the copy;
(e) means for maintaining a first current version number relating to a current published version of the content and a second, later current version number relating to a yet-to-be published administration version of the content; and
(f) means operative when it is required to publish the administration version, for updating the first current version number to equal the second current version number, and for updating the second current version number to a new, later value, without changing the version numbers of the objects.
-
-
10. A computer program product comprising a data carrier including a computer program for performing a method for storing and accessing objects in an electronic content store, the method including:
-
(a) assigning each object a version number, such that multiple instances of the same object with different version numbers may coexists;
(b) when accessing an object in the content store for reading or writing, specifying a requested version number;
(c) when reading an object, if an instance of that object with the requested version number exists in the content store, returning that instance of the object, and otherwise returning the most recent older instance of that object;
(d) when writing to an object, if an instance of that object with the requested version number exists in the content store, performing the write to that instance of the object, and otherwise making a copy of the most recent older instance of the object, assigning the requested version number to the copy, and performing the write to the copy;
(e) maintaining a first current version number relating to a current published version of the content and a second, later current version number relating to a yet-to-be published administration version of the content; and
(f) when it is required to publish the administration version, updating the first current version number to equal the second current version number, and updating the second current version number to a new, later value, without changing the version numbers of the objects.
-
Specification