Data replication method, device and system and electronic equipment
A data replication and data technology, applied in the computer field, can solve the problems of difficulty in guaranteeing recovery point objectives, increasing the bearing pressure and impact of replication resources, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Based on the idea of the above data replication scheme, such as figure 2 As shown, it is the flow of the data replication method shown in the embodiment of the present invention Figure 1 , the execution body of this method can be deployed in figure 1 The scheduler 110 in. Such as figure 2 As shown, the data replication method includes the following steps:
[0048] S210. Acquire m first copy tasks for the user to copy data from the first storage space to the second storage space.
[0049] In terms of scheduler deployment, this solution sets up a scheduler for each user to copy data from a specified original storage space (first storage space) to the target storage space (second storage space), and these schedulers Exclusively schedule the replication tasks on the corresponding synchronization edge. For example, user A has a storage space at the source end and a storage space at the remote end, and the data synchronization relationship between the two storage sp...
Embodiment 2
[0059] This embodiment and figure 2 The difference between the shown methods is that this embodiment adopts two preferred implementation solutions of merging m first copy tasks to obtain n second copy tasks.
[0060] First, if image 3 Shown is the flow of the data replication method of the embodiment of the present invention Figure II . As shown in the figure, after step S210, the following steps are performed:
[0061] S221. For multiple first copy tasks corresponding to multiple versions of the same file, use the first copy task corresponding to the latest version of the file as the merged second copy task.
[0062] In actual application scenarios, users may perform multiple uploads on the same file within a short period of time to update the file. When the user uploads the update file shortly after, he immediately updates and uploads the same file. At this time, the file currently stored by the system is the new version file corresponding to the later upload operatio...
Embodiment 3
[0070] Such as Figure 5 Shown is the flow of the data replication method of the embodiment of the present invention Figure four . This embodiment and figure 2 The difference of the shown methods is that this embodiment adopts a preferred implementation solution of acquiring m first copy tasks for the user to copy data from the first storage space to the second storage space. Such as Figure 5 As shown, at the very beginning of this embodiment, the following steps are performed:
[0071] S510. Obtain a plurality of log records formed when the user uploads a file to the first storage space, where the log record records a file version corresponding to the log record.
[0072] Every time a user uploads a file to the first storage space, a log record (binlog) will be left in OSS, and the binlog will record the file version corresponding to the current log record.
[0073] S520. Compare the first file version recorded in the log record with the second file version of the sam...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


