# US 2009/0276404 A1 · Method and system for efficient data structure for reporting on indeterminately deep hierarchies

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0276404 A1
- Document ID: US20090276404A1
- Status: Published application
- Kind: A1
- Application number: 12/402,323
- Filed: 2009-03-11
- Published: 2009-11-05
- Earliest claimed: 2008-04-30
- Inventors: Timothy J. Henigman
- Web page: https://patentgrep.com/patent/US20090276404A1

## CPC

- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, system, and medium related to a data structure having hierarchies based on a leaf node entity, the method including determining a reverse bridge table data structure for the hierarchical data, the reverse bridge table data structure including an association of all ancestor node entities of the hierarchical data for each leaf node entity of the hierarchical data and a hierarchical level for each association; determining an ordered listing of the associations of the ancestor node entities and each leaf node entity based on the hierarchical level for each association; and providing a hierarchy table data structure including an ordered aggregation of the hierarchical levels for each of the leaf node entities.

## Claims

### Claim 1

A computer-implemented method for deriving from hierarchical data a data structure having hierarchies based on a leaf node entity, the method comprising:
determining a reverse bridge table data structure for the hierarchical data, the reverse bridge table data structure including an association of all ancestor node entities of the hierarchical data for each leaf node entity of the hierarchical data and a hierarchical level for each association;
determining an ordered listing of the associations of the ancestor node entities and each leaf node entity based on the hierarchical level for each association; and
providing a hierarchy table data structure including an ordered aggregation of the hierarchical levels for each of the leaf node entities.

### Claim 2 (depends on 1)

The method of claim 1, wherein the association of all of the ancestor node entities of the hierarchical data for each leaf node entity of the hierarchical data includes all of the possible traversals of the hierarchical data.

### Claim 3 (depends on 1)

The method of claim 1, further comprising calculating the hierarchical level for each of the associations of the ancestor node entities and each leaf node entity.

### Claim 4 (depends on 3)

The method of claim 3, wherein the hierarchical level is calculated by determining a number of levels between each leaf node entity and an associated ancestor node entity.

### Claim 5 (depends on 1)

The method of claim 1, wherein the determining of the ordered listing of the associations of the ancestor node entities and each leaf node entity based on the hierarchical level for each association includes determining a reversal of the hierarchical levels for each of the associations.

### Claim 6 (depends on 5)

The method of claim 5, wherein the reversal of the hierarchical levels for each of the associations is calculated based on the following equations for each leaf node entity:
RHierarchicalLevel=ABS(HierarchicalLevel−@MaxLevel)
where @MaxLevel=Max (Set of Possible HierarchicalLevel);
HierarchicalLevel=number of levels between each leaf node entity and an associated ancestor node entity; and RHierarchicalLevel=the reverse or inverted hierarchical level value.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
executing a query against the hierarchy table data structure including the ordered aggregation of the hierarchical levels for each of the leaf node entities; and
generating a reporting of the query results.

### Claim 8

A system for deriving from hierarchical data a data structure having hierarchies based on a leaf node entity, the system comprising:
a memory having hierarchical data stored thereon; and
a processor in communication with the memory, the processor operable to:
determine a reverse bridge table data structure for the hierarchical data, the reverse bridge table data structure including an association of all ancestor node entities of the hierarchical data for each leaf node entity of the hierarchical data and a hierarchical level for each association;
determine an ordered listing of the associations of the ancestor node entities and each leaf node entity based on the hierarchical level for each association; and
provide an output of a hierarchy table data structure including an ordered aggregation of the hierarchical levels for each of the leaf node entities.

### Claim 9 (depends on 8)

The system of claim 8, wherein the association of all of the ancestor node entities of the hierarchical data for each leaf node entity of the hierarchical data includes all of the possible traversals of the hierarchical data.

### Claim 10 (depends on 8)

The system of claim 8, further comprising calculating the hierarchical level for each of the associations of the ancestor node entities and each leaf node entity.

### Claim 11 (depends on 10)

The system of claim 10, wherein the hierarchical level is calculated by determining a number of levels between each leaf node entity and an associated ancestor node entity.

### Claim 12 (depends on 8)

The system of claim 8, wherein the determining of the ordered listing of the associations of the ancestor node entities and each leaf node entity based on the hierarchical level for each association includes determining a reversal of the hierarchical levels for each of the associations.

### Claim 13 (depends on 12)

The system of claim 12, wherein the reversal of the hierarchical levels for each of the associations is calculated based on the following equations for each leaf node entity:
RHierarchicalLevel=ABS(HierarchicalLevel−@MaxLevel)
where @MaxLevel=Max (Set of Possible HierarchicalLevel);
HierarchicalLevel=number of levels between each leaf node entity and an associated ancestor node entity; and RHierarchicalLevel=the reverse or inverted hierarchical level value.

### Claim 14

A medium having machine readable program instructions stored thereon for deriving from hierarchical data a data structure having hierarchies based on a leaf node entity, the instructions comprising:
instructions to determine a reverse bridge table data structure for the hierarchical data, the reverse bridge table data structure including an association of all ancestor node entities of the hierarchical data for each leaf node entity of the hierarchical data and a hierarchical level for each association;
instructions to determine an ordered listing of the associations of the ancestor node entities and each leaf node entity based on the hierarchical level for each association; and
instructions to provide an output of a hierarchy table data structure including an ordered aggregation of the hierarchical levels for each of the leaf node entities.

### Claim 15 (depends on 14)

The medium of claim 14, wherein the association of all of the ancestor node entities of the hierarchical data for each leaf node entity of the hierarchical data includes all of the possible traversals of the hierarchical data.

### Claim 16 (depends on 14)

The medium of claim 14, further comprising calculating the hierarchical level for each of the associations of the ancestor node entities and each leaf node entity.

### Claim 17 (depends on 16)

The medium of claim 16, wherein the hierarchical level is calculated by determining a number of levels between each leaf node entity and an associated ancestor node entity.

### Claim 18 (depends on 14)

The medium of claim 14, wherein the determining of the ordered listing of the associations of the ancestor node entities and each leaf node entity based on the hierarchical level for each association includes determining a reversal of the hierarchical levels for each of the associations.

### Claim 19 (depends on 18)

The medium of claim 18, wherein the reversal of the hierarchical levels for each of the associations is calculated based on the following equations for each leaf node entity:
RHierarchicalLevel=ABS(HierarchicalLevel−@MaxLevel)
where @MaxLevel=Max (Set of Possible HierarchicalLevel);
HierarchicalLevel=number of levels between each leaf node entity and an associated ancestor node entity; and RHierarchicalLevel=the reverse or inverted hierarchical level value.
