# US 2025/0209089 A1 · Data mobility sensing method and related apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0209089 A1
- Document ID: US20250209089A1
- Status: Published application
- Kind: A1
- Application number: 19/005,783
- Filed: 2024-12-30
- Published: 2025-06-26
- Earliest claimed: 2022-06-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yue Zhao; Longwen Lan; Jiangbo Lu; Zibo Zhou
- Web page: https://patentgrep.com/patent/US20250209089A1

## CPC

- G06F 16/182: Distributed file systems
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/119: {Details of migration of file systems (migration mechanisms in storage systems G06F3/0647)}
- G06F 16/14: Details of searching files based on file metadata
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data mobility sensing method and a related apparatus are applied to the field of information technologies and storage technologies. When target structured data on a big data platform is stored, corresponding directories include a target directory, and a data mobility sensing apparatus can sense data mobility of the target directory and update a metastore on the big data platform based on the data mobility of the target directory, so that the metastore on the big data platform includes metadata of local structured data, but does not include metadata of non-local structured data.

## Claims

### Claim 1

A data mobility sensing method, comprising:
obtaining, by a data mobility sensing apparatus in a first data processing system, data mobility information that is of a target directory in a file system and that is in a first storage cluster, wherein the first data processing system comprises a first computing cluster and the first storage cluster, wherein the first computing cluster is connected to the first storage cluster, wherein a first big data platform runs in the first computing cluster, wherein the data mobility information indicates that data in the target directory is to be migrated from the first storage cluster to a second storage cluster, and wherein the target directory is a directory, in the file system, corresponding to target structured data on the first big data platform;
scanning, by the data mobility sensing apparatus, a metastore on the first big data platform based on information about the target directory, to obtain metadata of the target structured data, wherein the metadata of the target structured data describes an attribute of the target structured data, wherein the metastore on the first big data platform comprises respective metadata of a plurality of pieces of structured data on the first big data platform, and wherein the plurality of pieces of structured data comprise the target structured data; and
after the data in the target directory is migrated out of the first storage cluster, deleting. by the data mobility sensing apparatus, the metadata of the target structured data from the metastore on the first big data platform.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the metadata of the target structured data comprises one or more of the following:
a name of the target structured data,
a storage location of the target structured data in the first storage cluster,
a version of the target structured data,
a type of the target structured data, or
a partition identifier of the target structured data.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the storage location of the target structured data in the first storage cluster is a storage location corresponding to the target directory.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the second storage cluster belongs to a second data processing system, wherein the second data processing system further comprises a second computing cluster connected to the second storage cluster, and wherein a second big data platform runs in the second computing cluster; and
wherein the method further comprises: providing the second computing cluster with the metadata of the target structured data, to enable the second computing cluster to insert the metadata of the target structured data into a metastore on the second big data platform.

### Claim 5 (depends on 4)

The method according to claim 4, wherein providing the second computing cluster with the metadata of the target structured data comprises:
converting the metadata of the target structured data into data in a first format; and
providing the second computing cluster with the data in the first format.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the file system belongs to a global file system, wherein the first storage cluster and the second storage cluster each store a part of data of the global file system, and wherein the global file system provides a global message bus; and
wherein providing the second computing cluster with the metadata of the target structured data comprises: sending the metadata of the target structured data to the global message bus.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the file system belongs to a global file system, wherein the first storage cluster and the second storage cluster each store a part of data of the global file system, and wherein the global file system provides a global message bus; and
wherein obtaining the data mobility information that is of a the target directory in the file system and that is in the first storage cluster comprises: monitoring the global message bus to obtain the data mobility information that is of the target directory in the file system and that is in the first storage cluster.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
subscribing to data mobility information of a plurality of directories in the global file system from the global message bus, wherein the plurality of directories are directories respectively corresponding to the plurality of pieces of structured data in the global file system.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the metastore on the first big data platform from which the metadata of the target structured data is deleted is used for a service query for big data, and the service query does not relate to a query for the target structured data.

### Claim 10

