# US 2025/0165533 A1 · Spatially partitioned ideally chunked entity tree

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

- Number: US 2025/0165533 A1
- Document ID: US20250165533A1
- Status: Published application
- Kind: A1
- Application number: 18/513,129
- Filed: 2023-11-17
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Paul Jerome KWIATKOWSKI
- Web page: https://patentgrep.com/patent/US20250165533A1

## CPC

- G06F 16/9027: {Trees}
- G06F 16/93: Document management systems
- G06Q 10/101: Collaborative creation, e.g. joint development of products or services
- G06Q 10/103: {Workflow collaboration or project management}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Systems and methods for providing a Spatially Partitioned Ideally Chunked Entity (“SPICE”) tree data structure are provided herein. In an example, a computerized method for using a SPICE tree includes determining a document defined by a SPICE tree data structure and navigating to content within the document based on the SPICE tree data structure. The SPICE tree data structure includes a root chunk containing radar nodes and a plurality of chunks. Each chunk includes one or more object nodes, each of which corresponds to a document attribute. Each of the radar nodes includes a reference to one of the chunks and the object nodes include a placeholder node that provides a reference to another chunk based on a position of the placeholder node within the respective chunk. The root chunk and the chunks are arranged in a hierarchical arrangement with the root chunk being a parent to the chunks.

## Claims

### Claim 1

A computerized method for using a spatially partitioned ideally chunked entity (SPICE) tree, the computerized method comprising:
determining a document defined by a SPICE tree data structure, the SPICE tree data structure comprising:
a root chunk;
a plurality of reference chunks; and
a plurality of chunks, wherein:
each chunk comprises one or more object nodes;
each reference chunk comprises one or more radar nodes;
each of the one or more object nodes corresponds to a document attribute;
each of the one or more radar nodes comprises a reference to one of the plurality of chunks;
the one or more object nodes comprise a placeholder node that provides a reference to another chunk within the plurality of chunks based on a position of the placeholder node within a respective chunk; and
the root chunk, the plurality of reference chunks, and the plurality of chunks are arranged in a hierarchical arrangement with the root chunk being a parent to one or more reference chunks within the plurality of reference chunks; and one or more reference chunks being a parent to one or more chunks within the plurality of chunks; and
navigating to content within the document based on the SPICE tree data structure.

### Claim 2 (depends on 1)

The computerized method of claim 1, wherein navigating to content within the document based on the SPICE tree data structure comprises:
identifying a first object node of the one or more object nodes associated with current content within the document, wherein the first object node is in a first chunk of the plurality of chunks;
identifying, a second object node of the one or more object nodes associated with the respective content;
traversing, starting with the first object node, the one or more object nodes within the first chunk until a first placeholder node is encountered within the first chunk; and
responsive to encountering the first placeholder node, traversing via the first placeholder node to a second chunk, wherein the second chunk comprises the second object node, and wherein traversing to the second chunk comprises:
traversing to an ancestor chunk via the reference provided by the placeholder node, wherein the ancestor chunk comprises one of the root chunk or a respective reference chunk of the plurality of reference chunks; and
traversing to a subsequent radar node within the ancestor chunk.

### Claim 3 (depends on 1)

The computerized method of claim 1, the computerized method further comprising:
determining edited content within the document, wherein the edited content corresponds to a modification to content within the document;
determining one or more object nodes corresponding to the edited content; and
modifying the one or more object nodes corresponding to the edited content, wherein one or more of the object nodes that are modified are in a first chunk.

### Claim 4 (depends on 3)

The computerized method of claim 3, wherein:
the edited content comprises additional content that is added to the document; and
modifying the one or more object nodes corresponding to the edited content comprises:
adding one or more additional object nodes corresponding to the additional content to the one or more object nodes within the first chunk;
determining an encoding size for the one or more object nodes within the first chunk;
determining that the encoding size for the one or more object nodes within the first chunk is above an encoding threshold; and
adding a new chunk to the plurality of chunks, wherein the one or more object nodes are rearranged between the first chunk and the new chunk.

### Claim 5 (depends on 3)

