CN108156004A - SDN controllers and switch management method - Google Patents

SDN controllers and switch management method Download PDF

Info

Publication number
CN108156004A
CN108156004A CN201611102048.9A CN201611102048A CN108156004A CN 108156004 A CN108156004 A CN 108156004A CN 201611102048 A CN201611102048 A CN 201611102048A CN 108156004 A CN108156004 A CN 108156004A
Authority
CN
China
Prior art keywords
interchanger
snmp
information
congestion control
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611102048.9A
Other languages
Chinese (zh)
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 Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications 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 Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611102048.9A priority Critical patent/CN108156004A/en
Publication of CN108156004A publication Critical patent/CN108156004A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Abstract

Present embodiment discloses a kind of software defined network SDN controllers and switch management method, the SDN controllers include:Simple Network Management Protocol snmp management unit carries out information exchange, from the network topology for exchanging and obtaining for being based on snmp protocol with interchanger;The SNMP units are additionally operable to the status information of equipment obtained from interchanger reading based on the SNMP;Wherein, the status information of equipment includes port information and/or traffic statistics.The setting that the SDN controllers pass through snmp management unit; SNMP will be based on interchanger based on snmp protocol and carry out information exchange; so as to obtain network topology and status information of equipment in accordance with snmp protocol; so as to solve the problem of according to during the flow table exception of interchanger inside, can not normally obtain network topology caused by openflow agreements acquisition network topology.

Description

