[go: up one dir, main page]

CN106301537A - A kind of realize the method for APS, this end node and peer node - Google Patents

A kind of realize the method for APS, this end node and peer node Download PDF

Info

Publication number
CN106301537A
CN106301537A CN201510243733.2A CN201510243733A CN106301537A CN 106301537 A CN106301537 A CN 106301537A CN 201510243733 A CN201510243733 A CN 201510243733A CN 106301537 A CN106301537 A CN 106301537A
Authority
CN
China
Prior art keywords
protocol type
node
end node
peer node
pretection switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510243733.2A
Other languages
Chinese (zh)
Inventor
李必锴
付占亮
刘祖冲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510243733.2A priority Critical patent/CN106301537A/en
Priority to PCT/CN2016/076891 priority patent/WO2016180084A1/en
Publication of CN106301537A publication Critical patent/CN106301537A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a kind of method and apparatus realizing APS; including: after this end node confirms that triggering is switched; during this end node carries out pretection switch according to current protocol type and peer node; the pretection switch operating time of local terminal node statistics self, the pretection switch operating time of peer node statistics self;When this end node or peer node are judged during carrying out pretection switch; the pretection switch operating time of self is more than or equal to the maximum of pretection switch operating time; and current protocol type is when being not first degree protocol type, the protocol type of this end node and peer node is switched to the protocol type than the current low one-level of protocol type by this end node or peer node.By the solution of the present invention, adjust the protocol type of this end node and peer node according to the pretection switch operating time of this end node and peer node, it is achieved that on the basis of raising prevents misconnection ability as far as possible, meet minimizing of pretection switch operating time.

Description

A kind of realize the method for APS, this end node and peer node
Technical field
The present invention relates to optical-fiber network technology, espespecially one realizes APS (APS, Automatic Protect Switching) method, this end node and peer node.
Background technology
APS technology has been widely used in optical-fiber network, in addition to the protection type of 1+1 unidirectional switching, Other protection type is desirable that between two nodes (A and Z) of protected area coordinates bridge joint and choosing Selecting action, different protection type, bridging type and Selective type require different protocol types.
The method of the existing APS of realization generally comprises: after this end node confirms that triggering is switched, according in advance The protocol type arranged and peer node carry out pretection switch.Wherein, this end node and peer node are Two nodes of protected area.Table 1 is existing protocol type, protection type, bridging type and selection Mapping table between type.
Table 1
As shown in table 1, three kinds of protocol types, respectively state-1 (1-phase), state-2 are included (2-phase) with state-3 (3-phase).Wherein, when realizing pretection switch, the communication of state-1 Process is Z → A, and the communication process of state-2 is Z → A and A → Z, and the communication process of state-3 is Z → A, A → Z and Z → A.
Generally, a kind of protocol type there are two basic demands, prevent misconnection and switching time from minimizing.
Wherein, International Telecommunication Union's telecommunication standards (ITU-T, International Telecommunication Union Telecommunication Standardization Sector) guarantor that advises Switching time is defined by protective switching time model, particularly as follows:
The detection time (T1): from occurring network harm to triggered by this network harm being detected Between the time between Signal Fail (SF, Signal Fail) or Signal Degrade (SD, Signal Degree) Every.
Delay the waiting time (T2): from SF or SD triggered by this network harm being detected It is identified that to SF or SD detected being one needed between the time carrying out between the condition of pretection switch Every.
The pretection switch operating time (T3): be identified it is that needs are carried out from SF or SD detected The condition of pretection switch is to the time completed between the process of control signal necessary to pretection switch and transmission Interval.
Pretection switch passing time (T4): from complete control signal necessary to pretection switch process and It is delivered to the time interval between the operation of pretection switch.
Recovery time (T5): from completing the operation of pretection switch to protected business full recovery Time interval.
Recovery time (Tr) by protection business: complete extensive to protected business from there is network harm Time interval between Fu, Tr=T1+T2+T3+T4+T5.
Minimizing of corresponding switching time, needs to meet Tr and is less than 50 milliseconds (ms), and T1 arrives Each time of T5 is also required to less than corresponding maximum, i.e. T1max, T2max, T3max, T4max, T5max。
Wherein, for different protocol types, affecting bigger is pretection switch operating time T3.
In the existing method realizing APS, if the protocol type pre-set is state-3, then due to State-3 with protected another node priority in region after, just operation selector or bridge joint, can in case Only there is misconnection;However, it is necessary to carry out three necessary message between the two of protected area terminals Exchange just can complete pretection switch, and switching time is longer.If the protocol type pre-set is state-2, Then shorten switching time relative to state-3, and corresponding state-3 reduces the energy preventing misconnection Power, and support 1+1 and (1:1)nTwo kinds of protection types;If the protocol type pre-set is state -1, then switching time is the shortest, and prevents the ability of misconnection worst, and supports 1+1 and (1:1)n Two kinds of protection types;But, for state-1 and state-2, due to another joint in protected area Before point confirms priority, just operation bridge joint or selector, it may occur that misconnection.
It is to say, in the existing method realizing APS, no matter select which kind of protocol type, all cannot Meet two basic demands simultaneously.
Summary of the invention
In order to solve the problems referred to above, the present invention proposes and a kind of realizes the method for APS, local terminal Node and peer node, it is possible on the basis of raising as far as possible prevents misconnection ability, meet pretection switch behaviour Make minimizing of time.
In order to achieve the above object, the present invention proposes a kind of method realizing APS APS, In advance protocol type is set in this end node and peer node;Also include:
After this end node confirms that triggering is switched, at this end node according to current protocol type and peer node During carrying out pretection switch, the pretection switch operating time of local terminal node statistics self, peer node is united Count the pretection switch operating time of self;
When this end node or peer node are judged during carrying out pretection switch, the pretection switch of self Operating time is more than or equal to the maximum of pretection switch operating time, and current protocol type is not During rudimentary protocol type, this end node or peer node are by this end node and the protocol type of peer node It is switched to the protocol type than the current low one-level of protocol type.
Preferably, when described end node judges that APS is in idle condition, the method Also include:
Described end node judges that current protocol type is not five-star protocol type, by described The protocol type of end node and described peer node switches to than the described higher leveled association of current protocol type View type;
During the manoeuvre of described end node and/or described peer node, described local terminal node statistics is certainly The pretection switch operating time of body, the pretection switch operating time of described peer node statistics self, work as institute State this end node or described peer node is judged in described end node or the manoeuvre of described peer node Cheng Zhong, the pretection switch operating time of self more than or equal to the maximum of described pretection switch operating time, Or when receiving information that the expression from described peer node disagrees upgrading, described end node or institute State peer node to be switched to the protocol type of described end node and described peer node than current agreement The protocol type of the low one-level of type.
Preferably, described during the manoeuvre of this end node/peer node, local terminal node statistics self The pretection switch operating time, peer node self pretection switch operating time of statistics includes:
Described in described end node/described peer node registration confirmed, this end node/described peer node drills The time practised, and record the manoeuvre successful time of described end node/described peer node, calculate described Described end node of the manoeuvre successful time of this end node/described peer node and confirmation/described to end segment Difference between the time of the manoeuvre of point;
Described peer node/described local terminal nodes records receives the time of manoeuvre PCC byte, has recorded Become process and the time of transmission of control signal necessary to pretection switch, described in calculating, complete pretection switch The necessary process of control signal and the time of transmission and the described time receiving manoeuvre PCC byte Between difference.
Preferably, the protocol type of this end node and peer node is switched to ratio currently by described end node The higher leveled protocol type of protocol type include:
The protocol type of described end node is switched to higher than current protocol type by one by described end node The protocol type of level, and the protocol type after described peer node sends upgrading, described peer node is sentenced The protocol type after current protocol type and the upgrading that receives that breaks differs, by the protocol class of self Type be switched to described in protocol type after the upgrading that receives.
Preferably, described pretection switch is carried out at this end node according to current protocol type and peer node During, the pretection switch operating time of local terminal node statistics self, the protection of peer node statistics self The switching operation time includes:
Described local terminal nodes records confirms to trigger time when switching, and it is required to have recorded pretection switch institute The process of control signal and the time of transmission, complete control signal necessary to pretection switch described in calculating Process and the time of transmission and described confirmation trigger the difference between time when switching;
Described peer node record receives the time of protection communication channel PCC byte, has recorded protection Switch the process of necessary control signal and the time of transmission, complete pretection switch institute described in calculating necessary The process of control signal and difference between the time of transmission and the time receiving described PCC byte.
Preferably, the protocol type of this end node and peer node is cut by described end node or peer node Change to include than the protocol type of the current low one-level of protocol type:
The protocol type of described end node is switched to than described current protocol type by described end node The protocol type of low one-level, and the protocol type after described peer node sends degradation, described to end segment Put the protocol type after the degradation judging described current protocol type and receive to differ, by self Protocol type be switched to described in protocol type after the degradation that receives.
The invention allows for this end node a kind of, at least include:
First statistical module, after being used for confirming that triggering is switched, according to current protocol type and to end segment During point carries out pretection switch, add up the pretection switch operating time of self;
First judge module, is used for judging during carrying out pretection switch, the pretection switch behaviour of self Make the time maximum more than or equal to the pretection switch operating time, and current protocol type is not minimum The protocol type of level, sends the first notification message to handover module;
First handover module, is used for receiving the first notification message, by this end node and the association of peer node View type is switched to the protocol type than the current low one-level of protocol type;
Wherein, current protocol type is the protocol type pre-set.
Preferably, described first judge module is additionally operable to:
Judge that APS APS is in idle condition;Judge that current protocol type is not Senior protocol type, sends the second notification message to described handover module and described statistical module;
Judge during the manoeuvre of described end node or described peer node, the pretection switch of self Operating time is more than or equal to the maximum of described pretection switch operating time, or receives from described right The expression of end node disagrees the information of upgrading, sends third notice message to described handover module;
Described first handover module is additionally operable to:
Receive the second notification message, the protocol type of described end node and described peer node is switched For than the described higher leveled protocol type of current protocol type;Receive third notice message, by described The protocol type of this end node and described peer node is switched to the agreement than the current low one-level of protocol type Type;
Described first statistical module is additionally operable to:
Receive described second notification message, in described end node and/or the manoeuvre of described peer node Cheng Zhong, adds up the pretection switch operating time of self.
Preferably, the described protocol type by this end node and peer node is switched to than current protocol class The higher leveled protocol type of type includes:
The protocol type of described end node is switched to than the current higher leveled protocol class of protocol type Type, and the protocol type after described peer node sends upgrading.
The invention allows for a kind of peer node, at least include:
Second statistical module, for protecting with peer node according to current protocol type at this end node During protective switching, add up the pretection switch operating time of self.
Preferably, described second statistical module is additionally operable to:
During the manoeuvre of described end node and/or described peer node, add up the pretection switch of self Operating time.
Preferably, also include:
Second judge module, for receiving from the protocol type after the upgrading of described end node, sentences The protocol type after current protocol type and the upgrading that receives that breaks differs, to the second handover module Send the 4th notification message;
Second handover module, the association after the upgrading received described in the protocol type of self is switched to View type.
Preferably, also include:
Second judge module, for receiving from the protocol type after the degradation of described end node, sentences The protocol type after described current protocol type and the degradation that receives that breaks differs, to the second switching Module sends the 5th notification message;
Second handover module, the association after the degradation received described in the protocol type of self is switched to View type.
The invention allows for a kind of node, at least include: all modules of this end node and peer node All modules.
Compared with prior art, the present invention includes: after this end node confirms that triggering is switched, at this end node During carrying out pretection switch according to current protocol type and peer node, local terminal node statistics self The pretection switch operating time, the pretection switch operating time of peer node statistics self;When this end node or Peer node is judged during carrying out pretection switch, the pretection switch operating time of self more than or etc. In the maximum of pretection switch operating time, and when current protocol type is not first degree protocol type, The protocol type of this end node and peer node is switched to than current agreement by this end node or peer node The protocol type of the low one-level of type.By the solution of the present invention, according to this end node and the guarantor of peer node The protective switching operating time adjusts the protocol type of this end node and peer node, it is achieved that anti-improving as far as possible Only meet minimizing of pretection switch operating time on the basis of misconnection ability.
Accompanying drawing explanation
Illustrating the accompanying drawing in the embodiment of the present invention below, the accompanying drawing in embodiment is for this Bright is further appreciated by, and is used for explaining the present invention, is not intended that and the present invention is protected model together with description The restriction enclosed.
Fig. 1 is the flow chart that the present invention realizes the method for APS;
Fig. 2 is the schematic diagram that first embodiment of the invention realizes the method for APS;
Fig. 3 is the schematic diagram that second embodiment of the invention realizes the method for APS;
Fig. 4 is the schematic diagram that third embodiment of the invention realizes the method for APS;
Fig. 5 is the schematic diagram that fourth embodiment of the invention realizes the method for APS;
Fig. 6 is the structure composition schematic diagram of this end node of the present invention;
Fig. 7 is the structure composition schematic diagram of peer node of the present invention.
Detailed description of the invention
For the ease of the understanding of those skilled in the art, below in conjunction with the accompanying drawings the present invention is further retouched State, can not be used for limiting the scope of the invention.It should be noted that in the case of not conflicting, Embodiment in the application and the various modes in embodiment can be mutually combined.
Seeing Fig. 1, the present invention proposes a kind of method realizing APS, in advance in this end segment Point and peer node arrange protocol type.
Wherein, the protocol type arranged in this end node with peer node in advance keeps consistent.
Wherein, the protocol type arranged in this end node and peer node in advance is supported by protection type The superlative degree of protocol type.Such as, in three kinds of current protocol types, state-1 is lowermost level, shape State-3 is highest.
Also include:
After step 100, this end node (or peer node) confirm that triggering switches, this end node (or Peer node) carry out pretection switch mistake according to current protocol type and peer node (or this end node) Cheng Zhong, the pretection switch operating time of local terminal node statistics self, the protection of peer node statistics self is fallen Change the operating time.
In this step, the pretection switch operating time of local terminal node statistics self includes: local terminal nodes records Confirm to trigger time when switching, and recorded process and the biography of control signal necessary to pretection switch The time passed, the process of control signal necessary to pretection switch and the time of transmission and confirmation are calculated Trigger the difference between time when switching.
In this step, the pretection switch operating time of peer node statistics self includes:
Peer node record receives protection communication channel (PCC, Protected Communication Channel) time of byte, the process of control signal necessary to pretection switch and transmission have been recorded Time, calculate the process of control signal necessary to pretection switch and the time of transmission and received Difference between the time of PCC byte.
Step 101, judge the pretection switch operating time of self when this end node (or peer node) More than or equal to the maximum of pretection switch operating time, and current protocol type is not first degree association During view type, the protocol type of this end node and peer node is switched by this end node (or peer node) To the protocol type than the current low one-level of protocol type.
In this step, when this end node and peer node are judged during carrying out pretection switch, self Pretection switch operating time when being respectively less than the maximum of pretection switch operating time, this end node and opposite end The protocol type that node keeps current is constant.
In this step, when this end node or peer node judge that current protocol type is first degree association During view type, the protocol type that this end node and peer node keep current is constant.
In this step, this end node (or peer node) is by this end node and the protocol type of peer node It is switched to include than the protocol type of the current low one-level of protocol type: this end node (or peer node) The protocol type of this end node (or peer node) is switched to the association than the current low one-level of protocol type View type, and the protocol type after peer node (or this end node) sends degradation, peer node (or This end node) judge current protocol type and the degradation that receives after protocol type differ, will The protocol type of self is switched to the protocol type after the degradation received.
Wherein, current protocol type and the fall received are judged when peer node (or this end node) When protocol type after Ji is identical, keep the protocol type after degradation constant.
By the solution of the present invention, due to the pretection switch operating time according to this end node and peer node Adjust the protocol type of this end node and peer node, it is achieved that prevent misconnection ability improving as far as possible On the basis of meet minimizing of pretection switch operating time.
When this end node (or peer node) judges that APS agreement is in idle condition, the method is also Including:
This end node (or peer node) judges that current protocol type is not five-star protocol type, The protocol type of this end node and peer node is switched to than the current higher leveled protocol class of protocol type Type;During the manoeuvre of this end node and/or peer node, the pretection switch of local terminal node statistics self Operating time, peer node self pretection switch operating time of statistics, when this end node is (or to end segment Point) judge during the manoeuvre of this end node or peer node, the pretection switch operating time of self More than or equal to the maximum of pretection switch operating time, or receive from peer node (or this end segment Point) expression when disagreeing the information of upgrading, this end node (or peer node) is by this end node and right The protocol type of end node is switched to the protocol type than the current low one-level of protocol type.
Wherein, how this end node (or peer node) judges that APS agreement is in idle condition and belongs to The known technology of those skilled in the art, the protection domain being not intended to limit the present invention, the most superfluous State.
Wherein, idle condition can be without request (NR, No Request) state maybe please don't return (DNR, Do Not Return) state.
Wherein, when this end node is judged during the manoeuvre of this end node and peer node, self The pretection switch operating time is respectively less than the maximum of pretection switch operating time, and receives to end segment When agreeing the information upgraded of point, this end node and peer node keep the protocol type after upgrading not Become.
Wherein, when peer node is judged during the manoeuvre of this end node and peer node, self When the pretection switch operating time is respectively less than the maximum of pretection switch operating time, send table to this end node Show the information agreeing to upgrading.
When peer node is judged during the manoeuvre of this end node or peer node, the protection of self is fallen When changing the maximum that the operating time is more than or equal to the pretection switch operating time, send to this end node and represent Disagree the information of upgrading.
The protocol type of this end node and peer node is switched to ratio and works as by this end node (or peer node) The front higher leveled protocol type of protocol type includes: this end node (or peer node) is by this end node The protocol type of (or peer node) is switched to the current higher leveled protocol type of protocol type of ratio, and Protocol type after peer node (or this end node) sends upgrading, peer node (or this end node) Protocol type after the upgrading judging current protocol type and receive differs, by the agreement of self Type is switched to the protocol type after the upgrading received.
Wherein, current protocol type and the liter received are judged when peer node (or this end node) When protocol type after Ji is identical, keep the protocol type after upgrading constant.
Wherein, during the manoeuvre of this end node, when the pretection switch of local terminal node statistics self operates Between, the pretection switch operating time of peer node statistics self includes:
Local terminal nodes records confirms the time of the manoeuvre of this end node, and the manoeuvre success of minute book end node Time, between the manoeuvre successful time and the time of manoeuvre confirming this end node that calculate this end node Difference;
Peer node record receives the time of manoeuvre PCC byte, has recorded necessary to pretection switch The process of control signal and the time of transmission, calculate the process of control signal necessary to pretection switch And the difference between time and the time receiving manoeuvre PCC byte of transmission.
Wherein, during the manoeuvre of peer node, when the pretection switch of local terminal node statistics self operates Between, the pretection switch operating time of peer node statistics self includes:
The time of the manoeuvre of peer node registration confirmed peer node, and record the manoeuvre success of peer node Time, calculate peer node the manoeuvre successful time and confirm peer node manoeuvre time between Difference;
Local terminal nodes records receives the time of manoeuvre PCC byte, has recorded necessary to pretection switch The process of control signal and the time of transmission, calculate the process of control signal necessary to pretection switch And the difference between time and the time receiving manoeuvre PCC byte of transmission.
The method describing the present invention in detail below by specific embodiment.
First embodiment, this end node and peer node are that 1+1 is two-way recoverable to be switched, although state-3 Support all of protection type, but owing to 1+1 is permanent bridge joint, the superlative degree of protocol type can be simplified For state-2, lowermost level is state-1.The protocol type pre-setting this end node and peer node is shape State-2.
Fig. 2 is the schematic diagram that first embodiment realizes the method for APS.As in figure 2 it is shown, use The mutual APS byte of information between this end node and peer node includes three information, i.e. asks shape State, the signal that offer is provided and bridge joint signal.Such as, NR 0,1 indicates that spacing wave is with normal without request Flow signal.
This end node confirms that SF triggers and switches, send APS byte SF 1,1 (i.e. Signal Fail, normally Flow signal and normal discharge signal), owing to being 2-phase, do not operate selector, and registration confirmed SF triggers the time T31 switched, and just grasps after receiving RR 1, the 1 confirmation byte that peer node sends Elect device, carries out switching protection, and record receives RR 1, the time T32 of 1, calculates T3=T32-T31, Judging that T3 is more than T3max, the protocol type of self is switched to 1-phase by this end node, and to right End node sends 1-phase.
This end node confirms that SF disappears, and owing to attribute is recoverable, now sends WTR 1,1 (i.e. etc. Parked), enter Wait to Restore Time, and start intervalometer, during timer expiry, send NR 0,1, Operate in 1-phase, immediate operation selector, be switched to work, receive peer node Without operation after NR0,1 confirmation byte.
By Fig. 2 it can be seen that, peer node is constantly in non-toggle state in operation, passively receives APS byte manipulation selector, either 1-phase or 2-phase, receiving the APS of this end node All can operate selector after byte, the T3 time is almost 0, it is possible to when ignoring the T3 of peer node Between add up.
This end node notice peer node is carried out the promotion and demotion of protocol type and is transmitted by signaling, typically The PCC byte of this signaling and APS is not a passage, and PCC is usually the expense in traffic frame Byte, and notify that the signaling of the promotion and demotion that peer node carries out protocol type is to connect internodal monitoring Passage or the transmission of dedicated signaling net.
Second embodiment, the 1-phase of 1+1 protection type successfully upgrades to the operation of 2-phase:
Fig. 3 is the schematic diagram that the second embodiment realizes the method for APS.As it is shown on figure 3, this End node judges that APS agreement is in idle condition, and protocol type now is 1-phase.
The protocol type of self is switched to 2-phase by this end node, and sends 2-phase to peer node, And automatically initiate manoeuvre operation, and send EX 0,1, record sends EX 0, the time T31 of 1, peer node Responding RR 0,1, record receives RR 0, the time T32 of 1, does not operate selector during manoeuvre, only It is that detection APS protocol byte is ordered the most normally, calculates T3=T32-T31, less than T3max.
The protocol type of self is also switched to 2-phase by peer node, and automatically initiates manoeuvre operation, sends out Go out EX 0,1, record current time T31, left end responds RR 0,1, records current time T32, manoeuvre During do not operate selector, simply detection APS protocol byte is ordered the most normally, calculates T3=T32-T31, less than T3max, peer node sends the information agreeing upgrading to this end node.
This end node receives the information agreeing upgrading, keeps the protocol status of current 2-phase, Now this end node and peer node are the most successfully upgraded to 2-phase.
This end node confirms that SF triggers and switches, and sends APS byte SF 1,1, owing to being 2-phase association View, does not operate selector, just operates selector after receiving RR 1, the 1 confirmation byte that opposite end sends, Carrying out switching protection, this protocol interaction process continues the T3 time to be calculated, and once wants more than T3max Demote immediately.
Calculate T3 < T3max after interim upgrading, be owing to node calculates agreement and the efficiency of delivery protocol Improve, cause the reason of this phenomenon to be probably cpu utilization rate and improve or the PCC byte of APS Transmission efficiency improves, otherwise the PCC byte that the reason of degradation is the reduction of cpu utilization rate or APS passes Pass and run into obstruction.
If T3 >=T3max after interim upgrading, show to upgrade unsuccessfully, still can drop to original agreement shape State.
3rd embodiment, the 3-phase of 1:1 protection agreement is downgraded to the operation of 1-phase.
This end node of the present embodiment and peer node are that 1:1 is two-way recoverable to be switched, if protocol type is Senior for 3-phase, lowermost level is 1-phase.
Fig. 4 is the schematic diagram that the 3rd embodiment realizes the method for APS.As shown in Figure 4, association View type is initially 3-phase, and APS agreement result of calculation is NR 0,0, NR instruction solicited status, 0 instruction requires the signal provided, 0 instruction bridge joint signal.
This end node confirms that SF triggers and switches, and sends APS byte SF 1,0, owing to being 3-phase association View, does not operate bridge joint and selector, and confirms that SF triggers the time T31 switched, receive peer node The RR 1,1 sent just operates bridge joint and selector after confirming byte, and record receives RR1, the time of 1 T32, calculates T3=T32-T31, has been more than T3max, and left end node actively carries out agreement degradation, switching For 2-phase, and it is also carried out agreement by signaled peer node and is downgraded to 2-phase.
This end node confirms that SF disappears, and owing to attribute is recoverable, now sends WTR 1,1, enters Wait to Restore Time, and start intervalometer, when timer expiry, send NR 0,1, transported Row bridges in 2-phase, immediate operation, selects in operation after receiving NR 0, the 0 confirmation byte of opposite end.
This end node is reaffirmed that SF triggers and is switched, and sends APS byte SF 1,0, owing to being 2-phase Agreement, operation bridge joint, and registration confirmed SF trigger the time T31 switched, and receive peer node and send out The RR 1,1 come just operates selector after confirming byte, receives RR1, and the time T32 of 1 calculates T3=T32-T31, has been more than T3max, and left end node actively carries out agreement degradation, switches to 1-phase, And be also carried out agreement by signaled peer node and be downgraded to 1-phase.
Peer node is T3 to be calculated when 3-phase, if T3 has been more than T3max, peer node Also degraded operation can actively be initiated.In the present embodiment for simple flow, think peer node T3 for the time being Total less than T3max's.
4th embodiment, the 1-phase of 1:1 protection agreement upgrades to the operation of 3-phase.
Fig. 5 is the schematic diagram that the 4th embodiment realizes the method for APS.As it is shown in figure 5, this Time protocol type be 1-phase.
This end node carries out agreement upgrading temporarily, and notice peer node is also carried out agreement upgrading 2-phase, and Automatically initiate manoeuvre operation, send EX 0,1, record sends EX0, and the time T31 of 1, peer node returns Answer RR 0,1, record receives RR0, the time T32 of 1, and Exercise Order does not operate selector, simply visits Survey APS protocol byte to order the most normally, calculate T3=T32-T31, less than T3max.
Peer node carries out agreement upgrading the most temporarily, automatically initiates manoeuvre operation, sends EX 0, and 1, record Sending EX0, the time T31 of 1, this end node response RR 0,1, record receives RR0, the time of 1 T32, Exercise Order does not operate selector, and simply detection APS protocol byte is ordered the most normally, meter Calculating T3=T32-T31, less than T3max, peer node sends the information agreeing upgrading.
This end node receives the information agreeing upgrading, keeps current 2-phase protocol status, this Time this end node and peer node be the most successfully upgraded to 2-phase.
This end node carries out agreement upgrading the most temporarily, and notice peer node is also carried out agreement upgrading 2-phase, and automatically initiate manoeuvre operation, send EX 0,1, record sends the time T31 of EX01, Peer node responds RR 0,1, and record receives RR0, and the time T32 of 1 calculates T3=T32-T31, Again less than T3max.
Peer node carries out agreement upgrading the most temporarily, automatically initiates manoeuvre operation, sends EX 0, and 1, record Sending the time T31 of EX0.1, RR 0,1 responded by this end node, and record receives RR0, the time T32 of 1, Exercise Order does not operate selector, and simply detection APS protocol byte is ordered the most normally, calculates T3=T32-T31, less than T3max, peer node sends the information agreeing upgrading.
This end node receives the information agreeing upgrading, keeps current 3-phase protocol status, now This end node and peer node are the most successfully upgraded to 3-phase.
See Fig. 6, the invention allows for this end node a kind of, at least include:
First statistical module, after being used for confirming that triggering is switched, according to current protocol type and to end segment During point carries out pretection switch, add up the pretection switch operating time of self;
First judge module, is used for judging during carrying out pretection switch, the pretection switch behaviour of self Make the time maximum more than or equal to the pretection switch operating time, and current protocol type is not minimum The protocol type of level, sends the first notification message to handover module;
First handover module, is used for receiving the first notification message, by this end node and the association of peer node View type is switched to the protocol type than the current low one-level of protocol type;
Wherein, current protocol type is the protocol type pre-set.
In this end node of the present invention, the first judge module is additionally operable to:
Judge that APS APS is in idle condition;Judge that current protocol type is not Senior protocol type, sends the second notification message to handover module and statistical module;
Judge during the manoeuvre of this end node or peer node, the pretection switch operating time of self More than or equal to the maximum of pretection switch operating time, or it is different to receive the expression from peer node The information of meaning upgrading, sends third notice message to handover module;
First handover module is additionally operable to:
Receive the second notification message, the protocol type of this end node and peer node is switched to ratio currently The higher leveled protocol type of protocol type;Receive third notice message, by this end node with to end segment The protocol type of point is switched to the protocol type than the current low one-level of protocol type;
First statistical module is additionally operable to:
Receiving the second notification message, during the manoeuvre of this end node and/or peer node, statistics is certainly The pretection switch operating time of body.
In this end node of the present invention, during the manoeuvre of this end node, add up the pretection switch of self Operating time is:
The time of the manoeuvre of this end node of registration confirmed, and the manoeuvre successful time of minute book end node, Difference between the manoeuvre successful time calculating this end node and the time of the manoeuvre confirming this end node;
During the manoeuvre of peer node, the pretection switch operating time adding up self is:
Record receives the time of manoeuvre PCC byte, has recorded control signal necessary to pretection switch Process and the time of transmission, complete process and the biography of control signal necessary to pretection switch described in calculating Difference between time and the time receiving manoeuvre PCC byte passed.
In this end node of the present invention, the protocol type of this end node and peer node is switched to ratio currently The higher leveled protocol type of protocol type include:
The protocol type of this end node is switched to the current higher leveled protocol type of protocol type of ratio, and Protocol type after peer node sends upgrading.
In this end node of the present invention, carry out pretection switch mistake according to current protocol type and peer node Cheng Zhong, the pretection switch operating time adding up self is:
Registration confirmed triggers time when switching, and has recorded control signal necessary to pretection switch Process and the time of transmission, calculated the process of control signal necessary to pretection switch and transmission time Between and confirm to trigger the difference between time when switching.
In this end node of the present invention, the protocol type of this end node and peer node is switched to ratio currently The protocol type of the low one-level of protocol type include:
The protocol type of this end node is switched to the protocol type than the current low one-level of protocol type, and Protocol type after peer node sends degradation.
See Fig. 7, the invention allows for a kind of peer node, at least include:
Second statistical module, for protecting with peer node according to current protocol type at this end node During protective switching, add up the pretection switch operating time of self.
In the peer node of the present invention, described second statistical module is additionally operable to:
During the manoeuvre of described end node and/or described peer node, add up the pretection switch of self Operating time.
In the peer node of the present invention, described during the manoeuvre of this end node, add up the protection of self The switching operation time is:
Record receives the time of manoeuvre PCC byte, has recorded control signal necessary to pretection switch Process and the time of transmission, complete process and the biography of control signal necessary to pretection switch described in calculating Difference between time and the described time receiving manoeuvre PCC byte passed;
Described during the manoeuvre of peer node, the pretection switch operating time adding up self is:
The time of the manoeuvre of peer node described in registration confirmed, and record the manoeuvre success of described peer node Time, calculate manoeuvre successful time of described peer node and confirm the manoeuvre of described peer node Difference between time.
In the peer node of the present invention, also include:
Second judge module, for receiving from the protocol type after the upgrading of described end node, sentences The protocol type after current protocol type and the upgrading that receives that breaks differs, to the second handover module Send the 4th notification message;
Second handover module, the association after the upgrading received described in the protocol type of self is switched to View type.
In the peer node of the present invention, described during this end node carries out pretection switch, add up self The pretection switch operating time include:
Record receives the time of protection communication channel PCC byte, has recorded necessary to pretection switch The process of control signal and the time of transmission, complete control signal necessary to pretection switch described in calculating Process the difference between time and the time receiving described PCC byte of transmission.
In the peer node of the present invention, also include:
Second judge module, for receiving from the protocol type after the degradation of described end node, sentences The protocol type after described current protocol type and the degradation that receives that breaks differs, to the second switching Module sends the 5th notification message;
Second handover module, the association after the degradation received described in the protocol type of self is switched to View type.
The invention allows for a kind of node, at least include: all modules in this end node and to end segment All modules in point.
Understand it should be noted that embodiment described above is for only for ease of those skilled in the art , it is not limited to protection scope of the present invention, in the premise of the inventive concept without departing from the present invention Under, any obvious replacement that the present invention is made by those skilled in the art and improvement etc. are all at this Within the protection domain of invention.

