Method, system, and program product for managing hierarchical structure data items in a database
First Claim
Patent Images
1. A method of managing hierarchical structure data items in a database comprising:
- providing a relational database having hierarchically related data items;
assigning a unique value to each data item, wherein each unique value includes a sibling value; and
identifying all child data items of a selected data item using a single non-recursive operation, wherein the child data items are identified by determining a logical relationship between the unique value assigned to the selected data item and a unique value assigned to each child data item.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention manages hierarchical structure data items in a database by assigning a unique value having a sibling value to each data item. This allows child data items of a selected data item to be identified using a single non-recursive operation in which a logical relationship between the unique value assigned to the selected data item and a unique value assigned to each child data item is determined.
23 Citations
20 Claims
-
1. A method of managing hierarchical structure data items in a database comprising:
-
providing a relational database having hierarchically related data items;
assigning a unique value to each data item, wherein each unique value includes a sibling value; and
identifying all child data items of a selected data item using a single non-recursive operation, wherein the child data items are identified by determining a logical relationship between the unique value assigned to the selected data item and a unique value assigned to each child data item. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method of retrieving hierarchical structure data items from a database comprising:
-
providing a relational database having data items;
generating a unique string for each data item, the unique string including a sibling string;
saving each unique string with an associated data item in the database; and
retrieving all data items below a selected data item using a single non-recursive query based on the unique strings. - View Dependent Claims (12, 13, 14)
-
-
15. A system for managing hierarchical structure data items in a relational database comprising:
-
a value system that generates a unique value for each data item, wherein each unique value includes a combination of a sibling value and a parent value; and
a management system that manages the data items in the relational database using the unique values. - View Dependent Claims (16, 17)
-
-
18. A computer program product comprising a computer useable medium having computer readable program code embodied therein for managing hierarchical structure data items in a relational database, the program product comprising:
-
program code configured to define a unique value for each data item, wherein each unique value includes a combination of a sibling value and a parent value; and
program code configured to manage the data items in the relational database using the unique values. - View Dependent Claims (19, 20)
-
Specification