A data mobility sensing method, comprising:
obtaining, by a data mobility sensing apparatus in a second data processing system, data mobility information of a target directory in a file system, wherein the second data processing system comprises a second computing cluster and a second storage cluster, the second computing cluster is connected to the second storage cluster, and a second big data platform runs in the second computing cluster;
obtaining, by the data mobility sensing apparatus, metadata of target structured data; and
after obtaining the data mobility information of the target directory and obtaining the metadata of the target structured data, inserting, by the data mobility sensing apparatus, the metadata of the target structured data into a metastore on the second big data platform;
wherein the data mobility information indicates that data in the target directory is to be migrated to the second storage cluster, and wherein the target directory is a storage directory corresponding to the target structured data in the second storage cluster; and
wherein the metadata of the target structured data describes an attribute of the target structured data.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the metadata of the target structured data comprises one or more of the following:
a name of the target structured data,
a storage location of the target structured data in the second storage cluster,
a version of the target structured data,
a type of the target structured data, or
a partition identifier of the target structured data.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the data in the target directory is from a first storage cluster, wherein the first storage cluster belongs to a first data processing system, wherein the first data processing system further comprises a first computing cluster connected to the first storage cluster, and wherein a first big data platform runs in the first computing cluster; and
wherein the method further comprises: receiving the metadata of the target structured data from the first computing cluster.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the metadata of the target structured data from the first computing cluster is in a first format; and
wherein the method further comprises: converting the metadata of the target structured data in the first format into a format that can be identified by using a metadata service on the second big data platform.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the file system belongs to a global file system, wherein the first storage cluster and the second storage cluster each store a part of data of the global file system, and wherein the global file system provides a global message bus; and
wherein receiving the metadata of the target structured data from the first computing cluster comprises: receiving the metadata of the target structured data from the first computing cluster through the global message bus.

### Claim 15 (depends on 10)

The method according to claim 10, wherein the file system belongs to a global file system, wherein the first storage cluster and the second storage cluster each store a part of data of the global file system, and wherein the global file system provides a global message bus; and
wherein obtaining the data mobility information of the target directory in the file system comprises: monitoring the global message bus to obtain the data mobility information of the target directory in the file system.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising:
subscribing to data mobility information of a plurality of directories in the global file system from the global message bus, wherein the plurality of directories are directories respectively corresponding to the plurality of pieces of structured data.

### Claim 17 (depends on 10)

The method according to claim 10, wherein the metastore into which the metadata of the target structured data is inserted is used for a service query for big data, and the service query relates to a query for the target structured data.

### Claim 18

A data storage system, comprising:
a data mobility sensing apparatus; and
a first data processing system, wherein the first data processing system comprises a first computing cluster and a first storage cluster, wherein the first computing cluster is connected to the first storage cluster, and wherein the first computing cluster is configured to run a first big data platform; and
wherein the data mobility sensing apparatus is configured to:
obtain data mobility information that is of a target directory in a file system and that is in the first storage cluster, wherein the data mobility information indicates that data in the target directory is to be migrated from the first storage cluster to a second storage cluster, and wherein the target directory is a directory, in the file system, corresponding to target structured data on the first big data platform;
scan a metastore on the first big data platform based on information about the target directory, to obtain metadata of the target structured data, wherein the metadata of the target structured data describes an attribute of the target structured data, wherein the metastore on the first big data platform comprises respective metadata of a plurality of pieces of structured data on the first big data platform, and wherein the plurality of pieces of structured data comprise the target structured data; and
after the data in the target directory is migrated out of the first storage cluster, delete the metadata of the target structured data from the metastore on the first big data platform.

### Claim 19 (depends on 18)

The data storage system according to claim 18, wherein the metadata of the target structured data comprises one or more of the following:
a name of the target structured data,
a storage location of the target structured data in the first storage cluster,
a version of the target structured data,
a type of the target structured data, or
a partition identifier of the target structured data.

### Claim 20 (depends on 19)

The data storage system according to claim 19, wherein the storage location of the target structured data in the first storage cluster is a storage location corresponding to the target directory.
