WO2021136430A1 - Path selection method and apparatus, computer device, and computer readable medium - Google Patents

Path selection method and apparatus, computer device, and computer readable medium Download PDF

Info

Publication number
WO2021136430A1
WO2021136430A1 PCT/CN2020/141636 CN2020141636W WO2021136430A1 WO 2021136430 A1 WO2021136430 A1 WO 2021136430A1 CN 2020141636 W CN2020141636 W CN 2020141636W WO 2021136430 A1 WO2021136430 A1 WO 2021136430A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth usage
network device
usage parameter
bandwidth
path
Prior art date
Application number
PCT/CN2020/141636
Other languages
French (fr)
Chinese (zh)
Inventor
任明艳
王同乐
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201911410896.XA external-priority patent/CN113132225B/en
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021136430A1 publication Critical patent/WO2021136430A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/06Deflection routing, e.g. hot-potato routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/125Shortest path evaluation based on throughput or bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Definitions

  • This application relates to the field of data transmission technology, and in particular to a path selection method, device, computer equipment, and computer-readable medium.
  • Intelligent scheduling is a key capability in data center networks.
  • SR Segment Routing
  • SDN Software Defined Network
  • traffic scheduling and path optimization are better realized.
  • Prefix Segment some path segments are loose, and the part (loose path segment) of the path that is not clearly specified by the segment routing list needs to be calculated locally by the switching device.
  • the switching equipment calculates the optimal next hop according to the current routing protocol, the routing basis is based on the lower cost value, and the result of the routing calculation may be equal-cost multi-path or a clear optimal path. Since congestion information is not considered when calculating the path, a congested path may be selected to transmit packets.
  • the controller solves the congestion problem, the data needs to be sent to the controller packet by packet, and the traffic will occupy a large bandwidth of the line card; and the controller recalculates the route after processing the huge state (congestion state) message.
  • the time is large, which is not conducive to the timely resolution of link congestion.
  • the embodiments of the present application provide a path selection method, device, computer equipment, and computer readable medium.
  • An embodiment of the present application provides a path selection method, the method includes: receiving a first detection message, obtaining bandwidth usage parameters carried therein and an identifier of a designated network device, where the designated network device is the last network device in the service path ; Determine the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device; if the network device belongs to the equivalent route ECMP link group or work corresponding to the identifier of the designated network device -The protection link group is based on the locally stored bandwidth usage parameter table, the bandwidth usage parameter of the link between the port and the designated network device, and the bandwidth usage parameter and the designated network device in the first detection message To maintain the bandwidth usage parameter table; the bandwidth usage parameter table includes the identifier of the designated network device, the path bandwidth usage parameter, and the next hop network device; when the service packet is received, the ECMP path or After the working-protection path, the service message is forwarded according to the bandwidth usage parameter table.
  • An embodiment of the present application also provides a path selection device, including: a receiving module, an acquiring module, a determining module, an entry maintenance module, and a service processing module; the receiving module is used to receive the first detection message and receive the service report
  • the acquisition module is used to acquire the bandwidth usage parameters and the identification of the designated network device carried in the first detection message, the designated network device is the last network device in the service path;
  • the determination module is used to , Determining the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device;
  • the entry maintenance module is used to: when the current network device belongs to the identifier corresponding to the designated network device In the case of an ECMP link group or a working-protection link group, maintain the bandwidth usage parameter table according to the bandwidth usage parameter of the port, the bandwidth usage parameter in the first detection message, the identifier of the designated network device, and the locally stored bandwidth usage parameter table
  • the bandwidth usage parameter table; the bandwidth usage parameter table includes a designated network device identifier, a
  • An embodiment of the present application also provides a computer device, including: one or more processors and a storage device; wherein, one or more programs are stored on the storage device, and when the above one or more programs are processed by the above one or more When the processor is executed, the above-mentioned one or more processors implement the path selection methods provided in the foregoing embodiments.
  • the embodiments of the present application also provide a computer-readable medium on which a computer program is stored, wherein the computer program implements the path selection method provided in the foregoing embodiments when the computer program is executed.
  • Fig. 1 is a flowchart of a path selection method provided by an embodiment of the application
  • Figure 2a is one of the structural schematic diagrams of the detection message provided by the embodiment of the application.
  • FIG. 2b is the second schematic diagram of the structure of the detection message provided by the embodiment of this application.
  • FIG. 3 is a flowchart of maintaining a bandwidth usage parameter table provided by an embodiment of the application
  • Fig. 5 is one of the flowcharts for maintaining the bandwidth usage parameter table according to the comparison result of the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table according to the embodiment of the application;
  • FIG. 6 is the second flowchart of maintaining the bandwidth usage parameter table according to the comparison result of the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table according to the embodiment of the application;
  • FIG. 7 is a flowchart of generating and sending a second probe message provided by an embodiment of the application.
  • FIG. 8 is a flowchart of generating and sending a third probe message according to an embodiment of the application.
  • FIG. 9 is a flowchart of path selection in a work-protection link group scenario provided by an embodiment of the application.
  • Figure 10a is a network topology diagram in an ECMP link group scenario provided by an embodiment of this application.
  • FIG. 10b is a schematic diagram of path selection in an ECMP link group scenario provided by an embodiment of the application.
  • FIG. 11a is a network topology diagram in an ECMP link group scenario provided by another embodiment of this application.
  • FIG. 11b is a schematic diagram of path selection in an ECMP link group scenario provided by another embodiment of this application.
  • Figure 12a is a network topology diagram in a work-protection link group scenario provided by an embodiment of the application.
  • Figure 12b is a schematic diagram of path selection in a work-protection link group scenario provided by an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a path selection device provided by an embodiment of the application.
  • An embodiment of the present application provides a path selection method, which is applied to an SR (Segment Routing) scenario in SDN (Software Defined Network), for example, it is applied to Prefix Segment.
  • SR Segment Routing
  • SDN Software Defined Network
  • the path selection method includes the following steps:
  • Step 11 Receive the first detection message, and obtain the bandwidth usage parameter and the identifier of the designated network device carried in it.
  • the designated network device is the last network device in the service path.
  • bandwidth usage parameters may include bandwidth utilization or remaining bandwidth.
  • Step 12 Determine the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device.
  • the link between the port that receives the first detection message and the designated network device refers to the link between the port of the network device (that is, the network device that received the first detection message) and the designated network device Link, the link can include one or more paths.
  • Step 13 If the network device belongs to the ECMP link group or the work-protection link group corresponding to the identifier of the designated network device, the bandwidth of the link between the port and the designated network device according to the locally stored bandwidth usage parameter table The use of parameters and the bandwidth use parameters in the first probe message and the identification of the designated network device maintain a bandwidth use parameter table.
  • the bandwidth usage parameter table is shown in Table 1, which may include the identification of the designated network device, the path bandwidth usage parameter, and the identification of the next hop network device.
  • Step 14 When a service message is received, after determining the ECMP path or the working-protection path, the service message is forwarded according to the bandwidth usage parameter table.
  • the network device determines the next-hop network device according to the identifier of the next-hop network device in the bandwidth usage parameter table, and forwards the service message to the next-hop network device, thereby realizing the equivalent path or work-protection Path Selection.
  • the path selection method provided by the embodiment of the application determines the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device, and the designated network device is the last network device in the service path.
  • the ECMP link group or The first network device in the work-protection link group is based on the locally stored bandwidth usage parameter table, the bandwidth usage parameter of the link between the port and the specified network device, the bandwidth usage parameter in the first detection message and the identification of the specified network device Maintain the bandwidth usage parameter table.
  • the network device can forward the service message according to the bandwidth usage parameter table;
  • the detection message carrying bandwidth usage parameters is sent in the opposite direction.
  • the first network device in the ECMP link group or work-protection link group maintains the bandwidth usage parameter table according to the link bandwidth usage parameters, and uses the bandwidth usage parameter table as The basis for the selection of the forwarding path for business packets is to select the optimal path, and the link with the least congestion level can be quickly found from multiple alternative paths; the embodiment of this application does not need to report data to the controller, and it will not be occupied during the path selection process.
  • the line card bandwidth reduces the processing pressure and bandwidth resource occupation of the controller.
  • the bandwidth usage parameter is bandwidth utilization.
  • the first detection message at least includes: the identification SID of the designated network device and the bandwidth utilization util. It should be noted that the first detection message It may also include an Ethernet header and an IP (Internet Protocol, Internet Protocol) header.
  • the Ethernet header carries the Ethernet type, and the IP header carries the multicast address (that is, the address of the multicast group member).
  • the bandwidth usage parameter is the remaining bandwidth.
  • the first detection message includes at least: the identification SID of the designated network device and the remaining bandwidth. It should be noted that the first detection message may also include The Ethernet header and the IP header, the Ethernet header carries the Ethernet type, and the IP header carries the multicast address (that is, the address of the multicast group member).
  • the remaining bandwidth may be represented by the remaining bandwidth quantized value BWQ, and the remaining bandwidth quantized value BWQ has a certain mapping relationship with the bandwidth BW, and the mapping relationship is shown in Table 2.
  • a, b, c, d, e, f, g, and h represent the actual value of the bandwidth.
  • the determining the bandwidth usage parameter of the link between the port receiving the first probe message and the designated network device includes:
  • Step 121 Determine the bandwidth usage parameter of the port that receives the first detection message.
  • the bandwidth parameter of the port that receives the first probe message can be directly measured.
  • Step 122 Determine the bandwidth usage parameter of the link between the port and the designated network device according to the bandwidth usage parameter of the port and the bandwidth usage parameter in the first detection message.
  • bandwidth usage parameter when the bandwidth usage parameter is the bandwidth utilization rate, determine the maximum value of the bandwidth utilization rate of the port and the bandwidth utilization rate in the first probe message, and use the maximum value as the link between the port and the specified network device The bandwidth usage parameter of the road.
  • bandwidth usage parameter is the remaining bandwidth, determine the minimum value of the remaining bandwidth of the port and the remaining bandwidth in the first detection message, and use the minimum value as the bandwidth usage parameter of the link between the port and the designated network device.
  • the bandwidth usage parameter of the link between the port and the designated network device according to the locally stored bandwidth usage parameter table, the bandwidth usage parameter of the link between the port and the designated network device, the bandwidth usage parameter in the first detection message and the designated network
  • the identification of the device and the maintenance of the bandwidth usage parameter table (that is, step 13), including:
  • Step 131 Determine whether the identifier of the network device that sent the first detection message is the same as the identifier of the next-hop network device in the bandwidth usage parameter table, if they are the same, perform step 132; otherwise, perform step 133.
  • this step if it is determined that the identity of the network device that sent the first probe packet is the same as the identity of the next-hop network device in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet and the bandwidth usage parameter table are recorded If the previous service message transmission path is the same, the path bandwidth usage parameter in the bandwidth usage parameter table is directly updated. If it is determined that the identity of the network device that sent the first probe packet is different from the identity of the next-hop network device in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet is different from the previous service report recorded in the bandwidth usage parameter table. If the file transmission path is different, you need to compare the bandwidth usage parameters of the link between the port and the designated network device with the path bandwidth usage parameters in the bandwidth usage parameter table, and decide whether to update the bandwidth usage parameter table according to the comparison result.
  • Step 132 Update the path bandwidth usage parameter in the bandwidth usage parameter table according to the bandwidth usage parameter of the link between the port and the designated network device.
  • Step 133 Maintain a bandwidth usage parameter table according to the comparison result of the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table.
  • bandwidth usage parameter is bandwidth utilization
  • the specific implementation of maintaining the bandwidth usage parameter table will be described in detail later in Figure 5.
  • the bandwidth usage parameter is the remaining bandwidth
  • the specific implementation of maintaining the bandwidth usage parameter table will be described in detail later in Figure 6.
  • the bandwidth usage parameter when the bandwidth usage parameter is bandwidth utilization, as shown in FIG. 5, the bandwidth usage parameter according to the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table Compare the results and maintain the bandwidth usage parameter table (that is, step 133), including:
  • Step 51 Determine whether the bandwidth utilization rate of the link between the port and the designated network device is less than the path bandwidth utilization rate in the bandwidth utilization parameter table. If yes, perform step 52; otherwise, perform step 53.
  • the bandwidth utilization rate of the link between the port and the designated network device is less than the path bandwidth utilization rate in the bandwidth utilization parameter table, it indicates that the transmission path of the first probe message and the bandwidth utilization parameter table record The previous service packet transmission path is different, and the bandwidth utilization rate of the first probe packet transmission path is less than the bandwidth utilization rate of the previous service packet transmission path recorded in the bandwidth usage parameter table, that is, the first probe packet transmission path
  • the bandwidth resource is better. Therefore, the optimal next hop needs to be replaced.
  • the information of the original next hop in the bandwidth usage parameter table is deleted, and the information of the optimal next hop selected this time is written.
  • bandwidth utilization rate of the link between the port and the designated network device is greater than or equal to the path bandwidth utilization rate in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet and the previous service recorded in the bandwidth usage parameter table
  • the message transmission paths are different, and the bandwidth utilization rate of the first detection message transmission path is greater than or equal to the bandwidth utilization rate of the previous service message transmission path recorded in the bandwidth usage parameter table, that is, the bandwidth utilization rate of the first detection message transmission path
  • the bandwidth resource is worse, therefore, there is no need to replace the optimal next hop, and accordingly, there is no need to update the bandwidth usage parameter table.
  • Step 52 Update the identifier of the next-hop network device in the bandwidth usage parameter table according to the identifier of the network device that sent the first detection message, and update the bandwidth usage parameter table according to the bandwidth utilization of the link between the port and the designated network device Path bandwidth utilization.
  • the identifier of the next hop network device in the bandwidth usage parameter table is updated to that of the network device that sent the first probe message, and the path bandwidth utilization in the bandwidth usage parameter table is updated to the port to the designated network The bandwidth utilization of the link between devices, so as to achieve the update of the optimal next hop information.
  • Step 53 Do not update the bandwidth usage parameter table.
  • the bandwidth usage parameter of the link between the port and the designated network device is compared with the path bandwidth usage parameter in the bandwidth usage parameter table.
  • the maintenance of the bandwidth usage parameter table includes:
  • Step 61 Determine whether the remaining bandwidth of the link between the port and the designated network device is greater than the remaining bandwidth of the path in the bandwidth usage parameter table, if yes, go to step 62; otherwise, go to step 63.
  • the optimal next hop needs to be replaced. Accordingly, the information of the original next hop in the bandwidth usage parameter table is deleted, and the information of the optimal next hop selected this time is written.
  • the bandwidth usage parameter table If it is determined that the remaining bandwidth of the link between the port and the designated network device is less than or equal to the remaining bandwidth of the path in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet and the previous service packet recorded in the bandwidth usage parameter table The transmission path is different, and the remaining bandwidth of the transmission path of the first probe message is less than or equal to the remaining bandwidth of the previous service message transmission path recorded in the bandwidth usage parameter table, that is, the bandwidth resource of the first probe message transmission path is worse Therefore, there is no need to replace the optimal next hop, and accordingly, there is no need to update the bandwidth usage parameter table.
  • Step 62 Update the identifier of the next-hop network device in the bandwidth usage parameter table according to the identifier of the network device that sent the first detection message, and update the bandwidth usage parameter table according to the remaining bandwidth of the link between the port and the designated network device The remaining bandwidth in the path.
  • the identification of the next-hop network device in the bandwidth usage parameter table is updated to the identification of the network device that sent the first probe message, and the remaining bandwidth of the path in the bandwidth usage parameter table is updated to the port to the specified network device The remaining bandwidth of the link between, so as to achieve the update of the optimal next hop information.
  • Step 63 Do not update the bandwidth usage parameter table.
  • the path selection method further includes:
  • Step 71 Generate a second detection message, where the second detection message includes the identifier of the designated network device and the bandwidth usage parameter of the link between the port and the designated network device.
  • the structure of the second detection message is the same as the structure of the first detection message.
  • the bandwidth usage parameter is bandwidth utilization
  • the specified network device's identification and port are assigned to the designated The bandwidth utilization rate of the link between the network devices generates the second detection message.
  • the specified network device is sent to the specified network device according to the identification and port of the specified network device The remaining bandwidth of the link between generates a second detection message.
  • Step 72 Send a second detection message to a pre-configured multicast group member.
  • the second detection message is sent in a direction opposite to the transmission direction of the service message, and the detection message can be sent to the next ECMP link group or working-protection link group.
  • the network device that receives the first detection message will generate and send the second detection message, but it belongs to the ECMP link group or Network devices in the work-protection link group also need to maintain a locally stored bandwidth usage parameter table, and network devices that do not belong to the ECMP link group or work-protect link group have no path selection problem, so there is no need to store locally And maintain the bandwidth usage parameter table.
  • the network device when the network device is the last network device in the service path, the network device generates the first detection message.
  • the path selection method further includes the following steps:
  • Step 81 When the trigger condition is satisfied, a third detection message is generated, and the third detection message carries the bandwidth usage parameter and the identifier of the local network device.
  • Satisfying the trigger condition refers to receiving the configuration instruction sent by the user, that is, the user configures the tail node of the service path, and the tail node of the service path constructs the third detection message.
  • Step 82 Send a third probe message to a pre-configured multicast group member according to a preset period.
  • the last network device on the service path sends a third probe message to its multicast group members.
  • the probe message carries bandwidth usage parameters and the identity of the network device.
  • the structure of the third probe message is the same as that of the first probe.
  • the structure of the message is the same. It should be noted that the user can set and adjust the sending period of the third probe message as needed, that is, the sending configuration instruction carries the sending period of the probe message.
  • the embodiments of the present application are only used for services with high delay sensitivity, and therefore have little impact on the network.
  • the port that receives the first detection message includes the start port of the working path and the start port of the protection path
  • the bandwidth usage parameter table is used to record the work Path information and protection path information, where the information includes starting port information, path bandwidth usage parameters, and next-hop network device identification.
  • the determining the bandwidth usage parameter of the link between the port receiving the first detection message and the designated network device includes: determining the start port of the working path for receiving the first detection message to the designated network device.
  • the bandwidth usage parameter of the inter-link, and the bandwidth usage parameter of the link between the starting port of the protection path that receives the first detection message and the designated network device are respectively determined.
  • forwarding the service message according to the bandwidth usage parameter table includes:
  • Step 141 Determine whether the bandwidth usage parameters of the link between the start port of the working path and the designated network device, the bandwidth usage parameters of the link between the start port of the protection path and the designated network device and the preset threshold meet the preset conditions If it is satisfied, go to step 142, otherwise, end the process.
  • satisfying the preset conditions includes: the bandwidth utilization of the link between the start port of the working path and the designated network device is greater than the preset threshold, and the start port of the protection path to the designated network device The bandwidth utilization rate of the link between is less than the preset threshold. At this time, it means that the working path is congested, its bandwidth resources are less, and the protection path has more bandwidth resources. Therefore, part of the task of transmitting service data can be removed from The working path is migrated to the protection path.
  • satisfying the preset conditions includes: the remaining bandwidth of the link between the start port of the working path and the designated network device is less than the preset threshold, and the distance between the start port of the protection path and the designated network device The remaining bandwidth of the link is greater than the preset threshold. At this time, it means that the working path is congested, its bandwidth resources are less, and the protection path has more bandwidth resources. Therefore, part of the task of transmitting service data can be migrated from the working path. To the protection path.
  • Step 142 When the service message is received, after the working-protection path is determined, the offload ratio is determined according to the bandwidth usage parameter table.
  • the offload ratio is determined according to the preset strategy.
  • step 143 the working path and the protection path are respectively used to send service packets according to the distribution ratio.
  • the embodiment of this application proposes a route selection method for loose routing in the Prefix Segment scenario.
  • the tail node of the loose path segment is reversed in timing (with the direction of service packet transmission).
  • send a probe message which can carry link bandwidth usage parameters.
  • the first node of the loose path segment selects the optimal next hop node according to the link bandwidth usage parameters to realize the selection of the optimal forwarding path, which can effectively avoid the congested path.
  • Figures 10a and 10b show the path selection process when the bandwidth usage parameter is bandwidth utilization.
  • all nodes in the network topology are SR nodes, the source node is node11, and the destination node is node22.
  • the controller delivers the segment-list to the source node.
  • the segment-list is encapsulated into the head of the business message, and the business message is transmitted along the path shown by the arrow according to the segment-list. That is, node11-->node1-->node>2-->node3.
  • the path from node3 to node22 is loose, that is, the segment-list does not clearly specify which way to go from node3 to the destination node node22, but is calculated by the control plane of node3 based on the cost of the path as a constraint condition Path, two ECMP equivalent paths are calculated: node3-->node4-->node22 and node3-->node7-->node22.
  • node3 needs to know the ECMP path Congestion situation.
  • the user configures node22, which starts to send detection messages in the reverse direction.
  • the detection messages carry the identification of the designated network device of the link (the designated network device is node22) and bandwidth utilization information, and the reverse transmission Go to node3.
  • the user designates node22 as the starting node, which generates the third detection message.
  • the identification SID of the specified network device in the third detection message is 16022, and the bandwidth utilization util is 0.
  • Port 3 of node4 receives the third detection message, and node4 monitors that the bandwidth utilization of port 3 is 80%. Compared with the bandwidth utilization carried in the third detection message, the bandwidth utilization of port 3 of node4 is greater than that of the third detection. The bandwidth utilization rate in the message, therefore, the bandwidth utilization rate of the link from port 3 of node4 to node22 is 80%. Based on the information of port 3 receiving the third detection packet, node4 determines that node4 does not belong to any ECMP link group or work-protection link group in the topology, and does not need local storage and maintenance of the bandwidth usage parameter table, that is, no storage is required Bandwidth utilization of the link from port 3 to node22.
  • Node4 generates a second detection message, and carries the identifier of the designated network device (16022) and the bandwidth utilization rate (80%) of the link from port 3 to node22 in the second detection message.
  • the second detection message is sent to the multicast group members of node4, whose multicast group members are port 1 and port 2, that is, the second detection message is sent to node3 and node5 respectively.
  • node7 The situation of node7 is similar to that of node4. Its port 3 receives the third probe message sent by node22, and it detects that the bandwidth utilization rate of port 3 is 20%, which is greater than the bandwidth utilization rate (0%) in the third probe message. , The link bandwidth utilization rate from port 3 of node7 to node22 is 20%.
  • Node7 is similar to node4. It does not need to store and maintain the bandwidth usage parameter table locally, that is, it does not need to store the bandwidth utilization of the link from port 3 to node22.
  • node7 generates a second detection message, carries the identification of the designated network device (16022) and the bandwidth utilization rate (20%) of the link from port 3 to node22 in the second detection message, and sends it to the multicast group members of node7 , Its multicast group members are port 1 and port 2, and the second detection message is sent to node3 and node6 respectively.
  • node3 can receive the detection message originated by the destination node node22 from port 3 and port 4 (for node3, the received detection message is the first detection message, and the first detection message is node4 and The second detection message sent by node7). Since the two detection messages arrive at node3 in different times, once node3 receives the detection message, it monitors the bandwidth utilization of the port that received the detection message. If the port 4 of node3 receives the detection message first (that is, the node that sends the detection message is node4), the bandwidth utilization rate of port 4 is monitored to be 40%. Therefore, the bandwidth utilization rate of the link from port 4 to node22 is 80%.
  • the path bandwidth utilization rate in the bandwidth usage parameter table is directly updated to 80%.
  • the detection messages sent by Node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node4), and the bandwidth utilization rate of the link from port 4 to node22 is 80%. It should be noted that the detection message sent by node3 is not shown in FIG. 10b.
  • the bandwidth utilization rate of port 3 is monitored to be 30%. Therefore, the bandwidth utilization rate of the link from port 3 to node22 Is 30%. Because the next hop node recorded in the bandwidth usage parameter table of node3 local storage is node4, and the bandwidth utilization rate (30%) of the link from port 3 to node22 is less than the path bandwidth utilization rate in the bandwidth usage parameter table (80%) , The next hop node identifier in the bandwidth usage parameter table is updated to node7, and the path bandwidth utilization rate in the bandwidth usage parameter table is updated to 30%.
  • the detection messages sent by node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node7), and the bandwidth utilization rate of the link from port 4 to node22 is 30%. It should be noted that the time interval between port 4 and port 3 of node3 to receive detection packets is very short, and the bandwidth usage parameter table of node3 is updated quickly, which will not affect the transmission of service packets.
  • node3 When a business packet arrives at node3, after node3 determines the ECMP path, it forwards the business packet according to the bandwidth usage parameter table, that is, sends it along the ECMP link with low bandwidth utilization to the next hop, that is, along the path via port 3. node3-->node7-->node22 send, thus effectively avoiding the occurrence of congestion.
  • Figures 11a and 11b show the path selection process when the bandwidth usage parameter is the remaining bandwidth.
  • all nodes in the network topology are SR nodes, the source node is node11, and the destination node is node22.
  • the controller delivers the segment-list to the source node.
  • the segment-list is encapsulated into the head of the business message, and the business message is transmitted along the path shown by the arrow according to the segment-list. That is, node11-->node1-->node>2-->node3.
  • the path from node3 to node22 is loose, that is, the segment-list does not clearly specify which way to go from node3 to the destination node node22, but is calculated by the control plane of node3 based on the cost of the path as a constraint condition Path, two ECMP equivalent paths are calculated: node3-->node4-->node22 and node3-->node7-->node22.
  • node3 needs to know the ECMP path The remaining bandwidth situation.
  • the user configures node22, which starts to send detection messages in the reverse direction.
  • the detection messages carry the identification of the designated network device of the link (the designated network device is node22) and the remaining bandwidth information, which are transmitted in the reverse direction. Go to node3.
  • the user designates node22 as the starting node, which generates the third detection message.
  • the identification SID of the specified network device in the third detection message is 16022, and the remaining bandwidth BWQ is 0. It should be noted that a BWQ of 0 means that the bandwidth is not quantized.
  • the port 3 of node4 receives the third detection packet, and node4 monitors that the remaining bandwidth of port 3 is 1, which is compared with the remaining bandwidth carried in the third detection packet. Since the remaining bandwidth in the third detection packet is not quantified, node4 The remaining bandwidth of the link from port 3 to node22 takes the value 1 of the remaining bandwidth of port 3. Based on the information of port 3 receiving the third detection packet, node4 determines that node4 does not belong to any ECMP link group or work-protection link group in the topology, and does not need local storage and maintenance of the bandwidth usage parameter table, that is, no storage is required The remaining bandwidth of the link from port 3 to node22.
  • the second detection message is sent from the multicast group members of node4, whose multicast group members are port 1 and port 2, and are sent to node 3 and node 5 respectively.
  • node7 The situation of node7 is similar to that of node4. Its port 3 receives the third detection message sent by node22 and detects that the remaining bandwidth of port 3 is 4, and the remaining bandwidth of the link from port 3 to node22 of node7 is 4.
  • Node7 is similar to node4. It does not need to store and maintain the bandwidth usage parameter table locally, that is, it does not need to store the remaining bandwidth of the link from port 3 to node22.
  • node3 can receive the detection message originated by the destination node node22 from port 3 and port 4 (for node3, the received detection message is the first detection message, and the first detection message is node4 and The second detection message sent by node7). Since the two detection messages arrive at node3 at different times, once node3 receives the detection message, it will monitor the remaining bandwidth of the port that received the detection message. If port 4 of node3 receives the probe message first (that is, the node that sends the probe message is node4), the remaining bandwidth of port 4 is monitored as 3, and the remaining bandwidth in the received probe message is 1, therefore, The remaining bandwidth of the link from port 4 to node22 is 1.
  • the detection messages sent by Node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node4), and the remaining bandwidth 1 of the link from port 4 to node22. It should be noted that the detection message sent by node3 is not shown in Figure 10b.
  • the detection messages sent by node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node7), and the remaining bandwidth 4 of the link from port 4 to node22.
  • node3 When the business message reaches node3, after node3 determines the ECMP path, it forwards the business message according to the bandwidth usage parameter table, that is, sends it along the ECMP link with large remaining bandwidth to the next hop, that is, along the path node3 via port 3 -->node7-->node22 send, thus effectively avoiding the occurrence of congestion.
  • Figures 12a and 12b show the path selection process when there are working paths and protection paths.
  • all nodes in the network topology are SR nodes, the source node is node11, and the destination node is node22.
  • the controller delivers the segment-list to the source node.
  • the segment-list is encapsulated into the head of the business message, and the business message is transmitted along the path shown by the arrow according to the segment-list. That is, node11-->node1-->node>2-->node3.
  • the path from node3 to node22 is loose, that is, the segment-list does not clearly specify which way to go from node3 to the destination node node22.
  • working paths and protection paths are allocated in the topology.
  • the control plane of Node3 calculates the working path based on cost: node3-->node4-->node22, and the protection path is: node3-->node7-->node22.
  • the detection message is used to periodically report the link bandwidth usage in reverse, so that the nodes in the link can judge the subsequent link
  • the congestion situation is used to decide which path of the work and protection path is more suitable for transmitting business packets.
  • a congestion threshold (ie, a threshold) needs to be set.
  • the threshold is set to 90%. If the congestion of the working path reaches the threshold and the congestion of the protection path does not reach the threshold, part of the business will be switched from the working path to the protection path; if the congestion of the working and protection paths both exceed the threshold, it needs to be recalculated from node3 The path to node22 to avoid congested paths.
  • the user specifies node22 as the starting node, and the user configures node22 to trigger node22 to actively send detection packets in the reverse direction.
  • the method for transmitting the probe message on node4 and node7 is the same as the foregoing description.
  • the node3 node is mainly described.
  • the bandwidth usage parameter is bandwidth utilization as an example. It should be noted that the case where the bandwidth usage parameter is the remaining bandwidth is also applicable to the working path + protection path scenario of this embodiment.
  • the bandwidth utilization parameter table needs to record the bandwidth utilization data of the working path and the protection path. If the bandwidth utilization rate of the working path and the protection path are both 10% when the service message starts to be sent, after the service message is transmitted for a period of time, node3 first detects that port 4 receives the probe message, and the port 4 to node22 The bandwidth utilization rate of the link is 90%. The node3 node judges that port 4 has its own corresponding work-protection link group, that is, it needs to update the bandwidth usage parameter table. Node3 updates the path bandwidth utilization rate corresponding to the starting port 4 of the working path to 90% in the bandwidth usage parameter table, the starting port of the working path is unchanged as port 4, and the next hop node remains unchanged as node4. The information of the protection path in the bandwidth usage parameter table remains unchanged, that is, the starting port of the protection path is port 3, the corresponding path bandwidth utilization rate is 10%, and the next hop node is node3.
  • the bandwidth utilization rate of the link from port 3 to node 22 is 30%
  • node3 judges that port 3 has its own corresponding work-protection link group, that is, it needs to be updated Bandwidth usage parameter table.
  • node3 updates the path bandwidth utilization rate corresponding to the starting port of the protection path as port 3 to 30%
  • the starting port of the protection path as port 3 remains unchanged
  • the next hop node remains unchanged as node7.
  • the information of the working path in the bandwidth usage parameter table remains unchanged, that is, the starting port of the working path is port 4, the corresponding path bandwidth utilization rate is 90%, and the next hop node is node3.
  • trigger node3 will enable the protection path to share part of the working path of the business message transmission.
  • node3 determines that the working path is congested, and divides the business message according to the strategy set by the user.
  • the protection link with low utilization rate is sent to the next hop (that is, sent along the path node3-->node7-->node22 through port 3 to the tail node), and some business packets are still transmitted on the working path (that is, along the port 4 Send to the tail node along the path node3-->node4->node22), thereby effectively reducing the congestion of the working path.
  • the bandwidth utilization of the working path drops below the congestion threshold, subsequent packets are still selected for transmission on the working path.
  • this solution in view of path congestion, can efficiently use the working and protection paths.
  • the protection path shares the service pressure of the working path and alleviates the congestion of the working path.
  • an embodiment of the present application also provides a path selection device.
  • the path selection device may be implemented in the control plane or hardware. As shown in FIG. 10, the path selection device includes: a receiving module 101, an acquiring module 102, a determining module 103, an entry maintenance module 104, and a service processing module 105.
  • the receiving module 101 is configured to receive the first detection message and receive the service message.
  • the acquiring module 102 is configured to acquire the bandwidth usage parameter and the identifier of the designated network device carried in the first detection message, and the designated network device is the last network device in the service path.
  • the determining module 103 is configured to determine bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device.
  • the entry maintenance module 104 is configured to: when the current network device belongs to the ECMP link group or the work-protection link group corresponding to the identifier of the specified network device, according to the bandwidth usage parameter of the port, the first detection report The bandwidth usage parameters in the text and the identification of the designated network device and the locally stored bandwidth usage parameter table are maintained, and the bandwidth usage parameter table is maintained; the bandwidth usage parameter table includes the identification of the specified network device, the bandwidth usage parameter and the next hop network device Of the logo.
  • the service processing module 105 is configured to, when the receiving module receives the service message, after determining the ECMP path or the working-protection path, forward the service message according to the bandwidth usage parameter table.
  • the entry maintenance module 104 is configured to: when the identity of the network device sending the first detection message is the same as the identity of the next hop network device in the bandwidth usage parameter table, according to the port The bandwidth usage parameter of the link between the designated network device is updated, and the path bandwidth usage parameter in the bandwidth usage parameter table is updated; when the identification of the network device sending the first detection message and the bandwidth usage parameter table When the identifiers of the next-hop network devices are different, the bandwidth is maintained according to the comparison result of the bandwidth usage parameters of the link between the port and the designated network device and the path bandwidth usage parameters in the bandwidth usage parameter table Use parameter tables.
  • the determining module 103 is configured to determine the bandwidth usage parameter of the port that receives the first detection message; according to the bandwidth usage parameter of the port and the bandwidth usage parameter in the first detection message, Determine the bandwidth usage parameter of the link between the port and the designated network device.
  • the bandwidth usage parameter includes a bandwidth utilization rate
  • the determining module 103 is configured to determine the maximum value of the bandwidth utilization rate of the port and the bandwidth utilization rate in the first detection message.
  • the entry maintenance module 104 is configured to: when the bandwidth utilization rate of the link between the port and the designated network device is less than the path bandwidth utilization rate in the bandwidth utilization parameter table, according to the sending station
  • the identifier of the network device of the first detection message updates the identifier of the next-hop network device in the bandwidth usage parameter table, and updates the bandwidth according to the bandwidth utilization rate of the link between the port and the designated network device Use the path bandwidth utilization rate in the parameter table; when the bandwidth utilization rate of the link between the port and the designated network device is greater than or equal to the path bandwidth utilization rate in the bandwidth utilization parameter table, the bandwidth is not updated Use parameter tables.
  • the bandwidth usage parameter includes remaining bandwidth
  • the determining module 103 is configured to determine the minimum value of the remaining bandwidth of the port and the remaining bandwidth in the first detection message.
  • the entry maintenance module 104 is configured to, when the remaining bandwidth of the link between the port and the designated network device is greater than the remaining bandwidth of the path in the bandwidth usage parameter table, send the first The identification of the network device of a detection message updates the identification of the next-hop network device in the bandwidth usage parameter table, and updates the bandwidth usage parameter table according to the remaining bandwidth of the link between the port and the designated network device When the remaining bandwidth of the link between the port and the designated network device is less than or equal to the remaining bandwidth of the path in the bandwidth usage parameter table, the bandwidth usage parameter table is not updated.
  • the path selection device further includes a first detection message generating module and a first sending module.
  • the first detection message generating module is configured to generate a second detection message.
  • the message includes the identifier of the designated network device and the bandwidth usage parameter of the link between the port and the designated network device.
  • the first sending module is configured to send the second detection message to a pre-configured multicast group member.
  • the path selection device further includes a second detection message generation module and a second transmission module, and the second detection message generation module is configured to generate a third detection message when the trigger condition is satisfied.
  • the third detection message carries the bandwidth usage parameter and the identifier of the local network device.
  • the second sending module is configured to send the third detection message to a pre-configured multicast group member according to a preset period.
  • the port when the network device belongs to at least one working-protection link group, the port includes the starting port of the working path and the starting port of the protection path, and the bandwidth usage parameter table is used to record the working path And protection path information, the information includes starting port information, path bandwidth usage parameters, and next-hop network device identification.
  • the service processing module 105 is configured to: if the bandwidth usage parameter of the link between the start port of the working path and the designated network device, the link between the start port of the protection path and the designated network device If the bandwidth usage parameters and the preset threshold meet the preset conditions, after the service message is received and the working-protection path is determined, the distribution ratio is determined according to the bandwidth usage parameter table, and the distribution ratio is used according to the distribution ratio. The working path and the protection path send the service message.
  • An embodiment of the present application also provides a computer device, which includes: one or more processors and a storage device; wherein, one or more programs are stored on the storage device, and when the one or more programs are When executed by the or multiple processors, the foregoing one or more processors implement the path selection methods provided in the foregoing embodiments.
  • the embodiments of the present application also provide a computer-readable medium on which a computer program is stored, wherein the computer program implements the path selection method provided in the foregoing embodiments when the computer program is executed.
  • the functional modules/units in the device can be implemented as software, firmware, hardware, and appropriate combinations thereof.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components.
  • the components are executed cooperatively.
  • Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
  • Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
  • the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
  • Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
  • communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .

Abstract

Embodiments of the present application provide a path selection method, comprising: determine a bandwidth usage parameter of a link between a port for receiving a first detection packet and a specified network device, wherein the specified network device is a last network device in the transmission path of an ECMP link group or a working-protection link group; a first network device in the ECMP link group or the working-protection link group maintains a bandwidth usage parameter table according to a locally stored bandwidth usage parameter table, the bandwidth usage parameter of the link between the port and the specified network device, and the bandwidth usage parameter and the identifier of the specified network device in the first detection packet; after receiving a service packet and determining an ECMP path or a working-protection path, the network device can forward the service path according to the bandwidth usage parameter table.

Description

路径选择方法、装置、计算机设备和计算机可读介质Path selection method, device, computer equipment and computer readable medium
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为201911410896.X、申请日为2019年12月31日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is filed based on the Chinese patent application with the application number 201911410896.X and the filing date on December 31, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this by way of introduction. Application.
技术领域Technical field
本申请涉及数据传输技术领域,具体涉及一种路径选择方法、装置、计算机设备和计算机可读介质。This application relates to the field of data transmission technology, and in particular to a path selection method, device, computer equipment, and computer-readable medium.
背景技术Background technique
智能调度是数据中心网络中的一个关键能力。目前,在SDN(Software Defined Network,软件定义网络)场景中应用SR(Segment Routing,分段路由)技术后,更好的实现了流量调度和路径优化。但是在应用Prefix Segment(前缀段)的场景中,部分路径段是松散的,没有被段路由列表(Segment Routing list)明确指定路径的部分(松散路径段)需要由交换设备本地算路选路。交换设备依据当前的路由协议计算最优下一跳时,选路依据是代价值更小,算路结果可能是等价多路径,或者是明确的一条最优路径。由于计算路径时没考虑拥塞信息,导致可能选择了一条拥塞的路径传送报文。另外,假如由控制器解决拥塞问题,需要将数据逐包上送控制器,流量将占用线卡很大的带宽;并且,控制器集中处理庞大的状态(拥塞状态)消息后重新算路,延时大,不利于链路拥塞的及时解决。Intelligent scheduling is a key capability in data center networks. At present, after applying SR (Segment Routing) technology in SDN (Software Defined Network) scenarios, traffic scheduling and path optimization are better realized. However, in the scenario where Prefix Segment is applied, some path segments are loose, and the part (loose path segment) of the path that is not clearly specified by the segment routing list needs to be calculated locally by the switching device. When the switching equipment calculates the optimal next hop according to the current routing protocol, the routing basis is based on the lower cost value, and the result of the routing calculation may be equal-cost multi-path or a clear optimal path. Since congestion information is not considered when calculating the path, a congested path may be selected to transmit packets. In addition, if the controller solves the congestion problem, the data needs to be sent to the controller packet by packet, and the traffic will occupy a large bandwidth of the line card; and the controller recalculates the route after processing the huge state (congestion state) message. The time is large, which is not conducive to the timely resolution of link congestion.
发明内容Summary of the invention
本申请实施例提供一种路径选择方法、装置、计算机设备和计算机可读介质。The embodiments of the present application provide a path selection method, device, computer equipment, and computer readable medium.
本申请实施例提供一种路径选择方法,所述方法包括:接收第一探测报文,获取其中携带的带宽使用参数和指定网络设备的标识,所述指定网络设备为业务路径中最后一个网络设备;确定接收所述第一探测报文的端口到所述指定网络设备之间链路的带宽使用参数;若本网络设备属于所述指定网络设备的标识对应的等 价路由ECMP链路组或工作-保护链路组,则根据本地存储的带宽使用参数表、所述端口到所述指定网络设备之间链路的带宽使用参数以及所述第一探测报文中的带宽使用参数和指定网络设备的标识,维护所述带宽使用参数表;所述带宽使用参数表包括指定网络设备标识、路径带宽使用参数和下一跳网络设备的标识;当接收到业务报文时,在确定出ECMP路径或工作-保护路径之后,根据所述带宽使用参数表转发所述业务报文。An embodiment of the present application provides a path selection method, the method includes: receiving a first detection message, obtaining bandwidth usage parameters carried therein and an identifier of a designated network device, where the designated network device is the last network device in the service path ; Determine the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device; if the network device belongs to the equivalent route ECMP link group or work corresponding to the identifier of the designated network device -The protection link group is based on the locally stored bandwidth usage parameter table, the bandwidth usage parameter of the link between the port and the designated network device, and the bandwidth usage parameter and the designated network device in the first detection message To maintain the bandwidth usage parameter table; the bandwidth usage parameter table includes the identifier of the designated network device, the path bandwidth usage parameter, and the next hop network device; when the service packet is received, the ECMP path or After the working-protection path, the service message is forwarded according to the bandwidth usage parameter table.
本申请实施例还提供一种路径选择装置,包括:接收模块、获取模块、确定模块、表项维护模块和业务处理模块;所述接收模块用于,接收第一探测报文,以及接收业务报文;所述获取模块用于,获取所述第一探测报文中携带的带宽使用参数和指定网络设备的标识,所述指定网络设备为业务路径中最后一个网络设备;所述确定模块用于,确定接收所述第一探测报文的端口到所述指定网络设备之间链路的带宽使用参数;所述表项维护模块用于,当本网络设备属于所述指定网络设备的标识对应的ECMP链路组或工作-保护链路组时,根据所述端口的带宽使用参数、所述第一探测报文中的带宽使用参数和指定网络设备的标识以及本地存储的带宽使用参数表,维护所述带宽使用参数表;所述带宽使用参数表包括指定网络设备标识、带宽使用参数和下一跳网络设备的标识;所述业务处理模块用于,当所述接收模块接收到业务报文时,在确定出ECMP路径或工作-保护路径之后,根据所述带宽使用参数表转发所述业务报文。An embodiment of the present application also provides a path selection device, including: a receiving module, an acquiring module, a determining module, an entry maintenance module, and a service processing module; the receiving module is used to receive the first detection message and receive the service report The acquisition module is used to acquire the bandwidth usage parameters and the identification of the designated network device carried in the first detection message, the designated network device is the last network device in the service path; the determination module is used to , Determining the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device; the entry maintenance module is used to: when the current network device belongs to the identifier corresponding to the designated network device In the case of an ECMP link group or a working-protection link group, maintain the bandwidth usage parameter table according to the bandwidth usage parameter of the port, the bandwidth usage parameter in the first detection message, the identifier of the designated network device, and the locally stored bandwidth usage parameter table The bandwidth usage parameter table; the bandwidth usage parameter table includes a designated network device identifier, a bandwidth usage parameter, and an identifier of the next hop network device; the service processing module is used to, when the receiving module receives a service message After determining the ECMP path or the working-protection path, forward the service message according to the bandwidth usage parameter table.
本申请实施例还提供一种计算机设备,包括:一个或多个处理器以及存储装置;其中,存储装置上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如前述各实施例所提供的路径选择方法。An embodiment of the present application also provides a computer device, including: one or more processors and a storage device; wherein, one or more programs are stored on the storage device, and when the above one or more programs are processed by the above one or more When the processor is executed, the above-mentioned one or more processors implement the path selection methods provided in the foregoing embodiments.
本申请实施例还提供了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被执行时实现如前述各实施例所提供的路径选择方法。The embodiments of the present application also provide a computer-readable medium on which a computer program is stored, wherein the computer program implements the path selection method provided in the foregoing embodiments when the computer program is executed.
附图说明Description of the drawings
图1为本申请实施例提供的路径选择方法的流程图;Fig. 1 is a flowchart of a path selection method provided by an embodiment of the application;
图2a为本申请实施例提供的探测报文的结构示意图之一;Figure 2a is one of the structural schematic diagrams of the detection message provided by the embodiment of the application;
图2b为本申请实施例提供的探测报文的结构示意图之二;FIG. 2b is the second schematic diagram of the structure of the detection message provided by the embodiment of this application;
图3为本申请实施例提供的维护带宽使用参数表的流程图;FIG. 3 is a flowchart of maintaining a bandwidth usage parameter table provided by an embodiment of the application;
图4为本申请实施例提供的接收第一探测报文的端口到指定网络设备之间链路的带宽使用参数的流程图;4 is a flowchart of bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device according to an embodiment of the application;
图5为本申请实施例提供的根据端口到指定网络设备之间链路的带宽使用参数和带宽使用参数表中的路径带宽使用参数的比较结果,维护带宽使用参数表的流 程图之一;Fig. 5 is one of the flowcharts for maintaining the bandwidth usage parameter table according to the comparison result of the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table according to the embodiment of the application;
图6为本申请实施例提供的根据端口到指定网络设备之间链路的带宽使用参数和带宽使用参数表中的路径带宽使用参数的比较结果,维护带宽使用参数表的流程图之二;FIG. 6 is the second flowchart of maintaining the bandwidth usage parameter table according to the comparison result of the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table according to the embodiment of the application;
图7为本申请实施例提供的生成、发送第二探测报文的流程图;FIG. 7 is a flowchart of generating and sending a second probe message provided by an embodiment of the application;
图8为本申请实施例提供的生成、发送第三探测报文的流程图;FIG. 8 is a flowchart of generating and sending a third probe message according to an embodiment of the application;
图9为本申请实施例提供的工作-保护链路组场景下路径选择的流程图;FIG. 9 is a flowchart of path selection in a work-protection link group scenario provided by an embodiment of the application;
图10a为本申请一实施例提供的ECMP链路组场景下的网络拓扑图;Figure 10a is a network topology diagram in an ECMP link group scenario provided by an embodiment of this application;
图10b为本申请一实施例提供的ECMP链路组场景下路径选择示意图;FIG. 10b is a schematic diagram of path selection in an ECMP link group scenario provided by an embodiment of the application;
图11a为本申请又一实施例提供的ECMP链路组场景下的网络拓扑图;FIG. 11a is a network topology diagram in an ECMP link group scenario provided by another embodiment of this application;
图11b为本申请又一实施例提供的ECMP链路组场景下路径选择示意图;FIG. 11b is a schematic diagram of path selection in an ECMP link group scenario provided by another embodiment of this application;
图12a为本申请一实施例提供的工作-保护链路组场景下的网络拓扑图;Figure 12a is a network topology diagram in a work-protection link group scenario provided by an embodiment of the application;
图12b为本申请一实施例提供的工作-保护链路组场景下的路径选择示意图;Figure 12b is a schematic diagram of path selection in a work-protection link group scenario provided by an embodiment of the application;
图13为本申请实施例提供的路径选择装置的结构示意图。FIG. 13 is a schematic structural diagram of a path selection device provided by an embodiment of the application.
具体实施方式Detailed ways
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本申请透彻和完整,并将使本领域技术人员充分理解本申请的范围。Hereinafter, example embodiments will be described more fully with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, the purpose of providing these examples is to make this application thorough and complete, and to enable those skilled in the art to fully understand the scope of this application.
如本文所使用的,术语“和/或”包括一个或多个相关列举条目的任何和所有组合。As used herein, the term "and/or" includes any and all combinations of one or more related listed items.
本文所使用的术语仅用于描述特定实施例,且不意欲限制本申请。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其他特征、整体、步骤、操作、元件、组件和/或其群组。The terms used herein are only used to describe specific embodiments and are not intended to limit the application. As used herein, the singular forms "a" and "the" are also intended to include the plural forms, unless the context clearly dictates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, it specifies the presence of the described features, wholes, steps, operations, elements and/or components, but does not exclude the presence or Add one or more other features, wholes, steps, operations, elements, components, and/or groups thereof.
本文所述实施例可借助本申请的理想示意图而参考平面图和/或截面图进行描述。因此,可根据制造技术和/或容限来修改示例图示。因此,实施例不限于附图中所示的实施例,而是包括基于制造工艺而形成的配置的修改。因此,附图中例示的区具有示意性属性,并且图中所示区的形状例示了元件的区的具体形状,但并不旨在是限制性的。The embodiments described herein can be described with reference to plan views and/or cross-sectional views with the help of ideal schematic diagrams of the present application. Therefore, the example illustrations may be modified according to manufacturing technology and/or tolerances. Therefore, the embodiment is not limited to the embodiment shown in the drawings, but includes a modification of the configuration formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the figures exemplify the specific shapes of the regions of the elements, but are not intended to be limiting.
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本申请的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。Unless otherwise defined, the meanings of all terms (including technical and scientific terms) used herein are the same as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having meanings consistent with their meanings in the context of the related technology and this application, and will not be interpreted as having idealized or excessive formal meanings, Unless this article specifically defines it as such.
本申请的一个实施例提供一种路径选择方法,应用于SDN(Software Defined Network,软件定义网络)中SR(Segment Routing,分段路由)场景,例如应用于Prefix Segment(前缀段)。An embodiment of the present application provides a path selection method, which is applied to an SR (Segment Routing) scenario in SDN (Software Defined Network), for example, it is applied to Prefix Segment.
如图1所示,所述路径选择方法包括以下步骤:As shown in Figure 1, the path selection method includes the following steps:
步骤11,接收第一探测报文,获取其中携带的带宽使用参数和指定网络设备的标识。Step 11: Receive the first detection message, and obtain the bandwidth usage parameter and the identifier of the designated network device carried in it.
在本申请实施例中,指定网络设备为业务路径中最后一个网络设备。In the embodiment of the present application, the designated network device is the last network device in the service path.
在一些实施例中,带宽使用参数可以包括带宽利用率或剩余带宽。In some embodiments, bandwidth usage parameters may include bandwidth utilization or remaining bandwidth.
步骤12,确定接收第一探测报文的端口到指定网络设备之间链路的带宽使用参数。Step 12: Determine the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device.
在本步骤中,接收第一探测报文的端口到指定网络设备之间的链路是指本网络设备(即接收到第一探测报文的网络设备)的该端口与指定网络设备之间的链路,该链路可以包括一段或多段路径。In this step, the link between the port that receives the first detection message and the designated network device refers to the link between the port of the network device (that is, the network device that received the first detection message) and the designated network device Link, the link can include one or more paths.
确定接收第一探测报文的端口到指定网络设备之间链路的带宽使用参数的具体流程,后续结合图3再详细说明。The specific process of determining the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device will be described in detail later in conjunction with FIG. 3.
步骤13,若本网络设备属于所述指定网络设备的标识对应的ECMP链路组或工作-保护链路组,则根据本地存储的带宽使用参数表、端口到指定网络设备之间链路的带宽使用参数以及第一探测报文中的带宽使用参数和指定网络设备的标识,维护带宽使用参数表。Step 13. If the network device belongs to the ECMP link group or the work-protection link group corresponding to the identifier of the designated network device, the bandwidth of the link between the port and the designated network device according to the locally stored bandwidth usage parameter table The use of parameters and the bandwidth use parameters in the first probe message and the identification of the designated network device maintain a bandwidth use parameter table.
带宽使用参数表如表1所示,可以包括指定网络设备标识、路径带宽使用参数和下一跳网络设备的标识。The bandwidth usage parameter table is shown in Table 1, which may include the identification of the designated network device, the path bandwidth usage parameter, and the identification of the next hop network device.
表1Table 1
Figure PCTCN2020141636-appb-000001
Figure PCTCN2020141636-appb-000001
维护带宽使用参数表的具体流程,后续结合图2再详细说明。The specific process of maintaining the bandwidth usage parameter table will be described in detail later in conjunction with Figure 2.
步骤14,当接收到业务报文时,在确定出ECMP路径或工作-保护路径之后,根据带宽使用参数表转发业务报文。Step 14. When a service message is received, after determining the ECMP path or the working-protection path, the service message is forwarded according to the bandwidth usage parameter table.
在本步骤中,本网络设备根据带宽使用参数表中下一跳网络设备的标识确定下一跳网络设备,将业务报文转发至该下一跳网络设备,从而实现等价路径或工作-保护路径选择。In this step, the network device determines the next-hop network device according to the identifier of the next-hop network device in the bandwidth usage parameter table, and forwards the service message to the next-hop network device, thereby realizing the equivalent path or work-protection Path Selection.
本申请实施例提供的路径选择方法,确定接收第一探测报文的端口到指定网络设备之间链路的带宽使用参数,指定网络设备为业务路径中最后一个网络设备,由ECMP链路组或工作-保护链路组中首个网络设备根据本地存储的带宽使用参数表、端口到指定网络设备之间链路的带宽使用参数以及第一探测报文中的带宽使用参数和指定网络设备的标识,维护该带宽使用参数表,在接收到业务报文并确定出ECMP路径或工作-保护路径之后,该网络设备能够根据带宽使用参数表转发业务报文;本申请实施例按照与业务报文传送方向相反的方向发送携带带宽使用参数的探测报文,由ECMP链路组或工作-保护链路组中首个网络设备根据链路带宽使用参数维护带宽使用参数表,并将带宽使用参数表作为业务报文转发路径的选择依据,选择最优路径,可以快速从多条备选路径中找到拥塞程度最小的链路;本申请实施例无需向控制器上报数据,在路径选择过程中不会占用线卡带宽,降低了控制器的处理压力和带宽资源占用。The path selection method provided by the embodiment of the application determines the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device, and the designated network device is the last network device in the service path. The ECMP link group or The first network device in the work-protection link group is based on the locally stored bandwidth usage parameter table, the bandwidth usage parameter of the link between the port and the specified network device, the bandwidth usage parameter in the first detection message and the identification of the specified network device Maintain the bandwidth usage parameter table. After receiving the service message and determining the ECMP path or the working-protection path, the network device can forward the service message according to the bandwidth usage parameter table; The detection message carrying bandwidth usage parameters is sent in the opposite direction. The first network device in the ECMP link group or work-protection link group maintains the bandwidth usage parameter table according to the link bandwidth usage parameters, and uses the bandwidth usage parameter table as The basis for the selection of the forwarding path for business packets is to select the optimal path, and the link with the least congestion level can be quickly found from multiple alternative paths; the embodiment of this application does not need to report data to the controller, and it will not be occupied during the path selection process. The line card bandwidth reduces the processing pressure and bandwidth resource occupation of the controller.
在一些实施例中,带宽使用参数为带宽利用率,如图2a所示,第一探测报文至少包括:指定网络设备的标识SID和带宽利用率util,需要说明的是,第一探测报文还可以包括以太头和IP(Internet Protocol,网际互连协议)头,以太头中携带以太网类型,IP头中携带组播地址(即多播组成员的地址)。In some embodiments, the bandwidth usage parameter is bandwidth utilization. As shown in FIG. 2a, the first detection message at least includes: the identification SID of the designated network device and the bandwidth utilization util. It should be noted that the first detection message It may also include an Ethernet header and an IP (Internet Protocol, Internet Protocol) header. The Ethernet header carries the Ethernet type, and the IP header carries the multicast address (that is, the address of the multicast group member).
在一些实施例中,带宽使用参数为剩余带宽,如图2b所示,第一探测报文至少包括:指定网络设备的标识SID和剩余带宽,需要说明的是,第一探测报文还可以包括以太头和IP头,以太头中携带以太网类型,IP头中携带组播地址(即多播组成员的地址)。In some embodiments, the bandwidth usage parameter is the remaining bandwidth. As shown in FIG. 2b, the first detection message includes at least: the identification SID of the designated network device and the remaining bandwidth. It should be noted that the first detection message may also include The Ethernet header and the IP header, the Ethernet header carries the Ethernet type, and the IP header carries the multicast address (that is, the address of the multicast group member).
在本申请实施例中,剩余带宽可以通过剩余带宽量化值BWQ表示,剩余带宽量化值BWQ与带宽BW具有一定的映射关系,该映射关系如表2所示。In the embodiment of the present application, the remaining bandwidth may be represented by the remaining bandwidth quantized value BWQ, and the remaining bandwidth quantized value BWQ has a certain mapping relationship with the bandwidth BW, and the mapping relationship is shown in Table 2.
表2Table 2
剩余带宽量化值BWQResidual bandwidth quantization value BWQ 剩余带宽BW范围Remaining bandwidth BW range
00 未量化 Unquantified
11 BW<a GEBW<a GE
22 a GE≤BW<b GEa GE≤BW<b GE
33 c GE≤BW<d GEc GE≤BW<d GE
44 e GE≤BW<f GEe GE≤BW<f GE
55 g GE≤BW<h GEg GE≤BW<h GE
...... ......
表2中的a、b、c、d、e、f、g、h表示带宽的实际值。In Table 2, a, b, c, d, e, f, g, and h represent the actual value of the bandwidth.
可以先计算端口的剩余带宽BW,剩余带宽BW=带宽*(1-带宽利用率),然后根据BW查询表2,得到对应的BWQ。You can first calculate the remaining bandwidth BW of the port, remaining bandwidth BW = bandwidth * (1-bandwidth utilization), and then query Table 2 according to the BW to obtain the corresponding BWQ.
在一些实施例中,如图3所示,所述确定接收第一探测报文的端口到指定网络设备之间链路的带宽使用参数(即步骤12),包括:In some embodiments, as shown in FIG. 3, the determining the bandwidth usage parameter of the link between the port receiving the first probe message and the designated network device (that is, step 12) includes:
步骤121,确定接收第一探测报文的端口的带宽使用参数。Step 121: Determine the bandwidth usage parameter of the port that receives the first detection message.
在本步骤中,可直接测量接收第一探测报文的端口的带宽参数。In this step, the bandwidth parameter of the port that receives the first probe message can be directly measured.
步骤122,根据端口的带宽使用参数和第一探测报文中的带宽使用参数,确定端口到指定网络设备之间链路的带宽使用参数。Step 122: Determine the bandwidth usage parameter of the link between the port and the designated network device according to the bandwidth usage parameter of the port and the bandwidth usage parameter in the first detection message.
在本步骤中,当带宽使用参数为带宽利用率时,确定端口的带宽利用率和第一探测报文中的带宽利用率中的最大值,将该最大值作为端口到指定网络设备之间链路的带宽使用参数。当带宽使用参数为剩余带宽时,确定端口的剩余带宽和第一探测报文中的剩余带宽中的最小值,将该最小值作为端口到指定网络设备之间链路的带宽使用参数。In this step, when the bandwidth usage parameter is the bandwidth utilization rate, determine the maximum value of the bandwidth utilization rate of the port and the bandwidth utilization rate in the first probe message, and use the maximum value as the link between the port and the specified network device The bandwidth usage parameter of the road. When the bandwidth usage parameter is the remaining bandwidth, determine the minimum value of the remaining bandwidth of the port and the remaining bandwidth in the first detection message, and use the minimum value as the bandwidth usage parameter of the link between the port and the designated network device.
在一些实施例中,如图4所示,所述根据本地存储的带宽使用参数表、端口到指定网络设备之间链路的带宽使用参数以及第一探测报文中的带宽使用参数和指定网络设备的标识,维护带宽使用参数表(即步骤13),包括:In some embodiments, as shown in FIG. 4, according to the locally stored bandwidth usage parameter table, the bandwidth usage parameter of the link between the port and the designated network device, the bandwidth usage parameter in the first detection message and the designated network The identification of the device and the maintenance of the bandwidth usage parameter table (that is, step 13), including:
步骤131,判断发送第一探测报文的网络设备的标识与带宽使用参数表中下一跳网络设备的标识是否相同,若相同,则执行步骤132;否则,执行步骤133。Step 131: Determine whether the identifier of the network device that sent the first detection message is the same as the identifier of the next-hop network device in the bandwidth usage parameter table, if they are the same, perform step 132; otherwise, perform step 133.
在本步骤中,若判断出发送第一探测报文的网络设备的标识与带宽使用参数表中下一跳网络设备的标识相同,说明第一探测报文的发送路径与带宽使用参数表中记录的前次业务报文发送路径相同,则直接更新带宽使用参数表中的路径带宽使用参数。若判断出发送第一探测报文的网络设备的标识与带宽使用参数表中下一跳网络设备的标识不同,说明第一探测报文的发送路径与带宽使用参数表中记录的前次业务报文发送路径不同,则需要将端口到指定网络设备之间链路的带宽使用参数和带宽使用参数表中的路径带宽使用参数相比较,并根据比较结果决定是否更新带宽使用参数表。In this step, if it is determined that the identity of the network device that sent the first probe packet is the same as the identity of the next-hop network device in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet and the bandwidth usage parameter table are recorded If the previous service message transmission path is the same, the path bandwidth usage parameter in the bandwidth usage parameter table is directly updated. If it is determined that the identity of the network device that sent the first probe packet is different from the identity of the next-hop network device in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet is different from the previous service report recorded in the bandwidth usage parameter table. If the file transmission path is different, you need to compare the bandwidth usage parameters of the link between the port and the designated network device with the path bandwidth usage parameters in the bandwidth usage parameter table, and decide whether to update the bandwidth usage parameter table according to the comparison result.
步骤132,根据端口到指定网络设备之间链路的带宽使用参数,更新带宽使用 参数表中的路径带宽使用参数。Step 132: Update the path bandwidth usage parameter in the bandwidth usage parameter table according to the bandwidth usage parameter of the link between the port and the designated network device.
在本步骤中,直接将带宽使用参数表中的路径带宽使用参数更新为端口到指定网络设备之间链路的带宽使用参数。In this step, directly update the path bandwidth usage parameter in the bandwidth usage parameter table to the bandwidth usage parameter of the link between the port and the designated network device.
步骤133,根据端口到指定网络设备之间链路的带宽使用参数和带宽使用参数表中的路径带宽使用参数的比较结果,维护带宽使用参数表。Step 133: Maintain a bandwidth usage parameter table according to the comparison result of the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table.
对于带宽使用参数为带宽利用率的情况,维护带宽使用参数表的具体实现方式后续结图5再详细说明。对于带宽使用参数为剩余带宽的情况,维护带宽使用参数表的具体实现方式后续结图6再详细说明。For the case where the bandwidth usage parameter is bandwidth utilization, the specific implementation of maintaining the bandwidth usage parameter table will be described in detail later in Figure 5. For the case where the bandwidth usage parameter is the remaining bandwidth, the specific implementation of maintaining the bandwidth usage parameter table will be described in detail later in Figure 6.
在一些实施例中,当带宽使用参数为带宽利用率时,如图5所示,所述根据端口到指定网络设备之间链路的带宽使用参数和带宽使用参数表中的路径带宽使用参数的比较结果,维护带宽使用参数表(即步骤133),包括:In some embodiments, when the bandwidth usage parameter is bandwidth utilization, as shown in FIG. 5, the bandwidth usage parameter according to the bandwidth usage parameter of the link between the port and the designated network device and the path bandwidth usage parameter in the bandwidth usage parameter table Compare the results and maintain the bandwidth usage parameter table (that is, step 133), including:
步骤51,判断端口到指定网络设备之间链路的带宽利用率是否小于带宽使用参数表中的路径带宽利用率,若是,则执行步骤52,否则,执行步骤53。Step 51: Determine whether the bandwidth utilization rate of the link between the port and the designated network device is less than the path bandwidth utilization rate in the bandwidth utilization parameter table. If yes, perform step 52; otherwise, perform step 53.
在本步骤中,若判断出端口到指定网络设备之间链路的带宽利用率小于带宽使用参数表中的路径带宽利用率,说明第一探测报文的发送路径与带宽使用参数表中记录的前次业务报文发送路径不同,且第一探测报文的发送路径的带宽利用率小于带宽使用参数表中记录的前次业务报文发送路径的带宽利用率,即第一探测报文发送路径的带宽资源更优,因此,需要更换最优下一跳,相应的,删除带宽使用参数表中原下一跳的信息,并写入本次选择出的最优下一跳的信息。In this step, if it is determined that the bandwidth utilization rate of the link between the port and the designated network device is less than the path bandwidth utilization rate in the bandwidth utilization parameter table, it indicates that the transmission path of the first probe message and the bandwidth utilization parameter table record The previous service packet transmission path is different, and the bandwidth utilization rate of the first probe packet transmission path is less than the bandwidth utilization rate of the previous service packet transmission path recorded in the bandwidth usage parameter table, that is, the first probe packet transmission path The bandwidth resource is better. Therefore, the optimal next hop needs to be replaced. Correspondingly, the information of the original next hop in the bandwidth usage parameter table is deleted, and the information of the optimal next hop selected this time is written.
若判断出端口到指定网络设备之间链路的带宽利用率大于或等于带宽使用参数表中的路径带宽利用率,说明第一探测报文的发送路径与带宽使用参数表中记录的前次业务报文发送路径不同,且第一探测报文的发送路径的带宽利用率大于或等于带宽使用参数表中记录的前次业务报文发送路径的带宽利用率,即第一探测报文发送路径的带宽资源更差,因此,不需要更换最优下一跳,相应的,也不用更新带宽使用参数表。If it is determined that the bandwidth utilization rate of the link between the port and the designated network device is greater than or equal to the path bandwidth utilization rate in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet and the previous service recorded in the bandwidth usage parameter table The message transmission paths are different, and the bandwidth utilization rate of the first detection message transmission path is greater than or equal to the bandwidth utilization rate of the previous service message transmission path recorded in the bandwidth usage parameter table, that is, the bandwidth utilization rate of the first detection message transmission path The bandwidth resource is worse, therefore, there is no need to replace the optimal next hop, and accordingly, there is no need to update the bandwidth usage parameter table.
步骤52,根据发送第一探测报文的网络设备的标识更新带宽使用参数表中下一跳网络设备的标识,并根据端口到指定网络设备之间链路的带宽利用率更新带宽使用参数表中的路径带宽利用率。Step 52: Update the identifier of the next-hop network device in the bandwidth usage parameter table according to the identifier of the network device that sent the first detection message, and update the bandwidth usage parameter table according to the bandwidth utilization of the link between the port and the designated network device Path bandwidth utilization.
在本步骤中,将带宽使用参数表中下一跳网络设备的标识更新为发送第一探测报文的网络设备的标识,并将带宽使用参数表中的路径带宽利用率更新为端口到指定网络设备之间链路的带宽利用率,从而实现最优下一跳信息的更新。In this step, the identifier of the next hop network device in the bandwidth usage parameter table is updated to that of the network device that sent the first probe message, and the path bandwidth utilization in the bandwidth usage parameter table is updated to the port to the designated network The bandwidth utilization of the link between devices, so as to achieve the update of the optimal next hop information.
步骤53,不更新带宽使用参数表。Step 53: Do not update the bandwidth usage parameter table.
在一些实施例中,当带宽使用参数为剩余带宽时,如图6所示,所述根据端口到指定网络设备之间链路的带宽使用参数和带宽使用参数表中的路径带宽使用参数的比较结果,维护带宽使用参数表(即步骤133),包括:In some embodiments, when the bandwidth usage parameter is the remaining bandwidth, as shown in FIG. 6, the bandwidth usage parameter of the link between the port and the designated network device is compared with the path bandwidth usage parameter in the bandwidth usage parameter table. As a result, the maintenance of the bandwidth usage parameter table (that is, step 133) includes:
步骤61,判断端口到指定网络设备之间链路的剩余带宽是否大于带宽使用参数表中的路径剩余带宽,若是,则执行步骤62,;否则,执行步骤63。Step 61: Determine whether the remaining bandwidth of the link between the port and the designated network device is greater than the remaining bandwidth of the path in the bandwidth usage parameter table, if yes, go to step 62; otherwise, go to step 63.
在本步骤中,若判断出端口到指定网络设备之间链路的剩余带宽大于带宽使用参数表中的路径剩余带宽,说明第一探测报文的发送路径与带宽使用参数表中记录的前次业务报文发送路径不同,且第一探测报文的发送路径的剩余带宽大于带宽使用参数表中记录的前次业务报文发送路径的剩余带宽,即第一探测报文发送路径的带宽资源更优,因此,需要更换最优下一跳,相应的,删除带宽使用参数表中原下一跳的信息,并写入本次选择出的最优下一跳的信息。In this step, if it is determined that the remaining bandwidth of the link between the port and the designated network device is greater than the remaining bandwidth of the path in the bandwidth usage parameter table, it indicates that the sending path of the first probe message and the previous time recorded in the bandwidth usage parameter table The service message transmission path is different, and the remaining bandwidth of the first detection message transmission path is greater than the remaining bandwidth of the previous service message transmission path recorded in the bandwidth usage parameter table, that is, the bandwidth resource of the first detection message transmission path is more Therefore, the optimal next hop needs to be replaced. Accordingly, the information of the original next hop in the bandwidth usage parameter table is deleted, and the information of the optimal next hop selected this time is written.
若判断出端口到指定网络设备之间链路的剩余带宽小于或等于带宽使用参数表中的路径剩余带宽,说明第一探测报文的发送路径与带宽使用参数表中记录的前次业务报文发送路径不同,且第一探测报文的发送路径的剩余带宽小于或等于带宽使用参数表中记录的前次业务报文发送路径的剩余带宽,即第一探测报文发送路径的带宽资源更差,因此,不需要更换最优下一跳,相应的,也不用更新带宽使用参数表。If it is determined that the remaining bandwidth of the link between the port and the designated network device is less than or equal to the remaining bandwidth of the path in the bandwidth usage parameter table, it indicates that the sending path of the first probe packet and the previous service packet recorded in the bandwidth usage parameter table The transmission path is different, and the remaining bandwidth of the transmission path of the first probe message is less than or equal to the remaining bandwidth of the previous service message transmission path recorded in the bandwidth usage parameter table, that is, the bandwidth resource of the first probe message transmission path is worse Therefore, there is no need to replace the optimal next hop, and accordingly, there is no need to update the bandwidth usage parameter table.
步骤62,根据发送第一探测报文的网络设备的标识更新带宽使用参数表中下一跳网络设备的标识,并根据端口到所述指定网络设备之间链路的剩余带宽更新带宽使用参数表中的路径剩余带宽。Step 62: Update the identifier of the next-hop network device in the bandwidth usage parameter table according to the identifier of the network device that sent the first detection message, and update the bandwidth usage parameter table according to the remaining bandwidth of the link between the port and the designated network device The remaining bandwidth in the path.
在本步骤中,将带宽使用参数表中下一跳网络设备的标识更新为发送第一探测报文的网络设备的标识,并将带宽使用参数表中的路径剩余带宽更新为端口到指定网络设备之间链路的剩余带宽,从而实现最优下一跳信息的更新。In this step, the identification of the next-hop network device in the bandwidth usage parameter table is updated to the identification of the network device that sent the first probe message, and the remaining bandwidth of the path in the bandwidth usage parameter table is updated to the port to the specified network device The remaining bandwidth of the link between, so as to achieve the update of the optimal next hop information.
步骤63,不更新带宽使用参数表。Step 63: Do not update the bandwidth usage parameter table.
在一些实施例中,由于网络拓扑中存在多个ECMP链路组或工作-保护链路组,因此,还需要将探测报文传递下去。如图7所示,在确定接收第一探测报文的端口到指定网络设备之间链路的带宽使用参数(即步骤12)之后,所述路径选择方法还包括:In some embodiments, since there are multiple ECMP link groups or working-protection link groups in the network topology, it is also necessary to pass the detection message down. As shown in FIG. 7, after determining the bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device (that is, step 12), the path selection method further includes:
步骤71,生成第二探测报文,第二探测报文包括指定网络设备的标识和端口到指定网络设备之间链路的带宽使用参数。Step 71: Generate a second detection message, where the second detection message includes the identifier of the designated network device and the bandwidth usage parameter of the link between the port and the designated network device.
需要说明的是,第二探测报文的结构与第一探测报文的结构相同。It should be noted that the structure of the second detection message is the same as the structure of the first detection message.
在本步骤中,针对带宽使用参数为带宽利用率的情况,在更新完成带宽使用参 数表(包括下一跳网络设备的标识和路径带宽利用率)之后,根据指定网络设备的标识和端口到指定网络设备之间链路的带宽利用率生成第二探测报文。In this step, for the case where the bandwidth usage parameter is bandwidth utilization, after updating the bandwidth usage parameter table (including the identification of the next hop network device and the path bandwidth utilization), the specified network device's identification and port are assigned to the designated The bandwidth utilization rate of the link between the network devices generates the second detection message.
在本步骤中,针对带宽使用参数为剩余带宽的情况,在更新完成带宽使用参数表(包括下一跳网络设备的标识和路径剩余带宽)之后,根据指定网络设备的标识和端口到指定网络设备之间链路的剩余带宽生成第二探测报文。In this step, when the bandwidth usage parameter is the remaining bandwidth, after updating the bandwidth usage parameter table (including the identification of the next hop network device and the remaining bandwidth of the path), the specified network device is sent to the specified network device according to the identification and port of the specified network device The remaining bandwidth of the link between generates a second detection message.
步骤72,向预先配置的多播组成员发送第二探测报文。Step 72: Send a second detection message to a pre-configured multicast group member.
在本步骤中,第二探测报文沿着与业务报文传送方向相反的方向发送,可以将探测报文发送至下一个ECMP链路组或工作-保护链路组。In this step, the second detection message is sent in a direction opposite to the transmission direction of the service message, and the detection message can be sent to the next ECMP link group or working-protection link group.
需要说明的是,无论网络设备是否属于ECMP链路组或工作-保护链路组,接收到第一探测报文的网络设备都会生成并发送第二探测报文,只不过属于ECMP链路组或工作-保护链路组的网络设备还需要维护本地存储的带宽使用参数表,而不属于ECMP链路组或工作-保护链路组的网络设备,不存在路径选择的问题,因此无需在本地存储并维护带宽使用参数表。It should be noted that regardless of whether the network device belongs to the ECMP link group or the work-protection link group, the network device that receives the first detection message will generate and send the second detection message, but it belongs to the ECMP link group or Network devices in the work-protection link group also need to maintain a locally stored bandwidth usage parameter table, and network devices that do not belong to the ECMP link group or work-protect link group have no path selection problem, so there is no need to store locally And maintain the bandwidth usage parameter table.
在一些实施例中,当网络设备为业务路径的最后一个网络设备时,该网络设备生成首个探测报文。如图8所示,所述路径选择方法还包括以下步骤:In some embodiments, when the network device is the last network device in the service path, the network device generates the first detection message. As shown in Figure 8, the path selection method further includes the following steps:
步骤81,当触发条件满足时,生成第三探测报文,第三探测报文携带带宽使用参数和本网络设备的标识。Step 81: When the trigger condition is satisfied, a third detection message is generated, and the third detection message carries the bandwidth usage parameter and the identifier of the local network device.
触发条件满足是指接收到用户发送的配置指令,也就是说,由用户对业务路径的尾节点进行配置,由该业务路径的尾节点构造第三探测报文。Satisfying the trigger condition refers to receiving the configuration instruction sent by the user, that is, the user configures the tail node of the service path, and the tail node of the service path constructs the third detection message.
步骤82,按照预设周期向预先配置的多播组成员发送第三探测报文。Step 82: Send a third probe message to a pre-configured multicast group member according to a preset period.
在本步骤中,业务路径的最后一个网络设备向其多播组成员发送第三探测报文,探测报文携带带宽使用参数和本网络设备的标识,第三探测报文的结构与第一探测报文的结构相同。需要说明的是,用户可以根据需要设置、调整第三探测报文的发送周期,即在发送的配置指令中携带探测报文的发送周期。In this step, the last network device on the service path sends a third probe message to its multicast group members. The probe message carries bandwidth usage parameters and the identity of the network device. The structure of the third probe message is the same as that of the first probe. The structure of the message is the same. It should be noted that the user can set and adjust the sending period of the third probe message as needed, that is, the sending configuration instruction carries the sending period of the probe message.
由于网络中发送探测报文的网络设备是有限的,本申请实施例仅针对时延敏感度高的业务使用,因此给网络带来的影响很小。Since the network devices that send detection messages in the network are limited, the embodiments of the present application are only used for services with high delay sensitivity, and therefore have little impact on the network.
在一些实施例中,当本网络设备属于工作-保护链路组时,接收第一探测报文的端口包括工作路径的起始端口和保护路径的起始端口,带宽使用参数表用于记录工作路径的信息和保护路径的信息,所述信息包括起始端口信息、路径带宽使用参数和下一跳网络设备的标识。In some embodiments, when the network device belongs to the work-protection link group, the port that receives the first detection message includes the start port of the working path and the start port of the protection path, and the bandwidth usage parameter table is used to record the work Path information and protection path information, where the information includes starting port information, path bandwidth usage parameters, and next-hop network device identification.
所述确定接收第一探测报文的端口到指定网络设备之间链路的带宽使用参数(即步骤12),包括:确定接收第一探测报文的工作路径的起始端口到指定网络 设备之间链路的带宽使用参数,以及确定接收第一探测报文的保护路径的起始端口到指定网络设备之间链路的带宽使用参数。也就是说,分别确定工作路径的起始端口和保护路径的起始端口到指定网络设备之间链路的带宽使用参数。The determining the bandwidth usage parameter of the link between the port receiving the first detection message and the designated network device (ie, step 12) includes: determining the start port of the working path for receiving the first detection message to the designated network device. The bandwidth usage parameter of the inter-link, and the bandwidth usage parameter of the link between the starting port of the protection path that receives the first detection message and the designated network device. In other words, the bandwidth usage parameters of the link between the starting port of the working path and the starting port of the protection path to the designated network device are respectively determined.
如图9所示,所述当接收到业务报文时,在确定出工作-保护路径之后,根据带宽使用参数表转发业务报文(即步骤14),包括:As shown in FIG. 9, when a service message is received, after the working-protection path is determined, forwarding the service message according to the bandwidth usage parameter table (that is, step 14) includes:
步骤141,判断工作路径的起始端口到指定网络设备之间链路的带宽使用参数、保护路径的起始端口到指定网络设备之间链路的带宽使用参数和预设阈值是否满足预设条件,若满足,则执行步骤142,否则,结束流程。Step 141: Determine whether the bandwidth usage parameters of the link between the start port of the working path and the designated network device, the bandwidth usage parameters of the link between the start port of the protection path and the designated network device and the preset threshold meet the preset conditions If it is satisfied, go to step 142, otherwise, end the process.
若带宽使用参数包括带宽利用率,则满足预设条件包括:工作路径的起始端口到指定网络设备之间链路的带宽利用率大于预设阈值,且保护路径的起始端口到指定网络设备之间链路的带宽利用率小于该预设阈值,此时,说明工作路径发生了拥塞,其带宽资源较少,而保护路径的带宽资源较多,因此,可以将一部分传输业务数据的任务从工作路径迁移到保护路径上。If the bandwidth usage parameters include bandwidth utilization, satisfying the preset conditions includes: the bandwidth utilization of the link between the start port of the working path and the designated network device is greater than the preset threshold, and the start port of the protection path to the designated network device The bandwidth utilization rate of the link between is less than the preset threshold. At this time, it means that the working path is congested, its bandwidth resources are less, and the protection path has more bandwidth resources. Therefore, part of the task of transmitting service data can be removed from The working path is migrated to the protection path.
若带宽使用参数包括剩余带宽,则满足预设条件包括:工作路径的起始端口到指定网络设备之间链路的剩余带宽小于预设阈值,且保护路径的起始端口到指定网络设备之间链路的剩余带宽大于该预设阈值,此时,说明工作路径发生了拥塞,其带宽资源较少,而保护路径的带宽资源较多,因此,可以将一部分传输业务数据的任务从工作路径迁移到保护路径上。If the bandwidth usage parameters include remaining bandwidth, satisfying the preset conditions includes: the remaining bandwidth of the link between the start port of the working path and the designated network device is less than the preset threshold, and the distance between the start port of the protection path and the designated network device The remaining bandwidth of the link is greater than the preset threshold. At this time, it means that the working path is congested, its bandwidth resources are less, and the protection path has more bandwidth resources. Therefore, part of the task of transmitting service data can be migrated from the working path. To the protection path.
步骤142,当接收到业务报文时,在确定出工作-保护路径之后,根据带宽使用参数表,确定分流比例。Step 142: When the service message is received, after the working-protection path is determined, the offload ratio is determined according to the bandwidth usage parameter table.
在本步骤中,根据带宽使用参数表中记录的工作路径的带宽使用情况和保护路径的带宽使用情况,按照预设策略确定分流比例。In this step, according to the bandwidth usage of the working path and the bandwidth usage of the protection path recorded in the bandwidth usage parameter table, the offload ratio is determined according to the preset strategy.
步骤143,按照分流比例,分别利用工作路径和保护路径发送业务报文。In step 143, the working path and the protection path are respectively used to send service packets according to the distribution ratio.
需要说明的是,随着时间的推移,当工作路径的带宽利用率下降至阈值以下,或者,工作路径的剩余带宽上升至阈值以上时,后续的业务报文仍然选择在工作路径传输。It should be noted that, as time goes by, when the bandwidth utilization rate of the working path drops below the threshold, or the remaining bandwidth of the working path rises above the threshold, subsequent service packets are still selected for transmission on the working path.
本申请实施例针对时延敏感度高的业务,提出了一种应用在Prefix Segment的场景中为松散路由选路的方法,通过松散路径段的尾节点,定时反向(与业务报文传送方向相反)发送探测报文,探测报文中可以携带链路带宽使用参数。由松散路径段的首节点根据链路带宽使用参数选择最优下一跳节点,实现最优转发路径的选择,可以有效地避免拥塞路径。For services with high latency sensitivity, the embodiment of this application proposes a route selection method for loose routing in the Prefix Segment scenario. The tail node of the loose path segment is reversed in timing (with the direction of service packet transmission). On the contrary) send a probe message, which can carry link bandwidth usage parameters. The first node of the loose path segment selects the optimal next hop node according to the link bandwidth usage parameters to realize the selection of the optimal forwarding path, which can effectively avoid the congested path.
为了清楚说明本申请实施例的方案,以下结合不同的应用场景对本申请实施例 的技术方案进行详细说明。In order to clearly describe the solutions of the embodiments of the present application, the technical solutions of the embodiments of the present application will be described in detail below in combination with different application scenarios.
图10a和图10b为带宽使用参数为带宽利用率时的路径选择过程。如图10a所示,网络拓扑中所有节点均为SR节点,源节点为node11,目的节点为node22。控制器将段列表(segment-list)下发到源节点。在源节点将segment-list封装到业务报文头部,按照segment-list,业务报文沿着箭头所示的路径传送。即node11-->node1-->node>2-->node3。而从node3到node22之间的路径是松散的,即segment-list没有明确指定从node3走哪条路到达目的节点node22,而是由node3的控制平面根据路径的代价值(cost)作为约束条件计算路径,计算得到两条ECMP等价路径:node3-->node4-->node22和node3-->node7-->node22。Figures 10a and 10b show the path selection process when the bandwidth usage parameter is bandwidth utilization. As shown in Figure 10a, all nodes in the network topology are SR nodes, the source node is node11, and the destination node is node22. The controller delivers the segment-list to the source node. At the source node, the segment-list is encapsulated into the head of the business message, and the business message is transmitted along the path shown by the arrow according to the segment-list. That is, node11-->node1-->node>2-->node3. The path from node3 to node22 is loose, that is, the segment-list does not clearly specify which way to go from node3 to the destination node node22, but is calculated by the control plane of node3 based on the cost of the path as a constraint condition Path, two ECMP equivalent paths are calculated: node3-->node4-->node22 and node3-->node7-->node22.
如图10b所示,由于本实施例中从node11到node22传送的业务报文对时延敏感度高,为了能够在两条等价路径中选择一条拥塞程度小的路径,node3需要知道ECMP路径的拥塞情况。为了获取链路拥塞信息,用户配置node22,由它开始反向发送探测报文,探测报文携带链路的指定网络设备的标识(指定网络设备即为node22)和带宽利用率信息,反向传递到node3。As shown in Figure 10b, since the service packets transmitted from node11 to node22 in this embodiment are highly sensitive to delay, in order to be able to select a path with less congestion among the two equal-cost paths, node3 needs to know the ECMP path Congestion situation. In order to obtain link congestion information, the user configures node22, which starts to send detection messages in the reverse direction. The detection messages carry the identification of the designated network device of the link (the designated network device is node22) and bandwidth utilization information, and the reverse transmission Go to node3.
用户指定node22为起始节点,由其生成第三探测报文,第三探测报文中指定网络设备的标识SID为16022,带宽利用率util为0。The user designates node22 as the starting node, which generates the third detection message. The identification SID of the specified network device in the third detection message is 16022, and the bandwidth utilization util is 0.
node4的端口3收到第三探测报文,node4监测端口3的带宽利用率为80%,与第三探测报文中携带的带宽利用率对比,node4的端口3的带宽利用率大于第三探测报文中的带宽利用率,因此,node4的端口3到node22的链路的带宽利用率为80%。node4根据收到第三探测报文的端口3的信息,判断出node4在拓扑中不属于任何ECMP链路组或工作-保护链路组,不需要本地存储和维护带宽使用参数表,即不用存储端口3到node22的链路的带宽利用率。Node4生成第二探测报文,将指定网络设备的标识(16022)和端口3到node22的链路的带宽利用率(80%)携带在第二探测报文中。第二探测报文向node4的多播组成员发送,其多播组成员为端口1和端口2,即将第二探测报文分别发送给node3和node5。 Port 3 of node4 receives the third detection message, and node4 monitors that the bandwidth utilization of port 3 is 80%. Compared with the bandwidth utilization carried in the third detection message, the bandwidth utilization of port 3 of node4 is greater than that of the third detection. The bandwidth utilization rate in the message, therefore, the bandwidth utilization rate of the link from port 3 of node4 to node22 is 80%. Based on the information of port 3 receiving the third detection packet, node4 determines that node4 does not belong to any ECMP link group or work-protection link group in the topology, and does not need local storage and maintenance of the bandwidth usage parameter table, that is, no storage is required Bandwidth utilization of the link from port 3 to node22. Node4 generates a second detection message, and carries the identifier of the designated network device (16022) and the bandwidth utilization rate (80%) of the link from port 3 to node22 in the second detection message. The second detection message is sent to the multicast group members of node4, whose multicast group members are port 1 and port 2, that is, the second detection message is sent to node3 and node5 respectively.
node7的情况与node4类似,其端口3收到node22发送的第三探测报文,监测到端口3的带宽利用率为20%,大于第三探测报文中的带宽利用率(0%),因此,node7的端口3到node22的链路带宽利用率为20%。node7与node4类似,不需要本地存储和维护带宽使用参数表,即不用存储端口3到node22的链路的带宽利用率。node7生成第二探测报文,将指定网络设备的标识(16022)和端口3到node22的链路的带宽利用率(20%)携带在第二探测报文中,向node7的多播组成员发送,其多播组成员为端口1和端口2,即将第二探测报文分别发送给node3和node6。The situation of node7 is similar to that of node4. Its port 3 receives the third probe message sent by node22, and it detects that the bandwidth utilization rate of port 3 is 20%, which is greater than the bandwidth utilization rate (0%) in the third probe message. , The link bandwidth utilization rate from port 3 of node7 to node22 is 20%. Node7 is similar to node4. It does not need to store and maintain the bandwidth usage parameter table locally, that is, it does not need to store the bandwidth utilization of the link from port 3 to node22. node7 generates a second detection message, carries the identification of the designated network device (16022) and the bandwidth utilization rate (20%) of the link from port 3 to node22 in the second detection message, and sends it to the multicast group members of node7 , Its multicast group members are port 1 and port 2, and the second detection message is sent to node3 and node6 respectively.
node3从端口3和端口4均能收到由目的节点node22始发的探测报文(对于node3来说,接收到的探测报文为第一探测报文,该第一探测报文即为node4和node7发送的第二探测报文)。由于两路探测报文到达node3的时间不同,node3一旦接收到探测报文,就监测接收到探测报文的端口的带宽利用率。若node3的端口4先接收到探测报文(即发送该探测报文的节点为node4),监测到端口4的带宽利用率为40%,因此,端口4到node22的链路的带宽利用率为80%。由于node3本地存储的带宽使用参数表中记录的下一跳节点也是node4,因此,直接将带宽使用参数表中的路径带宽利用率更新为80%。Node3向node2和node5发送的探测报文中携带node22的标识16022、下一跳节点标识(node4的标识)、端口4到node22的链路带宽利用率80%。需要说明的是,图10b中未示出node3发出的该探测报文。node3 can receive the detection message originated by the destination node node22 from port 3 and port 4 (for node3, the received detection message is the first detection message, and the first detection message is node4 and The second detection message sent by node7). Since the two detection messages arrive at node3 in different times, once node3 receives the detection message, it monitors the bandwidth utilization of the port that received the detection message. If the port 4 of node3 receives the detection message first (that is, the node that sends the detection message is node4), the bandwidth utilization rate of port 4 is monitored to be 40%. Therefore, the bandwidth utilization rate of the link from port 4 to node22 is 80%. Since the next hop node recorded in the bandwidth usage parameter table stored locally in node3 is also node4, the path bandwidth utilization rate in the bandwidth usage parameter table is directly updated to 80%. The detection messages sent by Node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node4), and the bandwidth utilization rate of the link from port 4 to node22 is 80%. It should be noted that the detection message sent by node3 is not shown in FIG. 10b.
当node3的端口3后接收到探测报文(即发送该探测报文的节点为node7)时,监测到端口3的带宽利用率为30%,因此,端口3到node22的链路的带宽利用率为30%。由于node3本地存储的带宽使用参数表中记录的下一跳节点是node4,且端口3到node22的链路的带宽利用率(30%)小于带宽使用参数表中的路径带宽利用率(80%),则将带宽使用参数表中的下一跳节点标识更新为node7,并将带宽使用参数表中的路径带宽利用率更新为30%。如图10b所示,node3向node2和node5发送的探测报文中携带node22的标识16022、下一跳节点标识(node7的标识)、端口4到node22的链路带宽利用率30%。需要说明的是,node3的端口4和端口3接收探测报文的时间间隔很短,node3节点的带宽使用参数表更新很快,不会影响业务报文的传送。When the port 3 of node3 receives the detection message (that is, the node that sends the detection message is node7), the bandwidth utilization rate of port 3 is monitored to be 30%. Therefore, the bandwidth utilization rate of the link from port 3 to node22 Is 30%. Because the next hop node recorded in the bandwidth usage parameter table of node3 local storage is node4, and the bandwidth utilization rate (30%) of the link from port 3 to node22 is less than the path bandwidth utilization rate in the bandwidth usage parameter table (80%) , The next hop node identifier in the bandwidth usage parameter table is updated to node7, and the path bandwidth utilization rate in the bandwidth usage parameter table is updated to 30%. As shown in Figure 10b, the detection messages sent by node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node7), and the bandwidth utilization rate of the link from port 4 to node22 is 30%. It should be noted that the time interval between port 4 and port 3 of node3 to receive detection packets is very short, and the bandwidth usage parameter table of node3 is updated quickly, which will not affect the transmission of service packets.
业务报文到达node3时,node3在确定出ECMP路径之后,按照带宽使用参数表转发该业务报文,即沿着带宽利用率小的ECMP链路发往下一跳,即经端口3沿着路径node3-->node7-->node22发送,从而有效地避免了拥塞的发生。When a business packet arrives at node3, after node3 determines the ECMP path, it forwards the business packet according to the bandwidth usage parameter table, that is, sends it along the ECMP link with low bandwidth utilization to the next hop, that is, along the path via port 3. node3-->node7-->node22 send, thus effectively avoiding the occurrence of congestion.
图11a和图11b为带宽使用参数为剩余带宽时的路径选择过程。如图11a所示,网络拓扑中所有节点均为SR节点,源节点为node11,目的节点为node22。控制器将段列表(segment-list)下发到源节点。在源节点将segment-list封装到业务报文头部,按照segment-list,业务报文沿着箭头所示的路径传送。即node11-->node1-->node>2-->node3。而从node3到node22之间的路径是松散的,即segment-list没有明确指定从node3走哪条路到达目的节点node22,而是由node3的控制平面根据路径的代价值(cost)作为约束条件计算路径,计算得到两条ECMP等价路径:node3-->node4-->node22和node3-->node7-->node22。Figures 11a and 11b show the path selection process when the bandwidth usage parameter is the remaining bandwidth. As shown in Figure 11a, all nodes in the network topology are SR nodes, the source node is node11, and the destination node is node22. The controller delivers the segment-list to the source node. At the source node, the segment-list is encapsulated into the head of the business message, and the business message is transmitted along the path shown by the arrow according to the segment-list. That is, node11-->node1-->node>2-->node3. The path from node3 to node22 is loose, that is, the segment-list does not clearly specify which way to go from node3 to the destination node node22, but is calculated by the control plane of node3 based on the cost of the path as a constraint condition Path, two ECMP equivalent paths are calculated: node3-->node4-->node22 and node3-->node7-->node22.
如图11b所示,由于本实施例中从node11到node22传送的业务报文对时延敏 感度高,为了能够在两条等价路径中选择一条可用带宽更大的路径,node3需要知道ECMP路径的剩余带宽情况。为了获取链路剩余带宽信息,用户配置node22,由它开始反向发送探测报文,探测报文携带链路的指定网络设备的标识(指定网络设备即为node22)和剩余带宽信息,反向传递到node3。As shown in Figure 11b, since the business packets transmitted from node11 to node22 in this embodiment are highly sensitive to delay, in order to be able to select a path with a larger available bandwidth among the two equal-cost paths, node3 needs to know the ECMP path The remaining bandwidth situation. In order to obtain information about the remaining bandwidth of the link, the user configures node22, which starts to send detection messages in the reverse direction. The detection messages carry the identification of the designated network device of the link (the designated network device is node22) and the remaining bandwidth information, which are transmitted in the reverse direction. Go to node3.
用户指定node22为起始节点,由其生成第三探测报文,第三探测报文中指定网络设备的标识SID为16022,剩余带宽BWQ为0。需要说明的是,BWQ为0代表带宽未量化。The user designates node22 as the starting node, which generates the third detection message. The identification SID of the specified network device in the third detection message is 16022, and the remaining bandwidth BWQ is 0. It should be noted that a BWQ of 0 means that the bandwidth is not quantized.
node4的端口3收到第三探测报文,node4监测端口3的剩余带宽为1,与第三探测报文中携带的剩余带宽对比,由于第三探测报文中剩余带宽未量化,因此,node4的端口3到node22的链路的剩余带宽就取端口3的剩余带宽的值1。node4根据收到第三探测报文的端口3的信息,判断出node4在拓扑中不属于任何ECMP链路组或工作-保护链路组,不需要本地存储和维护带宽使用参数表,即不用存储端口3到node22的链路的剩余带宽。Node4生成第二探测报文,将指定网络设备的标识(SID=16022)和端口3到node22的链路的剩余带宽(BWQ=1)携带在第二探测报文中。第二探测报文从node4的多播组成员发送出去,其多播组成员为端口1和端口2,分别发送给node3和node5。The port 3 of node4 receives the third detection packet, and node4 monitors that the remaining bandwidth of port 3 is 1, which is compared with the remaining bandwidth carried in the third detection packet. Since the remaining bandwidth in the third detection packet is not quantified, node4 The remaining bandwidth of the link from port 3 to node22 takes the value 1 of the remaining bandwidth of port 3. Based on the information of port 3 receiving the third detection packet, node4 determines that node4 does not belong to any ECMP link group or work-protection link group in the topology, and does not need local storage and maintenance of the bandwidth usage parameter table, that is, no storage is required The remaining bandwidth of the link from port 3 to node22. Node4 generates a second detection message, and carries the identification of the designated network device (SID=1602) and the remaining bandwidth of the link from port 3 to node22 (BWQ=1) in the second detection message. The second detection message is sent from the multicast group members of node4, whose multicast group members are port 1 and port 2, and are sent to node 3 and node 5 respectively.
node7的情况与node4类似,其端口3收到node22发送的第三探测报文,监测到端口3的剩余带宽为4,node7的端口3到node22的链路剩余带宽为4。node7与node4类似,不需要本地存储和维护带宽使用参数表,即不用存储端口3到node22的链路的剩余带宽。node7生成第二探测报文,将指定网络设备的标识(SID=16022)和端口3到node22的链路的剩余带宽(BWQ=4)携带在第二探测报文中,通过其多播组成员端口1和端口2将第二探测报文分别发送给node3和node6。The situation of node7 is similar to that of node4. Its port 3 receives the third detection message sent by node22 and detects that the remaining bandwidth of port 3 is 4, and the remaining bandwidth of the link from port 3 to node22 of node7 is 4. Node7 is similar to node4. It does not need to store and maintain the bandwidth usage parameter table locally, that is, it does not need to store the remaining bandwidth of the link from port 3 to node22. node7 generates a second detection message, and carries the identification of the designated network device (SID=16022) and the remaining bandwidth (BWQ=4) of the link from port 3 to node22 in the second detection message, which is passed through its multicast group members Port 1 and port 2 send the second detection message to node3 and node6, respectively.
node3从端口3和端口4均能收到由目的节点node22始发的探测报文(对于node3来说,接收到的探测报文为第一探测报文,该第一探测报文即为node4和node7发送的第二探测报文)。由于两路探测报文到达node3的时间不同,node3一旦接收到探测报文,就监测接收到探测报文的端口的剩余带宽。若node3的端口4先接收到探测报文(即发送该探测报文的节点为node4),监测到端口4的剩余带宽为3,而接收到的探测报文中的剩余带宽为1,因此,端口4到node22的链路的剩余带宽为1。由于node3本地存储的带宽使用参数表中记录的下一跳节点也是node4,因此,直接将带宽使用参数表中的路径剩余带宽更新为1。Node3向node2和node5发送的探测报文中携带node22的标识16022、下一跳节点标识(node4的标识)、端口4到node22的链路剩余带宽1。需要说明的是,图10b中 未示出node3发出的该探测报文。node3 can receive the detection message originated by the destination node node22 from port 3 and port 4 (for node3, the received detection message is the first detection message, and the first detection message is node4 and The second detection message sent by node7). Since the two detection messages arrive at node3 at different times, once node3 receives the detection message, it will monitor the remaining bandwidth of the port that received the detection message. If port 4 of node3 receives the probe message first (that is, the node that sends the probe message is node4), the remaining bandwidth of port 4 is monitored as 3, and the remaining bandwidth in the received probe message is 1, therefore, The remaining bandwidth of the link from port 4 to node22 is 1. Since the next hop node recorded in the bandwidth usage parameter table stored locally in node3 is also node4, the remaining bandwidth of the path in the bandwidth usage parameter table is directly updated to 1. The detection messages sent by Node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node4), and the remaining bandwidth 1 of the link from port 4 to node22. It should be noted that the detection message sent by node3 is not shown in Figure 10b.
当node3的端口3后接收到探测报文(即发送该探测报文的节点为node7)时,监测到端口3的剩余带宽为6,而端口3接收到的探测报文中的剩余带宽为4,因此,端口3到node22的链路的剩余带宽为4。由于node3本地存储的带宽使用参数表中记录的下一跳节点是node4,且端口3到node22的链路的剩余带宽(BWQ=4)大于带宽使用参数表中的路径剩余带宽(1),则将带宽使用参数表中的下一跳节点标识更新为node7,并将带宽使用参数表中的路径剩余带宽更新为4。如图10b所示,node3向node2和node5发送的探测报文中携带node22的标识16022、下一跳节点标识(node7的标识)、端口4到node22的链路剩余带宽4。When the port 3 of node3 receives the detection message (that is, the node that sends the detection message is node7), the remaining bandwidth of port 3 is detected as 6, and the remaining bandwidth of the detection message received by port 3 is 4. , Therefore, the remaining bandwidth of the link from port 3 to node22 is 4. Since the next hop node recorded in the bandwidth usage parameter table stored locally in node3 is node4, and the remaining bandwidth of the link from port 3 to node22 (BWQ = 4) is greater than the remaining bandwidth of the path in the bandwidth usage parameter table (1), then Update the next hop node identifier in the bandwidth usage parameter table to node7, and update the remaining bandwidth of the path in the bandwidth usage parameter table to 4. As shown in Figure 10b, the detection messages sent by node3 to node2 and node5 carry the identifier 16022 of node22, the identifier of the next hop node (the identifier of node7), and the remaining bandwidth 4 of the link from port 4 to node22.
业务报文到达node3时,node3在确定出ECMP路径之后,按照带宽使用参数表转发该业务报文,即沿着剩余带宽大的ECMP链路发往下一跳,即经端口3沿着路径node3-->node7-->node22发送,从而有效地避免了拥塞的发生。When the business message reaches node3, after node3 determines the ECMP path, it forwards the business message according to the bandwidth usage parameter table, that is, sends it along the ECMP link with large remaining bandwidth to the next hop, that is, along the path node3 via port 3 -->node7-->node22 send, thus effectively avoiding the occurrence of congestion.
图12a和图12b为存在工作路径和保护路径时的路径选择过程。Figures 12a and 12b show the path selection process when there are working paths and protection paths.
如图12a所示,网络拓扑中所有节点均为SR节点,源节点为node11,目的节点为node22。控制器将段列表(segment-list)下发到源节点。在源节点将segment-list封装到业务报文头部,按照segment-list,业务报文沿着箭头所示的路径传送。即node11-->node1-->node>2-->node3。而从node3到node22之间的路径是松散的,即segment-list没有明确指定从node3走哪条路到达目的节点node22。为更好地保证业务报文发送,在拓扑中分配了工作路径和保护路径。Node3的控制平面依据代价值(cost)计算的工作路径为:node3-->node4-->node22,保护路径为:node3-->node7-->node22。在本实施例工作路径+保护路径的场景中,在不改变控制平面算路算法的情况下,应用探测报文定时反向报告链路带宽使用情况,以便于链路中的节点判断后续链路的拥塞情况,用来决策工作和保护路径哪条路更适合传送业务报文。As shown in Figure 12a, all nodes in the network topology are SR nodes, the source node is node11, and the destination node is node22. The controller delivers the segment-list to the source node. At the source node, the segment-list is encapsulated into the head of the business message, and the business message is transmitted along the path shown by the arrow according to the segment-list. That is, node11-->node1-->node>2-->node3. The path from node3 to node22 is loose, that is, the segment-list does not clearly specify which way to go from node3 to the destination node node22. To better ensure the delivery of service messages, working paths and protection paths are allocated in the topology. The control plane of Node3 calculates the working path based on cost: node3-->node4-->node22, and the protection path is: node3-->node7-->node22. In the working path + protection path scenario of this embodiment, without changing the control plane calculation algorithm, the detection message is used to periodically report the link bandwidth usage in reverse, so that the nodes in the link can judge the subsequent link The congestion situation is used to decide which path of the work and protection path is more suitable for transmitting business packets.
在此场景中需要设定一个拥塞门限值(即阈值),本实施例中设门限值为90%。若工作路径拥塞情况达到门限值且保护路径拥塞情况未达到门限值,一部分业务将从工作路径切换到保护路径;若工作和保护路径的拥塞情况均超过门限值,需要重新计算从node3到node22的路径,以避开拥塞路径。In this scenario, a congestion threshold (ie, a threshold) needs to be set. In this embodiment, the threshold is set to 90%. If the congestion of the working path reaches the threshold and the congestion of the protection path does not reach the threshold, part of the business will be switched from the working path to the protection path; if the congestion of the working and protection paths both exceed the threshold, it needs to be recalculated from node3 The path to node22 to avoid congested paths.
如图12b所示,用户指定node22为起始节点,用户配置node22,触发node22主动反向发送探测报文。探测报文在node4和node7传送方法与前述描述相同,本实施例中重点描述node3节点的情况。本实施例以带宽使用参数为带宽利用率为例说明,需要说明的是,带宽使用参数为剩余带宽的情况也适用于本实施例的 工作路径+保护路径的场景。As shown in Figure 12b, the user specifies node22 as the starting node, and the user configures node22 to trigger node22 to actively send detection packets in the reverse direction. The method for transmitting the probe message on node4 and node7 is the same as the foregoing description. In this embodiment, the node3 node is mainly described. In this embodiment, the bandwidth usage parameter is bandwidth utilization as an example. It should be noted that the case where the bandwidth usage parameter is the remaining bandwidth is also applicable to the working path + protection path scenario of this embodiment.
带宽使用参数表中需要记录工作路径和保护路径两条路径的带宽利用率数据。假如在业务报文开始发送的时候,工作路径和保护路径的带宽利用率均为10%,业务报文传送了一段时间后,node3先监测到端口4接收到探测报文,端口4到node22的链路的带宽利用率为90%。node3节点判断端口4有自己对应的工作-保护链路组,即需要更新带宽使用参数表。node3在带宽使用参数表中将工作路径的起始端口4对应的路径带宽利用率更新为90%,工作路径的起始端口为端口4不变,下一跳节点仍为node4不变。带宽使用参数表中保护路径的信息不变,即保护路径的起始端口为端口3,其对应的路径带宽利用率为10%,下一跳节点为node3。The bandwidth utilization parameter table needs to record the bandwidth utilization data of the working path and the protection path. If the bandwidth utilization rate of the working path and the protection path are both 10% when the service message starts to be sent, after the service message is transmitted for a period of time, node3 first detects that port 4 receives the probe message, and the port 4 to node22 The bandwidth utilization rate of the link is 90%. The node3 node judges that port 4 has its own corresponding work-protection link group, that is, it needs to update the bandwidth usage parameter table. Node3 updates the path bandwidth utilization rate corresponding to the starting port 4 of the working path to 90% in the bandwidth usage parameter table, the starting port of the working path is unchanged as port 4, and the next hop node remains unchanged as node4. The information of the protection path in the bandwidth usage parameter table remains unchanged, that is, the starting port of the protection path is port 3, the corresponding path bandwidth utilization rate is 10%, and the next hop node is node3.
同理,Node3后监测到端口3接收到探测报文,端口3到node 22的链路的带宽利用率为30%,node3节点判断端口3有自己对应的工作-保护链路组,即需要更新带宽使用参数表。node3在带宽使用参数表中将保护路径的起始端口为端口3对应的路径带宽利用率更新为30%,保护路径的起始端口为端口3不变,下一跳节点仍为node7不变。带宽使用参数表中工作路径的信息不变,即工作路径的起始端口为端口4,其对应的路径带宽利用率为90%,下一跳节点为node3。In the same way, after Node3 monitors that port 3 receives the probe message, the bandwidth utilization rate of the link from port 3 to node 22 is 30%, node3 judges that port 3 has its own corresponding work-protection link group, that is, it needs to be updated Bandwidth usage parameter table. In the bandwidth usage parameter table, node3 updates the path bandwidth utilization rate corresponding to the starting port of the protection path as port 3 to 30%, the starting port of the protection path as port 3 remains unchanged, and the next hop node remains unchanged as node7. The information of the working path in the bandwidth usage parameter table remains unchanged, that is, the starting port of the working path is port 4, the corresponding path bandwidth utilization rate is 90%, and the next hop node is node3.
由于node3的端口4到node22的链路带宽利用率大于拥塞门限值,触发node3将启用保护路径分担一部分工作路径的业务报文传送。如图12b所示,业务报文到达node3时,在确定出工作-保护路径之后,node3判断出工作路径发生拥塞,根据用户制定的策略对业务报文进行分流,一部分业务报文将沿着带宽利用率小的保护链路发往下一跳(即经端口3沿着路径node3-->node7-->node22向尾节点传送),一部分业务报文仍然在工作路径传送(即经端口4沿着路径node3-->node4-->node22向尾节点传送),从而有效地降低了工作路径的拥塞。随着时间的推移,当工作路径带宽利用率下降至拥塞门限值以下时,后续报文仍然选择在工作路径传送。Because node3's port 4 to node22 link bandwidth utilization is greater than the congestion threshold, trigger node3 will enable the protection path to share part of the working path of the business message transmission. As shown in Figure 12b, when a business message arrives at node3, after determining the working-protection path, node3 determines that the working path is congested, and divides the business message according to the strategy set by the user. Some business messages will follow the bandwidth The protection link with low utilization rate is sent to the next hop (that is, sent along the path node3-->node7-->node22 through port 3 to the tail node), and some business packets are still transmitted on the working path (that is, along the port 4 Send to the tail node along the path node3-->node4->node22), thereby effectively reducing the congestion of the working path. As time goes by, when the bandwidth utilization of the working path drops below the congestion threshold, subsequent packets are still selected for transmission on the working path.
在本实施例中,针对路径拥塞的情况,此方案可以高效地利用工作和保护路径,保护路径分担了工作路径的业务压力,缓解了工作路径的拥塞。In this embodiment, in view of path congestion, this solution can efficiently use the working and protection paths. The protection path shares the service pressure of the working path and alleviates the congestion of the working path.
基于相同的技术构思,本申请实施例还提供一种路径选择装置,路径选择装置可以在控制平面实现,也可以由硬件实现。如图10所示,所述路径选择装置包括:接收模块101、获取模块102、确定模块103、表项维护模块104和业务处理模块105。Based on the same technical concept, an embodiment of the present application also provides a path selection device. The path selection device may be implemented in the control plane or hardware. As shown in FIG. 10, the path selection device includes: a receiving module 101, an acquiring module 102, a determining module 103, an entry maintenance module 104, and a service processing module 105.
接收模块101用于,接收第一探测报文以及接收业务报文。The receiving module 101 is configured to receive the first detection message and receive the service message.
获取模块102用于,获取所述第一探测报文中携带的带宽使用参数和指定网络 设备的标识,所述指定网络设备为业务路径中最后一个网络设备。The acquiring module 102 is configured to acquire the bandwidth usage parameter and the identifier of the designated network device carried in the first detection message, and the designated network device is the last network device in the service path.
确定模块103用于,确定接收所述第一探测报文的端口到所述指定网络设备之间链路的带宽使用参数。The determining module 103 is configured to determine bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device.
表项维护模块104用于,当本网络设备属于所述指定网络设备的标识对应的ECMP链路组或工作-保护链路组时,根据所述端口的带宽使用参数、所述第一探测报文中的带宽使用参数和指定网络设备的标识以及本地存储的带宽使用参数表,维护所述带宽使用参数表;所述带宽使用参数表包括指定网络设备标识、带宽使用参数和下一跳网络设备的标识。The entry maintenance module 104 is configured to: when the current network device belongs to the ECMP link group or the work-protection link group corresponding to the identifier of the specified network device, according to the bandwidth usage parameter of the port, the first detection report The bandwidth usage parameters in the text and the identification of the designated network device and the locally stored bandwidth usage parameter table are maintained, and the bandwidth usage parameter table is maintained; the bandwidth usage parameter table includes the identification of the specified network device, the bandwidth usage parameter and the next hop network device Of the logo.
业务处理模块105用于,当所述接收模块接收到业务报文时,在确定出ECMP路径或工作-保护路径之后,根据所述带宽使用参数表转发所述业务报文。The service processing module 105 is configured to, when the receiving module receives the service message, after determining the ECMP path or the working-protection path, forward the service message according to the bandwidth usage parameter table.
在一些实施例中,表项维护模块104用于,当发送所述第一探测报文的网络设备的标识与所述带宽使用参数表中下一跳网络设备的标识相同时,根据所述端口到所述指定网络设备之间链路的带宽使用参数,更新所述带宽使用参数表中的路径带宽使用参数;当发送所述第一探测报文的网络设备的标识与所述带宽使用参数表中下一跳网络设备的标识不同时,根据所述端口到所述指定网络设备之间链路的带宽使用参数和所述带宽使用参数表中的路径带宽使用参数的比较结果,维护所述带宽使用参数表。In some embodiments, the entry maintenance module 104 is configured to: when the identity of the network device sending the first detection message is the same as the identity of the next hop network device in the bandwidth usage parameter table, according to the port The bandwidth usage parameter of the link between the designated network device is updated, and the path bandwidth usage parameter in the bandwidth usage parameter table is updated; when the identification of the network device sending the first detection message and the bandwidth usage parameter table When the identifiers of the next-hop network devices are different, the bandwidth is maintained according to the comparison result of the bandwidth usage parameters of the link between the port and the designated network device and the path bandwidth usage parameters in the bandwidth usage parameter table Use parameter tables.
在一些实施例中,确定模块103用于,确定接收所述第一探测报文的端口的带宽使用参数;根据所述端口的带宽使用参数和所述第一探测报文中的带宽使用参数,确定所述端口到所述指定网络设备之间链路的带宽使用参数。In some embodiments, the determining module 103 is configured to determine the bandwidth usage parameter of the port that receives the first detection message; according to the bandwidth usage parameter of the port and the bandwidth usage parameter in the first detection message, Determine the bandwidth usage parameter of the link between the port and the designated network device.
在一些实施例中,所述带宽使用参数包括带宽利用率,确定模块103用于,确定所述端口的带宽利用率和所述第一探测报文中的带宽利用率中的最大值。In some embodiments, the bandwidth usage parameter includes a bandwidth utilization rate, and the determining module 103 is configured to determine the maximum value of the bandwidth utilization rate of the port and the bandwidth utilization rate in the first detection message.
在一些实施例中,表项维护模块104用于,当所述端口到所述指定网络设备之间链路的带宽利用率小于所述带宽使用参数表中的路径带宽利用率时,根据发送所述第一探测报文的网络设备的标识更新所述带宽使用参数表中下一跳网络设备的标识,并根据所述端口到所述指定网络设备之间链路的带宽利用率更新所述带宽使用参数表中的路径带宽利用率;当所述端口到所述指定网络设备之间链路的带宽利用率大于或等于所述带宽使用参数表中的路径带宽利用率时,不更新所述带宽使用参数表。In some embodiments, the entry maintenance module 104 is configured to: when the bandwidth utilization rate of the link between the port and the designated network device is less than the path bandwidth utilization rate in the bandwidth utilization parameter table, according to the sending station The identifier of the network device of the first detection message updates the identifier of the next-hop network device in the bandwidth usage parameter table, and updates the bandwidth according to the bandwidth utilization rate of the link between the port and the designated network device Use the path bandwidth utilization rate in the parameter table; when the bandwidth utilization rate of the link between the port and the designated network device is greater than or equal to the path bandwidth utilization rate in the bandwidth utilization parameter table, the bandwidth is not updated Use parameter tables.
在一些实施例中,所述带宽使用参数包括剩余带宽,确定模块103用于,确定所述端口的剩余带宽和所述第一探测报文中的剩余带宽的最小值。In some embodiments, the bandwidth usage parameter includes remaining bandwidth, and the determining module 103 is configured to determine the minimum value of the remaining bandwidth of the port and the remaining bandwidth in the first detection message.
在一些实施例中,表项维护模块104用于,当所述端口到所述指定网络设备之 间链路的剩余带宽大于所述带宽使用参数表中的路径剩余带宽时,根据发送所述第一探测报文的网络设备的标识更新所述带宽使用参数表中下一跳网络设备的标识,并根据所述端口到所述指定网络设备之间链路的剩余带宽更新所述带宽使用参数表中的路径剩余带宽;当所述端口到所述指定网络设备之间链路的剩余带宽小于或等于所述带宽使用参数表中的路径剩余带宽时,不更新所述带宽使用参数表。In some embodiments, the entry maintenance module 104 is configured to, when the remaining bandwidth of the link between the port and the designated network device is greater than the remaining bandwidth of the path in the bandwidth usage parameter table, send the first The identification of the network device of a detection message updates the identification of the next-hop network device in the bandwidth usage parameter table, and updates the bandwidth usage parameter table according to the remaining bandwidth of the link between the port and the designated network device When the remaining bandwidth of the link between the port and the designated network device is less than or equal to the remaining bandwidth of the path in the bandwidth usage parameter table, the bandwidth usage parameter table is not updated.
在一些实施例中,所述路径选择装置还包括第一探测报文生成模块和第一发送模块,所述第一探测报文生成模块用于,生成第二探测报文,所述第二探测报文包括所述指定网络设备的标识和所述端口到所述指定网络设备之间链路的带宽使用参数。In some embodiments, the path selection device further includes a first detection message generating module and a first sending module. The first detection message generating module is configured to generate a second detection message. The message includes the identifier of the designated network device and the bandwidth usage parameter of the link between the port and the designated network device.
所述第一发送模块用于,向预先配置的多播组成员发送所述第二探测报文。The first sending module is configured to send the second detection message to a pre-configured multicast group member.
在一些实施例中,所述路径选择装置还包括第二探测报文生成模块和第二发送模块,所述第二探测报文生成模块用于,当触发条件满足时,生成第三探测报文,所述第三探测报文携带带宽使用参数和本网络设备的标识。In some embodiments, the path selection device further includes a second detection message generation module and a second transmission module, and the second detection message generation module is configured to generate a third detection message when the trigger condition is satisfied. , The third detection message carries the bandwidth usage parameter and the identifier of the local network device.
所述第二发送模块用于,按照预设周期向预先配置的多播组成员发送所述第三探测报文。The second sending module is configured to send the third detection message to a pre-configured multicast group member according to a preset period.
在一些实施例中,当本网络设备属于至少一个工作-保护链路组时,所述端口包括工作路径的起始端口和保护路径的起始端口,所述带宽使用参数表用于记录工作路径的信息和保护路径的信息,所述信息包括起始端口信息、路径带宽使用参数和下一跳网络设备的标识。In some embodiments, when the network device belongs to at least one working-protection link group, the port includes the starting port of the working path and the starting port of the protection path, and the bandwidth usage parameter table is used to record the working path And protection path information, the information includes starting port information, path bandwidth usage parameters, and next-hop network device identification.
业务处理模块105用于,若所述工作路径的起始端口到所述指定网络设备之间链路的带宽使用参数、所述保护路径的起始端口到所述指定网络设备之间链路的带宽使用参数和预设阈值满足预设条件,则在接收到业务报文并确定出工作-保护路径之后,根据所述带宽使用参数表,确定分流比例,并按照所述分流比例,分别利用所述工作路径和所述保护路径发送所述业务报文。The service processing module 105 is configured to: if the bandwidth usage parameter of the link between the start port of the working path and the designated network device, the link between the start port of the protection path and the designated network device If the bandwidth usage parameters and the preset threshold meet the preset conditions, after the service message is received and the working-protection path is determined, the distribution ratio is determined according to the bandwidth usage parameter table, and the distribution ratio is used according to the distribution ratio. The working path and the protection path send the service message.
本申请实施例还提供了一种计算机设备,该计算机设备包括:一个或多个处理器以及存储装置;其中,存储装置上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如前述各实施例所提供的路径选择方法。An embodiment of the present application also provides a computer device, which includes: one or more processors and a storage device; wherein, one or more programs are stored on the storage device, and when the one or more programs are When executed by the or multiple processors, the foregoing one or more processors implement the path selection methods provided in the foregoing embodiments.
本申请实施例还提供了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被执行时实现如前述各实施例所提供的路径选择方法。The embodiments of the present application also provide a computer-readable medium on which a computer program is stored, wherein the computer program implements the path selection method provided in the foregoing embodiments when the computer program is executed.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、装置 中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。A person of ordinary skill in the art can understand that all or some of the steps in the method disclosed above, and the functional modules/units in the device can be implemented as software, firmware, hardware, and appropriate combinations thereof. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media. Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其他实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本发明的范围的情况下,可进行各种形式和细节上的改变。Example embodiments have been disclosed herein, and although specific terms are adopted, they are used and should only be interpreted as general descriptive meanings, and are not used for the purpose of limitation. In some instances, it is obvious to those skilled in the art that, unless expressly indicated otherwise, the features, characteristics, and/or elements described in combination with a specific embodiment can be used alone, or features, characteristics, and/or elements described in combination with other embodiments can be used, Combination of features and/or components. Therefore, those skilled in the art will understand that various changes in form and details can be made without departing from the scope of the present invention as set forth in the appended claims.

