Data transmission method and device, computer equipment and storage medium

By prioritizing disaster recovery virtual machines and dynamically adjusting execution thread levels, the problem of virtual machine performance degradation is solved, and the performance of important business virtual machines is protected and optimized, ensuring efficient and reliable data transmission.

CN119806913APending Publication Date: 2025-04-11INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411982589.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When implementing dual-site disaster recovery of virtual machines, the existing technology encounters problems such as insufficient cache storage space, exceptions and host shared memory abnormalities, resulting in a decline in virtual machine performance and unable to effectively reduce the performance impact on important business virtual machines.

Method used

By prioritizing disaster recovery virtual machines and presetting level adjustment policies, dynamically adjusting the level of continuous data protection execution threads, intelligently upgrade and downgrade according to the importance of the virtual machine and the current capacity value of the cache storage pool to ensure the priority transmission and protection of high-priority virtual machine data.

Benefits of technology

It realizes accurate management of virtual machine performance, reduces performance impact, ensures priority transmission and protection of high-priority virtual machine data, avoids the risk of loss of important data, and makes full use of the resources of the cache storage pool, optimizing the process and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806913A_ABST
    Figure CN119806913A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a disaster recovery virtual machine list, and dividing the priority of the disaster recovery virtual machines by marking priority identifiers on the virtual machines; according to the priority of the disaster-tolerant virtual machine and a storage capacity threshold value of a cache storage pool corresponding to the host, presetting a disaster-tolerant virtual machine level adjustment strategy; acquiring input data and monitoring a current capacity value of the cache storage pool; dynamically adjusting the level of a continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of a cache storage pool and the disaster recovery virtual machine level adjustment strategy; and transmitting the input data according to the adjusted level of the continuous data protection execution thread. By adopting the method, the virtual machine can be accurately upgraded and degraded, and the influence on the performance of the virtual machine is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data technology, and in particular to a data transmission method, apparatus, computer equipment and storage medium. Background Art

[0002] Current virtualization products support dual-site disaster recovery based on sustainable data protection, that is, building two virtualization platforms in different locations, storing the incremental data of the virtual machine in the host cache storage pool and transmitting it to the remote site to achieve the purpose of long-distance business data backup. When there are insufficient cache storage space, abnormalities, and host shared memory abnormalities, all virtual machines are downgraded to ensure sustainable transmission of business data. However, after downgrading, the performance of the virtual machine will be affected. Since the virtual machines of important businesses are more dependent on performance, downgrading all virtual machines cannot reduce the impact on the performance of virtual machines of important businesses. Summary of the invention

[0003] Based on this, it is necessary to provide a data transmission method, device, computer equipment and storage medium that can accurately upgrade and downgrade virtual machines and reduce the impact on virtual machine performance in response to the above technical problems.

[0004] In one aspect, a data transmission method is provided, the method comprising:

[0005] Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines;

[0006] Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host;

[0007] Obtain input data and monitor the current capacity value of the cache storage pool;

[0008] Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy;

[0009] The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

[0010] In one of the embodiments, the levels of the continuous data protection execution thread include a primary state and a secondary state. The primary state is the state of the disaster recovery virtual machine corresponding to the host in the production site when performing data transmission through shared memory, and the secondary state is the state of the disaster recovery virtual machine performing data disaster recovery through snapshot technology.

[0011] In one of the embodiments, the disaster recovery virtual machine priority includes high priority, medium priority, and low priority, the cache storage pool storage capacity threshold includes a first threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, including: in response to the current capacity value of the cache storage pool being less than or equal to the first threshold, the continuous data protection execution thread of the low priority virtual machine, the medium priority virtual machine, and the high priority virtual machine is set to the first-level state; in response to the current capacity value of the cache storage pool exceeding the first threshold, the continuous data protection execution thread of the low priority virtual machine is adjusted from the first-level state to the second-level state, and the continuous data protection execution threads of the medium priority virtual machine and the high priority virtual machine remain in the first-level state unchanged.

[0012] In one of the embodiments, the storage capacity threshold of the cache storage pool includes a second threshold and a third threshold. The disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, and also includes: in response to the current capacity value of the cache storage pool rising and exceeding the second threshold, based on the low priority virtual machine maintaining the secondary state, the continuous data protection execution thread of the medium priority virtual machine is adjusted from the primary state to the secondary state, and the high priority virtual machine maintains the primary state unchanged; in response to the current capacity value of the cache storage pool decreasing, it is determined whether the current capacity value of the cache storage pool is lower than the third threshold. If the current capacity value of the cache storage pool is lower than the third threshold, the continuous data protection execution thread of the low priority virtual machine is adjusted from the secondary state to the primary state, and the medium priority virtual machine and the high priority virtual machine maintain the primary state unchanged; if the current capacity value of the cache storage pool is not lower than the third threshold, the low priority virtual machine maintains the secondary state unchanged, and the medium priority virtual machine and the high priority virtual machine maintain the primary state unchanged.

[0013] In one of the embodiments, the cache storage pool storage capacity threshold includes a fourth threshold and a fifth threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, and also includes: in response to the current capacity value of the cache storage pool rising and exceeding the fourth threshold, based on the low-priority virtual machine and the medium-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the high-priority virtual machine from the primary state to the secondary state; in response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the fifth threshold, if the current capacity value of the cache storage pool is lower than the fifth threshold, When the low-priority virtual machine remains in the secondary state, the continuous data protection execution thread of the medium-priority virtual machine is adjusted from the secondary state to the primary state, and the high-priority virtual machine remains in the primary state unchanged; if the current capacity value of the cache storage pool is not lower than the fifth threshold, the low-priority virtual machine and the medium-priority virtual machine remain in the secondary state unchanged, and the high-priority virtual machine remains in the primary state unchanged; in response to the current capacity value of the cache storage pool continuously decreasing and being lower than the third threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the secondary state to the primary state, and the medium-priority virtual machine and the high-priority virtual machine remain in the primary state unchanged;

[0014] Among them, the storage capacity thresholds of the cache storage pool are, from high to low, the fourth threshold, the second threshold, the first threshold, the fifth threshold, and the third threshold.

[0015] In one of the embodiments, before dynamically adjusting the level of the continuous data protection execution thread, it includes: when the current storage capacity value of the cache storage pool exceeds any threshold value, obtaining the disaster recovery virtual machine priority corresponding to the input data by identifying the virtual machine priority identifier, and adjusting the disaster recovery virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level.

[0016] In one of the embodiments, the first-level state transmits input data to the disaster recovery site of the disaster recovery system in the following manner: intercepting the input and output incremental data written to the disk by the disaster recovery virtual machine through a fast emulator, putting the input and output incremental data into the shared memory, the continuous data protection execution thread reading the input and output incremental data through the shared memory, writing the input and output incremental data into the input and output cache disk in the cache storage pool and recording the corresponding bitmap, and transmitting the input and output cache disk and the bitmap to the disaster recovery site through the disaster recovery private network;

[0017] The secondary state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner: intercepting the input and output incremental data written to the disk by the disaster recovery virtual machine through a fast emulator, using the input and output incremental data to generate a target cache disk and record a corresponding bitmap, and transmitting the target cache disk and the bitmap to the disaster recovery site through the disaster recovery private network.

[0018] In another aspect, a data transmission device is provided, the device comprising:

[0019] Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines;

[0020] Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host;

[0021] Obtain input data and monitor the current capacity value of the cache storage pool;

[0022] Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy;

[0023] The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

[0024] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0025] Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines;

[0026] Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host;

[0027] Obtain input data and monitor the current capacity value of the cache storage pool;

[0028] Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy;

[0029] The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

[0030] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0031] Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines;

[0032] Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host;

[0033] Obtain input data and monitor the current capacity value of the cache storage pool;

[0034] Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy;

[0035] The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

[0036] The above-mentioned data transmission method, device, computer equipment and storage medium, by marking the priority of the disaster recovery virtual machine and presetting the level adjustment strategy, can realize the intelligent dynamic adjustment of the level of the continuous data protection execution thread according to the importance of the virtual machine and the current capacity value of the cache storage pool. It ensures the priority transmission and protection of high-priority virtual machine data, avoids the risk of loss of important data, and makes full use of the resources of the cache storage pool to optimize the process and efficiency of data transmission. In addition, it can also flexibly adjust the strategy according to the actual capacity situation to adapt to different disaster recovery scenarios and needs, thereby improving the reliability and stability of the entire disaster recovery system. This data transmission method ensures that the disaster recovery system provides more comprehensive and efficient data protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is an application environment diagram of a data transmission method in an embodiment;

[0038] Figure 2 A schematic diagram of a flow chart of a data transmission method in an embodiment;

[0039] Figure 3 is a schematic diagram of a data transmission path in one embodiment;

[0040] Figure 4 A schematic diagram of a process of downgrading a virtual machine in one embodiment;

[0041] Figure 5 A schematic diagram of a process of downgrading a virtual machine in another embodiment;

[0042] Figure 6 is a structural block diagram of a data transmission device in one embodiment;

[0043] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] The data transmission method provided in this application can be applied to Figure 1 In the application environment shown, the terminal 102 communicates with the server 104 through a network. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0046] In one embodiment, Figure 2 As shown, a data transmission method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0047] Step 201 , obtaining a list of disaster recovery virtual machines, and assigning priorities to the disaster recovery virtual machines by marking priority identifiers on the virtual machines.

[0048] Specifically, the user can edit different DR virtual machines in the DR virtual machine list to set high, medium, and low priorities. After the setting is completed, the priority value will be displayed in the priority field of the DR virtual machine list.

[0049] Step 203: preset a disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and a storage capacity threshold of a cache storage pool corresponding to the host.

[0050] The cache storage pool is a local storage pool for storing input data cache disks; the cache storage pool corresponding to the host refers to each host containing multiple virtual machines with different priorities, and a host has only one cache storage pool.

