CN110012100B

Block chain consensus method and device with optimized bandwidth and electronic equipment

Abstract

The embodiments of the application disclose a bandwidth-optimized blockchain consensus method, device, and electronic equipment, which are applied to a blockchain network including multiple blockchain nodes, and the method includes: Each consensus node receives the proposal and pre-votes; each consensus node receives the pre-voting results sent by other consensus nodes in the blockchain network; each consensus node judges the received pre-voting results , Generate the pre-commit result; broadcast the pre-commit result; each consensus node judges the pre-commit result, and packs the pre-commit result of the consensus proposal into a consensus proof; the next high-level proposal node submits the proposal And the consensus proof; carry out the next round of consensus on the proposal and the consensus proof. The method provided in the embodiments of the present application optimizes bandwidth resources, avoids waste of bandwidth resources, and improves bandwidth utilization.

CN110012100B, drawing sheet 1
Sheet 1 of 1

Term

12.5 yearsleft in the term

Expires 9 April 2039.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

10 claims: 4 independent, 6 dependent

  1. 1
    1 A bandwidth-optimized blockchain consensus method, applied to a blockchain network including multiple blockchain nodes, the method comprising:each consensus node in the blockchain network receives a proposal and performs a pre-voting Each of the consensus nodes receives the pre-voting results sent by other consensus nodes in the blockchain network;each of the consensus nodes judges the received pre-voting results and generates the pre-commit results;broadcasts the pre-voting results Submission result;each consensus node judges the pre-submission result, and packages the pre-submission result of the consensus proposal into a consensus proof;the next high-level proposal node submits the proposal and the consensus proof;the proposal Perform a new round of consensus with the consensus proof, thereby generating a consensus result. 1 .一种带宽优化的区块链共识方法,应用于包括多个区块链节点的区块链网络,所述 方法包括: 所述区块链网络中的每个共识节点接收提议并进行预投票; 所述每个共识节点接收所述区块链网络中的其他共识节点发送的预投票结果; 所述每个共识节点对接收到的预投票结果进行判断,生成预提交结果;广播所述预提 交结果; 所述每个共识节点对所述预提交结果进行判断,将达成共识的提议的预提交结果打包 成为共识证明; 下一个高度的提议节点提交提议和所述共识证明; 将所述提议和所述共识证明进行新一轮的共识,从而生成共识结果。
  2. 6
    A bandwidth-optimized block chain consensus device, applied to a block chain network including multiple block chain nodes, the device comprising:a transceiver module, used for each consensus node in the block chain network to receive Propose and receive pre-voting results sent by other consensus nodes in the blockchain network;processing module for each consensus node in the blockchain network to pre-vote according to the proposal, and to receive The received pre-voting result is judged, and the pre-submission result is generated according to the pre-voting result received by the transceiver module;the transceiver module is also used for broadcasting the pre-submission result;the processing module is also used for each A consensus node judges the pre-commit results, and packages the pre-commit results of the consensus proposal into a consensus proof;the next high-level proposal node submits the proposal and the consensus proof;performs the proposal and the consensus proof A new round of consensus will generate consensus results. 6 . 一种带宽优化的区块链共识装置,应用于包括多个区块链节点的区块链网络,所述 装置包括: 收发模块,用于所述区块链网络中的每个共识节点接收提议和接收所述区块链网络中 的其他共识节点发送的预投票结果; 处理模块,用于所述区块链网络中的每个共识节点根据提议进行预投票,以及对所述 收发模块接收到的预投票结果进行判断,根据所述收发模块接收到的预投票结果生成预提 交结果; 所述收发模块,还用于广播所述预提交结果; 所述处理模块,还用于所述每个共识节点对所述预提交结果进行判断,将达成共识的 提议的预提交结果打包成为共识证明;下一个高度的提议节点提交提议和所述共识证明; 将所述提议和所述共识证明进行新一轮的共识,从而生成共识结果。
  3. 9
    An electronic device comprising:a memory, a processor, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor as in any of claims 1-5 The method described in one item. 9 . 一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运 行的计算机程序,所述计算机程序被所述处理器执行如权利要求1-5中任一项所述的方法。
  4. 10
    10 A computer storage medium comprising instructions for causing a computer to execute the method according to any one of claims 1-5. 10 .一种计算机存储介质,包括指令,用于使计算机执行如权利要求1-5中任一项所述 的方法。