Claims (13)

  1. 一种路径选择方法,包括:A path selection method, including:
    接收第一探测报文,获取其中携带的带宽使用参数和指定网络设备的标识,所述指定网络设备为业务路径中最后一个网络设备;Receiving the first detection message, and obtaining the bandwidth usage parameters carried therein and the identification of the designated network device, where the designated network device is the last network device in the service path;
    确定接收所述第一探测报文的端口到所述指定网络设备之间链路的带宽使用参数;Determining bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device;
    若本网络设备属于所述指定网络设备的标识对应的等价路由ECMP链路组或工作-保护链路组,则根据本地存储的带宽使用参数表、所述端口到所述指定网络设备之间链路的带宽使用参数以及所述第一探测报文中的带宽使用参数和指定网络设备的标识,维护所述带宽使用参数表;所述带宽使用参数表包括指定网络设备标识、路径带宽使用参数和下一跳网络设备的标识;If the network device belongs to the equivalent route ECMP link group or the work-protection link group corresponding to the identifier of the designated network device, the bandwidth usage parameter table stored locally, the port to the designated network device The bandwidth usage parameters of the link and the bandwidth usage parameters in the first detection message and the identification of the designated network device are maintained, and the bandwidth usage parameter table is maintained; the bandwidth usage parameter table includes the identification of the designated network device and path bandwidth usage parameters And the identification of the next hop network device;
    当接收到业务报文时,在确定出ECMP路径或工作-保护路径之后,根据所述带宽使用参数表转发所述业务报文。When a service message is received, after the ECMP path or the working-protection path is determined, the service message is forwarded according to the bandwidth usage parameter table.
  2. 如权利要求1所述的方法,其中,所述根据本地存储的带宽使用参数表、所述端口到所述指定网络设备之间链路的带宽使用参数以及所述第一探测报文中的带宽使用参数和指定网络设备的标识,维护所述带宽使用参数表,包括:The method according to claim 1, wherein the bandwidth usage parameter table according to the locally stored bandwidth usage parameter, the bandwidth usage parameter of the link between the port and the designated network device, and the bandwidth in the first detection message Use parameters and the identification of the designated network device to maintain the bandwidth use parameter table, including:
    若发送所述第一探测报文的网络设备的标识与所述带宽使用参数表中下一跳网络设备的标识相同,则根据所述端口到所述指定网络设备之间链路的带宽使用参数,更新所述带宽使用参数表中的路径带宽使用参数;If the identifier of the network device that sent the first detection message is the same as the identifier of the next-hop network device in the bandwidth usage parameter table, then according to the bandwidth usage parameter of the link between the port and the designated network device , Update the path bandwidth usage parameter in the bandwidth usage parameter table;
    若发送所述第一探测报文的网络设备的标识与所述带宽使用参数表中下一跳网络设备的标识不同,则根据所述端口到所述指定网络设备之间链路的带宽使用参数和所述带宽使用参数表中的路径带宽使用参数的比较结果,维护所述带宽使用参数表。If the identifier of the network device that sends the first detection message is different from the identifier of the next-hop network device in the bandwidth usage parameter table, then according to the bandwidth usage parameter of the link between the port and the designated network device Maintaining the bandwidth usage parameter table with the comparison result of the path bandwidth usage parameter in the bandwidth usage parameter table.
  3. 如权利要求2所述的方法,其中,所述确定接收所述第一探测报文的端口到所述指定网络设备之间链路的带宽使用参数,包括:The method according to claim 2, wherein the determining the bandwidth usage parameter of the link between the port receiving the first probe message and the designated network device comprises:
    确定接收所述第一探测报文的端口的带宽使用参数;Determining bandwidth usage parameters of the port that receives the first detection message;
    根据所述端口的带宽使用参数和所述第一探测报文中的带宽使用参数,确定所述端口到所述指定网络设备之间链路的带宽使用参数。Determine the bandwidth usage parameter of the link between the port and the designated network device according to the bandwidth usage parameter of the port and the bandwidth usage parameter in the first detection message.
  4. 如权利要求3所述的方法,其中,所述带宽使用参数包括带宽利用率,所述根据所述端口的带宽使用参数和所述第一探测报文中的带宽使用参数,确定所述端口到所述指定网络设备之间链路的带宽使用参数,包括:确定所述端口的带宽利用率和所述第一探测报文中的带宽利用率中的最大值。The method according to claim 3, wherein the bandwidth usage parameter includes a bandwidth utilization rate, and the port is determined based on the bandwidth usage parameter of the port and the bandwidth usage parameter in the first detection message. The designated bandwidth usage parameter of the link between network devices includes: determining the maximum value of the bandwidth utilization rate of the port and the bandwidth utilization rate in the first detection message.
  5. 如权利要求4所述的方法,其中,所述根据所述端口到所述指定网络设备之间链路的带宽使用参数和所述带宽使用参数表中的路径带宽使用参数的比较结果,维护所述带宽使用参数表,包括:The method according to claim 4, wherein the maintenance of the bandwidth usage parameter of the link between the port and the designated network device and the comparison result of the path bandwidth usage parameter in the bandwidth usage parameter table The bandwidth usage parameter table, including:
    若所述端口到所述指定网络设备之间链路的带宽利用率小于所述带宽使用参数表中的路径带宽利用率,则根据发送所述第一探测报文的网络设备的标识更新所述带宽使用参数表中下一跳网络设备的标识,并根据所述端口到所述指定网络设备之间链路的带宽利用率更新所述带宽使用参数表中的路径带宽利用率;If the bandwidth utilization rate of the link between the port and the designated network device is less than the path bandwidth utilization rate in the bandwidth utilization parameter table, then the said first detection message is updated according to the identification of the network device The identifier of the next-hop network device in the bandwidth usage parameter table, and update the path bandwidth utilization rate in the bandwidth usage parameter table according to the bandwidth utilization rate of the link between the port and the designated network device;
    若所述端口到所述指定网络设备之间链路的带宽利用率大于或等于所述带宽使用参数表中的路径带宽利用率,则不更新所述带宽使用参数表。If the bandwidth utilization rate of the link between the port and the designated network device is greater than or equal to the path bandwidth utilization rate in the bandwidth utilization parameter table, the bandwidth utilization parameter table is not updated.
  6. 如权利要求3所述的方法,其中,所述带宽使用参数包括剩余带宽,所述根据所述端口的带宽使用参数和所述第一探测报文中的带宽使用参数,确定所述端口到所述指定网络设备之间链路的带宽使用参数,包括:确定所述端口的剩余带宽和所述第一探测报文中的剩余带宽的最小值。The method according to claim 3, wherein the bandwidth usage parameter includes remaining bandwidth, and the port is determined to be connected to the port according to the bandwidth usage parameter of the port and the bandwidth usage parameter in the first detection message. The specifying the bandwidth usage parameter of the link between the network devices includes: determining the minimum value of the remaining bandwidth of the port and the remaining bandwidth in the first detection message.
  7. 如权利要求6所述的方法,其中,所述根据所述端口到所述指定网络设备之间链路的带宽使用参数和所述带宽使用参数表中的路径带宽使用参数的比较结果,维护所述带宽使用参数表,包括:The method according to claim 6, wherein the maintenance of all parameters is performed according to the comparison result of the bandwidth usage parameters of the link between the port and the designated network device and the path bandwidth usage parameters in the bandwidth usage parameter table. The bandwidth usage parameter table, including:
    若所述端口到所述指定网络设备之间链路的剩余带宽大于所述带宽使用参数表中的路径剩余带宽,则根据发送所述第一探测报文的网络设备的标识更新所述带宽使用参数表中下一跳网络设备的标识,并根据所述端口到所述指定网络设备之间链路的剩余带宽更新所述带宽使用参数表中的路径剩余带宽;If the remaining bandwidth of the link between the port and the designated network device is greater than the remaining bandwidth of the path in the bandwidth usage parameter table, the bandwidth usage is updated according to the identifier of the network device that sent the first detection message The identifier of the next-hop network device in the parameter table, and update the remaining bandwidth of the path in the bandwidth usage parameter table according to the remaining bandwidth of the link between the port and the designated network device;
    若所述端口到所述指定网络设备之间链路的剩余带宽小于或等于所述带宽使用参数表中的路径剩余带宽,则不更新所述带宽使用参数表。If the remaining bandwidth of the link between the port and the designated network device is less than or equal to the remaining bandwidth of the path in the bandwidth usage parameter table, the bandwidth usage parameter table is not updated.
  8. 如权利要求1所述的方法,其中,在确定接收所述第一探测报文的端口到所述指定网络设备之间链路的带宽使用参数之后,还包括:The method according to claim 1, wherein after determining the bandwidth usage parameters of the link between the port receiving the first probe message and the designated network device, the method further comprises:
    生成第二探测报文,所述第二探测报文包括所述指定网络设备的标识和所述端口到所述指定网络设备之间链路的带宽使用参数;Generating a second detection message, the second detection message including the identifier of the designated network device and the bandwidth usage parameter of the link between the port and the designated network device;
    向预先配置的多播组成员发送所述第二探测报文。Sending the second detection message to a pre-configured multicast group member.
  9. 如权利要求1所述的方法,其中,还包括:The method of claim 1, further comprising:
    当触发条件满足时,生成第三探测报文,所述第三探测报文携带带宽使用参数和本网络设备的标识;When the trigger condition is met, a third detection message is generated, and the third detection message carries the bandwidth usage parameter and the identifier of the local network device;
    按照预设周期向预先配置的多播组成员发送所述第三探测报文。Send the third detection message to the pre-configured multicast group members according to a preset period.
  10. 如权利要求1所述的方法,其中,当本网络设备属于至少一个工作-保护链路组时,所述端口包括工作路径的起始端口和保护路径的起始端口,所述带宽使用参数表用于记录工作路径的信息和保护路径的信息,所述信息包括起始端口信息、路径带宽使用参数和下一跳网络设备的标识;The method according to claim 1, wherein, when the network device belongs to at least one working-protection link group, the port includes a starting port of a working path and a starting port of a protection path, and the bandwidth usage parameter table Used to record the information of the working path and the information of the protection path, the information including the starting port information, the path bandwidth usage parameter and the identification of the next hop network device;
    所述当接收到业务报文时,在确定出工作-保护路径之后,根据所述带宽使用参数表转发所述业务报文,包括:When a service message is received, after the working-protection path is determined, forwarding the service message according to the bandwidth usage parameter table includes:
    若所述工作路径的起始端口到所述指定网络设备之间链路的带宽使用参数、所述保护路径的起始端口到所述指定网络设备之间链路的带宽使用参数和预设阈值满足预设条件,则在接收到业务报文并确定出工作-保护路径之后,根据所述带宽使用参数表,确定分流比例,并按照所述分流比例,分别利用所述工作路径和所述保护路径发送所述业务报文。If the bandwidth usage parameter of the link between the starting port of the working path and the designated network device, the bandwidth usage parameter of the link between the starting port of the protection path and the designated network device and the preset threshold If the preset conditions are met, after the service message is received and the working-protection path is determined, the distribution ratio is determined according to the bandwidth usage parameter table, and the working path and the protection path are respectively used according to the distribution ratio. The path sends the service message.
  11. 一种路径选择装置,包括:接收模块、获取模块、确定模块、表项维护模块和业务处理模块;A path selection device includes: a receiving module, an acquiring module, a determining module, an item maintenance module, and a business processing module;
    所述接收模块用于,接收第一探测报文,以及接收业务报文;The receiving module is configured to receive the first detection message and receive the service message;
    所述获取模块用于,获取所述第一探测报文中携带的带宽使用参数和指定网络设备的标识,所述指定网络设备为业务路径中最后一个网络设备;The acquiring module is configured to acquire the bandwidth usage parameter and the identification of the designated network device carried in the first detection message, and the designated network device is the last network device in the service path;
    所述确定模块用于,确定接收所述第一探测报文的端口到所述指定网络设备之间链路的带宽使用参数;The determining module is configured to determine bandwidth usage parameters of the link between the port receiving the first detection message and the designated network device;
    所述表项维护模块用于,当本网络设备属于所述指定网络设备的标识对应的 ECMP链路组或工作-保护链路组时,根据所述端口的带宽使用参数、所述第一探测报文中的带宽使用参数和指定网络设备的标识以及本地存储的带宽使用参数表,维护所述带宽使用参数表;所述带宽使用参数表包括指定网络设备标识、带宽使用参数和下一跳网络设备的标识;The entry maintenance module is configured to, when the current network device belongs to the ECMP link group or the work-protection link group corresponding to the identifier of the designated network device, according to the bandwidth usage parameter of the port, the first detection The bandwidth usage parameter in the message and the identification of the designated network device and the bandwidth usage parameter table stored locally, and the bandwidth usage parameter table is maintained; the bandwidth usage parameter table includes the identification of the specified network device, the bandwidth usage parameter, and the next hop network Identification of the device;
    所述业务处理模块用于,当所述接收模块接收到业务报文时,在确定出ECMP路径或工作-保护路径之后,根据所述带宽使用参数表转发所述业务报文。The service processing module is configured to, when the receiving module receives the service message, after determining the ECMP path or the working-protection path, forward the service message according to the bandwidth usage parameter table.
  12. 一种计算机设备,包括:A computer equipment including:
    一个或多个处理器;One or more processors;
    存储装置,其上存储有一个或多个程序;A storage device on which one or more programs are stored;
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1-10任一项所述的路径选择方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the path selection method according to any one of claims 1-10.
  13. 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被执行时实现如权利要求1-10任一项所述的路径选择方法。A computer readable medium having a computer program stored thereon, wherein the program is executed to implement the path selection method according to any one of claims 1-10.
