US 12,355,902 B2
Blockchain-based data processing method, apparatus, device, and readable storage medium
Pan Liu, Shenzhen (CN)
Assigned to Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on May 10, 2022, as Appl. No. 17/741,131.
Application 17/741,131 is a continuation of application No. PCT/CN2021/088633, filed on Apr. 21, 2021.
Claims priority of application No. 202010430099.4 (CN), filed on May 20, 2020.
Prior Publication US 2022/0271960 A1, Aug. 25, 2022
Int. Cl. H04L 9/00 (2022.01); H04L 9/32 (2006.01)
CPC H04L 9/50 (2022.05) [H04L 9/3236 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A computer implemented method implemented using at least one hardware processor, the method comprising:
obtaining, by a first node of a blockchain, target transaction data from a transaction pool;
generating, by the first node of the blockchain, a to-be-checked hash value of the target transaction data;
obtaining, by the first node of the blockchain, a block list, the block list comprising a list of historical blocks that have been stored by the first node of the blockchain and corresponding historical hash values of transaction data in the historical blocks; and
determining, by the first node of the blockchain, whether there is a match between any of the historical hash values and the to-be-checked hash value; wherein:
based on a determination that there is a match between one of the historical hash values of the block list and the to-be-checked hash value, deleting the target transaction data from the transaction pool when the upload status of the target transaction data is in an uploaded state;
based on a determination that there is not a match between any of the historical hash values of the block list and the to-be-checked hash value:
generating a target block according to the target transaction data; and broadcasting, by the first node and to one or more additional nodes of the blockchain, the target block; and wherein based on the determination that there is a match between one of the historical hash values of the block list and the to-be-checked hash value, determine whether a second target block associated with the to-be-checked hash value fails consensus verification.