Patent ID: 11968294
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 5:
6. An electronic device for implementing 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, the electronic device comprising:
a non-transitory memory having one or more instructions stored thereon; and
at least one hardware-based processor operatively coupled to the non-transitory memory, and configured to execute the one or more instructions to perform a plurality of operations including:
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.