The computerized method of claim 3, wherein:
the edited content comprises reductional content that is removed from the document; and
modifying the one or more object nodes corresponding to the reductional content comprises removing one or more reductional object nodes corresponding to the reductional content from the one or more object nodes within the first chunk.

### Claim 6 (depends on 1)

The computerized method of claim 1, wherein object nodes within a given chunk correspond to adjacent content within the document.

### Claim 7 (depends on 1)

The computerized method of claim 1, wherein the data structure is a self-organizing data structure that rebalances based on an encoding size of the one or more object nodes within a given chunk.

### Claim 8 (depends on 1)

The computerized method of claim 1, wherein a number of object nodes within a given chunk is determined by an encoding size equation, the encoding size equation comprising:
N
=
2
⁢
n
+
b
×
n
wherein:
N is the number of nodes within a given chunk;
n is an encoding size of an object node; and
b is a buffer factor.

### Claim 9 (depends on 1)

The computerized method of claim 1, wherein navigating to content within the data structure further comprises loading an ancestry of a first object node within a first chunk, wherein the ancestry of the first object node comprises:
determining a parent chunk for the first chunk;
loading the one or more object nodes within the first chunk; and
loading one or more object nodes within the parent chunk.

### Claim 10 (depends on 1)

The computerized method of claim 1, the computerized method further comprising:
determining that additional content is added to the document;
adding one or more additional object nodes to the one or more object nodes within the first chunk, wherein the one or more additional object nodes correspond to the additional content added to the document;
determining an encoding size for the one or more object nodes within the first chunk;
determining that the encoding size for the one or more object nodes within the first chunk is above an encoding threshold;
generate a new chunk within the plurality of chunks of the data structure;
arranging the one or more object nodes between the first chunk and the new chunk; and
adding a new radar node to the root chunk, wherein the new radar node comprises a reference pointing to the new chunk.

### Claim 11

A non-transitory computer-readable medium comprising processor-executable instructions configured to cause one or more processors to:
receive, from a client device, an indication to access a document defined by a data structure, the data structure comprising:
a root chunk;
a plurality of reference chunks; and
a plurality of chunks, wherein:
each chunk comprises one or more object nodes;
each of the one or more object nodes corresponds to a document attribute;
each of the plurality of reference chunks comprises one or more radar nodes;
each of the one or more radar nodes comprises a reference to one of the plurality of chunks;
the one or more object nodes comprise a placeholder node that provides a reference to another chunk within the plurality of chunks based on position of the placeholder node within a respective chunk; and
the root chunk, the plurality of reference chunks, and the plurality of chunks are arranged in a hierarchical arrangement with the root chunk being a parent to one or more reference chunks within the plurality of reference chunks; and one or more reference chunks being a parent to one or more chunks within the plurality of chunks; and
navigate, responsive to input from the client device, to content within the document based on the data structure.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions to navigate, responsive to input from the client device, to content within the document based on the data structure cause the one or more processors to further execute processor-executable instructions stored in the non-transitory computer-readable medium to:
identify a first object node of the one or more object nodes associated with current content within the document, wherein the first object node is in a first chunk of the plurality of chunks;
identify, a second object node of the one or more object nodes associated with the respective content;
traverse, starting with the first object node, the one or more object nodes within the first chunk until a first placeholder node is encountered within the first chunk; and
responsive to encountering the first placeholder node, traverse via the first placeholder node to a second chunk, wherein the second chunk comprises the second object node, and wherein traversing to the second chunk comprises:
traversing to an ancestor chunk via the reference provided by the placeholder node, wherein the ancestor chunk comprises one of the root chunk or a respective reference chunk of the plurality of reference chunks; and
traversing to a subsequent radar node within the ancestor chunk.

### Claim 13 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions cause the one or more processors to further execute processor-executable instructions stored in the non-transitory computer-readable medium to:
determine, responsive to input from the client device, that additional content is added to the document;
add one or more additional object nodes to the one or more object nodes within the first chunk, wherein the one or more additional object nodes correspond to the additional content added to the document;
determine an encoding size for the one or more object nodes within a first chunk;
determine that the encoding size for the one or more object nodes within the first chunk is above an encoding threshold;
generate a new chunk within the plurality of chunks of the data structure;
arrange the one or more object nodes between the first chunk and the new chunk; and
add a placeholder node to the first chunk, wherein the placeholder node comprises a reference pointing to the new chunk.

