CN106878080A - A kind of determination method and device of software defined network controller failure - Google Patents
A kind of determination method and device of software defined network controller failure Download PDFInfo
- Publication number
- CN106878080A CN106878080A CN201710104317.3A CN201710104317A CN106878080A CN 106878080 A CN106878080 A CN 106878080A CN 201710104317 A CN201710104317 A CN 201710104317A CN 106878080 A CN106878080 A CN 106878080A
- Authority
- CN
- China
- Prior art keywords
- switching equipment
- connection status
- connection
- designated
- determined
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/555—Error detection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
A kind of determination method and device of software defined network controller failure is the embodiment of the invention provides, failed server is applied to, method includes:Receive the connection status that switching equipment sends;The connection status is the connection status of the switching equipment and the SDN controllers;When the first connection status for being designated as connection failure is received first, it is determined that the connection status of every other switching equipment in addition to the first switching equipment of first connection status is sent and the SDN controllers;When the every other switching equipment is designated as abnormal condition with the connection status of the SDN controllers, the SDN controller failures are determined.Using technical scheme provided in an embodiment of the present invention, improve determination SDN controllers whether the accuracy of failure.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of determination method of software defined network controller failure
And device.
Background technology
SDN (Software Defined Network, software defined network) is a kind of new network framework, and it will control
Aspect and forwarding plane are separated, and realize the flexible control to network traffics.In SDN, SDN controllers set for the key of SDN
Standby, it is responsible for issuing forwarding rule to switching equipment, and switching equipment is according to the forwarding rule converting flow for receiving.
For switching equipment, whether switching equipment determines SDN controllers by it with the connection status between SDN controllers
Failure, and failure is processed, carry out flow forwarding.If specifically, switching equipment and SDN controller successful connections, really
Determining SDN controllers does not have failure, receives the forwarding rule that SDN controllers are issued, according to the forwarding rule converting flow for receiving;
If switching equipment and SDN controller connection failures, it is determined that SDN controller failures, switching equipment passes through traditional IP
(Internet Protocol, procotol) router converting flow.
However, switching equipment is probably to be caused by SDN controller failures with SDN controller connection failures, it is also possible to by
Link failure between switching equipment and SDN controllers causes.Based on this, switching equipment passes through itself and the connection between SDN controllers
State determines whether the method for failure is inaccurate to SDN controllers, and this will cause the switching equipment to carry out troubleshooting not
Rationally.
Based on above-mentioned situation, how to determine whether failure is still a technical barrier urgently to be resolved hurrily to SDN controllers.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of determination method and device of software defined network controller failure,
With improve determine SDN controllers whether the accuracy of failure.Concrete technical scheme is as follows:
On the one hand, the embodiment of the invention discloses a kind of determination method of SDN controller failures, failed services are applied to
Device, methods described includes:
Receive the connection status that switching equipment sends;The connection status is the switching equipment and the SDN controllers
Connection status;
When the first connection status for being designated as connection failure is received first, it is determined that except transmission first connection status
The first switching equipment beyond every other switching equipment and the SDN controllers connection status;
When the every other switching equipment is designated as abnormal condition with the connection status of the SDN controllers,
Determine the SDN controller failures.
On the other hand, the embodiment of the invention discloses a kind of determining device of SDN controller failures, failed services are applied to
Device, described device includes:
Receiving unit, the connection status for receiving switching equipment transmission;The connection status be the switching equipment with
The connection status of the SDN controllers;
First determining unit, for when the first connection status for being designated as connection failure is received first, it is determined that except hair
Send the connection shape of the every other switching equipment and the SDN controllers beyond the first switching equipment of first connection status
State;
Second determining unit, for being referred both to the connection status of the SDN controllers when the every other switching equipment
When being shown as abnormal condition, the SDN controller failures are determined.
A kind of determination method and device of SDN controller failures is the embodiment of the invention provides, failed server receives each
Its connection status with SDN controllers that individual switching equipment sends, when receiving the first connection for being designated as connection failure first
During state, the connection status of every other switching equipment and SDN controllers is determined;If it is determined that every other switching equipment with
The connection status of SDN controllers is designated as abnormal condition, and in the case of SDN controllers are normal, all switching equipment
It is very low with the possibility that the connection status of SDN controllers is all designated as abnormal condition, thus may determine that the event of SDN controllers
Barrier, this be effectively improved determination SDN controllers whether the accuracy of failure.Certainly, any product of the invention or side are implemented
Method must be not necessarily required to while reaching all the above advantage.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of a kind of SDN networkings used in the embodiment of the present invention;
Fig. 2 is a kind of a kind of schematic flow sheet of the determination method of SDN controller failures provided in an embodiment of the present invention;
Fig. 3 is a kind of another schematic flow sheet of the determination method of SDN controller failures provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of the determining device of SDN controller failures provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
With reference to Fig. 1, Fig. 1 is a kind of schematic diagram of SDN networkings provided in an embodiment of the present invention, is included in the networking:SDN
Controller 100, switching equipment 200 and failed server 300.Wherein, multiple switching equipment, failure clothes can be included in networking
Business device is connected with this multiple switching equipment.
It should be noted that failed server 300 can be located in same physical machine with switching equipment 200, it is also possible to
It is independent in a physical machine, the embodiment of the present invention is not defined to this.
Based on networking shown in Fig. 1, a kind of SDN controllers for being applied to failed server 300 are the embodiment of the invention provides
Failure determination method and device, with improve determine SDN controllers whether the accuracy of failure.
With reference to Fig. 2, Fig. 2 is a kind of a kind of flow of the determination method of SDN controller failures provided in an embodiment of the present invention
Schematic diagram, is applied to failed server 300 as shown in Figure 1, and the determination method includes:
S201:Receive the connection status that switching equipment sends;
Wherein, connection status is the connection status of switching equipment and SDN controllers.Here connection status can be connection
Success or connection failure
Specifically, if switching equipment sets up connection failure with SDN controllers, the switching equipment sends to failed server
Indicate the connection status of connection failure;If switching equipment sets up successful connection with SDN controllers, the switching equipment takes to failure
Business device sends the connection status for indicating successful connection.
In one embodiment of the invention, each switching equipment periodically can send the exchange and set to failed server
The standby connection status with SDN controllers, to ensure that in failed server accurate connection status can be got;In addition, each
Switching equipment when the connection status of the switching equipment and SDN controllers sends change, then can also send to failed server
The connection status of the switching equipment and SDN controllers, to save Internet resources.For example, when switching equipment X1 and SDN controllers
Connection status from successful connection be changed into connection failure when, switching equipment X1 sends to failed server and is designated as the company of connection failure
Connect state.
S202:When the first connection status for being designated as connection failure is received first, it is determined that connecting shape except sending first
The connection status of every other switching equipment and SDN controllers beyond the first switching equipment of state;
Here, receive first and be designated as the first connection status of connection failure and be:Failed server is it is determined that SDN is controlled
In the case of device is normal, what is received first is designated as the connection status of connection failure.
In one embodiment of the invention, set for the ease of determining the every other exchange in addition to the first switching equipment
The standby connection status with SDN controllers, can record the connection shape of all switching equipment and SDN controllers in failed server
State, and when the connection status of switching equipment transmission is received, update the corresponding connection status of the switching equipment, that is, update the friendship
The connection status of exchange device and SDN controllers.For example, receiving the connection shape for being designated as successful connection of switching equipment X1 transmissions
State, then be updated to successful connection by the corresponding connection status of switching equipment X1;Receive the company of being designated as of switching equipment X1 transmissions
The connection status of failure is connect, then the corresponding connection status of switching equipment X1 is updated to connection failure.
In this case, failed server can be by the connection status of record, it is determined that in addition to the first switching equipment
The corresponding connection status of every other switching equipment.
In other embodiments of the invention, can be quickly determined except the first switching equipment to ensure failed server
The corresponding connection status of every other switching equipment in addition, failed server can record friendship in the form of adoption status list item
The connection status of exchange device and SDN controllers.Here, a state list item can include two, and Section 1 is:Switching equipment
Mark, IP address, MAC (Media Access Control, media access control) address of such as switching equipment etc.;Section 2
For:The connection status of this switching equipment and SDN controllers.In the Section 2 of state list item, switching equipment can be represented with 1
It is connection failure with the connection status that the connection status of SDN controllers is successful connection, 0 expression switching equipment and SDN controllers.
In this case, after switching equipment succeeds in registration on SDN controllers, that is, switching equipment is controlled with SDN
After device sets up connection, it is to connect into that switching equipment sends its mark and itself and the connection status of SDN controllers to failed server
The information of work(;The information that failed server sends according to this switching equipment for receiving, sets up this switching equipment corresponding
State list item, and the connection status in the corresponding state list item of this switching equipment is updated to " 1 ";Afterwards, then this is received
The connection status that individual switching equipment sends, the connection status that directly can be sent according to this switching equipment for receiving, updates
Connection status in the corresponding state list item of this switching equipment.
S203:When the connection status of every other switching equipment and SDN controllers is designated as abnormal condition, it is determined that
SDN controller failures.
Wherein, abnormal condition includes that connection failure and connection are invalid.Here, connection is invalid is:When failed server without
It is a kind of connection status of this switching equipment setting when method obtains the connection status of switching equipment.General, if failed services
Device cannot obtain the connection status of switching equipment, then can determine the switch equipment failure.
If it is determined that the corresponding connection status of every other switching equipment is designated as abnormal condition, while first exchanges and sets
Standby corresponding connection status is also referred to as connection failure, and now, the corresponding connection status of all switching equipment is designated as anon-normal
Normal state, and SDN controllers are under normal conditions, the connection status of all switching equipment and SDN controllers is all designated as non-
The possibility of normal condition is very small, thus may determine that SDN controller failures;
If it is determined that the corresponding connection status inequality of every other switching equipment is designated as abnormal condition, it is, at least
The connection status for having a switching equipment is designated as successful connection, and during due to SDN controller failures, switching equipment is controlled with SDN
The connection status of device can not possibly be designated as successful connection, thus may determine that SDN controllers are normal.
In one embodiment of the invention, each switching equipment sends the switching equipment and is controlled with SDN to failed server
The time of the connection status of device processed is probably nonsynchronous, in order to ensure if SDN controller failures, except the first switching equipment
Outer every other switching equipment all have sent connection status to failed server, improve determine SDN controllers whether failure
Accuracy, failed server can backward postpone a period of time after the first connection status is received, then determine to be exchanged except first
The connection status of every other switching equipment and SDN controllers beyond equipment.For example, failed server is receiving the first company
After connecing state, start timer;When timer then after, then determine the every other switching equipment in addition to the first switching equipment
With SDN controllers.
In one embodiment of the invention, if SDN controller failures, in timer duration, in every other exchange
In the case of equipment is normal, every other switching equipment have sent the second connection status to failed server surely.Such case
Under, failed server can determine at least one second connection status received in timer duration;
If the second connection status for receiving is designated as connection failure, can decide whether exist do not send connection shape
The switching equipment of state, here, the switching equipment for not sending connection status is except the first switching equipment and transmission described second
Other switching equipment beyond second switching equipment of connection status;If in the absence of the switching equipment for not sending connection status, knot
The corresponding connection status also referred to as connection failure of the first switching equipment is closed, then can determine SDN controller failures;
If in the presence of the switching equipment for not sending connection status, these switching equipment are probably because failure itself or these friendships
Exchange device link failure now between failed server, causes this switching equipment to report company temporarily without normal direction failed server
Connect state.Therefore, in order to determine the connection status of switching equipment and SDN controllers, can be to all connection status that do not send
Switching equipment sends query message, i.e., to the every other switching equipment in addition to the first switching equipment and the second switching equipment
Query message is sent, connection status is inquired about;
If the connection status for inquiring is designated as abnormal condition, SDN controller failures can be determined;
If the connection status inequality for inquiring is designated as abnormal condition, can determine that SDN controllers are normal.
In one embodiment of the invention, the result of failed server inquiry connection status can be:
If receiving the every other switching equipment in addition to the first switching equipment and the second switching equipment for inquiry
The connection status of feedback, and be designated as connection failure, then can determine SDN controller failures;
If not receiving the connection status for query feedback, can determine except the first switching equipment and the second exchange
Every other switching equipment beyond equipment is designated as being connected invalid with the connection status of SDN controllers, and then can determine
Every other switch equipment failure in addition to the first switching equipment and the second switching equipment, determines SDN controller failures;
If partly being handed in receiving the every other switching equipment in addition to the first switching equipment and the second switching equipment
Exchange device is directed to the connection status of query feedback, and is designated as connection failure, it is determined that for the non-feedback link state of inquiry
Switching equipment be designated as being connected invalid with the connection status of SDN controllers, and then can determine for inquiry do not feed back company
The switch equipment failure of state is connect, SDN controller failures are determined;
If the every other switching equipment received in addition to the first switching equipment and the second switching equipment is anti-for inquiry
The connection status of feedback, and inequality is designated as connection failure, that is, at least one is indicated for the connection status of query feedback
It is successful connection, it may be determined that SDN controllers are normal, it is determined that being designated as the friendship of the connection status of connection failure for query feedback
Link failure, the first switching equipment between exchange device and SDN controllers are exchanged with the link failure between SDN controllers, second and set
It is standby with the link failure between SDN controllers;
If receiving connection of the part switching equipment for query feedback in all switching equipment for not sending connection status
State, and inequality is designated as connection failure, it is determined that for the switching equipment and SDN controllers of inquiring about non-feedback link state
Connection status is designated as connecting invalid, it is determined that for the switch equipment failure for inquiring about non-feedback link state, determining SDN controls
Device is normal, it is determined that the link being designated as query feedback between the switching equipment of the connection status of connection failure and SDN controllers
Link failure between failure, the first switching equipment and SDN controllers, the link failure between the second switching equipment and SDN controllers.
In other embodiments of the invention, in order to improve determine SDN controllers whether the efficiency of failure, in failed services
A predetermined number is pre-set in device, here, predetermined number is a less value, such as 1,2 etc..
In this case, failed server is to every other in addition to the first switching equipment and the second switching equipment
Before switching equipment inquiry connection status, i.e., before inquiring about connection status to the switching equipment for not sending connection status, first judge
Whether the quantity of the every other switching equipment in addition to the first switching equipment and the second switching equipment is less than or equal to present count
Amount;
If the quantity of the every other switching equipment in addition to the first switching equipment and the second switching equipment less than etc.
In predetermined number, connection status is inquired about to the switching equipment for not sending connection status;Because predetermined number is smaller, to except the first friendship
Every other switching equipment inquiry connection status beyond exchange device and the second switching equipment, whether pair determination SDN controllers
The efficiency influence of failure is also smaller;
If the quantity of the every other switching equipment in addition to the first switching equipment and the second switching equipment is more than default
, there is substantial amounts of switching equipment because equipment fault cannot report connection status in quantity, it is contemplated that in the case of switching equipment is more
Possibility it is very small, it can be considered that do not send connection status switching equipment because with SDN controller successful connections
And do not send, and then determine that SDN controllers are normal.
In one embodiment of the invention, rational troubleshooting is carried out for the ease of switching equipment, it is determined that SDN is controlled
After device failure processed, failed server can be notified the information of SDN controller failures to the first switching equipment;
After first switching equipment receives the information of SDN controller failures, SDN controller failures are determined, by traditional
Ip router converting flow;If not receiving the information of SDN controller failures, it is determined that SDN controllers are normal, continue basis
The forwarding rule converting flow that SDN controllers are issued.
It is noted that above-mentioned SDN controllers whether the information of failure can be recorded in failed server, in order to
Each switching equipment is notified, and is exported to user so that user can in time process SDN controller failures.
For the clearer determination method for understanding SDN controller failures provided in an embodiment of the present invention, with reference to Fig. 3
Be introduced explanation failed server determine SDN controllers whether the process of failure:
S01, in the case of it is determined that SDN controllers are normal, receive first be designated as connection failure first connection shape
State;
S02, startup timer;
S03, timer are then;
S04, judge whether receive the second connection status in timer duration;If it is, performing S05;If not, performing
S07;
If SDN controller failures, failed server surely receives the second connection status in timer duration.
S05, judge whether all second connection status are designated as connection failure;If not, performing S06;If it is, holding
Row S07;
S06, determine that SDN controllers are normal;
In addition, when it is determined that all second connection status inequalities are designated as connection failure, it is, failed server is at least
Receive second connection status for being designated as successful connection, it is determined that SDN controllers are normal;Meanwhile, failed server is also
Can determine to send connection status and be designated as the link failure between the switching equipment of connection failure and SDN controllers, it is determined that not
The switching equipment for sending connection status is normal, it is determined that do not send the switching equipment of connection status normally with the chain between SDN controllers
Road is normal.
After S06, when failed server receives the connection status that first is designated as connection failure, re-execute
S01。
S07, judge the quantity of the remaining switching equipment for not sending connection status whether less than or equal to N;If not, performing
S06;If it is, performing S08;
Wherein, the remaining hereinafter referred to as remaining switching equipment of switching equipment for not sending connection status, remaining exchange
Equipment is every other in addition to the switching equipment of the second connection status of switching equipment and transmission for sending the first connection status
Switching equipment;N is predetermined number.
If the quantity of all switching equipment is L, sends the switching equipment of the first connection status and send the second connection status
Switching equipment total quantity be M, then S07 be:Judgment formula L-M<Whether=N sets up.
If formula L-M<=N is invalid, and the quantity of remaining switching equipment is more than N, then can determine SDN controllers just
Often.
In addition, in formula L-M<When=N is invalid, can also determine to send connection status and be designated as connection failure
Link failure between switching equipment and SDN controllers, it is determined that the switching equipment for not sending connection status is normal, it is determined that the company of transmission
The link connect between the switching equipment of state and SDN controllers is normal.
S08:Connection status is inquired about to remaining switching equipment;
If remaining switching equipment has all fed back connection status, it is, failed server have received it is remaining all
Switching equipment then performs S09 for the connection status of query feedback;
If all non-feedback link state of remaining switching equipment, it is, failed server is not received for inquiry instead
The connection status of feedback, then perform S12;
If there is the exchange of the switching equipment and non-feedback link state that have fed back connection status in remaining switching equipment
Equipment, it is, failed server receives connection of the part switching equipment in remaining switching equipment for query feedback
State, then perform S13;
Whether the connection status of the feedback that S09, judgement are received is designated as connection failure;If not, performing S10;Such as
Fruit is to perform S11;
S10, determine that SDN controllers are normal;
If in addition, remaining switching equipment feedback connection status inequality be designated as connection failure, it is, at least one
The connection status of individual feedback is designated as successful connection, and failed server, can also be really in addition to it can determine SDN controllers normally
Surely send connection status and be designated as the link failure between the switching equipment of connection failure and SDN controllers.
After S10, when failed server receives the connection status that first is designated as connection failure, re-execute
S01。
S11, determine SDN controller failures;
S12, by the connection status of remaining switching equipment be both configured to connection it is invalid;
S11 can be performed afterwards, it is, determining SDN controller failures.
In addition, now remaining switching equipment is not all directed to query feedback connection status, failed server can determine to remain
Remaining switching equipment all failures.
Whether the connection status of the feedback that S13, judgement are received is designated as connection failure;If it is, performing S14;Such as
It is really no, perform S15;
S14, by the connection status of the switching equipment of non-feedback link state in remaining switching equipment be both configured to connection
It is invalid;
S11 is performed afterwards, it is, determining SDN controller failures.
In addition, failed server can also determine the switching equipment event of non-feedback link state in remaining switching equipment
Barrier.
S15, by the connection status of the switching equipment of non-feedback link state in remaining switching equipment be both configured to connection
It is invalid;
S06 is performed afterwards, it is, determining that SDN controllers are normal.
Meanwhile, if the connection status inequality of the feedback for receiving is designated as connection failure, it is, the feedback for receiving
At least one connection status is designated as successful connection in connection status, by non-feedback link state in remaining switching equipment
Switching equipment connection status be both configured to connection it is invalid after, failed server is normal except that can determine SDN controllers
Outward, can also determine to send connection status and be designated as the link failure between the switching equipment of connection failure and SDN controllers,
The switch equipment failure of non-feedback link state.
Using above-described embodiment, failed server receives its connection shape with SDN controllers of each switching equipment transmission
State, when the first connection status for being designated as connection failure is received first, determines every other switching equipment and SDN controllers
Connection status;If it is determined that every other switching equipment is designated as abnormal condition with the connection status of SDN controllers, and
In the case of SDN controllers are normal, the connection status of all switching equipment and SDN controllers is all designated as abnormal condition
Possibility is very low, thus may determine that SDN controller failures, this be effectively improved determine SDN controllers whether failure
Accuracy.
With reference to Fig. 4, Fig. 4 is a kind of structural representation of the determining device of SDN controller failures provided in an embodiment of the present invention
Figure, is applied to failed server, and the device includes:
Receiving unit 401, the connection status for receiving switching equipment transmission;Here, connection status be switching equipment with
The connection status of SDN controllers;
First determining unit 402, for when the first connection status for being designated as connection failure is received first, it is determined that removing
Send the connection status of the every other switching equipment and SDN controllers beyond the first switching equipment of the first connection status;
Second determining unit 403, for when every other switching equipment and the connection status of SDN controllers be designated as it is non-
During normal condition, SDN controller failures are determined.
In other embodiments of the invention, the first determining unit 402, specifically can be used for:
When the first connection status for being designated as connection failure is received first, start timer;
When timer then after, it is determined that except send the first connection status the first switching equipment in addition to every other exchange
The connection status of equipment and SDN controllers.
In other embodiments of the invention, the first determining unit 402, specifically can be used for:
When timer then after, it is determined that at least one second connection status received in timer duration;
If the second connection status for receiving is designated as connection failure, to except the first friendship for sending the first connection status
Exchange device and the every other switching equipment sent beyond the second switching equipment of the second connection status inquire about connection status;
In this case, the second determining unit 403, specifically can be used for:
If the connection status for inquiring is designated as abnormal condition, it is determined that SDN controller failures.
In other embodiments of the invention, abnormal condition includes:Connection failure and connection are invalid;
In this case, the second determining unit 403, specifically can be used for:
If the every other switching equipment received in addition to the first switching equipment and the second switching equipment is anti-for inquiry
The connection status of feedback, and it is designated as connection failure, it is determined that SDN controller failures;
If not receiving the connection status for query feedback, it is determined that except the first switching equipment and the second switching equipment with
Outer every other switching equipment is designated as being connected invalid with the connection status of SDN controllers, determines SDN controller failures;
If partly being exchanged in receiving the every other switching equipment in addition to the first switching equipment and the second switching equipment
Equipment is directed to the connection status of query feedback, and is designated as connection failure, it is determined that for the non-feedback link state of inquiry
Switching equipment is designated as being connected invalid with the connection status of SDN controllers, and determines SDN controller failures.
In other embodiments of the invention, the first determining unit 402, specifically can be used for:
If except the second switching equipment of the second connection status of the first switching equipment and transmission for sending the first connection status
The quantity of every other switching equipment in addition is less than or equal to predetermined number, then inquire about connection status.
Using above-described embodiment, failed server receives its connection shape with SDN controllers of each switching equipment transmission
State, when the first connection status for being designated as connection failure is received first, determines every other switching equipment and SDN controllers
Connection status;If it is determined that every other switching equipment is designated as abnormal condition with the connection status of SDN controllers, and
In the case of SDN controllers are normal, the connection status of all switching equipment and SDN controllers is all designated as abnormal condition
Possibility is very low, thus may determine that SDN controller failures, this be effectively improved determine SDN controllers whether failure
Accuracy.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to
Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for system reality
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of determination method of software defined network SDN controller failures, it is characterised in that be applied to failed server, institute
The method of stating includes:
Receive the connection status that switching equipment sends;The connection status is the company of the switching equipment and the SDN controllers
Connect state;
When the first connection status for being designated as connection failure is received first, it is determined that except sending the of first connection status
The connection status of every other switching equipment beyond one switching equipment and the SDN controllers;
When the every other switching equipment is designated as abnormal condition with the connection status of the SDN controllers, it is determined that
The SDN controller failures.
2. method according to claim 1, it is characterised in that described ought receiving first is designated as the first of connection failure
During connection status, the method also includes:Start timer;
The every other switching equipment determined in addition to the first switching equipment of first connection status is sent with it is described
The connection status of SDN controllers, including:
When the timer then after, it is determined that every other in addition to the first switching equipment of first connection status is sent
The connection status of switching equipment and the SDN controllers.
3. method according to claim 2, it is characterised in that it is described when the timer then after, it is determined that except sending institute
The connection status of the every other switching equipment and the SDN controllers beyond the first switching equipment of the first connection status is stated,
Including:
When the timer then after, it is determined that at least one second connection status received in the timer duration;
If second connection status for receiving is designated as connection failure, to except sending the of first connection status
One switching equipment and the every other switching equipment inquiry sent beyond the second switching equipment of second connection status connect
Connect state;
It is described when the every other switching equipment is abnormal condition with the connection status of the SDN controllers, it is determined that
The SDN controller failures, including:
If the connection status for inquiring is designated as abnormal condition, it is determined that the SDN controller failures.
4. method according to claim 3, it is characterised in that the abnormal condition includes:Connection failure and connection nothing
Effect;
If the connection status for inquiring is designated as abnormal condition, it is determined that the SDN controller failures, bag
Include:
If receiving the every other switching equipment pin in addition to first switching equipment and second switching equipment
To the connection status of the query feedback, and it is designated as connection failure, it is determined that the SDN controller failures;
If not receiving the connection status for the query feedback, it is determined that described except first switching equipment and described
Every other switching equipment beyond two switching equipment is designated as being connected invalid with the connection status of the SDN controllers, really
The fixed SDN controller failures;
If in receiving the every other switching equipment in addition to first switching equipment and second switching equipment
Part switching equipment is directed to the connection status of the query feedback, and is designated as connection failure, it is determined that for the inquiry
The switching equipment of non-feedback link state is designated as being connected invalid with the connection status of SDN controllers, and determines the SDN controls
Device failure processed.
5. method according to claim 3, it is characterised in that described to except the first friendship for sending first connection status
Exchange device and the every other switching equipment inquiry sent beyond the second switching equipment of second connection status connect shape
State, including:
If except the first switching equipment for sending first connection status and the second exchange for sending second connection status
The quantity of the every other switching equipment beyond equipment is less than or equal to predetermined number, then inquire about connection status.
6. a kind of determining device of software defined network SDN controller failures, it is characterised in that be applied to failed server, institute
Stating device includes:
Receiving unit, the connection status for receiving switching equipment transmission;The connection status be the switching equipment with it is described
The connection status of SDN controllers;
First determining unit, for when the first connection status for being designated as connection failure is received first, it is determined that except transmission institute
State the connection status of the every other switching equipment and the SDN controllers beyond the first switching equipment of the first connection status;
Second determining unit, for being designated as with the connection status of the SDN controllers when the every other switching equipment
During abnormal condition, the SDN controller failures are determined.
7. device according to claim 6, it is characterised in that first determining unit, specifically for:
When the first connection status for being designated as connection failure is received first, start timer;
When the timer then after, it is determined that every other in addition to the first switching equipment of first connection status is sent
The connection status of switching equipment and the SDN controllers.
8. device according to claim 7, it is characterised in that first determining unit, specifically for:
When the timer then after, it is determined that at least one second connection status received in the timer duration;
If second connection status for receiving is designated as connection failure, to except sending the of first connection status
One switching equipment and the every other switching equipment inquiry sent beyond the second switching equipment of second connection status connect
Connect state;
Second determining unit, specifically for:
If the connection status for inquiring is designated as abnormal condition, it is determined that the SDN controller failures.
9. device according to claim 8, it is characterised in that the abnormal condition includes:Connection failure and connection nothing
Effect;
Second determining unit, specifically for:
If receiving the every other switching equipment pin in addition to first switching equipment and second switching equipment
To the connection status of the query feedback, and it is designated as connection failure, it is determined that the SDN controller failures;
If not receiving the connection status for the query feedback, it is determined that described except first switching equipment and described
Every other switching equipment beyond two switching equipment is designated as being connected invalid with the connection status of the SDN controllers, really
The fixed SDN controller failures;
If in receiving the every other switching equipment in addition to first switching equipment and second switching equipment
Part switching equipment is directed to the connection status of the query feedback, and is designated as connection failure, it is determined that for the inquiry
The switching equipment of non-feedback link state is designated as being connected invalid with the connection status of SDN controllers, and determines the SDN controls
Device failure processed.
10. device according to claim 8, it is characterised in that first determining unit, specifically for:
If except the first switching equipment for sending first connection status and the second exchange for sending second connection status
The quantity of the every other switching equipment beyond equipment is less than or equal to predetermined number, then inquire about connection status.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104317.3A CN106878080B (en) | 2017-02-24 | 2017-02-24 | Method and device for determining fault of software defined network controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104317.3A CN106878080B (en) | 2017-02-24 | 2017-02-24 | Method and device for determining fault of software defined network controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106878080A true CN106878080A (en) | 2017-06-20 |
CN106878080B CN106878080B (en) | 2021-03-12 |
Family
ID=59167687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710104317.3A Active CN106878080B (en) | 2017-02-24 | 2017-02-24 | Method and device for determining fault of software defined network controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106878080B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418863A (en) * | 2018-01-31 | 2018-08-17 | 深信服科技股份有限公司 | Management method, SDN controllers and the storage medium of controller cluster |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243239A (en) * | 2014-09-23 | 2014-12-24 | 杭州华三通信技术有限公司 | State inspection method and device for controllers in SDN clusters |
CN104601380A (en) * | 2015-01-30 | 2015-05-06 | 杭州华三通信技术有限公司 | Software-defined network controller and host computer information recovery method thereof |
CN105634817A (en) * | 2016-01-08 | 2016-06-01 | 广州西麦科技股份有限公司 | Network fault automatic detecting system and method based on SDN |
WO2016177205A1 (en) * | 2015-07-22 | 2016-11-10 | 中兴通讯股份有限公司 | Indication method and apparatus for connection state of software defined network device and controller |
CN106130767A (en) * | 2016-09-23 | 2016-11-16 | 深圳灵动智网科技有限公司 | The system and method that a kind of service path failure monitoring and fault solve |
-
2017
- 2017-02-24 CN CN201710104317.3A patent/CN106878080B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243239A (en) * | 2014-09-23 | 2014-12-24 | 杭州华三通信技术有限公司 | State inspection method and device for controllers in SDN clusters |
CN104601380A (en) * | 2015-01-30 | 2015-05-06 | 杭州华三通信技术有限公司 | Software-defined network controller and host computer information recovery method thereof |
WO2016177205A1 (en) * | 2015-07-22 | 2016-11-10 | 中兴通讯股份有限公司 | Indication method and apparatus for connection state of software defined network device and controller |
CN105634817A (en) * | 2016-01-08 | 2016-06-01 | 广州西麦科技股份有限公司 | Network fault automatic detecting system and method based on SDN |
CN106130767A (en) * | 2016-09-23 | 2016-11-16 | 深圳灵动智网科技有限公司 | The system and method that a kind of service path failure monitoring and fault solve |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418863A (en) * | 2018-01-31 | 2018-08-17 | 深信服科技股份有限公司 | Management method, SDN controllers and the storage medium of controller cluster |
Also Published As
Publication number | Publication date |
---|---|
CN106878080B (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8085670B2 (en) | Method and system for originating connectivity fault management (CFM) frames on non-CFM aware switches | |
CN101286899B (en) | Network system and node apparatus | |
CN101459594B (en) | BFD packet transmitting method, link failure detection method and apparatus | |
US8064353B2 (en) | Communication device, communication system, and communication fault detection method | |
US7697440B2 (en) | Scalable selective alarm suppression for data communication network | |
CN1889579B (en) | Method and apparatus for raising route information protocol route convergence rate | |
JP5764820B2 (en) | Transmission system and transmission system control method | |
JP4524686B2 (en) | Cluster system, cluster member and program | |
CN101557317A (en) | Active dialogue backup system, equipment and method in dual-server hot-backup network | |
EP2911355B1 (en) | Method and device for flow path negotiation in link aggregation group | |
CN102035676A (en) | ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault | |
EP2161880A1 (en) | A method for processing ether rig net message and an ether rig net protection system using the method | |
EP2712135A1 (en) | Network system, transmission device, and fault information delivery method | |
US20160119183A1 (en) | System and method for master switch election | |
CN102823194A (en) | Operations, administrations and management proxy and a method for handling operations, administrations and management messages | |
CN107645394B (en) | Switch configuration method in SDN network | |
WO2014117737A1 (en) | Oam packet processing method, device and system | |
US8559317B2 (en) | Alarm threshold for BGP flapping detection | |
CN101977142A (en) | Simple network management method and device based on multiple routing protocol instances | |
CN106878080A (en) | A kind of determination method and device of software defined network controller failure | |
CN108259442B (en) | Slow protocol message processing method and related device | |
CN101771592A (en) | Method for automatically configuring EAPS transmission nodes | |
CN104426700A (en) | Network element and ring network protection method | |
CN109039889A (en) | A kind of message forwarding method and device | |
CN104270307A (en) | Establishing method and device for BGP neighborhood |
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 |