Unlock instant, AI-driven research and patent intelligence for your innovation.

Settlement method and equipment, and storage medium

A technology of equipment and transactions, applied in the field of blockchain, can solve the problems of deep coupling of consensus mechanism and inapplicability of consensus mechanism

Active Publication Date: 2020-06-16
HANGZHOU FUZAMEI TECH CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the security issue that the above random numbers may be manipulated, the applicant previously proposed a random number generation scheme in the CN201811351787.0 application. However, the random number generation principle of this scheme is deeply coupled with the chain33 consensus mechanism and cannot be applied more consensus mechanisms

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
  • Settlement method and equipment, and storage medium
  • Settlement method and equipment, and storage medium
  • Settlement method and equipment, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The application 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 related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0020] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0021] figure 1 It is a flowchart of a settlement method provided by an embodiment of the present invention.

[0022] Such as figure 1 As shown, in this embodiment, the present invention provides a settlement method, including:

[0023] S12: When executing the first settlement transaction in th...

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 provides a settlement method and equipment, and a storage medium, and the method comprises the steps: storing a settlement request of a first settlement transaction on a blockchain whenthe first settlement transaction in a first block is executed; after a first block hash of the first block is generated, searching whether a second settlement transaction exists in a previous block ofthe first block; if so, generating a plurality of random numbers according to the first block hash; and performing settlement on the settlement request of the second settlement transaction accordingto the plurality of random numbers. According to the invention, a delayed settlement mechanism that only evidence is stored in the current block and then settlement is carried out in the next block isconfigured in the smart contract; therefore, even if the account keeping node with successful mining packages the transaction related to the benefit of the account keeping node into the current block, the random number on which settlement of the transaction depends needs to be generated according to the block hash of the next block, and cannot be operated by the accounting node of the current block which tries to cheat, so that cheating of the accounting node which successfully excavates the mine by operating the random number is avoided.

Description

technical field [0001] This application relates to the technical field of block chain, and specifically relates to a settlement method, equipment and storage medium. Background technique [0002] In many application scenarios of the blockchain, such as game settlement, quiz settlement, etc., it is usually necessary to settle according to random numbers. However, since the data on the blockchain needs to be consensused, random numbers can only be generated based on data that can be consensused, resulting in the risk of manipulation of random numbers that can be generated by the blockchain. [0003] For example, in the mechanism of generating random numbers based on the block hash of the latest block, when user A succeeds in mining and obtains the right to package a block with a block height of H, he can package the transaction he participated in to the block block, and change the hash of the block by adjusting the order of transactions in the block to adjust the generated ra...

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): G06F7/58G06Q40/04
CPCG06F7/588G06Q40/04
Inventor 袁兴强王志文吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD