CN115865643A - SDN network forwarding policy determination method, system, controller and device - Google Patents

SDN network forwarding policy determination method, system, controller and device Download PDF

Info

Publication number
CN115865643A
CN115865643A CN202211693403.XA CN202211693403A CN115865643A CN 115865643 A CN115865643 A CN 115865643A CN 202211693403 A CN202211693403 A CN 202211693403A CN 115865643 A CN115865643 A CN 115865643A
Authority
CN
China
Prior art keywords
sdn
sdn controller
sla
forwarding
unified
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.)
Granted
Application number
CN202211693403.XA
Other languages
Chinese (zh)
Other versions
CN115865643B (en
Inventor
刘思聪
刘桂志
冯毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211693403.XA priority Critical patent/CN115865643B/en
Publication of CN115865643A publication Critical patent/CN115865643A/en
Application granted granted Critical
Publication of CN115865643B publication Critical patent/CN115865643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method, a system, a controller and a device for determining a forwarding strategy of an SDN network. The method is applied to the SDN network system. Acquiring a network state fed back by SDN forwarding equipment through a first SDN controller with the largest decision weight parameter, and acquiring a first forwarding strategy by adopting a first strategy generation algorithm corresponding to the first SDN controller according to the network state; issuing the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy and collect SLA indexes fed back by each SDN forwarding device; the SLA indexes are processed in a unified mode, and unified SLA indexes are obtained; and comparing the unified SLA index with a preset SLA threshold, and adaptively modifying a first decision right parameter corresponding to the first SDN controller according to a comparison result. Compared with the prior art, the method provided by the embodiment can enhance the flexibility of the control of the SDN network system and can improve the stability and the safety of the SDN network system.

Description

SDN network forwarding strategy determination method, system, controller and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, a system, a controller, and an apparatus for determining a forwarding policy of an SDN network.
Background
Software Defined Networking (SDN) is a novel Network innovation architecture proposed by the Clean-tile project research group of stanford university in the united states, and is an implementation mode of Network virtualization. The core technology OpenFlow separates the control plane and the data plane of the network equipment, thereby realizing the flexible control of network flow, enabling the network to be more intelligent as a pipeline, and providing a good platform for the innovation of a core network and application.
In the prior art, data forwarding in a network is controlled and processed by one SDN controller, that is, decision-making capabilities of all forwarding devices are separated and concentrated on one SDN controller, and all decisions are made by one SDN controller.
However, the defect of the SDN network architecture comes from the core concept of the technology, namely centralized control and "fool" forwarding. This presents the problem that the SDN controller may become an elbow of the entire network. Once an SDN controller is attacked by a network, damaged itself, or affected by other insurability, in order to compensate for such a defect, an SDN controller often needs to be extremely strictly secured, which brings more operation and maintenance costs.
Disclosure of Invention
The application provides a method, a system, a controller and a device for determining an SDN network forwarding strategy, which are used for solving the problem that the SDN network in the prior art is low in security and stability.
In a first aspect, the present application provides a method for determining a forwarding policy of an SDN network, where the method is applied to an SDN network system, and the SDN network system includes: the system comprises a first SDN controller, at least one second SDN controller and a plurality of SDN forwarding devices; wherein a first decision weight parameter corresponding to the first SND controller is greater than a second decision weight parameter corresponding to the second SDN controller;
the first SDN controller acquires a network state fed back by the SDN forwarding equipment, and acquires a first forwarding strategy by adopting a first strategy generation algorithm corresponding to the first SDN controller according to the network state;
the first SDN controller issues the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy and acquire and obtain SLA indexes;
the first SDN controller acquires the SLA index fed back by each SDN forwarding device, and performs unified processing on the SLA index to acquire a unified SLA index;
the first SDN controller compares the unified SLA index with a preset SLA threshold value, and adaptively modifies a first decision weight parameter corresponding to the first SDN controller according to a comparison result.
In an alternative embodiment, the method further comprises:
when the first SDN controller determines that the modified first decision weight parameter is smaller than a second decision weight parameter corresponding to at least one second SDN controller, the first SDN controller determines a second SDN controller corresponding to a largest second decision weight parameter, and acquires and issues a forwarding strategy to the second SDN controller corresponding to the largest second decision weight parameter.
In an optional specific embodiment, the comparing, by the first SDN controller, the unified SLA index with a preset SLA threshold, and adaptively modifying, according to a comparison result, a first decision weight parameter corresponding to the first SDN controller, includes:
if the first SDN controller judges that the unified SLA index is smaller than or equal to a preset SLA threshold, obtaining a first difference value between the preset SLA threshold and the unified SLA index, and adding the first difference value to the first decision weight parameter; or adding a preset correction value to the first decision parameter;
the first SDN controller sends the first policy generation algorithm to the second SDN controller for storage.
In an optional specific embodiment, the method further comprises:
if the first SDN controller judges that the unified SLA index is larger than the preset SLA threshold, acquiring a second difference value between the unified SLA index and the preset SLA threshold, and subtracting the second difference value from the first decision weight parameter; or subtracting the preset correction value from the first decision parameter;
deleting, by the first SDN controller, the first policy generation algorithm.
In an optional embodiment, the SLA metric includes: network experiments, jitter and packet loss rate.
In a second aspect, the present application provides an SDN network system, including: the system comprises a first SDN controller, at least one second SDN controller and a plurality of SDN forwarding devices; wherein a first decision weight parameter corresponding to the first SND controller is greater than a second decision weight parameter corresponding to the second SDN controller;
the first SDN controller is used for acquiring a network state fed back by the SDN forwarding equipment and acquiring a first forwarding strategy by adopting a first strategy generation algorithm corresponding to the first SDN controller according to the network state;
the first SDN controller is further configured to issue the first forwarding policy to each SDN forwarding device, so that each SDN forwarding device executes the first forwarding policy, and acquires and obtains an SLA index;
the first SDN controller is further used for obtaining the SLA index fed back by each SDN forwarding device, and performing unified processing on the SLA index to obtain a unified SLA index;
the first SDN controller is further configured to compare the unified SLA index with a preset SLA threshold, and adaptively modify a first decision weight parameter corresponding to the first SDN controller according to a comparison result.
In a third aspect, the present application provides an SDN controller, comprising:
the acquiring module is used for acquiring a network state fed back by the SDN forwarding device when a first decision weight parameter of the acquiring module is determined to be larger than a second decision weight parameter corresponding to a second SDN controller except the SDN controller in an SDN network system, and acquiring a first forwarding strategy by adopting a first strategy generating algorithm corresponding to the first SDN controller according to the network state;
the processing module is used for issuing the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy and acquire an SLA index;
the acquiring module is further configured to acquire the SLA index fed back by each SDN forwarding device, and perform unified processing on the SLA index to acquire a unified SLA index;
the processing module is further configured to compare the unified SLA index with a preset SLA threshold, and adaptively modify the first decision weight parameter according to a comparison result.
In an optional specific embodiment, the processing module is further configured to:
when the modified first decision right parameter is determined to be smaller than a second decision right parameter corresponding to at least one second SDN controller, determining the second SDN controller corresponding to the largest second decision right parameter, and acquiring and issuing a forwarding policy to the second SDN controller corresponding to the largest second decision right parameter.
In an optional specific embodiment, the processing module is specifically configured to:
if the unified SLA index is judged to be smaller than or equal to a preset SLA threshold value, acquiring a first difference value between the preset SLA threshold value and the unified SLA index, and adding the first difference value to the first decision weight parameter; or adding a preset correction value to the first decision parameter;
sending the first policy generation algorithm to the second SDN controller for storage.
In an optional specific embodiment, the processing module is further specifically configured to:
if the unified SLA index is judged to be larger than the preset SLA threshold, acquiring a second difference between the unified SLA index and the preset SLA threshold, and subtracting the second difference from the first decision weight parameter; or subtracting the preset correction value from the first decision parameter;
deleting the first policy generation algorithm.
In an optional embodiment, the SLA metric includes: network experiments, jitter and packet loss rate.
In a fourth aspect, the present application provides an SDN controller, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores execution instructions;
the processor executes execution instructions stored by the memory to implement the method of any of the preceding claims.
In a fifth aspect, the present application provides a readable storage medium having stored therein execution instructions that, when executed by a processor, implement a method as in any of the preceding claims.
The application provides a method, a system, a controller and a medium for determining an SDN forwarding policy, wherein the method is applied to an SDN system, and the SDN system comprises: the system comprises a first SDN controller, at least one second SDN controller and a plurality of SDN forwarding devices; wherein a first decision weight parameter corresponding to the first SND controller is greater than a second decision weight parameter corresponding to the second SDN controller; the first SDN controller acquires a network state fed back by the SDN forwarding equipment, and acquires a first forwarding strategy by adopting a first strategy generation algorithm corresponding to the first SDN controller according to the network state; the first SDN controller issues the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy and acquire and obtain SLA indexes; the first SDN controller acquires the SLA index fed back by each SDN forwarding device, and performs unified processing on the SLA index to acquire a unified SLA index; the first SDN controller compares the unified SLA index with a preset SLA threshold value, and adaptively modifies a first decision weight parameter corresponding to the first SDN controller according to a comparison result.
Compared with the prior art, when only one SDN controller in an SDN network architecture fails or a path for transmitting data fails, network paralysis is easily caused, the SDN controller control and decision making is realized based on a plurality of SDN controllers, each SDN controller is endowed with a corresponding decision making right according to actual conditions, the decision making right is used as the basis for the SDN controller to control the SDN, and when the SDN controller with the largest decision making right fails, the SDN controller corresponding to the second largest decision making right controls the SDN, so that the stability of the SDN is improved; in addition, different forwarding algorithms are configured in advance for each SDN controller, and an optimal forwarding algorithm is kept as a forwarding strategy for data transmission all the time, so that when a forwarding device corresponding to the forwarding strategy for transmitting data fails, data transmission can be completed, the optimal forwarding algorithm can be adjusted timely according to the requirement condition of actual scene services, and the flexibility and the safety of the SDN are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and those skilled in the art can obtain other drawings without inventive labor.
Figure 1 is a schematic diagram of an SDN network system architecture provided herein;
fig. 2 is a schematic diagram of a flow of a method for determining a forwarding policy of an SDN network according to the present application;
fig. 3 is a schematic diagram illustrating a forwarding policy modification of an SDN network provided in the present application;
fig. 4 is a schematic diagram of a flow of a method for determining a forwarding policy of an SDN network provided in the present application
Fig. 5 is a schematic diagram of an SDN controller structure provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments that can be made by one skilled in the art based on the embodiments in the present application in light of the present disclosure are within the scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the preceding drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, an SDN network architecture is composed of one SDN controller and a plurality of SDN forwarding devices, the SDN controller obtains a forwarding policy in a flow table through an OpenFlow protocol, and an interface sends the forwarding policy to the plurality of SDN forwarding devices, and the SDN forwarding devices forward data based on received decisions.
However, in the prior art, only one SDN controller is provided in an SDN network architecture, and once the SDN controller is attacked by a network, damaged, or affected by other insurability, or when an SDN forwarding device fails, or a connection between SDN forwarding devices is interrupted, or the like occurs. The whole SDN network is paralyzed, and the stability of the SDN network is poor. In order to avoid this, very strict security protection of the SDN controller is often required, such as additional development of related protection systems, which causes security maintenance of the SDN network to be costly.
Based on the technical problems, the technical idea of the application is as follows: how to implement a method for determining a forwarding policy which improves the stability and security of an SDN network and has relatively low cost.
Fig. 1 is a schematic diagram of an SDN network system architecture provided herein, and as shown in fig. 1, the network system architecture includes: the system comprises an SDN controller group 1 and a plurality of SDN forwarding devices 2.
The SDN controller group 1 includes a plurality of SDN controllers with different decision rights, and each SDN controller has different forwarding algorithms, for example, a first SDN controller 101 with a first decision right, a second SDN controller 102 with a second decision right parameter, and a third SDN controller 103 with a third decision right parameter, and the like, where the SDN controller group 1 controls data transmission of an SDN network system, that is, the SDN controller group 1 monitors, controls forwarding policies, and forwards data management of a plurality of SDN forwarding devices 2 through a protocol interface, and the SDN controller group 1 can update a network user in real time to customize a corresponding forwarding policy according to changes of service scene requirements based on the protocol interface.
In addition, based on the network protocol, each SDN controller in the SDN controller group 1 may perform information "negotiation", that is, each SDN controller may notify its current decision right parameters and forwarding algorithm to other SDN controllers.
The multiple SDN forwarding devices 2 may forward data to be transmitted in the SDN network according to a forwarding policy issued by the SDN controller group 1.
The technical solution of the present application will be described in detail below with reference to specific examples. It should be noted that the following several specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a schematic diagram of a flow of a method for determining an SDN network forwarding policy provided in the present application, and as shown in fig. 2, the method includes:
step 201, the first SDN controller obtains a network state fed back by the SDN forwarding device, and obtains a first forwarding policy by adopting a first policy generation algorithm corresponding to the first SDN controller according to the network state.
In this embodiment, it should be noted that the method provided in this embodiment can be applied to a network architecture scenario similar to that shown in fig. 1.
It should be noted that, for convenience of description, in this embodiment, the SDN system includes a first SDN controller (i.e., the first SDN controller 101 in fig. 1 described above) and at least one second SDN controller (i.e., the second SDN controller 102 and the third SDN controller 103 in fig. 1 described above); each SDN controller is preset with corresponding decision weight parameters, the parameters can be embodied in a numerical value form, and the decision weight is larger when the numerical value is larger. The first decision weight parameters corresponding to the first SDN controller are larger than the second decision weight parameters corresponding to all the second SDN controllers. Based on this, the first SDN controller is equivalent to a master controller, and is used to perform corresponding processing such as forwarding policy generation.
In addition, each SDN controller in the network architecture shown in fig. 1 carries a forwarding algorithm for forwarding data, and the forwarding algorithms on the SDN controllers are different.
In addition, an application scenario of this embodiment is described by taking an example of an interruption of a forwarding path between multiple SDN forwarding devices 2 in the network architecture shown in fig. 1 or a fault in another situation as an example, and accordingly, when an interruption of a forwarding path between SDN forwarding devices 2 or another fault occurs, a first SDN controller having a first decision right parameter performs policy adjustment processing on the basis of the method for determining an SDN network forwarding policy provided by the present application.
Optionally, in this embodiment, a first SDN controller having a first decision right parameter may issue a signaling for acquiring a network state to multiple SDN forwarding devices in a signaling interaction manner, and correspondingly, the multiple SDN forwarding devices feed back information of whether forwarding links connected to their ports are smooth to the first SDN controller.
Exemplarily, when a first SDN controller may send a signaling for acquiring a network state in real time or periodically, and determines that a forwarding link in a current SDN network is interrupted according to network state information fed back by an SDN forwarding device, the first SDN controller forwards forwarding link interruption condition information to another SDN controller; then, the first SDN controller modifies or generates a new forwarding policy according to its own forwarding algorithm, i.e. the first policy, and records as the first forwarding policy, so as to complete the transmission of the data by using the first forwarding policy.
Fig. 3 is a schematic diagram of a forwarding policy modification of an SDN network provided in the present application, as shown in fig. 3, the forwarding policy includes two types, and it is assumed that a forwarding path of current data transmission is a first policy: in this case, when the first SDN controller obtains a path interruption between the SDN forwarding device B and the SDN forwarding device C, the first SDN controller modifies the forwarding path to a second policy according to its internal forwarding algorithm: SDN forwarding equipment A-SDN forwarding equipment B-SDN forwarding equipment E-SDN forwarding equipment D.
Similarly, when the whole forwarding path of the first policy is interrupted, the first SDN controller determines a new forwarding path according to its internal forwarding algorithm, that is, regenerates the first forwarding policy.
Further, the first SDN controller needs to continue to perform the following steps to determine whether the first forwarding policy is reasonable.
Step 202, the first SDN controller issues the first forwarding policy to each SDN forwarding device, so that each SDN forwarding device executes the first forwarding policy, and acquires and obtains SLA indexes.
In this embodiment, when it is determined that the current first forwarding policy is reasonable and the first forwarding policy can be executed, based on a network protocol, the first SDN controller issues the first forwarding policy to other SDN forwarding devices in the SDN network system, so as to synchronize the first forwarding policy to other SDN controllers, that is, the second SDN controller.
Therefore, each SDN controller issues a forwarding policy and, in a reasonable situation, the forwarding policy needs to be synchronized to other SDN controllers in the SDN network system, so that when the current SDN controller fails, the other SDN controllers can issue the forwarding policy.
And 203, the first SDN controller acquires the SLA indexes fed back by each SDN forwarding device, and performs unified processing on the SLA indexes to acquire unified SLA indexes.
In this embodiment, when the first SDN controller issues the first forwarding policy to the SDN forwarding device corresponding to the first forwarding policy in the form of a flow table, the first SDN controller issues a Service-level agreement (SLA) signaling to the SDN forwarding device corresponding to the first forwarding policy, so as to collect an SLA index on the first forwarding policy. The SLA index represents the forwarding quality of the SDN network and is not influenced by service type change; the smaller the index value is, the better the network quality is; the larger the index value is, the worse the network quality is.
Correspondingly, when the SDN forwarding device corresponding to the first forwarding strategy executes the first forwarding strategy, the SLA index data is fed back to the first SDN controller.
Wherein the SLA metrics include: network experiment, jitter, packet loss rate and other information.
And step 204, the first SDN controller compares the unified SLA index with a preset SLA threshold value, and adaptively modifies a first decision weight parameter corresponding to the first SDN controller according to a comparison result.
In this embodiment, for convenience of calculation, the first SDN controller may perform weighted summation calculation on the obtained SLA index according to a preset weight value to obtain a unified SLA index. The preset weight can be set by a person skilled in the art according to experience, but is not limited to other specific implementation manners.
It should be noted that, in the present embodiment, each SDN controller in the SDN network system prestores an associated weight value and an SLA threshold for determining whether the first forwarding policy is reasonable, where the SLA threshold is set by a person skilled in the art according to experience, but the present embodiment is not limited to other specific embodiments.
Furthermore, the first SDN controller compares the obtained unified SLA index with a preset SLA threshold value, judges whether the first forwarding strategy is reasonable or not, and if the unified SLA index is smaller than or equal to the preset SLA threshold value, the first forwarding strategy is reasonable and executable; and if the unified SLA index is larger than the preset SLA threshold value, the first forwarding strategy is unreasonable and can not be executed.
Correspondingly, when the first forwarding policy is reasonable, the first decision right parameter of the first SDN controller issued by the first forwarding policy is controlled to be subjected to value increase processing, otherwise, the first decision right of the first SDN controller is subjected to value reduction processing.
It should be noted that, no matter whether the first forwarding policy is reasonable, the first SDN controller needs to issue the determination result of the first forwarding policy to other SDN controllers in the SDN network system.
In this embodiment, a method for determining an SDN network forwarding policy is provided, where the method is applied to an SDN network system, and the SDN network system includes: the system comprises a first SDN controller, at least one second SDN controller and a plurality of SDN forwarding devices; and the first decision right parameter corresponding to the first SND controller is greater than the second decision right parameter corresponding to the second SDN controller. The method comprises the steps that a first SDN controller obtains a network state fed back by SDN forwarding equipment, and a first forwarding strategy is obtained by adopting a first SDN controller corresponding to a first strategy generation algorithm according to the network state; issuing the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy, and acquiring and obtaining SLA indexes; acquiring SLA indexes fed back by each SDN forwarding device, and performing unified processing on the SLA indexes to acquire unified SLA indexes; and comparing the unified SLA index with a preset SLA threshold, and adaptively modifying a first decision weight parameter corresponding to the first SDN controller according to a comparison result. Compared with the prior art, the method provided by the embodiment can enhance the flexibility of the control of the SDN network system and can improve the stability and the safety of the SDN network system.
On the basis of the above embodiments, the present embodiment specifically explains: and a specific processing step after issuing the first forwarding strategy and carrying out decision right adjustment.
Specifically, when the modified first decision weight parameter is determined to be smaller than the second decision weight parameter corresponding to the at least one second SDN controller, the first SDN controller determines the second SDN controller corresponding to the largest second decision weight parameter, and switches the forwarding policy acquisition and issuing to the second SDN controller corresponding to the largest second decision weight parameter.
For example, when the first forwarding policy is not reasonable, when the decision weight parameters of the first SDN controller are subjected to a value reduction process, the decision weight parameters of the SDN controllers in the SDN network system need to be reordered. Optionally, the first SDN controller issues the adjusted decision right parameter to another SDN controller, and meanwhile, the first SDN controller receives the decision right parameter of another SDN controller, and further obtains the SDN controller with the largest current decision right parameter of the SDN network system.
Assuming that the decision right parameter of the current first SDN controller is no longer the maximum parameter, the SDN controller corresponding to the new maximum decision right parameter needs to be reselected and switched to the master controller, and the master controller performs forwarding policy issuing and control management on the processing operation of the whole SDN network system.
In addition, assuming that the decision right parameter of the first SDN controller is the largest, but the first SDN controller fails, at this time, the SDN controller with the decision right parameter being the second largest is used as a main controller to ensure that the current SDN network system can issue a policy so as to complete the forwarding processing of the data to be transmitted.
In this embodiment, a specific processing step of, when a decision right of any SDN controller in the SDN network system changes or the SDN controller fails, needing to re-determine the SDN controller corresponding to the maximum decision right parameter, and using the newly determined SDN controller as a main controller to manage the SDN network system and issue a forwarding policy is specifically described.
Fig. 4 is a schematic diagram of a flow of a method for determining an SDN network forwarding policy provided in the present application, and on the basis of the foregoing embodiment, this embodiment specifically explains that after a first SDN controller issues a first forwarding policy, a unified SLA index is obtained, and a decision right parameter is adjusted according to a relationship between the unified SLA index and an SLA threshold, as shown in fig. 4, the processing steps are:
step 401, obtaining a network state fed back by the SDN forwarding device, and obtaining a first forwarding policy by using a first SDN controller corresponding to a first policy generation algorithm according to the network state.
Step 402, issuing the first forwarding policy to each SDN forwarding device, so that each SDN forwarding device executes the first forwarding policy, and acquiring and obtaining SLA indexes.
And 403, acquiring an SLA index fed back by each SDN forwarding device, and performing unified processing on the SLA indexes to acquire unified SLA indexes.
Step 404, comparing the unified SLA metric with a preset SLA threshold.
Step 405, determining whether the unified SLA index is less than or equal to a preset SLA threshold. If the unified SLA index is less than or equal to the preset SLA threshold, execute step 406; otherwise, go to step 407.
Step 406, obtaining a first difference between the SLA threshold and the unified SLA index, and adding the first difference to the first decision weight parameter; or adding a preset correction value into the first decision parameter, and sending the first strategy generation algorithm to the second SDN controller for storage.
Specifically, when the first SDN controller determines that the first forwarding policy is a reasonable policy, that is, after the first forwarding policy is issued, the network quality of the SDN network system is improved, based on this, the first SDN controller adjusts its own decision right, optionally, the first SDN controller may calculate a first difference between a preset SLA threshold and a unified SLA index, and add the first difference to its own first decision right parameter, so as to improve the first decision right parameter of the first SDN controller.
Or the first SDN controller adds the preset correction value to the first decision weight parameter, so as to increase the first decision weight parameter of the first SDN controller. Specific embodiments of the preset correction value include, but are not limited to: as set by experience for the person skilled in the art.
After the first SDN controller adjusts the first decision right parameter of the first SDN controller, based on the network protocol, the adjusted first decision right parameter is issued to other SDN controllers in the SDN network system, and meanwhile, the first forwarding strategy is synchronized to other SDN controllers.
Step 407, obtaining a second difference between the unified SLA index and a preset SLA threshold, and subtracting the second difference from the first decision weight parameter; or subtracting the preset correction value from the first decision parameter, and deleting the first strategy generation algorithm.
Specifically, when the first SDN controller determines that the first forwarding policy is not reasonable, that is, the first forwarding policy is issued to the SDN network system, the quality of the SDN network is significantly reduced, which indicates that the current first forwarding policy is not reasonable and the decision of the first SDN controller issuing the first forwarding policy is also not reasonable, so that the first decision right parameter of the first SDN controller needs to be reduced. Optionally, the first SDN controller calculates a second difference between the unified SLA index and a preset SLA threshold, and then calculates a difference between the first decision-making weight parameter and the second difference, so as to reduce the first decision-making weight parameter of the first SDN controller.
Or, the first decision right parameter of the first SDN controller is reduced by increasing the first decision right parameter of the first SDN controller according to the preset correction value, which is not repeatedly described herein.
Similarly, the first SDN controller still needs to synchronize the adjusted first decision right parameter to another SDN controller based on the network protocol, and the first SDN controller also needs to delete the first forwarding policy or the first generation algorithm, and synchronize the deletion processing step to another SDN controller.
In this embodiment, a specific step of adjusting the decision weight parameter by the first SDN controller is specifically explained, and the decision weight parameter of each SDN controller can be adjusted in real time according to changes of service requirements in different scenes, so as to ensure that data forwarding processing is performed on transmission data of the SDN network system by using an optimal forwarding algorithm under any scene service requirement. This enhances the stability of the SDN network system while improving the forwarding processing efficiency.
In an alternative embodiment, the present application provides an SDN network system, comprising: the system comprises a first SDN controller, at least one second SDN controller and a plurality of SDN forwarding devices; the first decision weight parameter corresponding to the first SND controller is larger than the second decision weight parameter corresponding to the second SDN controller; the first SDN controller is used for acquiring a network state fed back by the SDN forwarding equipment and acquiring a first forwarding strategy by adopting a first SDN controller corresponding to a first strategy generation algorithm according to the network state; the first SDN controller is further used for issuing the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy and acquire and obtain SLA indexes; the first SDN controller is further used for obtaining an SLA index fed back by each SDN forwarding device, and performing unified processing on the SLA index to obtain a unified SLA index; the first SDN controller is further used for comparing the unified SLA index with a preset SLA threshold value and adaptively modifying a first decision weight parameter corresponding to the first SDN controller according to a comparison result.
In this embodiment, an SDN network system is provided, which specifically illustrates an application scenario of the method provided in the present application, that is, the application scenario of the method provided in the present application includes but is not limited to: the SDN network system comprises a plurality of SDN controllers with different decision weight parameters and different forwarding algorithms and a plurality of SDN forwarding devices, wherein the SDN controller with the largest decision weight parameter always implements control management operation in the SDN network system, and the forwarding algorithms adopted during data transmission are optimal strategies under the optimal forwarding algorithms.
Fig. 5 is a schematic diagram of an SDN controller structure provided in the present application, and for convenience of explanation, only the structure related to the present application is shown, as shown in fig. 5, the SDN controller 50 includes an obtaining module 51 and a processing module 52.
The obtaining module 51 is configured to obtain a network state fed back by an SDN forwarding device when it is determined that a first decision right parameter of the obtaining module is greater than a second decision right parameter corresponding to a second SDN controller except the SDN controller in the SDN network system, and obtain a first forwarding policy by using a first policy generation algorithm corresponding to the first SDN controller according to the network state; the processing module 52 is configured to issue the first forwarding policy to each SDN forwarding device, so that each SDN forwarding device executes the first forwarding policy, and acquire and obtain an SLA index; the obtaining module 51 is further configured to obtain an SLA index fed back by each SDN forwarding device, and perform unified processing on the SLA index to obtain a unified SLA index; the processing module 52 is further configured to compare the unified SLA index with a preset SLA threshold, and adaptively modify the first decision weight parameter according to a comparison result.
Optionally, the processing module 52 is further configured to:
when the modified first decision right parameter is determined to be smaller than a second decision right parameter corresponding to at least one second SDN controller, a second SDN controller corresponding to the largest second decision right parameter is determined, and forwarding strategy acquisition and issuing are switched to the second SDN controller corresponding to the largest second decision right parameter.
Optionally, the processing module 52 is specifically configured to:
if the unified SLA index is judged to be smaller than or equal to the preset SLA threshold, acquiring a first difference value between the unified SLA index and the preset SLA threshold, and adding the first difference value to a first decision weight parameter; or adding a preset correction value to the first decision parameter;
sending the first policy generation algorithm to a second SDN controller for storage.
Optionally, the processing module 52 is further specifically configured to:
if the unified SLA index is judged to be larger than the preset SLA threshold, acquiring a second difference value between the unified SLA index and the preset SLA threshold, and subtracting the second difference value from the first decision weight parameter; or subtracting a preset correction value from the first decision parameter;
the first policy generation algorithm is deleted.
Optionally, the SLA metrics include: network experiments, jitter and packet loss rate.
The SDN controller provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method, and the implementation principle and beneficial effects are similar, which are not described herein again.
In this embodiment, an SDN controller is provided, the SDN controller comprising: the system comprises an acquisition module and a processing module, wherein the acquisition module is used for acquiring a network state fed back by SDN forwarding equipment when determining that a first decision weight parameter of the acquisition module is larger than a second decision weight parameter corresponding to a second SDN controller except the SDN controller in the SDN network system, and acquiring a first forwarding strategy by adopting a first strategy generation algorithm corresponding to the first SDN controller according to the network state; the processing module is used for issuing the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy and acquire and obtain SLA indexes; in addition, the obtaining module is further configured to obtain an SLA index fed back by each SDN forwarding device, and perform unified processing on the SLA index to obtain a unified SLA index; correspondingly, the processing module 52 is further configured to compare the unified SLA index with a preset SLA threshold, and adaptively modify the first decision weight parameter according to a comparison result. By using the SDN controller provided by the embodiment, the stability and the security of the SDN network system can be improved.
Optionally, the present application further provides an SDN controller, including: a processor, and a memory communicatively coupled to the processor; the memory stores execution instructions; the processor executes execution instructions stored by the memory to implement the method of any of claims 1 to 5.
Optionally, the present application further provides a readable storage medium, in which an execution instruction is stored, and when the execution instruction is executed by a processor, the method provided in any one of the foregoing embodiments is implemented.
The embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is configured to implement the technical solutions provided in any of the foregoing method embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (13)

1. A method for determining an SDN network forwarding policy is applied to an SDN network system, and the SDN network system comprises: the system comprises a first SDN controller, at least one second SDN controller and a plurality of SDN forwarding devices; wherein a first decision weight parameter corresponding to the first SND controller is greater than a second decision weight parameter corresponding to the second SDN controller;
the first SDN controller acquires a network state fed back by the SDN forwarding equipment, and acquires a first forwarding strategy by adopting a first strategy generation algorithm corresponding to the first SDN controller according to the network state;
the first SDN controller issues the first forwarding strategy to each SDN forwarding device so that each SDN forwarding device can execute the first forwarding strategy and acquire and obtain SLA indexes;
the first SDN controller acquires the SLA index fed back by each SDN forwarding device, and performs unified processing on the SLA index to acquire a unified SLA index;
the first SDN controller compares the unified SLA index with a preset SLA threshold value, and adaptively modifies a first decision weight parameter corresponding to the first SDN controller according to a comparison result.
2. The method of claim 1, further comprising:
when the first SDN controller determines that the modified first decision weight parameter is smaller than a second decision weight parameter corresponding to at least one second SDN controller, the first SDN controller determines a second SDN controller corresponding to a largest second decision weight parameter, and acquires and issues a forwarding strategy to the second SDN controller corresponding to the largest second decision weight parameter.
3. The method of claim 1, wherein the comparing, by the first SDN controller, the unified SLA index with a preset SLA threshold, and adaptively modifying, according to a comparison result, a first decision weight parameter corresponding to the first SDN controller, comprises:
if the first SDN controller judges that the unified SLA index is smaller than or equal to a preset SLA threshold value, acquiring a first difference value between the preset SLA threshold value and the unified SLA index, and adding the first difference value to the first decision weight parameter; or adding a preset correction value to the first decision parameter;
the first SDN controller sends the first policy generation algorithm to the second SDN controller for storage.
4. The method of claim 3, further comprising:
if the first SDN controller judges that the unified SLA index is larger than the preset SLA threshold value, acquiring a second difference value between the unified SLA index and the preset SLA threshold value, and subtracting the second difference value from the first decision weight parameter; or subtracting the preset correction value from the first decision parameter;
deleting, by the first SDN controller, the first policy generation algorithm.
5. The method according to any of claims 1-4, wherein said SLA metrics comprise: network experiments, jitter and packet loss rate.
6. An SDN network system, comprising: the system comprises a first SDN controller, at least one second SDN controller and a plurality of SDN forwarding devices; wherein a first decision weight parameter corresponding to the first SND controller is greater than a second decision weight parameter corresponding to the second SDN controller;
the first SDN controller is configured to acquire a network state fed back by the SDN forwarding device, and acquire a first forwarding policy by using a first policy generation algorithm corresponding to the first SDN controller according to the network state;
the first SDN controller is further configured to issue the first forwarding policy to each SDN forwarding device, so that each SDN forwarding device executes the first forwarding policy, and acquires and obtains an SLA index;
the first SDN controller is further configured to obtain the SLA index fed back by each SDN forwarding device, and perform unified processing on the SLA index to obtain a unified SLA index;
the first SDN controller is further configured to compare the unified SLA index with a preset SLA threshold, and adaptively modify a first decision weight parameter corresponding to the first SDN controller according to a comparison result.
7. An SDN controller, comprising:
the acquiring module is used for acquiring a network state fed back by the SDN forwarding device when a first decision weight parameter of the acquiring module is determined to be larger than a second decision weight parameter corresponding to a second SDN controller except the SDN controller in an SDN network system, and acquiring a first forwarding strategy by adopting a first strategy generating algorithm corresponding to the first SDN controller according to the network state;
the processing module is configured to issue the first forwarding policy to each SDN forwarding device, so that each SDN forwarding device executes the first forwarding policy, and acquires and obtains an SLA index;
the acquiring module is further configured to acquire the SLA index fed back by each SDN forwarding device, and perform unified processing on the SLA index to acquire a unified SLA index;
the processing module is further configured to compare the unified SLA index with a preset SLA threshold, and adaptively modify the first decision weight parameter according to a comparison result.
8. The SDN controller of claim 7, wherein the processing module is further configured to:
when the modified first decision weight parameter is determined to be smaller than a second decision weight parameter corresponding to at least one second SDN controller, determining the second SDN controller corresponding to the largest second decision weight parameter, and acquiring and issuing a forwarding strategy to be switched to the second SDN controller corresponding to the largest second decision weight parameter.
9. The SDN controller of claim 7, wherein the processing module is specifically configured to:
if the unified SLA index is judged to be smaller than or equal to a preset SLA threshold value, acquiring a first difference value between the preset SLA threshold value and the unified SLA index, and adding the first difference value to the first decision weight parameter; or adding a preset correction value to the first decision parameter;
sending the first policy generation algorithm to the second SDN controller for storage.
10. The SDN controller of claim 9, wherein the processing module is further specifically configured to:
if the unified SLA index is judged to be larger than the preset SLA threshold value, acquiring a second difference value between the unified SLA index and the preset SLA threshold value, and subtracting the second difference value from the first decision weight parameter; or subtracting the preset correction value from the first decision parameter;
deleting the first policy generation algorithm.
11. SDN controller according to any of claims 7-10, wherein the SLA metrics comprise: network experiments, jitter and packet loss rate.
12. An SDN controller, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores execution instructions;
the processor executes execution instructions stored by the memory to implement the method of any of claims 1 to 5.
13. A readable storage medium having stored thereon instructions for execution, which when executed by a processor, perform the method of any one of claims 1-5.
CN202211693403.XA 2022-12-28 2022-12-28 SDN network forwarding strategy determination method, SDN network forwarding strategy determination system, SDN network forwarding strategy controller and SDN network forwarding strategy determination device Active CN115865643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211693403.XA CN115865643B (en) 2022-12-28 2022-12-28 SDN network forwarding strategy determination method, SDN network forwarding strategy determination system, SDN network forwarding strategy controller and SDN network forwarding strategy determination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211693403.XA CN115865643B (en) 2022-12-28 2022-12-28 SDN network forwarding strategy determination method, SDN network forwarding strategy determination system, SDN network forwarding strategy controller and SDN network forwarding strategy determination device

Publications (2)

Publication Number Publication Date
CN115865643A true CN115865643A (en) 2023-03-28
CN115865643B CN115865643B (en) 2024-07-30

Family

ID=85655359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211693403.XA Active CN115865643B (en) 2022-12-28 2022-12-28 SDN network forwarding strategy determination method, SDN network forwarding strategy determination system, SDN network forwarding strategy controller and SDN network forwarding strategy determination device

Country Status (1)

Country Link
CN (1) CN115865643B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192339A (en) * 2023-04-26 2023-05-30 宏景科技股份有限公司 Distributed internet of things data transmission method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490960A (en) * 2014-09-15 2016-04-13 中兴通讯股份有限公司 SDN configuration, and message forwarding method based on same
US20190036779A1 (en) * 2017-07-31 2019-01-31 Cisco Technology, Inc. Virtualized software-defined network
KR101963512B1 (en) * 2017-09-29 2019-07-31 포항공과대학교 산학협력단 Method and apparatus for placement of distributed software defined networking controllers
US20190364049A1 (en) * 2018-05-24 2019-11-28 International Business Machines Corporation Secure provisioning of unknown devices through trusted third-party devices
CN114157718A (en) * 2021-11-12 2022-03-08 国网冀北电力有限公司信息通信分公司 SDN network system and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490960A (en) * 2014-09-15 2016-04-13 中兴通讯股份有限公司 SDN configuration, and message forwarding method based on same
US20190036779A1 (en) * 2017-07-31 2019-01-31 Cisco Technology, Inc. Virtualized software-defined network
KR101963512B1 (en) * 2017-09-29 2019-07-31 포항공과대학교 산학협력단 Method and apparatus for placement of distributed software defined networking controllers
US20190364049A1 (en) * 2018-05-24 2019-11-28 International Business Machines Corporation Secure provisioning of unknown devices through trusted third-party devices
CN114157718A (en) * 2021-11-12 2022-03-08 国网冀北电力有限公司信息通信分公司 SDN network system and control method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HAIYANG ZOU;MINGDONG LI: "Design of multi-intelligent data migration strategy based on SDN secondary mode", 2018 INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND BIG DATA, 28 June 2018 (2018-06-28) *
李毛: "SDN网络测量及流量传输技术研究", 中国优秀硕士学位论文数据库, 16 August 2022 (2022-08-16) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192339A (en) * 2023-04-26 2023-05-30 宏景科技股份有限公司 Distributed internet of things data transmission method and system
CN116192339B (en) * 2023-04-26 2023-07-28 宏景科技股份有限公司 Distributed internet of things data transmission method and system

Also Published As

Publication number Publication date
CN115865643B (en) 2024-07-30

Similar Documents

Publication Publication Date Title
KR102576869B1 (en) Apparatus and Method for Setting Service Function Path of Service Function Chain based on Software Defined Network
EP2594041B1 (en) Technique for establishing a forwarding path in a network system
US20200014614A1 (en) SDN Controller, Data Center System, and Routing Connection Method
CN104488238A (en) System and method for cluster link aggregation control in a network environment
CN110535765B (en) Mimicry defense network system based on segmented routing and defense method thereof
WO2006116839A1 (en) Method and apparatus for non-disruptive call modification
WO2018001230A1 (en) Dynamic link aggregation implementation method and device and computer storage medium
CN115865643A (en) SDN network forwarding policy determination method, system, controller and device
CN109309624B (en) Flow scheduling method and system, and software defined network controller
US10432501B2 (en) SDN architecture and method for forwarding message based on SDN architecture
CN111371680B (en) Route management method, device, equipment and storage medium for dual-computer hot standby
WO2022016969A1 (en) Data processing method and device
CN112787949A (en) Flow acquisition and transportation management method, control device and storage medium
US9071538B2 (en) Method for dynamically adjusting switching loop and network equipment
CN112118122B (en) Method and system for controlling optical transmission network slice
CN105591776B (en) The active/standby link switchover method and apparatus of SDN network equipment
EP3873139A1 (en) Method for an improved operation of a broadband access network of a telecommunications network and/or for an improved and/or more energy efficient operation of the broadband access network, broadband access network or telecommunications network, and system, program and computer-readable medium
US20060034288A1 (en) Method for fast source routed connection setup
CN115865682B (en) SDN link detection processing method, controller, system and medium
CN117729562A (en) Network optimization method and device, electronic equipment and storage medium
CN118264528A (en) Network management method, device, system and storage medium
Izumi et al. Basic Design of Network Control Method Based on Disaster Risk of OpenFlow C/M-Plane
CN118540198A (en) Distributed power computing network based on multi-power computing agent, interaction method and agent
CN108512757B (en) Method and device for adjusting bandwidth as required
CN115412481A (en) Network slice generation method, slice controller, network system, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant