# US 12,007,981 B2 · Blockchain selective world state database

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

- Number: US 12,007,981 B2
- Document ID: US12007981B2
- Status: Granted
- Kind: B2
- Application number: 17/109,442
- Filed: 2020-12-02
- Published: 2022-06-02
- Granted: 2024-06-11
- Earliest claimed: 2020-12-02
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Anuj Kumar Garg; Mani Madhukar; Neeraj Kumar Gupta; Vineet Khatri
- Web page: https://patentgrep.com/patent/US12007981B2

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 21/604: {Tools and structures for managing or administering access control systems}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- 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 processor may receive a smart contract. The processor may generate an entity policy. The entity policy may provide one or more world-state rules associated with a particular entity. The processor may update, responsive to receiving the smart contract, a world-state database of the particular entity. The one or more world-state rules may affect the world-state database of the particular entity differently than the world-state database of a second entity.

## Claims

### Claim 1

A method for selectively updating one or more world-state databases in a blockchain network, comprising:
receiving, by a processor, a request for a smart contract;
identifying an entity policy having one or more world-state rules associated with the one or more world-state database in the blockchain network;
determining a relevant information from the smart contract based on the one or more world-state rules;
applying the one or more world-state rules to one or more committers; and
updating, responsive to receiving the smart contract, a world-state database of the one or more committers with the relevant information, wherein the one or more world-state rules affect the world-state database of the one or more committers differently than the world-state database of one or more endorsers.

### Claim 2 (depends on 1)

The method of claim 1, wherein updating, responsive to receiving the smart contract, the world-state database of the one or more committers further includes:
determining, using the entity policy, if the smart contract is associated with the one or more committers;
identifying the one or more world-state rules associated with the one or more committers; and
applying the one or more world-state rules and the smart contract to the world-state database of the one or more committers.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
selecting the relevant information, wherein the relevant information is dictated by the entity policy and the one or more world-state rules;
identifying a value specific to the relevant information; and
writing the value to the world-state database of the one or more committers.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
retaining a copy of a blockchain key and value set, wherein the world-state database of the one or more committers and the world-state database of the one or more endorsers retain the copy of the blockchain key value set.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining the world-state database of the one or more committers is missing at least one world-state component;
identifying the at least one world-state component that is missing; and
filling in the at least one world-state component that is missing using one or more blocks committed to the blockchain network.

### Claim 6 (depends on 1)

The method of claim 1, wherein the entity policy exempts the at least one endorser node of the one or more endorsers from the one or more world-state rules.

### Claim 7

A system for selectively updating one or more world-state databases in a blockchain network, the system comprising:
a memory; and
a processor in communication with the memory, the processor being configured to perform operations comprising:
receiving a request for a smart contract;
identifying an entity policy having one or more world-state rules associated with the one or more world-state database in the blockchain network;
determining a relevant information from the smart contract based on the one or more world-state rules;
applying the one or more world-state rules to one or more committers; and
updating, responsive to receiving the smart contract, a world-state database of the one or more committers with the relevant information, wherein the one or more world-state rules affect the world-state database of the one or more committers differently than the world-state database of one or more endorsers.

### Claim 8 (depends on 7)

The system of claim 7, wherein updating, responsive to receiving the smart contract, the world-state database of the one or more committers further includes:
determining, using the entity policy, if the smart contract is associated with the one or more committers;
identifying the one or more world-state rules associated with the one or more committers; and
applying the one or more world-state rules and the smart contract to the world-state database of the one or more committers.

### Claim 9 (depends on 7)

The system of claim 7, the processor being further configured to perform operations comprising:
selecting the relevant information, wherein the relevant information is dictated by the entity policy and the one or more world-state rules;
identifying a value specific to the relevant information; and
writing the value to the world-state database of the one or more committers.

### Claim 10 (depends on 7)

The system of claim 7, the processor being further configured to perform operations comprising:
retaining a copy of a blockchain key and value set, wherein the world-state database of the one or more committers and the world-state database of the one or more endorsers retain the copy of the blockchain key value set.

### Claim 11 (depends on 7)

The system of claim 7, the processor being further configured to perform operations comprising:
determining the world-state database of the one or more committers is missing at least one world-state component;
identifying the at least one world-state component that is missing; and
filling in the at least one world-state component that is missing using one or more blocks committed to the blockchain network.

### Claim 12 (depends on 7)

The system of claim 7, wherein the entity policy exempts the at least one endorser node of the one or more endorsers from the one or more world-state rules.

### Claim 13

A computer program product for selectively updating one or more world-state databases in a blockchain network, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processors to perform a function, the function comprising:
receiving, by a processor, a request for a smart contract;
identifying an entity policy having one or more world-state rules associated with the one or more world-state database in the blockchain network;
determining a relevant information from the smart contract based on the one or more world-state rules;
applying the one or more world-state rules to one or more committers; and
updating, responsive to receiving the smart contract, a world-state database of the one or more committers with the relevant information, wherein the one or more world-state rules affect the world-state database of the one or more committers differently than the world-state database of one or more endorsers.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein updating, responsive to receiving the smart contract, the world-state database of the one or more committers further includes:
determining, using the entity policy, if the smart contract is associated with the one or more committers;
identifying the one or more world-state rules associated with the one or more committers; and
applying the one or more world-state rules and the smart contract to the world-state database of the one or more committers.

### Claim 15 (depends on 13)

The computer program product of claim 13, the processor being further configured to perform operations comprising:
selecting the relevant information, wherein the relevant information is dictated by the entity policy and the one or more world-state rules;
identifying a value specific to the relevant information; and
writing the value to the world-state database of the one or more committers.

### Claim 16 (depends on 13)

The computer program product of claim 13, the processor being further configured to perform operations comprising:
determining the world-state database of the one or more committers js missing at least one world-state component;
identifying the at least one world-state component that is missing; and
filling in the at least one world-state component that is missing using one or more blocks committed to the blockchain network.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein the entity policy exempts the at least one endorser node of the one or more endorsers from the one or more world-state rules.
