XML SUB-DOCUMENT VERSIONING METHOD IN XML DATABASES USING RECORD STORAGES
First Claim
1. A computer-based method of versioning records of XML sub-documents in a database, said method comprising:
- representing node identifiers and version numbers in two -dimensional space along with record boundaries;
adding virtual record boundaries to said record boundaries and dividing said dimensional space into a series of rectangles, said virtual record boundaries added to support multiple versions of said sub-documents; and
building a search tree index comprising index points corresponding to a bottom corner point of each of said rectangles, each of said index points comprising a triple of node identifier, version number and record identifier.
1 Assignment
0 Petitions
Accused Products
Abstract
A new sub-document versioning method for record storages of XML documents which uses virtual cutting points to ensure that a search tree is able to support multiple versions of sub-documents and provide efficient mechanisms for XML updating. Record boundaries and virtual cut points divide the two-dimensional space, the horizontal axis representing node identifiers in document order and vertical axis representing version numbers, into rectangles. The bottom corner of the rectangle is used to represent the rectangles and the corresponding information of the corner is added to the search tree index.
-
Citations
18 Claims
-
1. A computer-based method of versioning records of XML sub-documents in a database, said method comprising:
-
representing node identifiers and version numbers in two -dimensional space along with record boundaries;
adding virtual record boundaries to said record boundaries and dividing said dimensional space into a series of rectangles, said virtual record boundaries added to support multiple versions of said sub-documents; and
building a search tree index comprising index points corresponding to a bottom corner point of each of said rectangles, each of said index points comprising a triple of node identifier, version number and record identifier. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An article of manufacture comprising computer readable program code implementing a method of versioning records of XML sub-documents in a database, said medium comprising:
-
computer readable program code representing node identifiers and version numbers in two-dimensional space along with record boundaries;
computer readable program code adding virtual record boundaries to said record boundaries and dividing said dimensional space into a series of rectangles, said virtual record boundaries added to support multiple versions of said sub-documents; and
computer readable program code building a search tree index comprising index points corresponding to a bottom corner points of each of said rectangles, each of said index points comprising a triple of node identifier, version number and record identifier. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. An XML updater updating XML sub-documents working in conjunction with a database storing XML documents as a set of records, each of said records associated with an identifier and a version number, each of said records being represented by at least one of nodes identified in an ordered tree, each of said nodes being assigned node identifiers, said system comprising:
-
an XML reader reading a version of said records based on an XML query;
an XML updater creating new records, said creating based on;
identifying each said new record, identifying all intersecting records with all versions by searching a search tree index and identifying intersecting points, said intersecting points being virtual index points;
creating index points for said new record boundaries; and
creating index points for said virtual index points; and
wherein said new records reflect updates in said XML document. - View Dependent Claims (18)
-
Specification