Off-Chain Database Verification for Blockchain Data Credibility
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The inefficiency and high network transmission requirements of reading large amounts of data on a blockchain lead to significant operation loads and potential blocking or blacklisting of terminal computers, reducing data accessibility and increasing costs.
Innovation Solution
A data verification method that utilizes an off-chain database to read and verify root hashes of binary trees, alleviating network transmission and operation loads on the blockchain by using an off-chain framework to communicate with terminal devices and store binary trees, while maintaining data credibility through chain hashes on the blockchain.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data are stored and verified on the blockchain using traditional distributed architecture, then data credibility and immutability are improved, but network transmission requirements and operation loads increase significantly
Solution Approach 1:
The patent extracts the bulk data storage function from the blockchain and places it in an off-chain database. Only the binary tree structure and root hashes are stored on the blockchain, while the actual data is stored off-chain. This extraction reduces the quantity of data on the blockchain, thereby reducing network transmission requirements and operation loads while maintaining data credibility through the binary tree verification mechanism.
Solution Approach 2:
The patent introduces an off-chain database as an intermediary between the terminal computers and the blockchain. The off-chain database stores the actual data, and the blockchain stores only the verification information (binary trees and root hashes). This intermediary structure allows efficient data access off-chain while maintaining blockchain verification capabilities, thus reducing the burden on the blockchain network.
2Ease of operation
If a large number of data are read from the blockchain, then data accessibility is improved, but terminal computer loads increase and network transmission requirements increase
Solution Approach 1:
The patent extracts the data storage function from the blockchain to an off-chain database. Terminal computers read data from the off-chain database rather than querying the blockchain directly for each data item. This extraction dramatically improves data accessibility and terminal computer efficiency, as reading from an off-chain database is much faster and less resource-intensive than reading from the blockchain.
Solution Approach 2:
The patent segments the data storage and verification functions: the off-chain database handles data storage and retrieval, while the blockchain handles verification through binary trees. This segmentation allows terminal computers to efficiently access data from the off-chain database without burdening the blockchain with every read operation, thus improving productivity and reducing terminal computer loads.
3Speed
If traditional centralized architecture is used for data upload and download, then operation speed is improved, but decentralization and data credibility are compromised
Solution Approach 1:
The patent merges the advantages of centralized and distributed architectures: it uses an off-chain database for fast data access (centralized efficiency) while using the blockchain for verification and credibility (distributed trust). The binary tree structure enables efficient verification of data integrity without requiring all nodes to process every data read operation, thus combining speed and credibility.
Solution Approach 2:
The patent introduces the off-chain database as an intermediary that provides fast data access like centralized systems, while the blockchain acts as a mediator that ensures data credibility through distributed verification. The intermediary structure allows the system to achieve both high speed and maintained credibility by separating storage and verification functions.
4Reliability
If blockchain verification procedures are performed for every data read, then data credibility is maintained, but operation time and costs increase
Solution Approach 1:
The patent extracts the data storage function from the blockchain to an off-chain database, so that verification procedures are not performed for every data read operation. Instead, the binary tree structure stored on the blockchain provides a efficient verification mechanism that can be applied selectively, reducing verification time and operational costs while maintaining data credibility.
Solution Approach 2:
The patent performs preliminary action by pre-computing and storing the binary tree structure and root hashes on the blockchain before data read operations. This preliminary setup allows for fast verification without requiring time-consuming verification procedures for each individual data read, thus reducing verification time and costs while maintaining credibility.
Data Source
Figure 1
Figure 2
Figure 3~3a
AI summary
A verification system and method for chaining data are provided. The system includes a security protocol device, a blockchain device, and a database device. The security protocol device receives record data and integrates the record data into binary trees. Each binary tree includes a root and leaf nodes. The security protocol device transmits root hashes of the roots to the blockchain device at a blockchain. The blockchain device includes a chain data string including data sets chained in a series manner. Each data set includes a root hash and a corresponding chain hash. The chain hash of each data set is related to the root hash and the chain hash of the previous data set. The chain hash of the first data set is related to an initial chain hash. The security protocol device stores the binary trees and the initial chain hash to an off-chain database device.