Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A transaction implementation system and method based on java smart contract business logic

A technology of smart contracts and business logic, applied in payment systems, creation/generation of source code, etc., can solve problems such as lack of flexibility and scalability

Active Publication Date: 2022-04-01
HANGZHOU QULIAN TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But in the actual business logic, a complete actual business process may involve business logic methods of multiple application layers, which are mapped to the smart contract level, and are calls of multiple contract methods. These method calls are difficult to be executed as a transaction , once it fails, it is difficult to fully roll back
If the combination of business processes is provided in the smart contract in a hard-coded manner, it lacks flexibility and scalability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A transaction implementation system and method based on java smart contract business logic
  • A transaction implementation system and method based on java smart contract business logic

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in detail below according to the accompanying drawings and preferred embodiments, and the purpose and effect of the present invention will become clearer. The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0027] A transaction implementation system based on Java smart contract business logic, including:

[0028] Java smart contract basic framework: including two interfaces and an abstract class, the abstract class is used as the unified parent class of the user-defined basic function method module; an empty interface is used as a type placeholder, and an interface is used as the user is the unified parent of the calling module kind;

[0029] Basic class module: bean files that need to be used in user-de...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a transaction realization system and method based on Java smart contract business logic, including a basic class module, a basic function method module and a calling module. The calling module depends on the other two modules. Through the free combination of multiple basic methods in the basic method module, a specified method is finally exposed to the Java smart contract engine for execution; user-defined smart contracts rely on the basic smart contract framework provided by the engine , each module is implemented according to the rules in the framework. Finally, the engine will set built-in variables for the user's smart contract according to the basic contract template and the user-defined smart contract, call the corresponding life cycle method, and call the specified method in the calling module , the entire process is completed in one contract call, and its transactionality is guaranteed by the inherent transactionality of a transaction in the blockchain network. To solve the problem that the transactional nature of a business process is difficult to guarantee due to the fact that traditional complex business processes involve multiple contract calls.

Description

technical field [0001] The invention relates to the field of blockchain smart contracts, in particular to a transaction realization system and method based on Java smart contract business logic. Background technique [0002] Blockchain is a new type of decentralized protocol, which can safely store digital currency transactions or other data, and the information cannot be forged and tampered with; smart contract is a piece of code that can be deployed and executed in the blockchain network environment. The deployment and execution of a segment of code can be presented in the form of transactions in the blockchain network, and its deployment and execution results can be consensused by the entire network along with the transaction; currently, the languages ​​supported by smart contracts include Solidity, Java, etc., smart Contracts are also widely used in various business applications based on blockchain. [0003] Most of the smart contract execution engines of alliance block...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06Q20/38
Inventor 邱炜伟李启雷李伟梁秀波尹可挺黄方蕾
Owner HANGZHOU QULIAN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products