CPC H04L 9/083 (2013.01) [H04L 9/0825 (2013.01); H04L 9/50 (2022.05)] | 15 Claims |
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.
|