A detection and processing method, controller, system and medium for SDN link

Through real-time detection and weighted processing of link utilization of SDN forwarding equipment, the problem of inflexible and low-efficiency data transmission in the existing technology is solved, more efficient and flexible SDN link control is achieved, and the stability of data transmission is ensured. and efficiency.

CN115865682BActive Publication Date: 2024-09-24CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211620149.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-15
Publication Date
2024-09-24
Estimated Expiration
2042-12-15

AI Technical Summary

Technical Problem

In the existing technology, the data transmission link configuration is not flexible enough and the transmission efficiency is low. The SDN network architecture relies on flow table definition, which leads to mechanized processing and ignores the efficiency of the entire network architecture.

Method used

Obtain the policy to be configured through the SDN controller, detect the port link utilization of multiple SDN forwarding devices in real time, calculate the congestion parameters, and withdraw the policy if the difference is greater than the preset value to ensure that the transmission rate does not decrease, using weighted processing and multiple times detection to improve detection accuracy.

Benefits of technology

It achieves more intelligent and flexible SDN link control, improves data transmission efficiency, avoids transmission rate reduction, and enhances the overall efficiency management of the SDN network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115865682B
    Figure CN115865682B
Patent Text Reader

Abstract

The present application provides a detection and processing method, controller, system and medium for SDN links. Obtain the policy to be configured through the SDN controller; obtain the first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and obtain the first congestion parameter corresponding to the link to be configured; after sending the policy to be configured to each first SDN forwarding device on the link to be configured, obtain the second utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device again; to obtain the second congestion parameter; if it is determined that the difference between the second congestion parameter and the first congestion parameter is greater than the preset difference, withdraw the policy to be configured from each first SDN forwarding device. Utilizing the method provided by the present application, the data transmission efficiency and the flexibility of link control can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data communication technology, and in particular to a detection and processing method, controller, system and medium for an SDN link. Background Art

[0002] With the development of network technology, people have higher and higher requirements for network data transmission rate, which is not only related to factors such as network bandwidth and transmission medium, but also to the data transmission link route. Therefore, the configuration of data transmission links has become a hot topic for researchers in this field.

[0003] In the prior art, the data transmission link is usually allocated according to the network protocol, that is, the network device controls the data transmission path according to a certain protocol, and then transmits the data to be transmitted to the destination address, thereby completing the data transmission. Alternatively, the data transmission is processed using the Software Defined Network (SDN) architecture, that is, an SDN controller is used to control multiple forwarding devices according to a preset flow table to transmit the data to the destination address.

[0004] However, in the prior art, when using network protocols for data transmission, network devices must have the ability to make independent decisions, which results in high costs and a fixed mode; when using the SDN network architecture, data transmission only relies on the definition in the flow table, and the processing method is relatively mechanical; in summary, these two methods of transmitting data are relatively mechanical and not flexible enough. Summary of the invention

[0005] The present application provides a detection and processing method, controller, system and medium of an SDN link, which are used to solve the problems of inflexible data transmission and low transmission efficiency in the prior art.

[0006] In a first aspect, the present application provides a detection and processing method for an SDN link, comprising:

[0007] The SDN controller obtains a policy to be configured; wherein the policy to be configured corresponds to a link to be configured, there are multiple first SDN forwarding devices on the link to be configured, and obtains a second SDN forwarding device within a preset hop range corresponding to the multiple first SDN forwarding devices;

[0008] The SDN controller obtains first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and obtains a first congestion parameter corresponding to the link to be configured according to the first utilization information;

[0009] The SDN controller sends the policy to be configured to each of the first SDN forwarding devices on the link to be configured to trigger each of the first SDN forwarding devices to detect and implement the policy to be configured, and then obtains second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtains a second congestion parameter corresponding to the link to be configured according to the second utilization information;

[0010] If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, the to-be-configured policy is withdrawn from each of the first SDN forwarding devices.

[0011] In an optional specific implementation manner, acquiring, according to the first utilization information, a first congestion parameter corresponding to the link to be configured includes:

[0012] The first utilization information is weightedly processed to obtain a first congestion parameter corresponding to the link to be configured; wherein the first utilization information includes: each SDN forwarding device identifier, each port identifier on the SDN forwarding device corresponding to each SDN forwarding device identifier, and a link utilization value corresponding to each port identifier.

[0013] In an optional specific implementation manner, the SDN controller sends the to-be-configured policy to each of the first SDN forwarding devices on the to-be-configured link to trigger each of the first SDN forwarding devices to detect and implement the to-be-configured policy, and then obtains second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtains a second congestion parameter corresponding to the to-be-configured link according to the second utilization information, including:

[0014] The SDN controller sends the policy to be configured to each of the first SDN forwarding devices on the link to be configured to trigger each of the first SDN forwarding devices to detect and implement the policy to be configured, and then obtains in real time within a preset first detection time the second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtains the second congestion parameter corresponding to the link to be configured according to the second utilization information;

[0015] If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, withdrawing the to-be-configured policy from each SDN forwarding device includes:

[0016] If the SDN controller determines that within the preset first detection time, the difference between the second congestion parameter and the first congestion parameter is continuously greater than a preset difference, the to-be-configured policy is withdrawn from each of the first SDN forwarding devices.

[0017] In an optional specific implementation manner, if the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, after withdrawing the to-be-configured policy from each SDN forwarding device, the method further includes:

[0018] The SDN controller obtains, in real time or at a preset time interval, third utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices within a preset second detection time, and obtains a third congestion parameter corresponding to the link to be configured according to the third utilization information;

[0019] If the SDN controller determines that within the preset second detection time, the difference between the third congestion parameter and the first congestion parameter is greater than a preset difference, the to-be-configured policy is sent to each of the SDN forwarding devices respectively.

[0020] In an optional specific implementation, the method further includes:

[0021] If the difference between the third congestion parameter and the first congestion parameter is less than a preset difference, the policy to be configured is deleted from the flow table corresponding to the SDN controller.

[0022] In an optional embodiment, the method further includes:

[0023] If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is less than the preset difference, the policy to be configured is executed.

[0024] In a second aspect, the present application provides an SDN controller, comprising: an acquisition module and a processing module, wherein:

[0025] The acquisition module is used to acquire a policy to be configured; wherein the policy to be configured corresponds to a link to be configured, and there are multiple first SDN forwarding devices on the link to be configured; and acquire the second SDN forwarding devices within a preset hop range corresponding to the multiple first SDN forwarding devices;

[0026] The acquisition module is further used to respectively acquire first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device; and acquire a first congestion parameter corresponding to the link to be configured according to the first utilization information;

[0027] The processing module is used to send the to-be-configured policy to each of the first SDN forwarding devices on the to-be-configured link, so as to trigger each of the first SDN forwarding devices to detect and implement the configuration policy, and then respectively obtain the second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtain the second congestion parameter corresponding to the to-be-configured link according to the second utilization information;

[0028] The processing module is further configured to withdraw the to-be-configured policy from each of the first SDN forwarding devices if it is determined that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference.

[0029] In a third aspect, the present application provides an SDN controller, comprising: a processor, and a memory communicatively connected to the processor;

[0030] The memory stores computer-executable instructions;

[0031] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any of the preceding items.

[0032] In a fourth aspect, the present application provides a control system for an SDN link, including: an SDN controller and an SDN forwarding device;

[0033] Wherein, the SDN controller executes the detection and processing method based on the SDN link as described in any of the preceding items.

[0034] In a fifth aspect, the present application provides a readable storage medium, wherein the readable storage medium stores execution instructions, and when a processor executes the execution instructions, the method described in any of the preceding items is implemented.

[0035] The present application provides a control processing method, controller, system and medium for an SDN link, wherein a policy to be configured is obtained through an SDN controller; wherein the policy to be configured corresponds to a link to be configured, and there are multiple first SDN forwarding devices on the link to be configured, and second SDN forwarding devices within a preset hop count range corresponding to the multiple first SDN forwarding devices are obtained; the SDN controller respectively obtains first utilization information of the link connected to each port on each SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices, and obtains a first congestion parameter corresponding to the link to be configured based on the first utilization information; the SDN controller The N controller sends the policy to be configured to each of the first SDN forwarding devices on the link to be configured to trigger each of the first SDN forwarding devices to detect and implement the configuration policy, and then obtains the second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtains the second congestion parameter corresponding to the link to be configured based on the second utilization information; if the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, the SDN controller withdraws the policy to be configured from each of the first SDN forwarding devices.

[0036] Through the method of the present application, it is possible to detect whether the transmission rate of the link connected to the port of the SDN forwarding device within a certain hop range is affected during the issuance of the policy to be configured. If a negative impact is generated, the policy to be configured needs to be withdrawn to ensure that the rate of data transmission of the SDN link will not be reduced. Compared with the prior art, the SDN controller executes the configuration policy according to the flow table information in the network protocol OpenFlow, only considering the efficiency of the link corresponding to the current policy to be configured, while ignoring the transmission efficiency of other links in the entire SDN network architecture. The method provided by the present application is more intelligent, flexible and has high transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 A schematic diagram of a network architecture provided for this application;

[0039] Figure 2 A schematic diagram of a detection and processing method flow of an SDN link provided in this application:

[0040] Figure 3 A schematic diagram of another SDN link detection and processing method flow provided by the present application;

[0041] Figure 4 A schematic diagram of an SDN controller structure provided in this application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments 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 present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments made by ordinary technicians in this field under the enlightenment of the embodiments belong to the scope of protection of the present application.

[0043] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0044] Software Defined Network (SDN) is a new type of innovative network architecture and a way to implement network virtualization. It is based on the network protocol OpenFlow and separates the control plane from the data plane of network devices, thereby achieving flexible control of network traffic, making the network as a pipeline more intelligent, and providing a good platform for innovation in core networks and applications.

[0045] In the prior art, network forwarding devices are managed and controlled through SDN controllers, which mainly rely on the flow table in the network protocol OpenFlow, that is, the link relationship between each network forwarding device, that is, the transmission path, is preset in the flow table; when data is transmitted, it can be transmitted according to the preset transmission path, and when a transmission path needs to be added or deleted in actual conditions, it is only necessary to operate the flow table.

[0046] Although the existing technology has gotten rid of the problem that the data forwarding path cannot be changed in the traditional data forwarding method that relies on routing protocols, the algorithm of the SDN controller is not perfect and the consideration is relatively one-sided. When new business needs arise, it only focuses on how to meet the needs without considering the impact that may be caused on other business needs when meeting the needs. Therefore, the whole network business forwarding strategy formed under this algorithm is not necessarily reasonable.

[0047] Based on the above technical problems, the technical concept of the present application is: how to realize a control processing method of an SDN link with high flexibility, high rationality and high transmission efficiency.

[0048] Figure 1 This is a network architecture diagram provided by this application, such as Figure 1 As shown, the network architecture includes: an SDN controller 1 and an SDN forwarding device 2.

[0049] The SDN controller can be a device that carries an operating system and is an application in a software-defined network. The SDN controller uses the flow table information in protocols such as OpenFlow to control the strategy of the path of the SDN forwarding device 2 forwarding data by using signaling intercommunication.

[0050] The SDN forwarding device 2 may specifically be a switch, a router, or other device. The SDN forwarding device 2 has a port for forwarding and reporting, and the SDN forwarding devices 2 communicate with each other through the ports, thus forming a link corresponding to the configuration policy.

[0051] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0052] Figure 2 A schematic diagram of a detection and processing method flow of an SDN link provided in this application, such as Figure 2 As shown, the method includes:

[0053] Step 201, the SDN controller obtains a policy to be configured; wherein the policy to be configured corresponds to a link to be configured, there are multiple first SDN forwarding devices on the link to be configured, and obtains second SDN forwarding devices within a preset hop range corresponding to the multiple first SDN forwarding devices.

[0054] It should be noted that the SDN controller can control the transmission data path in the forwarding network, and the control is based on the flow table in the network protocol OpenFlow. The flow table is used to define the transmission path of the transmission data. The flow table includes: source forwarding device identifier, source port identifier corresponding to the source forwarding device identifier, target forwarding device identifier, destination port identifier corresponding to the destination forwarding device identifier and other information. The flow table is pre-set by technical personnel in this field. When it is necessary to change the data transmission path in the forwarding network, it is only necessary to operate the information in the flow table.

[0055] It should also be noted that the application scenario of this embodiment may be a scenario where a change in service traffic does not significantly change a link parameter value, but is not limited to other possible application scenarios.

[0056] In this embodiment, the SDN controller detects in real time or periodically whether there are new policies to be configured in the flow table. Optionally, the SDN controller may check whether the information in the acquired flow table has changed. If so, the changed policies to be configured are used as new policies to be configured.

[0057] The specific value of the policy to be configured is a transmission data link corresponding to the transmission of a certain type of data. The configuration link may have multiple first SDN forwarding devices and multiple second SDN forwarding devices associated with the multiple first SDN forwarding devices, and the multiple second SDN forwarding devices are all SDN forwarding devices within a preset hop count range of the multiple first SDN forwarding devices.

[0058] Among them, the preset number of hops is set by relevant technical personnel. For example, assuming that the preset number of hops is 2, assuming that the port of SDN forwarding device A in the forwarding network can communicate with the port of SDN forwarding device B, and the port of the SDN forwarding device can also communicate with the port of SDN forwarding device C, that is, a configuration link of "SDN forwarding device A-SDN forwarding device B-SDN forwarding device C" is formed, then SDN forwarding devices B and C are both SDN forwarding devices within 2 hops of SDN forwarding device A.

[0059] Step 202: The SDN controller obtains first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and obtains a first congestion parameter corresponding to the link to be configured according to the first utilization information.

[0060] In this embodiment, in order to determine whether the policy to be configured is reasonable, the SDN controller needs to obtain utilization information of multiple first SDN forwarding devices and multiple second SDN forwarding devices related to the policy to be configured before configuring the policy to be configured.

[0061] Optionally, the SDN control may send utilization feedback signaling to communicate with these SDN forwarding devices, that is, after sending a message carrying the utilization acquisition to the relevant SDN forwarding device, the relevant SDN forwarding device receives the message and parses the signaling, and then feeds back the utilization value of the link corresponding to its own SDN forwarding device identifier, each port identifier, and each port identifier to the SDN controller.

[0062] Based on this, the SDN controller obtains first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device.

[0063] In order to simplify the processing flow, the SDN controller may perform weighted sum processing on the acquired first utilization information, and integrate multiple pieces of first utilization information into a first congestion rate parameter, and only this one data value needs to be used for subsequent processing.

[0064] Optionally, the weight value of the weighted summation processing in this implementation may be a preset calibration value, or a different weight value set according to relevant business requirements in an actual scenario, and this application does not make specific limitations on this.

[0065] It should be noted that the congestion parameter can be used to characterize the overall congestion state of the data transmission link. The larger the congestion parameter, the higher the current link utilization, but the transmission data is more congested and the transmission efficiency is poor; conversely, it means that the current link utilization is lower, but the transmission data is smoother and the transmission efficiency is higher.

[0066] Step 203: The SDN controller sends the policy to be configured to each first SDN forwarding device on the link to be configured, so as to trigger each first SDN forwarding device to detect and implement the policy to be configured, and then obtains the second utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device; and obtains the second congestion parameter corresponding to the link to be configured according to the second utilization information.

[0067] In this embodiment, after the SDN controller obtains the link utilization parameters of the relevant SDN forwarding devices before sending the policy to be configured, it needs to send the parameter to be configured to each first SDN forwarding device in the forwarding network, and detect whether the actual utilization of the relevant link changes after the policy to be configured is sent to the forwarding network.

[0068] Optionally, the SDN controller sends the flow table carrying the policy to be configured to each first SDN forwarding device in the forwarding network, and accordingly, the multiple first SDN forwarding devices transmit data according to the configured link specified by the policy to be configured.

[0069] Then, the SDN controller detects second utilization information of the plurality of first SDN forwarding devices and the plurality of second SDN forwarding devices after executing the to-be-configured policy according to the method for obtaining utilization in step 202 .

[0070] Similarly, in order to improve the subsequent processing efficiency, the weighted summation processing method in step 202 is used to perform weighted summation processing on the plurality of second utilization rate information to obtain the second congestion rate parameter. The weight used in this weighted summation processing is consistent with the weight value in step 202.

[0071] Step 204: If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, the SDN controller withdraws the to-be-configured policy from each SDN forwarding device.

[0072] In this embodiment, the SDN controller pre-stores a basis for judging whether the current policy to be configured is reasonable, that is, a preset difference, which is set by relevant technical personnel in this field, but is not limited to other specific implementation methods, such as the average value of the overall utilization rate in the forwarding network.

[0073] The SDN controller calculates the difference between the second congestion parameter and the first congestion parameter, and compares the obtained difference with the preset difference to determine whether the current difference is greater than the preset difference. If so, it indicates that after the execution of the policy to be configured, the utilization rate of the configuration link corresponding to the policy to be configured increases, the transmission efficiency will slow down, and the utilization rate on the second SDN forwarding device within the preset hop range related to the configuration link also increases accordingly, and the transmission efficiency slows down. Furthermore, the SDN controller determines that the policy to be configured is not reasonable for the entire forwarding network, so it is necessary to recycle the policy to be configured. Optionally, the SDN controller sends a signal to delete the policy to be configured to each first SDN forwarding device in the forwarding network, so as to reclaim the policy to be configured from each first SDN forwarding device. On the contrary, if the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is less than the preset difference, the policy to be configured is executed, that is, the SDN controller sends the flow table carrying the policy to be configured to each first SDN forwarding device.

[0074] In this embodiment, a detection and processing method for an SDN link is provided, wherein a policy to be configured is obtained through an SDN controller; wherein the policy to be configured corresponds to a link to be configured, and there are multiple first SDN forwarding devices on the link to be configured, and second SDN forwarding devices within a preset hop count range corresponding to the multiple first SDN forwarding devices are obtained; first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device is obtained respectively, and a first congestion parameter corresponding to the link to be configured is obtained according to the first utilization information; after the policy to be configured is sent to each first SDN forwarding device on the link to be configured to trigger each first SDN forwarding device to detect and implement the policy to be configured, second utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device is obtained respectively; and a second congestion parameter corresponding to the link to be configured is obtained according to the second utilization information; if it is determined that the difference between the second congestion parameter and the first congestion parameter is greater than the preset difference, the policy to be configured is withdrawn from each first SDN forwarding device.

[0075] Compared with the prior art, the policy to be configured is mechanically written into the flow table without considering the impact of the policy to be configured on other links, resulting in poor overall efficiency of the forwarding network and even possible paralysis of the forwarding network. The present application can detect the overall situation of the forwarding network after the policy to be configured is issued in real time, and then determine whether the policy to be configured is reasonable based on the detection result. This makes the control of the SDN network more flexible and can improve the efficiency of data transmission, so that the transmission efficiency of the overall link of the forwarding network is at the optimal value.

[0076] Figure 3 A schematic diagram of another SDN link detection and processing method flow provided in this application, in Figure 2 Based on the method shown in FIG. 1 , this embodiment specifically explains the specific processing steps of step 203, such as Figure 3 As shown, the processing steps include:

[0077] Step 301: The SDN controller sends the policy to be configured to each first SDN forwarding device on the link to be configured, so as to trigger each first SDN forwarding device to detect and implement the policy to be configured. Then, within a preset first detection time, the second utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device is obtained in real time; and the second congestion parameter corresponding to the link to be configured is obtained according to the second utilization information.

[0078] Specifically, when the policy to be configured is sent to each SDN forwarding device on the link to be configured, the SDN controller needs to obtain the utilization of the link connected to each first SDN forwarding device and each second SDN forwarding device port in order to determine whether the policy to be configured is reasonable, and record the obtained utilization as the second utilization.

[0079] Optionally, the SDN controller may send a signaling for obtaining link utilization to the SDN forwarding devices in real time or according to a preset period, so as to punish the SDN forwarding devices for feeding back the second utilization information of the link connected to their own ports to the SDN forwarding devices.

[0080] Then, the SDN forwarding device uses its internally stored weight value, exemplarily, the weight value is a certain calibration value and the weight values ​​of each link are consistent, and then uses the calibration value to perform weighted sum processing on the utilization value in the second utilization information to obtain the second congestion parameter.

[0081] Step 302: If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is continuously greater than the preset difference within the preset first detection time, the SDN controller withdraws the to-be-configured policy from each SDN forwarding device.

[0082] Considering that the service traffic in the actual scenario changes in real time, in order to exclude the situation where the instantaneous service traffic surges during detection, the SDN controller needs to use the time period as the detection period to ensure that the utilization information in the link is detected more accurately. In this embodiment, the time period is set to the first detection time, and the first detection time is set by relevant technical personnel, but is not limited to other possible specific implementation methods.

[0083] Specifically, the SDN controller can obtain the second congestion parameter multiple times within the preset first detection time, and accordingly, the difference between the obtained second congestion parameter and the first congestion parameter is also multiple. In this case, the SDN control device needs to compare these differences with the preset difference to determine whether the difference between the second congestion parameter and the first congestion parameter is continuously smaller than the preset difference within the first preset time. If so, it indicates that the increase in the congestion parameters of the configured link and the links within the preset hop range is caused by the issuance of the policy to be configured; otherwise, it indicates that it is not caused by the policy to be configured, but may be affected by other factors, such as business traffic, and further judgment is required.

[0084] Further, when it is determined that the increase in the congestion parameters of the configured link and the links within the preset hop count range is caused by the issuance of the policy to be configured, the SDN controller will issue a revocation signaling to each first SDN forwarding device. Optionally, the revocation signaling issued by the SDN may be a deletion signaling, so that each first SDN forwarding device no longer transmits data according to the policy to be configured, or the flow table after the policy to be configured is deleted is issued to each first SDN forwarding device.

[0085] In this embodiment, the specific processing steps after the configuration policy is issued are specifically explained. The method of the present application can improve the processing accuracy of the detection, so that the detection processing method is more accurate.

[0086] Based on the above embodiment, this embodiment specifically explains the specific processing steps of the SDN controller after retracting the policy to be configured, and the processing steps include:

[0087] The SDN controller obtains, in real time or at a preset time interval, the third utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device within a preset second detection time, and obtains a third congestion parameter corresponding to the link to be configured based on the third utilization information; if it is determined that within the preset second detection time, the difference between the third congestion parameter and the first congestion parameter is greater than the preset difference, the policy to be configured is again sent down to each first SDN forwarding device.

[0088] In this embodiment, in order to improve the accuracy of detection processing, the SDN controller needs to further confirm whether the situation in which the utilization rate of the configured link and the links within the preset hop count range is increased and the congestion parameters are increased after the policy to be configured is issued is caused by the policy to be configured.

[0089] Therefore, after the SDN controller withdraws the to-be-configured policy from the SDN forwarding device, it needs to detect the utilization value of the link connected to each first SDN forwarding device and each second SDN forwarding device port again to prevent interference caused by sudden large business traffic data.

[0090] Specifically, the SDN controller obtains the utilization of the link connected to each port of each first SDN forwarding device and each second SDN forwarding device according to the method shown in the above steps. For the convenience of description, the utilization obtained this time is recorded as the third utilization.

[0091] Similarly, it is also necessary to perform weighted sum processing on the third utilization to obtain the third congestion parameter.

[0092] It should be noted that in order to ensure the accuracy of detection processing, the SDN controller also needs to obtain the third congestion parameter within a certain time period, that is, the second detection time period, and the second detection time may be consistent with the first detection time or inconsistent with it, and can be set according to actual scenario requirements. This application does not limit this.

[0093] More specifically, the SDN control performs difference processing on the third congestion parameter obtained within the second preset time and the first congestion parameter, and determines whether the result of the difference processing is greater than the preset difference, so as to determine that the increase in the congestion parameters of the currently configured link and the links within its preset hop range is not caused by the policy to be configured, indicating that the policy to be configured is reasonable.

[0094] Optionally, the SDN controller may send the policy to be configured again to each first SDN forwarding device. Alternatively, the controller may continue to detect the congestion parameters of the configuration link and the links within the preset hop count range of the policy to be configured, wait until the congestion parameters of the configuration link and the links within the preset hop count range are restored to the state before the policy to be configured is sent, so as to ensure that the data transmission of the current large service flow is completed, and then detect the policy to be configured again according to the processing method of the above embodiment to determine whether the current policy to be configured is reasonable.

[0095] In an optional implementation, if the difference between the third congestion parameter and the first congestion parameter is less than the preset difference, it indicates that the increase in the congestion parameters of the currently configured link and the links within its preset hop range is indeed caused by the policy to be configured, and the policy to be configured cannot be sent down to the forwarding network, and then the policy to be configured is deleted from the flow table corresponding to the SDN controller.

[0096] In this embodiment, the detection and processing method of SDN after the policy to be configured is issued is specifically explained to prevent other interference factors from affecting the detection and processing results. Therefore, it is necessary to further determine whether the congestion parameters of the configuration link of the policy to be configured and the link within the preset hop range are caused by the policy to be configured. If not, the policy can be issued, or it can be further determined whether there is a large business traffic interference. When it is determined that there is, it is necessary to wait for the large business traffic transmission to be completed before performing detection and processing again, and perform corresponding processing according to the detection results; otherwise, it is determined that the policy to be configured is unreasonable and cannot be issued to the forwarding network, so it is necessary to withdraw the policy to be configured, that is, permanently delete the policy to be configured from the flow table. Compared with the prior art, the method provided in this embodiment is more comprehensive, more accurate and more efficient.

[0097] Figure 4 A schematic diagram of an SDN controller structure provided in this application, such as Figure 4As shown, the SDN controller structure 40 includes: an acquisition module 401 and a processing module 402 .

[0098] Among them, the acquisition module 401 is used to obtain the policy to be configured; wherein the policy to be configured corresponds to a link to be configured, and there are multiple first SDN forwarding devices on the link to be configured, and the second SDN forwarding devices corresponding to the multiple first SDN forwarding devices within a preset hop count range are obtained; the acquisition module 401 is also used to respectively obtain the first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and obtain the first congestion parameter corresponding to the link to be configured according to the first utilization information; correspondingly, the processing module 402 is used to send the policy to be configured to each first SDN forwarding device on the link to be configured, so as to trigger each first SDN forwarding device to detect and implement the policy to be configured, and then obtain the second utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and obtain the second congestion parameter corresponding to the link to be configured according to the second utilization information; the processing module 402 is also used to withdraw the policy to be configured from each SDN forwarding device if it is determined that the difference between the second congestion parameter and the first congestion parameter is greater than the preset difference.

[0099] Optionally, the acquisition module 401 is specifically used for:

[0100] The first utilization information is weighted to obtain a first congestion parameter corresponding to the link to be configured; wherein the first utilization information includes: each SDN forwarding device identifier, each port identifier on the SDN forwarding device corresponding to each SDN forwarding device identifier, and a link utilization value corresponding to each port identifier.

[0101] Optionally, the processing module 402 is specifically configured to:

[0102] The SDN controller sends the policy to be configured to each first SDN forwarding device on the link to be configured, so as to trigger each first SDN forwarding device to detect and implement the policy to be configured, and then obtains the second utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device in real time within a preset first detection time; and obtains the second congestion parameter corresponding to the link to be configured according to the second utilization information;

[0103] If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than the preset difference, the policy to be configured is withdrawn from each SDN forwarding device, including:

[0104] If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is continuously greater than the preset difference within the preset first detection time, the to-be-configured policy is withdrawn from each first SDN forwarding device.

[0105] Optionally, the processing module 402 is further configured to:

[0106] The SDN controller obtains, in real time or at a preset time interval, third utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device within the preset second detection time, and obtains a third congestion parameter corresponding to the link to be configured according to the third utilization information;

[0107] If the SDN controller determines that the difference between the third congestion parameter and the first congestion parameter is greater than the preset difference within the preset second detection time, the policy to be configured is respectively sent to each first SDN forwarding device.

[0108] Optionally, the processing module 402 is further configured to:

[0109] If the difference between the third congestion parameter and the first congestion parameter is less than the preset difference, the policy to be configured is deleted from the flow table corresponding to the SDN controller.

[0110] Optionally, the processing module 402 is further configured to:

[0111] If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is less than the preset difference, the policy to be configured is executed.

[0112] The SDN controller provided in the embodiment of the present application can execute the technical solution shown in the above method implementation. Its implementation principle and beneficial effects are similar and will not be described in detail here.

[0113] The present embodiment provides an SDN controller, including: an acquisition module and a processing module; wherein the acquisition module is used to acquire a policy to be configured; wherein the policy to be configured corresponds to a link to be configured, and there are multiple first SDN forwarding devices on the link to be configured, and the second SDN forwarding devices corresponding to the multiple first SDN forwarding devices within a preset hop count range are acquired; the acquisition module is also used to respectively acquire first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and acquire a first congestion parameter corresponding to the link to be configured according to the first utilization information; the processing module is used to send the policy to be configured to each first SDN forwarding device on the link to be configured, so as to trigger each first SDN forwarding device to detect and implement the policy to be configured, and then respectively acquire second utilization information of the link connected to each port on the SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and acquire a second congestion parameter corresponding to the link to be configured according to the second utilization information; the processing module is also used to withdraw the policy to be configured from each SDN forwarding device if it is determined that the difference between the second congestion parameter and the first congestion parameter is greater than the preset difference. The SDN controller provided by this embodiment can improve the efficiency of data transmission and also improve the flexibility of controlling the forwarding network.

[0114] In an optional embodiment, the present application also provides an SDN controller, comprising: a processor, and a memory communicatively connected to the processor; wherein the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method mentioned in any of the previous embodiments.

[0115] In an optional embodiment, the present application further provides a control system for an SDN link, including: an SDN controller and an SDN forwarding device; wherein the SDN controller executes the detection and processing method based on the SDN link as mentioned in any of the previous embodiments.

[0116] In an optional embodiment, the present application further provides a readable storage medium, in which execution instructions are stored. When a processor executes the execution instructions, the method provided in any of the previous embodiments is implemented.

[0117] In an optional embodiment, the present application also provides a computer program product, including a computer program, which is used to implement the technical solution provided by any of the aforementioned method embodiments when the computer program is executed by a processor.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A detection and processing method for an SDN link, characterized in that: include: The SDN controller obtains a policy to be configured; wherein the policy to be configured corresponds to a link to be configured, there are multiple first SDN forwarding devices on the link to be configured, and obtains a second SDN forwarding device within a preset hop range corresponding to the multiple first SDN forwarding devices; The SDN controller obtains first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and obtains a first congestion parameter corresponding to the link to be configured according to the first utilization information; The SDN controller sends the policy to be configured to each of the first SDN forwarding devices on the link to be configured to trigger each of the first SDN forwarding devices to detect and implement the policy to be configured, and then obtains second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtains a second congestion parameter corresponding to the link to be configured according to the second utilization information; If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, withdrawing the to-be-configured policy from each of the first SDN forwarding devices; The SDN controller sends the policy to be configured to each of the first SDN forwarding devices on the link to be configured to trigger each of the first SDN forwarding devices to detect and implement the policy to be configured, and then obtains second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtains a second congestion parameter corresponding to the link to be configured according to the second utilization information, including: The SDN controller sends the policy to be configured to each of the first SDN forwarding devices on the link to be configured to trigger each of the first SDN forwarding devices to detect and implement the policy to be configured, and then obtains in real time within a preset first detection time the second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and obtains the second congestion parameter corresponding to the link to be configured according to the second utilization information; If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, withdrawing the to-be-configured policy from each of the first SDN forwarding devices includes: If the SDN controller determines that within the preset first detection time, the difference between the second congestion parameter and the first congestion parameter is continuously greater than a preset difference, the to-be-configured policy is withdrawn from each of the first SDN forwarding devices.

2. The method according to claim 1, characterized in that: The acquiring, according to the first utilization information, a first congestion parameter corresponding to the link to be configured includes: The first utilization information is weightedly processed to obtain a first congestion parameter corresponding to the link to be configured; wherein the first utilization information includes: each SDN forwarding device identifier, each port identifier on the SDN forwarding device corresponding to each SDN forwarding device identifier, and a link utilization value corresponding to each port identifier.

3. The method according to any one of claims 1 to 2, characterized in that: If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference, after withdrawing the to-be-configured policy from each SDN forwarding device, the method further includes: The SDN controller obtains, in real time or at a preset time interval, third utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices within a preset second detection time, and obtains a third congestion parameter corresponding to the link to be configured according to the third utilization information; If the SDN controller determines that within the preset second detection time, the difference between the third congestion parameter and the first congestion parameter is greater than a preset difference, the to-be-configured policy is sent to each of the first SDN forwarding devices respectively.

4. The method according to claim 3, characterized in that: Also includes: If the difference between the third congestion parameter and the first congestion parameter is less than a preset difference, the policy to be configured is deleted from the flow table corresponding to the SDN controller.

5. The method according to any one of claims 1 to 2, characterized in that: Also includes: If the SDN controller determines that the difference between the second congestion parameter and the first congestion parameter is less than the preset difference, the policy to be configured is executed.

6. An SDN controller, characterized in that: include: Acquisition module and processing module; wherein, The acquisition module is used to acquire the policy to be configured; wherein the policy to be configured corresponds to a link to be configured, there are multiple first SDN forwarding devices on the link to be configured, and the second SDN forwarding devices within a preset hop range corresponding to the multiple first SDN forwarding devices are acquired; The acquisition module is further used to respectively acquire first utilization information of the link connected to each port on each SDN forwarding device fed back by each first SDN forwarding device and each second SDN forwarding device, and acquire a first congestion parameter corresponding to the link to be configured according to the first utilization information; The processing module is used to send the policy to be configured to each of the first SDN forwarding devices on the link to be configured, so as to trigger each of the first SDN forwarding devices to detect and implement the policy to be configured, and then respectively obtain the second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices, and obtain the second congestion parameter corresponding to the link to be configured according to the second utilization information; The processing module is further configured to withdraw the to-be-configured policy from each of the first SDN forwarding devices if it is determined that the difference between the second congestion parameter and the first congestion parameter is greater than a preset difference; The processing module is specifically used for, after the SDN controller sends the policy to be configured to each of the first SDN forwarding devices on the link to be configured, so as to trigger each of the first SDN forwarding devices to detect and implement the policy to be configured, to respectively obtain in real time within a preset first detection time the second utilization information of the link connected to each port on the SDN forwarding device fed back by each of the first SDN forwarding devices and each of the second SDN forwarding devices; and to obtain the second congestion parameter corresponding to the link to be configured according to the second utilization information; The processing module is further specifically configured to withdraw the to-be-configured policy from each of the first SDN forwarding devices if the SDN controller determines that within the preset first detection time, the difference between the second congestion parameter and the first congestion parameter is continuously greater than a preset difference.

7. An SDN controller, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.

8. A control system for an SDN link, characterized in that: include: SDN controller and SDN forwarding equipment; Wherein, the SDN controller executes the method according to any one of claims 1 to 5.

9. A readable storage medium, characterized in that: The readable storage medium stores execution instructions, and when the processor executes the execution instructions, the method according to any one of claims 1 to 5 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.