CN110166299A - SDN controller configuration recovery method and device - Google Patents

SDN controller configuration recovery method and device Download PDF

Info

Publication number
CN110166299A
CN110166299A CN201910444606.7A CN201910444606A CN110166299A CN 110166299 A CN110166299 A CN 110166299A CN 201910444606 A CN201910444606 A CN 201910444606A CN 110166299 A CN110166299 A CN 110166299A
Authority
CN
China
Prior art keywords
configuration
abnormal
module
configuration module
data
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
CN201910444606.7A
Other languages
Chinese (zh)
Other versions
CN110166299B (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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910444606.7A priority Critical patent/CN110166299B/en
Publication of CN110166299A publication Critical patent/CN110166299A/en
Application granted granted Critical
Publication of CN110166299B publication Critical patent/CN110166299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • 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/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Abstract

The present invention provides a kind of SDN controller configuration recovery method and devices.It is related to software defined network technical field.Wherein, this method comprises: the corresponding network equipment of the abnormal configuration module is determined as destination network device if there are the configuration modules of configuration data exception on the SDN controller;Wherein, the abnormal configuration module includes: configurations module and/or business configuration module;The original configuration data of the abnormal configuration module are obtained from the destination network device;Using the original configuration data of the abnormal configuration module, configuration recovery is carried out to the abnormal configuration module.The configuration module that the present invention restores abnormal on SDN controller by obtaining original configuration data from the network equipment, improves the efficiency that configuration restores, and reduces the time that abnormal configuration module is restored, improves the stability of network.

Description

SDN controller configuration recovery method and device
Technical field
The present invention relates to software defined network technical fields, more particularly, to a kind of software defined network (Software Defined Network, SDN) controller configuration recovery method and device.
Background technique
SDN is a kind of network architecture of network virtualization.In SDN mainly include SDN controller and the network equipment, by The configuration of the SDN controller realization network equipment.But due to the restriction of communications cost and efficiency etc., SDN controller and network What the configuration data of equipment not usually constantly synchronized, this allows for SDN controller and the network equipment will appear configuration data not Unanimous circumstances.
For example, the configuration data of the network equipment is by artificial deletion, the network equipment in the case where no preservation configuration data Restart, alternatively, network equipment suspension during SDN controller down distributing configuration data, there is no SDN controller after network recovery Continue down distributing configuration data and issues the network equipment.For another example the configuration data of SDN controller is misused unloading, SDN control Device memory error etc.;There may be the configuration data of SDN controller and the network equipment is inconsistent for these scenes.
For the inconsistent situation of SDN controller and network equipments configuration data, it may be possible to which the network equipment exists abnormal There is the case where abnormal configuration in the case where configuration data or SDN controller.If there is the case where abnormal configuration in the network equipment, SDN controller can contrast the configured data difference of SDN controller and the network equipment, and matching oneself by auditing at present It sets and is synchronized to the network equipment, the abnormal configuration data on the network equipment is restored to realize, still, if SDN is controlled There is the case where abnormal configuration in device, SDN controller can also contrast matching for SDN controller and the network equipment by auditing at present Data difference to be set, and the configuration of oneself is synchronized to the network equipment, this has resulted in the network equipment and abnormal configuration data has also occurred, Finally have to re-start configuration to SDN controller by administrator.
Summary of the invention
In view of this, the present invention provides a kind of SDN controller configuration recovery method and device, it is extensive to promote configuration data Multiple efficiency.
In a first aspect, the present invention provides a kind of SDN controller configuration recovery methods.This method is applied to SDN controller, This method comprises:
If there are the configuration modules of configuration data exception on SDN controller, by the abnormal corresponding network of configuration module Equipment is determined as destination network device;
Wherein, abnormal configuration module includes: configurations module and/or business configuration module;
The original configuration data of abnormal configuration module are obtained from destination network device;
Using the original configuration data of abnormal configuration module, configuration recovery is carried out to abnormal configuration module.
Second aspect, the present invention provides a kind of SDN controller configuration recovery methods.This method is applied to the network equipment, The described method includes:
Receive the acquisition instruction that SDN controller is sent;
Original configuration data are sent to SDN controller according to the acquisition instruction, so that SDN controller application original configuration number According to restoring on SDN controller, there are the configuration modules of configuration data exception.
The third aspect, the present invention provides a kind of SDN controller configuration of recovery device.The device is applied to SDN controller, Include:
Determination unit, if there are the configuration module of configuration data exception on SDN controller, for by abnormal configuration mould The corresponding network equipment of block is determined as destination network device;
Wherein, abnormal configuration module includes: configurations module and/or business configuration module;
Acquiring unit, for obtaining the original configuration data of abnormal configuration module from destination network device;
Recovery unit, the original configuration data of the configuration module abnormal for application, matches abnormal configuration module Set recovery.
Fourth aspect, the present invention provides a kind of SDN controller configuration of recovery device.The device is applied to the network equipment, Include:
Receiving unit, the acquisition instruction sent for receiving the SDN controller;
Transmission unit, for sending original configuration data to the SDN controller according to the acquisition instruction, so that described Original configuration data described in SDN controller application restore on the SDN controller that there are the configuration modules of configuration data exception.
5th aspect, it is described the present invention provides a kind of SDN controller, including processor and machine readable storage medium Machine readable storage medium is stored with the machine-executable instruction that can be executed by the processor, described in the processor executes Machine-executable instruction is to realize method described in aforementioned first aspect.
6th aspect, the present invention provides a kind of network equipment, including processor and machine readable storage medium, the machines Device readable storage medium storing program for executing is stored with the machine-executable instruction that can be executed by the processor, and the processor executes the machine Device executable instruction is to realize method described in aforementioned second aspect.
7th aspect, the present invention provides a kind of machine readable storage medium, the machine readable storage medium is stored with Machine-executable instruction, when being called and being executed by processor, the machine-executable instruction promotees the machine-executable instruction The processor is set to realize method described in aforementioned first aspect or second aspect.
The above-mentioned SDN controller configuration recovery method and device provided through the embodiment of the present invention goes out on SDN controller When the configuration module of existing configuration data exception, the exception on original configuration data recovery SDN controller is obtained from the network equipment Configuration module improves the efficiency that configuration restores, ensure that the consistency of SDN controller Yu LA Management Room configuration data, delays It has solved and has configured the time delay of recovery on artificial carry out SDN controller, and then improved the stability of network.
Other features and advantages of the present invention will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implementing above-mentioned technology of the invention it can be learnt that.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific reality in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art It applies example or attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description It is some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is a kind of communications network network architecture diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of SDN controller configuration recovery method flow diagram provided in an embodiment of the present invention;
Fig. 3 A is a kind of command down-transmitting schematic diagram provided in an embodiment of the present invention;
Fig. 3 B is another command down-transmitting schematic diagram provided in an embodiment of the present invention;
Fig. 4 is another kind SDN controller configuration recovery method flow diagram provided in an embodiment of the present invention;
Fig. 5 is another kind SDN controller configuration recovery method flow diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of signaling interaction diagram of SDN controller configuration recovery method provided in an embodiment of the present invention;
Fig. 7 is a kind of SDN controller configuration of recovery device structural schematic diagram provided in an embodiment of the present invention;
Fig. 8 is another kind SDN controller configuration of recovery device structural schematic diagram provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another kind SDN controller provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of the network equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of SDN controller configuration recovery method and device, it is applicable to set up based on SDN Network in, for example, referring to a kind of possible communications network architecture diagram shown in FIG. 1: may include in the communication network SDN control Device 110 and the network equipment 120 processed.The network equipment 120 can be access device, gateway, firewall box and load Equalizing equipment etc., which may include one or more.Wherein, SDN controller 110 can be with the network equipment 120 It is communicated, controls the network equipment 120 to realize.For example, SDN controller 110 can set network by down distributing configuration data Standby 120 carry out configuration operation etc..
In one example, pass through network configuration protocol (network between SDN controller 110 and the network equipment 120 Configuration protocol, NETCONF) it is communicated, NETCONF is the configuration management association of the network equipment of a new generation View.The configuration data that SDN controller can be increased by NETCONF mechanism, modify, delete the network equipment 120 obtains network and sets Standby 120 configuration data and status information etc..It is compiled by the application program that the NETCONF network equipment 120 can provide specification Journey interface (Application Programming Interface, API), in the embodiment of the present invention, SDN controller 110 can be with These API are directly used, configuration data is sent and obtained to the network equipment 120.NETCONF uses client-side/server-side (client/server, C/S) structure, SDN controller 110 are used as NETCONF client, and the network equipment 120 is used as NETCONF Server-side, by NETCONF, SDN controller 110 can carry out the network equipment 120 the management operation such as configuring.
Configuration data on SDN controller 110 may include configurations data and service configuration data etc., wherein Respectively there are many type, different types of configuration data purposes can be different for configurations data and service configuration data, for example, Different types of configuration data can be used for configuring the different types of network equipment, alternatively, different types of configuration data can be with For configuring the different function of consolidated network equipment.For the ease of management, SDN controller 110 can pass through different configuration moulds Block realizes the management to different types of configuration data.
In some embodiments, as shown in Figure 1, may include configurations module 111 and business on SDN controller 110 112 two major classes of configuration module, wherein configurations module 111 and business configuration module 112 are opposite and say, for example, basic Configuration module 111 and business configuration module 112 can be the configurations module and business configuration module of first network, can also be with It is the configurations module and business configuration module of the second network, which is made of at least one network equipment, and second Network is the virtual network created based on first network.
Since the configuration data managed on SDN controller is more and complicated, if 110 configuration data of SDN controller is abnormal, For example, the configuration data in SDN controller 110 occurs lacking or the abnormal conditions such as mistake, administrator carry out reconfiguring needs More manpower and material resources are expended, the time of abnormal allocation data recovering is longer, and the stability of network is lower.It is of the invention based on this A kind of SDN controller configuration recovery method and device are proposed in embodiment, there can be configuration data abnormal on SDN controller When, restored by the original configuration data on the corresponding network equipment of the configuration module being abnormal, it is extensive to improve configuration Multiple efficiency reduces the time that configuration restores, improves the stability of network.
In embodiments of the present invention, above-mentioned configuration, which restores to refer to, reverts to normal configuration mould for abnormal configuration module Block, for example, increasing configuration data etc. wrong in the configuration data lacked in configuration module or modification configuration module.
Fig. 2 is a kind of SDN controller configuration recovery method flow diagram provided in an embodiment of the present invention.This method application In SDN controller, as shown in Fig. 2, this method specifically comprises the following steps:
S210, it is if there are the configuration modules of configuration data exception on SDN controller, the configuration module of the exception is corresponding The network equipment be determined as destination network device.
Wherein, abnormal configuration module may include: configurations module and/or business configuration module.
It in some embodiments, include that the configurations module of the second network and/or business are matched with abnormal configuration module For setting module.Configurations module may include virtual link layer network configuration module, virtual router configuration module etc. Deng;Business business configuration module may include firewall configuration data, load balancing configuration data etc..
Wherein, above-mentioned virtual link layer configuration module can be used for configuring access device;
Above-mentioned virtual router configuration module can be used for configuring gateway;
Above-mentioned firewall configuration module can be used for configuring firewall box;
Above-mentioned load balancing configuration module can be used for configuration load equalizing equipment etc..
In addition, the network equipment of same type configurations module or service configuration module for configuration may include one Or it is multiple, for example, virtual link layer configuration module can be used for configuring one or more access devices.
So can be according to the configuration relation between configuration module and the network equipment, to determine that abnormal configuration module is corresponding The network equipment.And the abnormal corresponding network equipment of configuration module is obtained into original configuration number as destination network device According to.
The configuration data of configuration module on SDN controller may include configuration item configuration parameter corresponding with the configuration item Etc..For example, the configuration item of virtual router configuration module may include Virtual Private Network (Virtual Private Network, VPN) and L 3 virtual extension LAN ID (Layer 3Virtual Extensible Local Area Network, l3vni) etc.;The VPN configuration item corresponds to VPN configuration parameter, is specifically as follows 10002;L3vni configuration item is corresponding L3vni parameter, is specifically as follows 10008.
The configuration module of configuration data exception may include the abnormal configuration item of configuration module, configuration parameter exception or match Situations such as setting item and abnormal configuration parameter can also include that configuration module is lost, configuration module is by mistake deletion or configuration mould Situations such as block mistake.
S220 obtains the original configuration data of abnormal configuration module from destination network device.
Wherein, original configuration data can refer to configuration data of the abnormal configuration module before exception.Passing through SDN When controller Configuration network equipment, SDN controller needs the configuration data before exception being issued to the network equipment, the network equipment Configuration data before the exception received may be considered the original configuration data of abnormal configuration module.
In one example, the original configuration data that the network equipment receives can be configuration order.For example, abnormal matches Setting module is virtual router configuration module.It is configuration item in the configuration data of the virtual router configuration module before exception The parameter of VPN is 10002, and the parameter of configuration item l3vni is 10008.SDN controller can pass through the virtual road before the exception Configuration order is generated by device configuration module, and is issued to gateway, which may be considered being somebody's turn to do after there is exception The original configuration data of virtual router configuration module.For example, the configuration order for being issued to gateway can be with are as follows: needs are matched The interface set is " virtual switch interface (virtual switch interface, vsi) 3 ";The configuration order is described as "SDN-vsi-10008";" 10002 " are configured by IP-VPN;" 10008 " are configured by l3vni;It is configured in the virtual router After configuration data exception occurs in module, SDN controller can obtain the configuration order as the virtual flow-line from the network equipment The original configuration data of device configuration module.
S230 carries out configuration recovery to abnormal configuration module using the original configuration data of abnormal configuration module.
There is the configuration mould of configuration data exception on SDN controller in the above method provided through the embodiment of the present invention When block, the abnormal corresponding destination network device of configuration module is determined, and obtain original configuration data from the destination network device, Configuration module abnormal on SDN controller is restored on the basis of the original configuration data, so that abnormal configuration module Timely restored, ensure that the consistency of SDN controller Yu LA Management Room configuration data, alleviates artificial progress SDN The time delay that abnormal configuration module is restored on controller, and then improve the stability based on SDN networking.
In order to enable all types of configuration datas preferably to distinguish, these configuration modules can it is pre-configured to Mutually distinguish configuration module mark, for example, configuration module mark can for " virtual router (Virtual Router, VROUTE) _ ", being somebody's turn to do " VROUTE_ " is virtual router configuration module mark;For another example configuration module mark can be " fire prevention Wall (FIREWALL) _ ", being somebody's turn to do " FIREWALL_ " is firewall configuration module id.
SDN controller can carry the configuration data when sending configuration data (for example, configuration order) to the network equipment The configuration module of corresponding configuration module identifies, and belongs to which configuration module to identify the configuration data, such as: virtual link The corresponding configuration data of layer network module carries virtual link layer network configuration module mark, which would generally issue To access device;The corresponding configuration data of virtual router configuration module carries virtual router configuration module mark, this is matched Gateway would generally be issued to by setting data;The corresponding configuration data of firewall configuration module carries firewall configuration module mark Know, which would generally be issued to firewall box.Therefore, it can determine to correspond to based on current abnormal configuration module The network equipment, using the network equipment as destination network device after, can be identified with configuration module from the destination network device On get the corresponding original configuration data of configuration module of the exception.
For example, in conjunction with shown in Fig. 3 A, SDN controller 310 may include that virtual router configuration module, virtual router are matched Module and intrusion prevention system configuration module are set, for configuring the network equipment that device type is firewall.SDN controller 310 It may include virtual router configuration module 311, firewall configuration module 312 and intrusion prevention system (intrusion- Preventionsystem, IPS) configuration module 313, SDN controller 310 can be based on above-mentioned configuration module, be set to firewall Standby 320 send configuration order 321, configuration order 322 and configuration order 323.Wherein, configuration order 321 includes configuration module mark Know " VROUTE_ ";Configuration order 322 includes configuration module mark " FIREWALL_ ";Configuration order 323 includes configuration module mark Know " SDN_IPS_ ".
For another example SDN controller 330 includes firewall configuration module in conjunction with shown in Fig. 3 B, it is for configuring device type The network equipment and load balancing configuration module of firewall are used to configure the network equipment that device type is load balancing.SDN Controller 330 may include firewall configuration module 331 and load balancing configuration module 332, and SDN controller 330 can be with base In above-mentioned configuration relation, configuration order 341 is sent to firewall box 340, sends configuration order to load-balancing device 350 351.Wherein, configuration order 341 includes configuration module mark " FIREWALL_ ";Configuration order 351 includes that configuration module identifies " S Load balancing _ ".
In order to preferably show that these above-mentioned configuration datas, can also be in above-mentioned configuration module both from SDN controller The same specific mark, such as " SDN_ " or " SDN/ " etc. are added in mark, the mould is added behind the specific mark The mark of block itself, if the module id of firewall module can be embodied as: SDN_FIREWALL, in this way if configuration number SDN_FIREWALL is carried in, then shows that the configuration data is the configuration data that firewall module issues, belong to service class The configuration data of type can obtain original configuration data with slave firewall equipment, use if carrying out the recovery of the configuration data The original configuration data got correspond to firewall module and are restored.
In some embodiments, since the configuration data on the network equipment can have very much, SDN controller is original in acquisition It may include a variety of acquisition modes when configuration data.
Example (1), above-mentioned S220 can be at least achieved by the steps of:
The first acquisition instruction is sent to destination network device, which carries the first command id;
Reception destination network device is locally stored all original according to the destination network device that the first command id is sent Configuration data, each configuration data in all original configuration data carry configuration module mark;
It is identified according to the configuration module of abnormal configuration module and chooses abnormal configuration mould from all original configuration data The original configuration data of block.
Example (2), above-mentioned S220 can be at least achieved by the steps of:
The second acquisition instruction is sent to destination network device, which carries the second command id and exception Configuration module configuration module mark;
Receive what destination network device was sent according to the configuration module of the second command id and abnormal configuration module mark The original configuration data of abnormal configuration module.
For above-mentioned example (1) or (2), in order to which the network equipment can be better discriminated between when obtaining original configuration data Which configuration module is the configuration data of transmission belong to, and SDN controller is that can carry in the configuration data issued to the network equipment Configuration module mark.
For example, SDN controller sends configuration order to the network equipment, the format of the configuration order can be extensible markup Language (extensible markup language, XML), the configuration order may include configuration name, description, configuration item and The information such as parameter, which may include configuration module mark or the description may include configuration module mark.Example again Such as, what SDN controller issued the configuration order of gateway is described as " SDN-VROUTE-vsi-10008 ", alternatively, SDN is controlled It include the interface that needs to configure is " VROUTE-vsi3 " that device, which issues the configuration order of gateway, should " VROUTE " be router Configuration module mark.
For above-mentioned example (1), destination network device can be according in abnormal configuration module mark and configuration order The configuration module of carrying identifies, configuration order of the selection comprising abnormal configuration module mark in all configuration orders, as The original configuration data of abnormal configuration module, and the original configuration data of abnormal configuration module are sent to SDN controller.
For above-mentioned example (2), destination network device can return to all configuration orders being locally stored, SDN controller It can be identified according to the configuration module carried in abnormal configuration module mark and configuration order, in all configuration orders Configuration order of the selection comprising abnormal configuration module mark, the original configuration data as abnormal configuration module.
In addition, above-mentioned for above-mentioned example (1) or (2), the first command id and the second command id can be identical Mark, or different marks.
In one example, the first command id and second order can be identical mark, first command id or Second command id is used to indicate destination network device and returns to original configuration data, if acquisition instruction does not include configuration module mark Know, that is, does not indicate the original configuration data for returning to which configuration module, then, destination network device returns to the original of whole Configuration data;If acquisition instruction includes configuration module mark, that is, specifies return the original of which configuration module and match Data are set, then, destination network device returns to the configuration module and identifies corresponding original configuration data.
In another example, the first command id and the second command id can be different command ids, wherein the One command id is used to indicate destination network device and returns to all original configuration data, and the second command id is used to indicate target network Network equipment returns to the configuration module that acquisition instruction carries and identifies corresponding original configuration data.
By the acquisition modes of above-mentioned original configuration data, corresponding original match can be found according to abnormal configuration module Data are set, and then targetedly abnormal configuration module is restored according to original configuration data, ensure that original configuration The accuracy of data acquisition, and improve recovery efficiency.
In practical applications, the configuration module on above-mentioned determining SDN controller with the presence or absence of configuration data exception at least may be used To realize one of in the following way:
The exception configuration is restored the configuration module for instructing instruction when receiving abnormal configuration recovery instruction by mode (1) It is determined as abnormal configuration module;
Mode (2) will lose the configuration module of configuration data when detecting in configuration module there are when configuration data loss It is determined as abnormal configuration module;
Error configurations data will be present when detecting in abnormal configuration module there are when configuration data mistake in mode (3) Configuration module be determined as abnormal configuration module.
For aforesaid way (1), with the presence or absence of in an example of abnormal configuration module on determining SDN controller, It can be by receiving the instruction of user's triggering to determine whether there is abnormal configuration module, which can control for the SDN The administrator of device.For example, user when finding configuration data exception, can trigger abnormal allocation data recovering instruction, the exception Allocation data recovering instruction can carry configuration module mark, and exception configuration restores instruction and is used to indicate configuration module mark There are configuration data exceptions for corresponding configuration module, so that SDN controller is after receiving exception configuration and restoring instruction, by this The configuration module that abnormal configuration restores instruction instruction is determined as abnormal configuration module.Wherein, configuration module mark can wrap Include the type identification of the corresponding configuration data of the configuration module, the mark of the configuration module or other identifier etc..
For aforesaid way (2) and (3), it whether there is the configuration module of configuration data exception on determining SDN controller Another example in, SDN controller can detect the configuration data that module is locally configured.For example, can be to configuration Phenomena such as loss of data, mistake or unloading, is detected.For example, when configuration item in the configuration data for detecting configuration module The case where (for example, l3vni or VPN) corresponding parameter is lost or configuration data is accidentally deleted or mistake unloading, determines the configuration Module is abnormal configuration module.
Any one of (1) to (3) in the above manner can determine that there are configuration data exceptions on SDN controller Configuration module can be restored using configuration recovery method provided by the invention, be realized with the network equipment in this case On original configuration data on the basis of configuration recovery process.In practical applications, if there are configuration datas on the network equipment It is abnormal, allocation data recovering can also be carried out on the basis of the configuration data on SDN controller.
In practical applications, exception can also occur in the network topology data of the network equipment on SDN controller.At this point, It can also include the following steps: before above-mentioned S210
If the network topology data of the network equipment occur abnormal on SDN controller, first to the network on SDN controller The network topology data of equipment are restored.
In above-mentioned steps, restoring to the network topology data on SDN controller can be by receiving user's triggering Network topology data are restored instruction and are restored.
For example, user can select to need to establish the network equipment of network topology by SDN controller, and trigger for choosing The network topology of the fixed network equipment restores instruction.For another example SDN controller can provide management network topology corresponding user Interface, the user interface can show the attachable network equipment;User is based on the user interface, and configuration needs to establish topology and closes The network equipment of system, such as configuration IP address, the username and password etc. of NETCONF connection;It is defeated that SDN controller receives user After the above-mentioned network topology for the network equipment entered restores instruction, NETCONF is established with the network equipment and is connect.
May exist relation of interdependence between above-mentioned each configuration module, if configuration data occur different for multiple configuration modules Often, then can be restored based on the relation of interdependence between this multiple abnormal configuration module, process configuration.
In some embodiments, abnormal configuration module may include multiple, and S230 can be real as follows at this time Existing: SDN controller can apply the original configuration data of multiple abnormal configuration modules.It is successively right according to preset configuration sequence Each abnormal configuration module carries out configuration recovery.
Wherein, above-mentioned preset configuration sequence includes: sequence of the configurations module prior to business configuration module, and The sequence of configuration dependence is deferred between different basic modules or between different business configuration module.
For example, above-mentioned preset configuration sequence can be first to configure virtual subnet, it is reconfigured virtual link layer network, so Virtual router is bound into virtual subnet afterwards, wherein virtual subnet is configured by virtual subnet configuration module, virtual link Layer network is configured by virtual link layer network configuration module, and virtual router binding virtual subnet is passed through virtual flow-line Device configuration module is realized;Virtual subnet configuration module, virtual link layer network configuration module and virtual router configuration module are all Belong to configurations module.When configuring recovery, virtual subnet configuration module is empty prior to virtual link layer network configuration module Intend link layer network configuration module prior to virtual router configuration module.
In addition, the above-mentioned original configuration data using multiple abnormal configuration modules, successively according to preset configuration sequence Configuration is carried out to each abnormal configuration module to restore at least to may include such as under type:
Example (1) can be by if abnormal configuration module is a part on SDN controller in all configuration modules The configuration module for selecting current exception from multiple abnormal configuration modules according to preset configuration sequence, matches using current abnormal It sets the corresponding original configuration data of module and generates the current abnormal corresponding original configuration item of configuration module and initial parameter;Using The corresponding original configuration item of the current abnormal configuration module and initial parameter configure current abnormal configuration module Restore.
Example (2) can be according to if abnormal configuration module is the whole on SDN controller in all configuration modules Preset configuration sequence selects the configuration module of current exception from multiple abnormal configuration modules, using current abnormal configuration The corresponding original configuration data of module generate the current abnormal corresponding original configuration item of configuration module and initial parameter;Using institute The corresponding original configuration item of some configuration modules and initial parameter, generate configuration data library file;Application configuration database file Configuration recovery is carried out according to preset configuration sequence.
In some embodiments, SDN controller, can be according to reception user's input when configuring to the network equipment Configuration data is configured.
For example, SDN controller can provide a kind of configuration module corresponding user configuration interface, user is based on user circle Face can input configuration item and the corresponding parameter of configuration item.SDN controller inputs configuration item and right according to the user that receives The parameter answered generates configuration order, and the command down-transmitting to the network equipment is realized to the configuration to the network equipment.
For another example SDN controller can provide virtual router configuration module corresponding user interface, the user interface packet Include configuration item VPN and configuration item l3vni, the corresponding typing domain of each configuration item, user can in the typing domain typing parameter, For example, in the corresponding typing domain typing 10002 of configuration item VPN, in the corresponding typing domain typing 10008 of configuration item l3vni.
Table 1
In addition, SDN controller can also generate data according to the corresponding relationship of the above-mentioned configuration item received and parameter Table, for example, the information based on above-mentioned typing, can be generated tables of data as shown in Table 1 above.The correspondence of the configuration item and parameter Relationship is typically stored in running memory, which is typically stored in local storage.Every kind of configuration module can correspond to Multiple tables of data can generate the configuration data of each configuration module, in this hair after SDN controller is restarted according to tables of data In bright embodiment, the configuration data in the corresponding local storage of abnormal configuration module and running memory is all abnormal, such as Data no exceptions in tables of data on fruit local storage, SDN controller can be directly according to the configurations in tables of data Data are restored.When restoring abnormal configuration module, the configuration module correspondence for needing to restore the exception is locally stored The configuration item and parameter in tables of data and running memory on device.
In above-mentioned example (1), it can be based on above-mentioned configuration process, when realizing that configuration restores, SDN controller can be only Configuration data in the corresponding tables of data of abnormal configuration module and running memory is restored.For example, original configuration data can be with For configuration order, the configuration order are as follows: the interface needed to configure is " vsi3 ";The configuration order is described as " SDN-VROUTE- vsi-10008";" 10002 " are configured by IP-VPN;" 10008 " are set (alternatively, the interface needed to configure is by l3vni "VROUTE-vsi3").According to the configuration order, getting description is that SDN_VROUTE and configuration item vpn and l3vni are corresponding Configuration parameter, it is as shown in table 2 that configuration parameter data table can be generated with this.Virtual router can be configured based on the table 2 Module carries out configuration recovery.
Table 2
In some embodiments, in the original configuration data of the abnormal configuration module of application, to abnormal configuration module into When row configuration restores, can at least it be achieved by the steps of:
Step (1) receives and restores rule based on the selected configuration of the preset regular alternate list of configuration recovery;
Step (2) restores rule to exception according to selected configuration using the original configuration data of abnormal configuration module Configuration module carry out configuration recovery;
Wherein, it includes one or more in following that configuration, which restores rule:
Increase the configuration data lacked in abnormal configuration module;
The configuration data having more is deleted in abnormal configuration module;
The configuration data of conflict is modified in abnormal configuration module;
The configuration data of conflict is maintained in abnormal configuration module.
In one example, it may include additional mode that configuration, which restores rule, which may include not deleting The existing configuration data of SDN controller increases the configuration data lacked compared with original configuration data.
In another example, it can also include covering pattern that configuration, which restores rule,.The covering pattern may include, completely Original configuration data of being subject to are restored, alternatively, the configuration data that the configuration data of conflict is subject on SDN controller, no The configuration data of conflict is subject to original configuration data.
In some embodiments, in the original configuration data of the abnormal configuration module of application, to abnormal configuration module into When row configuration restores, can at least it be achieved by the steps of:
Step (1) determines that the audit of abnormal configuration module is poor using the original configuration data of abnormal configuration module It is different;
Step (2), according to the audit difference of abnormal configuration module, the original configuration data with abnormal configuration module are Benchmark restores the configuration data of abnormal configuration module exception.
In addition, SDN controller can be with the configuration data of backup configuration module.For example, can periodically be backed up, it can also To be backed up manually, if there is abnormal configuration module on SDN controller, backup can be first passed through and carry out configuration recovery.
In some embodiments, the abnormal configuration module of SDN controller first first can be reverted into the standby of the last time Part.Then it is further continued for executing S210-S230.In S230, original configuration data can be applied, after restoring according to Backup and Restore Abnormal configuration module.
It can according to need based on the above embodiment and select suitable mode to match according to abnormal the original of configuration module It sets data and carries out configuration recovery, can to restore more reasonable to configuration, improve the stability of network.
Fig. 4 is another kind SDN controller configuration recovery method flow diagram provided in an embodiment of the present invention.This method is answered For the network equipment, as shown in figure 4, this method can specifically include following steps:
S410 receives the acquisition instruction that SDN controller is sent.
" acquisition instruction " in the step can be the first acquisition instruction or second in embodiment shown in earlier figures 2 Acquisition instruction.
In conjunction with aforementioned embodiment shown in Fig. 2 it is found that SDN controller can be issued to the network equipment obtains all configuration numbers According to the first acquisition instruction, which may include the first command id, and the network equipment is receiving the first acquisition After instruction, whole configuration datas from SDN controller are determined.
What SDN controller can also issue the original configuration data for obtaining abnormal configuration module to the network equipment second obtains Instruction fetch, second acquisition instruction may include the second command id and abnormal configuration module mark, and the network equipment is receiving To after the second acquisition instruction, the original configuration data of above-mentioned abnormal configuration module are determined.
In some embodiments, the first command id and the second order can be identical mark, or different Command id specifically may refer to the description of previous embodiment, and details are not described herein again.
S420 sends original configuration data to SDN controller according to acquisition instruction, matches so that SDN controller application is original Set data restore SDN controller on there are the configuration modules of configuration data exception.
If what SDN controller issued is the first acquisition instruction, the network equipment need to determine the institute from SDN controller There is configuration data.All original configuration data are sent to SDN controller according to the first command id, all original configuration numbers Each configuration data in carries configuration module mark.
If what SDN controller was issued to the network equipment is the second acquisition instruction, carried according to second acquisition instruction Configuration module mark determine the original configuration data of abnormal configuration module;The second life carried according to second acquisition instruction Mark is enabled to send the original configuration data of abnormal configuration module to SDN controller.
The abnormal configuration data that SDN controller application original configuration data are restored on SDN controller may refer to earlier figures 2 Shown in associated description in embodiment in step S230, details are not described herein again.
Through the embodiment of the present invention, when there is abnormal configuration module on SDN controller, the network equipment can be controlled to SDN Device processed provides the abnormal corresponding original configuration data of configuration module, so that SDN controller restores abnormal configuration module, with this SDN controller may be implemented to be mutually backups with the network equipment, improve the stability of the networking based on SDN.
Fig. 5 is the flow diagram of another kind SDN controller configuration recovery method provided in an embodiment of the present invention.Such as Fig. 5 It is shown, it specifically can refer to following steps execution:
Step (1), SDN controller receive the instruction that configuration recovery is carried out from the network equipment.
This may include configuration module mark from the instruction that the network equipment carries out configuration recovery, can determine the configuration module Identifying corresponding configuration module is abnormal configuration module.
Step (2), SDN controller determine network topology data;It, can be from abnormal configuration based on the network topology data Original configuration data are obtained on the corresponding destination network device of module.
The network equipment 1 that the network topology data may include is controlled to network equipment n (n is the integer greater than 0) with SDN Connection relationship between device.
" determining network topology data " is optional step in the step (2), if network topology data do not occur exception, The step for without carrying out " determining network topology data ", if there are destination network devices to go offline in network topology data, It needs to be implemented " determining network topology data " and is re-established with the destination network device to go offline and is connect.
Based on the network topology data, SDN controller can send acquisition instruction to destination network device, different to obtain The original configuration data of normal configuration module.The step specifically may refer in aforementioned embodiment shown in Fig. 2, step S210 and Associated description in step S220, details are not described herein again.
Step (3), SDN controller are based on a selected mode from covering pattern and additional mode and are restored.
Wherein, covering pattern is also classified into two kinds, and controller of being subject to when having conflict configures, and device configuration when having a conflict Subject to.It is specifically chosen which kind of mode, administrator is needed to go to select according to configuration needs.
" covering pattern " and " additional mode " may refer in aforementioned embodiment shown in Fig. 2 in the step (3), about The associated description of " covering pattern " and " additional mode ", details are not described herein again.
Step (4), SDN controller application original configuration data, by preset configuration sequence to abnormal configuration module by It is a to be restored.
The preset configuration sequence can be determined according to the dependence between configuration module.In an example, it configures The first configuration module is first configured when second configuration module, then the second configuration module depends on the first configuration module, When recovery, first restore the first configuration module according to the dependence, then restore the second configuration module, for example, the first configuration module It can configuration module, the second configuration module can be business configuration module based on.Specifically, using from the first configuration module pair The original configuration data obtained on the network equipment answered restore the first configuration module, using corresponding from the second configuration module The network equipment on the original configuration data that obtain the second configuration module is restored.
Fig. 6 is a kind of signaling interaction diagram of SDN controller configuration recovery method provided in an embodiment of the present invention.It illustrates The interaction flow between terminal device on SDN controller, the network equipment specifically can refer to following steps execution:
S601, SDN controller determine that locally there are the configuration modules of configuration data exception.
S602, SDN controller determine the abnormal corresponding destination network device of configuration module.
S603, SDN controller send acquisition instruction to destination network device.
S604, the network equipment send original configuration data to SDN controller.
The original configuration data of the configuration module of S605, SDN controller application exception match abnormal configuration module Set recovery.
Above-mentioned steps S601 may refer in aforementioned embodiment shown in Fig. 2 about determining there be abnormal match on SDN controller The associated description of data is set, above-mentioned steps S602 may refer to the associated description of step S210 in aforementioned embodiment shown in Fig. 2, Above-mentioned steps S603 may refer to obtain in aforementioned embodiment shown in Fig. 2 about to destination network device transmission original configuration data The associated description of instruction fetch, above-mentioned steps S604 may refer to return in aforementioned embodiment shown in Fig. 4 about to SDN controller The associated description of original configuration data, above-mentioned steps S605 may refer to the phase of step S210 in aforementioned embodiment shown in Fig. 2 Description is closed, details are not described herein again.
If Fig. 7 is a kind of SDN controller configuration of recovery device structural schematic diagram provided in an embodiment of the present invention.The device is answered For SDN controller.The device can specifically include such as lower unit:
Determination unit 701, if being used for will be described there are the configuration module of configuration data exception on the SDN controller The abnormal corresponding network equipment of configuration module is determined as destination network device;Wherein, the abnormal configuration module includes: base Plinth configuration module and/or business configuration module;
Acquiring unit 702, for obtaining the original configuration of the abnormal configuration module from the destination network device Data;
Recovery unit 703, for the original configuration data of the application abnormal configuration module, to the abnormal configuration Module carries out configuration recovery.
In some embodiments, above-mentioned acquiring unit 702 is specifically used for:
The first acquisition instruction is sent to the destination network device, first acquisition instruction carries the first order mark Know;
The destination network device is received locally to be deposited according to the destination network device that first command id is sent All original configuration data of storage, each configuration data in all original configuration data carry configuration module mark Know;
According to the selection from all original configuration data of the configuration module of abnormal configuration module mark The original configuration data of abnormal configuration module.
In some embodiments, above-mentioned acquiring unit 702 is specifically used for:
The second acquisition instruction is sent to the destination network device, second acquisition instruction carries the second command id It is identified with the configuration module of the abnormal configuration module;
The destination network device is received according to the configuration mould of second command id and the abnormal configuration module The original configuration data for the abnormal configuration module that block identification is sent.
In some embodiments, above-mentioned abnormal configuration module includes multiple;Above-mentioned recovery unit 703 is specifically used for:
Using the original configuration data of multiple abnormal configuration modules, according to preset configuration sequence successively to each exception Configuration module carry out configuration recovery;
Wherein, the preset configuration sequence includes: sequence of the configurations module prior to business configuration module, and The sequence of configuration dependence is deferred between different basic modules or between different business configuration module.
In some embodiments, above-mentioned recovery unit 703 is specifically used for:
It receives and rule is restored based on the selected configuration of the preset regular alternate list of configuration recovery;
Using the original configuration data of the abnormal configuration module, restore rule to the exception according to selected configuration Configuration module carry out configuration recovery;
It includes one or more in following that the configuration, which restores rule:
Increase the configuration data lacked in the abnormal configuration module;
The configuration data having more is deleted in the abnormal configuration module;
The configuration data of conflict is modified in the abnormal configuration module;
The configuration data of conflict is maintained in the abnormal configuration module.
In some embodiments, above-mentioned recovery unit 703 is specifically used for:
Using the original configuration data of the abnormal configuration module, determine that the audit of the abnormal configuration module is poor It is different;
According to the audit difference of the abnormal configuration module, the original configuration data with the abnormal configuration module are Benchmark restores the configuration data of the abnormal configuration module exception.
In some embodiments, further include that determination unit is used for:
When receiving abnormal configuration recovery instruction, restore the abnormal configuration that the configuration module of instruction to be instructed to be determined as There are the configuration modules of configuration data exception;Or;
When detecting in configuration module there are when configuration data loss, the configuration module for losing configuration data is determined as depositing In the configuration mould of configuration data exception;Or;
When detect in configuration module there are when configuration data mistake, will be present error configurations data configuration module determine For there are the configuration moulds of configuration data exception.
Fig. 8 is a kind of SDN controller configuration of recovery device structural schematic diagram provided in an embodiment of the present invention.The device application In the network equipment, which includes:
Receiving unit 801, the acquisition instruction sent for receiving the SDN controller;
Transmission unit 802, for sending original configuration data to the SDN controller according to the acquisition instruction, so that Original configuration data described in the SDN controller application restore on the SDN controller that there are the configuration moulds of configuration data exception Block.
In some embodiments, above-mentioned acquisition instruction includes the first command id, and the above-mentioned transmission unit 802 is specifically used In:
All original configuration data are sent to the SDN controller according to first command id, it is described all original Each configuration data in configuration data carries configuration module mark.
In some embodiments, above-mentioned acquisition instruction includes the configuration of the second command id and the abnormal configuration module Module id;
Further include: determination unit, for determining the exception according to the configuration module of abnormal configuration module mark Configuration module original configuration data;
Above-mentioned transmission unit 802 is specifically used for, described different to SDN controller transmission according to second command id The original configuration data of normal configuration module.
Fig. 9 is a kind of structural schematic diagram of SDN controller provided in an embodiment of the present invention, which includes: processing Device 1100, memory 1101, bus 1102 and communication interface 1103, the processor 1100, communication interface 1103 and memory 1101 are connected by bus 1102;Processor 1100 for executing the executable module stored in memory 1101, such as Fig. 2 or The corresponding computer program of embodiment of the method shown in fig. 5.
Figure 10 is a kind of structural schematic diagram of the network equipment provided in an embodiment of the present invention, which includes: processing Device 1200, memory 1201, bus 1202 and communication interface 1203, the processor 1200, communication interface 1203 and memory 1201 are connected by bus 1202;Processor 1200 is for executing the executable module stored in memory 1201, such as Fig. 4 institute The corresponding computer program of the embodiment of the method shown.
It wherein, may include high-speed random access memory (RAM, Random for the memory in Fig. 9 or Figure 10 Access Memory), it is also possible to it further include non-labile memory (non-volatile memory), for example, at least one Magnetic disk storage.The system network element and at least one its is realized by least one communication interface (can be wired or wireless) Internet, wide area network, local network, Metropolitan Area Network (MAN) etc. can be used in communication connection between his network element.
Bus can be isa bus, pci bus or eisa bus etc..It is total that the bus can be divided into address bus, data Line, control bus etc..Only to be indicated with a four-headed arrow in Fig. 9 or Figure 10 convenient for indicating, it is not intended that only one total Line or a type of bus.
Wherein, memory is for storing program, and the processor executes described program after receiving and executing instruction, preceding Stating method performed by the device that the stream process that any embodiment of the present invention discloses defines can be applied in processor, Huo Zheyou Processor is realized.
Processor may be a kind of IC chip, the processing capacity with signal.During realization, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor or software form.Above-mentioned processing Device can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (Digital Signal Processor, Abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), scene Programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.It may be implemented or execute disclosed each method, the step in the present invention Rapid and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc.. It can be embodied directly in hardware decoding processor in conjunction with the step of the method disclosed in the present and execute completion, or at decoding Hardware and software module combination in reason device execute completion.Software module can be located at random access memory, flash memory, read-only storage In the storage medium of this fields such as device, programmable read only memory or electrically erasable programmable memory, register maturation.It should The step of storage medium is located at memory, and processor reads the information in memory, completes the above method in conjunction with its hardware.
The embodiment of the invention also provides a kind of machine readable storage medium, which is stored with machine Executable instruction, for machine-executable instruction when being called and being executed by processor, machine-executable instruction promotes processor to realize Above-mentioned SDN controller configuration recovery method provided in an embodiment of the present invention.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
Finally, it should be noted that embodiment described above, only specific embodiments of the present invention, of the invention to illustrate Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to the present invention It is described in detail, those skilled in the art should understand that: anyone skilled in the art exists The invention discloses technical scope in, can still modify to technical solution documented by previous embodiment or can be easily Expect changing or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make phase It answers the essence of technical solution to be detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection model of the invention Within enclosing.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. a kind of SDN controller configuration recovery method, which is characterized in that be applied to SDN controller, which comprises
If there are the configuration modules of configuration data exception on the SDN controller, and the abnormal configuration module is corresponding The network equipment is determined as destination network device;Wherein, the abnormal configuration module includes: configurations module and/or business Configuration module;
The original configuration data of the abnormal configuration module are obtained from the destination network device;
Using the original configuration data of the abnormal configuration module, configuration recovery is carried out to the abnormal configuration module.
2. the method according to claim 1, wherein described obtain the exception from the destination network device Configuration module original configuration data, comprising:
The first acquisition instruction is sent to the destination network device, first acquisition instruction carries the first command id;
Receive what the destination network device was locally stored according to the destination network device that first command id is sent All original configuration data, each configuration data in all original configuration data carry configuration module mark;
The exception is chosen from all original configuration data according to the configuration module of abnormal configuration module mark Configuration module original configuration data.
3. the method according to claim 1, wherein obtaining described abnormal match from the destination network device Set the original configuration data of module, comprising:
The second acquisition instruction is sent to the destination network device, second acquisition instruction carries the second command id and institute State the configuration module mark of abnormal configuration module;
The destination network device is received according to the configuration module mark of second command id and the abnormal configuration module Know the original configuration data of the abnormal configuration module sent.
4. method according to claim 1 to 3, which is characterized in that the abnormal configuration module includes more It is a;The original configuration data using the abnormal configuration module carry out configuration recovery to the abnormal configuration module, Include:
Using the original configuration data of multiple abnormal configuration modules, successively each abnormal is matched according to preset configuration sequence It sets module and carries out configuration recovery;
Wherein, the preset configuration sequence includes: sequence of the configurations module prior to business configuration module, and different The sequence of configuration dependence is deferred between basic module or between different business configuration module.
5. the method according to claim 1, wherein the original configuration using the abnormal configuration module Data carry out configuration recovery to the abnormal configuration module, comprising:
It receives and rule is restored based on the selected configuration of the preset regular alternate list of configuration recovery;
Using the original configuration data of the abnormal configuration module, restores rule according to selected configuration and described abnormal is matched It sets module and carries out configuration recovery;
It includes one or more in following that the configuration, which restores rule:
Increase the configuration data lacked in the abnormal configuration module;
The configuration data having more is deleted in the abnormal configuration module;
The configuration data of conflict is modified in the abnormal configuration module;
The configuration data of conflict is maintained in the abnormal configuration module.
6. the method according to claim 1, wherein the original configuration using the abnormal configuration module Data carry out configuration recovery to the abnormal configuration module, comprising:
Using the original configuration data of the abnormal configuration module, the audit difference of the abnormal configuration module is determined;
According to the audit difference of the abnormal configuration module, using the original configuration data of the abnormal configuration module as base Standard restores the configuration data of the abnormal configuration module exception.
7. the method according to claim 1, wherein the abnormal corresponding network equipment of configuration mould is true It is set to before destination network device, further includes:
When receiving abnormal configuration recovery instruction, restore the abnormal configuration that the configuration module of instruction to be instructed to be determined as existing The configuration module of configuration data exception;Or;
When detecting in configuration module there are when configuration data loss, the configuration module for losing configuration data is determined as existing and is matched Set the configuration mould of data exception;Or;
When detecting that the configuration module that error configurations data will be present is determined as depositing there are when configuration data mistake in configuration module In the configuration mould of configuration data exception.
8. a kind of SDN controller configuration recovery method, which is characterized in that be applied to the network equipment, which comprises
Receive the acquisition instruction that the SDN controller is sent;
Original configuration data are sent to the SDN controller according to the acquisition instruction, so that described in the SDN controller application Original configuration data restore on the SDN controller that there are the configuration modules of configuration data exception.
9. according to the method described in claim 8, it is characterized in that, the acquisition instruction include the first command id, described Sending original configuration data to the SDN controller according to the command id includes:
All original configuration data, all original configurations are sent to the SDN controller according to first command id Each configuration data in data carries configuration module mark.
10. according to the method described in claim 8, it is characterized in that, the acquisition instruction includes the second command id and described The configuration module mark of abnormal configuration module;
It is described to include: to all original configuration data of SDN controller transmission according to the acquisition instruction
The original configuration data of the abnormal configuration module are determined according to the configuration module of abnormal configuration module mark;
The original configuration data of the abnormal configuration module are sent to the SDN controller according to second command id.
11. a kind of SDN controller configuration of recovery device, which is characterized in that be applied to SDN controller, described device includes:
Determination unit, if there are the configuration modules of configuration data exception on the SDN controller, for matching described abnormal It sets the corresponding network equipment of module and is determined as destination network device;Wherein, the abnormal configuration module includes: configurations mould Block and/or business configuration module;
Acquiring unit, for obtaining the original configuration data of the abnormal configuration module from the destination network device;
Recovery unit, for application the abnormal configuration module original configuration data, to the abnormal configuration module into Row configuration restores.
12. a kind of SDN controller configuration of recovery device, which is characterized in that be applied to the network equipment, described device includes:
Receiving unit, the acquisition instruction sent for receiving the SDN controller;
Transmission unit, for sending original configuration data to the SDN controller according to the acquisition instruction, so that the SDN Original configuration data described in controller application restore on the SDN controller that there are the configuration modules of configuration data exception.
CN201910444606.7A 2019-05-24 2019-05-24 SDN controller configuration recovery method and device Active CN110166299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910444606.7A CN110166299B (en) 2019-05-24 2019-05-24 SDN controller configuration recovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910444606.7A CN110166299B (en) 2019-05-24 2019-05-24 SDN controller configuration recovery method and device

Publications (2)

Publication Number Publication Date
CN110166299A true CN110166299A (en) 2019-08-23
CN110166299B CN110166299B (en) 2022-05-10

Family

ID=67632896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910444606.7A Active CN110166299B (en) 2019-05-24 2019-05-24 SDN controller configuration recovery method and device

Country Status (1)

Country Link
CN (1) CN110166299B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110661651A (en) * 2019-09-06 2020-01-07 北京浪潮数据技术有限公司 SDN controller data management method, system, device and readable storage medium
CN110719205A (en) * 2019-10-17 2020-01-21 深圳市信锐网科技术有限公司 Access switch, online recovery method, system and computer storage medium
WO2021104270A1 (en) * 2019-11-26 2021-06-03 中兴通讯股份有限公司 Configuration anomaly detection method, server and storage medium
CN113625072A (en) * 2021-06-15 2021-11-09 安克创新科技股份有限公司 Data calibration method
CN114363356A (en) * 2021-12-17 2022-04-15 上海浦东发展银行股份有限公司 Data synchronization method, system, device, computer equipment and storage medium
CN114363356B (en) * 2021-12-17 2024-04-26 上海浦东发展银行股份有限公司 Data synchronization method, system, device, computer equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150172102A1 (en) * 2013-12-18 2015-06-18 International Business Machines Corporation Software-defined networking disaster recovery
CN105227460A (en) * 2015-10-13 2016-01-06 电子科技大学 A kind of seismic interpretation system based on SDN
US20160065454A1 (en) * 2014-08-27 2016-03-03 International Business Machines Corporation Reporting static flows to a switch controller in a software-defined network (sdn)
CN105978741A (en) * 2016-07-15 2016-09-28 清华大学深圳研究生院 Network fault handling method and system
CN106506353A (en) * 2016-10-27 2017-03-15 吉林大学 Virtual network single link failure restoration methods and system based on SDN
CN106603272A (en) * 2016-11-17 2017-04-26 上海斐讯数据通信技术有限公司 Controller protection method and system based on smooth restart
CN106878063A (en) * 2017-01-17 2017-06-20 烽火通信科技股份有限公司 A kind of method for recovering network topological sum business configuration data from network element
CN107395439A (en) * 2017-08-24 2017-11-24 郑州云海信息技术有限公司 A kind of network collocating method, device and controller
CN108183810A (en) * 2016-12-08 2018-06-19 中兴通讯股份有限公司 Multiple services parallel recovery method, apparatus and system under SDN frameworks
CN108989134A (en) * 2018-09-04 2018-12-11 山东浪潮云投信息科技有限公司 Virtualization network data plane configuration recovery system and method based on SDN
CN109462502A (en) * 2018-10-30 2019-03-12 新华三技术有限公司合肥分公司 Configuration information saves control method, device and the SDN controller of instruction

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150172102A1 (en) * 2013-12-18 2015-06-18 International Business Machines Corporation Software-defined networking disaster recovery
CN104734878A (en) * 2013-12-18 2015-06-24 国际商业机器公司 Software-defined networking disaster recovery
US20160065454A1 (en) * 2014-08-27 2016-03-03 International Business Machines Corporation Reporting static flows to a switch controller in a software-defined network (sdn)
CN105227460A (en) * 2015-10-13 2016-01-06 电子科技大学 A kind of seismic interpretation system based on SDN
CN105978741A (en) * 2016-07-15 2016-09-28 清华大学深圳研究生院 Network fault handling method and system
CN106506353A (en) * 2016-10-27 2017-03-15 吉林大学 Virtual network single link failure restoration methods and system based on SDN
CN106603272A (en) * 2016-11-17 2017-04-26 上海斐讯数据通信技术有限公司 Controller protection method and system based on smooth restart
CN108183810A (en) * 2016-12-08 2018-06-19 中兴通讯股份有限公司 Multiple services parallel recovery method, apparatus and system under SDN frameworks
CN106878063A (en) * 2017-01-17 2017-06-20 烽火通信科技股份有限公司 A kind of method for recovering network topological sum business configuration data from network element
CN107395439A (en) * 2017-08-24 2017-11-24 郑州云海信息技术有限公司 A kind of network collocating method, device and controller
CN108989134A (en) * 2018-09-04 2018-12-11 山东浪潮云投信息科技有限公司 Virtualization network data plane configuration recovery system and method based on SDN
CN109462502A (en) * 2018-10-30 2019-03-12 新华三技术有限公司合肥分公司 Configuration information saves control method, device and the SDN controller of instruction

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐俭: "基于控制层的SDN网络架构安全可靠性技术探究", 《广播电视信息》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110661651A (en) * 2019-09-06 2020-01-07 北京浪潮数据技术有限公司 SDN controller data management method, system, device and readable storage medium
CN110719205A (en) * 2019-10-17 2020-01-21 深圳市信锐网科技术有限公司 Access switch, online recovery method, system and computer storage medium
CN110719205B (en) * 2019-10-17 2023-03-14 深圳市信锐网科技术有限公司 Access switch, online recovery method, system and computer storage medium
WO2021104270A1 (en) * 2019-11-26 2021-06-03 中兴通讯股份有限公司 Configuration anomaly detection method, server and storage medium
EP4060942A4 (en) * 2019-11-26 2023-01-04 ZTE Corporation Configuration anomaly detection method, server and storage medium
CN113625072A (en) * 2021-06-15 2021-11-09 安克创新科技股份有限公司 Data calibration method
CN114363356A (en) * 2021-12-17 2022-04-15 上海浦东发展银行股份有限公司 Data synchronization method, system, device, computer equipment and storage medium
CN114363356B (en) * 2021-12-17 2024-04-26 上海浦东发展银行股份有限公司 Data synchronization method, system, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110166299B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN110166299A (en) SDN controller configuration recovery method and device
US20210152443A1 (en) Technologies for annotating process and user information for network flows
US11080144B2 (en) System and method for managing blockchain nodes
US11805031B2 (en) Method and entities for service availability management
EP3304855B1 (en) Automatic software upgrade
US10644952B2 (en) VNF failover method and apparatus
CN109802985B (en) Data transmission method, device, equipment and readable storage medium
CN104718723B (en) For the networking in virtual network and the frame of security service
US20170331862A1 (en) Method for accessing cloud service and access device
US11343161B2 (en) Intelligent distributed multi-site application placement across hybrid infrastructure
US20210132981A1 (en) Multi-site virtual infrastructure orchestration of network service in hybrid cloud environments
US20150326451A1 (en) Network-as-a-service architecture
CN103036703A (en) Configuration management method of logical topology in virtual network and management server
CA2404191A1 (en) Methods and apparatus for configuration change management in communications networks
CN112019366B (en) Leasing method and device of physical host, cloud platform and readable storage medium
US11755383B2 (en) Hybrid inventory data summarization using various input schema across hybrid cloud infrastructure
EP4007233A1 (en) Connectivity templates
CN110213073A (en) Data flow variation, electronic equipment, calculate node and storage medium
JP6421200B2 (en) Cloud configuration storage system, cloud configuration storage method, and cloud configuration storage program
US11748205B2 (en) Network informed policy creation for optimizing multiple backup operations in a multiple source system
US20220350632A1 (en) Automated referencing and resolution of properties across virtual network functions and network service
US20210132982A1 (en) Multisite service personalization hybrid workflow engine
CN107306202B (en) Network management method, server, client and system
JP2020010126A (en) Management device and network management method
CN114760199B (en) SDN-based network configuration information issuing method, 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
TR01 Transfer of patent right

Effective date of registration: 20230720

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right