Method and apparatus for electing representative node device, computer device, and storage medium

US12367500B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12367500-B2
Application numberUS-202017066482-A
CountryUS
Kind codeB2
Filing dateOct 8, 2020
Priority dateSep 7, 2018
Publication dateJul 22, 2025
Grant dateJul 22, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for electing a representative node device performed by a first node device in a blockchain system includes: broadcasting candidate addition transaction data in the blockchain system, the candidate addition transaction data carrying credential data, the credential data being received from a target server and indicating that a first node device meets a qualification requirement for a candidate node device; storing the candidate addition transaction data on a target blockchain of a blockchain system when a plurality of node devices in the blockchain system verify the candidate addition transaction data by consensus; and participating in an election of the representative node device according to the candidate addition transaction data stored on the target blockchain.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for electing a representative node device, performed by a first node device, the first node device being any node device of a plurality of node devices in a blockchain system, the method comprising: transmitting a candidate application request to a plurality of servers, the plurality of servers including a target server, the candidate application request carrying qualification information of the first node device, and the qualification information comprising: a device performance of the first node device and a credit of a user corresponding to the first node device; receiving credential data from the target server in response to a qualification audit on the first node device being performed based on the qualification information and a result of the qualification audit indicating that the first node device meeting a qualification requirement for becoming a candidate node device, wherein the credential data is summarized based on a plurality of pieces of credential data generated by the plurality of servers in response to the candidate application request; broadcasting candidate addition transaction data in the blockchain system, the candidate addition transaction data carrying the credential data; storing the candidate addition transaction data on a target blockchain of the blockchain system based on verification results of the candidate addition transaction data performed by the plurality of node devices in the blockchain system through a consensus mechanism; and participating in an election of the representative node device according to the candidate addition transaction data stored on the target blockchain, wherein the plurality of node devices comprises representative node devices and non-representative node devices, the non-representative node devices comprise ordinary node devices and candidate node devices, and after the storing the candidate addition transaction data on the target blockchain of the blockchain system, the method further comprises: receiving candidate deletion transaction data, the candidate deletion transaction data indicating deleting a second target node device from the candidate node devices; and storing the candidate deletion transaction data on the target blockchain of the blockchain system in response to the plurality of node devices in the blockchain system verifying the candidate deletion transaction data by consensus; wherein the second target node device is switched from a candidate node device state to an ordinary node device state, wherein a representative node device is configured to generate a block and perform verification on the block by consensus, a non-representative node device is configured to receive the block verified by the representative node device by consensus, perform verification on the block, and store the verified block on the target blockchain, a node device at the candidate node device state is eligible of being elected as a representative node device, and the second target node device at the ordinary node device state is withdrawn from the election of becoming a representative node device. 2. The method according to claim 1 , wherein the credential data comprises signature data of a plurality of auditing users. 3. The method according to claim 1 , wherein the target server is any node device in the blockchain system; or the target server is a server of a third party organization associated with the blockchain system. 4. The method according to claim 1 , further comprising: determining whether the first node device meets the qualification requirement for the candidate node device based on at least one of the following: whether the device performance of the first node device meets a preset performance condition, whether the first node device has paid a preset amount of deposit, or whether the credit of the user corresponding to the first node device meets a preset credit condition. 5. The method according to claim 1 , wherein that the plurality of node devices in the blockchain system verify the candidate addition transaction data by consensus includes that a plurality of representative node devices in the blockchain system verify the candidate addition transaction data by consensus. 6. The method according to claim 1 , wherein the candidate addition transaction data further carries a list of candidate node devices; and the storing the candidate addition transaction data on the target blockchain of the blockchain system in response to the plurality of node devices in the blockchain system verifying the candidate addition transaction data by consensus comprises: receiving the candidate addition transaction data through second node devices, the second node devices being node devices other than the first node device in the blockchain system; and storing the candidate addition transaction data on the target blockchain of the blockchain system in response to a plurality of representative node devices in the second node devices verifying the candidate addition transaction data by consensus. 7. The method according to claim 1 , wherein after the storing the candidate deletion transaction data on the target blockchain of the blockchain system, the method further comprises: receiving target transaction data, the target transaction data being used for refunding a deposit to an account of the second target node device, the deposit being previously paid by the second target node device for being at the candidate node device state. 8. The method to claim 1 , wherein the consensus mechanism comprises: generating, by one of the representative node devices, a block; calculating, by the representative node device, a hash value of a block header of the generated block; recalculating, by the representative node device, the hash value in response to that the hash value is greater than a target value by changing a random number in the generated block; in response to that the hash value or a recalculated hash value is less than or equal to the target value, broadcasting, by the representative node device, the generated block as a first block to a plurality of representative node devices or in the blockchain system, each representative node device in the plurality of representative node devices performs verification on the first block, the verification comprising: identifying a first preset consensus achieving condition in the credential data, the first preset consensus achieving condition includes a validity period of the credential data; and determining, by the each representative node device, a verification result of the candidate addition transaction data by determining whether the first preset consensus achieving condition is achieved. 9. The method to claim 8 , wherein a second preset consensus achieving condition further includes a preset quantity of validity in the plurality of node devices or preset ratio of validity in the plurality of node devices; and the verification results of the candidate addition transaction data are determined by determining whether both the first and second preset consensus achieving conditions are achieved. 10. The method according to claim 7 , wherein the deposit is refunded along an original path used by the second target node device for being at the candidate node device state. 11. A blockchain system comprising a plurality of node devices for electing a representative node device, a first node device comprising: a memory and a processor coupled to the memory, the first node device being any node device of the plurality of node devices, the processor being configured to: transmit a candidate application request to a plurality of servers, the plurality of servers including a targe

Assignees

Inventors

Classifications

  • Voting or election arrangements · CPC title

  • G06Q40/02Primary

    Banking, e.g. interest calculation or account maintenance (credit or loans G06Q40/03) · CPC title

  • Keeping log of transactions for guaranteeing non-repudiation of a transaction · CPC title

  • Ensuring data consistency and integrity · CPC title

  • Updates performed during online database operations; commit processing · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12367500B2 cover?
A method for electing a representative node device performed by a first node device in a blockchain system includes: broadcasting candidate addition transaction data in the blockchain system, the candidate addition transaction data carrying credential data, the credential data being received from a target server and indicating that a first node device meets a qualification requirement for a can…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06Q40/02. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 22 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).