[0051] Specifically, a storage capacity threshold and an adjustment policy of the cache storage pool are preset, and when the storage capacity of the cache storage pool exceeds the threshold, the virtual machine is upgraded or downgraded according to the adjustment policy based on the situation of exceeding the threshold.

[0052] Step 205: Acquire input data and monitor the current capacity value of the cache storage pool.

[0053] The input data (io) refers to the data output from the disaster recovery virtual machine. By obtaining the source of the input data, it can be learned that the data comes from the virtual disk or shared memory.

[0054] Shared memory is a portion of the host's physical memory that is used to temporarily store input data for virtual machines.

[0055] Step 207 : dynamically adjust the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool, and the disaster recovery virtual machine level adjustment policy.

[0056] Among them, continuous data protection is a data backup and recovery technology that aims to provide real-time protection and recovery capabilities for data.

[0057] Specifically, due to the different data transmission paths, the virtual machine priority corresponding to the input data can be determined by knowing whether the data comes from the virtual disk or shared memory, and the level of the continuous data protection execution thread can be dynamically adjusted by the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy.

[0058] Step 209: Transmit the input data according to the adjusted level of the CDP execution thread.

[0059] Specifically, according to different data transmission paths of continuous data protection, the continuous data protection execution threads are divided into levels, and the data transmission paths of corresponding levels are applied according to the adjustment strategy.

[0060] In the above data transmission method, by marking the priority of the disaster recovery virtual machine and presetting the level adjustment strategy, the level of the continuous data protection execution thread can be intelligently and dynamically adjusted according to the importance of the virtual machine and the current capacity value of the cache storage pool. It ensures the priority transmission and protection of high-priority virtual machine data, avoids the risk of loss of important data, and makes full use of the resources of the cache storage pool to optimize the process and efficiency of data transmission. In addition, it can flexibly adjust the strategy according to the actual capacity situation to adapt to different disaster recovery scenarios and needs, thereby improving the reliability and stability of the entire disaster recovery system. This data transmission method ensures that the disaster recovery system provides more comprehensive and efficient data protection.

[0061] In some embodiments, the level of the continuous data protection execution thread includes a primary state, a secondary state,

[0062] The primary state is a state in which the disaster recovery virtual machine corresponding to the host in the production site performs data transmission through the shared memory, and the secondary state is a state in which the disaster recovery virtual machine performs data disaster recovery through the snapshot technology.

[0063] The first-level state transmits input data to the disaster recovery site of the disaster recovery system in the following ways:

[0064] The input incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, and the input and output incremental data are placed in the shared memory. The continuous data protection execution thread reads the input and output incremental data through the shared memory, writes the input and output incremental data into the input and output cache disk in the cache storage pool and records the corresponding bitmap, and transmits the input and output cache disk and the bitmap to the disaster recovery site through the disaster recovery private network;

[0065] The secondary state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner:

[0066] The input and output incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, the target cache disk is generated using the input and output incremental data and the corresponding bitmap is recorded, and the target cache disk and the bitmap are transmitted to the disaster recovery site through the disaster recovery private network.

[0067] Among them, the fast emulator (qemu-io) is responsible for intercepting the io of the virtual machine into the shared memory, and the continuous data protection execution thread (cdp-worker) reads the input incremental data through the shared memory, writes the input incremental data to the io cache disk in the cache storage pool and records the corresponding bitmap.

[0068] Specifically, Figure 3 As shown in the figure, when the cache storage pool usage space of the host does not exceed the preset threshold, the disaster recovery virtual machine on the host transmits data in the first-level state of continuous data protection mode, that is, qemu-io first puts the io of the disaster recovery virtual machine into the virtual disk into the shared memory, and cdp-worker then writes the io in the shared memory into the io cache disk in the cache storage pool, and uses the disaster recovery network to transmit the oi cache disk to the remote site. If the cache storage pool usage space of the host exceeds the preset threshold, the cdp-worker of the disaster recovery virtual machine is downgraded according to the adjustment strategy, and the intercepted io is no longer placed in the cache storage pool. Instead, the snapshot technology (target cache disk + bitmap) is used for the virtual disk of the disaster recovery virtual machine to put the incremental data into the production storage pool and transmit it to the remote site. At the same time, the original io cache disk in the cache storage pool continues to be transmitted. When the cache storage pool usage space rises to the preset threshold, the cdp-worker of the disaster recovery virtual machine is upgraded according to the adjustment strategy.

[0069] In the above embodiment, the continuous protection thread, in the first-level state, uses the shared memory technology to intercept and transmit the input and output incremental data written to the disk by the disaster recovery virtual machine to the disaster recovery site in real time and quickly, and ensures the integrity and accuracy of the data through the input and output cache disk and bitmap records in the cache storage pool. In the second-level state, the target cache disk and bitmap are generated by the snapshot technology and directly transmitted to the disaster recovery site. This method not only ensures the efficiency of data recovery, but also provides a more flexible data disaster recovery method. This solution combines the advantages of shared memory technology and snapshot technology, which not only ensures the real-time and continuity of data transmission, but also improves the reliability and flexibility of data disaster recovery. Through the switching of these two states, the most suitable data transmission and disaster recovery method can be flexibly selected according to different business needs and data protection requirements, thereby effectively reducing the risk of data loss and improving the stability and security of the entire disaster recovery system. In addition, the solution also transmits data through a disaster recovery dedicated network, further ensuring the security and reliability of data during transmission.

