US 12,457,122 B2
Node selection method and apparatus, first node, storage medium, and program product
Zhuguang Shao, Shenzhen (CN); Li Li, Shenzhen (CN); Jianjun Zhang, Shenzhen (CN); Bing Shao, Shenzhen (CN); and Bengbeng Su, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Nov. 9, 2023, as Appl. No. 18/388,501.
Application 18/388,501 is a continuation of application No. PCT/CN2023/112944, filed on Aug. 14, 2023.
Claims priority of application No. 202211530053.5 (CN), filed on Nov. 30, 2022.
Prior Publication US 2024/0179018 A1, May 30, 2024
Int. Cl. H04L 9/00 (2022.01); H04L 9/32 (2006.01)
CPC H04L 9/50 (2022.05) [H04L 9/3239 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A node selection method performed by a computer device acting as a first node in a blockchain, the method comprising:
obtaining a plurality of node groups by grouping nodes in the blockchain according to their corresponding attribute weights in an order of the attribute weights;
selecting, among the plurality of node groups, a node group whose attribute weight meets a preset condition as a target node group, and selecting a preset quantity of candidate consensus nodes from the target node group;
storing a non-candidate consensus node from the target node group into another node group among the plurality of node groups that matches the target node group;
repeating the selecting and storing operations using the another node group as a new target node group until all of the plurality of node groups are screened;
broadcasting the candidate consensus nodes to one or more second nodes in the blockchain for verification; and
using a subset of the candidate consensus nodes as target consensus nodes of the blockchain when verification success information for the subset of the candidate consensus nodes from the second nodes is received within a preset time period.