Blockchain Virtual Machine JSON Processing via Smart Contract Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The Ethereum virtual machine does not support JSON data processing operations, limiting the functionality of smart contracts in blockchain networks based on the Ethereum protocol.

Innovation Solution

Incorporating a JSON processing instruction into the blockchain virtual machine's instruction set and deploying corresponding JSON processing logic, along with adding the JSON processing instruction to the smart contract compiler's instruction set, enables nodes in the blockchain network to perform JSON processing operations by invoking the JSON processing smart contract.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the Ethereum virtual machine is used to execute smart contracts, then the blockchain network can process transactions, but it cannot perform JSON data processing operations

Engineering Contradiction:
ImproveJSON processing capabilityVSAvoidvirtual machine instruction set
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the JSON processing functionality into separate JSON processing smart contracts that can be independently deployed and invoked. The virtual machine instruction set remains unchanged, while JSON processing capabilities are provided through modular smart contract components that handle specific JSON operations like parsing, generating, and validating data.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces JSON processing smart contracts as intermediary components between the Ethereum virtual machine and JSON data. These smart contracts act as mediators that translate JSON processing requirements into Ethereum-compatible operations, enabling JSON data processing without modifying the core virtual machine architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If JSON processing functionality is added to the blockchain virtual machine, then the blockchain network gains JSON processing capability, but the complexity of the virtual machine increases

Engineering Contradiction:
Improvedata processing functionalityVSAvoidvirtual machine architecture
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts JSON processing functionality from the core virtual machine architecture and implements it as separate, optional smart contracts. This allows the virtual machine to remain simple and unchanged while JSON processing capabilities are made available through independently deployable contracts that can be invoked when needed.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates universal JSON processing smart contracts that can handle multiple JSON operations (parsing, generating, validating, transforming) through a single standardized interface. These multi-functional contracts provide comprehensive JSON processing capabilities without requiring separate specialized contracts for each operation type.

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

3Adaptability or versatility

If the Ethereum virtual machine processes JSON data, then smart contracts can handle structured data, but the execution efficiency may decrease due to additional processing overhead

Engineering Contradiction:
Improvestructured data handlingVSAvoidtransaction execution speed
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent implements preliminary JSON data validation and structuring operations through smart contracts before main transaction execution. By performing JSON processing upfront and caching results where applicable, the system reduces the computational overhead during critical transaction execution phases, improving overall execution efficiency.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11321710B2Blockchain smart contract-based data processing
Publication Date: 2022.05.03 ADVANCED NEW TECHNOLOGIES CO LTD
  • US11321710B2 patent drawing
  • US11321710B2 patent drawing
  • US11321710B2 patent drawing

AI summary

This disclosure relates to blockchain smart contract-based data processing. In one aspect, a method includes obtaining, by a node in a blockchain network in which a service smart contract is deployed, a service initiation transaction. The service initiation transaction is broadcast to other nodes. While executing the service initiation transaction, the service smart contract is invoked using a blockchain virtual machine that includes a first instruction set comprising a data exchange instruction and processing logic corresponding to the data exchange instruction. The node triggers execution of the processing logic based on the data exchange instruction in the service smart contract using the blockchain virtual machine, thereby performing a data exchange processing operation on data to be processed. A second instruction set of a smart contract compiler includes the data exchange instruction. The service smart contract is compiled using the smart contract compiler and includes the data exchange instruction.