SDN controllers and switch management method
Technical field
The present invention relates to network technique field more particularly to a kind of software defined network (Software Defined Network, SDN) controller and switch management method.
Background technology
Open flows openflow agreements will be utilized in existing SDN controllers, manage interchanger.For example, it utilizes Openflow agreements read network topology from interchanger, are packaged with network topology based on openflow by being read from interchanger Data packet.If at this point, there is mistake, is written over all causing network topology can not be by SDN controllers in the flow table inside interchanger It is properly received.Exception, the status information for the interchanger that openflow can be obtained is seldom, if SDN controllers are needed to interchanger Status information, the interchangers such as interchanger are further controlled, for example, realize data packet forward-path control, Realize congestion control or flow tuning, these status informations can not all meet control requirement or accurate control requirement.Therefore really The network topology and/or status information of equipment for protecting interchanger normally report SDN controllers, are that the prior art needs further to solve The problem of.
Invention content
In view of this, an embodiment of the present invention is intended to provide a kind of SDN controllers and switch management methods, at least partly solve The certainly above problem.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
The present embodiment first aspect provides a kind of software defined network SDN controllers, including:
Simple Network Management Protocol snmp management unit carries out information exchange for being based on snmp protocol with interchanger, from It is described to exchange the network topology obtained;
The SNMP units are additionally operable to the status information of equipment obtained from interchanger reading based on the SNMP;
The status information of equipment includes port information and/or traffic statistics.
Based on said program, the SDN controllers further include:
Processing unit, for acquisition approach switchover policy and/or congestion control policy, wherein, the path switchover policy Or the congestion control policy, it is to be generated based on the port information and/or traffic statistics;
Issuance unit is connect with the processing unit, for will be under the forwarding strategy and/or the congestion control policy Issue the interchanger.
Based on said program, the issuing unit, to support the unit of open flows openflow agreements, for passing through operation Openflow plug-in units by the path switchover policy and/or congestion control policy, are sent to the interchanger.
Based on said program, the processing unit, for when port bandwidth average utilization is more than pre-determined threshold, obtaining The path switchover policy and/or congestion control policy.
Based on said program, the processing unit, specifically for receiving when the port bandwidth average utilization is more than in advance The congestion alarm that gating is formed in limited time;When receiving the congestion alarm, automatically generate the path switchover policy and/or gather around Fill in control strategy;Or, when generating the congestion alarm, switch prompting is exported;And the operation formed based on the switch prompting Instruction, generates the path switchover policy and/or congestion control policy.
Based on said program, the SNMP units are additionally operable to the status information of equipment, are converted into performance layer state The displaying information that RESTful agreements are supported;
The SDN controllers further include:
Output unit for being connect with the SNMP units, exports the displaying information.
Based on said program, the SNMP units are additionally operable to the status information of equipment, are converted into performance layer state The displaying information that RESTful agreements are supported, and the displaying information is sent to displaying server;The displaying information is used for institute Server is stated to show.
Based on said program, the network topology includes the interchanger and the connection path of other equipment;
The local equipment mark of the connection path including the interchanger, the machine connectivity port, opposite equip. identify and Opposite equip. port-mark.
Second aspect of the embodiment of the present invention provides a kind of switch management method, including:
Information exchange is carried out based on Simple Network Management Protocol SNMP and interchanger, is opened up with obtaining network from the interchanger It flutters;
Based on the SNMP, status information of equipment is obtained from the interchanger;
The status information of equipment includes port information and/or traffic statistics.
Based on said program, the method further includes:
Acquisition approach switchover policy and/or congestion control policy, wherein, the path switchover policy or the congestion control Strategy is generated based on the port information and/or traffic statistics;
By the path switchover policy and/or the congestion control policy, it is handed down to the interchanger.
It is described by the path switchover policy and/or the congestion control policy based on said program, it is handed down to the friendship It changes planes, including:
By the openflow plug-in units of operation support open flows openflow agreements, by the path switchover policy and/or Congestion control policy is sent to the interchanger.
It is described by the path switchover policy and/or the congestion control policy based on said program, it is handed down to the friendship It changes planes, including:
When port bandwidth average utilization is more than pre-determined threshold, the path switchover policy and/or congestion control are obtained Strategy.
It is described when port bandwidth average utilization is more than pre-determined threshold based on said program, obtain the path switching Strategy and/or congestion control policy, including:
Receive the congestion alarm formed when the port bandwidth average utilization is more than pre-determined threshold;
When receiving the congestion alarm, the path switchover policy and/or congestion control policy are automatically generated;
Or,
When generating the congestion alarm, switch prompting is exported;And the operation instruction formed based on the switch prompting, it is raw Into the path switchover policy and/or congestion control policy.
Based on said program, the method further includes:
By the status information of equipment, it is converted into the displaying information that performance layer state RESTful agreements are supported;
Export the displaying information.
Based on said program, the method further includes:
By the status information of equipment, it is converted into the displaying information that performance layer state RESTful agreements are supported;
The displaying information is sent to displaying server;The displaying information shows for the server.
Based on said program, the network topology includes the interchanger and the connection path of other equipment;
The local equipment mark of the connection path including the interchanger, the machine connectivity port, opposite equip. identify and Opposite equip. port-mark.
A kind of SDN controllers of the embodiment of the present invention and switch management method, the SDN controllers pass through snmp management list The setting of member will be based on SNMP with interchanger based on snmp protocol and carry out information exchange, so as to obtain the net in accordance with snmp protocol Network topology, so as to solve obtain network topology according to openflow agreements caused by inside interchanger during flow table exception, can not Normal the problem of obtaining network topology.
Description of the drawings
Fig. 1 is a kind of structure diagram of SDN controllers provided in an embodiment of the present invention;
Fig. 2 is a kind of network topology schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of switch management method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another switch management method provided in an embodiment of the present invention;
Fig. 5 is another network topology schematic diagram provided in an embodiment of the present invention;
Fig. 6 is another network topology schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Technical scheme of the present invention is further elaborated below in conjunction with Figure of description and specific embodiment.
As shown in Figure 1, the present embodiment provides a kind of software defined network SDN controllers, including:
Simple Network Management Protocol snmp management unit 110 carries out information exchange for being based on snmp protocol with interchanger, From the network topology for exchanging and obtaining;
The SNMP units 110 are additionally operable to the status information of equipment obtained from interchanger reading based on the SNMP; Wherein, the status information of equipment includes port information and/or traffic statistics..
A kind of SDN controllers are present embodiments provided, which includes snmp management unit 110, SNMP here Administrative unit 110 is is managed interchanger based on SNMP.The snmp management unit 110, can run and be developed according to SNMP SNMP plug-in units.The SNMP is the abbreviation of Simple Network Management Protocol.Using SNMP with exchanging Machine carries out information exchange, is the data packet that is sent based on SNMP so as to what is received from interchanger, so as to obtain the network Topology.Here net topology information is the interchanger and the connecting link information of other equipment.The usual interchanger can be run Link Layer Discovery Protocol (Link Layer Discovery Protocol, LLDP) carries out discovering network topology.In the present embodiment Described in interchanger will also run SNMP, with the SDN controllers carry out information exchange, so as to will utilize LLDP agreements obtain Network topology, with SNMP support data packet be sent to SDN controllers.In this case, the forwarding of network topology eliminates the reliance on In the flow table of the open openflow agreements of stream, even if flow table breaks down or is written over, the SDN controllers can still obtain The network topology facilitates the SDN controllers to swap forwarding control of machine etc. according to the network topology.
The snmp management unit 110 can be to the communication port that corresponds to processor and connect with processor, the processing Device can run the SNMP plug-in units, and the communication port can run the instruction that the SNMP plug-in units generate based on the processor, SNMP is based on the interchanger and carries out information exchange, can at least obtain the network topology.
In specific implementation, the SDN controllers may also include processing unit, which may correspond to processor. The processor may include central processing unit, microprocessor, digital signal processor, programmable array or answer in the present embodiment With the various forms of processors such as processor.The processing circuit may include application-specific integrated circuit.The processor or processing electricity Lu Junke realizes the function of above-mentioned SNMP units or processing unit by the execution of predetermined instruction.The place in the present embodiment Unit is managed to can be used for into the operations such as row information parsing and information output control.
The status information of equipment may include:Device software version information, device power run time, device name and position Each process resource occupancy in confidence breath, the utilization rate of central processor CPU, CPU, power work state, dissipates memory usage Hot-air fan operating status and log information etc., various history that can reflect the switch device and/or port and current The information of operating status.The acquisition of these information is conducive to the SDN controllers and carries out the operations such as routing decision.In this implementation Example in by SNMP support SNMP units, based on SNMP obtain status information of equipment, relative to stress flow table forwarding The status information of equipment that openflow agreements obtain, has that the status information of equipment type obtained is more, information content bigger and more The characteristics of comprehensive.
Specifically such as, the status information of equipment includes port information and/or traffic statistics.The port information can Including port status information.The port status information can be used for whether characterization corresponding ports in running order, not busy busy condition And whether it is in at least one of the port status such as normal condition.In addition the port information may also include port attribute information, The port attribute information can port described in Bo Akai (Max Translation Unite, MTU) configuration information, port band Width, port transmission rate etc. characterize the information of port attribute.The MTU configuration informations can be used for restriction port to transmit every time most Big message length.
The traffic statistics may include the transmission statistic to port, it may include the message amount statistics of port transmission, Message data amount count, the quantity statistics of the different length message of transmission, the different length message of reception quantity system, recycle it is superfluous The remaining wrong packet quantity statistics of verification (Cyclic Redundancy Check, CRC), packet loss quantity statistics etc. are various to be associated with flow Statistical information.
By the acquisition of the status information of equipment of these information, the SDN controllers can be according to port status and flow Statistics, it is determined whether need to shunt, if path is needed to switch.Therefore in the present embodiment, the SDN controllers further include:Place Unit 120 is managed, for acquisition approach switchover policy and/or congestion control policy, wherein, it the path switchover policy or described gathers around Control strategy is filled in, is generated based on the port information and/or traffic statistics;Issuance unit 130, it is single with the processing Member connection, for the forwarding strategy and/or the congestion control policy to be handed down to the interchanger.
Here processing unit 120 may correspond to processor or processing circuit, can be united according to port information and/or flow Meter, determines at least one of outbound path switchover policy, congestion control policy and switch prompting, the path switchover policy be used for into Walking along the street diameter switches, and passage path switching can shunt, and it is not busy can the flow partly excessively on congestion path to be switched to comparison It is forwarded on path, so as to fulfill the load balancing of forwarding, reduces part path congestion, and the phenomenon that part path is idle, So as to promote the smooth of network transmission on the whole and reduce time delay.The congestion control policy can be used for carrying out congestion control, have Body may include congestion control mode, and the congestion control mode may include tail drop mode, by abandoning in a transmission queue Tail data packet, alleviate congestion.The congestion control mode may also include Weighted random early detection (Weighted Random Early Detected, WRED) mode, by adjusting the drop threshold and packet loss of the WRED modes, Ke Yishi Adjustment of existing congestion control etc..
For the unit of support open flows openflow agreements, openflow plug-in units are run for passing through for the issuing unit, By the path switchover policy and/or congestion control policy, it is sent to the interchanger.
Issuance unit utilizes and sends the path switchover policy and/or congestion control policy under openflow agreements, in this way If, it will the path switchover policy and/or congestion control policy are carried in flow table, friendship is issued in the form of flow table It changes planes, in this case, interchanger is when performing the path switchover policy and/or the congestion control policy, it is only necessary to inquire Flow table performs corresponding operation, reduces the information category of switch query, simplifies the work of interchanger, with the prior art Compatibility it is strong.
The processing unit 120, for when port bandwidth average utilization is more than pre-determined threshold, obtaining the path and cutting Change strategy and/or congestion control policy.For example, the processing unit 120, can be specifically used for according to traffic statistics, obtain Port bandwidth average utilization;When the port bandwidth average utilization is more than pre-determined threshold, the path switching plan is obtained Summary and/or congestion control policy.
In the present embodiment, the processing unit 120 according to traffic statistics, can obtain the port average bandwidth utilization of port Rate.For example, port flow statistics is carried out division arithmetic with port speed, port utilization ratio is obtained.Recycle time sliding window, system Count the bandwidth average utilization in certain scheduled duration.The time sliding window be time span regular hour window, the time Window is slided according to default step-length on time dimension.When the time span of slip reaches the scheduled duration, it will M port utilization ratio is obtained, in the average value for calculating this M port utilization rate.The M is equal to the scheduled duration divided by default step It is long.
When the port bandwidth average utilization be more than pre-determined threshold, illustrate that present port compares congestion, may need to trigger The generation of path switchover policy or congestion control policy.In the present embodiment, when the port bandwidth average utilization is more than in advance Gating limits, by least one for generating the path switchover policy and congestion control policy.
In some embodiments, the port bandwidth average utilization can calculate life automatically by the processing unit 120 Into or the processing unit 120 port information and/or flow information are sent to other equipment, such as net Page server, by other equipment generation, the processing unit 120 is further according to the average profit of the port bandwidth generated from other equipment With rate, the path switchover policy or congestion control policy are generated.
The processing unit 120, specifically for receive when the port bandwidth average utilization be more than pre-determined threshold when shape Into congestion alarm;When receiving the congestion alarm, the path switchover policy and/or congestion control plan are automatically generated Slightly or when generating the congestion alarm, switch prompting is exported;And the operation instruction formed based on the switch prompting, generation The path switchover policy and/or congestion control policy.
For example, SDN controllers, have given the state information report to webpage WEB server, WEB server carries out data Processing is generating congestion alarm, and the congestion alarm is sent out when the port bandwidth average utilization is more than pre-determined threshold SDN controllers are given, SDN controllers will generate the path switchover policy or the congestion control policy according to congestion alarm. In the present embodiment, the processing unit 120 will not absolutely go that port bandwidth average utilization is calculated, but only store In the medium equipment of WEB server.There are many ways to generating the path switchover policy and/or congestion control policy, for example, The SDN controllers, are automatically generated based on built-in instruction;It can certainly be the SDN controllers output congestion alarm, and connect Switching instruction or the control instruction that administrative staff are manually entered are received, so as to generate the path switchover policy and/or congestion control Strategy.Certainly, the SDN controllers can also be fixed when determining that paths congestion according to the status information of equipment Position go out alternative path or can path optimizing, export switch prompting, then receive the behaviour that administrative staff are inputted based on the switch prompting It indicates, and the path switchover policy and/or the congestion control policy is finally generated according to the operation instruction.
The switch prompting, which includes prompting interchanger, to pass through other paths by the data packet on wherein a certain paths It forwards or has other more preferably replacement paths.After SDN controllers export the switch prompting, after administrative staff see, It determines whether to receive replacement, so as to input corresponding operation instruction, to generate the path switchover policy or congestion control Strategy etc..
In the present embodiment, the SNMP units 110, it may also be used for by the status information of equipment, be converted into presentation layer The displaying information that state RESTful agreements are supported;The SDN controllers further include:
Output unit for being connect with the SNMP units 110, exports the displaying information.
The output unit may correspond to various display screens in this embodiment, can show the displaying information, here Displaying information can be the status information of equipment in need the information that administrative staff is showed to see.Specifically such as, the output Unit exports the displaying information on webpage.Certainly, the output unit can also be defeated in the application interface of predetermined software Go out the displaying information.
In some implementations, the SNMP units 110 are additionally operable to the status information of equipment, are converted into performance stratiform The displaying information that state RESTful agreements are supported, and the displaying information is sent to displaying server;The displaying information is used for The server is shown.The SDN controllers in the present embodiment itself do not export the displaying information directly, but will The displaying information is sent to displaying server, is exported by displaying server.For example, the displaying server is defeated by webpage Go out, at this point, the displaying server can be referred to as WEB server again.Certainly, in specific implementation, the SNMP units 110 can By all devices status information, it is sent to displaying server.Except the displaying server displaying, available for calculating the port Bandwidth average utilization, it may also be used for generate the processing such as the congestion alarm.
In some embodiments, the network topology includes the interchanger and the connection path of other equipment;
The local equipment mark of the connection path including the interchanger, the machine connectivity port, opposite equip. identify and Opposite equip. port-mark.
The network topology includes two connecting pins of any one connection in the present embodiment, and including two connections The respective connectivity port at end, in this case, in positioning failure, can specifically by fault location to port and equipment, thus Realize accurate fault location.
It is implementing, in order to simplify the expression of the network topology, can be indicated using array, an array list Show a connection, an array includes two elements, each element includes device number and port numbers.
Fig. 2 is the network topological diagram of a local device and multiple other equipments, below for using shown in array representation Fig. 2 The example of network topology:
[(local device mark (Identity, ID), local device port numbers), (opposite equip. ID_1, opposite equip. end Slogan)]
[(local device ID, local device port numbers), (opposite equip. ID_2, opposite equip. port numbers)]
[(local device ID, local device port numbers), (opposite equip. ID_3, opposite equip. port numbers)]
[(local device ID, local device port numbers), (opposite equip. ID_4, opposite equip. port numbers)].
As shown in figure 3, the present embodiment provides a kind of switch management method, including:
Step S110:Information exchange is carried out based on Simple Network Management Protocol SNMP and interchanger, with from the interchanger Obtain network topology;Step S120:Based on the SNMP, status information of equipment is obtained from the interchanger, wherein, the equipment Status information includes port information and/or traffic statistics.
Switch management method provided in this embodiment is applied to the information processing method in SDN controllers.In this reality Step S110 described in example is applied as snmp protocol can be based on from interchanger acquisition network topological information by running SNMP plug-in units. SNMP can will be based in step S120 and carries out information exchange with interchanger, obtains status information of equipment.
Here the acquisition network topology of id may include:The interchanger runs SNMP, can seal network topology based on SNMP Data packet is dressed up, delivers a packet to SDN controllers, in this case, the network that the SDN controllers will obtain SNMP encapsulation Topology does not just have to obtain the network topology based on openflow agreements, so as to which flow table inside the interchanger is avoided to go out When now abnormal, the phenomenon that network topology can not be obtained.
There is no certain sequencing between the step S110 and step S120 in the present embodiment, it can be as in Fig. 3 Step S110 is first carried out, then performs step S120.The step S110 synchronous can also be performed with step S120, can also first be held Row step S120 and step S110.In specific implementation, in order to reduce the information exchange between SDN controllers and interchanger, institute Network topology and the status information of equipment is stated to obtain from interchanger together.
Status information of equipment is also obtained from interchanger by the SNMP in the present embodiment.Here equipment state letter The detailed content of breath may refer to previous embodiment, again just not repeated explanation.
During concrete implementation, the network topology and the status information of equipment can have the SDN controllers point It does not receive from the interchanger or receives simultaneously, it is specific as shown in figure 4, in the step s 120 described in synchronous reception Network state and port information and/or traffic statistics.
Further, as shown in figure 4, the method further includes:Step S130:Acquisition approach switchover policy and/or congestion Control strategy, wherein, the path switchover policy or the congestion control policy are based on the port information and/or flow Statistical information generation;
Step S140:By the path switchover policy and/or the congestion control policy, it is handed down to the interchanger.
The SDN controllers in the present embodiment can automatically generate path switchover policy or congestion control policy, by simultaneously road Diameter switchover policy and/or congestion control policy are sent to interchanger, so as to control message forwarding and the congestion control in interchanger.
In some implementations, the step S140 may include:
By the openflow plug-in units of operation support open flows openflow agreements, by the path switchover policy and/or Congestion control policy is sent to the interchanger.
In the present embodiment using openflow plug-in units, the path is issued to interchanger based on openflow agreements and is switched Strategy and/or congestion control policy, for example, issued in the form of flow table, it is convenient so as to reduce the information type of interchanger storage Relevant various operations just can be completed and be forwarded to interchanger by inquiring flow table, simplify the inquiry operation of interchanger.
In further embodiments, the step S140 may include:
When port bandwidth average utilization is more than pre-determined threshold, the path switchover policy and/or congestion control are obtained Strategy.
The path switchover policy and/or congestion control policy in the present embodiment are in port bandwidth average utilization It is sent during more than pre-determined threshold.Here port bandwidth average utilization, can be by the port bandwidth profit of multiple minor time slices It is averaged with rate, can also utilize as previous embodiment is mentioned, be calculated using time slip-window, to be promoted Characterize the accuracy of port bandwidth utilization rate.
In some embodiments, the step S140 may include:
Receive the congestion alarm formed when the port bandwidth average utilization is more than pre-determined threshold;
When receiving the congestion alarm, the path switchover policy and/or congestion control policy are automatically generated;Or, When generating the congestion alarm, switch prompting is exported;And the operation instruction formed based on the switch prompting, generate the road Diameter switchover policy and/or the congestion control policy.
The status information of equipment can be sent to the equipment such as WEB server by the SDN controllers in the present embodiment. The WEB server can calculate the port bandwidth average utilization, and the port bandwidth average utilization is more than in advance Gating is prescribed a time limit, and forms congestion alarm;And the congestion alarm is accused and gives SDN controllers, such SDN controllers can connect Receive the congestion alarm.When the SDN controllers, it will automatically generate path switchover policy and/or congestion control policy or Switch prompting is then exported, the output of switch prompting here, the operation instruction that detection management personnel are inputted based on switch prompting, And based on operation instruction, the path switchover policy and/or congestion control policy can be generated.
In some embodiments, the method further includes:
By the status information of equipment, it is converted into the displaying information that performance layer state RESTful agreements are supported;
Export the displaying information.
The status information of equipment that SDN can obtain SNMP in the present embodiment, then by protocol conversion, by data conversion The displaying information supported into RESTful agreements, and export the displaying information.The output can be that display output or voice are defeated Go out.For example, using showing information so that it is convenient to which administrative staff check described in web displaying.
In some embodiments, the method further includes:
By the status information of equipment, it is converted into the displaying information that performance layer state RESTful agreements are supported;
The displaying information is sent to displaying server;The displaying information shows for the server.
Transformed displaying information in the present embodiment, is sent to displaying server, is exported by displaying server, for pipe Reason personnel check.The displaying server can export the displaying information by webpage, therefore the displaying server can claim again Be WEB server.
In some embodiments, the network topology includes the interchanger and the connection path of other equipment;The company Connect local equipment mark, the machine connectivity port, opposite equip. mark and opposite equip. port mark that path includes the interchanger Know.
The network topology can include simultaneously in the present embodiment:The device identification and connection of two equipment of connection In this case port-mark, which equipment fault and which end of the equipment can be just navigated to when carrying out fault location Mouth failure.Here equipment may include aforementioned interchanger.
Several specific examples are provided below in conjunction with any one above-mentioned embodiment:
Example one:
As shown in figure 5, this example provides a kind of network system, including:Openflow interchangers connect with the openflow The SDN controllers connect, the WEB server being connect with SDN controllers.The WEB server operation has web browser.
Operation has openflow plug-in units and SNMP plug-in units in the SDN controllers.The openflow interchangers operation LLDP and SNMP, so as to obtain network topology and status information of equipment, and by the network topology and status information of equipment, on The SNMP plug-in units are offered, the SNMP plug-in units realize the conversion of corresponding SNMP to the RESTful agreements of data, and will conversion Data afterwards are sent to WEB server, and the WEB server is based on hypertext transfer protocol http, control web browser displaying Corresponding information.The SNMP plug-in units are connect with the openflow plug-in units, by path switchover policy or instruction and congestion control System strategy or instruction, according to openflow agreements, are handed down to openflow interchangers in the form of flow table.
Example two:
The network system that this example is provided based on example one proposes that a kind of switch management method includes:
The first step:Openflow switch network topological realizations
Step 1:Openflow interchangers open LLDP and SNMP;
Step 2:SDN controllers read the information of openflow interchangers by SNMP, and the information of reading includes:(1) The local device mark (Identity, ID) of openflow interchangers;(2) local device port numbers;(3) it is connect with local device All opposite equip. ID;(4) all opposite equip. port numbers;By the information read according to [(local ident, local port number), (opposite end ID, peer port number)] form composition array.
Second step:Status information of equipment monitors, and the monitoring of equipment essential information is that every equipment in topology is monitored, Monitoring obtained basic equipment status information may include:Device software version information, device power run time, device name and Each process resource occupancy of location information, CPU, memory usage, exchanger power module working condition, interchanger radiator fan Operating status, log information etc..
These information are transmitted to WEB server by RESTful interfaces, and are finally presented in WEB page.
Status information of equipment monitoring may also include:The monitoring and flow analysis of device port.Device port monitoring is to net The state of all devices all of the port and traffic monitoring in network topology, the port information monitored include:Port reaches the standard grade/and it is offline The different length message amount system that the different length message amount that state, port MTU configurations, port are sent counts, port receives Meter, CRC mistake packet quantity statistics and packet loss quantity statistics etc..
Third walks:According to the information of monitoring, congestion alarm and forward-path switching are carried out.
Congestion alarm and forward-path switching, it may include following steps:
The port that WEB server obtains openflow interchangers by SNMP is given out a contract for a project counting, and then divided by port speed obtains To port bandwidth utilization rate:
WEB server counts the port bandwidth average utilization of certain time with sliding window mode;
Bandwidth availability ratio alarming threshold is set, when averaging bandwidth utilization is more than threshold value, triggering SNMP alarms report SDN controllers;
SDN controllers obtain alarm and are shown on WEB network management interfaces by RESTful interfaces;
Meanwhile SDN controllers re-issue flow table by openflow agreements, realize forward-path switching.
Fig. 6 show the network topology schematic diagram of an interchanger, includes interchanger 1 in figure 6 to interchanger 7, hands over It changes planes and 1 connect to form path A with interchanger 3, interchanger 1 and the connection of interchanger 6 form path B;Interchanger 3 respectively with interchanger 4 and interchanger 5 connect, formed path C and path D;Interchanger 6 is connect with interchanger 7, interchanger 7 with exchange and 2 connection.Its In, dashed path represents busy path, the path that solid-line paths expression is not in a hurry.
The network topology with reference to shown in Fig. 6 provides a path switching example:
There are two paths to reach interchanger 2 on interchanger 1, be path A and path B respectively;On interchanger 3 equally by Two paths reach interchanger 2, it is path C and path D respectively;There are two in flow table on openflow interchangers 1 preferentially The different occurrence of grade, such as priority, path A are higher than path D higher than path B, path C.
It is more than setting thresholding when SDN controllers obtain certain link averaging bandwidth utilization, triggering alerts, and is shown in On WEB webpages, to notify user.SDN controllers reconfigure flow table by openflow plug-in units simultaneously.The configuration of flow table and under Originating party formula may include following two:
Flow table issues automatically:When find interchanger 1 A mouths there is congestion alarm, just automatically configure new flow table by flow B mouthfuls are switched to, without manual confirmation;There is congestion alarm in the similary C mouths for working as interchanger 3, automatically switch forward-path to D Mouthful.Here B mouths connection forms B, C mouthfuls of connections of aforesaid paths and forms path C, and D mouthfuls of connections form path D.
Flow table manually issues:When certain path, there is congestion alarm in road, and SDN controllers do not issue automatically, but prompting has Preferred path or alternative path allow operation maintenance personnel to choose whether to switch, and re-issue flow table according to real network situation.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, only A kind of division of logic function can have other dividing mode, such as in actual implementation:Multiple units or component can combine or It is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed each composition portion Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, be shown as unit The component shown can be or may not be physical unit, you can be located at a place, can also be distributed to multiple network lists In member;Part or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, also may be used To be each unit individually as a unit, can also two or more units integrate in a unit;It is above-mentioned The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and aforementioned program can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is performed;And aforementioned storage medium includes:It is movable storage device, read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (16)