[0070] Specifically, a state level can be added between the first and second states, and the current second state can be adjusted to the third state, and the state can be reduced from the first state to the third state according to the threshold. The added state is the state of using the change block tracking technology for data disaster recovery. By decreasing the degree of data protection at different levels and dividing the state into more levels, it is ensured that each level reduction has a smaller impact on performance.

[0071] In some embodiments, the disaster recovery virtual machine priority includes a high priority, a medium priority, and a low priority, the cache storage pool storage capacity threshold includes a first threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, including:

[0072] In response to the current capacity value of the cache storage pool being less than or equal to the first threshold, setting the continuous data protection execution threads of the low-priority virtual machine, the medium-priority virtual machine, and the high-priority virtual machine to a level one state;

[0073] In response to the current capacity value of the cache storage pool exceeding the first threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the first-level state to the second-level state, and the continuous data protection execution threads of the medium-priority virtual machine and the high-priority virtual machine remain in the first-level state unchanged.

[0074] Specifically, Figure 4As shown, high, medium and low priorities are set for the disaster recovery virtual machines on the host, and data is initially transmitted in the first level state. When the storage capacity of the cache storage pool reaches the first threshold, such as 70%, the low-priority disaster recovery virtual machines are first downgraded to the second level, and the continuous data protection execution threads of the medium-priority virtual machines and the high-priority virtual machines remain in the first level state.

[0075] In the above embodiment, the adjustment strategy realizes the dynamic optimization management of the virtual machine continuous data protection execution thread by comprehensively considering the priority of the disaster recovery virtual machine and the storage capacity threshold of the cache storage pool. When the current capacity of the cache storage pool is low and reaches the preset first threshold, the strategy ensures that all levels of virtual machines (low, medium, and high priority) obtain the highest level of data protection, that is, the first-level state, to maximize data security. Once the capacity of the cache storage pool is increased and exceeds the first threshold, the strategy flexibly adjusts the data protection execution thread of the low-priority virtual machine to the second-level state to reduce storage pressure, while maintaining the highest protection level of the medium and high-priority virtual machines unchanged, thereby achieving effective allocation and utilization of storage resources without affecting the protection of critical business data. Not only does it improve the utilization rate of storage resources, but it also ensures the balance between the effectiveness of data protection and business continuity under different storage capacity conditions, effectively improving the overall performance and reliability of the disaster recovery system.

[0076] In some embodiments, the cache storage pool storage capacity threshold includes a second threshold and a third threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, and further includes:

[0077] In response to the current capacity value of the cache storage pool rising and exceeding the second threshold, based on the low-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the medium-priority virtual machine from the primary state to the secondary state, and the high-priority virtual machine maintaining the primary state unchanged;

[0078] In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the third threshold,

[0079] If the current capacity value of the cache storage pool is lower than the third threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the secondary state to the primary state, and the medium-priority virtual machine and the high-priority virtual machine remain in the primary state unchanged.

[0080] If the current capacity value of the cache storage pool is not lower than the third threshold, the low-priority virtual machine maintains the secondary state unchanged, and the medium-priority virtual machine and the high-priority virtual machine maintain the primary state unchanged.

[0081] Specifically, the cache storage pool storage capacity is continuously monitored, such as Figure 5 As shown, when the storage capacity of the cache storage pool continues to increase and reaches the second threshold, such as 80%, the low-priority disaster recovery virtual machine is first downgraded to the second level, and the continuous data protection execution threads of the medium-priority virtual machine and the high-priority virtual machine remain in the first-level state unchanged, or because the low-priority disaster recovery virtual machine no longer writes data to the cache storage pool, the storage capacity of the cache storage pool may be reduced, and it is determined whether the current capacity value of the cache storage pool is lower than the third threshold, such as 50%.

[0082] If the current capacity value of the cache storage pool is lower than 50%, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the secondary state to the primary state, and the medium-priority virtual machine and the high-priority virtual machine remain in the primary state unchanged; if the current capacity value of the cache storage pool is not lower than 50%, the low-priority virtual machine remains in the secondary state unchanged, and the medium-priority virtual machine and the high-priority virtual machine remain in the primary state unchanged.

[0083] In the above embodiment, on the basis of first downgrading the low-priority virtual machine, the storage capacity value of the cache pool is continuously monitored. When the storage capacity of the cache storage pool increases and exceeds the set second threshold, the data protection level of the virtual machine with the next highest priority can be further reduced, thereby reducing the frequency of writing data to it, thereby reducing the pressure on the storage capacity. When the storage capacity decreases and is lower than the set third threshold, the data protection level of the low-priority virtual machine can be restored in time to ensure the security of its data.

