A payment method and system that can set the conditions of the UTXO model

A payment system and conditional technology, applied in the blockchain field, can solve the problems of lack of support for complex payment scenarios, inability to enter two tokens, unlocking script storage, etc., to achieve the effect of saving account book storage costs

Active Publication Date: 2022-02-15
WUHAN TIANYU INFORMATION IND
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existence of the locking script allows users to set various types of transaction scenarios, but the problem is that the unlocking script needs to be saved in the transaction as the input of the transaction
The account-based model has the following problems: within the time of block generation, two tokens cannot be put into the same account, which is unacceptable for retail enterprises with high-frequency transactions. Therefore, the UTXO model is currently widely used. IBM Corporation In a paper, a UTXO model solution is given, which can satisfy basic payment, but lacks support for complex payment scenarios

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 payment method and system that can set the conditions of the UTXO model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The embodiment of the present invention provides a condition-settable payment method that supports the utxo model, which not only can realize payment with a unified payment process, but also can set different payment conditions according to different application scenarios. The embodiment of the present invention also correspondingly provides a conditional setting payment system supporting the utxo model.

[0048] see figure 1 As shown, a conditional configurable payment method supporting the utxo model provided by the embodiment of the present invention includes the following steps:

[0049] S1: The transaction initiator constructs a transaction application request for a money-spending transaction. The transaction application includes each input utxo, each output utxo, and the name and parameters of the unlock chain code constructed according to the type of receiving address of the input utxo.

[0050] In the embodiment of the present invention, the running carrier of ...

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 payment method and system that can set the conditions of the uxto model, and relates to the technical field of block chain, including the construction of a transaction application request by the transaction initiator for the transaction of spending money, and the transaction application includes each input utxo , the output utxo and the name and parameters of the unlocking chain code constructed according to the receiving address type of the input utxo; the constructed transaction application request is sent to the fabric network; the fabric chain code parses and verifies the transaction application request to form a fabric standard Output readsets and writesets. The readsets represent the state set that the transaction needs to read from the ledger, and the writeset represents the state set that needs to be written to the ledger. The present invention can set different payment conditions according to different application scenarios.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a payment method and system that can set the conditions of a UTXO model. Background technique [0002] The blockchain originated from the paper "Bitcoin: A peer-to-peer electronic cashsystem" written by Satoshi Nakamoto. Its essence is a continuously growing distributed database jointly maintained by multiple parties. Due to its decentralization and collective maintenance , Open and transparent, non-tamperable, traceable and other characteristics have attracted widespread attention. [0003] In Bitcoin, there are four payment types, namely p2PK (pay to public key), P2PKH (pay to public key hash), MS (multiple signature) and P2SH (pay to script hash), among which P2SH is the most flexible, and its The hash value of the lock script is used as the payment address. When spending money, the unlock script and the lock script are put together and interpreted by the virtual machine...

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): G06Q40/04
CPCG06Q40/04
Inventor 孟庆树路松峰王同洋周军龙
Owner WUHAN TIANYU INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products