CN111212124B - Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system - Google Patents

Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system Download PDF

Info

Publication number
CN111212124B
CN111212124B CN201911371704.9A CN201911371704A CN111212124B CN 111212124 B CN111212124 B CN 111212124B CN 201911371704 A CN201911371704 A CN 201911371704A CN 111212124 B CN111212124 B CN 111212124B
Authority
CN
China
Prior art keywords
sub
module
node
asynchronous
main node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911371704.9A
Other languages
Chinese (zh)
Other versions
CN111212124A (en
Inventor
李宝次
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Gongchain Information Technology Co ltd
Original Assignee
Shandong Gongchain Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Gongchain Information Technology Co ltd filed Critical Shandong Gongchain Information Technology Co ltd
Priority to CN201911371704.9A priority Critical patent/CN111212124B/en
Publication of CN111212124A publication Critical patent/CN111212124A/en
Application granted granted Critical
Publication of CN111212124B publication Critical patent/CN111212124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention discloses an asynchronous sequencing system for converting common identification into processing concurrent requests for an asynchronous system, which comprises a user network and a block chain, wherein the user network is connected with the block chain, the block chain is connected with a sub-chain common identification module, the sub-chain common identification module is connected with a first main node in parallel, the first main node is connected with a first sub-node in series, the sub-chain common identification module is connected with a second main node in parallel, the second main node is connected with a second sub-node in series, the sub-chain common identification module is connected with a broadcasting module, the broadcasting module is connected with a sub-main node, the sub-main node is connected with a sub-node in series, the sub-nodes of a plurality of main nodes are read and screened, the ordered transmission state is switched to an asynchronous sequencing state, the dependence on the network nodes can be weakened, meanwhile, the common identification stage is separated out in a large-scale request, the sharing performance is strong, the identification degree is high, and the asynchronous sequencing system is beneficial to popularization and use.

Description

Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system
Technical Field
The invention relates to the technical field of block chain sequencing, in particular to an asynchronous sequencing system for converting consensus into concurrent requests for an asynchronous system.
Background
In the existing block chain consensus method, nodes are generally required to be connected with most nodes in the consensus process and vote, the nodes have large dependence on a network body, the data transmission efficiency of a system is difficult to improve, one transaction can be conducted, if a plurality of nodes with irrelevant interests can achieve consensus, the consensus can be achieved on the nodes in the whole network, and therefore voting consensus loss can be caused due to synchronous differentiation of data transmission, accuracy of data is affected, system disorder is easy to cause and normal operation cannot be achieved, and a new sequencing technology needs to be provided to avoid transmission differentiation from affecting consensus achievement.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides an asynchronous sequencing system for converting consensus into concurrent requests for an asynchronous system.
In order to achieve the purpose, the invention adopts the following technical scheme:
the system comprises a user network and a block chain, wherein the user network is connected to the block chain, the block chain is connected with a sub-chain consensus module, the sub-chain consensus module is connected with a first main node in parallel, the first main node is connected with a first sub-node in series, the sub-chain consensus module is connected with a second main node in parallel, the second main node is connected with a second sub-node in series, the sub-chain consensus module is connected with a broadcast module, the broadcast module is connected with a slave main node, and the slave main node is connected with a slave sub-node in series;
preferably, the asynchronous sorting technique includes the steps of:
p1, a user network generates a data request through a connection block chain;
after the sub-chain consensus module receives the data request, a first main node and a second main node are generated in parallel, then the first main node generates a plurality of first sub-nodes in series, and the second main node generates a plurality of second sub-nodes in series;
p3, a receiving module of the broadcasting module synchronously receives the first sub-node and the second sub-node, and verification processing is carried out through a processing module;
p4, the determining module receives the verification processing result and the corresponding sub-nodes to determine;
p5, the generation module receives the sub-nodes of the determination result and generates a slave main node;
p6, the slave owner node asynchronously sequences the received sub-nodes to generate slave sub-nodes;
and P7, the user network receives the slave sub-nodes through the conversion module, and then feeds back the slave sub-nodes to the client.
Preferably, the user network is connected in parallel to the slave sub-nodes.
Preferably, the user network includes a client, a network node, a TCP protocol, and a conversion module.
Preferably, the client is connected to a network node, the network node is connected to a conversion module through a TCP protocol, and the conversion module is connected to the slave sub-node and the block chain.
Preferably, the broadcasting module includes a receiving module, a processing module, a determining module and a generating module.
Preferably, the receiving module is connected to the processing module and the sub-chain consensus module, the processing module is connected to the determining module, the determining module is connected to the generating module, and the generating module generates the slave master node.
Preferably, the verification processing of the P3 step includes the following steps:
q1, receiving the first branch node and the second branch node by the processing module, and judging information;
q2, if the information is valid, generating a valid result and transmitting the valid result downwards, and if the information is invalid, returning to the first main node and the second main node;
q3, the processing module sequentially and synchronously receives and judges, if the result is valid, the result is transmitted downwards, and if the result is invalid again, the sub-node is removed;
and Q4, repeating the steps until the asynchronous sequencing is completed.
According to the asynchronous sequencing system for converting the consensus into the concurrent request for the asynchronous system, the subnodes of the main nodes are read and screened, the ordered transmission state is switched to the asynchronous sequencing state, the subordinate main nodes are separated to be arranged, the dependence on network nodes can be weakened, the high efficiency of data transmission is ensured, reading is facilitated, the consensus stage is independently obtained through large-scale requests to conduct asynchronous sequencing, the commonality is strong, the identification degree is high, and popularization and use are facilitated.
Drawings
FIG. 1 is a schematic block diagram of the system of the present invention;
FIG. 2 is a schematic block diagram of a subscriber network of the present invention;
fig. 3 is a block diagram of a broadcast module of the present invention.
In the figure: the system comprises a user network 1, a block chain 11, a subchain common identification module 12, a first main node 13, a first sub-node 14, a second main node 15, a second sub-node 16, a broadcast module 17, a slave main node 18, a slave sub-node 19, a client 2, a network node 21, a TCP 22, a conversion module 23, a receiving module 3, a processing module 31, a determination module 32 and a generation module 33.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example 1
The asynchronous sequencing system for converting the consensus into the processing of the concurrent requests to the asynchronous system comprises a user network 1 and a block chain 11, wherein the user network 1 is connected to the block chain 11, the block chain 11 is connected with a sub-chain consensus module 12, the sub-chain consensus module 12 is connected with a first main node 13 in parallel, the first main node 13 is connected with a first sub-node 14 in series, the sub-chain consensus module 12 is connected with a second main node 15 in parallel, the second main node 15 is connected with a second sub-node 16 in series, a plurality of main nodes can be formed without being limited to the first main node 13 and the second main node 15, the request data can be issued and distributed conveniently, the sub-chain consensus module 12 is connected with a broadcasting module 17, the broadcasting module 17 is connected with a slave main node 18, and the slave main node 18 is connected with a slave sub-node 19 in series, so that the sequencing can be performed separately and separated, the integrity of the consensus data is ensured, the transmission is facilitated, and the network dependency is reduced.
Preferably, the user network 1 is connected in parallel to a slave sub-node 19.
Preferably, the user network 1 comprises a client 2, a network node 21, a TCP protocol 22 and a conversion module 23.
Preferably, the client 2 is connected to a network node 21, the network node 21 is connected to a conversion module 23 through a TCP protocol 22, and the conversion module 23 is connected to the slave sub-node 19 and the blockchain 11.
Preferably, the broadcasting module 17 includes a receiving module 3, a processing module 31, a determining module 32 and a generating module 33.
Preferably, the receiving module 3 is connected to the processing module 3 and the sub-chain consensus module 13, the processing module 3 is connected to the determining module 32, the determining module 32 is connected to the generating module 33, and the generating module 33 generates the slave master node 18.
Preferably, the asynchronous sorting technique includes the steps of:
p1, a user network generates a data request through a connection block chain;
after the sub-chain consensus module receives the data request, a first main node and a second main node are generated in parallel, then the first main node generates a plurality of first sub-nodes in series, and the second main node generates a plurality of second sub-nodes in series;
p3, a receiving module of the broadcasting module synchronously receives the first sub-node and the second sub-node, and verification processing is carried out through a processing module;
p4, the determining module receives the verification processing result and the corresponding sub-nodes to determine;
p5, the generation module receives the sub-nodes of the determination result and generates a slave main node;
p6, the slave owner node carries out asynchronous sequencing on the received sub-nodes to generate slave sub-nodes;
and P7, the user network receives the slave sub-nodes through the conversion module so as to feed back the slave sub-nodes to the client.
Preferably, the verification processing of the P3 step includes the following steps:
q1, receiving the first sub node and the second sub node by the processing module, and judging information;
q2, if the information is valid, generating a valid result and transmitting the valid result downwards, and if the information is invalid, returning to the first main node and the second main node;
q3, the processing module sequentially and synchronously receives and judges, if the result is valid, the result is transmitted downwards, and if the result is invalid again, the sub-node is removed;
and Q4, repeating the steps until the asynchronous sequencing is completed.

Claims (7)

1. An asynchronous sequencing system for converting consensus into processing concurrent requests to an asynchronous system, comprising a user network (1) and a blockchain (11), characterized by: the user network (1) is connected to a block chain (11), the block chain (11) is connected with a sub-chain common identification module (12), the sub-chain common identification module (12) is connected with a first main node (13) in parallel, the first main node (13) is connected with a first sub-node (14) in series, the sub-chain common identification module (12) is connected with a second main node (15) in parallel, the second main node (15) is connected with a second sub-node (16) in series, the sub-chain common identification module (12) is connected with a broadcast module (17), the broadcast module (17) is connected with a slave main node (18), and the slave main node (18) is connected with a slave sub-node (19) in series;
the method of the asynchronous sorting technology comprises the following steps:
p1, a user network generates a data request through a connection block chain;
after the sub-chain consensus module receives the data request, a first main node and a second main node are generated in parallel, then the first main node generates a plurality of first sub-nodes in series, and the second main node generates a plurality of second sub-nodes in series;
p3, a receiving module of the broadcasting module synchronously receives the first sub-node and the second sub-node and carries out verification processing through a processing module;
p4, the determining module receives the verification processing result and the corresponding sub-nodes to determine;
p5, the generation module receives the sub-nodes of the determination result and generates a slave main node;
p6, the slave owner node asynchronously sequences the received sub-nodes to generate slave sub-nodes;
and P7, the user network receives the slave sub-nodes through the conversion module so as to feed back the slave sub-nodes to the client.
2. The asynchronous sequencing system for translating consensus into processing concurrent requests for an asynchronous system according to claim 1, further comprising: the subscriber network (1) is connected in parallel to a slave sub-node (19).
3. The asynchronous sequencing system for translating consensus into processing concurrent requests for an asynchronous system according to claim 1, further comprising: the user network (1) comprises a client (2), a network node (21), a TCP protocol (22) and a conversion module (23).
4. The asynchronous sequencing system for translating consensus into processing concurrent requests for an asynchronous system according to claim 3, further comprising: the client (2) is connected to a network node (21), the network node (21) is connected to a conversion module (23) through a TCP protocol (22), and the conversion module (23) is connected to a slave sub-node (19) and a blockchain (11).
5. The asynchronous sequencing system for translating consensus into processing concurrent requests for an asynchronous system according to claim 1, further comprising: the broadcasting module (17) comprises a receiving module (3), a processing module (31), a determining module (32) and a generating module (33).
6. The asynchronous sequencing system for translating consensus into processing concurrent requests for an asynchronous system according to claim 5, further comprising: the receiving module (3) is connected with a processing module (3) and a sub-chain identification module (13), the processing module (3) is connected with a determining module (32), the determining module (32) is connected with a generating module (33), and the generating module (33) generates a slave main node (18).
7. The asynchronous sequencing system for translating consensus into processing concurrent requests for an asynchronous system according to claim 1, further comprising: the verification processing of the step P3 includes the steps of:
q1, receiving the first branch node and the second branch node by the processing module, and judging information;
q2, if the information is valid, generating a valid result and transmitting the valid result downwards, and if the information is invalid, returning to the first main node and the second main node;
q3, the processing module sequentially and synchronously receives and judges, if the result is valid, the result is transmitted downwards, and if the result is invalid again, the branch node is removed;
and Q4, repeating the steps until the asynchronous sequencing is completed.
CN201911371704.9A 2019-12-26 2019-12-26 Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system Active CN111212124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911371704.9A CN111212124B (en) 2019-12-26 2019-12-26 Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911371704.9A CN111212124B (en) 2019-12-26 2019-12-26 Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system

Publications (2)

Publication Number Publication Date
CN111212124A CN111212124A (en) 2020-05-29
CN111212124B true CN111212124B (en) 2022-12-13

Family

ID=70789412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911371704.9A Active CN111212124B (en) 2019-12-26 2019-12-26 Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system

Country Status (1)

Country Link
CN (1) CN111212124B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113408010B (en) * 2021-07-14 2023-08-11 湖北央中巨石信息技术有限公司 Asynchronous consensus method, system and device based on block chain and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106529951A (en) * 2016-12-30 2017-03-22 杭州云象网络技术有限公司 Node consensus verification method under league chain network through asynchronous mode
CN110033238A (en) * 2019-04-15 2019-07-19 山东公链信息科技有限公司 Block chain common recognition system based on asynchronous ordering techniques
CN110572398A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 block chain network control method, device, equipment and storage medium
CN110597911A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Certificate processing method and device for block chain network, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019157475A1 (en) * 2018-02-12 2019-08-15 Ripple Labs Inc. Byzantine agreement in open networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106529951A (en) * 2016-12-30 2017-03-22 杭州云象网络技术有限公司 Node consensus verification method under league chain network through asynchronous mode
CN110033238A (en) * 2019-04-15 2019-07-19 山东公链信息科技有限公司 Block chain common recognition system based on asynchronous ordering techniques
CN110572398A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 block chain network control method, device, equipment and storage medium
CN110597911A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Certificate processing method and device for block chain network, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111212124A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN110557420B (en) Operation method and system of independent sub-chains
CN102193058A (en) Test apparatus and test module
CN111212124B (en) Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system
CN107181805B (en) A method of realizing that global orderly is recurred under micro services framework
CN105354020A (en) Json format data analytic method and data receiving end
CN111080287A (en) Service data processing method, related equipment and system
CN115794759B (en) BIM-based multi-target construction data sharing transmission method
CN112214350A (en) Software voting method for distributed multi-mode redundancy fault-tolerant system
CN103731465A (en) Distributed system and transaction treatment method thereof
CN113900810A (en) Distributed graph processing method, system and storage medium
CN110473088B (en) Block chain-based band type data processing method and system
CN107579871B (en) Method and system for generating distributed test script based on model detection
CN113438092B (en) Transaction broadcasting method and system
CN113703715B (en) Regular expression matching method and device, FPGA and medium
CN112950349B (en) Method and system for processing base distributed system flushing quadrature easy time sequence exception
CN112800140B (en) High-reliability data acquisition method based on blockchain predictor
CN113359644A (en) Synchronous industrial internet acquisition control system and control method thereof
CN110366101B (en) Method for realizing large-scale positioning by UWB centralized computing
CN115174090A (en) Block chain consensus method and device
CN113534888A (en) FPGA-based multi-VPX board time synchronization method and device
CN102722143A (en) Method for expanding digital signal processor port by using complex programmable logic device
CN113064342B (en) Digital multi-beam signal processing system and time synchronization method
CN102385507B (en) Multi-machine information processing method and device for automatic generation of Boolean algebra
CN1354919A (en) Comparator and methods for voting therewith
CN117478301B (en) Block chain consensus achieving method and device based on directed acyclic graph

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant