WO2025082553A1 - Method for adjusting traffic transmission path, and related apparatus - Google Patents
Method for adjusting traffic transmission path, and related apparatus Download PDFInfo
- Publication number
- WO2025082553A1 WO2025082553A1 PCT/CN2024/140424 CN2024140424W WO2025082553A1 WO 2025082553 A1 WO2025082553 A1 WO 2025082553A1 CN 2024140424 W CN2024140424 W CN 2024140424W WO 2025082553 A1 WO2025082553 A1 WO 2025082553A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- srv6
- policy
- interface
- path
- bandwidth
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/34—Source routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/14—Routing performance; Theoretical aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Definitions
- the present application relates to the field of computer network technology, and in particular to a method for adjusting a flow transmission path and related devices.
- Segment Routing IPv6 (SRv6) based on the Internet Protocol Version 6 (IPv6) forwarding plane adopts source routing technology.
- SID List Segment Identity Document List
- SID TE Policy Traffic Engineering Policy
- the existing Software Defined Network (SDN) controller when transmitting SRv6 traffic, the existing Software Defined Network (SDN) controller usually determines the bandwidth occupancy of each candidate SRv6 TE Policy path in the routing network based on the traffic statistics of the SRv6 TE Policy (that is, only focusing on the service packets and IPv6 routing extension headers carried by the SRv6 TE Policy). Then, based on the bandwidth occupancy, the target SRv6 TE Policy path that meets the traffic transmission requirements is screened out from each candidate SRv6 TE Policy path, and then, through the target SRv6 TE Policy path, the specific SID List in the SRH carried by the head node is modified to achieve adjustment of the traffic transmission path corresponding to the SRv6 traffic.
- SDN Software Defined Network
- the embodiments of the present application provide a method and related device for adjusting a traffic transmission path, so as to improve the problem that the bandwidth occupancy of each candidate SRv6 TE Policy path is not accurate, thereby improving the accuracy of adjusting the traffic transmission path.
- an embodiment of the present application provides a method for adjusting a traffic transmission path, the method comprising:
- routing network information represents: the data transmission capacity corresponding to each initial SRv6 TE Policy path in the target routing network;
- each estimated idle interface bandwidth sets corresponding to each of the multiple candidate SRv6 TE Policy paths are obtained; wherein each estimated idle interface bandwidth represents: the interface remaining bandwidth when the corresponding routing node transmits SRv6 traffic in the target routing network;
- a target SRv6 TE Policy path is screened out from multiple candidate SRv6 TE Policy paths; wherein the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted;
- an embodiment of the present application further provides a device for adjusting a flow transmission path, the device comprising:
- An information acquisition module is used to obtain routing network information of a target routing network; wherein the routing network information represents: data transmission capabilities corresponding to each initial SRv6 TE Policy path in the target routing network;
- a path selection module is used to select multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements from each initial SRv6 TE Policy path based on the routing network information;
- the bandwidth calculation module is used to obtain the estimated idle interface bandwidth set corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information; wherein each estimated idle interface bandwidth represents: the interface remaining bandwidth when the corresponding routing node transmits SRv6 traffic in the target routing network;
- a path screening module for screening a target SRv6 TE Policy path from multiple candidate SRv6 TE Policy paths based on multiple estimated idle interface bandwidth sets obtained and set path selection rules; wherein the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted;
- the path adjustment module is used to adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
- the path selection module when selecting multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements from each initial SRv6 TE Policy path based on routing network information, the path selection module is specifically used to:
- the routing network information obtain the physical topology information and three-layer topology information of the target routing network; wherein the physical topology information includes: the interface type and interface connection relationship of each routing interface in the target routing network, and the three-layer topology information includes: the network protocol used by each routing node;
- each path condition represents: whether the corresponding initial SRv6 TE Policy path has end-to-end data transmission capability
- each initial SRv6 TE Policy path multiple initial SRv6 TE Policy paths whose path conditions represent end-to-end data transmission capabilities are used as multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements.
- the bandwidth calculation module when obtaining a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, is specifically used to:
- each interface bandwidth occupancy represents: the data transmission rate when a single hop consisting of two adjacent routing nodes transmits SRv6 traffic;
- each interface occupied bandwidth compensation value represents: the additional bandwidth occupied by the corresponding single-hop transmission SRv6 traffic
- an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path is obtained.
- the bandwidth calculation module when obtaining a set of interface occupied bandwidth compensation values corresponding to a candidate SRv6 TE Policy path based on the physical topology information included in the routing network information, the bandwidth calculation module is specifically used to:
- the obtained bandwidth compensation values of each interface are saved in a set of interface bandwidth compensation values corresponding to a candidate SRv6 TE Policy path setting.
- the bandwidth calculation module when obtaining an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path based on an interface bandwidth occupancy set and an interface occupied bandwidth compensation value set, the bandwidth calculation module is specifically used to:
- an estimated idle interface bandwidth corresponding to the single hop is obtained.
- the information acquisition module in the process of acquiring the routing network information of the target routing network, is further used to:
- interface traffic statistics information of the target routing network wherein the interface traffic statistics information represents: data traffic of each routing interface corresponding to each routing node;
- an interface blocking prompt message is generated for the target routing interface.
- the path screening module is specifically used to:
- At least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition is selected from multiple candidate SRv6 TE Policy paths;
- the path screening module when screening out at least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition from a plurality of candidate SRv6 TE Policy paths, is specifically used to:
- a candidate SRv6TE Policy path is determined to meet the estimated idle interface bandwidth condition.
- the present application provides an electronic device comprising a processor and a memory, wherein the memory stores a program code, and when the program code is executed by the processor, the processor executes the steps of the method for adjusting the traffic transmission path described in the first aspect above.
- the present application provides a computer-readable storage medium comprising a program code.
- the program code When the program code is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method for adjusting the traffic transmission path described in the first aspect above.
- the present application provides a computer program product, which, when called by a computer, enables the computer to execute the steps of the method for adjusting the traffic transmission path as described in the first aspect.
- the method for adjusting the traffic transmission path based on the obtained routing network information of the target routing network, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path; then, based on the traffic statistical information corresponding to each of the multiple candidate SRv6 TE Policy paths, and the routing network information, the estimated idle interface bandwidth sets corresponding to each of the multiple candidate SRv6 TE Policy paths are obtained; further, based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, the target SRv6 TE Policy path is screened out from the multiple candidate SRv6 TE Policy paths; finally, the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted is adjusted to the target SRv6 TE Policy path.
- the estimated idle interface bandwidth sets corresponding to multiple candidate SRv6 TE Policy paths are obtained, and then combined with the set path selection rules, the target SRv6 TE Policy path is screened out.
- FIG1 is a schematic diagram of an optional system architecture applicable to an embodiment of the present application.
- FIG2 is a schematic diagram of a structure of a routing network provided in an embodiment of the present application.
- FIG3 is a schematic diagram of an implementation flow of a method for adjusting a flow transmission path provided in an embodiment of the present application
- FIG4 is a logical diagram of generating a traffic prompt message provided by an embodiment of the present application.
- FIG5 is a logical diagram of a candidate SRv6 TE Policy path provided in an embodiment of the present application.
- FIG6 is a schematic diagram of an implementation flow of a method for obtaining an estimated idle interface bandwidth set provided in an embodiment of the present application
- FIG7 is a logic diagram of obtaining a set of interface occupied bandwidth compensation values provided in an embodiment of the present application.
- FIG8 is a schematic diagram of an implementation flow of a method for obtaining estimated idle interface bandwidth provided by an embodiment of the present application.
- FIG9 is a logical diagram of screening out a target SRv6 TE Policy path provided in an embodiment of the present application.
- FIG10 is a schematic diagram of a specific application scenario based on FIG3 provided in an embodiment of the present application.
- FIG11 is a schematic diagram of the structure of a flow transmission path adjustment device provided in an embodiment of the present application.
- FIG. 12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- SNMP Simple Network Management Protocol
- SGMP Simple Gateway Monitoring Protocol
- SNMP adds a new management information structure and management information base.
- the simplicity and extensibility are reflected in SNMP, which includes: database type, application layer protocol and some data files. Therefore, it can not only enhance the efficiency of network management system, but also can be used to manage and monitor the resources in the network in real time.
- NETCONF Network Configuration protocol
- XML Extensible Markup Language
- RPC Remote Procedure Call
- Border Gateway Protocol It is an autonomous system (AS) routing protocol that runs on the Transmission Control Protocol (TCP)/IP. It is the only protocol used to handle networks as large as the Internet and the only protocol that can properly handle multiple connections between unrelated routing domains.
- LS Link State
- Network Telemetry Protocol Compared with SNMP, Telemetry enables network devices to actively push status information and has stronger timeliness.
- SRv6 adopts source routing technology.
- the SRv6 TE Policy path can be adjusted by modifying the head node in the SRv6 TE Policy to carry the specific SID List in the SRH.
- SRv6 TE Policy supports the function of traffic statistics.
- the existing SDN controller when transmitting SRv6 traffic, usually determines the bandwidth occupancy of each candidate SRv6 TE Policy path in the routing network based on the traffic statistics of the SRv6 TE Policy, and then selects the target SRv6 TE Policy path that meets the traffic transmission requirements from each candidate SRv6 TE Policy path according to the bandwidth occupancy. Then, through the target SRv6 TE Policy path, the specific SID List in the SRH carried by the head node is modified to achieve the adjustment of the traffic transmission path corresponding to the SRv6 traffic.
- the SDN controller can predict and preview the traffic of the adjusted routing interface, thereby completing the traffic adjustment and switching back; among them, the traffic statistics of SRv6 TE Policy usually only focus on the service packets and IPv6 routing extension headers carried by SRv6 TE Policy, and do not include the information of the data link layer and part of the network layer.
- the traffic statistics of the interface include the above data link layer and all network layer information.
- a method for adjusting the traffic transmission path which specifically includes: obtaining routing network information of the target routing network, wherein the routing network information represents: the data transmission capacity corresponding to each initial SRv6 TE Policy path in the target routing network; then, based on the routing network information, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path; further, based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths, and the routing network information, a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths is obtained, wherein each estimated idle interface bandwidth represents: , the interface remaining bandwidth of the corresponding routing node when transmitting SRv6 traffic; further, based on the obtained multiple estimated idle interface bandwidth sets and the
- FIG. 1 it is a schematic diagram of a system architecture applicable to an embodiment of the present application, and the system architecture includes: a target terminal 101, a routing network 102, a server 103, and an SDN controller 104.
- the target terminal 101 and the server 103 can exchange information through the routing network 102, and the routing network 102 and the SDN controller 104 can exchange information through a communication network, wherein the communication mode adopted by the communication network may include: a wireless communication mode and a wired communication mode.
- the SDN controller 104 can access the network through cellular mobile communication technology and communicate with the routing network 102, wherein the cellular mobile communication technology includes, for example, the fifth generation mobile communication (5th Generation Mobile Networks, 5G) technology.
- 5G Fifth Generation Mobile Networks
- the SDN controller 104 can access the network via short-range wireless communication and communicate with the routing network 102, wherein the short-range wireless communication method includes, for example, Wireless Fidelity (Wi-Fi) technology.
- Wi-Fi Wireless Fidelity
- the embodiment of the present application does not impose any restriction on the number of communication devices involved in the above system architecture. For example, there may be more target terminals 101, or no target terminal 101, or other network devices may be included. As shown in FIG1 , only the target terminal 101, routing network 102, server 103 and SDN controller 104 are described as examples. The above devices and their respective functions are briefly introduced below.
- the target terminal 101 is a device that can provide voice and/or data connectivity to the user, and can be a device that supports wired and/or wireless connection.
- the target terminal 101 includes, but is not limited to: mobile phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminal devices in industrial control, wireless terminal devices in unmanned driving, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, or wireless terminal devices in smart homes, etc.
- MID mobile Internet devices
- VR virtual reality
- AR augmented reality
- wireless terminal devices in industrial control wireless terminal devices in unmanned driving, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, or wireless terminal devices in smart homes, etc.
- a related client may be installed on the target terminal 101, and the client may be software, for example, an application (Application, APP), a browser, a short video software, etc., or a web page, a mini-program, etc.; it should be noted that in an embodiment of the present application, the target terminal 101 may enable the client of the above-mentioned business data/business information to send business data/business information to the server 103 through the routing network 102 to obtain the business data/business information, so as to perform subsequent business data/business information processing and other method steps.
- an application Application, APP
- the target terminal 101 may enable the client of the above-mentioned business data/business information to send business data/business information to the server 103 through the routing network 102 to obtain the business data/business information, so as to perform subsequent business data/business information processing and other method steps.
- a routing network 102 includes a plurality of routing nodes (102a, ..., 102h), wherein any one of the plurality of routing nodes (102a, ..., 102h) can be used to transmit data packets and receive and send configuration signals, and is mostly used in general tree networks. It can also be used to perform data path search and path maintenance, that is, a process of receiving a data packet from one interface, directing it according to the destination address of the data packet and forwarding it to another interface, that is, finding the most effective path for the data packet from the source to the destination.
- data path search and path maintenance that is, a process of receiving a data packet from one interface, directing it according to the destination address of the data packet and forwarding it to another interface, that is, finding the most effective path for the data packet from the source to the destination.
- the head node of the routing network 102 (i.e., routing node 102a) carries the specific SID List in the SRH
- the SDN controller 104 can send the optimized traffic transmission path to the head node (routing node 102a) of the routing network 102, so that the head node (routing node 102a) of the routing network 102 can modify the specific SID List in the SRH according to the optimized traffic transmission path, thereby realizing the adjustment of the traffic/data transmission path between the target terminal 101 and the server 103.
- routing nodes there is no specific limitation on the number of routing nodes in the routing network 102. For example, there may be more routing nodes, or fewer routing nodes. Moreover, the routing nodes may be any type of routing device with routing capabilities.
- Server 103 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.
- cloud services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.
- the server 103 after receiving the business data/business information sent by the target terminal 101, the server 103 will perform corresponding data processing on the business data/business information.
- the SDN controller 104 is used to obtain routing network information of the routing network, and then selects multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements from each initial SRv6 TE Policy path based on the routing network information. Then, based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, obtain the estimated idle interface bandwidth set corresponding to each of the multiple candidate SRv6 TE Policy paths. Further, based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, select the target SRv6 TE Policy path from the multiple candidate SRv6 TE Policy paths. Finally, adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
- FIG. 3 it is a schematic diagram of an implementation flow of a method for adjusting a traffic transmission path provided in an embodiment of the present application.
- the execution subject is an SDN controller as an example.
- the specific implementation flow of the method is as follows:
- the routing network information represents: the data transmission capability corresponding to each initial SRv6 TE Policy path in the target routing network.
- the above-mentioned routing network information includes but is not limited to: physical topology information, three-layer topology information, and hop-by-hop path information of the target routing network; wherein, the hop-by-hop path information of the SRv6 TE Policy includes each initial SRv6 TE Policy path in the target routing network, each initial SRv6 TE Policy path contains multiple single hops, and each single hop corresponds to two adjacent routing nodes; the physical topology information includes the interface type and interface connection relationship of each routing interface in the target routing network; the three-layer topology information includes the network protocol adopted by each routing node.
- the above-mentioned physical topology information includes: physical links, logical links, physical interfaces and logical interfaces, etc.
- the physical interface can be an Ethernet interface (Ethernet) or a passive optical network (Passive Optical Network, PON) interface, etc.
- the logical interface can include: Generic Routing Encapsulation (Generic Routing Encapsulation, GRE) tunnel interface, etc.
- GRE Generic Routing Encapsulation
- GRE Generic Routing Encapsulation
- the above-mentioned network protocols include but are not limited to: various data link layer protocols and various network layer protocols.
- the SDN controller can collect the physical topology information, three-layer topology information and hop-by-hop path information of the target routing network through relevant protocols; wherein the relevant protocols may be: SNMP/NETCONF protocol and BGP-LS protocol, SNMP/NETCONF protocol is used to collect the physical topology information of the target routing network (the entire network), and BGP-LS protocol is used to collect the three-layer topology information of the target routing network (the entire network) and the hop-by-hop path information of the SRv6 TE Policy.
- relevant protocols may be: SNMP/NETCONF protocol and BGP-LS protocol, SNMP/NETCONF protocol is used to collect the physical topology information of the target routing network (the entire network), and BGP-LS protocol is used to collect the three-layer topology information of the target routing network (the entire network) and the hop-by-hop path information of the SRv6 TE Policy.
- the SDN controller may also obtain interface traffic statistics information of the target routing network. If, among each routing interface, there is a target routing interface that satisfies a preset interface blocking condition, an interface blocking prompt message is generated for the target routing interface. Optionally, if, among each routing interface, there is a first routing interface that does not satisfy the preset interface blocking condition, an interface normal prompt message is generated for the first routing interface.
- the interface traffic statistics information represents: the data traffic of each routing node's corresponding routing interface.
- the above-mentioned interface blocking condition can be set according to the traffic carrying capacity of the routing interface (i.e., the maximum tolerable data traffic threshold). Therefore, the above-mentioned interface blocking condition can be specifically: the current data traffic of the routing interface is not greater than the maximum tolerable data traffic threshold of the routing interface.
- the SDN controller can obtain the data transmission status of each routing interface in the target routing network in real time, that is, whether the current data traffic of the routing interface causes interface congestion, so as to adjust the traffic transmission path more efficiently in the future.
- the SDN controller when executing step S302, after the SDN controller obtains the routing network information of the target routing network, it can obtain the physical topology information and the three-layer topology information of the target routing network from the routing network information; then, based on the physical topology information and the three-layer topology information, determine the path conditions corresponding to each initial SRv6 TE Policy path; finally, in each initial SRv6 TE Policy path, the path conditions representing multiple initial SRv6 TE Policy paths with end-to-end data transmission capabilities are used as multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements; wherein each path condition represents whether the corresponding initial SRv6 TE Policy path has end-to-end data transmission capabilities.
- each estimated idle interface bandwidth represents: in the target routing network, the interface remaining bandwidth when the corresponding routing node transmits SRv6 traffic, that is, each estimated idle interface bandwidth is the difference between the interface remaining bandwidth before the corresponding routing node transmits SRv6 traffic and the actual interface bandwidth required for transmitting SRv6 traffic.
- the SDN controller may collect traffic statistics information corresponding to the candidate SRv6 TE Policy path in the target routing network (that is, traffic statistics of the SRv6 TE Policy) through relevant protocols; wherein the relevant protocol may be: SNMP/Telemetry protocol.
- the SDN controller when executing step S303, performs the following operations for any candidate SRv6 TE Policy path among the multiple candidate SRv6 TE Policy paths:
- S601 Based on the traffic statistics corresponding to a candidate SRv6 TE Policy path, determine a set of interface bandwidth occupancy when a candidate SRv6 TE Policy path transmits SRv6 traffic.
- the bandwidth occupancy of each interface represents the data transmission rate when a single hop consisting of two adjacent routing nodes transmits SRv6 traffic.
- the SDN controller can calculate the interface bandwidth occupancy of each single hop in the above-mentioned candidate SRv6 TE Policy path through the part of the traffic statistics information corresponding to the candidate SRv6 TE Policy path that is related to it; it should be noted that the interface bandwidth occupancy can also be represented by: the number of bytes of the average message length per unit time, so the above method can calculate and obtain the average message length x bytes per unit time.
- the bandwidth compensation value of each interface represents: the additional bandwidth occupied by the corresponding single-hop transmission of SRv6 traffic.
- the SDN controller when executing step S602, after obtaining the interface bandwidth occupancy set, can obtain the routing interface type corresponding to each single hop in a candidate SRv6 TE Policy path based on the physical topology information contained in the routing network information; then, based on the correspondence between the preset routing interface type and the interface occupied bandwidth compensation value, determine the interface occupied bandwidth compensation value corresponding to each single hop; finally, save the obtained interface occupied bandwidth compensation value to the interface occupied bandwidth compensation value set corresponding to a candidate SRv6 TE Policy path; in this way, a set of interface occupied bandwidth compensation values for occupied bandwidth compensation can be obtained.
- routing interface types include but are not limited to: physical interface type (for example, Ethernet network interface type) and logical interface type (for example, GRE tunnel interface type); and, the interface occupied bandwidth compensation value is usually only related to the routing interface type, and the interface occupied bandwidth compensation value corresponding to the same routing interface type is the same.
- the physical topology information collected by the SDN controller through the SNMP/NETCONF protocol must include routing interface attribute/type information (for example, the routing interface type is an Ethernet network interface or a GRE logical tunnel interface).
- the interface occupied bandwidth compensation value may be obtained in the following two ways:
- the SDN controller automatically calculates the interface bandwidth compensation value based on the routing interface type.
- the routing interface is a GRE tunnel (logical) interface scenario, that is, the routing interface type is a GRE tunnel interface type, the interface occupied bandwidth compensation value is the link layer message header+GRE message header.
- the SDN controller pre-sets the interface occupied bandwidth compensation value for each routing interface type.
- the topology of the SDN domain i.e., the target routing network
- the routing interface types of all routing interfaces will not change frequently, because the interface bandwidth compensation value of each single hop is only related to the routing interface type that carries the SRv6 TE Policy. Therefore, the real-time dynamic changes in the topology and traffic information will not essentially cause the recalculation of the interface bandwidth compensation value; therefore, the interface bandwidth compensation value can be pre-set for each routing interface type in the SDN controller.
- the SDN controller can synchronously perceive the newly added routing interfaces through the existing data, and thus configure/set the interface bandwidth compensation value for the routing interface type of the newly added routing interface; however, if the topology change adds an unadapted routing interface type, it is necessary to dynamically calculate or manually set the interface bandwidth compensation value based on the protocol message size of the routing interface type.
- the SDN controller when executing step S603, after obtaining the interface bandwidth occupancy set and the interface occupied bandwidth compensation value set, the SDN controller may perform the following operations for each single hop in the above-mentioned candidate SRv6 TE Policy path:
- S801 Obtain an interface bandwidth occupancy and an interface bandwidth compensation value of a single hop from an interface bandwidth occupancy set and an interface bandwidth compensation value set.
- the interface occupied bandwidth compensation value set includes the interface occupied bandwidth compensation value corresponding to each of the five single hops, wherein the above-mentioned five single hops and their respective corresponding interface bandwidth occupancy and interface occupied bandwidth compensation value are as shown in Table 1:
- the SDN controller can obtain the interface bandwidth occupancy Usage.3 and the interface bandwidth compensation value Com.Va.3 corresponding to single hop 3 from the 5 interface bandwidth occupancy contained in the interface bandwidth occupancy set and the 5 interface bandwidth compensation values contained in the interface bandwidth compensation value set.
- S802 Obtain a total bandwidth occupation of a single hop based on the interface bandwidth occupation and the interface occupied bandwidth compensation value.
- Bs represents the total bandwidth usage
- Bu represents the interface bandwidth usage
- Bc represents the interface bandwidth compensation value
- the routing network interface corresponding to the above single hop is: a common Ethernet network interface superimposed with a GRE tunnel interface
- the above preset total bandwidth occupation calculation formula can be further expressed as:
- the physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy (the accumulated traffic volume of traffic statistics/the traffic statistics time) + the number of bytes occupied by the Ethernet interface + (the number of bytes occupied by the GRE tunnel)
- the physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy is the total bandwidth occupation B s , (accumulated traffic volume in traffic statistics/traffic statistics time) is the interface bandwidth occupation Bu , and the number of bytes occupied by the Ethernet interface + (the number of bytes occupied by the GRE tunnel) is the interface bandwidth occupation compensation value B c .
- S803 Based on the total bandwidth usage and the current idle interface bandwidth of a single hop, obtain an estimated idle interface bandwidth corresponding to the single hop.
- Be represents the estimated idle interface bandwidth
- Bp represents the current idle interface bandwidth
- Bs represents the total bandwidth usage
- the above preset estimated idle interface bandwidth calculation formula can be further expressed as:
- the target interface bandwidth to be adjusted the remaining bandwidth of the interface to be adjusted - the physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy
- the target interface bandwidth to be adjusted is the estimated idle interface bandwidth Be , that is, the remaining interface bandwidth corresponding to each single hop when transmitting SRv6 traffic.
- the remaining interface bandwidth to be adjusted is the current idle interface bandwidth Bp .
- the physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy is the total bandwidth occupation Bs .
- the SDN controller can calculate the interface bandwidth compensation value hop by hop according to the traffic statistics information and hop-by-hop path information of the SRv6 TE Policy, combined with the physical topology information and the three-layer topology information, and then calculate the hop-by-hop bandwidth occupancy (i.e., the estimated idle interface bandwidth) of the adjusted SRv6 TE Policy path (i.e., the candidate SRv6 TE Policy path) based on the compensated interface bandwidth traffic size (i.e., the total bandwidth occupancy).
- the hop-by-hop bandwidth occupancy i.e., the estimated idle interface bandwidth
- the compensated interface bandwidth traffic size i.e., the total bandwidth occupancy
- the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted; exemplarily, the data transmission requirements include but are not limited to: low latency requirements, low packet loss rate requirements, data transmission priority or custom requirements (such as the user/client manually specifies the candidate SRv6 TE Policy path).
- the SDN controller when executing step S304, after obtaining multiple estimated idle interface bandwidth sets, can screen out at least one candidate SRv6 TE Policy path that meets the preset estimated idle interface bandwidth condition from multiple candidate SRv6 TE Policy paths based on the multiple estimated idle interface bandwidth sets, thereby selecting a candidate SRv6 TE Policy path that meets the path selection rule from at least one candidate SRv6 TE Policy path, and using the candidate SRv6 TE Policy path as the target SRv6 TE Policy path; in this way, the SDN controller can obtain an SRv6 TE Policy path that meets the preset interface bandwidth occupancy requirements and the set data transmission requirements, so as to improve the data transmission efficiency of SRv6 traffic.
- the SDN controller may perform the following operations for any candidate SRv6 TE Policy path among the multiple candidate SRv6 TE Policy paths: obtaining the estimated idle interface bandwidth corresponding to each single hop in a candidate SRv6 TE Policy path; if each estimated idle interface bandwidth obtained is not greater than a preset estimated idle interface bandwidth threshold, determining that a candidate SRv6 TE Policy path meets the estimated idle interface bandwidth condition; in this way, an SRv6 TE Policy path that meets the preset interface bandwidth occupancy requirement can be accurately obtained.
- the SDN controller when executing step S305, after the SDN controller obtains the target SRv6 TE Policy path, it can send the adjusted SRv6 TE Policy path (i.e., the target SRv6 TE Policy path) to the head node of the target routing network through the BGP-SR protocol/NETCONF protocol, so that the head node can receive the SRv6 TE Policy optimization traffic and adjust it to other paths, that is, adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
- the adjusted SRv6 TE Policy path i.e., the target SRv6 TE Policy path
- the head node can receive the SRv6 TE Policy optimization traffic and adjust it to other paths, that is, adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
- the SDN controller can dynamically calculate the hop-by-hop physical bandwidth occupied by the traffic carried by the SRv6 TE Policy according to the specific path of the SRv6 TE Policy and the specific physical link or logical link type such as the GRE tunnel that the path passes through hop by hop, and perform optimization or optimization preview calculation based on the calculated compensated traffic size; in this way, the existing SDN controller effectively improves the problem that when calculating the bandwidth occupied by SRv6 TE Policy traffic, only the SRv6 TE Policy traffic statistics information reported by the device is calculated, and the compensation values of the tunnel network layer such as the Ethernet interface and GRE are not included, resulting in inaccurate traffic calculation, and the bandwidth occupied by the traffic before and after the traffic adjustment scenario is adjusted is inconsistent with the expectation, resulting in traffic adjustment failure or rollback, that is, the problem of inaccurate calculation of the physical bandwidth occupied by the SRv6 TE Policy traffic on the interface (traf
- the method for adjusting the traffic transmission path based on the acquired routing network information of the target routing network, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path; then, based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths, and the routing network information, the estimated idle interface bandwidth sets corresponding to each of the multiple candidate SRv6 TE Policy paths are obtained; further, based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, the target SRv6 TE Policy path is screened out from the multiple candidate SRv6 TE Policy paths; finally, the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted is adjusted to the target SRv6 TE Policy path.
- the estimated idle interface bandwidth sets corresponding to multiple candidate SRv6 TE Policy paths are obtained, and then combined with the set path selection rules, the target SRv6 TE Policy path is screened out.
- the embodiment of the present application provides a device for adjusting a flow transmission path, and the device for adjusting a flow transmission path is used to implement the above method flow of the embodiment of the present application.
- the device for adjusting a flow transmission path includes: an information acquisition module 1101, a path selection module 1102, a bandwidth calculation module 1103, a path screening module 1104, and a path adjustment module 1105, wherein:
- the information acquisition module 1101 is used to acquire routing network information of a target routing network; wherein the routing network information represents: data transmission capabilities corresponding to each initial SRv6 TE Policy path in the target routing network;
- a path selection module 1102 is used to select multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements from each initial SRv6 TE Policy path based on routing network information;
- the bandwidth calculation module 1103 is used to obtain a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information; wherein each estimated idle interface bandwidth represents: the remaining bandwidth of the interface when the corresponding routing node transmits SRv6 traffic in the target routing network;
- a path screening module 1104 is used to screen out a target SRv6 TE Policy path from multiple candidate SRv6 TE Policy paths based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules; wherein the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted;
- the path adjustment module 1105 is used to adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
- the path selection module 1102 when selecting multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements from each initial SRv6 TE Policy path based on routing network information, the path selection module 1102 is specifically used to:
- the routing network information obtain the physical topology information and three-layer topology information of the target routing network; wherein the physical topology information includes: the interface type and interface connection relationship of each routing interface in the target routing network, and the three-layer topology information includes: the network protocol used by each routing node;
- each path condition represents: whether the corresponding initial SRv6 TE Policy path has end-to-end data transmission capability
- each initial SRv6 TE Policy path multiple initial SRv6 TE Policy paths whose path conditions represent end-to-end data transmission capabilities are used as multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements.
- the bandwidth calculation module 1103 when obtaining a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, the bandwidth calculation module 1103 is specifically used to:
- each interface bandwidth occupancy represents: the data transmission rate when a single hop consisting of two adjacent routing nodes transmits SRv6 traffic;
- each interface occupied bandwidth compensation value represents: the additional bandwidth occupied by the corresponding single-hop transmission SRv6 traffic
- an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path is obtained.
- the bandwidth calculation module 1103 when obtaining a set of interface occupied bandwidth compensation values corresponding to a candidate SRv6 TE Policy path based on the physical topology information included in the routing network information, the bandwidth calculation module 1103 is specifically used to:
- the obtained bandwidth compensation values of each interface are saved in a set of interface bandwidth compensation values corresponding to a candidate SRv6 TE Policy path setting.
- the bandwidth calculation module 1103 when obtaining an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path based on the interface bandwidth occupancy set and the interface occupied bandwidth compensation value set, the bandwidth calculation module 1103 is specifically used to:
- an estimated idle interface bandwidth corresponding to the single hop is obtained.
- the information acquisition module 1101 is further used to:
- interface traffic statistics information of the target routing network wherein the interface traffic statistics information represents: data traffic of each routing interface corresponding to each routing node;
- an interface blocking prompt message is generated for the target routing interface.
- the path screening module 1104 is specifically used to:
- At least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition is selected from multiple candidate SRv6 TE Policy paths;
- the path screening module 1104 when screening out at least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition from a plurality of candidate SRv6 TE Policy paths, is specifically used to:
- a candidate SRv6 TE Policy path is determined to meet the estimated idle interface bandwidth condition.
- the embodiment of the present application also provides an electronic device, which can implement the SR anti-microring method process provided in the above embodiment of the present application.
- the electronic device can be a server, or a terminal device or other electronic device. Referring to FIG. 12, the electronic device may include:
- FIG12 takes the connection between the processor 1201 and the memory 1202 through the bus 1200 as an example.
- the bus 1200 is represented by a bold line in FIG12, and the connection between other components is only for schematic illustration and is not intended to be limiting.
- the bus 1200 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bold line is used in FIG12, but it does not mean that there is only one bus or one type of bus.
- the processor 1201 can also be called a controller, and there is no restriction on the name.
- the memory 1202 stores instructions that can be executed by at least one processor 1201.
- the at least one processor 1201 can execute the SR anti-microring method discussed above by executing the instructions stored in the memory 1202.
- the processor 1201 can implement the functions of each module in the device shown in FIG11.
- the processor 1201 is the control center of the device, which can use various interfaces and lines to connect the various parts of the entire control device, and monitor the device as a whole by running or executing instructions stored in the memory 1202 and calling the data stored in the memory 1202, the various functions of the device and processing data.
- the processor 1201 may include one or more processing units, and the processor 1201 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1201. In some embodiments, the processor 1201 and the memory 1202 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
- Processor 1201 may be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
- a general-purpose processor may be a microprocessor or any conventional processor, etc.
- the steps of an anti-microring method of SR disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
- the memory 1202 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules.
- the memory 1202 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, and the like.
- a flash memory such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static
- the memory 1202 is any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto.
- the memory 1202 in the embodiment of the present application may also be a circuit or any other device that can realize a storage function, and is used to store program instructions and/or data.
- the code corresponding to the SR anti-microring method described in the above embodiment can be fixed into the chip, so that the chip can execute the steps of the SR anti-microring method of the embodiment shown in FIG3 when running.
- How to design and program the processor 1201 is a technology known to those skilled in the art and will not be described in detail here.
- an embodiment of the present application further provides a storage medium, which stores computer instructions.
- the computer instructions When the computer instructions are executed on a computer, the computer executes an anti-microring method of SR discussed above.
- the present application also provides various aspects of an SR anti-microring method, which can also be implemented in the form of a program product, which includes a program code.
- the program code is used to enable the control device to execute the steps of an SR anti-microring method according to various exemplary embodiments of the present application described above in this specification.
- the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
- a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- Program code for performing the operations of the present application may be written using any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages.
- the program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
- These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2023年10月19日提交中华人民共和国国家知识产权局、申请号为202311361759.8、发明名称为“一种流量传输路径的调整方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on October 19, 2023, with application number 202311361759.8 and invention name "A method for adjusting a traffic transmission path and related devices", the entire contents of which are incorporated by reference in this application.
本申请涉及计算机网络技术领域,尤其涉及一种流量传输路径的调整方法及相关装置。The present application relates to the field of computer network technology, and in particular to a method for adjusting a flow transmission path and related devices.
基于互联网协议第6版(Internet Protocol Version 6,IPv6)转发平面的分段路由(Segment Routing IPv6,SRv6)采用源路由技术,通过修改SRv6流量工程策略(SRv6 Traffic Engineering Policy,SRv6 TE Policy)中头结点携带分段路由扩展头(Segment Routing Header,SRH)内具体的分段标识列表(Segment Identity Document List,SID List)即可实现SRv6 TE Policy路径的调整。Segment Routing IPv6 (SRv6) based on the Internet Protocol Version 6 (IPv6) forwarding plane adopts source routing technology. By modifying the specific segment identification list (Segment Identity Document List, SID List) in the Segment Routing Header (SRH) carried by the head node in the SRv6 Traffic Engineering Policy (SRv6 TE Policy), the SRv6 TE Policy path can be adjusted.
具体的,现有软件定义网络(Software Defined Network,SDN)控制器在进行SRv6流量传输时,通常根据SRv6 TE Policy的流量统计(即,只关注SRv6 TE Policy承载的业务报文和IPv6路由扩展头),确定路由网络中各个候选SRv6 TE Policy路径各自的带宽占用情况,从而根据各个带宽占用情况,从各个候选SRv6 TE Policy路径中,筛选出满足流量传输需求的目标SRv6 TE Policy路径,进而通过目标SRv6 TE Policy路径,修改头结点携带SRH内具体的SID List,以实现针对SRv6流量对应流量传输路径的调整。Specifically, when transmitting SRv6 traffic, the existing Software Defined Network (SDN) controller usually determines the bandwidth occupancy of each candidate SRv6 TE Policy path in the routing network based on the traffic statistics of the SRv6 TE Policy (that is, only focusing on the service packets and IPv6 routing extension headers carried by the SRv6 TE Policy). Then, based on the bandwidth occupancy, the target SRv6 TE Policy path that meets the traffic transmission requirements is screened out from each candidate SRv6 TE Policy path, and then, through the target SRv6 TE Policy path, the specific SID List in the SRH carried by the head node is modified to achieve adjustment of the traffic transmission path corresponding to the SRv6 traffic.
然而,采用上述流量传输路径的调整方式,由于SRv6 TE Policy的流量统计仅考虑到SRv6流量对于带宽的占用情况,并未考虑到SRv6流量在传输的过程中,还需要额外占用部分带宽,从而导致获得的各个候选SRv6 TE Policy路径各自的带宽占用情况并不准确,进而降低了调整流量传输路径的准确性。However, when using the above-mentioned method to adjust the traffic transmission path, since the traffic statistics of SRv6 TE Policy only consider the bandwidth occupancy of SRv6 traffic, and do not consider that SRv6 traffic also needs to occupy some additional bandwidth during the transmission process, the bandwidth occupancy of each candidate SRv6 TE Policy path is inaccurate, which in turn reduces the accuracy of adjusting the traffic transmission path.
因此,采用上述方式,调整流量传输路径的准确性较低。Therefore, using the above method, the accuracy of adjusting the traffic transmission path is low.
本申请实施例提供了一种流量传输路径的调整方法及相关装置,用以改善获得的各个候选SRv6 TE Policy路径各自的带宽占用情况并不准确的问题,从而提高调整流量传输路径的准确性。The embodiments of the present application provide a method and related device for adjusting a traffic transmission path, so as to improve the problem that the bandwidth occupancy of each candidate SRv6 TE Policy path is not accurate, thereby improving the accuracy of adjusting the traffic transmission path.
第一方面,本申请实施例提供了一种流量传输路径的调整方法,所述方法包括:In a first aspect, an embodiment of the present application provides a method for adjusting a traffic transmission path, the method comprising:
获取目标路由网络的路由网络信息;其中,路由网络信息表征:目标路由网络中,各个初始SRv6 TE Policy路径各自对应的数据传输能力;Obtain routing network information of the target routing network; wherein the routing network information represents: the data transmission capacity corresponding to each initial SRv6 TE Policy path in the target routing network;
基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径;Based on the routing network information, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path;
基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合;其中,每个预估空闲接口带宽表征:目标路由网络中,相应路由节点传输SRv6流量时的接口剩余带宽;Based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, the estimated idle interface bandwidth sets corresponding to each of the multiple candidate SRv6 TE Policy paths are obtained; wherein each estimated idle interface bandwidth represents: the interface remaining bandwidth when the corresponding routing node transmits SRv6 traffic in the target routing network;
基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径;其中,路径选择规则是针对待传输SRv6流量的数据传输需求设置的;Based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, a target SRv6 TE Policy path is screened out from multiple candidate SRv6 TE Policy paths; wherein the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted;
将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。Adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
第二方面,本申请实施例还提供了一种流量传输路径的调整装置,所述装置包括:In a second aspect, an embodiment of the present application further provides a device for adjusting a flow transmission path, the device comprising:
信息获取模块,用于获取目标路由网络的路由网络信息;其中,路由网络信息表征:目标路由网络中,各个初始SRv6 TE Policy路径各自对应的数据传输能力;An information acquisition module is used to obtain routing network information of a target routing network; wherein the routing network information represents: data transmission capabilities corresponding to each initial SRv6 TE Policy path in the target routing network;
路径选取模块,用于基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径;A path selection module is used to select multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements from each initial SRv6 TE Policy path based on the routing network information;
带宽计算模块,用于基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合;其中,每个预估空闲接口带宽表征:目标路由网络中,相应路由节点传输SRv6流量时的接口剩余带宽;The bandwidth calculation module is used to obtain the estimated idle interface bandwidth set corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information; wherein each estimated idle interface bandwidth represents: the interface remaining bandwidth when the corresponding routing node transmits SRv6 traffic in the target routing network;
路径筛选模块,用于基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径;其中,路径选择规则是针对待传输SRv6流量的数据传输需求设置的;A path screening module, for screening a target SRv6 TE Policy path from multiple candidate SRv6 TE Policy paths based on multiple estimated idle interface bandwidth sets obtained and set path selection rules; wherein the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted;
路径调整模块,用于将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。The path adjustment module is used to adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
在一种可选的实施例中,在基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径时,所述路径选取模块具体用于:In an optional embodiment, when selecting multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements from each initial SRv6 TE Policy path based on routing network information, the path selection module is specifically used to:
从路由网络信息中,获取目标路由网络的物理拓扑信息和三层拓扑信息;其中,物理拓扑信息包含:目标路由网络中,各个路由接口的接口类型和接口连接关系,三层拓扑信息包含:各个路由节点各自采用的网络协议;From the routing network information, obtain the physical topology information and three-layer topology information of the target routing network; wherein the physical topology information includes: the interface type and interface connection relationship of each routing interface in the target routing network, and the three-layer topology information includes: the network protocol used by each routing node;
基于物理拓扑信息和三层拓扑信息,确定各个初始SRv6 TE Policy路径各自对应的路径情况;其中,每个路径情况表征:相应初始SRv6 TE Policy路径是否具备端到端的数据传输能力;Based on the physical topology information and the three-layer topology information, the path conditions corresponding to each initial SRv6 TE Policy path are determined; wherein each path condition represents: whether the corresponding initial SRv6 TE Policy path has end-to-end data transmission capability;
将各个初始SRv6 TE Policy路径中,路径情况表征具备端到端的数据传输能力的多个初始SRv6 TE Policy路径,作为符合预设数据传输要求的多个候选SRv6 TE Policy路径。In each initial SRv6 TE Policy path, multiple initial SRv6 TE Policy paths whose path conditions represent end-to-end data transmission capabilities are used as multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements.
在一种可选的实施例中,在基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合时,所述带宽计算模块具体用于:In an optional embodiment, when obtaining a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, the bandwidth calculation module is specifically used to:
针对多个候选SRv6 TE Policy路径,分别执行以下操作:For multiple candidate SRv6 TE Policy paths, perform the following operations respectively:
基于一个候选SRv6 TE Policy路径对应的流量统计信息,确定一个候选SRv6 TE Policy路径传输SRv6流量时的接口带宽占用量集合;其中,每个接口带宽占用量表征:相应相邻两个路由节点组成的单跳传输SRv6流量时的数据传输速率;Based on the traffic statistics corresponding to a candidate SRv6 TE Policy path, determine a set of interface bandwidth occupancy when a candidate SRv6 TE Policy path transmits SRv6 traffic; wherein each interface bandwidth occupancy represents: the data transmission rate when a single hop consisting of two adjacent routing nodes transmits SRv6 traffic;
基于路由网络信息包含的物理拓扑信息,获得一个候选SRv6 TE Policy路径对应的接口占用带宽补偿值集合;其中,每个接口占用带宽补偿值表征:相应单跳传输SRv6流量所需的额外带宽占用量;Based on the physical topology information contained in the routing network information, a set of interface occupied bandwidth compensation values corresponding to a candidate SRv6 TE Policy path is obtained; wherein each interface occupied bandwidth compensation value represents: the additional bandwidth occupied by the corresponding single-hop transmission SRv6 traffic;
基于接口带宽占用量集合和接口占用带宽补偿值集合,获得一个候选SRv6 TE Policy路径对应的预估空闲接口带宽集合。Based on the interface bandwidth occupancy set and the interface occupied bandwidth compensation value set, an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path is obtained.
在一种可选的实施例中,在基于路由网络信息包含的物理拓扑信息,获得一个候选SRv6 TE Policy路径对应的接口占用带宽补偿值集合时,所述带宽计算模块具体用于:In an optional embodiment, when obtaining a set of interface occupied bandwidth compensation values corresponding to a candidate SRv6 TE Policy path based on the physical topology information included in the routing network information, the bandwidth calculation module is specifically used to:
基于物理拓扑信息,获得一个候选SRv6 TE Policy路径中,各个单跳各自对应的路由接口类型;Based on the physical topology information, obtain the routing interface type corresponding to each single hop in a candidate SRv6 TE Policy path;
基于预设的路由接口类型与接口占用带宽补偿值之间的对应关系,分别确定各个单跳各自对应的接口占用带宽补偿值;Based on the correspondence between the preset routing interface type and the interface occupied bandwidth compensation value, respectively determine the interface occupied bandwidth compensation value corresponding to each single hop;
将获得的各个接口占用带宽补偿值,保存至对应一个候选SRv6 TE Policy路径设置的接口占用带宽补偿值集合。The obtained bandwidth compensation values of each interface are saved in a set of interface bandwidth compensation values corresponding to a candidate SRv6 TE Policy path setting.
在一种可选的实施例中,在基于接口带宽占用量集合和接口占用带宽补偿值集合,获得一个候选SRv6 TE Policy路径对应的预估空闲接口带宽集合时,所述带宽计算模块具体用于:In an optional embodiment, when obtaining an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path based on an interface bandwidth occupancy set and an interface occupied bandwidth compensation value set, the bandwidth calculation module is specifically used to:
针对一个候选SRv6 TE Policy路径中各个单跳,分别执行以下操作:For each single hop in a candidate SRv6 TE Policy path, perform the following operations:
从接口带宽占用量集合和接口占用带宽补偿值集合中,获取一个单跳的接口带宽占用量和接口占用带宽补偿值;Obtaining a single-hop interface bandwidth occupancy and an interface bandwidth compensation value from the interface bandwidth occupancy set and the interface bandwidth compensation value set;
基于接口带宽占用量和接口占用带宽补偿值,获得一个单跳的带宽占用总量;Based on the interface bandwidth usage and the interface bandwidth compensation value, the total bandwidth usage of a single hop is obtained;
基于带宽占用总量和一个单跳的当前空闲接口带宽,获得一个单跳对应的预估空闲接口带宽。Based on the total bandwidth usage and the current idle interface bandwidth of a single hop, an estimated idle interface bandwidth corresponding to the single hop is obtained.
在一种可选的实施例中,在获取目标路由网络的路由网络信息的过程中,信息获取模块还用于:In an optional embodiment, in the process of acquiring the routing network information of the target routing network, the information acquisition module is further used to:
获取目标路由网络的接口流量统计信息;其中,接口流量统计信息表征:各个路由节点各自对应路由接口的数据流量;Obtain interface traffic statistics information of the target routing network; wherein the interface traffic statistics information represents: data traffic of each routing interface corresponding to each routing node;
若各个路由接口中,存在满足预设的接口阻塞条件的目标路由接口,则针对目标路由接口,生成接口阻塞提示消息。If there is a target routing interface that meets the preset interface blocking condition among the routing interfaces, an interface blocking prompt message is generated for the target routing interface.
在一种可选的实施例中,在基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径时,所述路径筛选模块具体用于:In an optional embodiment, when a target SRv6 TE Policy path is screened out from a plurality of candidate SRv6 TE Policy paths based on the obtained plurality of estimated idle interface bandwidth sets and the set path selection rules, the path screening module is specifically used to:
基于多个预估空闲接口带宽集合,从多个候选SRv6 TE Policy路径中,筛选出满足预设的预估空闲接口带宽条件的至少一个候选SRv6 TE Policy路径;Based on multiple estimated idle interface bandwidth sets, at least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition is selected from multiple candidate SRv6 TE Policy paths;
从至少一个候选SRv6 TE Policy路径中,选取出符合路径选择规则的候选SRv6 TE Policy路径,并将候选SRv6 TE Policy路径作为目标SRv6 TE Policy路径。From at least one candidate SRv6 TE Policy path, select a candidate SRv6 TE Policy path that meets the path selection rule, and use the candidate SRv6 TE Policy path as the target SRv6 TE Policy path.
在一种可选的实施例中,在从多个候选SRv6 TE Policy路径中,筛选出满足预设的预估空闲接口带宽条件的至少一个候选SRv6 TE Policy路径时,所述路径筛选模块具体用于:In an optional embodiment, when screening out at least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition from a plurality of candidate SRv6 TE Policy paths, the path screening module is specifically used to:
针对多个候选SRv6 TE Policy路径,分别执行以下操作:For multiple candidate SRv6 TE Policy paths, perform the following operations respectively:
获取一个候选SRv6 TE Policy路径中,各个单跳各自对应的预估空闲接口带宽;Get the estimated idle interface bandwidth corresponding to each hop in a candidate SRv6 TE Policy path;
若获得的各个预估空闲接口带宽,均不大于预设的预估空闲接口带宽阈值,则确定一个候选SRv6TE Policy路径满足预估空闲接口带宽条件。If the estimated idle interface bandwidths obtained are not greater than the preset estimated idle interface bandwidth threshold, a candidate SRv6TE Policy path is determined to meet the estimated idle interface bandwidth condition.
第三方面,本申请提供了一种电子设备,其包括处理器和存储器,其中,所述存储器存储有程序代码,当所述程序代码被所述处理器执行时,使得所述处理器执行上述第一方面所述的流量传输路径的调整方法的步骤。In a third aspect, the present application provides an electronic device comprising a processor and a memory, wherein the memory stores a program code, and when the program code is executed by the processor, the processor executes the steps of the method for adjusting the traffic transmission path described in the first aspect above.
第四方面,本申请提供了一种计算机可读存储介质,其包括程序代码,当所述程序代码在电子设备上运行时,所述程序代码用于使所述电子设备执行上述第一方面所述的流量传输路径的调整方法的步骤。In a fourth aspect, the present application provides a computer-readable storage medium comprising a program code. When the program code is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method for adjusting the traffic transmission path described in the first aspect above.
第五方面,本申请提供了一种计算机程序产品,所述计算机程序产品在被计算机调用时,使得所述计算机执行如第一方面所述的流量传输路径的调整方法的步骤。In a fifth aspect, the present application provides a computer program product, which, when called by a computer, enables the computer to execute the steps of the method for adjusting the traffic transmission path as described in the first aspect.
本申请有益效果如下:The beneficial effects of this application are as follows:
在本申请实施例所提供的流量传输路径的调整方法中,基于获取到的目标路由网络的路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径;接着,基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合;进一步地,基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径;最终,将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。In the method for adjusting the traffic transmission path provided in the embodiment of the present application, based on the obtained routing network information of the target routing network, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path; then, based on the traffic statistical information corresponding to each of the multiple candidate SRv6 TE Policy paths, and the routing network information, the estimated idle interface bandwidth sets corresponding to each of the multiple candidate SRv6 TE Policy paths are obtained; further, based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, the target SRv6 TE Policy path is screened out from the multiple candidate SRv6 TE Policy paths; finally, the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted is adjusted to the target SRv6 TE Policy path.
采用这种方式,根据候选SRv6 TE Policy路径对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合,再结合设定的路径选择规则,筛选出目标SRv6 TE Policy路径,避免了相关技术中,SRv6 TE Policy的流量统计并未考虑到SRv6流量在传输的过程中,还需要额外占用部分带宽,从而导致获得的各个候选SRv6 TE Policy路径各自的带宽占用情况并不准确,进而降低了调整流量传输路径的准确性的技术弊端,故而,提高了调整流量传输路径的准确性。In this way, based on the traffic statistics information corresponding to the candidate SRv6 TE Policy paths and the routing network information, the estimated idle interface bandwidth sets corresponding to multiple candidate SRv6 TE Policy paths are obtained, and then combined with the set path selection rules, the target SRv6 TE Policy path is screened out. This avoids the problem in related technologies that the traffic statistics of SRv6 TE Policy do not take into account the fact that SRv6 traffic needs to occupy additional bandwidth during transmission, resulting in inaccurate bandwidth occupancy of each candidate SRv6 TE Policy path, thereby reducing the accuracy of adjusting the traffic transmission path. Therefore, the accuracy of adjusting the traffic transmission path is improved.
此外,本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者,通过实施本申请而了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。In addition, other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
图1为本申请实施例适用的一种可选的系统架构示意图;FIG1 is a schematic diagram of an optional system architecture applicable to an embodiment of the present application;
图2为本申请实施例提供的一种路由网络的组成结构示意图;FIG2 is a schematic diagram of a structure of a routing network provided in an embodiment of the present application;
图3为本申请实施例提供的一种流量传输路径的调整方法的实施流程示意图;FIG3 is a schematic diagram of an implementation flow of a method for adjusting a flow transmission path provided in an embodiment of the present application;
图4为本申请实施例提供的一种生成流量提示消息的逻辑示意图;FIG4 is a logical diagram of generating a traffic prompt message provided by an embodiment of the present application;
图5为本申请实施例提供的一种候选SRv6 TE Policy路径的逻辑示意图;FIG5 is a logical diagram of a candidate SRv6 TE Policy path provided in an embodiment of the present application;
图6为本申请实施例提供的一种获得预估空闲接口带宽集合的方法实施流程示意图;FIG6 is a schematic diagram of an implementation flow of a method for obtaining an estimated idle interface bandwidth set provided in an embodiment of the present application;
图7为本申请实施例提供的一种获得接口占用带宽补偿值集合的逻辑示意图;FIG7 is a logic diagram of obtaining a set of interface occupied bandwidth compensation values provided in an embodiment of the present application;
图8为本申请实施例提供的一种获得预估空闲接口带宽的方法实施流程示意图;FIG8 is a schematic diagram of an implementation flow of a method for obtaining estimated idle interface bandwidth provided by an embodiment of the present application;
图9为本申请实施例提供的一种筛选出目标SRv6 TE Policy路径的逻辑示意图;FIG9 is a logical diagram of screening out a target SRv6 TE Policy path provided in an embodiment of the present application;
图10为本申请实施例提供的一种基于图3的具体应用场景示意图;FIG10 is a schematic diagram of a specific application scenario based on FIG3 provided in an embodiment of the present application;
图11为本申请实施例提供的一种流量传输路径的调整装置的结构示意图;FIG11 is a schematic diagram of the structure of a flow transmission path adjustment device provided in an embodiment of the present application;
图12为本申请实施例提供的一种电子设备的结构示意图。FIG. 12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请技术方案的一部分实施例,而不是全部的实施例。基于本申请文件中记载的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请技术方案保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.
需要说明的是,在本申请的描述中“多个”理解为“至少两个”。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。A与B连接,可以表示:A与B直接连接和A与B通过C连接这两种情况。另外,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。It should be noted that in the description of this application, "multiple" is understood as "at least two". "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. A and B are connected, which can represent two situations: A and B are directly connected and A and B are connected through C. In addition, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
此外,本申请技术方案中,对数据的采集、传播、使用等,均符合国家相关法律法规要求。In addition, the collection, dissemination, and use of data in the technical solution of this application comply with the requirements of relevant national laws and regulations.
以下对本申请实施例中的部分技术用语进行解释说明,以便于本领域技术人员理解。Some technical terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
(1)简单网络管理协议(Simple Network Management Protocol,SNMP):在简单网关监控协议(Simple Gateway Monitoring Protocol,SGMP)的基础之上,加上新的管理信息结构和管理信息库,简单性和扩展性是SNMP所体现出来的,其中,包含:数据库类型、应用层协议和一些资料文件,故,不仅能够加强网络管理系统的效能,还可以用来对网络中的资源进行管理和实时监控。(1) Simple Network Management Protocol (SNMP): Based on the Simple Gateway Monitoring Protocol (SGMP), SNMP adds a new management information structure and management information base. The simplicity and extensibility are reflected in SNMP, which includes: database type, application layer protocol and some data files. Therefore, it can not only enhance the efficiency of network management system, but also can be used to manage and monitor the resources in the network in real time.
(2)网络配置(Network Configuration,NETCONF)协议:是基于可扩展标记语言(Extensible Markup Language,XML)的网络配置和管理协议,并使用简单的基于远程过程调用(Remote Procedure Call,RPC)机制实现客户端和服务器之间通信。(2) Network Configuration (NETCONF) protocol: It is a network configuration and management protocol based on Extensible Markup Language (XML), and uses a simple Remote Procedure Call (RPC) mechanism to achieve communication between the client and the server.
(3)边界网关协议(Border Gateway Protocol,BGP):是运行于传输控制协议(Transmission Control Protocol,TCP)/IP上的一种自治系统(Autonomous System,AS)的路由协议,是唯一用来处理像因特网大小的网络的协议,也是唯一能够妥善处理好不相关路由域间的多路连接的协议。(3) Border Gateway Protocol (BGP): It is an autonomous system (AS) routing protocol that runs on the Transmission Control Protocol (TCP)/IP. It is the only protocol used to handle networks as large as the Internet and the only protocol that can properly handle multiple connections between unrelated routing domains.
(4)链路状态(Link State,LS):是一种基于链路状态数据库(LSDB)的动态路由协议。(4) Link State (LS): It is a dynamic routing protocol based on the link state database (LSDB).
(5)网络遥测(Network Telemetry)协议:相比于SNMP,Telemetry实现了网络设备主动推送状态信息的能力,具有更强的时效性。(5) Network Telemetry Protocol: Compared with SNMP, Telemetry enables network devices to actively push status information and has stronger timeliness.
进一步的,基于上述名词及相关术语解释,下面对本申请实施例的设计思想进行简要介绍:Further, based on the above-mentioned nouns and related terminology explanations, the design concept of the embodiments of the present application is briefly introduced below:
SRv6采用源路由技术,通过修改SRv6 TE Policy中头结点携带SRH内具体的SID List即可实现SRv6 TE Policy路径的调整;并且,SRv6 TE Policy支持流量统计的功能。SRv6 adopts source routing technology. The SRv6 TE Policy path can be adjusted by modifying the head node in the SRv6 TE Policy to carry the specific SID List in the SRH. In addition, SRv6 TE Policy supports the function of traffic statistics.
故而,现有SDN控制器在进行SRv6流量传输时,通常根据SRv6 TE Policy的流量统计,确定路由网络中各个候选SRv6 TE Policy路径各自的带宽占用情况,从而根据各个带宽占用情况,从各个候选SRv6 TE Policy路径中,筛选出满足流量传输需求的目标SRv6 TE Policy路径,进而通过目标SRv6 TE Policy路径,修改头结点携带SRH内具体的SID List,以实现针对SRv6流量对应流量传输路径的调整。Therefore, when transmitting SRv6 traffic, the existing SDN controller usually determines the bandwidth occupancy of each candidate SRv6 TE Policy path in the routing network based on the traffic statistics of the SRv6 TE Policy, and then selects the target SRv6 TE Policy path that meets the traffic transmission requirements from each candidate SRv6 TE Policy path according to the bandwidth occupancy. Then, through the target SRv6 TE Policy path, the specific SID List in the SRH carried by the head node is modified to achieve the adjustment of the traffic transmission path corresponding to the SRv6 traffic.
然而,采用上述流量传输路径的调整方式,由于SRv6 TE Policy的流量统计仅考虑到SRv6流量对于带宽的占用情况,并未考虑到SRv6流量在传输的过程中,还需要额外占用部分带宽,从而导致获得的各个候选SRv6 TE Policy路径各自的带宽占用情况并不准确,进而降低了调整流量传输路径的准确性。However, when using the above-mentioned method to adjust the traffic transmission path, since the traffic statistics of SRv6 TE Policy only consider the bandwidth occupancy of SRv6 traffic, and do not consider that SRv6 traffic also needs to occupy some additional bandwidth during the transmission process, the bandwidth occupancy of each candidate SRv6 TE Policy path is inaccurate, which in turn reduces the accuracy of adjusting the traffic transmission path.
示例性的,SDN控制器基于SRv6 TE Policy的流量统计和接口的流量统计功能,可以对调整后路由接口的流量进行预测和预览,从而完成流量的调整和回切;其中,SRv6 TE Policy的流量统计通常只关注SRv6 TE Policy承载的业务报文和IPv6路由扩展头,并不包含数据链路层和部分网络层的信息,接口的流量统计包含以上数据链路层和全部网络层信息。For example, based on the traffic statistics of SRv6 TE Policy and the traffic statistics function of the interface, the SDN controller can predict and preview the traffic of the adjusted routing interface, thereby completing the traffic adjustment and switching back; among them, the traffic statistics of SRv6 TE Policy usually only focus on the service packets and IPv6 routing extension headers carried by SRv6 TE Policy, and do not include the information of the data link layer and part of the network layer. The traffic statistics of the interface include the above data link layer and all network layer information.
因此,SDN控制器单纯基于SRv6 TE Policy的流量统计进行流量调整,将出现误差,而且,由于SRv6流量的报文头大小相对固定,但是SRv6 TE Policy承载流量的大小是动态变化的(常与路由接口相关),并且,这种情况在SRv6承载大量较小的数据包时将更加明显,这也使得基于SRv6 TE Policy的流量统计进行流量调整和调优,会出现巨大的误差。Therefore, if the SDN controller simply adjusts traffic based on the traffic statistics of SRv6 TE Policy, errors will occur. In addition, since the packet header size of SRv6 traffic is relatively fixed, but the size of the traffic carried by SRv6 TE Policy changes dynamically (often related to the routing interface), and this situation will be more obvious when SRv6 carries a large number of smaller data packets, traffic adjustment and optimization based on SRv6 TE Policy traffic statistics will result in huge errors.
有鉴于此,在本申请实施例中,基于SRv6 TE Policy的流量统计信息和SRv6 TE Policy流量占用物理带宽流量的补偿计算,提出了一种流量传输路径的调整方法,具体包括:获取目标路由网络的路由网络信息,其中,路由网络信息表征:目标路由网络中,各个初始SRv6 TE Policy路径各自对应的数据传输能力;接着,基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径;再者,基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合,其中,每个预估空闲接口带宽表征:目标路由网络中,相应路由节点传输SRv6流量时的接口剩余带宽;进一步地,基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径,其中,路径选择规则是针对待传输SRv6流量的数据传输需求设置的;最终,将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径;这样,通过SRv6 TE Policy路径对应的流量统计信息,以及路由网络信息,获得SRv6 TE Policy路径的预估空闲接口带宽集合,解决了仅考虑到SRv6流量对于带宽的占用情况,未考虑到SRv6流量在传输的过程中,还需要额外占用部分带宽的问题,故而,提高了调整流量传输路径的准确性。In view of this, in an embodiment of the present application, based on the traffic statistics information of SRv6 TE Policy and the compensation calculation of the physical bandwidth occupied by SRv6 TE Policy traffic, a method for adjusting the traffic transmission path is proposed, which specifically includes: obtaining routing network information of the target routing network, wherein the routing network information represents: the data transmission capacity corresponding to each initial SRv6 TE Policy path in the target routing network; then, based on the routing network information, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path; further, based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths, and the routing network information, a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths is obtained, wherein each estimated idle interface bandwidth represents: , the interface remaining bandwidth of the corresponding routing node when transmitting SRv6 traffic; further, based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, the target SRv6 TE Policy path is screened out from multiple candidate SRv6 TE Policy paths, wherein the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted; finally, the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted is adjusted to the target SRv6 TE Policy path; in this way, the estimated idle interface bandwidth set of the SRv6 TE Policy path is obtained through the traffic statistics information corresponding to the SRv6 TE Policy path and the routing network information, which solves the problem of only considering the bandwidth occupancy of SRv6 traffic, but not considering that SRv6 traffic also needs to occupy some additional bandwidth during transmission, thereby improving the accuracy of adjusting the traffic transmission path.
特别地,以下结合说明书附图对本申请的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本申请,并不用于限定本申请,并且在不冲突的情况下,本申请实施例及实施例中的特征可以相互组合。In particular, the preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application, and the embodiments of the present application and the features in the embodiments may be combined with each other if there is no conflict.
参阅图1所示,其为本申请实施例适用的一种系统架构示意图,该系统架构包括:目标终端101、路由网络102、服务器103和SDN控制器104。目标终端101和服务器103之间可通过路由网络102进行信息交互,路由网络102和SDN控制器104之间可通过通信网络进行信息交互,其中,通信网络采用的通信方式可包括:无线通信方式和有线通信方式。Referring to FIG. 1 , it is a schematic diagram of a system architecture applicable to an embodiment of the present application, and the system architecture includes: a target terminal 101, a routing network 102, a server 103, and an SDN controller 104. The target terminal 101 and the server 103 can exchange information through the routing network 102, and the routing network 102 and the SDN controller 104 can exchange information through a communication network, wherein the communication mode adopted by the communication network may include: a wireless communication mode and a wired communication mode.
示例性的,SDN控制器104可通过蜂窝移动通信技术接入网络,与路由网络102进行通信,其中,所述蜂窝移动通信技术,比如,包括第五代移动通信(5th Generation Mobile Networks,5G)技术。Exemplarily, the SDN controller 104 can access the network through cellular mobile communication technology and communicate with the routing network 102, wherein the cellular mobile communication technology includes, for example, the fifth generation mobile communication (5th Generation Mobile Networks, 5G) technology.
可选的,SDN控制器104可通过短距离无线通信方式接入网络,与路由网络102进行通信,其中,所述短距离无线通信方式,比如,包括无线保真(Wireless Fidelity,Wi-Fi)技术。Optionally, the SDN controller 104 can access the network via short-range wireless communication and communicate with the routing network 102, wherein the short-range wireless communication method includes, for example, Wireless Fidelity (Wi-Fi) technology.
本申请实施例对上述系统架构中涉及的通信设备的数量不做任何限制,例如,可以更多目标终端101,或者没有目标终端101,或者还包括其他网络设备,如图1所示,仅以目标终端101、路由网络102、服务器103和SDN控制器104为例进行描述,下面对上述各设备及其各自的功能进行简要介绍。The embodiment of the present application does not impose any restriction on the number of communication devices involved in the above system architecture. For example, there may be more target terminals 101, or no target terminal 101, or other network devices may be included. As shown in FIG1 , only the target terminal 101, routing network 102, server 103 and SDN controller 104 are described as examples. The above devices and their respective functions are briefly introduced below.
目标终端101,是一种可以向用户提供语音和/或数据连通性的设备,可以是支持有线和/或无线连接方式的设备。The target terminal 101 is a device that can provide voice and/or data connectivity to the user, and can be a device that supports wired and/or wireless connection.
示例性的,目标终端101包括但不限于:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(Mobile Internet Device,MID)、可穿戴设备,虚拟现实(Virtual Reality,VR)设备、增强现实(Augmented Reality,AR)设备、工业控制中的无线终端设备、无人驾驶中的无线终端设备、智能电网中的无线终端设备、运输安全中的无线终端设备、智慧城市中的无线终端设备,或智慧家庭中的无线终端设备等。Exemplarily, the target terminal 101 includes, but is not limited to: mobile phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminal devices in industrial control, wireless terminal devices in unmanned driving, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, or wireless terminal devices in smart homes, etc.
此外,目标终端101上可以安装有相关的客户端,该客户端可以是软件,例如,应用程序(Application,APP)、浏览器、短视频软件等,也可以是网页、小程序等;需要说明的是,在本申请实施例中,目标终端101可以使上述业务数据/业务信息的客户端,通过路由网络102向服务器103发送业务数据/业务信息获取,以便进行后续的业务数据/业务信息处理等方法步骤。In addition, a related client may be installed on the target terminal 101, and the client may be software, for example, an application (Application, APP), a browser, a short video software, etc., or a web page, a mini-program, etc.; it should be noted that in an embodiment of the present application, the target terminal 101 may enable the client of the above-mentioned business data/business information to send business data/business information to the server 103 through the routing network 102 to obtain the business data/business information, so as to perform subsequent business data/business information processing and other method steps.
参阅图2所示,路由网络102包括多个路由节点(102a,…,102h),其中,多个路由节点(102a,…,102h)中的任意一个路由节点,均可用于传输数据包和配置信号的收发,多用于一般的树形网络,还可用于进行数据的路径搜索和路径维持,即从一个接口上收到数据包,根据数据包的目的地址进行定向并转发到另一个接口的过程,即找到数据包从源到目的地的最有效路径。As shown in FIG. 2 , a routing network 102 includes a plurality of routing nodes (102a, ..., 102h), wherein any one of the plurality of routing nodes (102a, ..., 102h) can be used to transmit data packets and receive and send configuration signals, and is mostly used in general tree networks. It can also be used to perform data path search and path maintenance, that is, a process of receiving a data packet from one interface, directing it according to the destination address of the data packet and forwarding it to another interface, that is, finding the most effective path for the data packet from the source to the destination.
其中,路由网络102的头结点(即路由节点102a)携带SRH内具体的SID List,SDN控制器104可以向路由网络102的头结点(路由节点102a)下发调优流量传输路径,以使路由网络102的头结点(路由节点102a)根据调优流量传输路径,修改SRH内具体的SID List,从而实现对目标终端101与服务器103之间流量/数据传输路径的调整。Among them, the head node of the routing network 102 (i.e., routing node 102a) carries the specific SID List in the SRH, and the SDN controller 104 can send the optimized traffic transmission path to the head node (routing node 102a) of the routing network 102, so that the head node (routing node 102a) of the routing network 102 can modify the specific SID List in the SRH according to the optimized traffic transmission path, thereby realizing the adjustment of the traffic/data transmission path between the target terminal 101 and the server 103.
需要说明的是,在本申请实施例中,路由网络102中路由节点的数量不做任何具体的限制,例如,可以更多路由节点,或者更少路由节点;并且,路由节点可以为任一类型具备路由能力的路由设备。It should be noted that in the embodiment of the present application, there is no specific limitation on the number of routing nodes in the routing network 102. For example, there may be more routing nodes, or fewer routing nodes. Moreover, the routing nodes may be any type of routing device with routing capabilities.
服务器103可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。Server 103 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.
值得指出的是,在本申请实施例中,服务器103在接收到目标终端101发送的业务数据/业务信息之后,会针对业务数据/业务信息进行相应的数据处理。It is worth pointing out that in the embodiment of the present application, after receiving the business data/business information sent by the target terminal 101, the server 103 will perform corresponding data processing on the business data/business information.
SDN控制器104,用于获取路由网络的路由网络信息,接着基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径,接着,基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合,进一步地,基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径,最终,将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。The SDN controller 104 is used to obtain routing network information of the routing network, and then selects multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements from each initial SRv6 TE Policy path based on the routing network information. Then, based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, obtain the estimated idle interface bandwidth set corresponding to each of the multiple candidate SRv6 TE Policy paths. Further, based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, select the target SRv6 TE Policy path from the multiple candidate SRv6 TE Policy paths. Finally, adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
下面结合上述的系统架构,以及参考附图来描述本申请示例性实施方式提供的流量传输路径的调整方法,需要注意的是,上述系统架构仅是为了便于理解本申请的精神和原理而示出,本申请的实施方式在此方面不受任何限制。The following describes the method for adjusting the traffic transmission path provided by the exemplary embodiment of the present application in combination with the above-mentioned system architecture and with reference to the accompanying drawings. It should be noted that the above-mentioned system architecture is only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this regard.
参阅图3所示,其为本申请实施例提供的一种流量传输路径的调整方法的实施流程示意图,执行主体以SDN控制器为例,该方法的具体实施流程如下:Referring to FIG. 3 , it is a schematic diagram of an implementation flow of a method for adjusting a traffic transmission path provided in an embodiment of the present application. The execution subject is an SDN controller as an example. The specific implementation flow of the method is as follows:
S301:获取目标路由网络的路由网络信息。S301: Obtain routing network information of a target routing network.
其中,路由网络信息表征:目标路由网络中,各个初始SRv6 TE Policy路径各自对应的数据传输能力。Among them, the routing network information represents: the data transmission capability corresponding to each initial SRv6 TE Policy path in the target routing network.
可选的,上述路由网络信息包括但不限于:目标路由网络的物理拓扑信息、三层拓扑信息,以及SRv6 TE Policy的逐跳路径信息;其中,SRv6 TE Policy的逐跳路径信息包括目标路由网络中各个初始SRv6 TE Policy路径,每个初始SRv6 TE Policy路径中包含多个单跳,每个单跳对应相邻两个路由节点;物理拓扑信息包含目标路由网络中,各个路由接口的接口类型和接口连接关系;三层拓扑信息包含各个路由节点各自采用的网络协议。Optionally, the above-mentioned routing network information includes but is not limited to: physical topology information, three-layer topology information, and hop-by-hop path information of the target routing network; wherein, the hop-by-hop path information of the SRv6 TE Policy includes each initial SRv6 TE Policy path in the target routing network, each initial SRv6 TE Policy path contains multiple single hops, and each single hop corresponds to two adjacent routing nodes; the physical topology information includes the interface type and interface connection relationship of each routing interface in the target routing network; the three-layer topology information includes the network protocol adopted by each routing node.
示例性的,上述物理拓扑信息包含:物理链接、逻辑链接、物理接口以及逻辑接口等信息,其中,物理接口可以为以太网络接口(Ethernet)或者无源光网络(Passive Optical Network,PON)接口等,逻辑接口可以包括:通用路由封装(Generic Routing Encapsulation,GRE)隧道接口等;上述网络协议包括但不限于:各类数据链路层协议和各类网络层协议。Exemplarily, the above-mentioned physical topology information includes: physical links, logical links, physical interfaces and logical interfaces, etc., wherein the physical interface can be an Ethernet interface (Ethernet) or a passive optical network (Passive Optical Network, PON) interface, etc., and the logical interface can include: Generic Routing Encapsulation (Generic Routing Encapsulation, GRE) tunnel interface, etc.; the above-mentioned network protocols include but are not limited to: various data link layer protocols and various network layer protocols.
故而,在执行步骤S301时,SDN控制器可通过相关协议,收集目标路由网络的物理拓扑信息、三层拓扑信息以及SRv6 TE Policy的逐跳路径信息;其中,相关协议可以为:SNMP/NETCONF协议和BGP-LS协议,SNMP/NETCONF协议用于收集目标路由网络(全网)的物理拓扑信息,BGP-LS协议用于收集目标路由网络(全网)的三层拓扑信息和SRv6 TE Policy的逐跳路径信息。Therefore, when executing step S301, the SDN controller can collect the physical topology information, three-layer topology information and hop-by-hop path information of the target routing network through relevant protocols; wherein the relevant protocols may be: SNMP/NETCONF protocol and BGP-LS protocol, SNMP/NETCONF protocol is used to collect the physical topology information of the target routing network (the entire network), and BGP-LS protocol is used to collect the three-layer topology information of the target routing network (the entire network) and the hop-by-hop path information of the SRv6 TE Policy.
在一种可选的实现方式中,参阅图4所示,在执行步骤S301时,SDN控制器还可获取目标路由网络的接口流量统计信息,若各个路由接口中,存在满足预设的接口阻塞条件的目标路由接口,则针对目标路由接口,生成接口阻塞提示消息;可选的,若各个路由接口中,存在不满足预设的接口阻塞条件的第一路由接口,则针对第一路由接口,生成接口正常提示消息;其中,接口流量统计信息表征:各个路由节点各自对应路由接口的数据流量。In an optional implementation, referring to FIG. 4 , when executing step S301, the SDN controller may also obtain interface traffic statistics information of the target routing network. If, among each routing interface, there is a target routing interface that satisfies a preset interface blocking condition, an interface blocking prompt message is generated for the target routing interface. Optionally, if, among each routing interface, there is a first routing interface that does not satisfy the preset interface blocking condition, an interface normal prompt message is generated for the first routing interface. The interface traffic statistics information represents: the data traffic of each routing node's corresponding routing interface.
需要说明的是,上述接口阻塞条件可以是根据路由接口的流量承受能力(即,最大可承受的数据流量阈值)来设定的,故而,上述接口阻塞条件具体可为:路由接口当前的数据流量不大于路由接口最大可承受的数据流量阈值。It should be noted that the above-mentioned interface blocking condition can be set according to the traffic carrying capacity of the routing interface (i.e., the maximum tolerable data traffic threshold). Therefore, the above-mentioned interface blocking condition can be specifically: the current data traffic of the routing interface is not greater than the maximum tolerable data traffic threshold of the routing interface.
显然,SDN控制器基于上述路由接口对应的流量提示消息,可以实时获取目标路由网络中,各个路由接口的数据传输状态,即路由接口的当前数据流量是否造成了接口阻塞,以便后续更高效地流量传输路径的调整。Obviously, based on the traffic prompt messages corresponding to the above routing interfaces, the SDN controller can obtain the data transmission status of each routing interface in the target routing network in real time, that is, whether the current data traffic of the routing interface causes interface congestion, so as to adjust the traffic transmission path more efficiently in the future.
S302:基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径。S302: Based on the routing network information, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path.
在一种可选的实现方式中,参阅图5所示,在执行步骤S302时,SDN控制器获取到目标路由网络的路由网络信息后,便可从路由网络信息中,获取目标路由网络的物理拓扑信息和三层拓扑信息;接着,基于物理拓扑信息和三层拓扑信息,确定各个初始SRv6 TE Policy路径各自对应的路径情况;最终,将各个初始SRv6 TE Policy路径中,路径情况表征具备端到端的数据传输能力的多个初始SRv6 TE Policy路径,作为符合预设数据传输要求的多个候选SRv6 TE Policy路径;其中,每个路径情况表征:相应初始SRv6 TE Policy路径是否具备端到端的数据传输能力。In an optional implementation, referring to FIG5 , when executing step S302, after the SDN controller obtains the routing network information of the target routing network, it can obtain the physical topology information and the three-layer topology information of the target routing network from the routing network information; then, based on the physical topology information and the three-layer topology information, determine the path conditions corresponding to each initial SRv6 TE Policy path; finally, in each initial SRv6 TE Policy path, the path conditions representing multiple initial SRv6 TE Policy paths with end-to-end data transmission capabilities are used as multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements; wherein each path condition represents whether the corresponding initial SRv6 TE Policy path has end-to-end data transmission capabilities.
采用这种方式,通过物理拓扑信息和三层拓扑信息,便可确定目标路由网络中,那些初始SRv6 TE Policy路径具备端到端的数据传输能力,这样,获得的多个初始SRv6 TE Policy路径便可作为候选SRv6TE Policy路径,以便后续实现SRv6流量等相关数据的传输。In this way, through the physical topology information and the three-layer topology information, it is possible to determine which initial SRv6 TE Policy paths in the target routing network have end-to-end data transmission capabilities. In this way, the multiple initial SRv6 TE Policy paths obtained can be used as candidate SRv6 TE Policy paths to facilitate the subsequent transmission of SRv6 traffic and other related data.
S303:基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合。S303: Based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, obtain the estimated idle interface bandwidth set corresponding to each of the multiple candidate SRv6 TE Policy paths.
其中,每个预估空闲接口带宽表征:目标路由网络中,相应路由节点传输SRv6流量时的接口剩余带宽,即每个预估空闲接口带宽是相应路由节点传输SRv6流量前的接口剩余带宽,与传输SRv6流量时实际所需接口带宽的差值。Among them, each estimated idle interface bandwidth represents: in the target routing network, the interface remaining bandwidth when the corresponding routing node transmits SRv6 traffic, that is, each estimated idle interface bandwidth is the difference between the interface remaining bandwidth before the corresponding routing node transmits SRv6 traffic and the actual interface bandwidth required for transmitting SRv6 traffic.
需要说明的是,在执行步骤S303之前,SDN控制器可以通过相关协议收集目标路由网络中,候选SRv6 TE Policy路径对应的流量统计信息(也即SRv6 TE Policy的流量统计);其中,相关协议可以为:SNMP/Telemetry协议。It should be noted that before executing step S303, the SDN controller may collect traffic statistics information corresponding to the candidate SRv6 TE Policy path in the target routing network (that is, traffic statistics of the SRv6 TE Policy) through relevant protocols; wherein the relevant protocol may be: SNMP/Telemetry protocol.
进一步地,参阅图6所示,在执行步骤S303时,SDN控制器针对多个候选SRv6 TE Policy路径中的任一候选SRv6 TE Policy路径,执行以下操作:Further, referring to FIG. 6 , when executing step S303, the SDN controller performs the following operations for any candidate SRv6 TE Policy path among the multiple candidate SRv6 TE Policy paths:
S601:基于一个候选SRv6 TE Policy路径对应的流量统计信息,确定一个候选SRv6 TE Policy路径传输SRv6流量时的接口带宽占用量集合。S601: Based on the traffic statistics corresponding to a candidate SRv6 TE Policy path, determine a set of interface bandwidth occupancy when a candidate SRv6 TE Policy path transmits SRv6 traffic.
其中,每个接口带宽占用量表征:相应相邻两个路由节点组成的单跳传输SRv6流量时的数据传输速率。The bandwidth occupancy of each interface represents the data transmission rate when a single hop consisting of two adjacent routing nodes transmits SRv6 traffic.
具体的,在执行步骤S601时,SDN控制器针对上述一个候选SRv6 TE Policy路径中的每个单跳,均可以通过该候选SRv6 TE Policy路径对应的流量统计信息与之相关的部分,去计算相应单跳的接口带宽占用量;需要说明的是,接口带宽占用量还可以表征:单位时间内平均报文长度的字节数,故而,上述方式可以计算并获得单位时间内平均报文长度x字节。Specifically, when executing step S601, the SDN controller can calculate the interface bandwidth occupancy of each single hop in the above-mentioned candidate SRv6 TE Policy path through the part of the traffic statistics information corresponding to the candidate SRv6 TE Policy path that is related to it; it should be noted that the interface bandwidth occupancy can also be represented by: the number of bytes of the average message length per unit time, so the above method can calculate and obtain the average message length x bytes per unit time.
S602:基于路由网络信息包含的物理拓扑信息,获得一个候选SRv6 TE Policy路径对应的接口占用带宽补偿值集合。S602: Based on the physical topology information contained in the routing network information, a set of interface occupied bandwidth compensation values corresponding to a candidate SRv6 TE Policy path is obtained.
其中,每个接口占用带宽补偿值表征:相应单跳传输SRv6流量所需的额外带宽占用量。The bandwidth compensation value of each interface represents: the additional bandwidth occupied by the corresponding single-hop transmission of SRv6 traffic.
在一种可选的实现方式中,参阅图7所示,在执行步骤S602时,SDN控制器在获得接口带宽占用量集合之后,便可基于路由网络信息包含的物理拓扑信息,获得一个候选SRv6 TE Policy路径中,各个单跳各自对应的路由接口类型;接着,基于预设的路由接口类型与接口占用带宽补偿值之间的对应关系,分别确定各个单跳各自对应的接口占用带宽补偿值;最终,将获得的各个接口占用带宽补偿值,保存至对应一个候选SRv6 TE Policy路径设置的接口占用带宽补偿值集合;这样,便可获得用于占用带宽补偿的接口占用带宽补偿值集合。In an optional implementation, referring to FIG. 7 , when executing step S602, after obtaining the interface bandwidth occupancy set, the SDN controller can obtain the routing interface type corresponding to each single hop in a candidate SRv6 TE Policy path based on the physical topology information contained in the routing network information; then, based on the correspondence between the preset routing interface type and the interface occupied bandwidth compensation value, determine the interface occupied bandwidth compensation value corresponding to each single hop; finally, save the obtained interface occupied bandwidth compensation value to the interface occupied bandwidth compensation value set corresponding to a candidate SRv6 TE Policy path; in this way, a set of interface occupied bandwidth compensation values for occupied bandwidth compensation can be obtained.
需要说明的是,上述的路由接口类型包括但不限于:物理接口类型(比如,以太网络接口类型)和逻辑接口类型(比如,GRE隧道接口类型);并且,接口占用带宽补偿值通常只与路由接口类型相关,并且,同一路由接口类型对应的接口占用带宽补偿值相同。It should be noted that the above-mentioned routing interface types include but are not limited to: physical interface type (for example, Ethernet network interface type) and logical interface type (for example, GRE tunnel interface type); and, the interface occupied bandwidth compensation value is usually only related to the routing interface type, and the interface occupied bandwidth compensation value corresponding to the same routing interface type is the same.
故而,SDN控制器通过SNMP/NETCONF协议,收集到的物理拓扑信息中,必须包含路由接口属性/类型信息(如,路由接口类型为以太网络接口或者GRE逻辑隧道接口)。Therefore, the physical topology information collected by the SDN controller through the SNMP/NETCONF protocol must include routing interface attribute/type information (for example, the routing interface type is an Ethernet network interface or a GRE logical tunnel interface).
可选的,上述预设的路由接口类型与接口占用带宽补偿值之间的对应关系中,接口占用带宽补偿值可以是通过如下两种方式获得的:Optionally, in the above preset correspondence between the routing interface type and the interface occupied bandwidth compensation value, the interface occupied bandwidth compensation value may be obtained in the following two ways:
1、SDN控制器根据路由接口类型自动计算接口占用带宽补偿值。1. The SDN controller automatically calculates the interface bandwidth compensation value based on the routing interface type.
示例性的,假定路由接口为GRE隧道(逻辑)接口场景,即路由接口类型为GRE隧道接口类型,则接口占用带宽补偿值为链路层报文头+GRE报文头。Exemplarily, assuming that the routing interface is a GRE tunnel (logical) interface scenario, that is, the routing interface type is a GRE tunnel interface type, the interface occupied bandwidth compensation value is the link layer message header+GRE message header.
2、SDN控制器为每种路由接口类型预制接口占用带宽补偿值。2. The SDN controller pre-sets the interface occupied bandwidth compensation value for each routing interface type.
值得指出的是,SDN域的拓扑(即目标路由网络)可能经常变化,但是所有路由接口的路由接口类型不会经常变化,因为每个单跳的接口占用带宽补偿值,只与承载SRv6 TE Policy的路由接口类型相关,所以拓扑和流量信息实时动态变化本质上并不会造成接口占用带宽补偿值的重新计算;故而,可在SDN控制器针对每种路由接口类型,预先设置接口占用带宽补偿值。It is worth pointing out that the topology of the SDN domain (i.e., the target routing network) may change frequently, but the routing interface types of all routing interfaces will not change frequently, because the interface bandwidth compensation value of each single hop is only related to the routing interface type that carries the SRv6 TE Policy. Therefore, the real-time dynamic changes in the topology and traffic information will not essentially cause the recalculation of the interface bandwidth compensation value; therefore, the interface bandwidth compensation value can be pre-set for each routing interface type in the SDN controller.
此外,SDN控制器可以通过存量数据同步感知新增的路由接口,从而针对新增路由接口的路由接口类型,为其配置/设置接口占用带宽补偿值;但是,拓扑变化新增了未适配的路由接口类型,则需要动态计算或者人工根据路由接口类型的协议报文大小,设置接口占用带宽补偿值。In addition, the SDN controller can synchronously perceive the newly added routing interfaces through the existing data, and thus configure/set the interface bandwidth compensation value for the routing interface type of the newly added routing interface; however, if the topology change adds an unadapted routing interface type, it is necessary to dynamically calculate or manually set the interface bandwidth compensation value based on the protocol message size of the routing interface type.
S603:基于接口带宽占用量集合和接口占用带宽补偿值集合,获得一个候选SRv6 TE Policy路径对应的预估空闲接口带宽集合。S603: Based on the interface bandwidth occupancy set and the interface occupied bandwidth compensation value set, obtain an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path.
在一种可选的实现方式中,参阅图8所示,在执行步骤S603时,SDN控制器在获得接口带宽占用量集合和接口占用带宽补偿值集合之后,可以针对上述一个候选SRv6 TE Policy路径中各个单跳,分别执行以下操作:In an optional implementation, as shown in FIG8 , when executing step S603, after obtaining the interface bandwidth occupancy set and the interface occupied bandwidth compensation value set, the SDN controller may perform the following operations for each single hop in the above-mentioned candidate SRv6 TE Policy path:
S801:从接口带宽占用量集合和接口占用带宽补偿值集合中,获取一个单跳的接口带宽占用量和接口占用带宽补偿值。S801: Obtain an interface bandwidth occupancy and an interface bandwidth compensation value of a single hop from an interface bandwidth occupancy set and an interface bandwidth compensation value set.
示例性的,假定上述接口带宽占用量集合包含5个单跳各自对应的接口带宽占用量,故,接口占用带宽补偿值集合包含5个单跳各自对应的接口占用带宽补偿值,其中,上述5个单跳及其各自对应的接口带宽占用量和接口占用带宽补偿值,如表1所示:Exemplarily, assuming that the above-mentioned interface bandwidth occupancy set includes the interface bandwidth occupancy corresponding to each of the five single hops, the interface occupied bandwidth compensation value set includes the interface occupied bandwidth compensation value corresponding to each of the five single hops, wherein the above-mentioned five single hops and their respective corresponding interface bandwidth occupancy and interface occupied bandwidth compensation value are as shown in Table 1:
表1
Table 1
基于上述表格,假定当前单跳为候选SRv6 TE Policy路径中的单跳3,则SDN控制器可以从接口带宽占用量集合包含的5个接口带宽占用量和接口占用带宽补偿值集合包含的5个接口占用带宽补偿值中,获得单跳3对应的接口带宽占用量Usage.3与接口占用带宽补偿值Com.Va.3。Based on the above table, assuming that the current single hop is single hop 3 in the candidate SRv6 TE Policy path, the SDN controller can obtain the interface bandwidth occupancy Usage.3 and the interface bandwidth compensation value Com.Va.3 corresponding to single hop 3 from the 5 interface bandwidth occupancy contained in the interface bandwidth occupancy set and the 5 interface bandwidth compensation values contained in the interface bandwidth compensation value set.
S802:基于接口带宽占用量和接口占用带宽补偿值,获得一个单跳的带宽占用总量。S802: Obtain a total bandwidth occupation of a single hop based on the interface bandwidth occupation and the interface occupied bandwidth compensation value.
具体的,在执行步骤S802时,SDN控制器获得单跳的接口带宽占用量和接口占用带宽补偿值之后,可根据预设的带宽占用总量计算公式,计算得到单跳的带宽占用总量;可选的,上述预设的带宽占用总量计算公式具体表示如下:
Bs=Bu+Bc
Specifically, when executing step S802, after the SDN controller obtains the interface bandwidth occupancy of a single hop and the interface occupied bandwidth compensation value, the total bandwidth occupancy of a single hop can be calculated according to a preset total bandwidth occupancy calculation formula; optionally, the preset total bandwidth occupancy calculation formula is specifically expressed as follows:
Bs = Bu + Bc
其中,Bs表示带宽占用总量,Bu表示接口带宽占用量,Bc表示接口占用带宽补偿值。Where Bs represents the total bandwidth usage, Bu represents the interface bandwidth usage, and Bc represents the interface bandwidth compensation value.
示例性的,假定上述单跳对应的路由网络接口为:普通以太网络接口叠加GRE隧道接口,则上述预设的带宽占用总量计算公式进一步可表示为:Exemplarily, assuming that the routing network interface corresponding to the above single hop is: a common Ethernet network interface superimposed with a GRE tunnel interface, the above preset total bandwidth occupation calculation formula can be further expressed as:
单跳SRv6 TE Policy占用接口物理带宽=(流量统计累计流量大小/流量统计时间)+以太接口占用字节数+(GRE隧道占用字节数)The physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy = (the accumulated traffic volume of traffic statistics/the traffic statistics time) + the number of bytes occupied by the Ethernet interface + (the number of bytes occupied by the GRE tunnel)
其中,单跳SRv6 TE Policy占用接口物理带宽为带宽占用总量Bs,(流量统计累计流量大小/流量统计时间)为接口带宽占用量Bu,以太接口占用字节数+(GRE隧道占用字节数)为接口占用带宽补偿值Bc。The physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy is the total bandwidth occupation B s , (accumulated traffic volume in traffic statistics/traffic statistics time) is the interface bandwidth occupation Bu , and the number of bytes occupied by the Ethernet interface + (the number of bytes occupied by the GRE tunnel) is the interface bandwidth occupation compensation value B c .
S803:基于带宽占用总量和一个单跳的当前空闲接口带宽,获得一个单跳对应的预估空闲接口带宽。S803: Based on the total bandwidth usage and the current idle interface bandwidth of a single hop, obtain an estimated idle interface bandwidth corresponding to the single hop.
具体的,在执行步骤S803时,SDN控制器在获得带宽占用总量之后,便可根据带宽占用总量与该单跳的当前空闲接口带宽,以及预设的预估空闲接口带宽计算公式,获得该单跳对应的预估空闲接口带宽;可选的,上述预设的预估空闲接口带宽计算公式具体表示如下:
Be=Bp-Bs
Specifically, when executing step S803, after obtaining the total bandwidth occupancy, the SDN controller can obtain the estimated idle interface bandwidth corresponding to the single hop according to the total bandwidth occupancy and the current idle interface bandwidth of the single hop, and the preset estimated idle interface bandwidth calculation formula; optionally, the above preset estimated idle interface bandwidth calculation formula is specifically expressed as follows:
Be = Bp - Bs
其中,Be表示预估空闲接口带宽,Bp表示当前空闲接口带宽,Bs表示带宽占用总量。Where, Be represents the estimated idle interface bandwidth, Bp represents the current idle interface bandwidth, and Bs represents the total bandwidth usage.
示例性的,假定上述单跳对应的路由网络接口仍为:普通以太网络接口叠加GRE隧道接口,则上述预设的预估空闲接口带宽计算公式进一步可表示为:Exemplarily, assuming that the routing network interface corresponding to the above single hop is still: a common Ethernet network interface superimposed with a GRE tunnel interface, the above preset estimated idle interface bandwidth calculation formula can be further expressed as:
待调整目标接口带宽=待调整接口剩余带宽-单跳SRv6 TE Policy占用接口物理带宽The target interface bandwidth to be adjusted = the remaining bandwidth of the interface to be adjusted - the physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy
其中,待调整目标接口带宽为预估空闲接口带宽Be,即每一单跳对应的传输SRv6流量时的接口剩余带宽,待调整接口剩余带宽为当前空闲接口带宽Bp,单跳SRv6 TE Policy占用接口物理带宽为带宽占用总量Bs。The target interface bandwidth to be adjusted is the estimated idle interface bandwidth Be , that is, the remaining interface bandwidth corresponding to each single hop when transmitting SRv6 traffic. The remaining interface bandwidth to be adjusted is the current idle interface bandwidth Bp . The physical bandwidth of the interface occupied by the single-hop SRv6 TE Policy is the total bandwidth occupation Bs .
显然,基于上述步骤S601~S603记载的方法步骤,SDN控制器可以根据SRv6 TE Policy的流量统计信息和逐跳路径信息,并结合物理拓扑信息和三层拓扑信息,逐跳去计算接口占用带宽补偿值,再基于补偿后的接口带宽流量大小(即带宽占用总量),计算调整后的SRv6 TE Policy路径(即候选SRv6 TE Policy路径)的逐跳带宽占用情况(即预估空闲接口带宽),这样,不仅为流量调整提供了准确的SRv6 TE Policy流量占用接口物理带宽数据,还提高了调整后逐跳预测占用带宽情况预览的准确性。Obviously, based on the method steps recorded in the above steps S601 to S603, the SDN controller can calculate the interface bandwidth compensation value hop by hop according to the traffic statistics information and hop-by-hop path information of the SRv6 TE Policy, combined with the physical topology information and the three-layer topology information, and then calculate the hop-by-hop bandwidth occupancy (i.e., the estimated idle interface bandwidth) of the adjusted SRv6 TE Policy path (i.e., the candidate SRv6 TE Policy path) based on the compensated interface bandwidth traffic size (i.e., the total bandwidth occupancy). In this way, it not only provides accurate SRv6 TE Policy traffic occupation interface physical bandwidth data for traffic adjustment, but also improves the accuracy of the preview of the hop-by-hop predicted bandwidth occupancy after adjustment.
S304:基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径。S304: Based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, a target SRv6 TE Policy path is screened out from multiple candidate SRv6 TE Policy paths.
其中,路径选择规则是针对待传输SRv6流量的数据传输需求设置的;示例性的,数据传输需求包括但不限于:低延时需求、低丢包率的需求、数据传输优先级或者自定义需求(如,用户/客户端人为指定候选SRv6 TE Policy路径)。Among them, the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted; exemplarily, the data transmission requirements include but are not limited to: low latency requirements, low packet loss rate requirements, data transmission priority or custom requirements (such as the user/client manually specifies the candidate SRv6 TE Policy path).
在一种可选的实现方式中,参阅图9所示,在执行步骤S304时,SDN控制器在获得多个预估空闲接口带宽集合之后,便可基于多个预估空闲接口带宽集合,从多个候选SRv6 TE Policy路径中,筛选出满足预设的预估空闲接口带宽条件的至少一个候选SRv6 TE Policy路径,从而从至少一个候选SRv6 TE Policy路径中,选取出符合路径选择规则的候选SRv6 TE Policy路径,并将候选SRv6 TE Policy路径作为目标SRv6 TE Policy路径;采用这种方式,SDN控制器便可获得符合预设接口带宽占用要求和设定数据传输需求的SRv6 TE Policy路径,以提高SRv6流量的数据传输效率。In an optional implementation, referring to FIG9 , when executing step S304, after obtaining multiple estimated idle interface bandwidth sets, the SDN controller can screen out at least one candidate SRv6 TE Policy path that meets the preset estimated idle interface bandwidth condition from multiple candidate SRv6 TE Policy paths based on the multiple estimated idle interface bandwidth sets, thereby selecting a candidate SRv6 TE Policy path that meets the path selection rule from at least one candidate SRv6 TE Policy path, and using the candidate SRv6 TE Policy path as the target SRv6 TE Policy path; in this way, the SDN controller can obtain an SRv6 TE Policy path that meets the preset interface bandwidth occupancy requirements and the set data transmission requirements, so as to improve the data transmission efficiency of SRv6 traffic.
可选的,SDN控制器在从多个候选SRv6 TE Policy路径中,筛选出满足预设的预估空闲接口带宽条件的至少一个候选SRv6 TE Policy路径的过程中,针对多个候选SRv6 TE Policy路径中的任一候选SRv6 TE Policy路径,可执行以下操作:获取一个候选SRv6 TE Policy路径中,各个单跳各自对应的预估空闲接口带宽,若获得的各个预估空闲接口带宽,均不大于预设的预估空闲接口带宽阈值,则确定一个候选SRv6 TE Policy路径满足预估空闲接口带宽条件;这样,便可准确获得符合预设接口带宽占用要求的SRv6 TE Policy路径。Optionally, in the process of screening out at least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition from multiple candidate SRv6 TE Policy paths, the SDN controller may perform the following operations for any candidate SRv6 TE Policy path among the multiple candidate SRv6 TE Policy paths: obtaining the estimated idle interface bandwidth corresponding to each single hop in a candidate SRv6 TE Policy path; if each estimated idle interface bandwidth obtained is not greater than a preset estimated idle interface bandwidth threshold, determining that a candidate SRv6 TE Policy path meets the estimated idle interface bandwidth condition; in this way, an SRv6 TE Policy path that meets the preset interface bandwidth occupancy requirement can be accurately obtained.
S305:将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。S305: Adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
示例性的,在执行步骤S305时,SDN控制器获得目标SRv6 TE Policy路径之后,便可通过BGP-SR协议/NETCONF协议,向目标路由网络的头结点下发调整后的SRv6 TE Policy路径(即目标SRv6 TE Policy路径),以使头结点接收SRv6 TE Policy调优流量调整至其他路径,即将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。Exemplarily, when executing step S305, after the SDN controller obtains the target SRv6 TE Policy path, it can send the adjusted SRv6 TE Policy path (i.e., the target SRv6 TE Policy path) to the head node of the target routing network through the BGP-SR protocol/NETCONF protocol, so that the head node can receive the SRv6 TE Policy optimization traffic and adjust it to other paths, that is, adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
基于上述步骤S301~S305记载的流量传输路径的调整方法,参阅图10所示,SDN控制器可根据SRv6 TE Policy的具体路径和路径逐跳所经过具体物理链路或者GRE隧道等逻辑链路类型,动态计算SRv6 TE Policy所承载流量的逐跳占用物理带宽大小,并且基于计算补偿后的流量大小进行调优或者调优预览的计算;这样,有效改善了现有SDN控制器计算SRv6 TE Policy流量占用带宽时,只计算设备上报的SRv6 TE Policy流量统计信息,没有包含以太接口和GRE等隧道网络层的补偿值,导致流量计算不准确,流量调整场景调整前后流量占用带宽和预期不符,导致流量调整失败或者回退,即SRv6 TE Policy流量占用接口物理带宽大小计算不准确(调优前后流量统计误差)的问题。Based on the method for adjusting the traffic transmission path recorded in the above steps S301 to S305, as shown in Figure 10, the SDN controller can dynamically calculate the hop-by-hop physical bandwidth occupied by the traffic carried by the SRv6 TE Policy according to the specific path of the SRv6 TE Policy and the specific physical link or logical link type such as the GRE tunnel that the path passes through hop by hop, and perform optimization or optimization preview calculation based on the calculated compensated traffic size; in this way, the existing SDN controller effectively improves the problem that when calculating the bandwidth occupied by SRv6 TE Policy traffic, only the SRv6 TE Policy traffic statistics information reported by the device is calculated, and the compensation values of the tunnel network layer such as the Ethernet interface and GRE are not included, resulting in inaccurate traffic calculation, and the bandwidth occupied by the traffic before and after the traffic adjustment scenario is adjusted is inconsistent with the expectation, resulting in traffic adjustment failure or rollback, that is, the problem of inaccurate calculation of the physical bandwidth occupied by the SRv6 TE Policy traffic on the interface (traffic statistics error before and after tuning).
综上所述,在本申请实施例所提供的流量传输路径的调整方法中,基于获取到的目标路由网络的路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径;接着,基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合;进一步地,基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径;最终,将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。To summarize, in the method for adjusting the traffic transmission path provided in the embodiment of the present application, based on the acquired routing network information of the target routing network, multiple candidate SRv6 TE Policy paths that meet the preset data transmission requirements are selected from each initial SRv6 TE Policy path; then, based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths, and the routing network information, the estimated idle interface bandwidth sets corresponding to each of the multiple candidate SRv6 TE Policy paths are obtained; further, based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules, the target SRv6 TE Policy path is screened out from the multiple candidate SRv6 TE Policy paths; finally, the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted is adjusted to the target SRv6 TE Policy path.
采用这种方式,根据候选SRv6 TE Policy路径对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合,再结合设定的路径选择规则,筛选出目标SRv6 TE Policy路径,避免了相关技术中,SRv6 TE Policy的流量统计并未考虑到SRv6流量在传输的过程中,还需要额外占用部分带宽,从而导致获得的各个候选SRv6 TE Policy路径各自的带宽占用情况并不准确,进而降低了调整流量传输路径的准确性的技术弊端,故而,提高了调整流量传输路径的准确性。In this way, based on the traffic statistics information corresponding to the candidate SRv6 TE Policy paths and the routing network information, the estimated idle interface bandwidth sets corresponding to multiple candidate SRv6 TE Policy paths are obtained, and then combined with the set path selection rules, the target SRv6 TE Policy path is screened out. This avoids the problem in related technologies that the traffic statistics of SRv6 TE Policy do not take into account the fact that SRv6 traffic needs to occupy additional bandwidth during transmission, resulting in inaccurate bandwidth occupancy of each candidate SRv6 TE Policy path, thereby reducing the accuracy of adjusting the traffic transmission path. Therefore, the accuracy of adjusting the traffic transmission path is improved.
进一步地,基于相同的技术构思,本申请实施例提供了一种流量传输路径的调整装置,该流量传输路径的调整装置用以实现本申请实施例的上述方法流程。参阅图11所示,该流量传输路径的调整装置包括:信息获取模块1101、路径选取模块1102、带宽计算模块1103、路径筛选模块1104以及路径调整模块1105,其中:Further, based on the same technical concept, the embodiment of the present application provides a device for adjusting a flow transmission path, and the device for adjusting a flow transmission path is used to implement the above method flow of the embodiment of the present application. Referring to FIG. 11 , the device for adjusting a flow transmission path includes: an information acquisition module 1101, a path selection module 1102, a bandwidth calculation module 1103, a path screening module 1104, and a path adjustment module 1105, wherein:
信息获取模块1101,用于获取目标路由网络的路由网络信息;其中,路由网络信息表征:目标路由网络中,各个初始SRv6 TE Policy路径各自对应的数据传输能力;The information acquisition module 1101 is used to acquire routing network information of a target routing network; wherein the routing network information represents: data transmission capabilities corresponding to each initial SRv6 TE Policy path in the target routing network;
路径选取模块1102,用于基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径;A path selection module 1102 is used to select multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements from each initial SRv6 TE Policy path based on routing network information;
带宽计算模块1103,用于基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合;其中,每个预估空闲接口带宽表征:目标路由网络中,相应路由节点传输SRv6流量时的接口剩余带宽;The bandwidth calculation module 1103 is used to obtain a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information; wherein each estimated idle interface bandwidth represents: the remaining bandwidth of the interface when the corresponding routing node transmits SRv6 traffic in the target routing network;
路径筛选模块1104,用于基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径;其中,路径选择规则是针对待传输SRv6流量的数据传输需求设置的;A path screening module 1104 is used to screen out a target SRv6 TE Policy path from multiple candidate SRv6 TE Policy paths based on the obtained multiple estimated idle interface bandwidth sets and the set path selection rules; wherein the path selection rules are set according to the data transmission requirements of the SRv6 traffic to be transmitted;
路径调整模块1105,用于将待传输SRv6流量对应的初始SRv6 TE Policy路径,调整为目标SRv6 TE Policy路径。The path adjustment module 1105 is used to adjust the initial SRv6 TE Policy path corresponding to the SRv6 traffic to be transmitted to the target SRv6 TE Policy path.
在一种可选的实施例中,在基于路由网络信息,从各个初始SRv6 TE Policy路径中,选取出符合预设数据传输要求的多个候选SRv6 TE Policy路径时,所述路径选取模块1102具体用于:In an optional embodiment, when selecting multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements from each initial SRv6 TE Policy path based on routing network information, the path selection module 1102 is specifically used to:
从路由网络信息中,获取目标路由网络的物理拓扑信息和三层拓扑信息;其中,物理拓扑信息包含:目标路由网络中,各个路由接口的接口类型和接口连接关系,三层拓扑信息包含:各个路由节点各自采用的网络协议;From the routing network information, obtain the physical topology information and three-layer topology information of the target routing network; wherein the physical topology information includes: the interface type and interface connection relationship of each routing interface in the target routing network, and the three-layer topology information includes: the network protocol used by each routing node;
基于物理拓扑信息和三层拓扑信息,确定各个初始SRv6 TE Policy路径各自对应的路径情况;其中,每个路径情况表征:相应初始SRv6 TE Policy路径是否具备端到端的数据传输能力;Based on the physical topology information and the three-layer topology information, the path conditions corresponding to each initial SRv6 TE Policy path are determined; wherein each path condition represents: whether the corresponding initial SRv6 TE Policy path has end-to-end data transmission capability;
将各个初始SRv6 TE Policy路径中,路径情况表征具备端到端的数据传输能力的多个初始SRv6 TE Policy路径,作为符合预设数据传输要求的多个候选SRv6 TE Policy路径。In each initial SRv6 TE Policy path, multiple initial SRv6 TE Policy paths whose path conditions represent end-to-end data transmission capabilities are used as multiple candidate SRv6 TE Policy paths that meet preset data transmission requirements.
在一种可选的实施例中,在基于多个候选SRv6 TE Policy路径各自对应的流量统计信息,以及路由网络信息,获得多个候选SRv6 TE Policy路径各自对应的预估空闲接口带宽集合时,所述带宽计算模块1103具体用于:In an optional embodiment, when obtaining a set of estimated idle interface bandwidths corresponding to each of the multiple candidate SRv6 TE Policy paths based on the traffic statistics information corresponding to each of the multiple candidate SRv6 TE Policy paths and the routing network information, the bandwidth calculation module 1103 is specifically used to:
针对多个候选SRv6 TE Policy路径,分别执行以下操作:For multiple candidate SRv6 TE Policy paths, perform the following operations respectively:
基于一个候选SRv6 TE Policy路径对应的流量统计信息,确定一个候选SRv6 TE Policy路径传输SRv6流量时的接口带宽占用量集合;其中,每个接口带宽占用量表征:相应相邻两个路由节点组成的单跳传输SRv6流量时的数据传输速率;Based on the traffic statistics corresponding to a candidate SRv6 TE Policy path, determine a set of interface bandwidth occupancy when a candidate SRv6 TE Policy path transmits SRv6 traffic; wherein each interface bandwidth occupancy represents: the data transmission rate when a single hop consisting of two adjacent routing nodes transmits SRv6 traffic;
基于路由网络信息包含的物理拓扑信息,获得一个候选SRv6 TE Policy路径对应的接口占用带宽补偿值集合;其中,每个接口占用带宽补偿值表征:相应单跳传输SRv6流量所需的额外带宽占用量;Based on the physical topology information contained in the routing network information, a set of interface occupied bandwidth compensation values corresponding to a candidate SRv6 TE Policy path is obtained; wherein each interface occupied bandwidth compensation value represents: the additional bandwidth occupied by the corresponding single-hop transmission SRv6 traffic;
基于接口带宽占用量集合和接口占用带宽补偿值集合,获得一个候选SRv6 TE Policy路径对应的预估空闲接口带宽集合。Based on the interface bandwidth occupancy set and the interface occupied bandwidth compensation value set, an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path is obtained.
在一种可选的实施例中,在基于路由网络信息包含的物理拓扑信息,获得一个候选SRv6 TE Policy路径对应的接口占用带宽补偿值集合时,所述带宽计算模块1103具体用于:In an optional embodiment, when obtaining a set of interface occupied bandwidth compensation values corresponding to a candidate SRv6 TE Policy path based on the physical topology information included in the routing network information, the bandwidth calculation module 1103 is specifically used to:
基于物理拓扑信息,获得一个候选SRv6 TE Policy路径中,各个单跳各自对应的路由接口类型;Based on the physical topology information, obtain the routing interface type corresponding to each single hop in a candidate SRv6 TE Policy path;
基于预设的路由接口类型与接口占用带宽补偿值之间的对应关系,分别确定各个单跳各自对应的接口占用带宽补偿值;Based on the correspondence between the preset routing interface type and the interface occupied bandwidth compensation value, respectively determine the interface occupied bandwidth compensation value corresponding to each single hop;
将获得的各个接口占用带宽补偿值,保存至对应一个候选SRv6 TE Policy路径设置的接口占用带宽补偿值集合。The obtained bandwidth compensation values of each interface are saved in a set of interface bandwidth compensation values corresponding to a candidate SRv6 TE Policy path setting.
在一种可选的实施例中,在基于接口带宽占用量集合和接口占用带宽补偿值集合,获得一个候选SRv6 TE Policy路径对应的预估空闲接口带宽集合时,所述带宽计算模块1103具体用于:In an optional embodiment, when obtaining an estimated idle interface bandwidth set corresponding to a candidate SRv6 TE Policy path based on the interface bandwidth occupancy set and the interface occupied bandwidth compensation value set, the bandwidth calculation module 1103 is specifically used to:
针对一个候选SRv6 TE Policy路径中各个单跳,分别执行以下操作:For each single hop in a candidate SRv6 TE Policy path, perform the following operations:
从接口带宽占用量集合和接口占用带宽补偿值集合中,获取一个单跳的接口带宽占用量和接口占用带宽补偿值;Obtaining a single-hop interface bandwidth occupancy and an interface bandwidth compensation value from the interface bandwidth occupancy set and the interface bandwidth compensation value set;
基于接口带宽占用量和接口占用带宽补偿值,获得一个单跳的带宽占用总量;Based on the interface bandwidth usage and the interface bandwidth compensation value, the total bandwidth usage of a single hop is obtained;
基于带宽占用总量和一个单跳的当前空闲接口带宽,获得一个单跳对应的预估空闲接口带宽。Based on the total bandwidth usage and the current idle interface bandwidth of a single hop, an estimated idle interface bandwidth corresponding to the single hop is obtained.
在一种可选的实施例中,在获取目标路由网络的路由网络信息的过程中,信息获取模块1101还用于:In an optional embodiment, in the process of acquiring the routing network information of the target routing network, the information acquisition module 1101 is further used to:
获取目标路由网络的接口流量统计信息;其中,接口流量统计信息表征:各个路由节点各自对应路由接口的数据流量;Obtain interface traffic statistics information of the target routing network; wherein the interface traffic statistics information represents: data traffic of each routing interface corresponding to each routing node;
若各个路由接口中,存在满足预设的接口阻塞条件的目标路由接口,则针对目标路由接口,生成接口阻塞提示消息。If there is a target routing interface that meets the preset interface blocking condition among the routing interfaces, an interface blocking prompt message is generated for the target routing interface.
在一种可选的实施例中,在基于获得的多个预估空闲接口带宽集合和设定的路径选择规则,从多个候选SRv6 TE Policy路径中,筛选出目标SRv6 TE Policy路径时,所述路径筛选模块1104具体用于:In an optional embodiment, when a target SRv6 TE Policy path is screened out from a plurality of candidate SRv6 TE Policy paths based on the obtained plurality of estimated idle interface bandwidth sets and the set path selection rules, the path screening module 1104 is specifically used to:
基于多个预估空闲接口带宽集合,从多个候选SRv6 TE Policy路径中,筛选出满足预设的预估空闲接口带宽条件的至少一个候选SRv6 TE Policy路径;Based on multiple estimated idle interface bandwidth sets, at least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition is selected from multiple candidate SRv6 TE Policy paths;
从至少一个候选SRv6 TE Policy路径中,选取出符合路径选择规则的候选SRv6 TE Policy路径,并将候选SRv6 TE Policy路径作为目标SRv6 TE Policy路径。From at least one candidate SRv6 TE Policy path, select a candidate SRv6 TE Policy path that meets the path selection rule, and use the candidate SRv6 TE Policy path as the target SRv6 TE Policy path.
在一种可选的实施例中,在从多个候选SRv6 TE Policy路径中,筛选出满足预设的预估空闲接口带宽条件的至少一个候选SRv6 TE Policy路径时,所述路径筛选模块1104具体用于:In an optional embodiment, when screening out at least one candidate SRv6 TE Policy path that meets a preset estimated idle interface bandwidth condition from a plurality of candidate SRv6 TE Policy paths, the path screening module 1104 is specifically used to:
针对多个候选SRv6 TE Policy路径,分别执行以下操作:For multiple candidate SRv6 TE Policy paths, perform the following operations respectively:
获取一个候选SRv6 TE Policy路径中,各个单跳各自对应的预估空闲接口带宽;Get the estimated idle interface bandwidth corresponding to each hop in a candidate SRv6 TE Policy path;
若获得的各个预估空闲接口带宽,均不大于预设的预估空闲接口带宽阈值,则确定一个候选SRv6 TE Policy路径满足预估空闲接口带宽条件。If the estimated idle interface bandwidths obtained are not greater than the preset estimated idle interface bandwidth threshold, a candidate SRv6 TE Policy path is determined to meet the estimated idle interface bandwidth condition.
基于相同的技术构思,本申请实施例还提供了一种电子设备,该电子设备可实现本申请上述实施例提供的SR的防微环方法流程。在一种实施例中,该电子设备可以是服务器,也可以是终端设备或其他电子设备。参阅图12所示,该电子设备可包括:Based on the same technical concept, the embodiment of the present application also provides an electronic device, which can implement the SR anti-microring method process provided in the above embodiment of the present application. In one embodiment, the electronic device can be a server, or a terminal device or other electronic device. Referring to FIG. 12, the electronic device may include:
至少一个处理器1201,以及与至少一个处理器1201连接的存储器1202,本申请实施例中不限定处理器1201与存储器1202之间的具体连接介质,图12中是以处理器1201和存储器1202之间通过总线1200连接为例。总线1200在图12中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。总线1200可以分为地址总线、数据总线、控制总线等,为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。或者,处理器1201也可以称为控制器,对于名称不做限制。At least one processor 1201, and a memory 1202 connected to at least one processor 1201. The specific connection medium between the processor 1201 and the memory 1202 is not limited in the embodiment of the present application. FIG12 takes the connection between the processor 1201 and the memory 1202 through the bus 1200 as an example. The bus 1200 is represented by a bold line in FIG12, and the connection between other components is only for schematic illustration and is not intended to be limiting. The bus 1200 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bold line is used in FIG12, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 1201 can also be called a controller, and there is no restriction on the name.
在本申请实施例中,存储器1202存储有可被至少一个处理器1201执行的指令,至少一个处理器1201通过执行存储器1202存储的指令,可以执行前文论述的一种SR的防微环方法。处理器1201可以实现图11所示的装置中各个模块的功能。In the embodiment of the present application, the memory 1202 stores instructions that can be executed by at least one processor 1201. The at least one processor 1201 can execute the SR anti-microring method discussed above by executing the instructions stored in the memory 1202. The processor 1201 can implement the functions of each module in the device shown in FIG11.
其中,处理器1201是该装置的控制中心,可以利用各种接口和线路连接整个该控制设备的各个部分,通过运行或执行存储在存储器1202内的指令以及调用存储在存储器1202内的数据,该装置的各种功能和处理数据,从而对该装置进行整体监控。Among them, the processor 1201 is the control center of the device, which can use various interfaces and lines to connect the various parts of the entire control device, and monitor the device as a whole by running or executing instructions stored in the memory 1202 and calling the data stored in the memory 1202, the various functions of the device and processing data.
在一种可能的设计中,处理器1201可包括一个或多个处理单元,处理器1201可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1201中。在一些实施例中,处理器1201和存储器1202可以在同一芯片上实现,在一些实施例中,它们也可以在独立的芯片上分别实现。In one possible design, the processor 1201 may include one or more processing units, and the processor 1201 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1201. In some embodiments, the processor 1201 and the memory 1202 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
处理器1201可以是通用处理器,例如CPU、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的一种SR的防微环方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。Processor 1201 may be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of an anti-microring method of SR disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
存储器1202作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。存储器1202可以包括至少一种类型的存储介质,例如可以包括闪存、硬盘、多媒体卡、卡型存储器、随机访问存储器(Random Access Memory,RAM)、静态随机访问存储器(Static Random Access Memory,SRAM)、可编程只读存储器(Programmable Read Only Memory,PROM)、只读存储器(Read Only Memory,ROM)、带电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性存储器、磁盘、光盘等等。存储器1202是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器1202还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。The memory 1202 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The memory 1202 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, and the like. The memory 1202 is any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1202 in the embodiment of the present application may also be a circuit or any other device that can realize a storage function, and is used to store program instructions and/or data.
通过对处理器1201进行设计编程,可以将前述实施例中介绍的一种SR的防微环方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行图3所示的实施例的一种SR的防微环方法的步骤。如何对处理器1201进行设计编程为本领域技术人员所公知的技术,这里不再赘述。By designing and programming the processor 1201, the code corresponding to the SR anti-microring method described in the above embodiment can be fixed into the chip, so that the chip can execute the steps of the SR anti-microring method of the embodiment shown in FIG3 when running. How to design and program the processor 1201 is a technology known to those skilled in the art and will not be described in detail here.
基于同一发明构思,本申请实施例还提供一种存储介质,该存储介质存储有计算机指令,当该计算机指令在计算机上运行时,使得计算机执行前文论述的一种SR的防微环方法。Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes an anti-microring method of SR discussed above.
在一些可能的实施方式中,本申请还提供了一种SR的防微环方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在装置上运行时,程序代码用于使该控制设备执行本说明书上述描述的根据本申请各种示例性实施方式的一种SR的防微环方法中的步骤。In some possible implementations, the present application also provides various aspects of an SR anti-microring method, which can also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of an SR anti-microring method according to various exemplary embodiments of the present application described above in this specification.
应当注意,尽管在上文详细描述中提及了装置的若干单元或子单元,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元的特征和功能可以在一个单元中具体化。反之,上文描述的一个单元的特征和功能可以进一步划分为由多个单元来具体化。It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
此外,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and/or one step may be decomposed into multiple steps.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个服务器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, and the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a server, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the function specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
可使用一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算装置上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算装置上部分在远程计算装置上执行、或者完全在远程计算装置或服务器上执行。Program code for performing the operations of the present application may be written using any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims (11)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311361759.8A CN117675667A (en) | 2023-10-19 | 2023-10-19 | Method for adjusting flow transmission path and related device |
| CN202311361759.8 | 2023-10-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025082553A1 true WO2025082553A1 (en) | 2025-04-24 |
Family
ID=90065090
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/140424 Pending WO2025082553A1 (en) | 2023-10-19 | 2024-12-18 | Method for adjusting traffic transmission path, and related apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117675667A (en) |
| WO (1) | WO2025082553A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117675667A (en) * | 2023-10-19 | 2024-03-08 | 天翼安全科技有限公司 | Method for adjusting flow transmission path and related device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070076754A1 (en) * | 2005-09-30 | 2007-04-05 | Dilip Krishnaswamy | Bandwidth adaptation in a wireless network |
| CN111683008A (en) * | 2020-05-28 | 2020-09-18 | 南京信息职业技术学院 | SDN-based transmission network service path scheduling and protecting method and system |
| CN112311687A (en) * | 2020-10-26 | 2021-02-02 | 新华三大数据技术有限公司 | Traffic scheduling method and device |
| CN116319549A (en) * | 2023-05-18 | 2023-06-23 | 新华三技术有限公司 | Distributed flow scheduling method and device |
| CN117675667A (en) * | 2023-10-19 | 2024-03-08 | 天翼安全科技有限公司 | Method for adjusting flow transmission path and related device |
-
2023
- 2023-10-19 CN CN202311361759.8A patent/CN117675667A/en active Pending
-
2024
- 2024-12-18 WO PCT/CN2024/140424 patent/WO2025082553A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070076754A1 (en) * | 2005-09-30 | 2007-04-05 | Dilip Krishnaswamy | Bandwidth adaptation in a wireless network |
| CN111683008A (en) * | 2020-05-28 | 2020-09-18 | 南京信息职业技术学院 | SDN-based transmission network service path scheduling and protecting method and system |
| CN112311687A (en) * | 2020-10-26 | 2021-02-02 | 新华三大数据技术有限公司 | Traffic scheduling method and device |
| CN116319549A (en) * | 2023-05-18 | 2023-06-23 | 新华三技术有限公司 | Distributed flow scheduling method and device |
| CN117675667A (en) * | 2023-10-19 | 2024-03-08 | 天翼安全科技有限公司 | Method for adjusting flow transmission path and related device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117675667A (en) | 2024-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11792100B2 (en) | Network performance parameter sending method, network performance calculation method, and network node | |
| US10826830B2 (en) | Congestion processing method, host, and system | |
| US9503308B2 (en) | Method, device and system for processing content | |
| US7512705B2 (en) | Truncating data units | |
| CN111683013B (en) | Routing method of acceleration network and acceleration network | |
| CN112087382B (en) | Service routing method and device | |
| CN114827007B (en) | Computing power-aware routing method, device, routing node, and client device | |
| WO2024087999A1 (en) | Routing method and system, storage medium and electronic device | |
| CN107454000A (en) | Network data transmission device and method | |
| US7079491B2 (en) | Method and node apparatus for filtering ICMP data frame | |
| EP4398538A1 (en) | Routing advertisement method, path establishment method, service data transmission method and autonomous system border router | |
| CN115695282A (en) | Computing power information processing method and device, electronic equipment and storage medium | |
| CN116112423A (en) | Method, device and equipment for determining a path | |
| WO2025082553A1 (en) | Method for adjusting traffic transmission path, and related apparatus | |
| EP3585013B1 (en) | Data transmission method and apparatus | |
| US8832266B2 (en) | System and method for aggregating bandwidth of multiple active physical interfaces on application layer | |
| JP2016515361A (en) | Network transmission coordination based on transmission metadata provided by the application | |
| CN114650233A (en) | Message processing method and related equipment | |
| US20060069777A1 (en) | Request message control method for using service and service providing system | |
| CN106464670A (en) | Network entity and service policy management method | |
| WO2022242243A1 (en) | Communication method, device and system | |
| WO2024088199A1 (en) | Service processing method and system, storage medium and electronic device | |
| CN116938666B (en) | A data processing method and related equipment | |
| KR20190048324A (en) | Method for providing service based on multi network and apparatus therefor | |
| CN116938723A (en) | Planning method and device for slice bandwidth |
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: 24879193 Country of ref document: EP Kind code of ref document: A1 |