Smart Contract Development System with Automated Interface Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current smart contract development interfaces on blockchain platforms are inefficient due to a process programming paradigm, which complicates the development and maintenance of smart contracts by requiring manual definition of interface methods and data, leading to increased development time and complexity.

Innovation Solution

A system and method for developing smart contracts that includes a specification acquiring module to define the smart contract interface, a client-side developing module to generate client-side interfaces and agents, and a server-side developing module to generate server-side interfaces and skeletons, facilitating the creation of client-side and server-side smart contract applications with improved association relationships with the blockchain.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a process programming paradigm is used for smart contract development, then the smart contract can be executed on the blockchain platform, but the development process becomes complicated and requires manual definition of interface methods and data

Engineering Contradiction:
Improvesmart contract executionVSAvoiddevelopment process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies the copying principle by generating client-side and server-side code through automated code generation from a process model. Instead of manually writing complex process programming code, developers create a high-level process model that is then copied and transformed into executable smart contract code for both client and server sides, significantly reducing development complexity while maintaining execution reliability

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent introduces an intermediary code generation module that acts as a mediator between the process model and the final smart contract implementation. This intermediary automatically generates the necessary interface methods and data definitions, eliminating the need for manual coding and reducing development complexity while ensuring the generated code is ready for blockchain execution

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If manual definition of interface methods and data is required, then the smart contract can be customized, but the development time increases

Engineering Contradiction:
Improvesmart contract customizationVSAvoiddevelopment time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-defining the structure and framework of smart contract code through automated generation. The code generation module prepares the basic interface methods and data structures in advance based on the process model, allowing developers to focus only on customizing specific business logic rather than manually defining entire interface structures, thus reducing development time while maintaining adaptability

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying to replicate standardized code patterns and interface definitions automatically. By copying proven code templates and generating them based on the process model, the system maintains consistency and adaptability across different smart contracts while dramatically reducing the time required to define interface methods and data structures

Inventive Principle:
Principle #26Copying

3Productivity

If automated code generation is used, then the development efficiency is improved, but the association relationship between client-side and server-side interfaces needs to be established

Engineering Contradiction:
Improvedevelopment efficiencyVSAvoidinterface association relationship
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies merging by combining the client-side interface generation and server-side interface generation into a unified code generation process. Both interfaces are generated simultaneously from the same process model, ensuring their association relationships are inherently consistent. This unified approach maintains high development efficiency while automatically establishing the correct interface associations without requiring additional manual configuration

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12120251B2System, method and apparatus for developing smart contract
Publication Date: 2024.10.15 JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
  • US12120251B2 patent drawing
  • US12120251B2 patent drawing
  • US12120251B2 patent drawing

AI summary

A system, a method and a device for developing a smart contract are provided. A particular embodiment of the system comprises a specification acquisition module configured to acquire specification of a target smart contract interface, a client development module configured to generate, on the basis of the specification of the target smart contract interface, a smart contract client side interface and a smart contract client side agent, the smart contract client side interface and the smart contract client side agent being used to construct a client smart contract application, and a server development module configured to generate, on the basis of the interface specification of the target smart contract, a smart contract server interface and a smart contract server skeleton, the smart contract server interface and the smart contract server skeleton being used to construct a server smart contract.