A path selection method and device

By obtaining and analyzing the network-side and user-side link status in the SRv6-TE Policy, the path that meets the preset conditions is determined, which solves the problem of user-side bandwidth overload or packet loss in the AnyCast scenario, and achieves optimal traffic scheduling. optimization.

CN115277536BActive Publication Date: 2024-09-06NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210650737.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-10
Publication Date
2024-09-06
Estimated Expiration
2042-06-10

AI Technical Summary

Technical Problem

In the AnyCast scenario of SRv6-TE Policy, the controller failed to effectively consider the user-side link status, causing user-side bandwidth problems to be limited to one side or even packet loss.

Method used

By obtaining the link status of the network-side and user-side links in the AnyCast type SRv6-TE Policy, the path that meets the preset conditions is determined to implement traffic scheduling and prevent all traffic from going to the same End Point PE.

Benefits of technology

It realizes the optimization of path calculation in the AnyCast scenario, avoids the situation of user-side bandwidth overload or packet loss, and ensures the reasonable utilization of network resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115277536B
    Figure CN115277536B
Patent Text Reader

Abstract

The present application relates to the field of network communication technology, and in particular to a path selection method and device. The method is applied to a controller, and the controller is used to schedule the target VPN service traffic that is directed to the AnyCast type SRv6‑TE Policy, and the destination end is the destination CE connected to at least two outgoing PEs. The method includes: obtaining the link status of each network-side link between the input PE and each outgoing PE in the AnyCast type SRv6‑TE Policy for transmitting the target VPN service traffic; obtaining the link status of each user-side link between each outgoing PE and the destination CE for transmitting the target VPN service traffic; based on the link status of each network-side link and the link status of each user-side link, determine the path for transmitting the target VPN service traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a path selection method and device. Background Art

[0002] In recent years, SDN technology has been widely used in various fields and various user networks. In different fields and user networks, the specific technologies that SDN controllers need to use and the problems they need to solve are different.

[0003] SRv6-TE Policy is an SR-TE Policy (Segment Routing Traffic Engineering Policy) based on IPv6 SR. It provides a flexible forwarding path selection method to meet different forwarding requirements of users. When there are multiple paths between the source node and the destination node of the Segment Routing network, the reasonable use of SRv6-TE Policy to select the forwarding path can not only facilitate the administrator to manage and plan the network, but also effectively reduce the forwarding pressure of network devices.

[0004] Currently, SRv6-TE Policy end-to-end UniCast (unicast) traffic scheduling has been widely deployed and applied. In the UniCast scenario, the Policy End Point has only one PE, so the controller only needs to consider the network-side bandwidth issue of the backbone network.

[0005] There are relatively few actual deployment scenarios for SRv6-TE Policy AnyCast. In AnyCast scenarios, since multiple End Point PEs are connected to the same destination CE, if the controller only focuses on network-side bandwidth resources, it is likely that all traffic will go to the same End Point PE, resulting in unilateral bandwidth compression or even packet loss on the CE user side. Therefore, how to implement traffic scheduling in SRv6-TE Policy AnyCast scenarios is a difficult problem. Summary of the invention

[0006] The present application provides a path selection method and device to solve the problem in the prior art that the user-side link status is not considered, resulting in unilateral compression or even packet loss of the user-side bandwidth.

[0007] In a first aspect, the present application provides a path selection method, which is applied to a controller, wherein the controller is used to schedule traffic for a target VPN service traffic directed to an SRv6-TE Policy of an AnyCast type, where the destination end is a destination CE connected to at least two outbound PEs, the method comprising:

[0008] Obtain the link status of each network-side link between the ingress PE and each egress PE in the AnyCast type SRv6-TE Policy for transmitting the target VPN service traffic;

[0009] Acquire the link status of each user-side link between each outgoing PE and the destination CE for transmitting the target VPN service traffic;

[0010] Based on the link status of each network-side link and the link status of each user-side link, a path for transmitting the target VPN service traffic is determined.

[0011] Optionally, the link status of a network side link includes a remaining allocatable bandwidth of the network side link, a network side COST, and a network side delay;

[0012] The link status of a user-side link includes the remaining allocatable bandwidth of the user-side link.

[0013] Optionally, based on the link status of each network-side link and the link status of each user-side link, the step of determining a path for transmitting the target VPN service traffic includes:

[0014] Determine a target network side link that meets the preset conditions from the network side links, and judge whether the user side link corresponding to the target network side link meets the preset conditions. If so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic; or,

[0015] A target user side link that meets the preset conditions is determined from the user side links, and it is determined whether there is a target network side link that meets the preset conditions in the network side link corresponding to the target user side link. If so, the target user side link and its corresponding target network side link are used as paths for transmitting the target VPN service traffic.

[0016] Optionally, a network-side primary bandwidth threshold and a network-side secondary bandwidth threshold are pre-set for the network-side link, and a user-side primary bandwidth threshold and a user-side secondary bandwidth threshold are pre-set for the user-side link, wherein the network-side primary bandwidth threshold is smaller than the network-side secondary bandwidth threshold, and the user-side primary bandwidth threshold is smaller than the user-side secondary bandwidth threshold;

[0017] The steps of determining a target network side link that meets a preset condition from the network side links, and judging whether a user side link corresponding to the target network side link meets the preset condition include:

[0018] Determine whether there is a network side link whose bandwidth threshold is lower than the first network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0019] If there is no network side link whose bandwidth threshold is lower than the first network side bandwidth threshold, determine whether there is a network side link whose bandwidth threshold is lower than the second network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0020] If there is no network side link whose bandwidth threshold is lower than the second bandwidth threshold on the network side, a network side link whose available bandwidth on the network side is greater than the target VPN service flow is selected, and it is determined whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first bandwidth threshold on the user side or lower than the second bandwidth threshold on the user side. If so, it is determined that the network side link and its corresponding user side link meet the preset conditions.

[0021] Optionally, the steps of determining a target user side link that meets a preset condition from the user side links, and judging whether there is a target network side link that meets the preset condition in the network side links corresponding to the target user side links include:

[0022] Determine whether there is a user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet a preset condition;

[0023] If there is no user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold, determine whether there is a user-side link whose bandwidth threshold is lower than the second user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network-side bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet the preset condition;

[0024] If there is no user-side link whose bandwidth threshold is lower than the second bandwidth threshold on the user side, a user-side link whose available bandwidth on the user side is greater than the target VPN service flow is selected, and it is determined whether there is a target network-side link whose bandwidth threshold is lower than the first bandwidth threshold on the network side or lower than the second bandwidth threshold on the network side in the network-side link corresponding to the user-side link; if so, it is determined that the user-side link and its corresponding target network-side link meet the preset conditions.

[0025] Optionally, the method further comprises:

[0026] Determine a target network side link set with the lowest COST among the network side links;

[0027] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0028] Otherwise, the COST is increased based on the preset step size, and a network side link set that meets the increased COST is determined, and a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined from the network side link set.

[0029] Optionally, the method further comprises:

[0030] Determine a target network side link set with the lowest latency among the network side links;

[0031] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0032] Otherwise, the delay is increased based on the preset step size, and a set of network side links that meet the increased delay is determined, and from the network side link set, a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined.

[0033] In a second aspect, the present application provides a path selection device, which is applied to a controller, wherein the controller is used to schedule traffic for a target VPN service traffic directed to an SRv6-TE Policy of an AnyCast type, where the destination end is a destination CE connected to at least two outgoing PEs, and the device includes:

[0034] A first acquisition unit is used to acquire the link status of each network side link between an ingress PE and each egress PE in the AnyCast type SRv6-TE Policy for transmitting the target VPN service traffic;

[0035] A second acquisition unit, used to acquire the link status of each user-side link between each outgoing PE and the destination CE for transmitting the target VPN service traffic;

[0036] A determination unit is used to determine a path for transmitting the target VPN service traffic based on the link status of each network side link and the link status of each user side link.

[0037] Optionally, the link status of a network side link includes a remaining allocatable bandwidth of the network side link, a network side COST, and a network side delay;

[0038] The link status of a user-side link includes the remaining allocatable bandwidth of the user-side link.

[0039] Optionally, when determining a path for transmitting the target VPN service traffic based on the link status of each network-side link and the link status of each user-side link, the determining unit is specifically configured to:

[0040] Determine a target network side link that meets the preset conditions from the network side links, and judge whether the user side link corresponding to the target network side link meets the preset conditions. If so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic; or,

[0041] A target user side link that meets the preset conditions is determined from the user side links, and it is determined whether there is a target network side link that meets the preset conditions in the network side link corresponding to the target user side link. If so, the target user side link and its corresponding target network side link are used as paths for transmitting the target VPN service traffic.

[0042] Optionally, a network-side primary bandwidth threshold and a network-side secondary bandwidth threshold are pre-set for the network-side link, and a user-side primary bandwidth threshold and a user-side secondary bandwidth threshold are pre-set for the user-side link, wherein the network-side primary bandwidth threshold is smaller than the network-side secondary bandwidth threshold, and the user-side primary bandwidth threshold is smaller than the user-side secondary bandwidth threshold;

[0043] When determining a target network side link that meets the preset condition from the network side links, and judging whether a user side link corresponding to the target network side link meets the preset condition, the determining unit is specifically used to:

