# US 2020/0403797 A1 · Digest proofs in a journaled database

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

- Number: US 2020/0403797 A1
- Document ID: US20200403797A1
- Status: Published application
- Kind: A1
- Application number: 16/446,512
- Filed: 2019-06-19
- Published: 2020-12-24
- Earliest claimed: 2019-06-19
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Tate Andrew Certain; Benjamin Nelson Glowney; Allan Henry Vermeulen
- Web page: https://patentgrep.com/patent/US20200403797A1

## CPC

- G06F 21/645: {using a third party}
- H04L 9/3218: {using proof of knowledge, e.g. Fiat-Shamir, GQ, Schnorr, ornon-interactive zero-knowledge proofs}
- G06F 16/2255: {Hash tables}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A database management system stores an entry in a journal. Upon storage of the entry, the journal comprises a plurality of threaded leaf nodes and a hierarchy of interior nodes comprising hash values computed from the threaded leaf nodes. A first set of hash values is provided to prove that the entry is stored in a first version of the journal. A second set is provided to prove that the entries stored in the first version of the journal are unmodified and stored in a second version of the journal.

## Claims

### Claim 1

A system, comprising:
at least one processor; and
a memory comprising instructions that, in response to execution by the at least one processor, cause the system to at least:
store one or more entries in a first version of a journal, wherein the first version of the journal, upon storage of the one or more entries, comprises:
an ordered plurality of leaf nodes, wherein a leaf node of the ordered plurality of leaf nodes comprises a hash value based at least in part on a hash value of a prior node in the ordered plurality of leaf nodes;
a hierarchy of interior nodes, wherein an interior node comprises a hash value based at least in part on hash values of one or more children of the interior node; and
provide a first digest of the first version of the journal, wherein the first digest is usable in a proof that the one or more entries are unmodified and stored in the first version of the journal;
provide, subsequent to one or more additional entries being added to the journal, a second digest of a second version of the journal; and
provide hash values sufficient to prove that the second digest is based at least in part on information included in the first digest and that the one or more entries are unmodified and stored in the second version of the journal.

### Claim 2 (depends on 1)

The system of claim 1, wherein the provided hash values are sufficient when the hash values can be used, with a retained hash value based at least in part on the one or more entries, to compute the second digest.

### Claim 3 (depends on 2)

The system of claim 2, wherein the retained hash value corresponds to a leaf node of the journal.

### Claim 4 (depends on 1)

The system of claim 1, wherein the proof that the second digest is based at least in part on the first digest comprises successive application of a symmetric hash operator to the provided hash values.

### Claim 5 (depends on 1)

The system of claim 1, wherein a proof that the one or more entries are unmodified comprises determining that a leaf-node of the journal is based at least in part on a hash value computed based at least in part on the one or more entries.

### Claim 6 (depends on 1)

The system of claim 1, the memory comprising further instructions that, in response to execution by the at least one processor, cause the system to at least receive a request to verify that the one or more entries are unmodified and stored in the second version of the journal, wherein the request comprises at least one of information indicative of a location of the one or more entries or information indicative of the first version of the journal.

### Claim 7

A computer-implemented method, comprising:
storing an entry in a first version of a journal, wherein the first version of the journal, upon storage of the entry, comprises:
a plurality of leaf nodes, wherein a leaf node of the plurality of leaf nodes comprises a hash value based at least in part on a hash value of a prior node in the plurality of leaf nodes;
a hierarchy of interior nodes, wherein an interior node of the hierarchy of interior nodes comprises a hash value based at least in part hash values of one or more children of the interior node;
providing a first digest of the first version of the journal, wherein the first digest is usable for proving that the entry is unmodified and stored in the first version of the journal;
providing a second digest of a second version of the journal; and
provide hash values sufficient to prove that the second digest is based at least in part on information included in the first digest and that the entry is unmodified and stored in the second version of the journal.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the list of hash values is sufficient when the provided hash values can be used, with an additional hash value based at least in part on the entry, to compute the second digest.

### Claim 9 (depends on 7)

The computer-implemented method of claim 7, wherein the additional hash value corresponds to a leaf-node of the journal.

### Claim 10 (depends on 7)

The computer-implemented method of claim 7, wherein proving that the second digest is based at least in part on the first digest comprises successive application of a hash operator to the provided hash values.

### Claim 11 (depends on 9)

The computer-implemented method of claim 9, wherein the hash operator is a symmetric hash operator.

### Claim 12 (depends on 7)

The computer-implemented method of claim 7, wherein the second digest comprises one or more recomputed nodes that were frontier nodes in the first version of the journal, and wherein non-frontier nodes of the first version of the journal were not recomputed in forming the second version of the journal.

### Claim 13 (depends on 7)

The computer-implemented method of claim 7, further comprising:
receiving a request to provide information for proving that the entry is unmodified and stored in the second version of the journal, wherein the request comprises at least one of information indicative of a location of the entry or information indicative of the first version of the journal.

### Claim 14

A non-transitory computer-readable storage medium storing thereon executable instructions that, as a result of being executed by one or more processors of a computer system, cause the computer system to at least:
store an entry in a first version of a journal, wherein the first version of the journal, upon storage of the entry, comprises:
a plurality of leaf nodes, wherein a leaf node of the plurality of leaf nodes comprises a hash value based at least in part on a hash value of a prior node in the plurality of leaf nodes;
a hierarchy of interior nodes, wherein an interior node of the hierarchy of interior nodes comprises a hash value based at least in part hash values of one or more children of the interior node;
provide a first digest of the first version of the journal, wherein the first digest is usable for proving that the entry is unmodified and stored in the first version of the journal;
provide a second digest of a second version of the journal; and
provide hash values sufficient to prove that the second digest is based at least in part on information included in the first digest and that the entry is unmodified and stored in the second version of the journal.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the provided hash values are sufficient when the provided hash values can be used, with an additional hash value, to compute the second digest.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the additional hash value is from a leaf node of the journal.

### Claim 17 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein proving that the one or more entries are unmodified comprises determining that a leaf-node of the journal is based at least in part on a hash value computed based at least in part on the entry.

### Claim 18 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein proving that the second digest is based at least in part on the first digest comprises successive application of a symmetric hash operator to the provided hash values.

### Claim 19 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the second digest comprises one or more nodes that were frontier nodes in the first version of the journal, and wherein non-frontier nodes of the first version of the journal are not recomputed.

### Claim 20 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, the non-transitory computer-readable storage medium storing thereon further executable instructions that, as a result of being executed by one or more processors of the computer system, cause the computer system to at least:
receive a request to provide information for proving that the entry is unmodified and stored in the second version of the journal, wherein the request comprises at least one of information indicative of a location of the entry or information indicative of the first version of the journal.
