# US 11,263,191 B2 · Method and system for storing and retrieving multi-dimensional data

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

- Number: US 11,263,191 B2
- Document ID: US11263191B2
- Status: Granted
- Kind: B2
- Application number: 16/329,263
- Filed: 2017-08-31
- Published: 2019-07-18
- Granted: 2022-03-01
- Earliest claimed: 2016-08-31
- Assignees: Pointerra Technologies Pty Ltd
- Applicants: Pointerra Technologies Pty Ltd
- Inventors: Shane Douglas
- Web page: https://patentgrep.com/patent/US11263191B2

## CPC

- G06F 16/2264: {Multidimensional index structures}
- G06F 16/2237: {Vectors, bitmaps or matrices}
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/9027: {Trees}
- H03M 7/40: Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A method of storing multi-dimensional data, the method comprises encoding a structure of nodes of a tree data structure into an order representation; compressing data of nodes of the tree data structure to create a data stream of compressed data portions of variable length in a sequence corresponding to the order represented in the order representation. Each compressed data portion is formed from the data of each node. The method further comprises mapping the positions of the data portions in the data stream to the order representation to produce a location representation; and storing the order representation, data stream and location representation. A system of storing multi-dimensional data is also disclosed, as well as a method and system for retrieving stored multi-dimensional data.

## Claims

### Claim 1

A method of storing multi-dimensional data, the method comprising:
encoding a structure of nodes of a tree data structure into an order representation;
compressing data of nodes of the tree data structure to create a data stream of compressed data portions of variable length in a sequence corresponding to the order represented in the order representation, wherein each compressed data portion is formed from the data of each node;
mapping the positions of the data portions in the data stream to the order representation to produce a location representation;
storing the order representation, data stream and location representation;
decompressing data of an identified node without decompressing the entirety of the stored data stream.

### Claim 2 (depends on 1)

A method according to claim 1, wherein the location representation is encoded for storing.

### Claim 3 (depends on 1)

A method according to claim 1, wherein the data portions comprise node structural information.

### Claim 4 (depends on 3)

A method according to claim 3, wherein the node structural information in the created data portions comprise the presence or absence of child nodes to that node.

### Claim 5 (depends on 1)

A method according to claim 1, wherein the order representation is in the form of a bit vector.

### Claim 6 (depends on 5)

A method according to claim 5, wherein the bit vector is encoded using a succinct data structure technique.

### Claim 7 (depends on 6)

A method according to claim 6, wherein the succinct data structure technique for encoding the ordering of nodes is a depth-first unary degree sequence succinct data structure technique.

### Claim 8 (depends on 7)

A method according to claim 7, wherein the depth-first unary degree sequence succinct data structure technique comprises concatenating in depth-first order the tree data structure using a balanced bit representation, wherein the balanced bit representation forms the bit vector.

### Claim 9 (depends on 5)

A method according to claim 5, wherein the position of the node in the bit vector is mapped to the position of the data portion in the data stream.

### Claim 10 (depends on 9)

A method according to claim 9, wherein the mapping of the data portions in the data stream comprises determining the position in the data stream of the location of each data portion.

### Claim 11 (depends on 10)

A method according to claim 10, wherein each location is determined as the position in the data stream of the beginning of the respective data portion.

### Claim 12 (depends on 11)

A method according to claim 11, wherein the locations of the positions of the node are encoded in node order as the location representation.

### Claim 13

A method of retrieving multi-dimensional data, the method comprising:
receiving an identifier of a node of tree data to be retrieved;
providing a stored data tree comprising a data stream of a plurality of data portions, where each data portion is of a variable size and comprises compressed data of a node of the data tree; providing a data order representation of a sequence of nodes in the stored data tree;
providing a location representation which represents the position of the variable length data portions in the data stream in sequence order;
decoding bit vector data order representation to identify a sequence position of the identified node in the sequence of data portions in the data stream;
determining the location in the data stream of the identified node from the decoded position in the sequence and the location representation;
accessing the data portion at the determined location within the data stream;
decompressing the accessed data portion to obtain decompressed data of the identified node,
wherein the decompression of the data of the identified node occurs without decompressing the entirety of the data stream.

### Claim 14

A method of retrieving multi-dimensional data, the method comprising:
receiving an identifier of a node of tree data structure to be retrieved;
decoding a data order representation to identify a sequence position of the identified node in a sequence of data portions in a data stream of data portions, each data portion being compressed node data;
determining a location in the data stream of the identified node from the decoded position in the sequence and a location representation which represents the position of the variable length data portions in the data stream in sequence order;
accessing the data portion at the determined location within the data stream;
decompressing the accessed data portion to obtain decompressed data of the identified node;
wherein the decompression of the data of the identified node occurs without decompressing the entirety of the data stream.

### Claim 15 (depends on 14)

A method according to claim 14, wherein the data order representation is in the form of a bit vector.

### Claim 16 (depends on 14)

A method according to claim 14, wherein the decompression of the data is performed on discrete locations within the data stream.

### Claim 17 (depends on 14)

A method according to claim 14, wherein the method further comprises decoding the location representation to produce the positions of the variable length data portions in the data stream.

### Claim 18 (depends on 17)

A method according to claim 17, wherein the decoding comprises retrieving a first bit sequence and a second bit sequence according to the identifier and concatenating the first and second bit sequences to form the data order representation, which represents the respective position of the variable length data position of the identified node.

### Claim 19 (depends on 17)

A method according to claim 17, wherein the decoding comprises reversing an Elias-Fano representation of monotone sequences of the location representation.

### Claim 20 (depends on 14)

A method according to claim 14, wherein the method further comprises extracting child node information from the decompressed data portion.

### Claim 21 (depends on 20)

A method according to claim 20, wherein the method further comprises combining the extracted child node information with the sequence order of the nodes to determine the position of child nodes of the decompressed node in the data tree structure.

### Claim 22 (depends on 21)

A method according to claim 21, wherein the presence of child nodes of the decompressed node is determined from child node information.

### Claim 23 (depends on 22)

A method according to claim 22, wherein the sequence of child nodes corresponds to the order of nodes represented in the data order representation.

### Claim 24 (depends on 23)

A method according to claim 23, wherein the position of a child node in the tree structure forms an identifier of a further node to be retrieved.

### Claim 25 (depends on 14)

A method according to claim 14, wherein the method further comprises combining node positon information in the decompressed data portion with the identified sequence positon of the node to determine the position of the decompressed data in the data tree structure.