[0044] Determine whether there is a network side link whose bandwidth threshold is lower than the first network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0045] If there is no network side link whose bandwidth threshold is lower than the first network side bandwidth threshold, determine whether there is a network side link whose bandwidth threshold is lower than the second network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0046] If there is no network side link whose bandwidth threshold is lower than the second bandwidth threshold on the network side, a network side link whose available bandwidth on the network side is greater than the target VPN service flow is selected, and it is determined whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first bandwidth threshold on the user side or lower than the second bandwidth threshold on the user side. If so, it is determined that the network side link and its corresponding user side link meet the preset conditions.

[0047] Optionally, when determining a target user side link that meets a preset condition from each user side link, and judging whether there is a target network side link that meets the preset condition in the network side link corresponding to the target user side link, the determining unit is specifically used to:

[0048] Determine whether there is a user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet a preset condition;

[0049] If there is no user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold, determine whether there is a user-side link whose bandwidth threshold is lower than the second user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network-side bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet the preset condition;

[0050] If there is no user-side link whose bandwidth threshold is lower than the second bandwidth threshold on the user side, a user-side link whose available bandwidth on the user side is greater than the target VPN service flow is selected, and it is determined whether there is a target network-side link whose bandwidth threshold is lower than the first bandwidth threshold on the network side or lower than the second bandwidth threshold on the network side in the network-side link corresponding to the user-side link; if so, it is determined that the user-side link and its corresponding target network-side link meet the preset conditions.

[0051] Optionally, the determining unit is further configured to:

[0052] Determine a target network side link set with the lowest COST among the network side links;

[0053] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0054] Otherwise, the COST is increased based on the preset step size, and a network side link set that meets the increased COST is determined, and a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined from the network side link set.

[0055] Optionally, the determining unit is further configured to:

[0056] Determine a target network side link set with the lowest latency among the network side links;

[0057] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0058] Otherwise, the delay is increased based on the preset step size, and a set of network side links that meet the increased delay is determined, and from the network side link set, a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined.

[0059] In a third aspect, an embodiment of the present application provides a path selection device, the path selection device comprising:

[0060] A memory for storing program instructions;

[0061] The processor is used to call the program instructions stored in the memory, and execute the steps of the method as described in any one of the first aspects above according to the obtained program instructions.

[0062] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the first aspects above.

[0063] In summary, the path selection method provided in the embodiment of the present application is applied to a controller, and the controller is used to perform traffic scheduling on the target VPN service traffic that is directed to the SRv6-TE Policy of AnyCast type, and the destination end is the destination CE connected to at least two outbound PEs. The method includes: obtaining the link status of each network side link between the input PE and each outbound PE in the AnyCast type SRv6-TE Policy for transmitting the target VPN service traffic; obtaining the link status of each user side link between each outbound PE and the destination CE for transmitting the target VPN service traffic; based on the link status of each network side link and the link status of each user side link, determining the path for transmitting the target VPN service traffic.

[0064] By adopting the path selection method provided in the embodiment of the present application, in the AnyCast scenario, since multiple End Point PEs are connected to the same destination CE, the controller can simultaneously consider the bandwidth load on the network side and the user side to achieve optimal path calculation. This avoids the situation where all traffic goes to the same End Point PE, resulting in unilateral bandwidth compression or even packet loss on the CE user side. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present application.

[0066] Figure 1 A detailed flow chart of a path selection method provided in an embodiment of the present application;

[0067] Figure 2 A schematic diagram of an AnyCast type SRv6-TE Policy network provided in an embodiment of the present application;

[0068] Figure 3 A schematic diagram of the structure of a path selection device provided in an embodiment of the present application;

[0069] Figure 4A schematic diagram of the structure of another path selection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. The singular forms of "a", "said" and "the" used in the present application and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.

[0071] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at..." or "when..." or "in response to determination".

[0072] For example, see Figure 1 As shown, a detailed flow chart of a path selection method provided in an embodiment of the present application is applied to a controller, wherein the controller is used to schedule traffic for a target VPN service traffic directed to an SRv6-TE Policy of the AnyCast type, where the destination end is a destination CE connected to at least two outbound PEs, and the method comprises the following steps:

[0073] Step 100: Obtain the link status of each network-side link between the ingress PE and each egress PE in the AnyCast type SRv6-TE Policy for transmitting the target VPN service traffic.

[0074] For example, see Figure 2 As shown, it is a schematic diagram of an AnyCast type SRv6-TE Policy network provided in an embodiment of the present application. Assuming that CE1 and CE4 both belong to VPN1 and there is a demand for traffic intercommunication between them, the controller can create an AnyCast type SRv6-TE Policy from PE1 to PE2 and PE3, and the corresponding End point IP: 2000: EA8: B00:: 1, Color: 1. The controller can simultaneously deploy segmented paths from PE1 to PE2 and PE1 to PE3 to achieve traffic load sharing and unified scheduling.

[0075] For example, the AnyCast VPN service deployment process is as follows:

[0076] 1. The controller determines the AnyCast node and assigns the same AnyCast Locator to it, such as Figure 1 In the example, PE2 and PE3 are AnyCast nodes of CE4 VPN1. The controller deploys Locator2-2:2000:EA8:B:: / 64 for PE2 and Locator2-2:2000:EA8:B:: / 64 for PE3.

[0077] 2. For each AnyCast member and the same VPN, the same private network SID (END.DT4, END.DT6, etc.) is assigned from AnyCast Locator. Figure 2 In the example, the controller allocates a private network SID for CE2 on PE2: END.DT4 SID:2000:EA8:B::B01, and allocates a private network SID for CE2 on PE3: END.DT4 SID:2000:EA8:B::B01. If there are multiple VPNs, multiple private network SIDs are allocated to identify different VPNs. For example, AnyCast node locator planning & private network SID allocation is shown in Table 1.

[0078] Table 1

[0079]

[0080] 3. The controller maintains the correspondence between the AnyCast node user-side interface and VPN, and configures the user-side interface allocatable bandwidth. For example, the correspondence between the AnyCast node VPN and the interface is shown in Table 2.

[0081] Table 2

[0082] Network element VPN interface Max Reserve BandWidth PE2 1 ifc2 1G PE3 1 ifc1 1G PE2 2 ifc1 1G PE3 2 ifc2 1G

[0083] The AnyCast SRv6 Policy deployment process is as follows:

[0084] by Figure 2 For example, the controller creates an AnyCast SRv6-TE Policy from PE1 to PE2&PE3, with the corresponding End point IP: 2000: EA8: B00:: 1 and Color: 1.

[0085] The method of introducing VPN traffic into SRv6 policy is as follows:

[0086] The traffic of VPN1 is marked as Color1 and introduced into AnyCast SRv6 Policy (Color1). The traffic diversion technologies here include but are not limited to: Color diversion, CBTS diversion, routing policy diversion, FlowSpec diversion and other technologies.

[0087] In an embodiment of the present application, when executing step 100, the controller obtains the link status of each network side link between the input PE (PE 1) and each output PE (PE 2 and PE 3) in the AnyCast type SRv6-TE Policy for transmitting the target VPN (VPN 1) service traffic.

[0088] That is, the VPN 1 service traffic from CE1 to CE 4 needs to pass through its corresponding AnyCast type SRv6-TEPolicy. Its corresponding ingress PE is PE 1, and its egress PEs are PE 2 and PE 3. Therefore, the network-side links corresponding to the VPN 1 service traffic from CE 1 to CE 4 include the link between PE 1 and PE 2, and the link between PE 1 and PE 3.

[0089] In the embodiment of the present application, the link status of a network side link includes parameters such as the remaining allocatable bandwidth of the network side link, the network side COST, and the network side delay.

[0090] Step 110: Acquire the link status of each user-side link between each egress PE and the destination CE for transmitting the target VPN service traffic.

[0091] In the embodiment of the present application, the user-side link refers to the link between the outgoing PE and the destination CE, that is, the link between PE 2 and CE 4, and the link between PE 3 and CE 4.

[0092] In actual applications, there may be multiple physical links between the outgoing PE and the destination CE, that is, the physical links corresponding to different VPN service flows may be different. For example, the link between PE 2 and CE 4 corresponding to VPN 1 service flow is physical link 1, and the link between PE 2 and CE 4 corresponding to VPN 2 service flow is physical link 2.

[0093] In the embodiment of the present application, the link status of a user-side link includes the remaining allocatable bandwidth of the user-side link.

[0094] Step 120: Based on the link status of each network-side link and the link status of each user-side link, determine a path for transmitting the target VPN service traffic.

[0095] In an embodiment of the present application, when determining a path for transmitting the target VPN service traffic based on the link status of each network side link and the link status of each user side link, a preferred implementation method is: determine a target network side link that meets preset conditions from the network side links, and judge whether the user side link corresponding to the target network side link meets the preset conditions. If so, use the target network side link and its corresponding user side link as the path for transmitting the target VPN service traffic.

[0096] In an embodiment of the present application, a network side primary bandwidth threshold and a network side secondary bandwidth threshold may be pre-set for the network side link, and a user side primary bandwidth threshold and a user side secondary bandwidth threshold may be pre-set for the user side link, wherein the network side primary bandwidth threshold is smaller than the network side secondary bandwidth threshold, and the user side primary bandwidth threshold is smaller than the user side secondary bandwidth threshold.

[0097] Then, when determining a target network side link that meets the preset conditions from the network side links, and judging whether the user side link corresponding to the target network side link meets the preset conditions, a preferred implementation method is:

