Enjoy your
FREE PREVIEW which shows only 2022 data and 25 documents. Contact
Patent Forecast for full access.
Smart Cities: Edge Computing
Search All Applications in Smart Cities: Edge Computing
Application US20190280873
Published 2019-09-12
Consensus Verification Method, Apparatus, And Device
Implementations of the present specification disclose a consensus verification method, apparatus, and device. In the implementations of the present specification, for each piece of service data, if first consensus verification on the service data fails, a first node determines whether the service data satisfies a predetermined retry condition instead of directly considering the service data to be invalid. If the predetermined retry condition is satisfied, then the service data is stored as service data to be retried. The first node can perform the first consensus verification on the service data to be retried in response to determining that a predetermined retry execution condition is triggered.
Much More than Average Length Specification
View the Patent Matrix® Diagram to Explore the Claim Relationships
USPTO Full Text Publication >
- 1. A computer-implemented method, comprising:
receiving, by a first node of a blockchain, service data; performing first consensus verification on the service data; determining whether the first consensus verification on the service data succeeds; and in response to determining that the first consensus verification on the service data succeeds:
adding the service data to a service queue to be validated, the service data being selectable by a second node from the service queue to be validated to generate a block; and
performing second consensus verification on the block; and
in response to determining that the first consensus verification on the service data fails:
determining whether the service data satisfies a predetermined retry condition;
storing the service data as service data to be retried in response to determining that the predetermined retry condition is satisfied; and
after storing the service data as service data to be retried:
determining whether a predetermined retry execution condition is triggered; and
performing the first consensus verification on the service data to be retried in response to determining that the predetermined retry execution condition is triggered.
- 13. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
receiving, by a first node of a blockchain, service data; performing first consensus verification on the service data; determining whether the first consensus verification on the service data succeeds; and in response to determining that the first consensus verification on the service data succeeds:
adding the service data to a service queue to be validated, the service data being selectable by a second node from the service queue to be validated to generate a block; and
performing second consensus verification on the block; and
in response to determining that the first consensus verification on the service data fails:
determining whether the service data satisfies a predetermined retry condition;
storing the service data as service data to be retried in response to determining that the predetermined retry condition is satisfied; and
after storing the service data as service data to be retried:
determining whether a predetermined retry execution condition is triggered; and
performing the first consensus verification on the service data to be retried in response to determining that the predetermined retry execution condition is triggered.
- 18. 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:
receiving, by a first node of a blockchain, service data;
performing first consensus verification on the service data;
determining whether the first consensus verification on the service data succeeds; and
in response to determining that the first consensus verification on the service data succeeds:
adding the service data to a service queue to be validated, the service data being selectable by a second node from the service queue to be validated to generate a block; and
performing second consensus verification on the block; and
in response to determining that the first consensus verification on the service data fails:
determining whether the service data satisfies a predetermined retry condition;
storing the service data as service data to be retried in response to determining that the predetermined retry condition is satisfied; and
after storing the service data as service data to be retried:
determining whether a predetermined retry execution condition is triggered; and
performing the first consensus verification on the service data to be retried in response to determining that the predetermined retry execution condition is triggered.