Block chain based transaction timeout control method

A technology of timeout control and blockchain, which is applied in the fields of instruments, finance, and data processing applications, etc. It can solve the problems that others cannot initiate it on behalf of others, users cannot get the response result immediately, and can't wait, etc., so as to achieve easy timeout processing operation Effect

Inactive Publication Date: 2017-08-04
HANGZHOU RIVTOWER TECH CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The security of user data depends on the public-private key system. Only transactions signed by the user's private key are legal transactions, so others cannot initiate them on behalf of others, and each transaction only has a unique ID to ensure that it cannot be initiated repeatedly
[0003] Users need to actively sign a new transaction and broadcast it into the network for each operation. However, due to the distributed nature of the network, there is a certain probability of l

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
  • Block chain based transaction timeout control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The invention relates to a transaction timeout control method based on blockchain, which is roughly as follows: when a user initiates a transaction, a timeout period needs to be set for the transaction, which can be a timestamp or a block height, and the node first judges the timeout period when packaging the transaction , if there is no timeout, the transaction will be packaged, and if it is timeout, the transaction will be discarded. If the user monitors the blockchain in real time, if the timeout period exceeds the timeout period, and his own transaction has not been packaged into the block, the transaction can be deemed to have failed and needs to be re-initiated. wait. Specifically include the following steps:

[0020] Step 1: The user synchronizes the blockchain in real time;

[0021] Step 2: The user sets the "timeout category" and "timeout period" of the transaction, and initiates the transaction, including the following three forms:

[0022] (1) "Timeout Cate...

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 block chain based transaction timeout control method, which is characterized in that a user needs to set a timeout limit for a transaction when initiating a transaction, the timeout limit can be a timestamp or a block height, a node firstly judges the timeout limit when packaging the transaction, the transaction is packaged if the transaction does not exceed the timeout limit, the transaction is discarded if the transaction exceeds the timeout limit, the user monitors a block chain in real time, the transaction is regarded to be failed if the transaction of the user is not packaged into a block after the timeout limit is exceeded, and the user needs to initiate the transaction again and does not need to wait any longer. According to the invention, a clear timeout mechanism is set for a transaction of the user on the block chain, and probabilistic estimation on whether the transaction can be on the chain or not is not required any longer, thereby being convenient for the user to perform a timeout processing operation on a client.

Description

technical field [0001] The invention relates to a block chain-based transaction timeout control method. On the basis of the existing block chain technology, a transaction timeout-related protocol and processing method are added to enhance the user's ability to control transaction delays in a distributed system and simplify It defines the timeout processing logic in the upper-level business. Background technique [0002] Blockchain is a new distributed technology. It consists of sequentially arranged transactions to form blocks, and then sequentially arranged blocks to form a chain. Each block contains a self-increasing height as a number, and also There is a timestamp used to record the packing time. The security of user data depends on the public-private key system. Only transactions signed by the user's private key are legal transactions, so others cannot initiate them on behalf of others, and each transaction only has a unique ID to ensure that it cannot be initiated rep...

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
IPC IPC(8): G06Q40/04
CPCG06Q40/04
Inventor 谢晗剑岳利鹏
Owner HANGZHOU RIVTOWER TECH CO LTD
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