Blockchain Proxy Contract Reduces Deployment Costs

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The current method of managing service logic contracts on blockchain through proxy contracts results in high deployment costs and wastage of system resources due to repeated deployments of the same contract code, especially for contracts with fixed service functions.

Innovation Solution

A blockchain-based data processing method that involves receiving a service-logic-contract calling transaction, acquiring a management contract to retrieve proxy contract addresses, identifying the target proxy contract address, and executing the transaction through the associated service logic contract, thereby reducing the need for repeated deployments of service logic contracts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If service logic contracts are deployed separately for each user or service needing fixed service functions, then each user can have dedicated contract access, but deployment cost and system resource consumption increase significantly

Engineering Contradiction:
Improvecontract accessibility for different usersVSAvoiddeployment cost and system resources
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent implements a universal proxy contract that can serve multiple users and services by storing multiple service logic contract addresses. This single proxy contract replaces the need for separate contract deployments for each user, achieving multi-functionality while reducing overall system resource consumption and deployment costs.

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

Solution Approach 2:

The patent uses a copying mechanism where instead of deploying the entire service logic contract code multiple times, the system stores only the contract addresses in the proxy contract. This allows multiple users to access the same service logic contract through different proxy contract instances, reducing the quantity of actual contract code deployed.

Inventive Principle:
Principle #26Copying

2Reliability

If the same service logic contract code is deployed repeatedly for different users, then each user gets dedicated contract instances, but network storage usage and system resources are wasted

Engineering Contradiction:
Improvededicated contract instances for usersVSAvoidnetwork storage usage and system resources
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The proxy contract serves multiple users universally by maintaining a list of service logic contract addresses. This allows different users to access the same service logic contract through the proxy contract interface, eliminating redundant deployments and reducing network storage usage while maintaining reliable dedicated access for each user.

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

Solution Approach 2:

The system creates a reference copy mechanism where the proxy contract stores addresses of service logic contracts rather than copying the entire contract code. This allows multiple users to share the same service logic contract instances, reducing network storage requirements and system resource consumption.

Inventive Principle:
Principle #26Copying

3Productivity

If proxy contracts store multiple service logic contract addresses, then contract reusability increases, but contract management complexity increases

Engineering Contradiction:
Improvecontract reusability and efficiencyVSAvoidcontract management structure
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the contract management into two distinct parts: the proxy contract that manages multiple service logic contract addresses, and the individual service logic contracts that contain the actual business logic. This segmentation allows the proxy contract to handle reusability efficiently while keeping the service logic contracts simple and maintainable, reducing overall management complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The proxy contract acts as an intermediary between users and service logic contracts. It manages the complexity of storing multiple contract addresses and handling different user requests, while presenting a simplified interface to users. This intermediary role reduces the complexity at the user level while enabling efficient contract reusability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250005569A1Blockchain-based data processing method, electronic device, and computer-readable storage medium
Publication Date: 2025.01.02 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US20250005569A1 patent drawing
  • US20250005569A1 patent drawing
  • US20250005569A1 patent drawing

AI summary

A blockchain-based data processing method includes: receiving a service-logic-contract calling transaction associated with a first object; acquiring a management contract when a consensus on the service-logic-contract calling transaction is passed, a proxy contract corresponding to each proxy contract address being associated with a service logic contract in the management contract; acquiring, through the management contract, a proxy contract address associated with a first object on-chain address as a target proxy contract address; acquiring a target proxy contract corresponding to the target proxy contract address, and acquiring the service logic contract through the target proxy contract, the service logic contract being associated with the target proxy contract; and executing the service-logic-contract calling transaction through the service logic contract to obtain a transaction execution result, and writing the transaction execution result into the target proxy contract, the transaction execution result in the target proxy contract being associated with the first object.