[0084] In addition, the solution ensures that the data protection level of medium-priority and high-priority virtual machines remains unchanged when storage capacity changes, thereby ensuring the continuous protection and availability of critical business data. This dynamic adjustment strategy based on the priority of disaster recovery virtual machines and the storage capacity threshold of the cache storage pool effectively balances storage capacity requirements and data protection requirements through continuous monitoring and intelligent adjustment, providing a strong guarantee for the stable operation of the system.

[0085] In some embodiments, the cache storage pool storage capacity threshold includes a fourth threshold and a fifth threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, and further includes:

[0086] In response to the current capacity value of the cache storage pool rising and exceeding the fourth threshold, based on the low-priority virtual machine and the medium-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the high-priority virtual machine from the primary state to the secondary state;

[0087] In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the fifth threshold,

[0088] If the current capacity value of the cache storage pool is lower than the fifth threshold, based on the low-priority virtual machine maintaining the secondary state, the continuous data protection execution thread of the medium-priority virtual machine is adjusted from the secondary state to the primary state, and the high-priority virtual machine maintains the primary state unchanged,

[0089] If the current capacity value of the cache storage pool is not lower than the fifth threshold, the low-priority virtual machine and the medium-priority virtual machine remain in the secondary state, and the high-priority virtual machine remains in the primary state;

[0090] In response to the current capacity value of the cache storage pool continuously decreasing and being lower than the third threshold, adjusting the continuous data protection execution thread of the low-priority virtual machine from the secondary state to the primary state, and keeping the medium-priority virtual machine and the high-priority virtual machine in the primary state unchanged;

[0091] Among them, the storage capacity thresholds of the cache storage pool are, from high to low, the fourth threshold, the second threshold, the first threshold, the fifth threshold, and the third threshold.

[0092] Specifically, the storage capacity of the cache storage pool is continuously monitored. When the storage capacity of the cache storage pool continues to rise and reaches a fourth threshold, such as 90%, based on the low-priority virtual machine and the medium-priority virtual machine maintaining a secondary state, the continuous data protection execution thread of the high-priority virtual machine is adjusted from the primary state to the secondary state; or because the low- and medium-priority disaster recovery virtual machines no longer write data to the cache storage pool, the storage capacity of the cache storage pool may decrease, and it is determined whether the current capacity value of the cache storage pool is lower than the fifth threshold, such as 60%.

[0093] If the current capacity value of the cache storage pool is lower than 60%, based on the low-priority virtual machine maintaining the secondary state, the continuous data protection execution thread of the medium-priority virtual machine is adjusted from the secondary state to the primary state, and the high-priority virtual machine maintains the primary state unchanged; if the current capacity value of the cache storage pool is not lower than 60%, the low-priority virtual machine and the medium-priority virtual machine maintain the secondary state unchanged, and the high-priority virtual machine maintains the primary state unchanged.

[0094] As in the above example, the storage capacity thresholds of the cache storage pool are 90%, 80%, 70%, 60%, and 50% from high to low.

[0095] In the above embodiment, by adding the fourth threshold and the fifth threshold, the storage capacity management strategy of the cache storage pool is further refined. When the storage capacity exceeds the fourth threshold, the data protection level of the high-priority virtual machine is intelligently reduced from level 1 to level 2 to relieve storage pressure, while ensuring that the low-priority and medium-priority virtual machines are already in the level 2 state, so as to allocate storage resources in an orderly manner. As the storage capacity decreases, if it is lower than the fifth threshold, the solution will give priority to restoring the data protection level of the medium-priority virtual machine to level 1, while the high-priority virtual machine remains at level 1, and the low-priority virtual machine remains at level 2, thereby realizing flexible allocation of resources. When the storage capacity further decreases below the third threshold, the data protection level of the low-priority virtual machine is also restored, ensuring that all virtual machines can obtain sufficient data protection after the storage pressure is relieved. This strategy not only improves the utilization efficiency of storage resources, but also ensures the data security and business continuity of virtual machines of each priority level in the dynamic change of storage capacity, and enhances the overall stability and responsiveness of the system.

[0096] In some embodiments, before dynamically adjusting the level of the continuous data protection execution thread, the process includes:

[0097] When the current storage capacity value of the cache storage pool exceeds any threshold value, the disaster recovery virtual machine priority corresponding to the input data is obtained by identifying the virtual machine priority identifier, and the disaster recovery virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy are implemented.

[0098] In the above embodiment, by identifying the virtual machine priority identifier, the disaster recovery virtual machine priority corresponding to the input data is accurately obtained. This step provides a key basis for the subsequent adjustment strategy, ensuring that the adjustment measures can accurately match the actual needs of virtual machines with different priorities. Subsequently, combined with the current capacity value of the cache storage pool and the preset disaster recovery virtual machine level adjustment strategy, the solution can make timely and reasonable decisions.

