Data center interconnection link switching method and device, communication equipment and storage medium

By using virtual users to simulate the business traffic of real users in the data center interconnect link switching method, network transmission quality information after link switching is obtained, which solves the problem of low accuracy of test results in the existing technology, realizes the accuracy and reliability of link switching, reduces unknown risks, and ensures the controllability of network service adjustments.

CN121056385APending Publication Date: 2025-12-02CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511165738.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-20
Publication Date
2025-12-02

AI Technical Summary

Technical Problem

Existing technologies, when changing the configuration of data center interconnect links, conduct tests in closed testing environments or non-realistic simulation environments, resulting in low accuracy of test results and making it difficult to effectively avoid communication risks to interconnect links caused by network configuration changes.

Method used

By using pre-created virtual users to simulate the business traffic of real users in the data center interconnection link switching method, network transmission quality information after link switching is obtained, and the link of the real user is switched to the second link when preset conditions are met, so as to ensure the accuracy and reliability of the test results.

Benefits of technology

Without affecting real users, accurately and effectively test the actual application effect of the second link, reduce the unknown risks brought about by link switching, ensure that network service adjustments are controllable throughout the process, and promptly detect and correct network configuration problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121056385A_ABST
    Figure CN121056385A_ABST
Patent Text Reader

Abstract

The invention relates to a data center interconnection link switching method and device, communication equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: in response to a switching request for switching a first link to a second link in a data center Internet gateway, acquiring a real user connected with the first link, and acquiring a virtual user corresponding to the real user pre-created in the data center Internet gateway; transmitting the virtual service flow through a second link by using the virtual user, and acquiring network transmission quality information after link switching according to the transmitted virtual service flow; and under the condition that the network transmission quality information meets a preset condition, switching the first link connected with the real user to a second link. By adopting the method, a link switching fault caused by an unknown problem in a link switching process under the condition that a real user does not perform a real environment test can be avoided, and an unknown risk caused by link switching is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, communication equipment, computer-readable storage medium, and computer program product for switching data center interconnect links. Background Technology

[0002] With the development of communication technology, the operation of a single data center often cannot meet the diverse business needs of users, and the use of multiple data centers in conjunction with interconnection has gradually become more common. In practical applications, when the underlying network is changed or adjusted, the configuration of the interconnection links between multiple data centers is often changed accordingly. If the modified interconnection links are directly applied to all users, it may introduce unpredictable risks.

[0003] In related technologies, the main approach is to test interconnect links with configuration changes in a closed test environment or a non-realistic simulation environment. However, the accuracy of the test results obtained in this way is low, and it is difficult to effectively avoid the communication risks caused by network configuration changes to interconnect links. Summary of the Invention

[0004] Therefore, it is necessary to provide a data center interconnection link switching method, apparatus, communication equipment, computer-readable storage medium, and computer program product that can reduce the communication risks of switching interconnection links, in order to address the above-mentioned technical problems.

[0005] Firstly, this application provides a method for switching data center interconnect links, including:

[0006] In response to a switching request to switch the first link to the second link in the data center internet gateway, the system obtains the real user connected to the first link and the virtual user corresponding to the real user pre-created in the data center internet gateway.

[0007] The virtual user is used to transmit virtual service traffic through the second link, and network transmission quality information after link switching is obtained based on the transmitted virtual service traffic.

[0008] If the network transmission quality information meets the preset conditions, the first link connecting the real user will be switched to the second link.

[0009] In one embodiment, obtaining network transmission quality information after link switching based on transmitted virtual service traffic includes:

[0010] Based on the monitoring data of transmitted virtual service traffic, determine the bandwidth utilization information, round-trip time information, jitter information, and packet loss information after link switching;

[0011] Network transmission quality information is obtained based on the bandwidth utilization information, the round-trip time information, the jitter information, and the packet loss information.

[0012] In one embodiment, the step of acquiring the virtual service traffic includes:

[0013] Obtain the historical business traffic of the real user;

[0014] The virtual service traffic is constructed based on the historical service traffic.

[0015] In one embodiment, the step of switching the first link connecting the real user to the second link when the network transmission quality information meets preset conditions includes:

[0016] Determine the network quality requirements of the real users;

[0017] If the network transmission quality information meets the preset network transmission quality requirements and the user's network quality requirements, the first link connecting the real user will be switched to the second link.

[0018] In one embodiment, the network transmission quality information includes available bandwidth, round-trip time, jitter, and packet loss rate; the preset network transmission quality requirements include latency thresholds, jitter thresholds, and packet loss rate thresholds; and the user network quality requirements for real users include target bandwidth.

[0019] When the network transmission quality information meets the preset network transmission quality requirements and the user's network quality requirements, switching the first link connecting the real user to the second link includes:

[0020] If the round-trip latency is less than or equal to the latency threshold, the jitter is less than or equal to the jitter threshold, the packet loss rate is less than or equal to the packet loss rate threshold, and the available bandwidth is greater than or equal to the target bandwidth, the first link connecting the real user will be switched to the second link.

[0021] In one embodiment, the real users connected to the first link include users who have changed links; the method further includes:

[0022] The target link change user is determined from the link change users, and a virtual user corresponding to the target link change user is obtained in the data center Internet gateway; the virtual service traffic is transmitted through the second link using the virtual user corresponding to the target link change user, and the network transmission quality information after the link switch is obtained based on the transmitted virtual service traffic;

[0023] If the network transmission quality information corresponding to each of the target link change users meets the preset conditions, the first link connecting each of the link change users will be switched to the second link.

[0024] In one embodiment, the step of switching the first link connecting each of the target link-changed users to the second link when the network transmission quality information corresponding to each of the target link-changed users meets preset conditions includes:

[0025] Obtain the user network quality requirements for each of the target link change users;

[0026] If the network transmission quality information corresponding to each of the target link change users meets their respective preset network transmission quality requirements and their respective user network quality requirements, the first link connecting each of the link change users will be switched to the second link.

[0027] Secondly, this application also provides a switching device for data center interconnect links, comprising:

[0028] The virtual user acquisition module is used to respond to a switching request in the data center internet gateway to switch from the first link to the second link, acquire the real user connected to the first link, and acquire the virtual user corresponding to the real user pre-created in the data center internet gateway.

[0029] The transmission quality acquisition module is used to transmit virtual service traffic through the second link using the virtual user, and to acquire network transmission quality information after link switching based on the transmitted virtual service traffic.

[0030] The link switching module is used to switch the first link connecting the real user to the second link when the network transmission quality information meets preset conditions.

[0031] Thirdly, this application also provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in the first aspect.

[0032] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0033] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.

[0034] The aforementioned data center interconnection link switching method, apparatus, communication equipment, computer-readable storage medium, and computer program product, in response to a switching request to switch a first link to a second link in a data center internet gateway, acquires the real user connected to the first link and acquires the virtual user corresponding to the real user pre-created in the data center internet gateway; uses the virtual user to transmit virtual service traffic through the second link, and acquires network transmission quality information after the link switch based on the transmitted virtual service traffic; and switches the first link connecting the real user to the second link when the network transmission quality information meets preset conditions. Therefore, on the one hand, by first switching the virtual user corresponding to the real user to the second link and transmitting virtual service traffic through the second link, the actual application effect of the second link can be accurately and effectively tested without affecting the real user, ensuring the accuracy and reliability of the test results. On the other hand, by switching the first link connecting the real user to the second link only after the network transmission quality information after the link switch meets the preset conditions, the link switching failure caused by unknown problems during the link switching process without real-world testing is avoided, effectively reducing the unknown risks brought about by link switching, ensuring that network service adjustments are controllable throughout the process, and enabling network operation and maintenance personnel to promptly discover and correct network configuration problems of the second link during the testing process based on virtual users. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a schematic diagram of data center interconnection in one embodiment;

[0037] Figure 2 This is a flowchart illustrating a data center interconnect link switching method in one embodiment;

[0038] Figure 3 This is a flowchart illustrating the steps for obtaining network transmission quality information after link switching in one embodiment.

[0039] Figure 4 This is a schematic diagram of a data center interconnect in another embodiment;

[0040] Figure 5 This is a structural block diagram of a data center interconnect link switching device in one embodiment;

[0041] Figure 6 This is an internal structural diagram of a communication device in one embodiment. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0043] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0044] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0045] To enable those skilled in the art to better understand this application, the relevant technologies are first introduced below.

[0046] With the development of communication technology, the operation of a single data center often fails to meet the diverse business needs of users, such as disaster recovery in different locations and cross-regional operation. The collaborative operation and interconnection of multiple data centers has become an urgent need and is gradually gaining widespread application. Related data center interconnection methods can utilize technologies such as SRv6 TE (Segment Routing IPv6 Traffic Engineering) and VxLAN (Virtual Extended LAN) to carry overlay tunnels, providing users with interconnection links across data centers. SRv6 TE is a traffic engineering technology based on SRv6 technology. It specifies paths through a SID (Segment Routing Identifier) ​​list, enabling flexible scheduling and optimization of network traffic, improving network transmission efficiency and reliability. VxLAN is a network virtualization technology that encapsulates traffic and extends it to a Layer 3 gateway, achieving cross-regional Layer 2 interconnection, supporting large-scale user deployment, and improving network flexibility and scalability. Overlay tunnels are a network virtualization technology that builds a logical network on the underlying network by encapsulating protocols, enabling cross-network Layer 2 communication, and improving network flexibility and scalability. A DCI (Data Center Interconnect) gateway is a data center internet gateway used to connect devices or network architectures in different data centers. By providing high-bandwidth, low-latency network connectivity, it ensures fast and reliable data transmission between data centers in different geographical locations, ensuring the scalability, redundancy, and disaster recovery capabilities of data centers, and meeting enterprises' needs for cross-regional data synchronization and high availability.

[0047] Data center interconnect links, constructed using interconnected link building techniques, are carried by underlying network paths. When network changes or adjustments occur (such as expansion or routing adjustments to the underlying network), the relevant network configurations of the data center interconnect links also need to be modified accordingly. For example, ... Figure 1 As shown, changing the underlying network physical path from ABD to ACD will also lead to changes in the configuration of the data center interconnect links carried at the upper layer. If a complete switch of the underlying path is implemented directly and adjustments are made for all users of the data center interconnect links, unpredictable global deployment risks will be introduced, affecting users' cross-data center interconnect services.

[0048] In response, the relevant technologies mainly test the interconnect links with configuration changes through closed testing environments or non-realistic simulation environments. However, in practice, it has been found that the accuracy of the test results obtained by this method is low, and it is difficult to effectively avoid the communication risks caused by changes in the underlying network to the interconnect links.

[0049] Based on this, this application provides a method, apparatus, communication equipment, computer-readable storage medium, and computer program product for switching data center interconnect links, which can effectively reduce the risks brought by network services to data center interconnect links and ensure that the adjustment of data center interconnect services is controllable throughout the process.

[0050] In one embodiment, such as Figure 2 As shown, a method for switching data center interconnect links is provided. This embodiment illustrates the method by applying it to a server. It is understood that this method can also be applied to a terminal, or to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In some examples, the server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In this embodiment, the method includes the following steps:

[0051] Step S202: In response to the switching request to switch the first link to the second link in the data center internet gateway, obtain the real user connected to the first link and obtain the virtual user corresponding to the real user pre-created in the data center internet gateway.

[0052] The first link can refer to the current interconnection link used by the data center, connecting it to other data centers. The second link can refer to the interconnection link planned for switching. The second link can be an interconnection link after network configuration changes; for example, after capacity expansion, routing adjustments, or topology adjustments to the underlying network, a corresponding new network configuration interconnection link can be determined. A real user refers to a user actually using the data center interconnection service, distinguishing them from pre-created virtual users. A virtual user refers to a virtual entity created in the data center internet gateway based on real user information, used to simulate real users for link switching tests. It is important to emphasize that when creating virtual users based on real user information for relevant real users, a prompt for creating test virtual users can be sent to the user, clearly informing them that their real user information will be obtained and used for virtual user creation and link switching tests. If the user agrees, the virtual user can be obtained and used to create the virtual user and continue subsequent testing; if the user refuses, the virtual user will not be obtained and used to create the virtual user, and subsequent testing will not be performed.

[0053] In this embodiment, the actual user connected by the first link refers to a user of a data center interconnected through the first link. The user of the interconnected data center can be understood as a user utilizing the interconnected data centers for data center interconnection services. For example, a user can store servers or deploy IT system services in multiple data centers, and then, through the interconnection links between data centers, fulfill the user's needs for data interaction between servers or system services deployed in different data centers (such as synchronizing data between servers in different data centers).

[0054] In practical implementation, multiple data centers can be interconnected through a network, simultaneously supporting the interconnection of data center services for multiple users. Therefore, in this step, multiple users using data centers for service interconnection can be identified as the real users of the first link connection. It can be understood that in this embodiment, when obtaining the real users of the first link connection and the virtual users corresponding to the real users pre-created in the data center internet gateway, the selection can be made for one user among the multiple users using data centers for service interconnection, for some users (not all), or for all users. In practical applications, the choice can be made based on actual needs such as server processing capacity and the timeliness of switching requests.

[0055] Step S204: Use virtual users to transmit virtual service traffic through the second link, and obtain network transmission quality information after link switching based on the transmitted virtual service traffic.

[0056] Virtual service traffic refers to traffic that simulates real user services and can be used to test network conditions after link switching. Network transmission quality information refers to information that reflects network performance or network transmission quality after link switching.

[0057] For example, after acquiring a virtual user, the virtual user can be switched to a second link. The virtual user connects to the interconnected data center through the second link to perform data center service interconnection. Then, the virtual user is controlled to transmit virtual service traffic through the interconnected data center via the second link. During the transmission process, the transmitted virtual service traffic is monitored using a preset monitoring tool to obtain network transmission quality information after the link switch.

[0058] Step S206: If the network transmission quality information meets the preset conditions, switch the first link connecting the real user to the second link.

[0059] The preset conditions refer to pre-defined criteria used to determine whether a real user's link can be switched, and are related to network transmission quality. If the network transmission quality information meets the preset conditions, it can be considered that, for virtual users, the effect of switching from the first link to the second link is as expected.

[0060] For example, after obtaining the network transmission quality information after the link switch, it is compared with preset conditions. If the preset conditions are met, the operation of switching the first link connecting the real user to the second link is performed.

[0061] This embodiment innovatively proposes connecting a new interconnection link (second link) to a pre-created virtual user corresponding to a real user. This allows the second link, with its new network configuration or technology, to undergo real-world verification in a real network environment. By controlling the virtual user to transmit virtual service traffic through the second link, and simulating real user testing under real-world network conditions, the stability and network performance of the second link can be effectively evaluated. By acquiring network quality information during the transmission of virtual service traffic by the virtual user through the second link, and when the network quality information meets preset conditions—that is, when the network effect after link switching meets expectations—the first link connecting the real user is then switched to the second link. This allows for the first trial of the new interconnection link in a real network environment to evaluate its performance and stability before switching the real user to the new interconnection link. This avoids link switching failures caused by unknown issues during the link switching process, effectively reducing the unknown risks brought by link switching, ensuring full controllability of network service adjustments, and enabling network operations personnel to promptly identify and correct network configuration problems in the second link during virtual user-based testing.

[0062] In the aforementioned data center interconnect link switching method, in response to a switching request to switch the first link to the second link in the data center internet gateway, the real user connected to the first link can be obtained, along with the virtual user corresponding to the real user pre-created in the data center internet gateway. The virtual user is then used to transmit virtual service traffic through the second link, and network transmission quality information after the link switch is obtained based on the transmitted virtual service traffic. If the network transmission quality information meets preset conditions, the first link connecting the real user is switched to the second link. Therefore, on the one hand, by first switching the virtual user corresponding to the real user to the second link and transmitting virtual service traffic through the second link, the actual application effect of the second link can be accurately and effectively tested without affecting the real user, ensuring the accuracy and reliability of the test results. On the other hand, by switching the first link connecting the real user to the second link only after the network transmission quality information meets preset conditions, link switching failures caused by unknown problems during link switching without real-world testing are avoided, effectively reducing the unknown risks brought by link switching, ensuring full controllability of network service adjustments, and enabling network operation and maintenance personnel to promptly discover and correct network configuration problems of the second link during virtual user-based testing.

[0063] In one exemplary embodiment, such as Figure 3 As shown, obtaining network transmission quality information after link switching based on the transmitted virtual service traffic may include the following steps:

[0064] Step S302: Based on the monitoring data of the transmitted virtual service traffic, determine the bandwidth utilization information, round-trip delay information, jitter information, and packet loss information after the link switch.

[0065] This includes network monitoring of data center interconnection services to obtain network monitoring data for transmitted virtual service traffic. This network monitoring data can be structured or unstructured data generated by monitoring and analyzing network operation status, traffic characteristics, and equipment performance using network technologies. For example, the monitoring data may include bandwidth utilization information, round-trip latency information, jitter information, and packet loss information after link switching. In some implementations, the network monitoring service can continuously monitor and record the underlying network path status and / or the secondary link status before and after link switching for virtual users, and during virtual traffic transmission, to obtain monitoring data.

[0066] Then, by analyzing the monitoring data of the transmitted virtual service traffic, we can obtain information on the bandwidth utilization, round-trip delay, jitter, and packet loss of the second link in the network.

[0067] Among them, broadband utilization information can reflect the use of link bandwidth when transmitting virtual service traffic through interconnection links. For example, bandwidth utilization information can be a specific bandwidth utilization rate.

[0068] Round-trip time information can reflect the total time required for virtual service traffic to travel from the sending end to the receiving end via the interconnection link and back to the sending end. For example, round-trip time information can be a specific round-trip time (RTT).

[0069] Jitter information can reflect the changes in latency during the transmission of virtual service traffic. For example, jitter information can be a statistical value of the latency difference between specific consecutive data packets.

[0070] Packet loss information can reflect situations where data packets (such as data packets) do not arrive at the receiving end as expected when transmitting virtual service traffic over interconnected links. In one example, packet loss information can be a specific number of lost packets or a statistical value of the number of lost packets, such as the packet loss rate.

[0071] Step S304: Obtain network transmission quality information based on bandwidth utilization information, round-trip time information, jitter information, and packet loss information.

[0072] Among them, network transmission quality information can be information related to network transmission quality.

[0073] In this step, the obtained bandwidth utilization information, round-trip time information, jitter information, and packet loss information can be comprehensively analyzed and identified to determine the link status of the second link and obtain network transmission quality information. In some embodiments, the bandwidth utilization information, round-trip time information, jitter information, and packet loss information can be aggregated into network transmission quality information. Alternatively, the bandwidth utilization information, round-trip time information, jitter information, and packet loss information can be analyzed and processed, and the analysis and processing results can be used as network transmission quality information. Of course, the bandwidth utilization information, round-trip time information, jitter information, and packet loss information can also be combined with other information for analysis to obtain network transmission quality information.

[0074] In this embodiment, bandwidth utilization, round-trip time, jitter, and packet loss information after link switching are determined based on monitoring data of transmitted virtual service traffic. Network transmission quality information is then obtained based on these parameters. This approach comprehensively characterizes the performance of virtual users after switching to the second link using multi-dimensional indicators. Furthermore, by determining network transmission quality information through multiple quantifiable metrics, it provides a more accurate assessment of the network condition after link switching, offering a more reliable basis for determining whether to perform real user link switching in the future.

[0075] In one exemplary embodiment, the step of obtaining virtual service traffic may include: obtaining the historical service traffic of real users; and constructing virtual service traffic based on the historical service traffic.

[0076] Historical traffic refers to records of traffic generated by actual users during their past use of data center interconnect services. It is important to emphasize that historical traffic from actual users is also considered user information and requires user authorization or full authorization from all parties involved.

[0077] For example, one can first retrieve historical traffic data of real users from a self-stored database of user traffic records. Then, based on the characteristics of this historical traffic data, such as traffic size, traffic type, and traffic distribution, a virtual traffic flow can be constructed using specific algorithms or tools. For instance, one can analyze the traffic proportion of various applications in historical traffic and construct virtual traffic flows containing traffic characteristics of multiple applications in the same proportion. In another example, the traffic simulation function can be implemented by tcpreplay (a network traffic replay tool), iperf (a bandwidth testing tool), MGEN (a multi-traffic generator), or other integrable third-party traffic simulation software. For example, one can first capture real user traffic, then anonymize it, and then use tcpreplay to replay the packets to achieve the traffic simulation function.

[0078] In this embodiment, virtual service traffic is constructed based on the historical service traffic of real users, making the virtual service traffic closer to the actual service needs of real users. This makes the link switching test results more realistic and reliable, and can better assess the impact of link switching on real services.

[0079] In an exemplary embodiment, switching the first link connecting the real user to the second link when the network transmission quality information meets preset conditions may include the steps of: determining the real user's network quality requirements; and switching the first link connecting the real user to the second link when the network transmission quality information meets preset network transmission quality requirements and meets the user's network quality requirements.

[0080] The preset network transmission quality requirements can refer to the minimum standard that the network transmission quality should meet after this link switch; the user network quality requirements can refer to the standard that a real user expects the network quality to meet based on their own business needs. In one example, the user's network quality requirements can be determined based on the user's network SLA (Service Level Agreement) requirements, which are the network service quality requirements specified in the relevant agreement signed between the network service provider and the user.

[0081] For example, the network quality requirements for each real user can be obtained from user profiles or relevant databases. After obtaining the network transmission quality information after link switching, it is compared with the preset network transmission quality requirements and the real user's network quality requirements. Only when the network transmission quality information simultaneously meets the preset network transmission quality requirements is the operation of switching the first link connecting the real user to the second link performed.

[0082] In this embodiment, in addition to considering the preset network transmission quality requirements, the network quality requirements of each real user are also taken into account to determine whether to switch links, making the link switching decision more in line with the actual needs of users and further ensuring the service quality of real users.

[0083] In an exemplary embodiment, network transmission quality information includes available bandwidth, round-trip time, jitter, and packet loss rate; preset network transmission quality requirements include latency thresholds, jitter thresholds, and packet loss rate thresholds; and the real user's network quality requirements include target bandwidth. When the network transmission quality information meets both the preset network transmission quality requirements and the user's network quality requirements, the first link connecting the real user is switched to the second link, which may specifically include the following steps:

[0084] If the round-trip latency is less than or equal to the latency threshold, the jitter is less than or equal to the jitter threshold, the packet loss rate is less than or equal to the packet loss rate threshold, and the available bandwidth is greater than or equal to the target bandwidth, the first link connecting the real user will be switched to the second link.

[0085] Here, available bandwidth refers to the actual bandwidth available for transmitting service traffic after a link switch. Latency threshold refers to the pre-set maximum acceptable round-trip latency. Jitter threshold refers to the pre-set maximum acceptable jitter. Packet loss rate threshold refers to the pre-set maximum acceptable packet loss rate. Target bandwidth can be the minimum available bandwidth that a real user expects to achieve for the data center interconnect link, or it can be 90% of the nominal bandwidth, where nominal bandwidth refers to the bandwidth agreed upon in the customer agreement.

[0086] For example, after obtaining the available bandwidth, round-trip time, jitter, and packet loss rate from the network transmission information, the round-trip time is compared with a preset latency threshold, the jitter is compared with a jitter threshold, the packet loss rate is compared with a packet loss rate threshold, and the available bandwidth is compared with the target bandwidth of the real user. Only when the round-trip time is less than or equal to the latency threshold, the jitter is less than or equal to the jitter threshold, the packet loss rate is less than or equal to the packet loss rate threshold, and the available bandwidth is greater than or equal to the target bandwidth, is the first link connecting to the real user switched to the second link.

[0087] In this embodiment, by using preset quantitative indicators of network transmission quality requirements and specific quantitative indicators of real users' network quality requirements, as well as comparison methods, the link switching decision is made more accurate and operable, ensuring that the switched link can meet the user's basic requirements for network quality and guaranteeing the normal operation of services.

[0088] In one exemplary embodiment, the real users connected to the first link include users who have changed links; the method for switching data center interconnect links may further include the following steps:

[0089] Identify the target link change user from among the link change users, and obtain the virtual user corresponding to the target link change user that was pre-created in the data center internet gateway; use the virtual user corresponding to the target link change user to transmit virtual service traffic through the second link, and obtain the network transmission quality information after the link switch based on the transmitted virtual service traffic; if the network transmission quality information corresponding to each target link change user meets the preset conditions, switch the first link connecting each link change user to the second link.

[0090] In this context, "link change users" refers to users among the real users connected to the first link whose links need to be changed. For example, the real users connected to the first link include a, b, c, d, and e. The link change users can be all real users a, b, c, d, and e, or some of them, such as a, b, c, d, or a, b, d, e, etc. The specific selection of link change users can be determined according to the actual situation. In this embodiment, it is intended to show that the link change users may be all real users connected to the first link, or they may be some of the real users.

[0091] Among them, the target link change users can refer to a group of users selected from the link change users for the purpose of conducting link switching tests in advance, or a group of users for the purpose of conducting link switching tests on a small scale.

[0092] For example, firstly, users whose links have changed are identified from the real users connected to the first link. Then, target users whose links have changed are identified from these users according to a certain strategy (e.g., random sampling, selection based on service type, etc.), and virtual users corresponding to these target users whose links have changed are obtained from the DCI gateway. Next, the virtual users corresponding to the target users whose links have changed are controlled to transmit virtual service traffic through the second link, while simultaneously acquiring network transmission quality information during the transmission process. After acquiring the network transmission quality information corresponding to each target user whose links have changed, it is compared with preset conditions. Only when the network transmission quality information corresponding to each target user whose links have changed meet the preset conditions is the operation of switching the first link connecting each user whose links have changed to the second link executed.

[0093] In this embodiment, by selecting virtual users corresponding to a portion of the users whose links have changed for testing first, the risk of link switching affecting all real users simultaneously is further reduced. This allows for more granular control over the risk of business changes and improves the efficiency and relevance of link switching testing.

[0094] In an exemplary embodiment, if the network transmission quality information corresponding to each target link change user meets preset conditions, the first link connecting each link change user is switched to the second link, which may specifically include the following steps:

[0095] Obtain the network quality requirements of each target link change user; if the network transmission quality information corresponding to each target link change user meets their respective preset network transmission quality requirements and their respective user network quality requirements, switch the first link connecting each link change user to the second link.

[0096] For example, the network quality requirements of each target link change user can be obtained from user configuration files or relevant databases. After obtaining the network transmission quality information corresponding to each target link change user, the network transmission quality information of each target link change user is compared with its own preset network transmission quality requirements and its own user network quality requirements. Only when the network transmission quality information corresponding to each target link change user meets its own preset network transmission quality requirements and its own user network quality requirements, is the first link connecting each link change user switched to the second link.

[0097] In one example, network transmission quality information includes available bandwidth, round-trip time, jitter, and packet loss rate; preset network transmission quality requirements include latency thresholds, jitter thresholds, and packet loss rate thresholds; and the network quality requirements for real users include target bandwidth. It is understood that the specific preset network transmission quality requirements for users with different target link changes may be the same or different. For example, user A may have a latency threshold of 'a', while user B may have a latency threshold of 'b'; 'a' and 'b' may be equal or unequal. Similarly, the target bandwidth for users with different target link changes may be the same or different.

[0098] In this embodiment, before the underlying network adjustment causes changes to the underlying bearer of the data center interconnection link and pushes them to all users, a small-scale link switching test is conducted on the target link change users to evaluate performance and stability. After the verification is passed, the underlying bearer is changed on a large scale, and the link switching operation is performed on all link change users. This avoids the introduction of global impact during the change process, effectively controls the explosion radius of business change risks, and ensures that the network business adjustment is controllable throughout the entire process.

[0099] A data center interconnect (DCI) link connects two data centers and typically supports interconnection of data center services for multiple users. Before changes to the underlying bearer of the DCI link are pushed to all users due to adjustments in the underlying network, virtual users are generated at the DCI gateway for small-scale testing to evaluate performance and stability. Only after successful verification are the underlying bearers changed on a large scale. This avoids introducing global impact during the change process, effectively controlling the blast radius of service change risks and ensuring full controllability of network service adjustments. Therefore, to achieve the above objectives, in an exemplary embodiment, this application also proposes a DCI gateway pre-switching method for switching data center interconnect links. A link pre-switching module is added to the DCI gateway. Virtual users created using this module perform link switching operations on behalf of real users. Simulated traffic is then sent to the peer DCI gateway, and network quality information of the underlying bearer is collected for evaluation and verification, serving as an important basis for real user DCI link switching.

[0100] In the DCI gateway, a new link pre-switching module (hereinafter referred to as the "pre-switching module") is added. This module provides functions such as virtual user creation, traffic simulation, and network quality information collection. The specific steps of this technical solution are as follows:

[0101] Step S11: Based on the real user information in the DCI gateway, the pre-switching model creates virtual users that correspond one-to-one (similar to VRF creation). The DCI gateway needs to reserve IP resources for these virtual users, and the DCI gateways at both ends jointly maintain the virtual user table.

[0102] Step S12: When the link change configuration is sent to the DCI gateway, the pre-switching model establishes an overlay tunnel on the changed underlying link for the virtual user based on the configuration details.

[0103] In step S13, the virtual user uses the traffic simulation function of the pre-switching module to send constructed DCI service traffic. The traffic simulation function can be implemented by tcpreplay, iperf, MGEN, or other integrable third-party traffic simulation software. For example, real network service traffic can be captured in advance, then anonymized, and then tcpreplay can be used for packet replay to achieve traffic simulation.

[0104] Step S14: The pre-switching module collects network quality information for the DCI link, including bandwidth utilization, latency, jitter, packet loss rate, etc. The network quality information collection function can be implemented by the DCI gateway's built-in probing tools such as traceroute, ping, and mtr.

[0105] Step S15: Evaluate and analyze the collected network quality information, and set an appropriate handover threshold to guide the underlying link handover for real users. For example, collect information on latency, available bandwidth, and packet loss rate during the pre-handover process, and then analyze and determine whether to execute the handover action when the latency is less than 30ms, the packet loss rate is less than 10⁻⁶, and the available bandwidth reaches more than 90% of the nominal bandwidth (the bandwidth size opened by the customer).

[0106] In this embodiment, a portion of real users involved in link switching can be randomly selected to select their corresponding virtual users for testing. When all selected virtual users pass the verification, link switching is then performed on all real users involved in link switching.

[0107] For example, such as Figure 4 As shown, this embodiment can be specifically described as follows: Assume that the DCI gateways of interconnected data centers 1 and 2 have a real user A, and a DCI service link has been established. The original underlying link L1 and Overlay tunnel O1 are as follows: Figure 4 As shown, the pre-switching module of the DCI gateway creates a virtual user A* corresponding to the real user A and allocates IP resources. The DCI gateway performs underlying link change configuration for virtual user A*, changing the underlying bearer link to the new underlying link L2, while the overlay tunnel O1 remains unchanged. Virtual user A* uses the simulated traffic function to send virtual service traffic through tunnel O1 to the DCI gateway at the other end, with the actual traffic flowing through bearer L2. Both DCI gateways can collect and statistically analyze network transmission quality information for user A*'s service traffic. The collected network quality information is analyzed, or the link switching operation for the real user is automatically executed based on system-set thresholds.

[0108] In the aforementioned data center interconnection link switching method based on DCI gateway pre-switching, a link pre-switching module is added during the DCI link switching process. This module can also be an independent device or equipment. The link pre-switching module has the ability to create virtual users corresponding to real users. It also has the ability to simulate and send traffic. Furthermore, it has the ability to collect network transmission quality-related information, including bandwidth utilization, latency, jitter, and packet loss rate.

[0109] This embodiment introduces a link pre-switching module into the DCI gateway, using virtual users to evaluate and test the underlying links of DCI services. This avoids link switching failures caused by real users during the change process, effectively controlling the blast radius of service change risks and ensuring that network service adjustments are controllable throughout the entire process. The method created by this invention breaks through the limitations of traditional network cutover and network service change methods, no longer confined to closed testing environments or non-realistic simulation environments. While controlling the scope of impact, it allows for the real-world verification of new technologies and configurations on the live network.

[0110] In addition, the link pre-switching module introduced in the above-mentioned data center interconnection link switching method based on DCI gateway pre-switching makes extensive use of the native capabilities of DCI gateway, and the software required for some functions is highly mature and can be directly installed on the DCI gateway operating system. Therefore, this method is highly practical, simple to implement, and can be deployed on a large scale.

[0111] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0112] Based on the same inventive concept, this application also provides a data center interconnect link switching device for implementing the data center interconnect link switching method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of the one or more data center interconnect link switching device embodiments provided below can be found in the limitations of the data center interconnect link switching method described above, and will not be repeated here.

[0113] In one exemplary embodiment, such as Figure 5 As shown, a data center interconnection link switching device 900 is provided, including: a virtual user acquisition module 901, a transmission quality acquisition module 902, and a link switching module 903, wherein:

[0114] The virtual user acquisition module 901 is used to respond to a switching request in the data center internet gateway to switch from the first link to the second link, acquire the real user connected to the first link, and acquire the virtual user corresponding to the real user pre-created in the data center internet gateway.

[0115] The transmission quality acquisition module 902 is used to transmit virtual service traffic through the second link using virtual users, and to acquire network transmission quality information after link switching based on the transmitted virtual service traffic.

[0116] The link switching module 903 is used to switch the first link connecting the real user to the second link when the network transmission quality information meets the preset conditions.

[0117] In an exemplary embodiment, the transmission quality acquisition module 902 is further configured to determine bandwidth utilization information, round-trip time information, jitter information, and packet loss information after link switching based on monitoring data of the transmitted virtual service traffic; and to obtain network transmission quality information based on the bandwidth utilization information, round-trip time information, jitter information, and packet loss information.

[0118] In an exemplary embodiment, the transmission quality acquisition module 902 is further configured to acquire the historical service traffic of real users and construct virtual service traffic based on the historical service traffic.

[0119] In an exemplary embodiment, the link switching module 903 is further configured to determine the network quality requirements of the real user; and when the network transmission quality information meets the preset network transmission quality requirements and the user network quality requirements, the first link connecting the real user is switched to the second link.

[0120] In an exemplary embodiment, network transmission quality information includes available bandwidth, round-trip time, jitter, and packet loss rate; preset network transmission quality requirements include latency threshold, jitter threshold, and packet loss rate threshold; the user network quality requirements of the real user include target bandwidth; the link switching module 903 is further configured to switch the first link connecting the real user to the second link when the round-trip time is less than or equal to the latency threshold, the jitter is less than or equal to the jitter threshold, the packet loss rate is less than or equal to the packet loss rate threshold, and the available bandwidth is greater than or equal to the target bandwidth.

