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

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

Info

Publication number
CN111212124A
CN111212124A CN201911371704.9A CN201911371704A CN111212124A CN 111212124 A CN111212124 A CN 111212124A CN 201911371704 A CN201911371704 A CN 201911371704A CN 111212124 A CN111212124 A CN 111212124A
Authority
CN
China
Prior art keywords
module
node
sub
asynchronous
processing
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.)
Granted
Application number
CN201911371704.9A
Other languages
Chinese (zh)
Other versions
CN111212124B (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.)
Shanghai Digital Analysis 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multi Processors (AREA)

Abstract

The invention discloses an asynchronous sequencing technology for converting consensus into 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 subchain consensus module, the subchain 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 subchain 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 subchain consensus module is connected with a broadcasting module, the broadcasting module is connected with a slave main node, the slave main node is connected with a slave sub-node in series, the dependence on network nodes can be weakened by performing reading and screening on the sub-nodes of a plurality of main nodes to switch from an ordered transmission state to an asynchronous sequencing state, and meanwhile, the consensus stage is separated out in a large-scale request, the sharing performance is strong, the identification degree is high, and the popularization and the use are facilitated.

Description

Asynchronous sequencing technology 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 technology for converting common knowledge into concurrent requests for an asynchronous system.
Background
In the existing block chain consensus method, the nodes are generally required to be connected with most nodes in the consensus process and vote, the nodes have large dependence on the network, the data transmission efficiency of the system is difficult to improve, one transaction can be carried out, if a plurality of nodes with irrelevant benefits can achieve consensus, the consensus can be achieved in the whole network, and therefore, the voting consensus is lost due to synchronous differentiation of data transmission, the accuracy of data is affected, the system is easily disordered and cannot normally operate, and a new sequencing technology is required to be provided, so that the consensus achievement is prevented from being affected due to transmission differentiation.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides an asynchronous sequencing technology for converting consensus into concurrent requests for an asynchronous system.
In order to achieve the purpose, the invention adopts the following technical scheme:
the asynchronous sequencing technology for converting the consensus into the processing of the concurrent requests of the asynchronous 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 broadcasting module, the broadcasting module is connected with a slave main node, and the slave main node is connected with a slave sub-node in series.
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 asynchronous sorting technique comprises the steps of:
p1, the user network generates data request through connection block chain;
the method comprises the steps that after a P2 subchain identification module receives a 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;
the P3 and a receiving module of the broadcasting module synchronously receive the first branch node and the second branch node and carry out verification processing through the processing module;
the P4 and the determining module receive the verification processing result and the corresponding sub node for determination;
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 multiple sub nodes to generate slave sub nodes;
the P7 user network receives the slave sub-node through the conversion module, and feeds back the slave sub-node to the client.
Preferably, the verification processing of the step P3 includes the following steps:
q1, the processing module receives the first branch node and the second branch node and judges the 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 and the processing module synchronously receive and judge in sequence, if the Q3 and the processing module are valid, the Q3 and the processing module transmit downwards, and if the Q3 and the processing module are invalid again, the Q3 and the processing module reject the branch node;
and Q4, repeating the steps until the asynchronous sequencing is completed.
According to the asynchronous sequencing technology for converting the consensus into the processing of the concurrent requests for the asynchronous system, reading and screening are carried out on the sub-nodes of the main nodes, the ordered transmission state is switched to the asynchronous sequencing state, the sub-main nodes are separated to be arranged, the dependence on network nodes can be weakened, the high efficiency of data transmission is guaranteed, reading is facilitated, the consensus stage is independently carried out in a large-scale request mode to carry out 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 technology for converting the consensus into the processing of concurrent requests to an asynchronous system comprises a user network 1 and a block chain 11, wherein the user network 1 is connected with the block chain 11, the block chain 11 is connected with a subchain consensus module 12, the subchain consensus module 12 is connected with a first main node 13 in parallel, the first main node 13 is connected with a first branch node 14 in series, the subchain consensus module 12 is connected with a second main node 15 in parallel, the second main node 15 is connected with a second branch 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 distributed and shunted, the subchain consensus module 12 is connected with a broadcasting module 17, the broadcasting module 17 is connected with a slave main node 18, the slave main node 18 is connected with a slave branch node 19 in series, and the sequencing can be performed by separate processing independently, 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 identification 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 comprises the steps of:
p1, the user network generates data request through connection block chain;
the method comprises the steps that after a P2 subchain identification module receives a 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;
the P3 and a receiving module of the broadcasting module synchronously receive the first branch node and the second branch node and carry out verification processing through the processing module;
the P4 and the determining module receive the verification processing result and the corresponding sub node for determination;
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 multiple sub nodes to generate slave sub nodes;
the P7 user network receives the slave sub-node through the conversion module, and feeds back the slave sub-node to the client.
Preferably, the verification processing of the step P3 includes the following steps:
q1, the processing module receives the first branch node and the second branch node and judges the 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 and the processing module synchronously receive and judge in sequence, if the Q3 and the processing module are valid, the Q3 and the processing module transmit downwards, and if the Q3 and the processing module are invalid again, the Q3 and the processing module reject the branch node;
and Q4, repeating the steps until the asynchronous sequencing is completed.