Claims (14)

1. the method realizing APS APS, it is characterised in that in advance at this end node With peer node arranges protocol type;Also include:
After this end node confirms that triggering is switched, at this end node according to current protocol type and peer node During carrying out pretection switch, the pretection switch operating time of local terminal node statistics self, peer node is united Count the pretection switch operating time of self;
When this end node or peer node are judged during carrying out pretection switch, the pretection switch of self Operating time is more than or equal to the maximum of pretection switch operating time, and current protocol type is not During rudimentary protocol type, this end node or peer node are by this end node and the protocol type of peer node It is switched to the protocol type than the current low one-level of protocol type.
Method the most according to claim 1, it is characterised in that when described end node is judged certainly When dynamic pretection switch is in idle condition, the method also includes:
Described end node judges that current protocol type is not five-star protocol type, by described The protocol type of end node and described peer node switches to than the described higher leveled association of current protocol type View type;
During the manoeuvre of described end node and/or described peer node, described local terminal node statistics is certainly The pretection switch operating time of body, the pretection switch operating time of described peer node statistics self, work as institute State this end node or described peer node is judged in described end node or the manoeuvre of described peer node Cheng Zhong, the pretection switch operating time of self more than or equal to the maximum of described pretection switch operating time, Or when receiving information that the expression from described peer node disagrees upgrading, described end node or institute State peer node to be switched to the protocol type of described end node and described peer node than current agreement The protocol type of the low one-level of type.
Method the most according to claim 2, it is characterised in that described at this end node/to end segment During the manoeuvre of point, the pretection switch operating time of local terminal node statistics self, peer node statistics is certainly The pretection switch operating time of body includes:
Described in described end node/described peer node registration confirmed, this end node/described peer node drills The time practised, and record the manoeuvre successful time of described end node/described peer node, calculate described Described end node of the manoeuvre successful time of this end node/described peer node and confirmation/described to end segment Difference between the time of the manoeuvre of point;
Described peer node/described local terminal nodes records receives the time of manoeuvre PCC byte, has recorded Become process and the time of transmission of control signal necessary to pretection switch, described in calculating, complete pretection switch The necessary process of control signal and the time of transmission and the described time receiving manoeuvre PCC byte Between difference.
Method the most according to claim 2, it is characterised in that described end node is by this end node It is switched to include than the current higher leveled protocol type of protocol type with the protocol type of peer node:
The protocol type of described end node is switched to higher than current protocol type by one by described end node The protocol type of level, and the protocol type after described peer node sends upgrading, described peer node is sentenced The protocol type after current protocol type and the upgrading that receives that breaks differs, by the protocol class of self Type be switched to described in protocol type after the upgrading that receives.
Method the most according to claim 1 and 2, it is characterised in that described this end node according to During current protocol type and peer node carry out pretection switch, the protection of local terminal node statistics self The switching operation time, peer node self pretection switch operating time of statistics includes:
Described local terminal nodes records confirms to trigger time when switching, and it is required to have recorded pretection switch institute The process of control signal and the time of transmission, complete control signal necessary to pretection switch described in calculating Process and the time of transmission and described confirmation trigger the difference between time when switching;
Described peer node record receives the time of protection communication channel PCC byte, has recorded protection Switch the process of necessary control signal and the time of transmission, complete pretection switch institute described in calculating necessary The process of control signal and difference between the time of transmission and the time receiving described PCC byte.
Method the most according to claim 1 and 2, it is characterised in that described end node or opposite end The protocol type of this end node and peer node is switched to the association than the current low one-level of protocol type by node View type includes:
The protocol type of described end node is switched to than described current protocol type by described end node The protocol type of low one-level, and the protocol type after described peer node sends degradation, described to end segment Put the protocol type after the degradation judging described current protocol type and receive to differ, by self Protocol type be switched to described in protocol type after the degradation that receives.
7. this end node, it is characterised in that at least include:
First statistical module, after being used for confirming that triggering is switched, according to current protocol type and to end segment During point carries out pretection switch, add up the pretection switch operating time of self;
First judge module, is used for judging during carrying out pretection switch, the pretection switch behaviour of self Make the time maximum more than or equal to the pretection switch operating time, and current protocol type is not minimum The protocol type of level, sends the first notification message to handover module;
First handover module, is used for receiving the first notification message, by this end node and the association of peer node View type is switched to the protocol type than the current low one-level of protocol type;
Wherein, current protocol type is the protocol type pre-set.
The most according to claim 7 end node, it is characterised in that described first judge module is also For:
Judge that APS APS is in idle condition;Judge that current protocol type is not Senior protocol type, sends the second notification message to described handover module and described statistical module;
Judge during the manoeuvre of described end node or described peer node, the pretection switch of self Operating time is more than or equal to the maximum of described pretection switch operating time, or receives from described right The expression of end node disagrees the information of upgrading, sends third notice message to described handover module;
Described first handover module is additionally operable to:
Receive the second notification message, the protocol type of described end node and described peer node is switched For than the described higher leveled protocol type of current protocol type;Receive third notice message, by described The protocol type of this end node and described peer node is switched to the agreement than the current low one-level of protocol type Type;
Described first statistical module is additionally operable to:
Receive described second notification message, in described end node and/or the manoeuvre of described peer node Cheng Zhong, adds up the pretection switch operating time of self.
The most according to claim 8 end node, it is characterised in that described by this end node with right The protocol type of end node is switched to include than the current higher leveled protocol type of protocol type:
The protocol type of described end node is switched to than the current higher leveled protocol class of protocol type Type, and the protocol type after described peer node sends upgrading.
10. a peer node, it is characterised in that at least include:
Second statistical module, for protecting with peer node according to current protocol type at this end node During protective switching, add up the pretection switch operating time of self.
11. peer nodes according to claim 10, it is characterised in that described second statistical module It is additionally operable to:
During the manoeuvre of described end node and/or described peer node, add up the pretection switch of self Operating time.
12. peer nodes according to claim 11, it is characterised in that also include:
Second judge module, for receiving from the protocol type after the upgrading of described end node, sentences The protocol type after current protocol type and the upgrading that receives that breaks differs, to the second handover module Send the 4th notification message;
Second handover module, the association after the upgrading received described in the protocol type of self is switched to View type.
13. according to the peer node described in claim 10 or 11, it is characterised in that also include:
Second judge module, for receiving from the protocol type after the degradation of described end node, sentences The protocol type after described current protocol type and the degradation that receives that breaks differs, to the second switching Module sends the 5th notification message;
Second handover module, the association after the degradation received described in the protocol type of self is switched to View type.
14. 1 kinds of nodes, it is characterised in that at least include:
Described in all modules described in claim 7~9 any one and claim 10~13 any one All modules.
CN201510243733.2A 2015-05-13 2015-05-13 A kind of realize the method for APS, this end node and peer node Pending CN106301537A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510243733.2A CN106301537A (en) 2015-05-13 2015-05-13 A kind of realize the method for APS, this end node and peer node
PCT/CN2016/076891 WO2016180084A1 (en) 2015-05-13 2016-03-21 Automatic protection switching method, local node and peer node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510243733.2A CN106301537A (en) 2015-05-13 2015-05-13 A kind of realize the method for APS, this end node and peer node