[0121] In an exemplary embodiment, the aforementioned data center interconnection link switching device further includes a target link change user processing module, used to determine the target link change user from the link change users, obtain the virtual user corresponding to the target link change user pre-created in the data center internet gateway; use the virtual user corresponding to the target link change user to transmit virtual service traffic through the second link, and obtain network transmission quality information after link switching based on the transmitted virtual service traffic; and when the network transmission quality information corresponding to each target link change user meets preset conditions, switch the first link connecting each link change user to the second link.

[0122] In an exemplary embodiment, the target link change user processing module is further configured to obtain the user network quality requirements of each target link change user; and when the network transmission quality information corresponding to each target link change user meets their respective preset network transmission quality requirements and their respective user network quality requirements, the first link connecting each link change user is switched to the second link.

[0123] Each module in the aforementioned data center interconnection link switching device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the communication device in hardware form or independent of it, or stored in the memory of the communication device in software form, so that the processor can call and execute the operations corresponding to each module.

[0124] In one exemplary embodiment, a communication device is provided, which may be a server, and its internal structure diagram may be as follows. Figure 6 As shown, the communication device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and databases. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a data center interconnect link switching method.

[0125] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0126] In one embodiment, a communication device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0127] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0128] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0129] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0130] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 application.

[0131] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for switching data center interconnect links, characterized in that, The method includes: In response to a switching request to switch the first link to the second link in the data center internet gateway, the system obtains the real user connected to the first link and the virtual user corresponding to the real user pre-created in the data center internet gateway. The virtual user is used to transmit virtual service traffic through the second link, and network transmission quality information after link switching is obtained based on the transmitted virtual service traffic. If the network transmission quality information meets the preset conditions, the first link connecting the real user will be switched to the second link.

2. The method according to claim 1, characterized in that, The step of obtaining network transmission quality information after link switching based on the transmitted virtual service traffic includes: Based on the monitoring data of transmitted virtual service traffic, determine the bandwidth utilization information, round-trip time information, jitter information, and packet loss information after link switching; Network transmission quality information is obtained based on the bandwidth utilization information, the round-trip time information, the jitter information, and the packet loss information.

3. The method according to claim 1, characterized in that, The steps for acquiring virtual service traffic include: Obtain the historical business traffic of the real user; The virtual service traffic is constructed based on the historical service traffic.

4. The method according to claim 1, characterized in that, When the network transmission quality information meets preset conditions, switching the first link connecting the real user to the second link includes: Determine the network quality requirements of the real users; If the network transmission quality information meets the preset network transmission quality requirements and the user's network quality requirements, the first link connecting the real user will be switched to the second link.

5. The method according to claim 4, characterized in that, The network transmission quality information includes available bandwidth, round-trip time, jitter, and packet loss rate; the preset network transmission quality requirements include latency threshold, jitter threshold, and packet loss rate threshold; the real user's network quality requirements include target bandwidth. When the network transmission quality information meets the preset network transmission quality requirements and the user's network quality requirements, switching the first link connecting the real user to the second link includes: If the round-trip latency is less than or equal to the latency threshold, the jitter is less than or equal to the jitter threshold, the packet loss rate is less than or equal to the packet loss rate threshold, and the available bandwidth is greater than or equal to the target bandwidth, the first link connecting the real user will be switched to the second link.

6. The method according to any one of claims 1 to 5, characterized in that, The real users connected by the first link include users who have changed links; The method further includes: The target link change user is determined from the link change users, and a virtual user corresponding to the target link change user is obtained in the data center Internet gateway; the virtual service traffic is transmitted through the second link using the virtual user corresponding to the target link change user, and the network transmission quality information after the link switch is obtained based on the transmitted virtual service traffic; If the network transmission quality information corresponding to each of the target link change users meets the preset conditions, the first link connecting each of the link change users will be switched to the second link.

7. The method according to claim 6, characterized in that, When the network transmission quality information corresponding to each of the target link change users meets the preset conditions, the first link connecting each of the link change users is switched to the second link, including: Obtain the user network quality requirements for each of the target link change users; If the network transmission quality information corresponding to each of the target link change users meets their respective preset network transmission quality requirements and their respective user network quality requirements, the first link connecting each of the link change users will be switched to the second link.

8. A switching device for a data center interconnection link, characterized in that, The device includes: The virtual user acquisition module is used to respond to a switching request in the data center internet gateway to switch from the first link to the second link, acquire the real user connected to the first link, and acquire the virtual user corresponding to the real user pre-created in the data center internet gateway. The transmission quality acquisition module is used to transmit virtual service traffic through the second link using the virtual user, and to acquire network transmission quality information after link switching based on the transmitted virtual service traffic. The link switching module is used to switch the first link connecting the real user to the second link when the network transmission quality information meets preset conditions.

9. A communication device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

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

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.