Blockchain-based consensus method and device
First Claim
1. A computer-implemented method for blockchain-based consensus, the computer-implemented method comprising:
- storing, by a database of a blockchain node, consensus data needed for performing a consensus procedure, wherein the consensus data is retrievable by a first server and a second server during the consensus procedure, wherein the blockchain node is included in a blockchain and comprises the first server, the second server, and the database;
in response to a determination that the first server is faulty;
receiving, by the second server in place of the first server, a consensus message comprising a service request identifier; and
retrieving, by the second server in place of the first server, the consensus data from the database and executing the consensus procedure based on the consensus data to generate a consensus result; and
storing, by the second server, the consensus result in the database.
3 Assignments
0 Petitions
Accused Products
Abstract
This specification describes techniques for blockchain-based consensus. One example method includes storing, by a database of a blockchain node, consensus data needed for performing a consensus procedure, wherein the consensus data is retrievable by a first server and a second server during the consensus procedure, wherein the blockchain node is included in a blockchain and comprises the first server, the second server, and the database; in response to a determination that the first server is faulty, retrieving, by the second server in place of the first server, the consensus data from the database and executing the consensus procedure based on the consensus data to generate a consensus result; and storing, by the second server, the consensus result in the database.
10 Citations
17 Claims
-
1. A computer-implemented method for blockchain-based consensus, the computer-implemented method comprising:
-
storing, by a database of a blockchain node, consensus data needed for performing a consensus procedure, wherein the consensus data is retrievable by a first server and a second server during the consensus procedure, wherein the blockchain node is included in a blockchain and comprises the first server, the second server, and the database; in response to a determination that the first server is faulty; receiving, by the second server in place of the first server, a consensus message comprising a service request identifier; and retrieving, by the second server in place of the first server, the consensus data from the database and executing the consensus procedure based on the consensus data to generate a consensus result; and storing, by the second server, the consensus result in the database. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations, comprising:
-
storing, by a database of a blockchain node, consensus data needed for performing a consensus procedure, wherein the consensus data is retrievable by a first server and a second server during the consensus procedure, wherein the blockchain node is included in a blockchain and comprises the first server, the second server, and the database; in response to a determination that the first server is faulty; receiving, by the second server in place of the first server, a consensus message comprising a service request identifier; and retrieving, by the second server in place of the first server, the consensus data from the database and executing the consensus procedure based on the consensus data to generate a consensus result; and storing, by the second server, the consensus result in the database. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer-implemented system, comprising:
-
one or more computers; and one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising; storing, by a database of a blockchain node, consensus data needed for performing a consensus procedure, wherein the consensus data is retrievable by a first server and a second server during the consensus procedure, wherein the blockchain node is included in a blockchain and comprises the first server, the second server, and the database; in response to a determination that the first server is faulty; receiving, by the second server in place of the first server, a consensus message comprising a service request identifier; and retrieving, by the second server in place of the first server, the consensus data from the database and executing the consensus procedure based on the consensus data to generate a consensus result; and storing, by the second server, the consensus result in the database. - View Dependent Claims (14, 15, 16, 17)
-
Specification