Enclave Pools for Secure Off-Chain Smart Contract Execution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current blockchain systems for secure transactions face inefficiencies in executing smart contracts, as they often require running logic directly on the blockchain, which can be resource-intensive and prone to external interference, lacking secure and tamper-resistant execution environments.

Innovation Solution

The formation of an enclave pool that provides secure execution environments (enclaves) for cryptlet code, allowing it to execute off the blockchain, with enclaves being allocated on demand and verified through digital signatures, enabling secure and efficient execution of smart contracts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If smart contract logic is executed directly on the blockchain, then security and decentralization are maintained, but resource consumption and execution time increase significantly

Engineering Contradiction:
ImprovesecurityVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts the smart contract execution logic from the blockchain environment and places it in off-chain enclave environments. The blockchain retains only the critical functions of state tracking and output verification, while the computationally intensive logic execution is performed in isolated enclave pools that can be provisioned on-demand. This extraction reduces blockchain resource consumption while maintaining security through cryptographic verification of enclave execution.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces enclave pools as intermediary components between the blockchain and smart contract logic execution. These enclaves act as trusted mediators that execute logic in tamper-proof environments and provide cryptographic attestation of their execution. The intermediary enclave layer offloads computational work from the blockchain while maintaining verifiable trust through digital signatures and attestation mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If smart contract logic is executed directly on the blockchain, then decentralization is maintained, but execution speed and efficiency decrease

Engineering Contradiction:
Improveexecution speedVSAvoiddecentralization
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The patent segments the smart contract execution system into multiple independent components: the blockchain layer for state management and verification, and off-chain enclave pools for logic execution. This segmentation allows parallel execution of multiple smart contracts in separate enclave instances, significantly improving throughput and execution speed while maintaining decentralization through cryptographic verification of each enclave's execution integrity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic enclave provisioning where enclave instances are created on-demand based on smart contract execution requirements and deallocated after completion. This dynamic allocation optimizes resource utilization and execution speed by providing dedicated enclave environments for each execution task, while the blockchain maintains decentralized oversight through verification of enclave attestation and state transitions.

Inventive Principle:
Principle #15Dynamics

3Use of energy by moving object

If enclave pools are introduced for off-chain execution, then resource efficiency improves, but system complexity increases

Engineering Contradiction:
Improveresource efficiencyVSAvoidsystem complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent designs the enclave pool as a universal infrastructure that can service multiple smart contracts and diverse computation workloads. A single enclave pool manages the lifecycle of multiple enclave instances, handling provisioning, execution, and deallocation across different contracts. This universal approach improves resource efficiency by consolidating management functions while the modular architecture manages complexity through standardized interfaces between the blockchain and enclave layer.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS10664591B2Enclave pools
Publication Date: 2020.05.26 MICROSOFT TECHNOLOGY LICENSING LLC
  • US10664591B2 patent drawing
  • US10664591B2 patent drawing
  • US10664591B2 patent drawing

AI summary

The disclosed technology is generally directed to secure transactions. In one example of the technology, an enclave pool is formed. The enclave pool may include a plurality of enclaves that are secure execution environments. In some examples, forming the enclave pool includes registering the enclaves of the enclave pool. A request to allocate an enclave from the enclave pool may be received. An enclave may be fetched from the enclave pool responsive to the request to assign the enclave. Cryptlet code is executed in the fetched enclave such that a payload is generated in the enclave. The payload can be digitally signed and/or encrypted by the cryptlet, and can also be digitally signed by the enclave. The fetched enclave may be deallocated.