Offloading Blockchain Chaincode to Network Switch Hardware

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current blockchain systems face performance bottlenecks due to the processing overhead on blockchain peers, which can lead to reduced throughput and increased latency in chaincode execution.

Innovation Solution

Offloading chaincode operations from blockchain peers to network switches equipped with secure hardware, allowing these switches to execute chaincode operations and return results to the peers, thereby reducing the processing load on blockchain peers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If chaincode operations are executed on blockchain peers, then security and decentralization are maintained, but processing overhead increases leading to reduced throughput and increased latency

Engineering Contradiction:
ImprovethroughputVSAvoidprocessing overhead
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent extracts chaincode execution functionality from blockchain peers and relocates it to dedicated execution environments (separate virtual machines or containers). This separation allows peers to focus on consensus and validation while execution occurs in specialized environments, reducing peer processing overhead and improving throughput.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary execution layer between the blockchain peer and the chaincode. This intermediary manages the execution environment, handles resource allocation, and coordinates between peers and chaincode, effectively reducing the direct processing burden on peers while maintaining security through controlled access.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If chaincode operations are executed on blockchain peers, then decentralization is maintained, but latency in chaincode execution increases

Engineering Contradiction:
Improveexecution speedVSAvoidprocessing overhead
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

By extracting chaincode execution from the peer process and running it in separate execution environments, the patent enables optimized execution paths with reduced context switching and processing overhead, directly improving execution speed while maintaining the decentralized architecture.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the blockchain system into distinct functional components: peers for consensus, execution environments for chaincode, and coordination layers for communication. This segmentation allows each component to be optimized independently, reducing overall system latency.

Inventive Principle:
Principle #1Segmentation

3Productivity

If processing tasks are centralized on blockchain peers, then system management is simplified, but performance bottlenecks occur

Engineering Contradiction:
ImprovethroughputVSAvoidsystem management
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent segments processing tasks across multiple specialized components (peers, execution environments, coordination layers), distributing the workload to eliminate bottlenecks and improve throughput, while maintaining manageable complexity through clear functional separation.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12316758B2Blockchain processing offload to network device
Publication Date: 2025.05.27 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12316758B2 patent drawing
  • US12316758B2 patent drawing
  • US12316758B2 patent drawing

AI summary

An example operation may include one or more of receiving, via a blockchain peer of a blockchain network, a request to execute chaincode of a blockchain of the blockchain network from a client application, offloading one or more of chaincode operations of the request to hardware on a network switch via a network path between the blockchain peer and the network switch, receiving execution results of the offloaded one or more chaincode operations from the network switch via the network path, and forwarding the execution results received from the network switch to the client application.