Cross-machine-room data synchronization method and system
By double-storing data packets to be synchronized during cross-computer room data synchronization and sending data packets using incremental synchronization and priority classification, the problems of data loss and low synchronization efficiency are solved, and high reliability and efficient data synchronization are achieved.
Patent Information
- Application Number
- CN202510131849.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-06
- Publication Date
- 2025-06-10
AI Technical Summary
During the cross-computer room data synchronization process, the prior art is difficult to effectively prevent data loss, resulting in synchronization failure or data inconsistency.
By double storing data packets to be synchronized in the source computer room and the target computer room, and deleting the data packets in the source computer room after receiving the synchronization information, ensuring that the data is not lost during transmission. At the same time, incremental synchronization and priority classification are used to send data packets to improve synchronization efficiency and reliability.
It ensures that data is not lost during cross-computer room data synchronization, improves the reliability and efficiency of synchronization, reduces the use of storage resources and reduces storage costs.
Smart Images

Figure CN120128593A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data synchronization, and in particular, to a cross-data center data synchronization method and system. Background Art
[0002] In the process of cross-data center data synchronization, ensuring the integrity and consistency of data is crucial. If data is lost during the data transmission process, it will not only lead to synchronization failure, but may also affect the normal operation of the data center. Especially when important data fails to be updated in a timely manner, serious problems may occur.
[0003] Existing data synchronization technologies mainly solve the problem of data loss through the following methods, but each method has certain drawbacks: Data numbering and verification: Number the data before data transmission and verify the numbers during the transmission process to confirm whether data is lost; If the data numbers are also lost during the transmission process, it is impossible to confirm whether data is lost, resulting in synchronization failure. In addition, the verification process for large-scale data is relatively complex and time-consuming; Regular full synchronization: Regularly synchronize all data in the source data center to the target data center in full; This method is inefficient, especially when the amount of data is huge, it will cause the synchronization process to take too long. In addition, full synchronization will occupy a large amount of network bandwidth and storage resources, and may cause data loss due to network fluctuations; Incremental synchronization: Only synchronize the data that has changed in the source data center. Although the synchronization efficiency is improved, if the incremental data is lost during the transmission process, synchronization failure will still occur. The loss of incremental data makes the data in the target data center unable to be consistent with the source data center; Data redundancy backup: Save a complete data backup in both the source data center and the target data center. Although this method improves the data security, it will increase the storage cost. For large-scale data, the backup and recovery processes are complex and time-consuming, and are prone to errors. Summary of the Invention
[0004] In view of the above problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by the present invention is: how to ensure that data is not lost during the cross-data center data synchronization process and improve the reliability and efficiency of synchronization.
[0006] To solve the above technical problem, the present invention provides the following technical solutions:
[0007] In a first aspect, an embodiment of the present invention provides a cross-data center data synchronization method, including:
[0008] Traverse all data in the source data center. When it is traversed that there is data change in the source data center, encapsulate the first data into a data packet to be synchronized;
[0009] Send the data packet to be synchronized to the computer room to be synchronized, and at the same time store the data packet to be synchronized in the source computer room;
[0010] When the computer room to be synchronized receives the data packet to be synchronized, perform the first operation, and at the same time send the information indicating that the data synchronization is completed to the source computer room;
[0011] When the source computer room receives the information indicating that the data synchronization is completed, delete the data packet to be synchronized stored in the source computer room.
[0012] As a preferred solution of the cross-computer room data synchronization method, wherein:
[0013] The sending the information indicating that the data synchronization is completed to the source computer room includes:
[0014] Detect whether the data in the data packet to be synchronized received by the computer room to be synchronized is consistent with the data in the data packet to be synchronized sent by the source computer room. If so, send the information indicating normal data transmission to the source computer room; otherwise, send the information indicating abnormal data transmission to the source computer room.
[0015] As a preferred solution of the cross-computer room data synchronization method, wherein:
[0016] The deleting the data packet to be synchronized stored in the source computer room when the source computer room receives the information indicating that the data synchronization is completed includes:
[0017] When the source computer room does not receive the information indicating that the data synchronization is completed within the preset time, mark the data packet to be synchronized as a time-out synchronized data packet, and continue to send the time-out data packet to be synchronized to the computer room to be synchronized until the source computer room receives the information indicating that the data synchronization is completed.
[0018] As a preferred solution of the cross-computer room data synchronization method, wherein:
[0019] The sending the data packet to be synchronized to the computer room to be synchronized includes:
[0020] Classify the data packet to be synchronized: Set the priority of the first type of data as P1;
[0021] Set the priority of the second type of data as P2;
[0022] Set the priority of the third type of data as P3;
[0023] Set the priority of the fourth type of data as P4.
[0024] As a preferred solution of the cross-computer room data synchronization method, wherein:
[0025] The sending the data packet to be synchronized to the computer room to be synchronized further includes:
[0026] Put data packets with different priorities into corresponding queues to form P1 queue, P2 queue, P3 queue and P4 queue;
[0027] Check the P1 queue. If there are data packets, give priority to sending the data packets in the P1 queue until the P1 queue is empty or reaches the preset sending limit;
[0028] After the P1 queue is sent or reaches the preset sending limit, send the data packets in the P2 queue, also until the queue is empty or reaches the preset sending limit;
[0029] And so on, process the data packets in the P3 queue and P4 queue until all the data packets in all queues are sent.
[0030] As a preferred solution of the cross-data center data synchronization method, wherein:
[0031] The first operation includes:
[0032] Unpack the data packets to be synchronized to obtain the data before the change in the source data center, the data after the change, the location data of the changed data in the source data center, and the time when the data change occurs;
[0033] Obtain the location data in the destination data center corresponding to the location data of the changed data in the source data center, modify the data at the corresponding position of the obtained location data in the destination data center to the data in the data packets to be synchronized, and store the data packets to be synchronized in the destination data center.
[0034] As a preferred solution of the cross-data center data synchronization method, wherein:
[0035] When it is traversed that there is data change in the source data center, the encapsulating the first data into the data packets to be synchronized includes:
[0036] The judgment method for whether the data in the source data center changes is as shown in the following formula:
[0037]
[0038] Wherein, D n represents the data at a certain position in the source data center at the nth moment, D n+1 represents the data at a certain position in the source data center at the (n + 1)th moment, n represents the nth moment, n + 1 represents the (n + 1)th moment, μ represents the change threshold, 0 < t ≤ n, t represents the tth moment, D t represents the data at a certain position in the source data center at the tth moment, sec(·) represents the secant function;
[0039] When the above formula is satisfied, it means that the data in the source data center has changed.
[0040] In a second aspect, an embodiment of the present invention provides a cross-data center data synchronization system, including:
[0041] A to-be-synchronized data packet encapsulation module, configured to traverse all data in the source data center, and when it is traversed that there is changed data in the source data center, encapsulate the first data into a to-be-synchronized data packet;
[0042] A sending and storing module, configured to send the to-be-synchronized data packet to the to-be-synchronized data center, and at the same time store the to-be-synchronized data packet in the source data center;
[0043] A data synchronization module, configured to perform a first operation when the to-be-synchronized data center receives the to-be-synchronized data packet, and at the same time send information indicating that the data synchronization is completed to the source data center;
[0044] A receiving module, configured to delete the to-be-synchronized data packet stored in the source data center when the source data center receives the information indicating that the data synchronization is completed.
[0045] In a third aspect, an embodiment of the present invention provides a computing device, including:
[0046] A memory and a processor;
[0047] The memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions. When the one or more programs are executed by the one or more processors, the one or more processors implement the cross-data center data synchronization method according to any embodiment of the present invention.
[0048] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the cross-data center data synchronization method is implemented.
[0049] Advantages of the present invention: The present invention can ensure that the data synchronized from the source computer room to the computer room to be synchronized will not be lost. By storing the data packets to be synchronized in both the source computer room and the target computer room, and deleting the data packets in the source computer room only after receiving the information indicating the completion of synchronization, it is ensured that the data will not be lost during the transmission process. Even if there are network fluctuations or data loss during the data transmission process, the data packets in the source computer room and the target computer room can be used as backups to ensure the integrity of data synchronization; The present invention adopts an incremental synchronization method, only synchronizing the data that has changed in the source computer room, avoiding the inefficiency of full synchronization, reducing the time required for synchronization and the occupancy of network bandwidth, and improving the efficiency of the synchronization process; The present invention only stores the necessary synchronization data packets in the source computer room and the target computer room, avoiding redundant data backups, reducing the occupancy of storage resources, and lowering the storage cost; The present invention ensures the security of data during the transmission process through a timeout retransmission mechanism and data verification. Even in the case of unstable network, it can ensure the complete transmission of data packets, further improving the security of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0051] Figure 1 It is the overall flowchart of the cross-computer room data synchronization method described in the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0052] In order to make the above objects, features, and advantages of the present invention more obvious and understandable, the following will make a detailed description of the specific embodiments of the present invention with reference to the drawings of the specification. Obviously, the described embodiments are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present invention.
[0053] Many specific details are set forth in the following description in order to provide a thorough understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein. Those skilled in the art can make similar extensions without departing from the spirit of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.
[0054] Second, the "one embodiment" or "embodiment" mentioned herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation manner of the present invention. The "in one embodiment" that appears in different places in this specification does not all refer to the same embodiment, nor is it an individual or selectively mutually exclusive embodiment with other embodiments.
[0055] Embodiment 1
[0056] Referring to Figure 1 , which is the first embodiment of the present invention. This embodiment provides a cross-data center data synchronization method, including
[0057] S1: Traverse all the data in the source data center. When it is traversed that there is data change in the source data center, encapsulate the first data into a data packet to be synchronized;
[0058] S2: Send the data packet to be synchronized to the data center to be synchronized, and at the same time store the data packet to be synchronized in the source data center;
[0059] S3: When the data center to be synchronized receives the data packet to be synchronized, perform the first operation, and at the same time send the information indicating the completion of data synchronization to the source data center;
[0060] S4: When the source data center receives the information indicating the completion of data synchronization, delete the data packet to be synchronized stored in the source data center.
[0061] It should be noted that the data packet to be synchronized is stored in the source data center. Only when the source data center receives the information indicating the completion of data synchronization sent by the data center to be synchronized, the data packet to be synchronized stored in the source data center is deleted, and the data packet to be synchronized is stored in the data center to be synchronized, so as to ensure that the data packet to be synchronized is synchronized to the data packet to be synchronized, and the data packet to be synchronized will not be lost during the data transmission process. After the data synchronization transmission is completed, the data packet to be synchronized is also stored in the data center to be synchronized, so that the data packet to be synchronized has a backup in the data center to be synchronized, which is convenient to check the data synchronization situation after the data synchronization is completed.
[0062] Embodiment 2
[0063] Referring to Figure 1 , which is an embodiment of the present invention. Based on the previous embodiment, a cross-data center data synchronization method is provided, including:
[0064] In the embodiment of the present application, the first data in the above step S1 includes:
[0065] The data before the change, the data after the change, the location data of the changed data in the source data center, and the time when the data change occurs.
[0066] In another possible implementation manner, the first data may further include:
[0067] Data change type: Records the specific change type of the data, such as addition, deletion, modification, etc.; helps the machine room to be synchronized to clarify the specific operations for data processing and improve the accuracy of synchronization.
[0068] Data version number: Assigns a unique version number to the data and records the change history of the data; ensures that the machine room to be synchronized can identify and process data of different versions and avoid version conflicts.
[0069] Data integrity verification information: Includes the checksum or hash value of the data, which is used to verify the integrity of the data during transmission; ensures that the data packet to be synchronized is not tampered with or damaged during transmission.
[0070] Data ownership information: Records the information of the creator or modifier of the data; helps the machine room to be synchronized to trace the source and change responsibility of the data and improve the transparency of data management.
[0071] Data association information: Records other data or metadata associated with the changed data; ensures that the machine room to be synchronized can correctly understand and process the context relationship of the data and avoid processing data in isolation.
[0072] Data priority: Assigns a priority to the data to identify the importance of the data; helps the machine room to be synchronized to process the data according to the priority order and ensure the timely synchronization of important data.
[0073] Data operation permission information: Records the access and operation permissions of the data; ensures that the machine room to be synchronized can correctly manage and control the access to the data and prevent unauthorized operations.
[0074] In the embodiment of the present application, when it is traversed in step S1 that there is a change in the data in the source machine room, encapsulating the first data into a data packet to be synchronized includes:
[0075] The method for judging whether there is a change in the data in the source machine room is shown in the following formula:
[0076]
[0077] Where D n represents the data at the nth moment at a certain position in the source machine room, D n+1 represents the data at the (n + 1)th moment at a certain position in the source machine room, n represents the nth moment, n + 1 represents the (n + 1)th moment, μ represents the change threshold, 0 < t ≤ n, t represents the tth moment, D t represents the data at the tth moment at a certain position in the source machine room, and sec(·) represents the secant function.
[0078] When the above formula is satisfied, it means that the data in the source machine room has changed.
[0079] In the embodiment of the present application, in step S2, sending the to-be-synchronized data packet to the to-be-synchronized computer room includes:
[0080] Queue the to-be-synchronized data packets according to the importance degree of the to-be-synchronized data packets, and send the to-be-synchronized data packets to the to-be-synchronized computer room in the order of the queue.
[0081] Specifically, classify the to-be-synchronized data packets: set the priority of the first type of data as P1;
[0082] The priority of the second type of data is P2;
[0083] The priority of the third type of data is P3;
[0084] The priority of the fourth type of data is P4.
[0085] Exemplarily, set the priority of critical business data (such as financial transaction data, order data) as the highest (P1).
[0086] The priority of general business data (such as user behavior logs) is medium (P2).
[0087] The priority of background management data (such as system configuration data) is the lowest (P3).
[0088] Set the priority of core system logs (such as error logs, alarm logs) as high (P2).
[0089] The priority of general system logs (such as operation logs) is medium (P3).
[0090] The priority of debug logs is low (P4).
[0091] Queue the classified to-be-synchronized data packets, and send the to-be-synchronized data packets to the to-be-synchronized computer room in the order of the queue;
[0092] Specifically, put data packets with different priorities into the corresponding queues to form P1 queue, P2 queue, P3 queue and P4 queue;
[0093] Check the P1 queue. If there are data packets, give priority to sending the data packets in the P1 queue until the P1 queue is empty or reaches the preset sending limit;
[0094] After the P1 queue is sent or reaches the preset sending limit, send the data packets in the P2 queue, also until the queue is empty or reaches the preset sending limit;
[0095] And so on, process the data packets in the P3 queue and P4 queue until all the data packets in all queues are sent.
[0096] It should be noted that the more important the data packet to be synchronized, the more forward its position in the queue, and the more likely it is to be sent to the computer room to be synchronized first, so that the important data packets to be synchronized can be preferentially synchronized to the computer room to be synchronized.
[0097] In the embodiment of the present application, the first operation in step S3 includes:
[0098] Unpack the data packet to be synchronized to obtain the data before the change in the source computer room, the data after the change, the position data of the changed data in the source computer room, and the time when the data changes.
[0099] Obtain the position data in the computer room to be synchronized corresponding to the position data of the changed data in the source computer room, modify the data at the corresponding position of the obtained position data in the computer room to be synchronized to the data in the data packet to be synchronized, and store the data packet to be synchronized in the computer room to be synchronized.
[0100] In another possible implementation, the first operation may further include:
[0101] Data verification: After receiving the data packet to be synchronized, the computer room to be synchronized performs integrity verification on the data packet, for example, by comparing the checksum or hash value, to confirm that the data has not been tampered with or damaged during transmission; ensure that the received data is complete and accurate, and prevent the synchronization of invalid or incorrect data.
[0102] Data conflict detection: Check whether there are conflicts between the data in the data packet to be synchronized and the existing data in the computer room to be synchronized, for example, the same data item has been modified in the computer room to be synchronized; resolve data conflicts to ensure data consistency and accuracy.
[0103] Log record: Record the process and results of data synchronization, including synchronization time, data packet content, synchronization status, etc. Facilitate auditing and troubleshooting, and provide a historical record of data synchronization.
[0104] Notification and alarm: When the synchronization fails or the data transmission is abnormal, automatically trigger a notification or alarm to inform the administrator to handle it; promptly discover and handle problems in the synchronization process to reduce the risk of data loss.
[0105] In the embodiment of the present application, sending the information of completing data synchronization to the source computer room in step S3 includes:
[0106] Detect whether the data in the data packet received by the computer room to be synchronized is consistent with the data in the data packet to be synchronized sent by the source computer room. If so, send the information of normal data transmission to the source computer room; otherwise, send the information of abnormal data transmission to the source computer room.
[0107] It should be noted that when an abnormality occurs during the transmission of the data in the data packet to be synchronized, the abnormal situation of the data transmission can be detected in a timely manner, so as to take corresponding measures in a timely manner to further ensure that the data in the data packet to be synchronized is not lost.
[0108] In the embodiment of the present application, when the source computer room receives the information indicating the completion of data synchronization in the above step S4, deleting the data packet to be synchronized stored in the source computer room includes:
[0109] When the source computer room does not receive the information indicating the completion of data synchronization after exceeding the preset time, mark the data packet to be synchronized as a timeout synchronization data packet, and continue to send the timed-out data packet to be synchronized to the computer room to be synchronized until the source computer room receives the information indicating the completion of data synchronization.
[0110] It should be noted that marking the data packet to be synchronized that has not been transmitted to the computer room to be synchronized in a timely manner as a timeout synchronization data packet, and continuing to send the timed-out data packet to be synchronized to the computer room to be synchronized can prevent the timed-out data packet to be synchronized from not being sent to the computer room to be synchronized due to data loss, and further ensure that the synchronized data is not lost.
[0111] Embodiment 3
[0112] The above is a schematic solution of the cross-computer room data synchronization method in this embodiment. It should be noted that the technical solution of the cross-computer room data synchronization system belongs to the same concept as the technical solution of the above cross-computer room data synchronization method. For the details not described in detail in the technical solution of the cross-computer room data synchronization system in this embodiment, reference can be made to the description of the technical solution of the above cross-computer room data synchronization method.
[0113] This embodiment also provides a system based on the cross-computer room data synchronization method, including:
[0114] A data packet to be synchronized encapsulation module, configured to traverse all the data in the source computer room, and when it is traversed that there is a change in the data in the source computer room, encapsulate the first data into a data packet to be synchronized;
[0115] A sending and storing module, configured to send the data packet to be synchronized to the computer room to be synchronized, and at the same time store the data packet to be synchronized in the source computer room;
[0116] A data synchronization module, configured to perform a first operation when the computer room to be synchronized receives the data packet to be synchronized, and at the same time send the information indicating the completion of data synchronization to the source computer room;
[0117] A receiving module, configured to delete the data packet to be synchronized stored in the source computer room when the source computer room receives the information indicating the completion of data synchronization.
[0118] This embodiment also provides a computing device applicable to the cross-computer room data synchronization method, including:
[0119] A memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the cross-data center data synchronization method as proposed in the above embodiments.
[0120] This embodiment also provides a storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the cross-data center data synchronization method as proposed in the above embodiments.
[0121] The storage medium proposed in this embodiment and the cross-data center data synchronization method proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be referred to in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0122] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered by the scope of the claims of the present invention.
Claims
1. A method for synchronizing data across computer rooms, characterized in that: include: Traverse all the data in the source computer room, and when it is found that there is a change in the data in the source computer room, encapsulate the first data into a data packet to be synchronized; Sending the data packet to be synchronized to the computer room to be synchronized, and storing the data packet to be synchronized in the source computer room; When the to-be-synchronized computer room receives the to-be-synchronized data packet, the first operation is performed, and information on the completion of data synchronization is sent to the source computer room at the same time; When the source computer room receives the information that the data synchronization is completed, the data packet to be synchronized stored in the source computer room is deleted.
2. The cross-computer room data synchronization method according to claim 1, characterized in that: The sending of the information of completing data synchronization to the source computer room includes: Check whether the data in the data packet to be synchronized received by the synchronization room is consistent with the data in the data packet to be synchronized sent by the source room. If so, send a message that the data transmission is normal to the source room. Otherwise, send a message that the data transmission is abnormal to the source room.
3. The cross-computer room data synchronization method according to claim 2, characterized in that: When the source computer room receives the information that data synchronization is completed, deleting the data packet to be synchronized stored in the source computer room includes: When the source computer room fails to receive the information that data synchronization is completed within the preset time, the data packet to be synchronized is marked as a timed-out synchronization data packet, and the timed-out data packet to be synchronized continues to be sent to the computer room to be synchronized until the source computer room receives the information that data synchronization is completed.
4. The cross-computer room data synchronization method according to claim 3, characterized in that: The sending the data packet to be synchronized to the computer room to be synchronized comprises: Classify the data packets to be synchronized: set the priority of the first type of data to P1; The second type of data has a priority of P2; The third type of data has a priority of P3; The fourth type of data has a priority of P4.
5. The cross-computer room data synchronization method according to claim 4, characterized in that: The sending the data packet to be synchronized to the computer room to be synchronized further comprises: Put data packets of different priorities into corresponding queues to form P1 queue, P2 queue, P3 queue and P4 queue; Check the P1 queue. If there are data packets, send them first until the P1 queue is empty or reaches the preset sending limit. After the P1 queue has finished sending or reached the preset sending limit, send the data packets in the P2 queue, again until the queue is empty or reaches the preset sending limit; And so on, the data packets in the P3 queue and the P4 queue are processed until the data packets in all queues are sent.
6. The cross-computer room data synchronization method according to claim 5, characterized in that: The first operation includes: Unpack the data packets to be synchronized to obtain the data before the change in the source computer room, the data after the change, the location data of the changed data in the source computer room, and the time when the data changed; The location data in the to-be-synchronized computer room corresponding to the location data of the changed data in the source computer room is obtained, the data in the location corresponding to the acquired location data in the to-be-synchronized computer room is modified into the data in the to-be-synchronized data packet, and the to-be-synchronized data packet is stored in the to-be-synchronized computer room.
7. The cross-computer room data synchronization method according to claim 6, characterized in that: When the traversal finds that data in the source computer room has changed, encapsulating the first data into a data packet to be synchronized includes: The method for determining whether the data in the source computer room has changed is as follows: Among them, D n represents the data at the nth moment at a certain position in the source computer room, D n+1 represents the data at the (n + 1)th moment at a certain position in the source computer room, n represents the nth moment, n + 1 represents the (n + 1)th moment, μ represents the change occurrence threshold, 0 < t ≤ n, t represents the tth moment, D t represents the data at the tth moment at a certain position in the source computer room, sec(·) represents the secant function; When the above formula is satisfied, it means that the data in the source computer room has changed.
8. A system using the cross-computer room data synchronization method as claimed in any one of claims 1 to 7, characterized in that: include: The to-be-synchronized data packet encapsulation module is used to traverse all the data in the source computer room, and when it is found that there is a change in the data in the source computer room, encapsulate the first data into a to-be-synchronized data packet; A sending and storage module, used for sending the data packet to be synchronized to the computer room to be synchronized, and storing the data packet to be synchronized in the source computer room; A data synchronization module, used for performing a first operation when the to-be-synchronized computer room receives a to-be-synchronized data packet, and simultaneously sending information on the completion of data synchronization to the source computer room; The receiving module is used to delete the data packet to be synchronized stored in the source computer room when the source computer room receives the information that the data synchronization is completed.
9. A computing device comprising: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the cross-computer room data synchronization method described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the cross-computer room data synchronization method according to any one of claims 1 to 7.