Data management method and server
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsQing Nan GUO, Yue Sen Li
Life of this patent
Estimating the term…
Abstract
A data management method is provided. To-be-migrated base data in a first service data set is obtained, mirror data that are same as the base data are generated, and the base data to a second service data set are migrated. Incremental data obtained for the base data are recorded in the migration process of the base data. Adding processing is performed on the mirror data by using the incremental data, and the incremental data are migrated to the second service data set, when the migration process of the base data is completed. The mirror data and the incremental data in the first service data set are cleared when the migration process of the incremental data is completed.
Claims20
A data management method, performed by a sever, the method comprising:
- obtaining, by at least one processor of the server, to-be-migrated base data in a first service data set, generating mirror data that are same as the base data, and performing a migration process that migrates the base data to a second service data set;
- recording, by the at least one processor of the server, incremental data obtained for the base data in the migration process of the base data;
- performing, by the at least one processor of the server, adding processing on the mirror data by using the incremental data, and migrating the incremental data to the second service data set, in response to the migration process of the base data being completed;
- and
- clearing, by the at least one processor of the server, the mirror data and the incremental data in the first service data set in response to the migration process of the incremental data being completed,
- the first service data set being a current service data set stored within a preset time period, and the second service data set being a historical service data set stored more than the preset time period.
A server, comprising at least one processor and at least one memory, the at least one memory storing instructions that can be executed by the at least one processor, and when executing the instructions, the at least one processor being configured to:
- obtain to-be-migrated base data in a first service data set, generate mirror data that are same as the base data, and perform a migration process that migrates the base data to a second service data set;
- record incremental data obtained for the base data in the migration process of the base data;
- perform adding processing on the mirror data by using the incremental data, and migrate the incremental data to the second service data set, in response to the migration process of the base data being completed;
- and
- clear the mirror data and the incremental data in the first service data set in response to the migration process of the incremental data being completed,
- the first service data set being a current service data set stored within a preset time period, and the second service data set being a historical service data set stored more than the preset time period.
A non-transitory computer readable storage medium, storing computer readable instructions, which, when executed by at least one processor, cause the at least one processor to perform:
- obtain to-be-migrated base data in a first service data set, generate mirror data that are same as the base data, and perform a migration process that migrates the base data to a second service data set;
- record incremental data obtained for the base data in the migration process of the base data;
- perform adding processing on the mirror data by using the incremental data, and migrate the incremental data to the second service data set, in response to the migration process of the base data being completed;
- and
- clear the mirror data and the incremental data in the first service data set in response to the migration process of the incremental data being completed,
- the first service data set being a current service data set stored within a preset time period, and the second service data set being a historical service data set stored more than the preset time period.
Dependencies are inferred from the claim text.