Publications (1)

Publication Number Publication Date
CN106301537A true CN106301537A (en) 2017-01-04

Family

ID=57247728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510243733.2A Pending CN106301537A (en) 2015-05-13 2015-05-13 A kind of realize the method for APS, this end node and peer node

Country Status (2)

Country Link
CN (1) CN106301537A (en)
WO (1) WO2016180084A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639549A (en) * 2017-10-09 2019-04-16 中兴通讯股份有限公司 A kind of implementation method and Ring protection system of looped network protection
CN110995336A (en) * 2019-11-15 2020-04-10 武汉光迅信息技术有限公司 OLP transmission link switching method and device, storage medium and OLP

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3887195B2 (en) * 2001-09-21 2007-02-28 富士通株式会社 Ring switching method and apparatus
CN101064566B (en) * 2006-04-26 2010-05-12 中兴通讯股份有限公司 Automatic detection apparatus and method for protecting switch function in optical transmission system
CN103281244B (en) * 2013-06-17 2016-12-28 瑞斯康达科技发展股份有限公司 A kind of service bearer method and device of multi-protocol label switching network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639549A (en) * 2017-10-09 2019-04-16 中兴通讯股份有限公司 A kind of implementation method and Ring protection system of looped network protection
CN109639549B (en) * 2017-10-09 2021-11-05 中兴通讯股份有限公司 Method for realizing ring network protection and ring network protection system
CN110995336A (en) * 2019-11-15 2020-04-10 武汉光迅信息技术有限公司 OLP transmission link switching method and device, storage medium and OLP