PCT/CN2020/141636 2019-12-31 2020-12-30 Path selection method and apparatus, computer device, and computer readable medium WO2021136430A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911410896.XA CN113132225B (en) 2019-12-31 Path selection method, path selection device, computer equipment and computer readable medium
CN201911410896.X 2019-12-31

Publications (1)

Publication Number Publication Date
WO2021136430A1 true WO2021136430A1 (en) 2021-07-08

Family

ID=76687293

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141636 WO2021136430A1 (en) 2019-12-31 2020-12-30 Path selection method and apparatus, computer device, and computer readable medium

Country Status (1)

Country Link
WO (1) WO2021136430A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595897A (en) * 2021-08-13 2021-11-02 新华三信息安全技术有限公司 Path detection method and device
CN115208827A (en) * 2022-07-11 2022-10-18 京东科技信息技术有限公司 Flow distribution method and device
US20230035984A1 (en) * 2021-07-26 2023-02-02 Arista Networks, Inc. Mechanism to enforce consistent next hops in a multi-tier network
US11811901B2 (en) 2019-05-17 2023-11-07 Arista Networks, Inc. Platform agnostic abstraction for forwarding equivalence classes with hierarchy

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893558A (en) * 2010-02-23 2013-01-23 Lg电子株式会社 A method and an apparatus for session routing in home network system
CN105634973A (en) * 2014-10-30 2016-06-01 华为数字技术(苏州)有限公司 Routing method and equipment based on load balancing
WO2017144943A1 (en) * 2016-02-23 2017-08-31 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for congruent unicast and multicast for ethernet services in a spring network
CN108965163A (en) * 2017-05-18 2018-12-07 中兴通讯股份有限公司 Bandwidth adjusting method and device, storage medium and processor
CN110890994A (en) * 2018-09-11 2020-03-17 华为技术有限公司 Method, device and system for determining message forwarding path

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893558A (en) * 2010-02-23 2013-01-23 Lg电子株式会社 A method and an apparatus for session routing in home network system
CN105634973A (en) * 2014-10-30 2016-06-01 华为数字技术(苏州)有限公司 Routing method and equipment based on load balancing
WO2017144943A1 (en) * 2016-02-23 2017-08-31 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for congruent unicast and multicast for ethernet services in a spring network
CN108965163A (en) * 2017-05-18 2018-12-07 中兴通讯股份有限公司 Bandwidth adjusting method and device, storage medium and processor
CN110890994A (en) * 2018-09-11 2020-03-17 华为技术有限公司 Method, device and system for determining message forwarding path

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11811901B2 (en) 2019-05-17 2023-11-07 Arista Networks, Inc. Platform agnostic abstraction for forwarding equivalence classes with hierarchy
US20230035984A1 (en) * 2021-07-26 2023-02-02 Arista Networks, Inc. Mechanism to enforce consistent next hops in a multi-tier network
US11700201B2 (en) * 2021-07-26 2023-07-11 Arista Networks, Inc. Mechanism to enforce consistent next hops in a multi-tier network
CN113595897A (en) * 2021-08-13 2021-11-02 新华三信息安全技术有限公司 Path detection method and device
CN115208827A (en) * 2022-07-11 2022-10-18 京东科技信息技术有限公司 Flow distribution method and device

