Blockchain Node Smart Contract Metadata Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current blockchain technologies face challenges in efficiently reading and updating data structures across smart contracts, particularly due to the use of different programming languages and metadata formats, which hinders seamless data access and modification within decentralized networks.

Innovation Solution

The proposed solution involves a blockchain node that processes invoking requests for smart contracts by parsing and characterizing data structures using computer programming languages, enabling conversion between metadata described in definition description languages and computer programming languages, thus facilitating data reading and updating operations across smart contracts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If smart contracts use different programming languages and metadata formats, then development flexibility and language choice are improved, but data reading and updating efficiency deteriorate due to format conversion requirements

Engineering Contradiction:
Improvesmart contract language compatibilityVSAvoiddata reading and updating efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent introduces a standardized metadata format as an intermediary layer between smart contracts written in different programming languages. This metadata format serves as a universal interface that enables data structures to be described and exchanged without requiring direct compatibility between different language implementations, thus resolving the contradiction between language versatility and data access efficiency

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transforms data structure descriptions into a standardized parameter-based metadata format that can be universally interpreted across different programming languages. By changing the representation parameters of data structures into a common format, the system enables efficient reading and updating operations while maintaining support for multiple smart contract languages

Inventive Principle:
Principle #35Parameter changes

2Reliability

If data structures are stored in proprietary metadata formats, then smart contract functionality is improved, but data accessibility and interoperability worsen across different blockchain systems

Engineering Contradiction:
Improvesmart contract functionalityVSAvoiddata accessibility across systems
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal metadata format that can serve multiple functions across different blockchain systems and smart contract languages. This standardized format enables the same data structure description to be used universally, improving both the reliability of smart contract functionality and the adaptability of data access across different systems simultaneously

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

3Adaptability or versatility

If complex metadata formats are used to describe data structures, then data structure expressiveness is improved, but parsing and processing complexity increases

Engineering Contradiction:
Improvedata structure expressivenessVSAvoidmetadata parsing complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments complex data structure descriptions into standardized, modular metadata components with defined schemas. By dividing the metadata into structured segments with clear definitions, the system maintains high data structure expressiveness while reducing parsing complexity through standardized field definitions and hierarchical organization

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11232098B2Data structure reading methods and apparatuses, data structure update methods and apparatuses, and electronic devices
Publication Date: 2022.01.25 ADVANCED NEW TECHNOLOGIES CO LTD
  • US11232098B2 patent drawing
  • US11232098B2 patent drawing
  • US11232098B2 patent drawing

AI summary

A computer-implemented method includes: obtaining, by a blockchain node, an invoking request for a first smart contract based on receiving a data structure update transaction, where the transaction comprises an input parameter indicating an updated data structure. The updated data structure that is based on a computer programming language is obtained. The first smart contract is run, comprising: parsing the updated data structure and converting the updated data structure characterized by the computer programming language into updated metadata characterized by a definition description language. A second smart contract comprising pre-update metadata and data is invoked using the updated metadata as input parameters. The second smart contract is run, comprising: replacing the pre-update metadata with the updated metadata, parsing the updated metadata in the second smart contract, and updating a pre-update data structure of the data in the second smart contract based on a parsing result.