# US 2022/0284002 A1 · Data model and data service for content management system

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

- Number: US 2022/0284002 A1
- Document ID: US20220284002A1
- Status: Published application
- Kind: A1
- Application number: 17/825,571
- Filed: 2022-05-26
- Published: 2022-09-08
- Earliest claimed: 2020-12-21
- Assignees: Dropbox, Inc.
- Applicants: Dropbox, Inc.
- Inventors: Aaron Passey; Braden Walker; Akos Albert
- Web page: https://patentgrep.com/patent/US20220284002A1

## CPC

- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- G06F 16/2219: {Large Object storage; Management thereof}
- G06F 16/2291: {User-Defined Types; Storage management thereof}
- G06F 16/2474: {Sequence data queries, e.g. querying versioned data}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/273: {Asynchronous replication or reconciliation}
- G06F 16/275: {Synchronous replication}
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosed technology addresses the need in the art for a content management system that can be highly flexible to the needs of its subjects. The present technology permits any object to be shared by providing a robust and flexible access control list mechanism. The present technology utilizes a data structure that is highly efficient that both minimizes the amount of information that needs to be written into any database, but also allows for fast reads and writes of information from authoritative tables that are a source of truth for the content management system, while allowing for maintenance of indexes containing more refined data that allow for efficient retrieval of certain information that would normally need to be calculated when it is needed.

## Claims

### Claim 1

A method comprising:
maintaining a database including at least one table, wherein the database includes immutable rows with fields for data descriptive of changed data occurring relative to objects stored in a content management system, the fields including:
an object identifier (“ID”) referencing a specific object for which data in a respective row in the at least one table pertains;
access capability data for the specific object represented by the object ID;
object type data for the specific object represented by the object ID; and
recording a new immutable row in the at least one table when the changed data occurs relative to at least one of the objects stored in the content management system, wherein the new immutable row includes the object ID for at least one of the objects stored in the content management system to which the changed data has occurred and data pertaining to the changed data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the at least one table comprises at least three tables including:
a first object table containing the access capability data;
a second object table containing object activity data including the object type data; and
a third table containing ancestor data including a second object identifier (“ID”) referencing a second specific object that is a direct ancestor of the specific object represented by the object ID, wherein each of the at least three tables is indexed by the object ID and clock value fields.

### Claim 3 (depends on 2)

The method of claim 2 comprising:
maintaining a directory index in addition to the third table containing ancestor data, the directory index containing descendants of the specific object by identifying at least a third object identifier (“ID”) referencing a direct descendant of the specific object.

### Claim 4 (depends on 1)

The method of claim 1, wherein the fields further comprise at least one of:
a clock value recording a system time in which the changed data relative to the specific object represented by the object ID occurred; and
an ancestor object ID referencing a second specific object that is a direct ancestor of the specific object represented by the object ID.

### Claim 5 (depends on 4)

The method of claim 4, wherein the clock value is based on a hybrid logical clock.

### Claim 6 (depends on 1)

The method of claim 1, comprising:
receiving a request to represent a directory tree at a specified time; and
accessing the database to identify ancestors of the specific object by first identifying a direct ancestor of the specific object, and then recursively identifying a further direct ancestor of the direct ancestor until no further direct ancestors are available.

### Claim 7 (depends on 1)

The method of claim 1, wherein the at least one table includes minimally descriptive data sufficient to prove a source of truth for the content management system.

### Claim 8 (depends on 7)

The method of claim 7, wherein the minimally descriptive data does not include a description of an action resulting in the changed data for the specific object.

### Claim 9

A non-transitory computer readable medium comprising instructions, the instructions, when executed by a computing system, cause the computing system to:
maintain a database including at least one table, wherein the database includes immutable rows with fields for data descriptive of changed data occurring relative to objects stored in a content management system, the fields including:
an object identifier (“ID”) referencing a specific object for which data in a respective row in the at least one table pertains;
access capability data for the specific object represented by the object ID;
object type data for the specific object represented by the object ID; and
record a new immutable row in the at least one table when the changed data occurs relative to at least one of the objects stored in the content management system, wherein the new immutable row includes the object ID for at least one of the objects stored in the content management system to which the changed data has occurred and data pertaining to the changed data.

### Claim 10 (depends on 9)

The computer readable medium of claim 9, wherein the at least one table comprises at least three tables including:
a first object table containing access capability data;
a second object table containing object activity data including object type data; and
a third table containing ancestor data including a second object ID referencing a second specific object that is a direct ancestor of the specific object represented by the object ID, wherein each of the at least three tables is indexed by the object ID and clock value fields.

### Claim 11 (depends on 9)

The computer readable medium of claim 9, wherein the fields further comprise at least one of:
a clock value recording a system time in which the changed data relative to the specific object represented by the object ID occurred; and
an ancestor object ID referencing a second specific object that is a direct ancestor of the specific object represented by the object ID.

### Claim 12 (depends on 11)

The computer readable medium of claim 11, wherein the clock value is based on a hybrid logical clock.

### Claim 13 (depends on 9)

The computer readable medium of claim 9, wherein the at least one table includes minimally descriptive data sufficient to prove a source of truth for the content management system.

### Claim 14 (depends on 9)

The computer readable medium of claim 9, wherein the instructions, when executed by a computing system, further cause the computing system to:
receive a request to represent a directory tree at a specified time; and
access the database to identify ancestors of the specific object by first identifying a direct ancestor of the specific object, and then recursively identifying a further direct ancestor of the direct ancestor until no further direct ancestors are available.

### Claim 15

A system comprising:
at least one processor; and
at least one non-transitory computer readable medium storing instructions thereon, the instructions are effective to cause the at least one processor to:
maintain a database including at least one table, wherein the database includes immutable rows with fields for data descriptive of changed data occurring relative to objects stored in a content management system, the fields including:
an object identifier (“ID”) referencing a specific object for which data in a respective row in the at least one table pertains;
access capability data for the specific object represented by the object ID;
object type data for the specific object represented by the object ID; and
record a new immutable row in the at least one table whenever the changed data occurs relative to at least one of the objects stored in the content management system, wherein the new immutable row includes the object ID for at least one of the objects stored in the content management system to which the changed data has occurred and data pertaining to the changed data.

### Claim 16 (depends on 15)

The system of claim 15, wherein the at least one table comprises at least three tables including:
a first object table containing access capability data;
a second object table containing object activity data including object type data; and
a third table containing ancestor data including a second object ID referencing a second specific object that is a direct ancestor of the specific object represented by the object ID, wherein each table is indexed by the object ID and clock value fields.

### Claim 17 (depends on 16)

The system of claim 16, the instructions effective to cause the at least one processor to:
maintain a directory index in addition to the third table containing ancestor data, the directory index containing descendants of the specific object by identifying at least a third object identifier (“ID”) referencing a direct descendant of the specific object.

### Claim 18 (depends on 15)

The system of claim 15, wherein the fields further comprise at least one of:
a clock value recording a system time in which the changed data relative to the specific object represented by the object ID occurred; or
an ancestor object ID referencing a second specific object that is a direct ancestor of the specific object represented by the object ID.

### Claim 19 (depends on 18)

The system of claim 18, wherein the clock value is based on a hybrid logical clock.

### Claim 20 (depends on 15)

The system of claim 15, wherein the at least one table includes minimally descriptive data sufficient to prove a source of truth for the content management system.