### Claim 14 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions cause the one or more processors to further execute processor-executable instructions stored in the non-transitory computer-readable medium to:
determine, responsive to input from the client device, that reductional content is removed from the document;
remove one or more reductional object nodes from the one or more object nodes within a first chunk, wherein the one or more reductional object nodes correspond to the reductional content removed from the document;
determine an encoding size for the one or more object nodes within the first chunk after the reductional object nodes are removed;
determine that the encoding size for the one or more object nodes within the first chunk is below an encoding floor threshold;
rebalance the one or more object nodes within the plurality of chunks, wherein rebalancing the one or more object nodes within the plurality of chunks comprises:
removing the first chunk from the plurality of chunks; and
rearranging the one or more object nodes into one or more other chunks within the plurality of chunks based on the encoding size of the one or more object nodes from the first chunk.

### Claim 15 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions cause the one or more processors to further execute processor-executable instructions stored in the non-transitory computer-readable medium to:
load an ancestry of a first object node within a first chunk based on navigating to content within the data structure, wherein loading the ancestry of the first object node comprises loading the ancestry of the first object node comprises loading the one or more object nodes within the first chunk.

### Claim 16 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions to navigate to content within the document based on the data structure cause the one or more processors to further execute processor-executable instructions stored in the non-transitory computer-readable medium:
identify a first radar node within the plurality of radar nodes corresponding to a first chunk; and
traverse from the first radar node to the first chunk following the reference of the first radar node linking the first radar node to the first chunk.

### Claim 17 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions cause the one or more processors to further execute processor-executable instructions stored in the non-transitory computer-readable medium to:
determine a modification to the content within the document; and
rebalance the one or more object nodes within the plurality of chunks based on the modification, wherein rebalancing the one or more object nodes within the plurality of chunks comprises:
removing a first chunk from the plurality of chunks; and
rearranging the one or more object nodes into one or more other chunks within the plurality of chunks based on an encoding size of the one or more object nodes from the first chunk.

### Claim 18 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions cause the one or more processors to further execute processor-executable instructions stored in the non-transitory computer-readable medium to:
determine a modification to the content within the document;
determine an encoding size for one or more modified object nodes based on the modification; and
rebalance the one or more object nodes within the plurality of chunks based on the encoding size.

### Claim 19

A computerized method for building a spatially partitioned ideally chunked entity (SPICE) tree, the computerized method comprising:
creating and storing data into a plurality of nodes within a data structure, wherein the data structure comprises:
a root chunk;
a plurality of reference chunks; and
a plurality of chunks, wherein:
each chunk comprises one or more object nodes;
each of the one or more object nodes corresponds to a document attribute;
each reference chunk comprises one or more radar nodes;
each of the one or more radar nodes comprises a reference to one of the plurality of chunks;
the one or more object nodes comprise a placeholder node that provides a reference to another chunk within the plurality of chunks based on a position of the placeholder node within a respective chunk; and
the root chunk, the plurality of reference chunks, and the plurality of chunks are arranged in a hierarchical arrangement with the root chunk being a parent to one or more reference chunks within the plurality of reference chunks; and one or more reference chunks being a parent to one or more chunks within the plurality of chunks; and
chunking the data into the plurality of chunks, wherein chunking the data comprises:
determining adjacent document attributes that are within a proximity limit to each other within the document;
determining an encoding size for the adjacent document attributes; and
arranging object nodes corresponding to the adjacent document attributes into one or more chunks of the plurality of chunks based on the encoding size.

### Claim 20 (depends on 19)

The computerized method of claim 19, wherein the method further comprises:
determining a modification to one or more document attributes; and
rebalancing the one or more object nodes within the data structure based on the modification to the one or more document attributes, wherein rebalancing the one or more object nodes within the data structure comprises determining an encoding size for the plurality of object nodes.
