US 12,135,683 B2
Data archiving method and apparatus, device, and storage medium
Haoming Feng, Shenzhen (CN); Haitao Tu, Shenzhen (CN); Libao He, Shenzhen (CN); Qiuping Chen, Shenzhen (CN); Jiabao Chen, Shenzhen (CN); Peng Ren, Shenzhen (CN); Shuiping Zhou, Shenzhen (CN); Yong Zhao, Shenzhen (CN); and He Wang, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Jun. 22, 2023, as Appl. No. 18/339,854.
Application 18/339,854 is a continuation of application No. PCT/CN2022/100036, filed on Jun. 21, 2022.
Claims priority of application No. 202110921637.4 (CN), filed on Aug. 11, 2021.
Prior Publication US 2023/0334009 A1, Oct. 19, 2023
Int. Cl. G06F 16/10 (2019.01); G06F 16/11 (2019.01); G06F 16/13 (2019.01); G06F 16/16 (2019.01)
CPC G06F 16/113 (2019.01) [G06F 16/137 (2019.01); G06F 16/162 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A data archiving method, applied to a computer device and comprising:
finding, in local space when an archiving task for a target block header exists, current state trees of block headers, the current state trees comprising a current state tree that the target block header points to and a current state tree that a first block header before the target block header points to;
reconstructing new state trees, comprising:
reconstructing, according to the found current state trees and node reuse information between the current state trees, a new state tree that the target block header points to; the new state tree that the target block header points to independently storing state data corresponding to the target block header; and
reconstructing, according to the new state tree that the target block header points to and target state data corresponding to a second block header after the target block header, a new state tree that the second block header points to,
wherein node reuse occurs between one of the new state trees corresponding to a block header and a new state tree that a block header next to the corresponding block header points to; and
archiving the current state trees stored in the local space to a target archiving server, and deleting the current state trees in the local space after successful archiving.