Patent ID: 11935015
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: IT methods for management (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 7:
8. A computer device, comprising a memory and a processor, the memory storing a plurality of computer programs, the computer programs, when executed by the processor, cause the processor to perform a plurality of operations including:
for each block of a plurality of blocks in a first block file of a blockchain platform, detecting a to-be-maintained transaction record in the block, wherein the to-be-maintained transaction record is present in a set of transaction records associated with the blockchain platform for which account reconciliation is unsuccessful;
selecting, from a hash tree of the block, nodes used for proving that the transaction record belongs to the block, wherein the nodes include a leaf node corresponding to the transaction record and a set of neighboring nodes associated with the leaf node in the hash tree of the block;
constructing a node maintenance tree according to the selected nodes;
storing the transaction record at a corresponding leaf node of the node maintenance tree;
migrating an association between a block head of the block and the node maintenance tree storing the transaction record from the first block file to a second block file, the block head of the block being adjacent to a block head of a previous block in the second block file; and
after completing the migration for each block of the plurality of blocks, deleting the first block file from the blockchain platform.