CN102025437B - Method, system and device for protection switching - Google Patents

Method, system and device for protection switching Download PDF

Info

Publication number
CN102025437B
CN102025437B CN200910092651.7A CN200910092651A CN102025437B CN 102025437 B CN102025437 B CN 102025437B CN 200910092651 A CN200910092651 A CN 200910092651A CN 102025437 B CN102025437 B CN 102025437B
Authority
CN
China
Prior art keywords
communication
message
packet loss
detection message
detection
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
Application number
CN200910092651.7A
Other languages
Chinese (zh)
Other versions
CN102025437A (en
Inventor
王磊
韩毅
李晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN200910092651.7A priority Critical patent/CN102025437B/en
Publication of CN102025437A publication Critical patent/CN102025437A/en
Application granted granted Critical
Publication of CN102025437B publication Critical patent/CN102025437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a method for protection switching, including that: a receiving end receives a connectivity test message sent by a transmitting end to obtain a packet loss rate of the connectivity test message; compares the packet loss rate with a preset packet loss rate threshold; and triggers work paths and protection switching among the protection paths, when the packet loss rate of the connectivity test message is greater than the packet loss rate threshold. In the present invention, the receiving end compares the packet loss rate of the connectivity test message sent by a transmitting end with the preset packet loss rate threshold, and triggers protection switching when the packet loss rate of the connectivity test message is greater than the packet loss rate threshold, thereby the invention can detect the situation of packet loss when a degradation of network performance exists, and trigger protection switching.

Description

The method of pretection switch, system and equipment
Technical field
The present invention relates to the communications field, particularly relate to a kind of method of pretection switch, system and equipment.
Background technology
Current, no matter be mobile network or fixed network, the business carried all by with circuit speech business for main to packetized data business for main transformation.Along with the transition of this business model, PTN (Packet Transport Network, Packet Transport Network) has become the focus that people pay close attention to.
In order in Packet Transport Network; there is provided and traditional SDH (Synchronous Digital Hierarchy; SDH (Synchronous Digital Hierarchy)) protective capability like network class; standardization body of international telecommunication union telecommunication proposes based on APS (Automatic Protection Switching; APS) 1+1 of agreement and 1: 1 protection mechanism; as shown in Figure 1; wherein; A-B-E is working LSP path (Label Switched Path; label switched path), A-C-D-E is protection LSP path.APS needs the state of real-time testing path and Protection path, and when operating path state changes, when namely operating path breaks down, business is switched to Protection path by APS starting protection Switchover mechanism.
The physical layer that comprises current path failure detection method detects and protocol layer detects.Wherein, for physical layer, the light signal caused because of the hardware fault such as fibercuts, node loses power loses interruption, will at once be identified triggering APS switch with LoS (Loss ofSignal, dropout) defect.At protocol layer, OAM (the Operation Administration and Maintenance of Packet Transport Network, Operations, Administration and Maintenance) in agreement, also define and carry out fault detect by CC (Continuity Check, continuity verify) and trigger the mechanism that APS switches.
The continuity verification scheme of LSP OAM is realized by the CC message be inserted in service message between detection.As shown in Figure 2, message source in Packet Transport Network periodically sends CC message, receiving terminal periodic receipt CC message, and the transmission cycle of CC message is identical with receiving cycle, is generally 3.33ms ~ 1s, can flexible configuration according to actual needs.When receiving terminal continuous 3 cycles do not receive the CC message of transmitting terminal, receiving terminal judges that the working LSP between transmitting terminal breaks down, and trigger network carries out APS and switches, and is switched to protection LSP.When the transmission cycle configuring CC message is minimum, namely during 3.33ms, the detection time of lsp failure is 10ms, and service outage duration is less than 50ms, the transfer of data in fast quick-recovery Packet Transport Network.
But, current continuity verification scheme is determined the connectedness of LSP, generally only have when LSP occurs causing path to be interrupted completely because of the hardware fault such as fibercuts, node loses power, receiving terminal just can not receive CC message and trigger APS and switch in continuous 3 cycles.For network performance deterioration; such as network node and line transmission performance degradation cause Packet Transport Network transmission quality to decline; as the situation of link deterioration, optical attenuation, a small amount of error code of appearance and message dropping; owing to not causing successional CC message dropping; therefore existing continuity verification scheme cannot detect this network performance deterioration condition, can not switch by trigger protection.So prior art cannot detect the network performance deterioration condition not causing continuity CC message dropping, can not switch by trigger protection when network performance deterioration.
Summary of the invention
The embodiment provides a kind of method of pretection switch, system and equipment, can Sampling network performance degradation trigger protection switch to make Packet Transport Network.
Embodiments of the invention provide a kind of method of pretection switch, comprising:
The communication with detection message that receiving terminal receiving end/sending end sends, obtains the packet loss of described communication with detection message;
The packet loss of the more described communication with detection message of described receiving terminal and the size of the packet loss threshold value preset; and when the packet loss of described communication with detection message is greater than default packet loss threshold value, the pretection switch between described receiving terminal triggering work path and Protection path.
The packet loss of the described communication with detection message of described acquisition is specially:
Described receiving terminal obtains the number of the communication with detection message received, and sends the number of communication with detection message further, obtain the packet loss of described communication with detection message according to the described transmitting terminal of configuration.
The communication with detection message that described transmitting terminal sends carries identical message priority information;
The communication with detection message that described receiving terminal receiving end/sending end sends is specially:
Described receiving terminal receives the described communication with detection message that intermediate node forwards according to described message priority information; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
The communication with detection message that described transmitting terminal sends carries different message priority information;
The communication with detection message that described receiving terminal receiving end/sending end sends, the packet loss obtaining described communication with detection message is specially:
When described transmitting terminal sends described communication with detection message according to the message priority order from high to low that described communication with detection message carries, described receiving terminal is communication with detection message according to message priority sequence reception from high to low accordingly, and obtains the packet loss of communication with detection message corresponding to each message priority.
The packet loss of the more described communication with detection message of described receiving terminal and the size of the packet loss threshold value preset, and when the packet loss of described communication with detection message is greater than default packet loss threshold value, described receiving terminal trigger protection is switched and is specially:
The size of the packet loss of communication with detection message corresponding to described receiving terminal each message priority relatively described and the packet loss threshold value of the corresponding with this message priority of configuration;
When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, described receiving terminal trigger protection is switched.
Embodiments of the invention provide a kind of system of pretection switch, comprise transmitting terminal and the receiving terminal of communication with detection message, wherein
Described transmitting terminal, for sending communication with detection message;
Described receiving terminal, for receiving the communication with detection message that described transmitting terminal sends, obtains the packet loss of described communication with detection message; The packet loss of more described communication with detection message and the size of the packet loss threshold value preset, when the packet loss of described communication with detection message is greater than default packet loss threshold value, triggering work path and Protection path carry out pretection switch.
Described receiving terminal also for:
Obtain the number of the communication with detection message received, send the number of communication with detection message further according to the described transmitting terminal of configuration, obtain the packet loss of described communication with detection message.
Described transmitting terminal specifically for: send and carry the communication with detection message of identical message priority information;
Described receiving terminal specifically for: receive the described communication with detection message that forwards according to described message priority information of intermediate node; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
Described transmitting terminal specifically for: in communication with detection message, carry different message priority information, and send described communication with detection message according to message priority order from high to low;
Described receiving terminal specifically for: when described transmitting terminal sends described communication with detection message according to the message priority order from high to low that described communication with detection message carries, communication with detection message according to message priority sequence reception from high to low, and obtain the packet loss of communication with detection message corresponding to each message priority; The size of the packet loss of communication with detection message corresponding to each message priority relatively described and the packet loss threshold value of the corresponding with this message priority of configuration; When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, described receiving terminal trigger protection is switched.
Embodiments of the invention provide a kind of equipment of pretection switch, comprising:
Receiving element, for the communication with detection message that receiving end/sending end sends;
Packet loss acquiring unit, for obtaining the packet loss of the communication with detection message that described receiving element receives;
Switch trigger element, for the packet loss of more described communication with detection message and the size of the packet loss threshold value preset, when the packet loss of described communication with detection message is greater than default packet loss threshold value, triggering work path and Protection path carry out pretection switch.
Described packet loss acquiring unit specifically for:
Obtain the number of the communication with detection message received, send the number of communication with detection message further according to the described transmitting terminal of configuration, obtain the packet loss of described communication with detection message.
When the communication with detection message that described transmitting terminal sends carries identical message priority information;
Described receiving element specifically for: receive the described communication with detection message that forwards according to described message priority information of intermediate node; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
When the communication with detection message that described transmitting terminal sends carries different message priority information;
Described receiving element specifically for: when described transmitting terminal sends described communication with detection message according to the message priority order from high to low that described communication with detection message carries, communication with detection message according to message priority sequence reception from high to low;
Described packet loss acquiring unit is specifically for the packet loss that obtains communication with detection message corresponding to each message priority that described receiving element receives.
Described switch trigger element specifically for:
The size of the packet loss of communication with detection message corresponding to each message priority relatively described and the packet loss threshold value of the corresponding with this message priority of configuration; When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, trigger protection is switched.
Compared with prior art, the present invention at least has the following advantages:
In the present invention; the packet loss of the communication with detection message that transmitting terminal sends by receiving terminal; compare with the packet loss threshold value preset; when the packet loss of communication with detection message is greater than default packet loss threshold value; receiving terminal trigger protection is switched; thus the packet drop caused when network performance deterioration can be detected, and trigger protection is switched.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiments of the invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiments of the invention or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is APS wrap protection schematic diagram in prior art;
Fig. 2 is the continuity verification scheme schematic diagram of LSP OAM in prior art;
Fig. 3 is the schematic flow sheet of the method for the pretection switch that the embodiment of the present invention one provides;
Fig. 4 is the schematic flow sheet of the method for the pretection switch that the embodiment of the present invention two provides;
Fig. 5 a and Fig. 5 b is the structural representation of the system of the pretection switch that the embodiment of the present invention three provides;
Fig. 6 is the structural representation of the equipment of the pretection switch that the embodiment of the present invention four provides.
Embodiment
Below in conjunction with the accompanying drawing in embodiments of the invention, be clearly and completely described the technical scheme in embodiments of the invention, obviously, the embodiments described below are only the present invention's part embodiments, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of embodiments of the invention protection.
The main thought of embodiments of the invention is: in Packet Transport Network, the receiving terminal of message obtains the packet loss of the transmitting terminal transmission communication with detection message of message; this packet loss is compared with the packet loss threshold value preset; when the packet loss of communication with detection message is greater than default packet loss threshold value; receiving terminal trigger protection is switched, and realizes the monitoring to network running quality.
Wherein, because message in Packet Transport Network is divided into 0-7 priority usually, arrived in the transport process of receiving terminal by transmitting terminal, if there is intermediate node, then intermediate node forwards according to the message of message repeating strategy to different priorities, when priority is different, corresponding forwarding strategy may be different.In order to accurately obtain the forwarding situation of various priority packet in Packet Transport Network, transmitting terminal, can according to the precedence information being pre-configured in communication with detection message and carrying message when sending communication with detection message.
Concrete, transmitting terminal can carry a certain precedence information according to being pre-configured in communication with detection message, the message being obtained this priority by the communication with detection message sending this precedence information by transmitting terminal to the transmission situation in the process of receiving terminal.Such as, when user wishes the transmission situation detecting video flowing, if the priority of video flowing is 6, then transmitting terminal adds the mark that precedence information is 6 in communication with detection message.When communication with detection message is CC message, transmitting terminal adds precedence information in the precedence field of CC message.
Transmitting terminal also can be configured to the communication with detection message periodically sending multiple priority.Such as, transmitting terminal when arriving the message preset and sending the cycle, can send the communication with detection message of multiple priority according to priority order from high to low.Receiving terminal receives the communication with detection message of multiple priority at corresponding message receiving cycle, obtains the message packet loss of each priority.System can also pre-set packet loss threshold value corresponding to different priorities; when receiving terminal knows that the message packet loss of any priority is greater than corresponding packet loss threshold value; trigger the pretection switch that this priority packet is corresponding, the working LSP of this priority packet is switched to protection LSP.The working LSP of usual multiple priority packet is identical, and therefore, when receiving terminal knows that the message packet loss of any priority is greater than corresponding packet loss threshold value, trigger protection is switched, and the message of all priority is switched to protection LSP transmission; For the situation that the working LSP of multiple priority packet is different, when receiving terminal knows that the message packet loss of certain priority is greater than corresponding packet loss threshold value, receiving terminal protects LSP to transmit by being switched to the message that this priority packet has an identical working LSP.
The embodiment of the present invention one provides a kind of method of pretection switch; be applied to by message source, message sink and be made up of several nodes in the Packet Transport Network of operating path and Protection path; message sink wherein arranges message packet loss threshold value; receiving terminal sends according to pre-setting the message knowing message source the quantity that cycle and transmitting terminal send message each time; receiving terminal also pre-sets the account form of message packet loss; as shown in Figure 3, the method comprises the following steps:
Step 301, the communication with detection message that receiving terminal receiving end/sending end sends, obtains the packet loss of described communication with detection message.
Concrete, described receiving terminal obtains the number of the communication with detection message that current period receives, and according to pre-configured current period, transmitting terminal sends the number of communication with detection message further, obtains the packet loss of described communication with detection message.
Step 302; the packet loss of the more described communication with detection message of described receiving terminal and the size of the packet loss threshold value preset; when the packet loss of described communication with detection message is greater than default packet loss threshold value, the pretection switch between described receiving terminal triggering work path and Protection path.
The embodiment of the present invention two provides a kind of method of pretection switch; wherein; communication with detection message is for CC message; user arranges priority and the transmitting time of CC message according to actual needs; message source in Packet Transport Network and the pre-configured message of receiving terminal send cycle and corresponding message receiving cycle; and the pre-configured transmitting terminal of receiving terminal sends the quantity of message, as shown in Figure 4, comprises the following steps at every turn:
Step 401, transmitting terminal adds precedence information according to being pre-configured in CC message and sending CC message.
Concrete, user obtains the priority of wishing the message detected according to actual needs, and the priority that such as user obtains video flowing is 6.Then, user arranges in CC message at transmitting terminal and adds precedence information 6.The form of CC message is as shown in table 1:
Table 1
DA (6 byte) SA (6 byte) Type (2 byte) Label (20b it) MEL (3b it) S (1 bit) TTL (8b it) Function Type (1 byte) OAM Payload etc. CRC (4 byte)
MA C address, place MA C address, source 0x88 47 13 Priority Identify at the bottom of stack Life cycle CC PDU payload etc. Check field
5th field, i.e. MEL of table 1 represent precedence information, CC message adds precedence information in this MEL field, intermediate node is when forwarding the CC message that transmitting terminal sends, obtain the CC message priority information in MEL field, carry out CC message repeating according to this precedence information and the corresponding message repeating strategy of intermediate node.
When the CC message carrying precedence information sends to receiving terminal by transmitting terminal, according to actual needs, transmitting terminal can adjust transmitting time and the transmission cycle of CC message flexibly.Such as, when user only need to know current priority be 5 a class message whether there is packet drop time, transmitting terminal can send to receiving terminal the CC message only carrying precedence information 5, the quantity forwarded packet loss precision as required of CC message is determined, can send 100 CC messages, 1000 CC messages or more at every turn.If need periodically to send CC message, the cycle that then sends needs to be greater than each time sent required for CC message, such as, when sending 100 CC messages, according to the transmitting time minimum interval 3.3ms of current CC message at every turn, need 330ms, then the cycle that sends must be greater than 330ms; Usually each transmission cycle is set to 1s, sends 300 CC messages in each cycle.If user needs the packet drop of the message knowing current multiple priority type, the CC message that then transmitting terminal can send each priority according to priority order from high to low carries out packet drop detection, or the sending order of the CC message of different priorities information of carrying that transmitting terminal also can pre-set according to user sends.
Step 402, the CC message that receiving terminal receiving end/sending end sends, obtains the packet loss of CC message.
Concrete, when there is intermediate node between receiving terminal and transmitting terminal, intermediate node reads the precedence information carried in CC message, and the priority according to CC message forwards accordingly.Such as, when the priority of carrying in CC message is higher, intermediate node preferentially sends CC message when there is flow congestion, the less generation of packet drop of CC message; When the priority of carrying in CC message is lower, intermediate node preferentially sends the message of the higher type of other priority when there is flow congestion, easily occur CC message packet loss.
The CC message that receiving terminal sends according to pre-configured time of reception receiving end/sending end.Corresponding to the send mode of transmitting terminal CC message, receiving terminal can receive minority and receive CC message several times or periodically.After receiving terminal receives CC message, know according to the CC message quantity forwarded M known in advance and should receive CC message number M, CC message number M should be received and deduct the actual CC message number N received, again divided by receiving CC message number M, obtain the packet loss of CC message, i.e. (M-N)/M.
Step 403, receiving terminal compares the packet loss of CC message and the size of corresponding packet loss threshold value; If the packet loss of CC message is greater than corresponding packet loss threshold value, perform step 404; Otherwise, continue to detect.
When the priority that CC message carries is different, packet loss threshold value that can be corresponding identical or different.Such as, the CC message that priority is high, can arrange less packet loss threshold value; The CC message that priority is low, can arrange larger packet loss threshold value.The CC message of different priorities, also can arrange identical packet loss threshold value.
Step 404, receiving terminal triggering work path and Protection path carry out pretection switch.
Receiving terminal calculates CC message packet loss according to the CC message that receives, can occur in after all CC messages receive, or after the CC message occurring in each priority receives.For latter event, if receiving terminal calculate to CC message packet loss be greater than corresponding packet loss threshold value, then trigger protection is switched, for the CC message of priority type now not yet calculating CC message packet loss, when the CC message of this priority type is identical with the working LSP of the CC message carrying out pretection switch, then can continue after carrying out pretection switch to send CC message or stop sending CC message; If the working LSP of follow-up CC message is different from the working LSP that pretection switch occurs, then receiving terminal continues through the corresponding working LSP of follow-up CC message and receives CC message, and calculates corresponding CC message packet loss.
In embodiments of the invention, transmitting terminal also can be set in advance as the periodically continuous CC message carrying different priorities information that sends and carry out packet loss detection, namely different precedence informations is carried in CC message, pre-set the sending order of the CC message of different priorities information, such as priority successively sends from high to low, or other CC message sending orders corresponding to actual needs.Transmitting terminal periodically sends CC message according to this CC message sending order; accordingly; receiving terminal periodically receives the CC message of different priorities information; and calculate corresponding CC message packet loss; when occurring that CC message packet loss is greater than with default packet loss threshold value, trigger corresponding pretection switch.
By the method adopting embodiments of the invention to provide; the packet loss of the communication with detection message that transmitting terminal sends by receiving terminal; compare with the packet loss threshold value preset; when the packet loss of communication with detection message is greater than default packet loss threshold value; receiving terminal trigger protection is switched; thus the packet drop caused when network performance deterioration can be detected, and trigger protection is switched.
The embodiment of the present invention three provides a kind of system of pretection switch, be applied to by transmitting terminal 11, receiving terminal 12 and formed in the Packet Transport Network of operating path and Protection path by several intermediate nodes, wherein receiving terminal 12 arranges message packet loss threshold value, receiving terminal 12 sends according to pre-setting the message knowing transmitting terminal 11 quantity that cycle and transmitting terminal 11 send message each time, receiving terminal 12 also pre-sets the account form of message packet loss, the physical aspect of the pretection switch system that the embodiment of the present invention provides can be same as shown in Figure 1, intermediate node can be there is in the operating path between transmitting terminal 11 and receiving terminal 12, as shown in Figure 5 a, or there is not intermediate node, as shown in Figure 5 b, wherein
Described transmitting terminal 11, for sending communication with detection message;
Particularly, the priority that described transmitting terminal 11 sends according to the communication with detection message preset quantity and the detection messages sending message in cycle, each cycle sends communication with detection message; Such as: when described transmitting terminal 11 needs the communication with detection message sending different priorities, then when communication with detection message carries different message priority information, the message priority order from high to low that transmitting terminal 11 carries according to communication with detection message sends described communication with detection message; Or described transmitting terminal 11 needs the priority of the message detected to send the communication with detection message of this priority of predetermined number of times and quantity to receiving terminal according to user.
Described receiving terminal 12, for receiving the communication with detection message that described transmitting terminal 11 sends, obtains the packet loss of described communication with detection message; When the packet loss of described communication with detection message is greater than default packet loss threshold value, triggering work path and Protection path carry out pretection switch.
Particularly, when the communication with detection message of identical message priority information is carried in described transmitting terminal 11 transmission, described receiving terminal 12 receives the described communication with detection message that intermediate node forwards according to described message priority information; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
The packet loss that described receiving terminal 12 obtains communication with detection message is specially: the number obtaining the communication with detection message received, and further according to the number of the communication with detection message of pre-configured transmitting terminal transmission, obtains the packet loss of described communication with detection message.Such as, after receiving terminal 12 receives CC message, know according to the CC message quantity forwarded M known in advance and should receive CC message number M, CC message number M should be received and deduct the actual CC message number N received, again divided by receiving CC message number M, obtain the packet loss of CC message, i.e. (M-N)/M.
In addition, when transmitting terminal 11 carries different message priority information in communication with detection message, and when sending described communication with detection message according to the message priority order from high to low that communication with detection message carries; Described receiving terminal 12 according to message priority sequence reception communication with detection message from high to low, and obtains the packet loss of communication with detection message corresponding to each message priority; The packet loss of communication with detection message that each message priority relatively more described is corresponding and the size of the pre-configured packet loss threshold value corresponding with this message priority; When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, described receiving terminal triggering work path and Protection path carry out pretection switch.
The embodiment of the present invention four provides a kind of equipment of pretection switch, is applied in by transmitting terminal 11, receiving terminal 12 and is formed by several intermediate nodes in the Packet Transport Network of operating path and Protection path.Wherein said pretection switch equipment can as a part for the message sink in Packet Transport Network; this equipment sends according to pre-setting the message knowing transmitting terminal the quantity that cycle and transmitting terminal send message each time; also pre-set the packet loss threshold value that the account form of message packet loss and triggering work path and Protection path carry out pretection switch; as shown in Figure 6, described equipment comprises:
Receiving element 21, for the communication with detection message that receiving end/sending end sends;
Packet loss acquiring unit 22, for obtaining the packet loss of the communication with detection message that described receiving element 21 receives;
Switch trigger element 23; for the packet loss of more described communication with detection message and the size of the packet loss threshold value preset; when the packet loss of described communication with detection message is greater than default packet loss threshold value, trigger described operating path and Protection path carries out pretection switch.
Further, described packet loss acquiring unit 22 specifically for:
Obtain the number of the communication with detection message received, send the number of communication with detection message further according to pre-configured described transmitting terminal, obtain the packet loss of described communication with detection message.
When the communication with detection message that described transmitting terminal sends carries identical message priority information, described receiving element 21 specifically for: receive the described communication with detection message that forwards according to described message priority information of intermediate node; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
When the communication with detection message that described transmitting terminal sends carries different message priority information; Described receiving element 21 specifically for: when described transmitting terminal sends described communication with detection message according to the message priority order from high to low that described communication with detection message carries, communication with detection message according to message priority sequence reception from high to low accordingly; Described packet loss acquiring unit 22 is specifically for the packet loss that obtains communication with detection message corresponding to each message priority that described receiving element 21 receives.Described trigger element 23 of switching is specifically for the packet loss of communication with detection message that each message priority relatively described is corresponding and the size of the pre-configured packet loss threshold value corresponding with this message priority; When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, trigger protection is switched.
The packet loss threshold value that the communication with detection message of described different priorities is corresponding identical or different.
The system provided by adopting embodiments of the invention and equipment; the packet loss of the communication with detection message that transmitting terminal sends by receiving terminal; compare with the packet loss threshold value preset; when the packet loss of communication with detection message is greater than default packet loss threshold value; receiving terminal trigger protection is switched; thus the packet drop caused when network performance deterioration can be detected, and trigger protection is switched.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (6)

1. a method for pretection switch, is characterized in that, comprising:
The communication with detection message that receiving terminal receiving end/sending end sends, obtains the packet loss of described communication with detection message;
The packet loss of the more described communication with detection message of described receiving terminal and the size of the packet loss threshold value preset, and when the packet loss of described communication with detection message is greater than default packet loss threshold value, the pretection switch between described receiving terminal triggering work path and Protection path;
Wherein, the communication with detection message that described transmitting terminal sends carries different message priority information; The communication with detection message that described receiving terminal receiving end/sending end sends, the packet loss obtaining described communication with detection message is specially:
When described transmitting terminal sends described communication with detection message according to the message priority order from high to low that described communication with detection message carries, described receiving terminal is communication with detection message according to message priority sequence reception from high to low accordingly, and obtains the packet loss of communication with detection message corresponding to each message priority;
Wherein, the packet loss of the more described communication with detection message of described receiving terminal and the size of the packet loss threshold value preset, and when the packet loss of described communication with detection message is greater than default packet loss threshold value, described receiving terminal trigger protection is switched and is specially:
The size of the packet loss of communication with detection message corresponding to described receiving terminal each message priority relatively described and the packet loss threshold value of the corresponding with this message priority of configuration;
When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, described receiving terminal trigger protection is switched;
Wherein, the communication with detection message that described transmitting terminal sends carries identical message priority information; The communication with detection message that described receiving terminal receiving end/sending end sends is specially:
Described receiving terminal receives the described communication with detection message that intermediate node forwards according to described message priority information; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
2. the method for claim 1, is characterized in that, the packet loss of the described communication with detection message of described acquisition is specially:
Described receiving terminal obtains the number of the communication with detection message received, and sends the number of communication with detection message further, obtain the packet loss of described communication with detection message according to the described transmitting terminal of configuration.
3. be applied to a system for the pretection switch of method as claimed in claim 1, it is characterized in that, comprise transmitting terminal and the receiving terminal of communication with detection message, wherein
Described transmitting terminal, for sending communication with detection message;
Described receiving terminal, for receiving the communication with detection message that described transmitting terminal sends, obtains the packet loss of described communication with detection message; The packet loss of more described communication with detection message and the size of the packet loss threshold value preset, when the packet loss of described communication with detection message is greater than default packet loss threshold value, triggering work path and Protection path carry out pretection switch;
Wherein, described transmitting terminal specifically for: in communication with detection message, carry different message priority information, and send described communication with detection message according to message priority order from high to low;
Described receiving terminal specifically for: when described transmitting terminal sends described communication with detection message according to the message priority order from high to low that described communication with detection message carries, communication with detection message according to message priority sequence reception from high to low, and obtain the packet loss of communication with detection message corresponding to each message priority; The size of the packet loss of communication with detection message corresponding to each message priority relatively described and the packet loss threshold value of the corresponding with this message priority of configuration; When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, described receiving terminal trigger protection is switched;
Wherein, described transmitting terminal specifically for: send and carry the communication with detection message of identical message priority information;
Described receiving terminal specifically for: receive the described communication with detection message that forwards according to described message priority information of intermediate node; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
4. system as claimed in claim 3, is characterized in that, described receiving terminal also for:
Obtain the number of the communication with detection message received, send the number of communication with detection message further according to the described transmitting terminal of configuration, obtain the packet loss of described communication with detection message.
5. be applied to an equipment for the pretection switch of method as claimed in claim 1, it is characterized in that, comprising:
Receiving element, for the communication with detection message that receiving end/sending end sends;
Packet loss acquiring unit, for obtaining the packet loss of the communication with detection message that described receiving element receives;
Switch trigger element, for the packet loss of more described communication with detection message and the size of the packet loss threshold value preset, when the packet loss of described communication with detection message is greater than default packet loss threshold value, triggering work path and Protection path carry out pretection switch;
Wherein, when the communication with detection message that described transmitting terminal sends carries different message priority information;
Described receiving element specifically for: when described transmitting terminal sends described communication with detection message according to the message priority order from high to low that described communication with detection message carries, communication with detection message according to message priority sequence reception from high to low;
Described packet loss acquiring unit is specifically for the packet loss that obtains communication with detection message corresponding to each message priority that described receiving element receives;
Wherein, switch described in trigger element specifically for:
The size of the packet loss of communication with detection message corresponding to each message priority relatively described and the packet loss threshold value of the corresponding with this message priority of configuration; When the packet loss of described communication with detection message is greater than corresponding packet loss threshold value, trigger protection is switched;
Wherein, when the communication with detection message that described transmitting terminal sends carries identical message priority information; Described receiving element specifically for: receive the described communication with detection message that forwards according to described message priority information of intermediate node; When the message priority information of carrying in described communication with detection message changes, the forwarding strategy that described intermediate node forwards described communication with detection message is different.
6. equipment as claimed in claim 5, is characterized in that, described packet loss acquiring unit specifically for:
Obtain the number of the communication with detection message received, send the number of communication with detection message further according to the described transmitting terminal of configuration, obtain the packet loss of described communication with detection message.
CN200910092651.7A 2009-09-22 2009-09-22 Method, system and device for protection switching Active CN102025437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910092651.7A CN102025437B (en) 2009-09-22 2009-09-22 Method, system and device for protection switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910092651.7A CN102025437B (en) 2009-09-22 2009-09-22 Method, system and device for protection switching

Publications (2)

Publication Number Publication Date
CN102025437A CN102025437A (en) 2011-04-20
CN102025437B true CN102025437B (en) 2015-04-22

Family

ID=43866354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910092651.7A Active CN102025437B (en) 2009-09-22 2009-09-22 Method, system and device for protection switching

Country Status (1)

Country Link
CN (1) CN102025437B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857385B (en) * 2011-06-30 2018-01-16 中兴通讯股份有限公司 Packet loss detection method and system in a kind of Packet Transport Network
CN102571457B (en) * 2012-02-28 2015-09-30 华为数字技术(成都)有限公司 A kind of method, bypass equipment changing method and device triggering bypass equipment and switch
CN104579770A (en) 2014-12-30 2015-04-29 华为技术有限公司 Method and device for managing data transmission channels
CN106941436B (en) * 2016-01-04 2020-06-02 中兴通讯股份有限公司 Message transmission method and device
CN105871613A (en) * 2016-03-31 2016-08-17 国网山西省电力公司信息通信分公司 E1 service protection method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001067685A2 (en) * 2000-03-03 2001-09-13 Luminous Networks, Inc. Routing switch for dynamically rerouting traffic due to detection of faulty link
US6820210B1 (en) * 1998-04-27 2004-11-16 Cisco Technology, Inc. System and method for fault recovery for a two line bi-directional ring network
CN101340346A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Ring control method and apparatus of Ethernet looped network system
CN101453264A (en) * 2007-12-04 2009-06-10 华为技术有限公司 Self-healing protection method and apparatus for optical network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414957B (en) * 2007-10-17 2010-12-08 北京中电华大电子设计有限责任公司 Buffering queue management method for wireless LAN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820210B1 (en) * 1998-04-27 2004-11-16 Cisco Technology, Inc. System and method for fault recovery for a two line bi-directional ring network
WO2001067685A2 (en) * 2000-03-03 2001-09-13 Luminous Networks, Inc. Routing switch for dynamically rerouting traffic due to detection of faulty link
CN101453264A (en) * 2007-12-04 2009-06-10 华为技术有限公司 Self-healing protection method and apparatus for optical network
CN101340346A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Ring control method and apparatus of Ethernet looped network system

Also Published As

Publication number Publication date
CN102025437A (en) 2011-04-20

Similar Documents

Publication Publication Date Title
CN102035718B (en) Method, device and system for protection switching of packet transport network
US9264345B2 (en) Dynamic bandwidth adjustment in packet transport network
US6680912B1 (en) Selecting a routing direction in a communications network using a cost metric
US6865149B1 (en) Dynamically allocated ring protection and restoration technique
EP2781065B1 (en) Technique for network routing
US20030031126A1 (en) Bandwidth reservation reuse in dynamically allocated ring protection and restoration technique
EP1262042B1 (en) Routing switch for dynamically rerouting traffic due to detection of faulty link
CN102025437B (en) Method, system and device for protection switching
US9451500B2 (en) Conditional routing technique
CN102118277A (en) Method and device for packet loss detection, and a router
US9007228B2 (en) Transmission system using dying gasp
CN102215127A (en) Signal degrade processing method, device and node equipment
CN101340346A (en) Ring control method and apparatus of Ethernet looped network system
EP3001615B1 (en) Bit error rate detecting method and network device
US7974187B2 (en) Data transmission
WO2008095390A1 (en) An equipment for detecting the line fault of the pseudo wire emulation and a method thereof
CN102098198B (en) Ethernet protection method and device
US9391697B2 (en) Proactive delay measurement for optical transport network
CN102843260B (en) Channel protection method of looped network system with IP RAN (Internet Protocol-Radio Access Network) forward compatible with MSTP (Multi-Service Transport Platform)
KR20140026527A (en) Method, apparatus and system for detectiong packet path signal degraded
CN105656668B (en) Ether business transmitting method and device
JP6007138B2 (en) Transmission system, transmission apparatus, and transmission quality detection method
EP2030379A1 (en) Efficient restoration of connections in communication networks having an ip-based control plane
CN113037364A (en) Method and equipment for service protection switching
CN112039771A (en) Processing method and device based on link error code

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model