Nova Patents
EP3920040A1

Offline preparation for bulk inserts

Abstract

The present disclosure relates to a method for providing a tree data structure from bulk data comprising data items. The method comprises: providing an algorithm adapted for resorting sorted data items in accordance with levels and the ordering of the nodes within each level of a tree data structure, each data item corresponding to a node of the tree data structure; receiving at a client computer the data items to be stored on the tree data structure; sorting the received data items in accordance with a predefined sorting order; processing at the client computer the algorithm for resorting the sorted received data items; generating a data table for representing the tree data structure in a tabular form having columns and rows, wherein in accordance with the resorting order each row of the data table represents a respective resorted data item, wherein values in the columns are determined in accordance with the order of the rows; storing the data table as the tree data structure.

EP3920040A1, drawing sheet 1
Sheet 1 of 11

Term

10.3 yearsto projected expiry

Projected expiry 23 December 2036, counted from filing; an application has no term until it is granted.

  1. Priority and filed
  2. Published
  3. Today
  4. Projected expiry

17 claims: 4 independent, 13 dependent

  1. 1
    A method for providing a tree data structure from bulk data comprising data items, comprising:- providing an algorithm (600) adapted for resorting sorted data items in accordance with levels and the ordering of nodes within each level of a tree data structure, each data item corresponding to a node of the tree data structure;- receiving at a client computer (102A-N) the data items to be stored on the tree data structure;- sorting the received data items (325) in accordance with a predefined sorting order;- processing at the client computer (102A-N) the algorithm (600) for resorting the sorted received data items, the resorting being performed such that the order of the data items in the tree is reflecting the predefined sorting order;- generating a data table (420, 520) for representing the tree data structure in a tabular form having columns and rows, wherein in accordance with the resorting order each row of the data table represents a respective resorted data item, wherein values in the columns are determined in accordance with the order of the rows;- storing the data table (420, 520) as the tree data structure (420, 520);and using the data table for performing a tree traversal for accessing data.
  2. 10
    The method of any of claims 3-9, the attributes further comprising a left parent attribute indicating whether the given node is its parent's left child or not;wherein the left parent attribute value is empty for the first ordered row;and the value of the left parent attribute for the remaining rows is alternating between a value indicating the given node is its parent's left child and a value indicating the given node is not its parent's left child.
  3. 15
    The method of any of the previous claims further comprising storing the data table in a main memory of the client computer.
  4. 16
    A computer program product comprising computer executable instructions to perform the method as claimed in any of the previous claims.
  5. 17
    A client system (102A-N) for providing a tree data structure from bulk data comprising data items, wherein an algorithm (600) adapted for resorting sorted data items in accordance with levels and the ordering of the nodes within each level of a tree data structure is provided, each data item corresponding to a node of the tree data structure, the client system being configured for:- receiving at a client computer the data items to be stored on the tree data structure;- sorting the received data items (325) in accordance with a predefined sorting order;- processing at the client computer the algorithm (600) for resorting the sorted received data items, the resorting being performed such that the order of the data items in the tree is reflecting the predefined sorting order;- generating a data table (420, 520) for representing the tree data structure in a tabular form having columns and rows, wherein in accordance with the resorting order each row of the data table represents a respective resorted data item, wherein values in the columns are determined in accordance with the order of the rows;- storing the data table (420, 520) as the tree data structure (420, 520), and using the data table for performing a tree traversal for accessing data.