[0098] Determine whether there is a network side link whose bandwidth threshold is lower than the first network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0099] If there is no network side link whose bandwidth threshold is lower than the first network side bandwidth threshold, determine whether there is a network side link whose bandwidth threshold is lower than the second network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0100] If there is no network side link whose bandwidth threshold is lower than the second bandwidth threshold on the network side, a network side link whose available bandwidth on the network side is greater than the target VPN service flow is selected, and it is determined whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first bandwidth threshold on the user side or lower than the second bandwidth threshold on the user side. If so, it is determined that the network side link and its corresponding user side link meet the preset conditions.

[0101] For example, if it is a network-side load balancing priority algorithm, the so-called network-side load balancing priority algorithm means that the link status of each link on the network side is first determined, and then the link status of the user-side link corresponding to the network-side link that meets the preset conditions is determined:

[0102] Step 1: Select a path that is below the primary bandwidth threshold on the network side and below the primary bandwidth threshold on the user side. If there is no selectable path, proceed to step 2.

[0103] Step 2: Select a path that is below the primary bandwidth threshold on the network side and below the secondary bandwidth threshold on the user side. If there is no selectable path, proceed to step 3.

[0104] Step 3: Select a path that is below the primary bandwidth threshold on the network side and has sufficient remaining allocatable bandwidth on the user side. If there is no selectable path, proceed to step 4.

[0105] Step 4: Select a path below the secondary bandwidth threshold on the network side, and select paths one by one according to the remaining allocatable bandwidth below the primary and secondary levels on the user side. If there is no optional path, proceed to step 5.

[0106] Step 5: Select a path with enough remaining allocatable bandwidth on the network side, and select paths one by one based on the remaining allocatable bandwidth below the first level and below the second level on the user side.

[0107] In an embodiment of the present application, when determining the path for transmitting the target VPN service traffic based on the link status of each network side link and the link status of each user side link, another preferred implementation method is: determine the target user side link that meets the preset conditions from the user side links, and judge whether there is a target network side link that meets the preset conditions in the network side link corresponding to the target user side link. If so, use the target user side link and its corresponding target network side link as the path for transmitting the target VPN service traffic.

[0108] In an embodiment of the present application, when determining a target user side link that meets the preset conditions from each user side link, and judging whether there is a target network side link that meets the preset conditions in the network side link corresponding to the target user side link, a preferred implementation method is:

[0109] Determine whether there is a user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet a preset condition;

[0110] If there is no user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold, determine whether there is a user-side link whose bandwidth threshold is lower than the second user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network-side bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet the preset condition;

[0111] If there is no user-side link whose bandwidth threshold is lower than the second bandwidth threshold on the user side, a user-side link whose available bandwidth on the user side is greater than the target VPN service flow is selected, and it is determined whether there is a target network-side link whose bandwidth threshold is lower than the first bandwidth threshold on the network side or lower than the second bandwidth threshold on the network side in the network-side link corresponding to the user-side link; if so, it is determined that the user-side link and its corresponding target network-side link meet the preset conditions.

[0112] For example, if it is a user-side load balancing priority algorithm, the so-called user-side load balancing priority algorithm means that the link status of each link on the user side is first determined, and then the link status of the network-side link corresponding to the user-side link that meets the preset conditions is determined:

[0113] Step 1: Select a path that is below the primary bandwidth threshold on the user side and below the primary bandwidth threshold on the network side. If there is no selectable path, proceed to step 2.

[0114] Step 2: Select a path that is below the primary bandwidth threshold on the user side and below the secondary bandwidth threshold on the network side. If there is no selectable path, proceed to step 3.

[0115] Step 3: Select a path that is below the primary bandwidth threshold on the user side and has sufficient remaining allocatable bandwidth on the network side. If there is no selectable path, proceed to step 4.

[0116] Step 4: Select a path below the secondary bandwidth threshold on the user side, and select routes one by one based on the remaining allocatable bandwidth below the primary and secondary levels on the network side. If there is no selectable path, proceed to step 5.

[0117] Step 5: Select a path with enough remaining allocatable bandwidth on the user side, and select the path one by one based on the remaining allocatable bandwidth below the first level and below the second level on the network side.

[0118] Furthermore, when performing the network-side load balancing priority algorithm, other path parameters of each network-side link, such as cost parameter (COST) and / or quality parameter (delay), may also be referred to.

[0119] That is, determining a target network side link set with the lowest COST among the network side links;

[0120] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0121] Otherwise, the COST is increased based on the preset step size, and a network side link set that meets the increased COST is determined, and a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined from the network side link set.

[0122] For example, based on the YEN routing results, filter and select the path set with the lowest COST (e.g., if the path has the lowest COST: 2, then all paths with a COST of 2 are selected). Iterate the load balancing priority algorithm to select the final path. If the final path is selected, the process ends; if the final path is not selected, gradually expand the path set based on the YEN routing results according to the COST priority tolerance (e.g., if the path has the lowest COST: 2, then all paths with a COST of 2+COST priority tolerance×N (N iterations, N>=1) are selected), and then use the load balancing optimization algorithm to select the final path.

