Parallel chain mining consensus method and device and storage medium

A consensus and main chain technology, applied in the blockchain field, can solve problems such as difficulty in attracting parallel chain nodes, difficulty in solving forks, and lack of data backup for parallel chain nodes, so as to facilitate data query and ensure atomicity

Active Publication Date: 2019-04-02
HANGZHOU FUZAMEI TECH CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the high cost of consensus and other reasons, the existing parallel chain mechanism usually does not configure a consensus mechanism, resulting in the lack of security of the block after the nodes of the parallel chain generate blocks, and it is difficult to solve problems such as possible forks
[0003] In response to the above problems, the applicant proposed a parachain consensus mechanism through the main chain to perform parachain consensus in a patent previously applied for, which can solve the above problems to a certain extent, but there are still parachain nodes that do not carry out atomicity. local data backup, resulting in the inability to perform convenient local queries
In addition, it also leads to the increase of the workload of the parachain nodes participating in the parachain consensus, but it is difficult to attract the parachain nodes to participate in the parachain consensus due to the lack of incentives

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
  • Parallel chain mining consensus method and device and storage medium
  • Parallel chain mining consensus method and device and storage medium
  • Parallel chain mining consensus method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] 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.

[0025] 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.

[0026] figure 1 It is a flowchart of a parachain mining consensus method provided by an embodiment of the present invention.

[0027] Such as figure 1 As shown, in this embodiment, the present invention provides a parachain mining consensus method, in which multiple authorized nodes are configur...

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 parallel chain mining consensus method and device and a storage medium. The method comprises the steps that first calculation result information is generated according to a plurality of transactions to be consented; packing the first calculation result information into a first mining transaction and storing the first mining transaction into a local database for query or data recovery; packing according to the first calculation result information to generate a first voting transaction and sending the first voting transaction to the corresponding main chain node, recording the first calculation result information on the main chain through the main chain consensus, verifying whether the first calculation result information which is not less than a first threshold number in the first calculation result information recorded by the main chain is the same or not, and generating a verification result; and synchronizing the verification result, and writing the verifiedfirst calculation result information into the parallel chain. According to the method, local query and other functions are provided for a parallel chain consensus mechanism through atomic local data backup, and parallel chain nodes are attracted to participate in parallel chain consensus through mining excitation.

Description

technical field [0001] This application relates to the technical field of blockchain, and specifically relates to a parachain mining consensus method, equipment and storage medium. Background technique [0002] A parachain is a blockchain that relies on the main chain. The parachain has its own blocks and nodes, and its block transactions are completely transparent to the main chain. Due to the high cost of consensus and other reasons, the existing parallel chain mechanism usually does not configure a consensus mechanism, resulting in the lack of security of the block after the nodes of the parallel chain generate blocks, and it is difficult to solve possible forks and other problems. [0003] In response to the above problems, the applicant proposed a parachain consensus mechanism through the main chain to perform parachain consensus in a patent previously applied for, which can solve the above problems to a certain extent, but there are still parachain nodes that do not ca...

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): G06F16/27G06Q20/38
CPCG06Q20/3827
Inventor 马登极王志文林敬吴思进
Owner HANGZHOU FUZAMEI 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