Chaincode Statement Segmentation for Blockchain Endorsement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Centralized databases face issues such as single points of failure, dependency on network connectivity, limited access, and lack of customizable post-settlement processes, leading to inefficiencies and vulnerabilities.

Innovation Solution

A decentralized database system utilizing a multistate peer network with a smart contract that includes threshold and final state logic, enabling post-settlement processes after endorsement to a blockchain, which improves resource optimization and transaction efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a centralized database is used to store and maintain data, then data redundancy is minimized and security control is simplified, but the system has a single point of failure and limited access capability

Engineering Contradiction:
Improvedata securityVSAvoidaccess capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent divides the centralized database into multiple distributed ledger nodes, where each node maintains a copy of the ledger. This segmentation allows multiple users to access data simultaneously from different nodes, improving adaptability while maintaining data security through distributed consensus mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates multiple copies of the database across different nodes in the network. Each node stores identical copies of the ledger, enabling simultaneous access by multiple users without compromising data integrity or security, as all copies are synchronized through consensus.

Inventive Principle:
Principle #26Copying

2Reliability

If all chaincode statements are executed during endorsement, then transaction validation is complete, but resource consumption increases and transaction throughput decreases

Engineering Contradiction:
Improvetransaction validationVSAvoidtransaction throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments chaincode statements into two groups: pre-settlement statements executed during endorsement and post-settlement statements executed after commitment. This segmentation allows critical validation to occur during endorsement while deferring resource-intensive operations to after commitment, improving transaction throughput without compromising validation reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary validation using pre-settlement statements during the endorsement phase, which is sufficient for transaction validation. Resource-intensive post-settlement statements are deferred to after commitment, allowing faster transaction processing while maintaining validation integrity through the preliminary check.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If customizable logic is added to blockchain transactions, then post-settlement processes become possible, but smart contract complexity increases

Engineering Contradiction:
Improvecustomizable logicVSAvoidsmart contract complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments smart contract logic into pre-settlement and post-settlement statements, allowing customizable post-settlement processes to be defined separately from the core validation logic. This segmentation reduces the complexity of the endorsement process while enabling flexible post-commitment operations through clearly defined separate execution phases.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11720545B2Optimization of chaincode statements
Publication Date: 2023.08.08 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11720545B2 patent drawing
  • US11720545B2 patent drawing
  • US11720545B2 patent drawing

AI summary

An example operation may include one or more of storing chaincode that comprises a plurality of statements to be executed, receiving a message to endorse a blockchain storage request, delaying execution of one or more statements within the chaincode based on content included within the chaincode, endorsing the blockchain storage request via execution of remaining statements included in the chaincode which are not delayed to generate an endorsement result, and transmitting the endorsement result to a node.