[0123] Alternatively, determining a target network side link set with the lowest delay among the network side links;

[0124] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0125] Otherwise, the delay is increased based on the preset step size, and a set of network side links that meet the increased delay is determined, and from the network side link set, a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined.

[0126] For example, based on the YEN routing results, filter and select the path set with the lowest delay (for example, if the path has the lowest delay of 20ms, then all paths with a delay of 20ms will be selected). Iterate the load balancing priority algorithm to select the final path. If the final path is selected, the process ends; if the final path is not selected, the path set is gradually expanded based on the YEN routing results according to the delay priority tolerance (for example, if the path has the lowest delay of 20ms, then all paths with a delay of 20ms + delay priority tolerance × N (N iterations N>1) will be selected), and then the load balancing optimization algorithm is used to select the final path.

[0127] Alternatively, based on the YEN routing results, filter and select a set of paths with a cost value not greater than the preset maximum COST and the lowest delay (e.g., if the maximum COST is 8 and the lowest path delay is 20ms, then all paths with a COST less than or equal to 8 and a delay of 20ms are selected). Iterate the load balancing priority algorithm to select the final path. If the final path is selected, the process ends; if the final path is not selected, the path set is gradually expanded based on the YEN routing results according to the delay priority tolerance (e.g., if the path has the lowest delay of 20ms, then all paths with a COST less than or equal to 8 and a delay of 20ms + delay priority tolerance × N (N iterations N>1) are selected), and then the load balancing optimization algorithm is used to select the final path.

[0128] The following describes in detail the implementation process of the AnyCast SRv6 Policy algorithm provided in the embodiment of the present application in combination with specific application scenarios.

[0129] 1. Algorithm global parameter configuration:

[0130] Configure the first and second level threshold adjustment parameters on the network side: for example, the first level threshold is 60% and the second level threshold is 90%;

[0131] Configure the user-side first and second level threshold adjustment parameters: for example, the first level threshold is 75%, and the second level threshold is 90%;

[0132] Configure routing strategy: COST & load balancing priority; delay & load balancing priority; load balancing priority;

[0133] Configure AnyCast load balancing policy: network-side load balancing priority, user-side load balancing priority;

[0134] Delay priority tolerance: 10ms;

[0135] COST priority tolerance: 1.

[0136] 2) AnyCast algorithm routing process:

[0137] Traverse all AnyCast members and calculate all possible paths using the YEN algorithm and path quality & flow constraints.

[0138] The network parameters are as follows: the maximum allocatable bandwidth of all links on the network side is 100G, the current link traffic is 60G, the cost of all links is 1, and the delay is 10ms. The maximum allocatable bandwidth of all links on the user side is 10G, the current link traffic on the user side of PE2 (if2) is 8G, the current link traffic on the user side of PE3 (if1) is 5G, and the cost and delay attributes of the user side links are not considered. The traffic of VPN1 entering the policy is 1G.

[0139] AnyCast routing network parameters:

[0140] For the SRv6-TE Policy (Color: 1, End Point: 2000:EA8:B00::1) on PE1, the controller first selects all possible paths from PE1 to PE2, then selects all possible paths from PE1 to PE3, and calculates the remaining allocatable bandwidth on the network side (the minimum remaining allocatable bandwidth of all links on the path) after adding the tunnel traffic, the network side bandwidth threshold, the network side COST, the network side delay, the user side remaining allocatable bandwidth, and the user side bandwidth threshold.

[0141] The controller selects the traffic path on the SRv6-TE Policy (Color: 1, End Point: 2000:EA8:B00::1) based on the acquired link status of each network-side link and the link status of each user-side link and the preset selection rules.

[0142] For example, see Figure 3 As shown, it is a structural schematic diagram of a path selection device provided in an embodiment of the present application, the device is applied to a controller, the controller is used to schedule the target VPN service traffic directed to the SRv6-TE Policy of AnyCast type, the destination end being the destination CE connected to at least two outgoing PEs, the device comprising:

[0143] The first acquisition unit 31 is used to acquire the link status of each network side link between the ingress PE and each egress PE in the AnyCast type SRv6-TE Policy for transmitting the target VPN service traffic;

[0144] The second acquisition unit 32 is used to acquire the link status of each user-side link between each outgoing PE and the destination CE for transmitting the target VPN service traffic;

[0145] The determining unit 33 is configured to determine a path for transmitting the target VPN service traffic based on the link status of each network-side link and the link status of each user-side link.

[0146] Optionally, the link status of a network side link includes a remaining allocatable bandwidth of the network side link, a network side COST, and a network side delay;

[0147] The link status of a user-side link includes the remaining allocatable bandwidth of the user-side link.

[0148] Optionally, when determining a path for transmitting the target VPN service traffic based on the link status of each network-side link and the link status of each user-side link, the determining unit 33 is specifically configured to:

[0149] Determine a target network side link that meets the preset conditions from the network side links, and judge whether the user side link corresponding to the target network side link meets the preset conditions. If so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic; or,

[0150] A target user side link that meets the preset conditions is determined from the user side links, and it is determined whether there is a target network side link that meets the preset conditions in the network side link corresponding to the target user side link. If so, the target user side link and its corresponding target network side link are used as paths for transmitting the target VPN service traffic.

[0151] Optionally, a network-side primary bandwidth threshold and a network-side secondary bandwidth threshold are pre-set for the network-side link, and a user-side primary bandwidth threshold and a user-side secondary bandwidth threshold are pre-set for the user-side link, wherein the network-side primary bandwidth threshold is smaller than the network-side secondary bandwidth threshold, and the user-side primary bandwidth threshold is smaller than the user-side secondary bandwidth threshold;

[0152] When determining a target network side link that meets the preset condition from the network side links, and judging whether a user side link corresponding to the target network side link meets the preset condition, the determining unit 33 is specifically used to:

[0153] Determine whether there is a network side link whose bandwidth threshold is lower than the first network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0154] If there is no network side link whose bandwidth threshold is lower than the first network side bandwidth threshold, determine whether there is a network side link whose bandwidth threshold is lower than the second network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition;

[0155] If there is no network side link whose bandwidth threshold is lower than the second bandwidth threshold on the network side, a network side link whose available bandwidth on the network side is greater than the target VPN service flow is selected, and it is determined whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first bandwidth threshold on the user side or lower than the second bandwidth threshold on the user side. If so, it is determined that the network side link and its corresponding user side link meet the preset conditions.

[0156] Optionally, when determining a target user side link that meets a preset condition from each user side link, and judging whether there is a target network side link that meets the preset condition in the network side link corresponding to the target user side link, the determining unit 33 is specifically used to:

[0157] Determine whether there is a user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet a preset condition;

[0158] If there is no user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold, determine whether there is a user-side link whose bandwidth threshold is lower than the second user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network-side bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet the preset condition;

[0159] If there is no user-side link whose bandwidth threshold is lower than the second bandwidth threshold on the user side, a user-side link whose available bandwidth on the user side is greater than the target VPN service flow is selected, and it is determined whether there is a target network-side link whose bandwidth threshold is lower than the first bandwidth threshold on the network side or lower than the second bandwidth threshold on the network side in the network-side link corresponding to the user-side link; if so, it is determined that the user-side link and its corresponding target network-side link meet the preset conditions.

[0160] Optionally, the determining unit 33 is further configured to:

[0161] Determine a target network side link set with the lowest COST among the network side links;

[0162] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0163] Otherwise, the COST is increased based on the preset step size, and a network side link set that meets the increased COST is determined, and a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined from the network side link set.

[0164] Optionally, the determining unit 33 is further configured to:

[0165] Determine a target network side link set with the lowest latency among the network side links;

[0166] Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic;

[0167] Otherwise, the delay is increased based on the preset step size, and a set of network side links that meet the increased delay is determined, and from the network side link set, a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined.

[0168] The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain unit above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0169] Furthermore, the path selection device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the path selection device can be seen in Figure 4As shown, the path selection device may include: a memory 40 and a processor 41,

[0170] The memory 40 is used to store program instructions; the processor 41 calls the program instructions stored in the memory 40 and executes the above method embodiment according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0171] Optionally, the present application also provides a controller, comprising at least one processing element (or chip) for executing the above method embodiment.

[0172] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above method embodiments.

[0173] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.

[0174] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0175] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0176] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0177] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0178] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0179] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0180] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A path selection method, characterized in that: The method is applied to a controller, the controller is used to schedule traffic of a target virtual private network VPN service traffic directed to an AnyCast type IPv6 SR-based segment routing traffic engineering strategy SRv6-TE Policy, where the destination end is a destination user network edge device CE connected to at least two outbound operator edge routers PE, and the method includes: Obtain the link status of each network-side link between the ingress PE and each egress PE in the AnyCast type SRv6-TE Policy for transmitting the target VPN service traffic; Acquire the link status of each user-side link between each outgoing PE and the destination CE for transmitting the target VPN service traffic; Based on the link status of each network-side link and the link status of each user-side link, a path for transmitting the target VPN service traffic is determined.

2. The method according to claim 1, characterized in that The link status of a network-side link includes the remaining allocatable bandwidth of the network-side link, the network-side overhead COST, and the network-side delay; The link status of a user-side link includes the remaining allocatable bandwidth of the user-side link.