[0099] It should be understood that although Figure 1-5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-5 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0100] In one embodiment, Figure 6 As shown, a data transmission device is provided, comprising: a division module 21, a preset module 22, an acquisition module 23, an adjustment module 24 and a transmission module 25, wherein:

[0101] The classification module is used to obtain a list of disaster recovery virtual machines and classify the priorities of the disaster recovery virtual machines by marking priority identifiers on the virtual machines.

[0102] The preset module is used to preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host.

[0103] The acquisition module is used to obtain input data and monitor the current capacity value of the cache storage pool.

[0104] The adjustment module is used to dynamically adjust the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool, and the disaster recovery virtual machine level adjustment strategy.

[0105] The transmission module is used to transmit the input data according to the adjusted level of the continuous data protection execution thread.

[0106] In some embodiments, the adjustment module 23 is used to preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host, including:

[0107] In response to the current capacity value of the cache storage pool being less than or equal to the first threshold, setting the continuous data protection execution threads of the low-priority virtual machine, the medium-priority virtual machine, and the high-priority virtual machine to a level one state;

[0108] In response to the current capacity value of the cache storage pool exceeding the first threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the first-level state to the second-level state, and the continuous data protection execution threads of the medium-priority virtual machine and the high-priority virtual machine remain in the first-level state unchanged.

[0109] In response to the current capacity value of the cache storage pool rising and exceeding the second threshold, based on the low-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the medium-priority virtual machine from the primary state to the secondary state, and the high-priority virtual machine maintaining the primary state unchanged;

[0110] In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the third threshold,

[0111] If the current capacity value of the cache storage pool is lower than the third threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the secondary state to the primary state, and the medium-priority virtual machine and the high-priority virtual machine remain in the primary state unchanged.

[0112] If the current capacity value of the cache storage pool is not lower than the third threshold, the low-priority virtual machine maintains the secondary state unchanged, and the medium-priority virtual machine and the high-priority virtual machine maintain the primary state unchanged.

[0113] In response to the current capacity value of the cache storage pool rising and exceeding the fourth threshold, based on the low-priority virtual machine and the medium-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the high-priority virtual machine from the primary state to the secondary state;

[0114] In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the fifth threshold,

[0115] If the current capacity value of the cache storage pool is lower than the fifth threshold, based on the low-priority virtual machine maintaining the secondary state, the continuous data protection execution thread of the medium-priority virtual machine is adjusted from the secondary state to the primary state, and the high-priority virtual machine maintains the primary state unchanged,

[0116] If the current capacity value of the cache storage pool is not lower than the fifth threshold, the low-priority virtual machine and the medium-priority virtual machine remain in the secondary state, and the high-priority virtual machine remains in the primary state;

[0117] In response to the current capacity value of the cache storage pool continuously decreasing and being lower than the third threshold, adjusting the continuous data protection execution thread of the low-priority virtual machine from the secondary state to the primary state, and keeping the medium-priority virtual machine and the high-priority virtual machine in the primary state unchanged;

[0118] Among them, the storage capacity thresholds of the cache storage pool are, from high to low, the fourth threshold, the second threshold, the first threshold, the fifth threshold, and the third threshold.

[0119] For the specific definition of the data transmission device, please refer to the definition of the data transmission method above, which will not be repeated here. Each module in the above-mentioned data transmission device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0120] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data transmission data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data transmission method is implemented.

[0121] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0122] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0123] Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines;

[0124] Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host;

[0125] Obtain input data and monitor the current capacity value of the cache storage pool;

[0126] Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy;

[0127] The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

[0128] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0129] The levels of continuous data protection execution threads include level one and level two.

[0130] The primary state is a state in which the disaster recovery virtual machine corresponding to the host in the production site performs data transmission through the shared memory, and the secondary state is a state in which the disaster recovery virtual machine performs data disaster recovery through the snapshot technology.

[0131] The first-level state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner:

[0132] The input and output incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, and the input and output incremental data is placed in the shared memory. The continuous data protection execution thread reads the input and output incremental data through the shared memory, writes the input and output incremental data into the input and output cache disk in the cache storage pool and records the corresponding bitmap, and transmits the input and output cache disk and the bitmap to the disaster recovery site through the disaster recovery private network;

[0133] The secondary state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner:

[0134] The input and output incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, the target cache disk is generated using the input and output incremental data and the corresponding bitmap is recorded, and the target cache disk and the bitmap are transmitted to the disaster recovery site through the disaster recovery private network.

[0135] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0136] The disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host, including:

[0137] In response to the current capacity value of the cache storage pool being less than or equal to the first threshold, setting the continuous data protection execution threads of the low-priority virtual machine, the medium-priority virtual machine, and the high-priority virtual machine to a level one state;

[0138] In response to the current capacity value of the cache storage pool exceeding the first threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the first-level state to the second-level state, and the continuous data protection execution threads of the medium-priority virtual machine and the high-priority virtual machine remain in the first-level state unchanged.

