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

Block generation method, equipment and storage medium based on block chain system

A storage medium and blockchain technology, applied in the blockchain field, can solve problems such as the paralysis of the blockchain network and the inability to accurately generate blocks on time, and achieve the effect of improving security and stability

Inactive Publication Date: 2020-12-22
杭州能链科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method, device, and storage medium for generating blocks based on a blockchain system, to at least solve the problem of malicious attacks due to the fixed order of generating blocks of multiple authentication nodes in the current blockchain system. The author can predict the block producing node of each round, and attack the block producing node in advance, so that it cannot produce blocks on time and accurately, thus causing the technical problem of block network paralysis

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 generation method, equipment and storage medium based on block chain system
  • Block generation method, equipment and storage medium based on block chain system
  • Block generation method, equipment and storage medium based on block chain system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] According to an embodiment of the present invention, an embodiment of a method for generating blocks based on a blockchain system is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0020] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 It shows a block diagram of the hardware structure of a computer terminal (or mobile device) for realizing the method of producing blocks based on the block chain system. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102...

Embodiment 2

[0052] According to an embodiment of the present invention, there is also provided a block chain system-based block generation device 400 for implementing the above-mentioned block chain system-based block generation method, such as Figure 4 As shown, the blockchain system includes a plurality of authentication nodes, wherein the plurality of authentication nodes produce blocks in a first order, and the device includes: an acquisition module 410, which is used to acquire the first block number of the current block to be generated; and A configuration module 420, configured to configure multiple authentication nodes to be randomly ordered when the difference between the first block number and the second block number is a predetermined integer multiple of the number of multiple authentication nodes The generated block is produced in the second order, wherein the second block number is the block number of the block generated when multiple authentication nodes determine to produce...

Embodiment 3

[0070]According to an embodiment of the present invention, there is also provided a block chain system-based block generation device, the block chain system includes a plurality of authentication nodes, wherein the plurality of authentication nodes generate blocks in a first order, and the device 500 includes: a processor 510; and a memory 520, connected to the processor 510, for providing the processor 510 with instructions for processing the following processing steps: obtaining the first block number of the current block to be generated; When the difference between the block numbers is a predetermined integer multiple of the number of multiple authentication nodes, the multiple authentication nodes are configured to produce blocks in a second order generated by random ordering, wherein the second block number is multiple The authentication node determines the block number of the block generated when the block is generated in the first order.

[0071] Optionally, the memory ...

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-out method, a device and a storage medium based on a block chain system. The block chain system comprises a plurality of authentication nodes, wherein the plurality ofauthentication nodes output blocks according to a first order. The method comprises the following steps of obtaining a first block number of a block to be generated; and configuring the plurality of authentication nodes to exit blocks in a second order generated by randomly sorting in a case where the difference between the first block number and the second block number is a predetermined integermultiple of the number of the plurality of authentication nodes, wherein the second block number determines the block number of the blocks generated when the plurality of authentication nodes exit blocks in the first order. The invention solves the technical problem that a malicious attacker can predict each round of the block-out node because of the fixed block-out order of a plurality of authentication nodes in the block chain system, and attacks the block-out node in advance, so that the block-out node can not accurately block on time, and the block network is paralyzed.

Description

technical field [0001] The present invention relates to the field of block chains, in particular, to a block generation method, device and storage medium based on block chain systems. Background technique [0002] POA-based clique consensus algorithm is widely used in the existing blockchain technology. POA (Proof of Authority) is different from POW workload proof. The POA algorithm can directly determine that multiple authentication nodes have the right to produce blocks. The block generated by an authentication node will be verified as a valid block by other nodes in the whole network. In order to allow each authentication node to have an equal opportunity to issue a block, each authentication node will judge whether the authentication node is the block producer node of the current round when issuing a block, so that there is only one authentication node in each round as a block node. It is very simple to judge whether an authentication node is a block-producing node. Th...

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): G06F16/901
Inventor 孙洪轩
Owner 杭州能链科技有限公司