Off-Chain Controller for Indeterministic Transaction Provenance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Distributed ledger networks, such as blockchain, face challenges in handling indeterministic transactions, particularly database queries, which are non-deterministic and unilateral, leading to consensus failures and lack of transparency in transaction records when data is not stored on-chain.
Innovation Solution
A method implemented by nodes in the distributed ledger network to identify and manage indeterministic transactions by sending them to an off-chain controller, updating the ledger status, synchronizing with other controllers, and fulfilling queries through an off-chain source, ensuring complete provenance and preventing consensus failures.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Volume of stationary object
If data is stored off-chain to reduce blockchain storage requirements, then storage capacity is improved, but transaction record authenticity deteriorates due to non-deterministic queries
Solution Approach 1:
The patent introduces an off-chain controller as an intermediary component that manages indeterministic transactions. This controller receives transactions, determines their indeterministic nature, and handles them through off-chain sources while maintaining provable linkage to the blockchain ledger, thus resolving the contradiction between storage capacity and record authenticity
Solution Approach 2:
The system segments transactions into deterministic and indeterministic categories, handling each type differently. Deterministic transactions are processed normally on-chain, while indeterministic transactions are routed to off-chain controllers. This segmentation allows the system to maintain blockchain integrity for deterministic operations while accommodating off-chain data storage for capacity reasons
2Ease of operation
If unilateral off-chain data queries are used, then data accessibility is improved, but transparency deteriorates due to non-deterministic query completion
Solution Approach 1:
The patent implements a feedback mechanism where the off-chain controller receives query results from off-chain sources and feeds them back into the blockchain system through deterministic transactions. This creates a closed-loop system where the completion status of indeterministic queries is recorded on-chain, providing transparency while maintaining off-chain data accessibility
Solution Approach 2:
The system performs preliminary actions by recording the indeterministic transaction and its identifier on the blockchain before executing the actual off-chain query. This preliminary recording establishes a provable link between the on-chain transaction and off-chain operation, ensuring that query completion information can be traced back to the original transaction
3Device complexity
If indeterministic transactions are processed on-chain, then transaction processing simplicity is improved, but consensus stability deteriorates due to non-deterministic outcomes
Solution Approach 1:
The patent extracts indeterministic transactions from the main on-chain processing flow and routes them to off-chain controllers. This extraction removes the source of non-determinism from the consensus process, allowing deterministic transactions to maintain consensus stability while indeterministic transactions are handled separately through off-chain sources
Data Source
AI summary
A computer-implemented method and system of recording an indeterministic transaction on a distributed ledger network is described. The method comprises (a) selecting a transaction from a transaction pool; (b) determining if the transaction comprises a deterministic transaction or an indeterministic transaction, if the transaction comprises the indeterministic transaction, sending the indeterministic transaction to an off-chain controller, marking the indeterministic transaction as a pending indeterministic transaction, attaching an identifier to the pending indeterministic transaction, and proceeding to step (c), if the transaction comprises the deterministic transaction, computing a new state in an update to a ledger, updating a status of a second indeterministic transaction in the off-chain controller if the deterministic transaction comprises a second identifier of the second indeterministic transaction; and proceeding to step (c); (c) determining if a target update time or a maximum update size is reached. Other steps are also described herein.