[0139] In response to the current capacity value of the cache storage pool rising and exceeding the second threshold, based on the low-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the medium-priority virtual machine from the primary state to the secondary state, and the high-priority virtual machine maintaining the primary state unchanged;

[0140] In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the third threshold,

[0141] If the current capacity value of the cache storage pool is lower than the third threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the secondary state to the primary state, and the medium-priority virtual machine and the high-priority virtual machine remain in the primary state unchanged.

[0142] If the current capacity value of the cache storage pool is not lower than the third threshold, the low-priority virtual machine maintains the secondary state unchanged, and the medium-priority virtual machine and the high-priority virtual machine maintain the primary state unchanged.

[0143] In response to the current capacity value of the cache storage pool rising and exceeding the fourth threshold, based on the low-priority virtual machine and the medium-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the high-priority virtual machine from the primary state to the secondary state;

[0144] In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the fifth threshold,

[0145] If the current capacity value of the cache storage pool is lower than the fifth threshold, based on the low-priority virtual machine maintaining the secondary state, the continuous data protection execution thread of the medium-priority virtual machine is adjusted from the secondary state to the primary state, and the high-priority virtual machine maintains the primary state unchanged,

[0146] If the current capacity value of the cache storage pool is not lower than the fifth threshold, the low-priority virtual machine and the medium-priority virtual machine remain in the secondary state, and the high-priority virtual machine remains in the primary state;

[0147] In response to the current capacity value of the cache storage pool continuously decreasing and being lower than the third threshold, adjusting the continuous data protection execution thread of the low-priority virtual machine from the secondary state to the primary state, and keeping the medium-priority virtual machine and the high-priority virtual machine in the primary state unchanged;

[0148] Among them, the storage capacity thresholds of the cache storage pool are, from high to low, the fourth threshold, the second threshold, the first threshold, the fifth threshold, and the third threshold.

[0149] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0150] Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines;

[0151] Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host;

[0152] Obtain input data and monitor the current capacity value of the cache storage pool;

[0153] Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy;

[0154] The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0156] The levels of continuous data protection execution threads include level one and level two.

[0157] The primary state is a state in which the disaster recovery virtual machine corresponding to the host in the production site performs data transmission through the shared memory, and the secondary state is a state in which the disaster recovery virtual machine performs data disaster recovery through the snapshot technology.

[0158] The first-level state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner:

[0159] The input and output incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, and the input and output incremental data is placed in the shared memory. The continuous data protection execution thread reads the input and output incremental data through the shared memory, writes the input and output incremental data into the input and output cache disk in the cache storage pool and records the corresponding bitmap, and transmits the input and output cache disk and the bitmap to the disaster recovery site through the disaster recovery private network;

[0160] The secondary state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner:

[0161] The input and output incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, the target cache disk is generated using the input and output incremental data and the corresponding bitmap is recorded, and the target cache disk and the bitmap are transmitted to the disaster recovery site through the disaster recovery private network.

[0162] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0163] Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines;

[0164] Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host;

[0165] Obtain input data and monitor the current capacity value of the cache storage pool;

[0166] Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy;

[0167] The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0169] The levels of continuous data protection execution threads include level one and level two.

[0170] The primary state is a state in which the disaster recovery virtual machine corresponding to the host in the production site performs data transmission through the shared memory, and the secondary state is a state in which the disaster recovery virtual machine performs data disaster recovery through the snapshot technology.

[0171] The first-level state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner:

[0172] The input and output incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, and the input and output incremental data is placed in the shared memory. The continuous data protection execution thread reads the input and output incremental data through the shared memory, writes the input and output incremental data into the input and output cache disk in the cache storage pool and records the corresponding bitmap, and transmits the input and output cache disk and the bitmap to the disaster recovery site through the disaster recovery private network;

[0173] The secondary state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner:

[0174] The input and output incremental data written to the disk by the disaster recovery virtual machine is intercepted by a fast simulator, the target cache disk is generated using the input and output incremental data and the corresponding bitmap is recorded, and the target cache disk and the bitmap are transmitted to the disaster recovery site through the disaster recovery private network.

[0175] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0176] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0177] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A data transmission method, characterized in that: Applied to a disaster recovery system, the disaster recovery system includes a host, the host corresponds to multiple disaster recovery virtual machines, including: Obtain a list of disaster recovery virtual machines, and prioritize the disaster recovery virtual machines by marking priority identifiers on the virtual machines; Preset the disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and the storage capacity threshold of the cache storage pool corresponding to the host; Obtain input data and monitor the current capacity value of the cache storage pool; Dynamically adjusting the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy; The input data is transmitted according to the adjusted level of the continuous data protection execution thread.

2. The method according to claim 1, characterized in that The levels of the continuous data protection execution thread include a primary state and a secondary state. The first-level state is the state of the disaster recovery virtual machine corresponding to the host in the production site when data is transmitted through the shared memory. The secondary state is a state in which the disaster recovery virtual machine performs data disaster recovery through snapshot technology.

