# US 2023/0267153 A1 · Integrated index blocks and searching in blockchain systems

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

- Number: US 2023/0267153 A1
- Document ID: US20230267153A1
- Status: Published application
- Kind: A1
- Application number: 18/306,000
- Filed: 2023-04-24
- Published: 2023-08-24
- Earliest claimed: 2018-09-27
- Assignees: Palo Alto Research Center Incorporated
- Applicants: Palo Alto Research Center Incorporated
- Inventors: Eric Allan Bier; Shantanu Rane
- Web page: https://patentgrep.com/patent/US20230267153A1

## CPC

- G06F 16/90335: {Query processing}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/1805: {Append-only file systems, e.g. using logs or journals to store data}
- G06F 16/1865: {Transactional file systems}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/32: including means for verifying the identity or authority of a user of the system {or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- 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

Systems and methods for indexing blockchain data in a blockchain system. These systems and methods receive a set of transactions from one or more transaction blocks of a blockchain, wherein the transactions in the set have been validated by one or more peer systems of the blockchain. The systems and methods further generate an index to one or more fields of one or more transactions in the set of transactions of the transaction block generate an index representative of at least one field in the set of transactions of the transaction block and provide the generated index for validation by a peer system of the blockchain. After receiving verification from at least a threshold number of peer systems that the generated index has been validated by the peer system, the generated index is stored as an index block in the blockchain.

## Claims

### Claim 1

A method comprising:
receiving a set of transactions of a transaction block of a blockchain, wherein the set of transactions have been validated by one or more peer systems of the blockchain;
generating, by a processing device, an index to one or more fields of one or more transactions of the transaction block;
providing the generated index for validation by a peer system of the blockchain;
receiving verification from at least a threshold number of peer systems that the generated index has been validated by the peer system; and
storing, by the processing device, the generated index as an index block in the blockchain.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generated index is representative of a first subset of the set of transactions, wherein the method further comprises generating a second index representative of a second subset of the set of transactions.

### Claim 3 (depends on 1)

The method of claim 1, further comprising adding the index block to the blockchain and storing a hash of the index block in the blockchain to preserve its immutability.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a query based on a field that is present in one or more transactions stored in the blockchain;
searching for transactions in which the field has one or more specified values, by searching in the index block of the blockchain;
identifying a responsive transaction block associated with the index block that satisfies the query based on a field; and
searching the transactions within the responsive transaction block for transactions satisfying the query.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
loading, from the blockchain, a plurality of indexes relevant to the query received; and
merging the plurality of indexes into a single index.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
adding, to the single index, recent blocks or recent transactions to update the single index for including the recent blocks or recent transactions.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
adding a block of transactions to the single index for including transactions of the block.

### Claim 8 (depends on 4)

The method of claim 4, further comprising:
loading, based on a plurality of indexes stored on one or more peer systems, information of transactions recorded by the plurality of indexes into a monolithic index.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving, from a second peer system, a proposed index block of a second set of transactions of a second block of the blockchain;
determining that the proposed index block is a complete and consistent index of the second set of transactions;
providing an indication to the second peer system that the proposed index block has been validated; and
generating a hash of the proposed index block provided by the second peer system.

### Claim 10

A blockchain system comprising:
a memory; and
a processing device, operatively coupled to the memory, to:
receive a set of transactions of a transaction block of a blockchain, wherein the set of transactions have been validated by one or more peer systems of the blockchain;
generate an index to one or more fields of one or more transactions in the set of transactions of the transaction block;
provide the generated index for validation by a peer system of the blockchain;
receive verification from at least a threshold number of peer systems that the generated index has been validated by the peer system; and
store the generated index as an index block in the blockchain.

### Claim 11 (depends on 10)

The blockchain system of claim 10, wherein the generated index is representative of a first subset of the set of transactions, wherein the processing device is further to generate a second index representative of a second subset of the set of transactions.

### Claim 12 (depends on 10)

The blockchain system of claim 10, wherein the processing device is further to use a distributed consensus algorithm to add the index block to the blockchain and to store a hash of the index block in the blockchain to preserve its immutability.

### Claim 13 (depends on 10)

The blockchain system of claim 10, wherein the processing device is further to:
receive a query based on a field that is present in one or more transactions stored in the blockchain, wherein the query specifies a value or values of the field;
search for transactions in which the field has the specified value or values, by searching in the index block of the blockchain;
identify a responsive transaction block associated with the index block that satisfies the query for the field; and
search the transactions within the responsive transaction block for transactions satisfying the query.

### Claim 14 (depends on 13)

The blockchain system of claim 13, wherein the processing device is further to:
load, from the blockchain, a plurality of indexes relevant to the query received;
merge the plurality of indexes into a single index; and
add, to the single index, recent blocks or recent transactions to update the single index for including the recent blocks or recent transactions.

### Claim 15 (depends on 14)

The blockchain system of claim 14, wherein the processing device is further to:
add a block of transactions to the single index for including transactions of the block.

### Claim 16 (depends on 10)

The blockchain system of claim 10, wherein the processing device is further to:
receive, from a second peer system, a proposed index block of a second set of transactions of a second block of the blockchain;
determine that the proposed index block is a complete and consistent index of the second set of transactions; and
provide an indication to the second peer system that the proposed index block has been validated.

### Claim 17

A non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a processing device, cause the processing device to:
receive a set of transactions of a transaction block of a blockchain, wherein the set of transactions have been validated by one or more peer systems of the blockchain;
generate an index to one or more fields of one or more transactions in the set of transactions of the transaction block;
provide the generated index for validation by a peer system of the blockchain;
receive verification from at least a threshold number of peer systems that the generated index has been validated by the peer system; and
store the generated index as an index block in the blockchain.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the processing device is further to:
receive a query based on a field that is present in one or more transactions stored in the blockchain, wherein the query specifies a value or values of the;
search for transactions in which the field has the specified value or values, by searching in the index block of the blockchain;
identify a responsive transaction block associated with the index block that satisfies the query for the field; and
search the transactions within the responsive transaction block for transactions satisfying the query.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the processing device is further to:
load, from the blockchain, a plurality of indexes relevant to the query received;
merge the plurality of indexes into a single index; and
add, to the single index, recent blocks or recent transactions to update the single index for including the recent blocks or recent transactions.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the processing device is further to:
receive, from a second peer system, a proposed index block of a second set of transactions of a second block of the blockchain;
determine that the proposed index block is a complete and consistent index of the second set of transactions; and
provide an indication to the second peer system that the proposed index block has been validated.