Also Published As

Publication number Publication date
WO2016180084A1 (en) 2016-11-17

Similar Documents

Publication Publication Date Title
CN103534982A (en) Method, device and network virtualization system for protecting service reliability
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
CN106533736B (en) Network equipment restarting method and device
WO2016095344A1 (en) Link switching method and device, and line card
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN106789264A (en) The method and apparatus that a kind of link aggregation group passage is switched fast
CN103607293A (en) Flow protection method and equipment thereof
CN102546344B (en) link switching method and device
CN112803998B (en) Multi-bus network cross-network communication method, device, system, equipment and storage medium
CN102265556B (en) Active-standby switchover method between communication devices, communication device and system, and service requesting device
CN106301537A (en) A kind of realize the method for APS, this end node and peer node
CN103281720A (en) Method and device for switching wireless controller hot standbys, wireless controller and access system
CN110912815A (en) Network element ring formation preventing method, device, equipment and readable storage medium
CN106100988A (en) A kind of realize the method that link aggregation is switched fast
CN107360012A (en) A kind of Link State processing method and apparatus for network node
CN110545198B (en) ERPS loop breaking method and master node
CN101488777A (en) Method, apparatus and system for service protection in packet microwave
EP3240251A1 (en) Line card determination, determination processing method and device, and line card determination system
CN103442386A (en) Fault detecting method and node equipment
EP3232617B1 (en) Protection switching method and system, and nodes
CN103248508A (en) Port protecting method, device and system
CN103684831A (en) Method, device and system for protecting L2TP network
CN108259082B (en) Protection switching method and control service board
CN104486787A (en) Method and device for detecting wireless link fault

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170104

WD01 Invention patent application deemed withdrawn after publication