Blockchain Node Smart Contract Metadata Parsing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing blockchain technologies face challenges in efficiently managing data read and write operations on smart contracts, particularly in ensuring data security and privacy while maintaining the benefits of decentralization.

Innovation Solution

The implementation of a data read and write method and apparatus that utilizes blockchain nodes to parse metadata within smart contracts, allowing for secure and controlled data operations by determining storage fields corresponding to target objects and managing access permissions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If blockchain nodes directly access and operate on data sets in smart contracts, then data read and write operations can be performed, but data security and privacy cannot be ensured

Engineering Contradiction:
Improvedata securityVSAvoiddata access
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces a mediator component that sits between blockchain nodes and the data set in smart contracts. This mediator controls and manages access to the data set, allowing read and write operations only when necessary and under controlled conditions. The mediator encrypts sensitive data and manages decryption keys, ensuring that even though nodes can operate on the data set, they cannot directly access or expose the underlying sensitive information, thus resolving the contradiction between data accessibility and security.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If all data is stored in the blockchain data set, then decentralization and transparency are maintained, but data privacy and security are compromised

Engineering Contradiction:
Improvedata privacyVSAvoidblockchain transparency
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by differentiating the treatment of different types of data within the blockchain system. Sensitive data is encrypted and stored with restricted access, while non-sensitive data remains transparent and accessible. The system dynamically adjusts the level of encryption and access control based on the specific data type and operational context, allowing the blockchain to maintain both transparency for public information and privacy for sensitive information simultaneously.

Inventive Principle:
Principle #3Local quality

3Reliability

If data encryption is implemented for security, then data privacy is protected, but data read and write operation efficiency decreases

Engineering Contradiction:
Improvedata privacyVSAvoidoperation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements preliminary action by pre-establishing encryption schemes, managing cryptographic keys in advance, and setting up access control policies before data operations are needed. The mediator maintains ready-to-use encryption/decryption mechanisms and access permissions, so when read or write operations are required, the system can quickly authenticate and process data without performing complex cryptographic operations in real-time, thus minimizing the efficiency impact of encryption.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP3812943B1Data reading and writing method and device, and electronic apparatus
Publication Date: 2025.03.05 ANTCHAIN TECHNOLOGY PTE LTD
  • EP3812943B1 patent drawingFigure 1~3
  • EP3812943B1 patent drawingFigure 4~5
  • EP3812943B1 patent drawingFigure 6

AI summary

One or more embodiments of the present specification provide data read and write methods and apparatuses, and electronic devices. The method can include the following: obtaining, by a blockchain node in a blockchain network, a data read and write request for a smart contract, where the data read and write request is used to perform a data read and write operation on a target object in a data set included in the smart contract; and parsing, by the blockchain node, metadata included in the smart contract by running code included in the smart contract, where a parsing result is used to indicate a storage field corresponding to the target object in the data set so as to implement the data read and write operation on the storage field.