Method and device for generating block chain continuous transaction sequence number, block chain network node

A generation device and block chain technology, applied in the block chain field, can solve the problems of no uniform rules for transaction serial numbers, block chain transaction retrieval, inconvenient statistics, waste of system resources, etc., to improve system availability and avoid transaction sequence numbers Conflicts, the effect of reducing the efficiency of the system

A generation device and block chain technology, applied in the block chain field, can solve the problems of no uniform rules for transaction serial numbers, block chain transaction retrieval, inconvenient statistics, waste of system resources, etc., to improve system availability and avoid transaction sequence numbers Conflicts, the effect of reducing the efficiency of the system

CN109741180BActive Publication Date: 2021-04-27INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating block chain continuous transaction sequence number, block chain network node
  • Method and device for generating block chain continuous transaction sequence number, block chain network node
  • Method and device for generating block chain continuous transaction sequence number, block chain network node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Embodiments of the present invention provide a block chain continuous transaction serial number generation method and device, and a block chain network node.

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040]Such as figure 2 Shown is a flowchart of a block chain continuous transaction serial number generation method according to an embodiment of the present invention, figure 2 The method shown in includes: step S101, obtaining the serial number generation request of the client through the block c...

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 block chain continuous transaction serial number generation method and device, and a block chain network node. The method includes: obtaining the serial number generation request of the client through the block chain network, obtaining the world state serial number according to the serial number generation request, and the world state serial number at least includes the world state serial number counter value; according to the preset generation rule, using The world state number counter value generates a transaction number, and the transaction number includes at least the transaction number counter value; compare the transaction number counter value with the latest world state number counter value, and update the world state number according to the comparison result. The present invention uniformly generates non-repetitive and continuous transaction serial numbers through blockchain network nodes, and can identify transaction sources and other information through transaction serial numbers, avoiding transaction serial number conflicts and reducing system efficiency, improving system availability, and improving transaction retrieval, Statistical processing efficiency.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a block chain continuous transaction serial number generation method and device, and a block chain network node. Background technique [0002] With the gradual maturity of blockchain technology, blockchain technology is gradually applied in fields such as network security, healthcare, financial services, manufacturing and industry, government affairs, charity, retail, real estate, transportation, tourism, and media. However, in some application scenarios, it is also found that there are some functional defects in the blockchain technology. Currently, continuous transaction numbers cannot be generated in the blockchain network. Such as figure 1 As shown, each peripheral application (client) connects to the blockchain network, calls the smart contract, and finally submits the transaction to the k-v database of the blockchain (the world state of the blockchain). The k-v datab...

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
27 Apr 2021
Publication
CN109741180B
IPC
G06Q40/04; G06Q20/38
Inventors
万涛; 徐忠民