US 11,968,294 B2
Data management method and apparatus for blockchain system, medium, and electronic device
Maocai Li, Shenzhen (CN); Zongyou Wang, Shenzhen (CN); Li Kong, Shenzhen (CN); Kaiban Zhou, Shenzhen (CN); Hu Lan, Shenzhen (CN); Yifang Shi, Shenzhen (CN); Changqing Yang, Shenzhen (CN); Jinsong Zhang, Shenzhen (CN); Yong Ding, Shenzhen (CN); Gengliang Zhu, Shenzhen (CN); Qucheng Liu, Shenzhen (CN); and Qiuping Chen, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Jan. 13, 2021, as Appl. No. 17/148,258.
Application 17/148,258 is a continuation of application No. PCT/CN2019/120955, filed on Nov. 26, 2019.
Claims priority of application No. 201811497453.4 (CN), filed on Dec. 7, 2018.
Prior Publication US 2021/0135848 A1, May 6, 2021
Int. Cl. H04L 9/08 (2006.01); H04L 9/00 (2022.01)
CPC H04L 9/083 (2013.01) [H04L 9/0825 (2013.01); H04L 9/50 (2022.05)] 15 Claims
OG exemplary drawing
 
1. A data management method for a blockchain system, the blockchain system comprising an accounting node sub-network and a service node sub-network, the accounting node sub-network comprising an accounting node, and the service node sub-network comprising a service node; and the data management method comprising:
adding, after the accounting node in the accounting node sub-network generates a first data block, first key information used for verifying a block header of a second data block generated after the first data block to a block header of the first data block, wherein:
in a case that the first key information is different from key information used for verifying the block header of the first data block, the first key information is added into a designated field in the block header of the first data block to instruct the service node to verify the block header of the second data block through the first key information, and
in a case that the first key information is the same as the key information used for verifying the block header of the first data block, the designated field is set to null to instruct the service node to verify the block header of the second data block through the first key information;
generating a signature corresponding to the first key information of the first data block, and adding the signature corresponding to the first key information of the first data block to the block header of the first data block; and
releasing the block header of the first data block to the service node sub-network, wherein the service node in the service node sub-network is configured to verify the signature comprised in the block header of the first data block, and to obtain the first key information after a successful verification to verify the block header of the second data block.