3. The method according to claim 2, characterized in that The disaster recovery virtual machine priority includes a high priority, a medium priority, and a low priority, the cache storage pool storage capacity threshold includes a first threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, including: In response to the current capacity value of the cache storage pool being less than or equal to the first threshold, setting the continuous data protection execution threads of the low-priority virtual machine, the medium-priority virtual machine, and the high-priority virtual machine to a level one state; In response to the current capacity value of the cache storage pool exceeding the first threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the first-level state to the second-level state, and the continuous data protection execution threads of the medium-priority virtual machine and the high-priority virtual machine remain in the first-level state unchanged.

4. The method according to claim 3, characterized in that The cache storage pool storage capacity threshold includes a second threshold and a third threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, and further includes: In response to the current capacity value of the cache storage pool rising and exceeding the second threshold, based on the low-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the medium-priority virtual machine from the primary state to the secondary state, and the high-priority virtual machine maintaining the primary state unchanged; In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the third threshold, If the current capacity value of the cache storage pool is lower than the third threshold, the continuous data protection execution thread of the low-priority virtual machine is adjusted from the secondary state to the primary state, and the medium-priority virtual machine and the high-priority virtual machine remain in the primary state unchanged. If the current capacity value of the cache storage pool is not lower than the third threshold, the low-priority virtual machine maintains the secondary state unchanged, and the medium-priority virtual machine and the high-priority virtual machine maintain the primary state unchanged.

5. The method according to claim 4, characterized in that The cache storage pool storage capacity threshold includes a fourth threshold and a fifth threshold, and the disaster recovery virtual machine level adjustment strategy is preset according to the disaster recovery virtual machine priority and the cache storage pool storage capacity threshold corresponding to the host, and further includes: In response to the current capacity value of the cache storage pool rising and exceeding the fourth threshold, based on the low-priority virtual machine and the medium-priority virtual machine maintaining the secondary state, adjusting the continuous data protection execution thread of the high-priority virtual machine from the primary state to the secondary state; In response to the current capacity value of the cache storage pool decreasing, determining whether the current capacity value of the cache storage pool is lower than the fifth threshold, If the current capacity value of the cache storage pool is lower than the fifth threshold, based on the low-priority virtual machine maintaining the secondary state, the continuous data protection execution thread of the medium-priority virtual machine is adjusted from the secondary state to the primary state, and the high-priority virtual machine maintains the primary state unchanged, If the current capacity value of the cache storage pool is not lower than the fifth threshold, the low-priority virtual machine and the medium-priority virtual machine remain in the secondary state, and the high-priority virtual machine remains in the primary state; In response to the current capacity value of the cache storage pool continuously decreasing and being lower than the third threshold, adjusting the continuous data protection execution thread of the low-priority virtual machine from the secondary state to the primary state, and keeping the medium-priority virtual machine and the high-priority virtual machine in the primary state unchanged; Among them, the storage capacity thresholds of the cache storage pool are, from high to low, the fourth threshold, the second threshold, the first threshold, the fifth threshold, and the third threshold.

6. The method according to any one of claims 3 to 5, characterized in that: Before dynamically adjusting the level of the continuous data protection execution thread, the process includes: When the current storage capacity value of the cache storage pool exceeds any threshold, the disaster recovery virtual machine priority corresponding to the input data is obtained by identifying the virtual machine priority identifier, The disaster recovery virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy are implemented.

7. The method according to claim 2, characterized in that The first-level state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner: The input and output incremental data written to the disk by the disaster recovery virtual machine are intercepted by the fast simulator, and the input and output incremental data are placed in the shared memory. The continuous data protection execution thread reads the input and output incremental data through the shared memory, writes the input and output incremental data into the input and output cache disk in the cache storage pool and records the corresponding bitmap, Transmitting the input and output cache disk and the bitmap to a disaster recovery site via a disaster recovery dedicated network; The secondary state transmits the input data to the disaster recovery site of the disaster recovery system in the following manner: The fast simulator captures the incremental input and output data written to the disk by the disaster recovery virtual machine. Generate a target cache disk using the input and output incremental data and record a corresponding bitmap, The target cache disk and the bitmap are transmitted to the disaster recovery site through the disaster recovery dedicated network.

8. A data transmission device, characterized in that: The device comprises: A classification module is used to obtain a list of disaster recovery virtual machines and classify the priorities of the disaster recovery virtual machines by marking priority identifiers on the virtual machines; A preset module is used to preset a disaster recovery virtual machine level adjustment strategy according to the disaster recovery virtual machine priority and a storage capacity threshold of a cache storage pool corresponding to a host; An acquisition module is used to acquire input data and monitor the current capacity value of the cache storage pool; An adjustment module, used to dynamically adjust the level of the continuous data protection execution thread according to the virtual machine priority corresponding to the input data, the current capacity value of the cache storage pool and the disaster recovery virtual machine level adjustment strategy; The transmission module is used to transmit the input data according to the adjusted level of the continuous data protection execution thread.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.