Invented by Rui Chen, Guofei Jiang, Huabing Du, Husen Wang, Advanced New Technologies Co Ltd

The market for a method, apparatus, and electronic device to process consensus requests in a blockchain consensus network is rapidly growing. As blockchain technology continues to gain popularity, the need for efficient and reliable consensus mechanisms is becoming increasingly important. Consensus is a critical component of any blockchain network as it ensures that all nodes on the network agree on the state of the ledger. Without consensus, the integrity of the blockchain would be compromised, and transactions could be easily manipulated or altered. The current consensus mechanisms used in blockchain networks include Proof of Work (PoW), Proof of Stake (PoS), and Delegated Proof of Stake (DPoS). While these mechanisms have been effective in ensuring consensus, they are not without their limitations. PoW, for example, is energy-intensive and requires significant computational power, making it expensive to maintain. PoS and DPoS, on the other hand, rely on a small group of validators, which can lead to centralization and potential security risks. This is where a method, apparatus, and electronic device to process consensus requests in a blockchain consensus network comes in. These solutions aim to provide a more efficient and secure way of achieving consensus on a blockchain network. One such solution is the Byzantine Fault Tolerance (BFT) consensus algorithm. BFT is a consensus mechanism that allows for a large number of nodes to participate in the consensus process, making it more decentralized and secure. BFT also has the added benefit of being able to tolerate up to a certain number of faulty nodes without compromising the integrity of the network. Another solution is the Practical Byzantine Fault Tolerance (PBFT) algorithm. PBFT is a consensus mechanism that is designed to be more efficient than BFT. PBFT achieves this by reducing the number of messages required to reach consensus, making it faster and more scalable. As the demand for blockchain technology continues to grow, the market for a method, apparatus, and electronic device to process consensus requests in a blockchain consensus network is expected to grow as well. The market is expected to be driven by factors such as the need for more efficient and secure consensus mechanisms, the increasing adoption of blockchain technology across various industries, and the growing number of blockchain-based applications. In conclusion, the market for a method, apparatus, and electronic device to process consensus requests in a blockchain consensus network is a rapidly growing market. With the increasing demand for more efficient and secure consensus mechanisms, solutions such as BFT and PBFT are expected to gain traction in the market. As blockchain technology continues to evolve, it is likely that we will see even more innovative solutions emerge to address the challenges of achieving consensus on a blockchain network.

The Advanced New Technologies Co Ltd invention works as follows

The method of processing a request for consensus in a computer system includes: determining the pending requests in the request set; determining the number subsets in the stage of consensus, which are the pending requests from the request set; issuing to the network a proposal of consensus for a subset that is in the stage of consensus, to allow the new subset enter the stage of consensus to process the pending requests.

Background for A method, apparatus and electronic device to process consensus requests in a Blockchain consensus network

Blockchain technology (also called distributed ledger technology), which is gaining popularity with the advancement of computer technology, has many advantages such as decentralization, transparency, non tamperability and reliability. It also finds widespread application in fields like smart contracts, securities, ecommerce, Internet of Things, communication social, file storage and existence proof.

The process of reaching consensus is often required in the application of blockchains, where a number of copies of the consensus network are needed to reach a consensus on a unique and unanimously decided selection of a variety of alternatives. The consensus process for existing technologies is hampered by a performance bottleneck, making it difficult to improve the efficiency in processing consensus requests.

Therefore there is an urgent need for a solution which can increase processing efficiency in order to improve the performance of the consensus networks.

The embodiments of this application provide a method for processing a request for consensus in a blockchain-based consensus network. This can improve the efficiency of processing consensus requests by the network.

The following technical solution may be included in the embodiments of this disclosure:

The present disclosure provides a method of processing a request for consensus in a computer system (e.g. a network of consensus or a network of blockchain consensus), which comprises: determining the number subsets in a stage of consensus, wherein these subsets include the pending requests obtained from the request set. When the number subsets in the stage of consensus is less than a preset concurrent limit for the computer, the computer will issue a proposal to the network for a new set to enter the The method can be implemented by the processor of a computer network node.

The method may include, in some embodiments, obtaining the pending requests for consensus from the pending set of requests to form subsets.

In some embodiments of the method described in the first embodiment of this application, after obtaining pending consensus requests to form subsets from the pending request sets, the method includes assigning serial numbers, which are monotonically and continuously increasing natural numbers, to the subsets.

In some embodiments, determining how many subsets are in the stage of consensus includes: determining a first serial number using the serial numbers for the subsets who have passed the stage of consensus; and determining a second serial by using the serial numbers for the subsets who have entered the stage of consensus; determining based on these two numbers the number subsets in the stage of consensus.

In some embodiments, determining first serial based upon the serials of subsets who have passed the consensus phase includes: determining largest serial of all the serials of the supsets who have entered consensus; determining second serial based upon the serials of the supsets which have entered consensus includes: determining largest serial of all the serials of the supsets entered consensus; determining number of subsets in consensus based off the first and second serials includes: determining difference

In some embodiments, the number subsets in the current consensus stage are less than the preset simultaneous number for the computer networks. This can be done by issuing a proposal to the network for a new subset.

In some embodiments, the determination of a new subset, and a new serial number based on a second serial is as follows: getting the pending consensus requests from the pending requests set to form the subset, then incrementing by one the number of th second serial to serve as te serial number for the subset.

In some embodiments, the determination of a new subset, and a new serial number based on a second serial is made by: using the second number to increment the second number one digits in order to be the serial number for the subset, and determining the subset from the serial numbers.

In some embodiments, the number subsets in the stage of consensus is determined by: after sending the consensus proposal to the computer network, the new subset enters the stage of consensus.

The method may include, in some embodiments, performing a consensus process on the pending requests for consensus included in the subset. When preset conditions have been met, writing the consensus results for the pending requests for consensus included in subset in a blockchain in order to complete the consensus stage.

In some embodiments, the condition is satisfied by subsets that have serial numbers prior to a new subset’s serial number after it has completed the consensus phase.

In some embodiments, the number subsets in the stage of consensus is determined by: after writing into the blockchain the consensus results for the pending consensus request included in the subset, recalculating the number subsets in the stage of consensus.

In some embodiments, the writing of consensus results into the blockchain for the pending requests that are included in the subset includes: writing consensus results into the blockchain in accordance with the time sequence the pending requests were received.

The embodiments of this disclosure also provide a second method of processing consensus requests in a network. This includes determining the pending requests set and determining, after receiving a proposal for a subset, whether the number subsets in the current consensus stage are less than a preset concurrent node number. The method can be implemented by the processor of a computer network node.

In some embodiments, the method includes determining the number subsets in the stage of consensus before determining if the number is less than the preset simultaneous number of the network.

When the pre-set conditions are met, the consensus results for the pending requests in the subset can be written into the blockchain. This concludes the consensus stage.

Click here to view the patent on Google Patents.