US 12,443,562 B2
Data processing method and related apparatus
Lei Zhang, Chengdu (CN); and Jun Cao, Chengdu (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Dec. 20, 2023, as Appl. No. 18/390,917.
Application 18/390,917 is a continuation of application No. PCT/CN2022/086079, filed on Apr. 11, 2022.
Claims priority of application No. 202110713326.9 (CN), filed on Jun. 25, 2021; and application No. 202111095506.1 (CN), filed on Sep. 17, 2021.
Prior Publication US 2024/0119029 A1, Apr. 11, 2024
Int. Cl. G06F 16/16 (2019.01); G06F 16/11 (2019.01)
CPC G06F 16/164 (2019.01) [G06F 16/11 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A data processing method, wherein the method comprises:
receiving, by a backup server from a host computer, a metadata obtaining command, wherein the metadata obtaining command is used to obtain file system metadata in a first format, and the metadata obtaining command comprises an identifier of a to-be-read target directory;
obtaining, by the backup server from a metadata storage area of an archive storage based on the identifier of the target directory, file system metadata that is in a second format and that corresponds to the target directory, wherein the metadata storage area stores metadata in a centralized manner;
converting, by the backup server, the file system metadata that is in the second format and that corresponds to the target directory into file system metadata that is in the first format and that corresponds to the target directory, wherein the file system metadata comprises at least one of a subdirectory list or a file list of the target directory, and the file system metadata that is in the second format comprises a plurality of data objects that store partial data of the file system metadata, wherein the converting the file system metadata in the second format comprises combining the plurality of data objects to form continuous data and converting the formed continuous data to the first format; and
returning, by the backup server to the host computer, the file system metadata that is in the first format and that corresponds to the target directory, wherein the file system metadata comprises at least one of a subdirectory list or a file list of the target directory.