×

Indexing hierarchical data

  • US 9,280,575 B2
  • Filed: 07/19/2013
  • Issued: 03/08/2016
  • Est. Priority Date: 07/20/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computing system comprising:

  • one or more memory storing processor-executable program code; and

    one or more processor to execute the processor-executable program code in order to cause the computing system to;

    generate an encoding for each of a hierarchy of nodes, each of the nodes associated with one or more attributes, and the encoding for each node including a first pointer and a second pointer;

    generate an order tree comprising a hierarchy of entries that is different from the hierarchy of nodes and the encoding, wherein each pointer of the encoding points to a respective one of the entries, and wherein the encoding and the order tree indicate a position of each node in the hierarchy of nodes; and

    use the order tree to support queries on the hierarchy of the nodes;

    wherein the processor is to execute the processor-executable program code in order to cause the computing system to;

    determine an order relation between a first entry of the order tree and a second entry of the order tree based on a structure of the order tree; and

    wherein determination of the order relation comprises;

    determination of a number p1 where each digit of p1 corresponds to a position of each entry on a first path from the first entry to a root entry of the order tree, and a least significant digit of p1 corresponds to a position of the first entry;

    determination of a number p2 where each digit of p2 corresponds to a position of each entry on a second path from the second entry to the root entry of the order tree, and a least significant digit of p2 corresponds to a position of the second entry; and

    comparison of p1 and p2.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×