1. a kind of software defined network SDN controllers, which is characterized in that including:
Simple Network Management Protocol snmp management unit carries out information exchange for being based on snmp protocol and interchanger, from described Exchange the network topology obtained;
The SNMP units are additionally operable to the status information of equipment obtained from interchanger reading based on the SNMP;Wherein, institute It states status information of equipment and includes port information and/or traffic statistics.
2. SDN controllers according to claim 1, which is characterized in that
The SDN controllers further include:
Processing unit, for acquisition approach switchover policy and/or congestion control policy, wherein, the path switchover policy or institute Congestion control policy is stated, is generated based on the port information and/or traffic statistics;
Issuance unit is connect with the processing unit, for the forwarding strategy and/or the congestion control policy to be handed down to The interchanger.
3. SDN controllers according to claim 2, which is characterized in that
The issuing unit to support the unit of open flows openflow agreements, runs openflow plug-in units, by institute for passing through Path switchover policy and/or congestion control policy are stated, is sent to the interchanger.
4. SDN controllers according to claim 2, which is characterized in that
The processing unit, for when port bandwidth average utilization is more than pre-determined threshold, obtaining the path switchover policy And/or congestion control policy.
5. SDN controllers according to claim 4, which is characterized in that
The processing unit, specifically for receiving the congestion formed when the port bandwidth average utilization is more than pre-determined threshold Alarm;When receiving the congestion alarm, the path switchover policy and/or congestion control policy are automatically generated;Or, when life During into the congestion alarm, switch prompting is exported;And the operation instruction formed based on the switch prompting, it generates the path and cuts Change strategy and/or congestion control policy.
6. SDN controllers according to claim 1, which is characterized in that
The SNMP units are additionally operable to by the status information of equipment, be converted into the exhibition that performance layer state RESTful agreements are supported Show information;
The SDN controllers further include:
Output unit for being connect with the SNMP units, exports the displaying information.
7. SDN controllers according to claim 1, which is characterized in that
The SNMP units are additionally operable to by the status information of equipment, be converted into the exhibition that performance layer state RESTful agreements are supported Show information, and the displaying information is sent to displaying server;The displaying information shows for the server.
8. SDN controllers according to claim 1, which is characterized in that
The network topology includes the interchanger and the connection path of other equipment;
The connection path includes local equipment mark, the machine connectivity port, opposite equip. mark and the opposite end of the interchanger Device port identifies.
A kind of 9. switch management method, which is characterized in that including:
Information exchange is carried out based on Simple Network Management Protocol SNMP and interchanger, to obtain network topology from the interchanger;
Based on the SNMP, status information of equipment is obtained from the interchanger, wherein, the status information of equipment is believed including port Breath and/or traffic statistics.
10. according to the method described in claim 9, it is characterized in that, the method further includes:
Acquisition approach switchover policy and/or congestion control policy, wherein, the path switchover policy or the congestion control plan Slightly, it is to be generated based on the port information and/or traffic statistics;
By the path switchover policy and/or the congestion control policy, it is handed down to the interchanger.
11. according to the method described in claim 10, it is characterized in that,
It is described that the path switchover policy and/or the congestion control policy are handed down to the interchanger, including:
By the openflow plug-in units of operation support open flows openflow agreements, by the path switchover policy and/or congestion Control strategy is sent to the interchanger.
12. according to the method described in claim 10, it is characterized in that,
It is described that the path switchover policy and/or the congestion control policy are handed down to the interchanger, including:
When port bandwidth average utilization is more than pre-determined threshold, the path switchover policy and/or congestion control policy are obtained.
13. according to the method described in claim 10, it is characterized in that,
It is described when port bandwidth average utilization be more than pre-determined threshold when, obtain the path switchover policy and/or congestion control Strategy, including:
Receive the congestion alarm formed when the port bandwidth average utilization is more than pre-determined threshold;
When receiving the congestion alarm, the path switchover policy and/or congestion control policy are automatically generated;
Or,
When generating the congestion alarm, switch prompting is exported;And the operation instruction formed based on the switch prompting, generate institute State path switchover policy and/or congestion control policy.
14. according to the method described in claim 10, it is characterized in that,
The method further includes:
By the status information of equipment, it is converted into the displaying information that performance layer state RESTful agreements are supported;
Export the displaying information.
15. according to the method described in claim 10, it is characterized in that,
The method further includes:
By the status information of equipment, it is converted into the displaying information that performance layer state RESTful agreements are supported;
The displaying information is sent to displaying server;The displaying information shows for the server.
16. according to the method described in claim 9, it is characterized in that,
The network topology includes the interchanger and the connection path of other equipment;
The connection path includes local equipment mark, the machine connectivity port, opposite equip. mark and the opposite end of the interchanger Device port identifies.
CN201611102048.9A 2016-12-02 2016-12-02 SDN controllers and switch management method Pending CN108156004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611102048.9A CN108156004A (en) 2016-12-02 2016-12-02 SDN controllers and switch management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611102048.9A CN108156004A (en) 2016-12-02 2016-12-02 SDN controllers and switch management method