3. The method according to claim 1 or 2, characterized in that The step of determining a path for transmitting the target VPN service traffic based on the link status of each network-side link and the link status of each user-side link includes: Determine a target network side link that meets the preset conditions from the network side links, and judge whether the user side link corresponding to the target network side link meets the preset conditions. If so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic; or, A target user side link that meets the preset conditions is determined from the user side links, and it is determined whether there is a target network side link that meets the preset conditions in the network side link corresponding to the target user side link. If so, the target user side link and its corresponding target network side link are used as paths for transmitting the target VPN service traffic.

4. The method according to claim 3, characterized in that A network-side primary bandwidth threshold and a network-side secondary bandwidth threshold are pre-set for the network-side link, and a user-side primary bandwidth threshold and a user-side secondary bandwidth threshold are pre-set for the user-side link, wherein the network-side primary bandwidth threshold is smaller than the network-side secondary bandwidth threshold, and the user-side primary bandwidth threshold is smaller than the user-side secondary bandwidth threshold; The steps of determining a target network side link that meets a preset condition from the network side links, and judging whether a user side link corresponding to the target network side link meets the preset condition include: Determine whether there is a network side link whose bandwidth threshold is lower than the first network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition; If there is no network side link whose bandwidth threshold is lower than the first network side bandwidth threshold, determine whether there is a network side link whose bandwidth threshold is lower than the second network side bandwidth threshold among the network side links; if so, determine whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first user side bandwidth threshold or lower than the second user side bandwidth threshold; if so, determine that the network side link and its corresponding user side link meet the preset condition; If there is no network side link whose bandwidth threshold is lower than the second bandwidth threshold on the network side, a network side link whose available bandwidth on the network side is greater than the target VPN service flow is selected, and it is determined whether the bandwidth threshold of the user side link corresponding to the network side link is lower than the first bandwidth threshold on the user side or lower than the second bandwidth threshold on the user side. If so, it is determined that the network side link and its corresponding user side link meet the preset conditions.

5. The method according to claim 4, characterized in that The steps of determining a target user side link that meets a preset condition from each user side link, and judging whether there is a target network side link that meets the preset condition in the network side link corresponding to the target user side link include: Determine whether there is a user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet a preset condition; If there is no user-side link whose bandwidth threshold is lower than the first user-side bandwidth threshold, determine whether there is a user-side link whose bandwidth threshold is lower than the second user-side bandwidth threshold among the user-side links; if so, determine whether there is a target network-side link whose bandwidth threshold is lower than the first network-side bandwidth threshold or lower than the second network-side bandwidth threshold among the network-side links corresponding to the user-side link; if so, determine that the user-side link and its corresponding target network-side link meet the preset condition; If there is no user-side link whose bandwidth threshold is lower than the second bandwidth threshold on the user side, a user-side link whose available bandwidth on the user side is greater than the target VPN service flow is selected, and it is determined whether there is a target network-side link whose bandwidth threshold is lower than the first bandwidth threshold on the network side or lower than the second bandwidth threshold on the network side in the network-side link corresponding to the user-side link; if so, it is determined that the user-side link and its corresponding target network-side link meet the preset conditions.

6. The method according to claim 3, characterized in that The method further comprises: Determine a target network side link set with the lowest cost COST among the network side links; Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic; Otherwise, the COST is increased based on the preset step size, and a network side link set that meets the increased COST is determined, and a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined from the network side link set.

7. The method according to claim 3, characterized in that The method further comprises: Determine a target network side link set with the lowest latency among the network side links; Determine a target network side link that meets the preset conditions from the target network side link set, and judge whether the user side link corresponding to the target network side link meets the preset conditions, and if so, use the target network side link and its corresponding user side link as a path for transmitting the target VPN service traffic; Otherwise, the delay is increased based on the preset step size, and a set of network side links that meet the increased delay is determined, and from the network side link set, a target network side link that meets the preset conditions and whose corresponding user side link meets the preset conditions is determined.

8. A path selection device, characterized in that: Applied to a controller, the controller is used to schedule traffic for target virtual private network VPN service traffic directed to an AnyCast type IPv6 SR-based segment routing traffic engineering strategy SRv6-TE Policy, where the destination end is a destination user network edge device CE connected to at least two outbound operator edge routers PE, and the device includes: A first acquisition unit is used to acquire the link status of each network side link between an ingress PE and each egress PE in the AnyCast type SRv6-TE Policy for transmitting the target VPN service traffic; A second acquisition unit, used to acquire the link status of each user-side link between each outgoing PE and the destination CE for transmitting the target VPN service traffic; A determination unit is used to determine a path for transmitting the target VPN service traffic based on the link status of each network side link and the link status of each user side link.

9. A path selection device, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the method as described in any one of claims 1-7 according to the obtained program instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the method as described in any one of claims 1 to 7.