Also Published As

Publication number Publication date
CN113132225A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
WO2021136430A1 (en) Path selection method and apparatus, computer device, and computer readable medium
US10554538B2 (en) Dynamic link state routing protocol
EP2899930B1 (en) Gateways and routing in software-defined manets
US10715446B2 (en) Methods and systems for data center load balancing
US11522786B2 (en) Packet forwarding path determining method, device, and system
US10172068B2 (en) Service-oriented routing in software-defined MANETs
US8265076B2 (en) Centralized wireless QoS architecture
US8593986B2 (en) Lightweight storing mode for constrained computer networks
US8988991B2 (en) Enabling load balancing for MPLS-TP
US11509595B2 (en) Network-based coordination of loss/delay mode for congestion control of latency-sensitive flows
CN108234314B (en) Service scheduling method and device
US20220124023A1 (en) Path Switching Method, Device, and System
US11882513B2 (en) Transporting MTNC-ID over SRV6-enabled dataplane for 5G transport
WO2015014197A1 (en) Method for selecting route in scenario of multicast load, and router
CN103716242A (en) Routing method and system
CN113132225B (en) Path selection method, path selection device, computer equipment and computer readable medium
WO2023051049A1 (en) Network architecture, network communication method, electronic device, and storage medium
EP3785405A1 (en) Resource reservation and maintenance for preferred path routes in a network
CN116319549B (en) Distributed flow scheduling method and device
Borgou et al. Dynamic Regulation of Cross Traffic in Wired IPv6 Networks
Balaji ENERGY EFFICIENT ALGORITHM FOR MULTICAST ROUTING TECHNIQUES THROUGH THE MEDIUM ACCESS CONTROL (MAC) LAYER IN MANET

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20909349

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20909349

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20909349

Country of ref document: EP

Kind code of ref document: A1