Publications (1)

Publication Number Publication Date
CN108156004A true CN108156004A (en) 2018-06-12

Family

ID=62469378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611102048.9A Pending CN108156004A (en) 2016-12-02 2016-12-02 SDN controllers and switch management method

Country Status (1)

Country Link
CN (1) CN108156004A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719194A (en) * 2019-09-12 2020-01-21 中国联合网络通信集团有限公司 Network data analysis method and device
CN111817886A (en) * 2020-06-29 2020-10-23 新华三信息安全技术有限公司 Method and equipment for acquiring management object data
CN112152862A (en) * 2020-10-16 2020-12-29 中国联合网络通信集团有限公司 Topology acquisition method of hybrid network, SDN controller and SDN switch
CN113904984A (en) * 2021-10-21 2022-01-07 杭州志卓科技股份有限公司 Data transmission method suitable for SAP and B2B systems
WO2022194023A1 (en) * 2021-03-16 2022-09-22 华为技术有限公司 Packet processing method, network device, and controller
WO2024021878A1 (en) * 2022-07-29 2024-02-01 华为技术有限公司 Method for sending load information, method for sending message, and apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468219A (en) * 2014-12-11 2015-03-25 杭州华三通信技术有限公司 Virtual networking network topology discovery method and device
CN104486253A (en) * 2014-12-11 2015-04-01 北京百度网讯科技有限公司 Network bandwidth scheduling method and system
CN104601482A (en) * 2013-10-30 2015-05-06 中兴通讯股份有限公司 Traffic cleaning method and device
US20150236918A1 (en) * 2014-02-15 2015-08-20 Aricent Holdings Luxembourg S.à.r.l Method and system for creating single snmp table for multiple openflow tables
CN105429886A (en) * 2015-10-30 2016-03-23 南京优速网络科技有限公司 Comprehensive unified flow scheduling system and scheduling method based on SDN
CN105490944A (en) * 2014-09-19 2016-04-13 中国电信股份有限公司 Reporting method of user event in SDN and network system
CN105743795A (en) * 2014-12-29 2016-07-06 瞻博网络公司 Point-to-multipoint path computation for wide area network optimization
CN105763394A (en) * 2016-03-22 2016-07-13 杭州华三通信技术有限公司 Method, device and system for detecting network link
CN105791151A (en) * 2014-12-22 2016-07-20 华为技术有限公司 Dynamic flow control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601482A (en) * 2013-10-30 2015-05-06 中兴通讯股份有限公司 Traffic cleaning method and device
US20150236918A1 (en) * 2014-02-15 2015-08-20 Aricent Holdings Luxembourg S.à.r.l Method and system for creating single snmp table for multiple openflow tables
CN105490944A (en) * 2014-09-19 2016-04-13 中国电信股份有限公司 Reporting method of user event in SDN and network system
CN104468219A (en) * 2014-12-11 2015-03-25 杭州华三通信技术有限公司 Virtual networking network topology discovery method and device
CN104486253A (en) * 2014-12-11 2015-04-01 北京百度网讯科技有限公司 Network bandwidth scheduling method and system
CN105791151A (en) * 2014-12-22 2016-07-20 华为技术有限公司 Dynamic flow control method and device
CN105743795A (en) * 2014-12-29 2016-07-06 瞻博网络公司 Point-to-multipoint path computation for wide area network optimization
CN105429886A (en) * 2015-10-30 2016-03-23 南京优速网络科技有限公司 Comprehensive unified flow scheduling system and scheduling method based on SDN
CN105763394A (en) * 2016-03-22 2016-07-13 杭州华三通信技术有限公司 Method, device and system for detecting network link

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张咏悦: "《SDN网络管理系统的设计与实现》", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
朱创录: ""SNMP 管理模型下的网络流量监视与控制"", 《计算机技术与发展》 *
网友: ""netflow与snmp问题"", 《HTTPS://BBS.51CTO.COM/THREAD-937524-1.HTML》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719194A (en) * 2019-09-12 2020-01-21 中国联合网络通信集团有限公司 Network data analysis method and device
CN110719194B (en) * 2019-09-12 2022-04-12 中国联合网络通信集团有限公司 Network data analysis method and device
CN111817886A (en) * 2020-06-29 2020-10-23 新华三信息安全技术有限公司 Method and equipment for acquiring management object data
CN111817886B (en) * 2020-06-29 2023-12-26 新华三信息安全技术有限公司 Method and equipment for acquiring management object data
CN112152862A (en) * 2020-10-16 2020-12-29 中国联合网络通信集团有限公司 Topology acquisition method of hybrid network, SDN controller and SDN switch
CN112152862B (en) * 2020-10-16 2023-04-07 中国联合网络通信集团有限公司 Topology acquisition method of hybrid network, SDN controller and SDN switch
WO2022194023A1 (en) * 2021-03-16 2022-09-22 华为技术有限公司 Packet processing method, network device, and controller
CN113904984A (en) * 2021-10-21 2022-01-07 杭州志卓科技股份有限公司 Data transmission method suitable for SAP and B2B systems
WO2024021878A1 (en) * 2022-07-29 2024-02-01 华为技术有限公司 Method for sending load information, method for sending message, and apparatus