Claims (8)

1. A technique for translating consensus into asynchronous sequencing for processing concurrent requests to an asynchronous system, comprising a user network (1) and a blockchain (11), characterized in that: 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.
2. The asynchronous sequencing technique to convert consensus into processing concurrent requests for an asynchronous system according to claim 1, wherein: the subscriber network (1) is connected in parallel to a slave sub-node (19).
3. The asynchronous sequencing technique to convert consensus into processing concurrent requests for an asynchronous system according to claim 1, wherein: 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 technique to convert consensus into processing concurrent requests for an asynchronous system according to claim 3, wherein: 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 technique to convert consensus into processing concurrent requests for an asynchronous system according to claim 1, wherein: 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 technique to convert consensus into processing concurrent requests for an asynchronous system according to claim 5, wherein: 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 technique to convert consensus into processing concurrent requests for an asynchronous system according to claim 1, wherein: the asynchronous sorting technique comprises the steps of:
p1, the user network generates data request through connection block chain;
the method comprises the steps that after a P2 subchain identification module receives a 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;
the P3 and a receiving module of the broadcasting module synchronously receive the first branch node and the second branch node and carry out verification processing through the processing module;
the P4 and the determining module receive the verification processing result and the corresponding sub node for determination;
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 multiple sub nodes to generate slave sub nodes;
the P7 user network receives the slave sub-node through the conversion module, and feeds back the slave sub-node to the client.
8. The asynchronous sequencing technique to convert consensus into processing concurrent requests for an asynchronous system according to claim 7, wherein: the verification processing of the step P3 includes the following steps:
q1, the processing module receives the first branch node and the second branch node and judges the 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 and the processing module synchronously receive and judge in sequence, if the Q3 and the processing module are valid, the Q3 and the processing module transmit downwards, and if the Q3 and the processing module are invalid again, the Q3 and the processing module reject the branch node;
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 true CN111212124A (en) 2020-05-29
CN111212124B 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)

Cited By (1)

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

Citations (5)

* 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
US20190251007A1 (en) * 2018-02-12 2019-08-15 Ripple Labs Inc. Byzantine agreement in open networks
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

Patent Citations (5)

* 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
US20190251007A1 (en) * 2018-02-12 2019-08-15 Ripple Labs Inc. Byzantine agreement in open networks
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN111212124B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN102193058A (en) Test apparatus and test module
CN110557420B (en) Operation method and system of independent sub-chains
CN111179087B (en) Alliance chain consensus method based on grid arbitration
CN107317644A (en) A kind of compatible burst and the frame-synchronizing device of continuous data
CN103731465A (en) Distributed system and transaction treatment method thereof
CN111080287A (en) Service data processing method, related equipment and system
CN111212124B (en) Asynchronous sequencing system for converting consensus into processing concurrent requests to asynchronous system
CN113438092A (en) Transaction broadcasting method and system
CN110740085B (en) Communication method, communication device and terminal based on parallel operation system
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
CN115174090A (en) Block chain consensus method and device
CN110366101B (en) Method for realizing large-scale positioning by UWB centralized computing
CN113359644A (en) Synchronous industrial internet acquisition control system and control method thereof
CN102385507B (en) Multi-machine information processing method and device for automatic generation of Boolean algebra
CN112328518A (en) Multi-channel serial communication device, system and method
CN1354919A (en) Comparator and methods for voting therewith
CN104836754A (en) Method and device for achieving backboard auto-negotiation function by means of high speed Serdes
CN101009703B (en) A method and system for verifying the data synchronization
CN116846916B (en) Data synchronization method, device, electronic equipment and computer readable storage medium
CN113133010B (en) Wireless networking method, device, terminal equipment and storage medium
CN113064342B (en) Digital multi-beam signal processing system and time synchronization method
CN112486248A (en) Transceiving signal recovery method, system and terminal based on multi-FPGA interconnection
CN117478301B (en) Block chain consensus achieving method and device based on directed acyclic graph
JPH07262142A (en) Parallel processing control system

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
TR01 Transfer of patent right

Effective date of registration: 20240430

Address after: Room 901-2248, Building 4, No. 2377, Shenkun Road, Minhang District, Shanghai, 200000

Patentee after: Shanghai Digital Analysis Information Technology Co.,Ltd.

Country or region after: China

Address before: 250014 Room 301, No. 15, Yanzishan Road, Lixia District, Jinan City, Shandong Province

Patentee before: Shandong Gongchain Information Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right