# US 2017/0364487 A1 · Method of generating hierarchical data structure

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

- Number: US 2017/0364487 A1
- Document ID: US20170364487A1
- Status: Published application
- Kind: A1
- Application number: 15/504,786
- Filed: 2015-04-08
- Published: 2017-12-21
- Earliest claimed: 2014-12-25
- Assignees: Yandex Europe AG
- Applicants: Yandex Europe AG
- Inventors: Leonid Leonidovich NALCHADZHI
- Web page: https://patentgrep.com/patent/US20170364487A1

## CPC

- G06F 40/154: Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 40/137: Hierarchical processing, e.g. outlines
- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- G06F 16/282: {Hierarchical databases, e.g. IMS, LDAP data stores or Lotus Notes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is disclosed a computer-implemented method for generating a hierarchical data structure. The computer-implemented method can be executable at a server. The computer implemented method comprises: identifying a plurality of data elements to be searched, the plurality of data elements having a set of descriptors, each descriptor within the set of descriptors being associated with a data type being different from data types of other descriptors within the set of descriptors; defining the hierarchical data structure, having a first level and a second level.

## Claims

### Claim 1

A computer-implemented method for generating a multi-level hierarchical data tree structure, the hierarchical data structure having at least a first level, a second level, and a leaf level, the computer-implemented method executable at a server, the computer-implemented method comprising:
identifying a plurality of data elements to be searched, the plurality of data elements having a set of descriptors, each descriptor within the set of descriptors being associated with a data type being different from data types of other descriptors within the set of descriptors;
defining the multi-level hierarchical data tree structure for storing elements of the plurality of data elements of the same type, the plurality of data elements having a common root, the first level accommodating a parent node, the second level accommodating a first child node and a second child node both dependent from the parent node, and the leaf level accommodating a first leaf node and second leaf node each dependent of the respective first child node and the second child node;
the parent node for storing a first descriptor from the set of descriptors, the first descriptor associated with one or more data elements of the plurality of data elements, the descriptor being of a first data type;
each of the first child node and the second child node for storing a respective second descriptor of the respective one of the one or more data elements; the respective second descriptor being of the same second data type, the same second data type being different from the first data type; and
each of the first leaf node and second leaf node for storing a respective statistical snapshot, each of the first and second leaf node comprising a plurality of third descriptors of different third data types being different from the first and second data type, the third data type being at least one of: (i) a data element count associated with its respective branch, and (ii) a lowest minimum and highest maximum value associated with the one or more data element stored therein.

### Claim 2 (depends on 1)

The method of claim 1, the parent node being a first parent node, and wherein the defining the hierarchical data structure further comprises defining a second parent node for storing a descriptor from the set of descriptors; the descriptor being different from the descriptor of a first parent node; both descriptors being of the same first data type.

### Claim 3 (depends on 2)

The method of claim 2, the defining the hierarchical data structure further comprises defining a third child node and a fourth child node, both dependent from the second parent node; each of the third child node and the fourth child node for storing a respective other descriptor of the other ones of the one or more data elements; the respective other descriptor being of the same second data type.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1, the defining the hierarchical data structure is executed in response to receiving an indication of a data element of the plurality of data elements of the same type, the data element to be indexed in the hierarchical data structure, the data element associated with the set of descriptors, the set of descriptors having a first descriptor and a second descriptor.

### Claim 6 (depends on 5)

The method of claim 5, wherein in response to receiving an indication of the data element being associated with the first descriptor being of the first data type the defining comprises identifying the parent node at the first level of the hierarchical data structure.

### Claim 7 (depends on 6)

The method of claim 6, wherein in response to receiving an indication of the data element being associated with the second descriptor being of the second data type, the defining comprises identifying the first child node at the second level of the hierarchical data structure.

### Claim 8 (depends on 6)

The method of claim 6, wherein the data element is the first data element and wherein in response to receiving an indication of a second data element being associated with a second descriptor being of the second data type, the second descriptor being the different from the second descriptor of the first data element the defining comprises identifying the second child node at the second level of the hierarchical data structure.

### Claim 9 (depends on 6)

The method of claim 6, wherein the parent node is the first parent node, and wherein in response to receiving an indication of the second data element associated with a descriptor being different from the first descriptor; both descriptors being of the same first data type, the defining further comprises identifying a second parent node at the first level of the hierarchical data structure.

### Claim 10 (depends on 5)

The method of claim 5, wherein in response to receiving an indication of the data element being associated with the first descriptor being of the first data type, the second descriptor being of the second data type and the third descriptor being of the third data type, the defining further comprises identifying a first leaf node being associated with the first child node; the first leaf node for storing the third descriptor.

### Claim 11 (depends on 10)

The method of claim 10, wherein the data element is the first data element, and wherein in response to receiving an indication of a second data element being associated with the same first descriptor and the same second descriptor as the first data element, but a different third descriptor of the same third data type, the defining further comprises associating the second data element with the first leaf node.

### Claim 12 (depends on 11)

The method of claim 11, further comprising updating the first leaf node with a statistical snapshot of the third descriptor of the first data element and the different third descriptor of the second data element.

### Claim 13

(canceled)

### Claim 14 (depends on 11)

The method of claim 11, wherein in response to receiving an indication of a third data element being associated with the same first descriptor and the same second descriptor as both the first and second data elements, but a different third descriptor of the same third data type, the defining further comprises associating the third data element with the first leaf node.

### Claim 15 (depends on 14)

The method of claim 14, further comprising updating the statistical snapshot with information associated with the third data element.

### Claim 16 (depends on 15)

The method of claim 15, wherein the updating comprises: (i) updating a count within the number of data elements, (ii) determining if the indication of the minimum value and the maximum value needs to be updated based on the value of a third descriptor of the third data element.

### Claim 17 (depends on 16)

The method of claim 16, wherein the determining if the indication of the minimum value and the maximum value needs to be updated comprises checking if the value of the third descriptor falls within a range defined between the minimum value and the maximum value.

### Claim 18 (depends on 17)

The method of claim 17, wherein responsive to the value of the third descriptor falling outside one of the minimum value and the maximum value, changing the respective one of the minimum value and the maximum value to the value of the third descriptor of the third data element.

### Claim 19 (depends on 10)

The method of claim 10, wherein the data element is the first data element, and wherein in response to receiving an indication of a fourth data element being associated with the same first descriptor and a second descriptor being of the same second data type but being different from the second descriptor of the first data element, and a third descriptor being of the same third data type, the defining further comprises identifying a second leaf node being associated with the second child node; the second leaf node for storing the third descriptor associated with the fourth data element.

### Claim 20 (depends on 10)

A method of searching data using a hierarchical data structure defined by executing the method of claim 10, the method comprising:
receiving a search query having a search parameter; the search parameter being associated with a data type;
recognizing a branch in the hierarchical data structure; the branch comprising at least one node associated with a descriptor being of the same data type; the descriptor matching with the search parameter;
accessing a leaf node associated with the branch, the leaf node having at least one data element being associated with at least the descriptor;
retrieving the at least one data element from the leaf node.

### Claim at position 21

-27. (canceled)

### Claim 28

A server configured to generate a multi-level hierarchical data tree structure, the hierarchical data structure having at least a first level, a second level, and a leaf level, the server comprising non-transient storage medium for storing computer-executable instructions, which instructions when executed are configured to render the server operable to:
identify a plurality of data elements to be searched, the plurality of data elements having a set of descriptors, each descriptor within the set of descriptors being associated with a data type being different from data types of other descriptors within the set of descriptors;
define the multi-level hierarchical data tree structure for storing elements of the plurality of data elements of the same type, the plurality of data elements having a common root, the first level accommodating a parent node, the second level accommodating a first child node and a second child node both dependent from the parent node, and the leaf level accommodating a first leaf node and second leaf node each dependent of the respective first child node and the second child node;
the parent node for storing a first descriptor from the set of descriptors, the first descriptor associated with one or more data elements of the plurality of data elements, the descriptor being of a first data type;
each of the first child node and the second child node for storing a respective second descriptor of the respective one of the one or more data elements; the respective second descriptor being of the same second data type, the same second data type being different from the first data type;
each of the first leaf node and second leaf node for storing a respective statistical snapshot, each of the first and second leaf node comprising a plurality of third descriptors of different third data types being different from the first and second data type, the third data type being at least one of: (i) a data element count associated with its respective branch, and (ii) a lowest minimum and highest maximum value associated with the one or more data element stored therein.

### Claim 29

(canceled)