Similar Documents

Publication Publication Date Title
CN108156004A (en) SDN controllers and switch management method
CN104081718B (en) For the network controller of remote system administration
US9876572B2 (en) Configuring a computer network to satisfy multicast dispersion and latency requirements using affinity and network topologies
EP2486706B1 (en) Network path discovery and analysis
US11228515B2 (en) Data packet detection method, device, and system
US10616074B2 (en) System, apparatus, procedure, and computer program product for planning and simulating an internet protocol network
JP4257509B2 (en) Network system, node device, redundancy construction method, and redundancy construction program
US8839023B2 (en) Transmitting network information using link or port aggregation protocols
EP2774048B1 (en) Affinity modeling in a data center network
CN105052083B (en) For handling the method and network node of management plane flow
US8510445B2 (en) System management method and system management apparatus
CN109067592B (en) Intelligent management and control device and method for intelligent power distribution and utilization
CN102084340A (en) Traffic forwarding for virtual machines
CN104243239B (en) The condition detection method and device of controller in a kind of SDN clusters
US9077625B2 (en) Apparatus and method for controlling a transmission interval of maintenance packets in a communication network
EP2813037B1 (en) Monitoring carrier ethernet networks
CN105306365B (en) A kind of powerline network and its dilatation ruin routed path and determine method with anti-
CN105812217A (en) Virtual network division method and multi-controller agent device
CN104993988B (en) A kind of energy internet scheduling and control method
CN104662838A (en) Transmit specific traffic along blocked link
CN107800624A (en) A kind of optimal circuitous path selection new method of regional protection key message
US9641355B2 (en) Communication device, communication method, and program
US20130031223A1 (en) Self-configuring router and method therefor
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
WO2021249546A1 (en) Network monitoring method, electronic device 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180612