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

A transaction realization system and method based on Java smart contract service logic

A smart contract and business logic technology, applied in the payment system, creating/generating source code, etc., can solve the problems of lack of flexibility and scalability

Active Publication Date: 2019-05-03
HANGZHOU QULIAN TECH CO LTD
View PDF4 Cites 4 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 realization system and method based on Java smart contract service logic
  • A transaction realization system and method based on Java smart contract service logic
  • A transaction realization system and method based on Java smart contract service 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 implementation system and method based on Java smart contract service logic. The system comprises a basic class module, a basic function method module and a calling module. And the calling module depends on the other two modules, and finally exposes a specified method to the Java intelligent contract engine end for execution through free combination of a plurality of basic methods in the basic method module. The user-defined intelligent contract depends on a basic intelligent contract framework provided by an engine; each module is realized according to arule in a framework; and finally, the engine generates a user-defined intelligent contract according to the basic contract template and the user-defined intelligent contract. A built-in variable is set for an intelligent contract of a user, a corresponding life cycle method is called, an appointed method in a calling module is called, the whole process is completed in contract calling once, and the transactionality of the whole process is guaranteed through inherent transactionality of one transaction in a block chain network. The problem that the transactionality of one business process is difficult to guarantee due to the fact that a traditional complex business process involves multiple contract calls is solved.

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 Applications(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