CN105897580B - A kind of unrelated forwarding network quick fault testing of agreement and traffic protection switching method - Google Patents
A kind of unrelated forwarding network quick fault testing of agreement and traffic protection switching method Download PDFInfo
- Publication number
- CN105897580B CN105897580B CN201610187264.1A CN201610187264A CN105897580B CN 105897580 B CN105897580 B CN 105897580B CN 201610187264 A CN201610187264 A CN 201610187264A CN 105897580 B CN105897580 B CN 105897580B
- Authority
- CN
- China
- Prior art keywords
- interchanger
- message
- timer
- controller
- event
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of unrelated forwarding network quick fault testings of agreement and traffic protection switching method.The method include the steps that 1) controller notifies every a pair of interchanger S1, S2 that a timer is respectively started;2) it after the transmission timer on S1 is overtime, generates a connectivity checks message and is sent to S2;First-class meta-data unit FM_CC is set to r by S2;3) after the inspection timer expiry on S2, check that FM_CC value is set to b if it is r;If FM_CC is b, generating that a failure notification message is sent to need to be to the interchanger that event of failure responds, while S1 being notified to break down;4) be sent to failure notification need to be to the interchanger that the event of failure responds by S1;5) when source node sends data to destination node through flow switching node, flow switching node checks primary path availability, is transmitted if available by primary path, a backup path is otherwise selected to be transmitted.
Description
Technical field
The present invention relates to Internet technical fields, and in particular to the software defined network based on the unrelated forwarding (POF) of agreement
(SDN) a kind of quick fault testing and traffic protection switching method in.
Background technique
The unrelated forwarding (POF) of agreement is the extension to software defined network (SDN) southbound interface agreement OpenFlow.POF
It provides the direct specified rule matching field of SDN controller and instructs the offset of operation field and the ability of length, define
Field modification, insertion, delete, mathematics and logical operation, verification and calculating, instruction jump etc., and instruction is various for carrying out to message
In addition operation also adds the new features such as stream metadata (Flow Metadata), instruction modification.In POF network, data are flat
Face is not necessarily to the knowledge for having specific network protocols, it is only necessary to Various types of data plane association can be realized according to the rule that controller issues
Function is discussed, to realize the depth programmability of data plane, while also being provided for the more abundant network function of realization
Possibility.
Traffic protection switching is for when network node or link break down, and in a very short period of time (generally less than 50
Millisecond) flow switched into backup path, realize the high availability of network, meet the high real-times such as voice, video flow for
The demand of flow recovery time.The premise of flow switching is node and link failure in sensing network, therefore is realized a kind of fast
The fault detection method of speed equally has great importance to realization network high availability.
There is presently no the mechanism of failure definition detection and traffic protection switching by POF.
OpenFlow defines protection of the group of Fast Failover type for flow at present and switches.When local direct-connected
When link breaks down, flow will be switched to backup link.This method is only capable of could when link-local breaks down
Triggering switching is unable to the failure of the non-straight connected link in front in perceived flux forward-path.
Paper " Scalable fault management for OpenFlow " (2012 IEEE International
Conference on Communications (ICC)) and U.S. Patent application 61346227 propose in OpenFlow network
By BFD (two-way converting detection, RFC 5880 are defined) monitoring forward-path, any link or node failure can quilts in path
It detects, and triggers Fast Failover group switching flow.The following limitations exist for this method:
It can only support existing agreement such as Ethernet, IP, MPLS etc., and protocol type is supported by OpenFlow
The limitation of range cannot flexibly support new agreement;
It needs to realize that hardware message generates engine, increases the complexity and cost of interchanger, and lattice can only be generated
The more fixed message of formula, flexibility are poor;
It needs to establish BFD session between the Ingress node and Egress node of stream, in large scale network, the quantity of stream
Very big, Ingress node and Egress node are different, and the quantity of BFD session is very big, waste network bandwidth;
This mechanism needs to consume OpenFlow group resource.In hardware switch, group resource is limited and one
As need to share between the group of different type (Fast Failover, All, Select, Indirect), excessive group is provided
Source switches for flow will will affect the realization of other network functions such as multicast, load balancing.
Summary of the invention
For the technical problems in the prior art, the purpose of the present invention is to provide a kind of unrelated forwarding networks of agreement
Quick fault testing and traffic protection switching method.
The technical solution of the present invention is as follows:
A kind of unrelated forwarding network quick fault testing method of agreement, the steps include:
1) every a pair of of interchanger S1, S2 in forwarding network unrelated for agreement, controller connect interchanger S1, S2
General character detection, wherein detection of connectivity direction is from interchanger S1 to interchanger S2: controller sends a timing to interchanger S1
Device configures message, and notice interchanger S1 starts a transmission timer;A timer configuration message is sent to interchanger S2, notifies S2
Starting one checks timer;Wherein, the content of the timer configuration message includes OpenFlow/POF heading, timer mark
Knowledge, timer-type, timeout interval;
2) after the transmission timer on interchanger S1 is overtime, interchanger S1 is infused by a reserved port to its data plane
Enter a timer time out event message;Wherein, the content of the timer expiry event message includes a type field and a timing
Device identification field;Then the flow table rule and the timer expiry event message that interchanger S1 is issued in advance according to controller generate
One connectivity checks message, and send it to interchanger S2;
3) the flow table rule that interchanger S2 is issued in advance according to controller will when receiving the connectivity checks message
A stream meta-data unit FM_CC in interchanger S2 is set to setting value r, and expression receives the connectivity checks message;
4) after the inspection timer expiry on interchanger S2, interchanger S2 is infused by a reserved port to its data plane
Enter a timer time out event message;Wherein, the content of the timer expiry event message includes a type field and a timing
Device identification field;Then the flow table rule that interchanger S2 is issued in advance according to controller, checks stream meta-data unit FM_CC's
Value is set to b if the value of FM_CC is r;If the value of FM_CC is b, expression does not receive connectivity checks message,
There are event of failure, then the flow table rule that interchanger S2 is issued in advance according to controller generates a failure notification message and passes through number
Being sent to according to plane and control plane need to be to the interchanger that the event of failure responds, while interchanger S2 notifies interchanger S1
It breaks down;
5) the flow table rule issued in advance according to controller, interchanger S1 is in the failure notification for receiving interchanger S2 transmission
When, received failure notification is sent to by data plane and control plane need to be to the exchange that the event of failure responds
Machine.
A kind of unrelated traffic protection switching method for forwarding network of agreement, the steps include:
1) every a pair of of interchanger S1, S2 in forwarding network unrelated for agreement, controller connect interchanger S1, S2
General character detection, wherein detection of connectivity direction is from interchanger S1 to interchanger S2: controller sends a timing to interchanger S1
Device configures message, and notice interchanger S1 starts a transmission timer;A timer configuration message is sent to interchanger S2, notifies S2
Starting one checks timer;Wherein, the content of the timer configuration message includes OpenFlow/POF heading, timer mark
Knowledge, timer-type, timeout interval;
2) after the transmission timer on interchanger S1 is overtime, interchanger S1 is infused by a reserved port to its data plane
Enter a timer time out event message;Wherein, the content of the timer expiry event message includes a type field and a timing
Device identification field;Then the flow table rule and the timer expiry event message that interchanger S1 is issued in advance according to controller generate
One connectivity checks message, and send it to interchanger S2;
3) the flow table rule that interchanger S2 is issued in advance according to controller will when receiving the connectivity checks message
A stream meta-data unit FM_CC in interchanger S2 is set to setting value r, and expression receives the connectivity checks message;
4) after the inspection timer expiry on interchanger S2, interchanger S2 is infused by a reserved port to its data plane
Enter a timer time out event message;Wherein, the content of the timer expiry event message includes a type field and a timing
Device identification field;Then the flow table rule that interchanger S2 is issued in advance according to controller, checks stream meta-data unit FM_CC's
Value is set to b if the value of FM_CC is r;If the value of FM_CC is b, expression does not receive connectivity checks message,
There are event of failure, then the flow table rule that interchanger S2 is issued in advance according to controller generates a failure notification message and passes through number
Being sent to according to plane and control plane need to be to the interchanger that the event of failure responds, while interchanger S2 notifies interchanger S1
It breaks down;
5) the flow table rule issued in advance according to controller, interchanger S1 is in the failure notification for receiving interchanger S2 transmission
When, received failure notification is sent to by data plane and control plane need to be to the exchange that the event of failure responds
Machine;
6) when the source node of data transmission sends data to destination node through flow switching node, the inspection of flow switching node
The corresponding stream meta-data unit value of each link of primary path process is looked into determine the availability of primary path, if primary road
Diameter is available, then is carried out data transmission by primary path, and otherwise flow switching node checks each link that backup path passes through
Corresponding stream meta-data unit value is to determine that a backup path carries out data transmission;Wherein, flow switching node arrives for source node
The node of divergence of primary path and backup path in destination node transmission direction.
Further, when interchanger S2 detects failure of connectivity, interchanger S2 is by its first-class meta-data unit FM_CF
Value be set as f, there is shown existing failure;After the inspection timer expiry of interchanger S2, if FM_CC value is that b and FM_CF value is set
For f, then it is not repeated to send failure notification message.
Further, flow switching node is passed through each using stream meta-data unit record primary path and backup path
The connectivity of a link;When receiving a failure notification message, the processing failure notification message that is issued in advance according to controller
Rule corresponding stream meta-data unit being changed to to indicate the link, there are the values of failure, thus trigger flow switch to other can
Use path;When flow switching node receive controller transmission the PACKET_OUT message comprising fault clearance notice message, then
Fault clearance notice message is imported into data plane, notice message is then removed according to the handling failure that controller issues in advance
Rule is revised as corresponding stream meta-data unit to indicate the value that link works normally.
Further, if FM_CF value is f after interchanger S2 receives the connectivity checks message of S1 transmission again,
S then is set by FM_CF value, indicates to work normally;And generate a fault clearance notice message and be sent to controller, then control
Fault clearance notice message is sent to by device by PACKET_OUT message need to be to the interchanger that fault clearance event responds.
Further, interchanger S2 checks that the timeout interval of timer is greater than between the time-out of interchanger S1 transmission timer
Every.
Further, generate the method for the connectivity checks message are as follows: to from reserved port receive and type be timer
The message of time out event deletes the event message type field and timer ID field of the message, then adds source address, mesh
Address, type of message, connectivity checks session identification, generate connectivity checks message.
Further, in step 4), the method for interchanger S2 notice interchanger S1 are as follows: interchanger S2 generates a failure notification
Message;Then the failure notification message is sent to interchanger S1 in data plane and control plane.
Further, in step 4), the method for interchanger S2 notice interchanger S1 are as follows: interchanger S2 is by checking FM_CF
Value, issued in the connectivity checks message of interchanger S1 in the opposite direction and set d, table for far-end fault indication field RDI
Show that there are failures in S1 to the direction S2.
Further, in step 4), method that interchanger S2 generates the failure notification message are as follows: to timer expiry event
Message is modified, and is added local node mark, connectivity checks session identification or corresponding port-mark, is generated failure
Notice message.
Further, data are switched to determining spare by the flow switching node using jump instruction or branch instruction
It is transmitted on path.
Compared with prior art, the positive effect of the present invention are as follows:
The present invention can be used when data plane supports existing agreement, when data plane supports new agreement
It can be used, there is very high scalability and adaptability;
Connectivity checks message modifies generation on the basis of timer event message, and interchanger is without realizing additional report
Text generates engine, economy with higher;
The format of connectivity checks message issues rule control by controller, can according to need variation to realize enhancing
Audit function, such as in real time change message length to check whether different length message can correctly be forwarded, improve flexibly
Property;
It only needs to establish connectivity checks session between two direct-connected ports, i.e. the quantity of session is equal to link
Quantity greatly reduces the number of sessions that network needs to establish;
Data plane can propagated and handled to failure notification message, ensure that network carries out event of failure
The timeliness of response;
Failure notification message issues regular progress, exchange according to controller in the propagation and processing of data plane in advance
Machine does not need to realize additional function, reduces the complexity and cost of interchanger realization;
Flow switching is carried out when failure occurs using the conditional jump instructions in POF, does not need consumption OpenFlow/
POF group resource;
When failure occurs, not needing to modify stream rule one by one can be realized flow switching, when realizing flow and restoring
Between with stream quantity it is unrelated, have very high scale adaptability.
Detailed description of the invention
Fig. 1 is session connectivity checks schematic diagram;
Fig. 2 is connectivity checks session receiving end process flow diagram;
Fig. 3 is primary path and backup path schematic diagram.
Specific embodiment
The present invention includes quick fault testing and traffic protection switches two parts, and the course of work is described as follows respectively.
1.1 quick fault testing
In order to quickly detect link or node failure between two network nodes, must between the two nodes the company of foundation
General character inspection session, bi-directionally sent connectivity checks message, as shown in Figure 1.
It may include other nodes between two endpoints of connectivity checks session.Due to the mechanism proposed through the invention
Event of failure can fast notification other nodes, it is general only to need to establish session between the node being connected directly.
Connectivity checks session is made of both direction.By taking interchanger S1 to the direction of interchanger S2 in Fig. 1 as an example, work
It is as follows to make process:
POF agreement is extended, increasing the message that the new type of one kind is TIMER_CONFIG, (timer configuration disappears
Breath), content include OpenFlow/POF heading, timer ID (Identifier), timer-type (primary time-out/
Circulation time-out), timeout interval etc..Controller sends a TIMER_CONFIG message to interchanger S1, and notice S1 starts one
Cycle timer (referred to as transmission timer), timeout interval are t (3.3 milliseconds or other values);Controller is in addition to interchanger S2
Another TIMER_CONFIG message is sent, notice S2 starts a cycle timer (referred to as inspection timer), timeout interval
The value (generally 3 times of t value) for being greater than t for one.After timer expiry on S1 or S2, can it pass through application number:
2016101331087, the method proposed in denomination of invention " a kind of agreement unrelated forwarding network event processing method " is by this exchange
Timer expiry event message is injected to the data plane of this interchanger in the event port of machine, and message content includes a class type-word
Section (indicating that the message is timer expiry message) and a timer ID field.
The flow table rule issued in advance according to controller, interchanger S1 from event port for receiving and type is timer
The message of time out event executes following movement: deleting unnecessary field, (such as event message type, timer ID etc. are only
In the effective field of this node), the fields such as source address, destination address, type of message, connectivity checks session identification are added, it is raw
S2 is sent at connectivity checks message, and by message.If S1 and S2 are not the neighbor node being connected directly, connectivity checks
The propagation path of message is calculated by controller, and controller, which additionally needs, to be issued rule and make it by connectivity checks report to intermediate node
Text is forwarded to S2.
The flow table rule issued in advance according to controller, interchanger S2 is in the connectivity checks message for receiving S1 transmission
When, a stream meta-data unit FM_CC is set to particular value r, expression has received connectivity checks message.
S2 can generate the message of a timer time out event when checking timer expiry, be issued in advance according to controller another
One flow table rule, interchanger S2 are executed following for receiving from event port and type is the message of timer expiry event
Movement: checking FM_CC value, and by POF jump and/or branch instruction executes following movement: if FM_CC value is r, by it
It is set as b;If FM_CC value is b (indicates to check in timer expiry interval and do not receive connectivity checks message), to fixed
When device time out event message modify, delete unnecessary field (such as only in the effective field of this node), add local
The fields such as node identification, connectivity checks session identification or corresponding port-mark generate event notice message, claim at this time
For failure notification message.Then the event by being proposed in invention " a kind of agreement is unrelated to forward network general purpose event processing method "
Mechanism of transmission is diffused in data plane and control plane to the node that need to be responded to the event of failure.
After event of failure generation, the value that one is flowed meta-data unit FM_CF should be set as f by interchanger S2 (indicates occur
Failure).After subsequent examination timer expiry, if FM_CC value is that b and FM_CF value is set as f, it is not repeated that sending failure leads to
Know message.Above procedure is as shown in Figure 2 (not including the part within dotted line frame).
Failure notification message can be issued S1 by S2, can also issue S1's in the opposite direction by the value of inspection FM_CF
Setting d for specific field value (hereinafter referred to as far-end fault indication field RDI) in connectivity checks message (indicates in S1 to S2
There are failures in direction) event of failure is notified S1.
The flow table rule issued in advance according to controller, S1 is in the failure notification message or RDI field for receiving S2 transmission
When being set as the connectivity checks message of d, received failure notification message is passed through into application number: 2016101331087, invention name
Claim the method proposed in " a kind of agreement unrelated forwarding network event processing method " by data plane and controls plane and expanded
It dissipates, or received connectivity checks message is revised as failure notification message (movement of modification includes by connectivity checks message
The fields such as destination address, source address, type of message be revised as analog value and addition port-mark of failure notification message etc.
Field), and by data plane and control plane to need to be spread to node that the event of failure responds.
After fault recovery, S2 will receive the connectivity checks message of S1 transmission again.S2 when receiving message or
When FM_CC value is r after inspection timer expiry, FM_CF is checked, if value is f, setting s for FM_CF value, (expression is normal
Work), and using the event notification message proposed in invention " a kind of agreement unrelated forwarding network general purpose event processing method " or
Event notifies PACKET_IN message that the event notice message (referred to as fault clearance notice message) of fault clearance is notified control
Device, for controller after suitable time-delay, being sent to fault clearance notice message by PACKET_OUT message need to be to fault clearance
The interchanger that event responds.Delay can inhibit concussion when link exists and shakes, and avoid repeatedly to interchanger
Send failure notification message and fault clearance notice message.The processing stream whether failure is restored is checked after checking timer expiry
Journey is as shown in Fig. 2 dotted line frame inner part.
It is similar to the direction S2 with S1 in the course of work of interchanger S2 to the direction interchanger S1, connectivity checks session.
If interchanger S1 breaks down, S2 will not receive the connectivity checks message of S1 transmission, according to the above process,
S2 extremely need to report that the node that the event of failure responds, its link between S1 is unavailable for failure notification message is sent.
If there are also connectivity checks session is run between other interchangers and S1, these nodes can also send the report of failure notification message
Its link between S1 is unavailable.
The switching of 1.2 traffic protections
If there is mulitpath between the two nodes, controller can issue rule and establish backup except primary path
Path.Such as in Fig. 3, the primary path from node A to D is ABCD, and backup path AFED, node A is known as flow at this time
The node of divergence of primary path and backup path on switching node, i.e. source node to destination node transmission direction.
Each link that flow switching node is passed through using stream meta-data unit expression primary path and backup path
Connectivity, such as the connectivity of link A_B and B_C are indicated with FM_AB and FM_BC respectively.It is available that value w and i respectively indicate link
With there are failures.
Flow switching node checks each link (i.e. adjacent two exchange mechanism that primary path passes through in converting flow
At link) corresponding stream meta-data unit value to be to determine the availability of primary path.Such as flow is being forwarded to D by node A
When, following transition formula evaluation is calculated using POF instruction:
(1) (FM_AB==w) && (FM_BC==w) && (FM_CD==w)
Then using POF jump and/or branch instruction realizes following movement: IF expression value be it is true, indicate primary
Each link that path is passed through is available, then forwards flow by primary path, otherwise forwards flow by backup path.
When a network link or a nodes break down, flow switching node will receive failure notification message, root
Corresponding stream meta-data unit is changed to indicate link that there are failures by the rule of the processing message issued in advance according to controller
Value, so that triggering flow switches to backup path.Such as when link B_C breaks down, node A will receive the failure of B transmission
The value of FM_BC is changed to i by notice message, so before forwarding toward the flow of D when, the value of expression formula (1) will be false, flow
Backup path will be sent to.
When primary path breaks down, flow switching node can also check the availability of backup path, only at it
When available, just by its transmitted traffic, to avoid waste Internet resources.Such as node A is that fictitious time can be counted in expression formula (1)
Calculate the value of following formula:
(2) (FM_AF==w) && (FM_FE==w) && (FM_ED==w)
Only when the value of expression formula (2) is true, flow is just sent to node I, otherwise abandons flow.
Backup path can have it is a plurality of, controller can by rule control when primary path breaks down backup path
Selecting sequence.
After fault recovery, what flow switching node will receive controller transmission includes fault clearance notice message
PACKET_OUT message, and fault clearance notice message importing data plane is handled.It is issued in advance according to controller
Handling failure removes the rule of notice message, and flow switching node is revised as corresponding stream meta-data unit to indicate that link is normal
The value of work, so that triggering flow switches back into primary path.Such as after link B_C fault recovery, node A is being received
After PACKET_OUT message, the value of FM_BC can be changed to w, so before forwarding toward the flow of D when, the value of expression formula (1) will
It is true (assuming that other failures are not present in primary path at this time), flow will be sent to primary path.
Claims (10)
1. a kind of unrelated forwarding network quick fault testing method of agreement, the steps include:
1) every a pair of of interchanger S1, S2 in forwarding network unrelated for agreement, controller carry out connectivity to interchanger S1, S2
Detection, wherein detection of connectivity direction is from interchanger S1 to interchanger S2: controller sends a timer to interchanger S1 and matches
Message is set, notice interchanger S1 starts a transmission timer;Controller sends a timer configuration message, notice to interchanger S2
S2 starting one checks timer;Wherein, controller includes to the content of interchanger S1 and S2 the timer configuration message sent
OpenFlow/POF heading, timer ID, timer-type, timeout interval;
2) after the transmission timer on interchanger S1 is overtime, interchanger S1 injects one to its data plane by a reserved port
Timer expiry event message;Wherein, the content of the timer expiry event message includes a type field and a timer mark
Character learning section;Then the flow table rule and the timer expiry event message that interchanger S1 is issued in advance according to controller generate one and connect
The general character checks message, and sends it to interchanger S2;
3) the flow table rule that interchanger S2 is issued in advance according to controller, when receiving the connectivity checks message, will exchange
A stream meta-data unit FM_CC in machine S2 is set to setting value r, and expression receives the connectivity checks message;
4) after the inspection timer expiry on interchanger S2, interchanger S2 injects one to its data plane by a reserved port
Timer expiry event message;Wherein, the content of the timer expiry event message includes a type field and a timer mark
Character learning section;Then the flow table rule that interchanger S2 is issued in advance according to controller, checks the value of stream meta-data unit FM_CC, such as
The value of fruit FM_CC is r, then is set to b;If the value of FM_CC is b, expression does not receive connectivity checks message, there is event
Barrier event, then the flow table rule that interchanger S2 is issued in advance according to controller generate a failure notification message and pass through data plane
Being sent to control plane need to be to the interchanger that the event of failure responds, while event occurs in interchanger S2 notice interchanger S1
Barrier;
5) the flow table rule issued in advance according to controller, interchanger S1 when receiving the failure notification of interchanger S2 transmission,
Received failure notification is sent to by data plane and control plane need to be to the interchanger that the event of failure responds.
2. a kind of unrelated traffic protection switching method for forwarding network of agreement, the steps include:
1) every a pair of of interchanger S1, S2 in forwarding network unrelated for agreement, controller carry out connectivity to interchanger S1, S2
Detection, wherein detection of connectivity direction is from interchanger S1 to interchanger S2: controller sends a timer to interchanger S1 and matches
Message is set, notice interchanger S1 starts a transmission timer;Controller sends a timer configuration message, notice to interchanger S2
S2 starting one checks timer;Wherein, controller includes to the content of interchanger S1 and S2 the timer configuration message sent
OpenFlow/POF heading, timer ID, timer-type, timeout interval;
2) after the transmission timer on interchanger S1 is overtime, interchanger S1 injects one to its data plane by a reserved port
Timer expiry event message;Wherein, the content of the timer expiry event message includes a type field and a timer mark
Character learning section;Then the flow table rule and the timer expiry event message that interchanger S1 is issued in advance according to controller generate one and connect
The general character checks message, and sends it to interchanger S2;
3) the flow table rule that interchanger S2 is issued in advance according to controller, when receiving the connectivity checks message, will exchange
A stream meta-data unit FM_CC in machine S2 is set to setting value r, and expression receives the connectivity checks message;
4) after the inspection timer expiry on interchanger S2, interchanger S2 injects one to its data plane by a reserved port
Timer expiry event message;Wherein, the content of the timer expiry event message includes a type field and a timer mark
Character learning section;Then the flow table rule that interchanger S2 is issued in advance according to controller, checks the value of stream meta-data unit FM_CC, such as
The value of fruit FM_CC is r, then is set to b;If the value of FM_CC is b, expression does not receive connectivity checks message, there is event
Barrier event, then the flow table rule that interchanger S2 is issued in advance according to controller generate a failure notification message and pass through data plane
Being sent to control plane need to be to the interchanger that the event of failure responds, while event occurs in interchanger S2 notice interchanger S1
Barrier;
5) the flow table rule issued in advance according to controller, interchanger S1 when receiving the failure notification of interchanger S2 transmission,
Received failure notification is sent to by data plane and control plane need to be to the interchanger that the event of failure responds;
6) when the source node of data transmission sends data to destination node through flow switching node, flow switching node inspection master
The corresponding meta-data unit value that flows of each link passed through with path is to determine the availability of primary path, if primary path can
With, then carried out data transmission by primary path, otherwise flow switching node check backup path pass through each link pair answer
Stream meta-data unit value with determine a backup path carry out data transmission;Wherein, flow switching node is source node to purpose
The node of divergence of primary path and backup path on node-node transmission direction.
3. method according to claim 1 or 2, which is characterized in that when interchanger S2 detects failure of connectivity, interchanger
The value of its first-class meta-data unit FM_CF is set as f by S2, there is shown existing failure;After the inspection timer expiry of interchanger S2,
If FM_CC value is that b and FM_CF value is set as f, it is not repeated to send failure notification message.
4. method according to claim 1 or 2, which is characterized in that flow switching node uses stream meta-data unit record master
With the connectivity for each link that path and backup path pass through;It is pre- according to controller when receiving a failure notification message
Corresponding stream meta-data unit is changed to indicate the link that there are failures by the rule of the processing failure notification message first issued
Value, so that triggering flow switches to other available paths;When flow switching node receive controller transmission comprising fault clearance
Fault clearance notice message is then imported data plane by the PACKET_OUT message of notice message, then preparatory according to controller
The handling failure issued removes the rule of notice message, is revised as corresponding stream meta-data unit to indicate what link worked normally
Value.
5. method as claimed in claim 3, which is characterized in that when interchanger S2 receives the connectivity checks of S1 transmission again
If FM_CF value is f after message, s is set by FM_CF value, indicates to work normally;And generate a fault clearance notice message
It is sent to controller, and then fault clearance notice message is sent to by PACKET_OUT message need to be to fault clearance for controller
The interchanger that event responds.
6. method according to claim 1 or 2, which is characterized in that interchanger S2 checks that the timeout interval of timer is greater than and hands over
It changes planes the timeout interval of S1 transmission timer.
7. method according to claim 1 or 2, which is characterized in that the method for generating the connectivity checks message are as follows: to from guarantor
It stays port reception and type is the message of timer expiry event, delete the type field and timer ID field of the message,
Then source address, destination address, type of message, connectivity checks session identification are added, connectivity checks message is generated.
8. method as claimed in claim 3, which is characterized in that in step 4), the method for interchanger S2 notice interchanger S1 are as follows:
Interchanger S2 generates a failure notification message;Then the failure notification message is sent to exchange in data plane and control plane
Machine S1;Or interchanger S2, by the value of inspection FM_CF, issuing in the opposite direction will in the connectivity checks message of interchanger S1
Far-end fault indication field RDI is set as d, indicates that there are failures in S1 to the direction S2.
9. method according to claim 1 or 2, which is characterized in that in step 4), interchanger S2 generates the failure notification message
Method are as follows: modify to timer expiry event message, add local node mark, connectivity checks session identification or with
Its corresponding port-mark generates failure notification message.
10. method according to claim 2, which is characterized in that in step 6), the flow switching node uses jump instruction
Or data are switched on determining backup path and transmit by branch instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610187264.1A CN105897580B (en) | 2016-03-29 | 2016-03-29 | A kind of unrelated forwarding network quick fault testing of agreement and traffic protection switching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610187264.1A CN105897580B (en) | 2016-03-29 | 2016-03-29 | A kind of unrelated forwarding network quick fault testing of agreement and traffic protection switching method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105897580A CN105897580A (en) | 2016-08-24 |
CN105897580B true CN105897580B (en) | 2019-01-18 |
Family
ID=57014506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610187264.1A Active CN105897580B (en) | 2016-03-29 | 2016-03-29 | A kind of unrelated forwarding network quick fault testing of agreement and traffic protection switching method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105897580B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111050339B (en) * | 2019-12-19 | 2021-01-01 | 中国科学院信息工程研究所 | High-speed data updating system and method based on protocol non-perception forwarding |
CN113992569B (en) * | 2021-09-29 | 2023-12-26 | 新华三大数据技术有限公司 | Multipath service convergence method, device and storage medium in SDN network |
CN115378844B (en) * | 2022-07-11 | 2023-06-23 | 天翼云科技有限公司 | Fault detection method and device for network link |
CN116669084B (en) * | 2023-07-31 | 2023-11-10 | 浙江大华技术股份有限公司 | Fault restoration method, device, equipment and storage medium based on cellular network |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301146A (en) * | 2014-10-23 | 2015-01-21 | 杭州华三通信技术有限公司 | Link switching method and device in software defined network |
CN105227393A (en) * | 2015-08-25 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | A kind of bidirectional forwarding detection (BFD) method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6287518B2 (en) * | 2014-04-14 | 2018-03-07 | 富士通株式会社 | OpenFlow switch and OpenFlow network failure recovery method |
US9509599B2 (en) * | 2014-08-04 | 2016-11-29 | Telefonaktiebolaget L M Ericsson (Publ) | Self-bootstrapping BFD session over MPLS LSP |
-
2016
- 2016-03-29 CN CN201610187264.1A patent/CN105897580B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301146A (en) * | 2014-10-23 | 2015-01-21 | 杭州华三通信技术有限公司 | Link switching method and device in software defined network |
CN105227393A (en) * | 2015-08-25 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | A kind of bidirectional forwarding detection (BFD) method |
Also Published As
Publication number | Publication date |
---|---|
CN105897580A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9917745B2 (en) | Validation of chained network services | |
US7924730B1 (en) | Method and apparatus for operations, administration and maintenance of a network messaging layer | |
KR101488648B1 (en) | Bootstrapping fault detection sessions over a p2mp tunnel | |
WO2016058245A1 (en) | Processing method and apparatus for operation, administration and maintenance (oam) message | |
US8537720B2 (en) | Aggregating data traffic from access domains | |
CN105897580B (en) | A kind of unrelated forwarding network quick fault testing of agreement and traffic protection switching method | |
CN103873379B (en) | A kind of distributed route based on overlay network is anti-to ruin tactics configuring method and system | |
WO2013046496A1 (en) | Communication system, sending device, communication device, failure notification method and non-temporary computer-readable medium storing program | |
US10862735B2 (en) | Method and apparatus for implementing operation, administration, and maintenance function | |
CN110324165A (en) | The management method of the network equipment, apparatus and system | |
WO2009036705A1 (en) | Method for detecting interface failure and network node equipment | |
WO2017036180A1 (en) | Packet processing method and device | |
CN1514585A (en) | Method used for detecting conncetion failure, system and network entity | |
CN105227393A (en) | A kind of bidirectional forwarding detection (BFD) method | |
CN101808021A (en) | Fault detection method, device and system, message statistical method and node equipment | |
WO2015184740A1 (en) | Method and device for processing detection hierarchy information | |
CN103220189B (en) | Multi-active detection (MAD) backup method and equipment | |
EP2129042B1 (en) | A multicast network system, node and a method for detecting a fault of a multicast network link | |
EP2858302B1 (en) | Connectivity check method of service stream link, related apparatus and system | |
US9379938B2 (en) | Method and system for SOAM flow switching | |
CN105634935A (en) | Device and method for detecting service layer signal failure | |
CN108111423A (en) | Flow transfer management method, apparatus and network derived channel equipment | |
JP6591950B2 (en) | Path state reporting calculation method based on centralized control plane | |
CN107465527A (en) | A kind of network element, pretection switch method and its system | |
Kim et al. | Protection switching methods for point‐to‐multipoint connections in packet transport networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |