[go: up one dir, main page]

CN102752126B - Automatic protection switching method, main device and standby device - Google Patents

Automatic protection switching method, main device and standby device Download PDF

Info

Publication number
CN102752126B
CN102752126B CN201110102823.1A CN201110102823A CN102752126B CN 102752126 B CN102752126 B CN 102752126B CN 201110102823 A CN201110102823 A CN 201110102823A CN 102752126 B CN102752126 B CN 102752126B
Authority
CN
China
Prior art keywords
equipment
message
standby
main equipment
information
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
CN201110102823.1A
Other languages
Chinese (zh)
Other versions
CN102752126A (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.)
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 CN201110102823.1A priority Critical patent/CN102752126B/en
Priority to PCT/CN2012/071537 priority patent/WO2012142870A1/en
Publication of CN102752126A publication Critical patent/CN102752126A/en
Application granted granted Critical
Publication of CN102752126B publication Critical patent/CN102752126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • 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)
  • Time-Division Multiplex Systems (AREA)

Abstract

The invention provides an automatic protection switching method. The method includes that a main device where an active link is located and a standby device where a protection link is located form a multiplex section protection group; when the active link in the main device gives alarm information or alarm disappearing information, an alarm message is sent to the standby device, and when the standby device receives the alarm message, a switching decision is performed. The invention provides the main device and the standby device. By means of the automatic protection switching method, the main device and the standby device, the communication of the multiplex section protection group between the devices can be accomplished, triggering conditions at two ends are responded, and the protection of multiplex sections among the devices is achieved.

Description

A kind of automatic protection switching method, main equipment and equipment
Technical field
The present invention relates to communication system, more particularly to a kind of automatic protection switching method, main equipment and standby equipment.
Background technology
With the fast development of mechanics of communication, the self-healed protection ability of network also seems more and more important.Network protection can To ensure that business in the case of equipment or link exception, can be switched and be not disrupted by protection group.
APS (Automatic Protection Switching, APS) is applied in various network environments. APS can be divided into linear and annular according to network construction form.Linear protection switching is a kind of more extensive networking of application Form, is applied in the physical topology of point-to-point.When network is normal, the flow between two communication nodes is uploaded in main path It is defeated;When main path breaks down, the flow switch between two communication nodes reaches backup path to transmission on backup path Protection to main path.
Linear protection switching traditional at present is all based on the protection of single device, as shown in Figure 1.The linear multiplexing of single device Section protection networking is made up of node S1 and S2, realizes the protection to link Link1 and Link2.Port 1 (Port1) and port 2 (Port2) access node S1, and configuration Port2 is working port, Port1 is protection port, and same Port3 and Port4 is accessed Node S2, and configuration Port4 is working port, Port3 is protection port.So Link1 confirms as active link, Link2 is true Think to protect link.Linear protection group, configuration work port, protection port, protected mode and class are created on node S1 and S2 Type etc., and run protections of the APS protocol realizations Link2 to Link1.Linear protection group supports that 1+1 is unidirectional, 1+1 is two-way and 1: 1. Under normal circumstances, in Link1, when Link1 breaks down, node S1 and S2 detect link failure to vocational work, produce work Make link signal fault alarm (Signal Fail on working, SF-W), agreement is carried out according to current configuration and state Computing, is switched to protection link, i.e. Link2.When Link1 fault recoveries, node S1 and S2 detect link failure disappearance, produce Raw active link Signal Fail disappears and alerts, if being currently configured as reversing mode, active link is switched to according to decision-making, if working as Before be configured to non-inverted pattern, then protection link is maintained at according to decision-making.So it is achieved that the protection to link Link1.
The protection realized at present is all the protection of single device point-to-point, for networking three network element environment as shown in Figure 2, just Link protection can not be played a part of.The networking is made up of node S1, S2 and S3.Now, Port1 and Port2 be not same In equipment, the protection for protecting link Link2 to active link Link1 cannot be just realized using traditional single-point protection agreement.Together Reason, under four network element environment, traditional multiplex section protection can not play a part of link protection.
The content of the invention
The technical problem to be solved in the present invention is to propose a kind of automatic protection switching method, main equipment and standby equipment, is realized The pretection switch of striding equipment.
In order to solve the above problems, the invention provides a kind of automatic protection switching method, including:
The standby equipment where main equipment and protection link where active link constitutes multiplex section protection group;
When active link where the main equipment produces alarm or alarm disappearance information, warning message is sent to described standby Equipment, when the standby equipment receives the warning message, carries out switching decision-making.
Further, the above method can also have the characteristics that after the main equipment configuration switches order manually, transmission is ordered Order triggering message is carried in the command triggers message and described switches order manually to the standby equipment;
When the standby equipment receives the command triggers message, carry out switching decision-making.
Further, the above method can also have the characteristics that the standby equipment has alarm, switches order or receipts manually To distal end K value informations when, carry out switching decision-making.
Further, the above method can also have the characteristics that after the standby equipment carries out switching decision-making, transmission is switched certainly Plan message gives the main equipment, it is described switch to carry in decision-making message switch result;
The main equipment receives described after switching decision-making message, and the information that is carried in decision-making message is switched more according to described New local state information.
Further, the above method can also have the characteristics that also timing sends fixed between the main equipment and standby equipment When message, local configuration information and status information is carried in the timing message.
Further, the above method can also have the characteristics that the main equipment receives determining for the standby equipment transmission When message when, check local state information, if from the timing message carry standby equipment status information it is different, according to The status information of the standby equipment is updated.
Further, the above method can also have the characteristics that the main equipment or standby equipment receive the timing report Wen Shi, checks local configuration information, if inconsistent with the configuration information of carrying in the timing message, carries out abnormality processing And notify that user carries out configuration modification.
Further, the above method can also have the characteristics that the main equipment or standby equipment detect and letter is locally configured When breath is inconsistent with the configuration information of opposite end, the different notice message of send configuration to opposite end, the different notice report of the configuration Configuration information and new configuration information that current device comes into force are carried in text, and identifies the configurations different from opposite end;The master When equipment or standby equipment receive the configuration different notice message, carry out abnormality processing and notify that user carries out configuration and repaiies Change.
Further, the above method can also have the characteristics that, between the main equipment and standby equipment in the following way Interactive information:
The COM1 of the main equipment and standby equipment adds a VLAN, using the VLAN as control The message that VLAN is carried out between the main equipment or standby equipment sends;
Or, the main equipment or standby equipment set up passage by inter bay communication agreement, it would be desirable to which interactive information is pressed According to the encapsulation of type lengths values form in messages, the message is sent to opposite end by the passage.
The present invention also provides a kind of main equipment, and the main equipment and one constitute multiplex section protection group for equipment, and the master sets It is ready for use on:When the active link where it produces alarm or alarm disappearance information, warning message is sent to the standby equipment.
Further, above-mentioned main equipment can also have the characteristics that the main equipment is additionally operable to configuration and switches order manually Afterwards, command triggers message to the standby equipment is sent, is carried in the command triggers message and described is switched order manually.
Further, above-mentioned main equipment can also have the characteristics that the main equipment is additionally operable to timing and sends timing message To the standby equipment, the configuration information and status information of the main equipment are carried in the timing message.
Further, above-mentioned main equipment can also have the characteristics that the main equipment is additionally operable to:Receive the standby equipment During the timing message of transmission, local state information is checked, if different from the status information of the standby equipment, according to described for setting Standby status information is updated;And, check local configuration information, if with the timing message in carry it is described standby The configuration information of equipment is inconsistent, carries out abnormality processing and notifies that user carries out configuration modification.
Further, above-mentioned main equipment can also have the characteristics that the main equipment is additionally operable to:Detect and letter is locally configured When ceasing inconsistent with the configuration information of the standby equipment, the different notice message of send configuration to the standby equipment, the configuration Configuration information and new configuration information that current device comes into force are carried in different notice messages, and is identified and the standby equipment Different configurations;And, when configuring different notice messages of the standby equipment transmission is received, carry out abnormality processing and notify User carries out configuration modification.
Further, above-mentioned main equipment can also have the characteristics that the main equipment is additionally operable to receive the standby equipment Switch decision-making message after, according to the information updating local state information switched and carry in decision-making message.
The present invention also provides a kind of standby equipment, and the standby equipment and a main equipment constitute multiplex section protection group, described standby to set When being ready for use on the warning message for receiving the main equipment transmission, carry out switching decision-making.
Further, above-mentioned standby equipment can also have the characteristics that the standby equipment has been additionally operable to alarm, has switched life manually When making, receive the K value informations of distal end or receiving the command triggers message of the main equipment transmission, carry out switching decision-making.
Further, above-mentioned standby equipment can also have the characteristics that the standby equipment is additionally operable to:After carrying out switching decision-making, Transmission switches decision-making message to the main equipment, it is described switch to carry in decision-making message switch result.
Further, above-mentioned standby equipment can also have the characteristics that the standby equipment is additionally operable to timing and sends timing message To the main equipment, the configuration information and status information of the standby equipment are carried in the timing message.
Further, above-mentioned standby equipment can also have the characteristics that the standby equipment is additionally operable to receive the main equipment During the timing message of transmission, local configuration information is checked, if matched somebody with somebody with the main equipment that carries in the timing message Confidence breath is inconsistent, carries out abnormality processing and notifies that user carries out configuration modification.
Further, above-mentioned standby equipment can also have the characteristics that the standby equipment is additionally operable to:Detect and letter is locally configured When breath is inconsistent with the configuration information of the main equipment, the different notice message of send configuration to the main equipment, the configuration Carry the current configuration information and new configuration information for coming into force of the standby equipment in different notice messages, and identify with it is described The different configuration of main equipment;And, when configuring different notice messages of the main equipment transmission is received, carry out abnormality processing And notify that user carries out configuration modification.
By the invention it is possible to complete the communication of multiplex section protection group between striding equipment, the trigger condition at two ends is responded, realized The protection of striding equipment multiplex section.
Brief description of the drawings
Fig. 1 is the multiplex section protection networking diagram of single device;
Fig. 2 is the network of three network elements composition;
When Fig. 3 protects networking by the striding equipment that three network elements are constituted, the scene that active link breaks down;
Fig. 4 is the handling process that communication message described in the specific embodiment of the invention sends;
Fig. 5 is the handling process that communication message described in the specific embodiment of the invention is received.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
The present invention provides a kind of APS implementation method of striding equipment, as shown in Figure 3.Define active link place Equipment be main equipment, link connected port be master port;Equipment where protection link is standby equipment, and link connected port is Standby port.That is node S2 is main equipment, and port2 is working port, and node S3 is standby equipment, and port1 is protection port.Striding equipment Multiplex section protection by two network elements into collectively forming a multiplex section protection group, i.e. node S2 and S3 and constitute answering for striding equipment With section protection group.Node S2 and S3 transmit the information of multiplex section protection group.There are two multiplex section protections during four network elements, in system Group, carries out pretection switch respectively.The standby equipment where main equipment and protection link where active link constitutes multiplex section protection Group;Protection link pair active link is protected.Interactive information between main equipment and standby equipment, standby equipment is meeting trigger condition When, carry out switching decision-making, and result will be switched notifying main equipment.
The information of interaction can be divided into following five kinds between multiplex section protection group in the present invention:Timing message, warning message, life Order triggers message, switches the decision-making message notice message different with configuration.
1st, timing message:Active and standby equipment timing sends a timing message to opposite end, carries local multiplex section protection group Configuration information and status information.
(1) configuration information of multiplex section protection group is checked, such as (reversion is non-for protection type (1+1 or 1: 1), protected mode Reversion), Wait-to-Restore (Wait to Restore, WTR) time etc. determine the configuration of protection group attribute.These configurations are carried out Check, if the configuration of two network elements is inconsistent to carry out abnormal flow processing, and remind user to change configuration;
(2) status information of multiplex section protection group, such as current protection group state, active path are checked.Inspection master Main equipment is directed to, because in multiplex section protection group, switch decision-making is carried out in standby equipment, and main equipment does not carry out switching decision-making, Simply the result of switching according to standby equipment carries out the renewal of state.When state is inconsistent on main equipment with standby equipment, main equipment State in case the state of equipment is defined and is updated.
When main equipment receives the timing message that the standby equipment sends, local state information is checked, if fixed with described When message in the status information of standby equipment that carries it is different, the status information according to the standby equipment is updated, and, inspection Local configuration information, if inconsistent with the configuration information of carrying in the timing message, carry out abnormality processing and notifies to use Family carries out configuration modification.
When the standby equipment receives the timing message, check local configuration information, if with the timing message The configuration information of middle carrying is inconsistent, carries out abnormality processing and notifies that user carries out configuration modification.
2nd, warning message:When alarm or alarm disappearance information is produced on main equipment, the transmission of warning message is triggered.
Switch decision-making is carried out in standby equipment, therefore active link is produced when alerting or alerting disappearance, and triggering alarm immediately is reported Text is sent to standby equipment and carries out switching decision-making.Standby equipment receives warning message, using this alarm as one of trigger condition switched Carry out switching decision-making, decide whether to be switched.
3rd, command triggers message:When main equipment configuration switches order (such as Manual switch, Forced manually Switch, Clear, Exercise, Lockout of protection etc.) when, need to immediately send command triggers message and be set to standby It is standby.Carried in the command triggers message and described switch order manually.
After switch decision-making is carried out in standby equipment, therefore main equipment configuration switches order manually, fallen manually with local last time Change order to compare, when priority is high, send command triggers message carries out switching decision-making to standby equipment.Standby equipment receives order and touches Transmit messages text, this order can be carried out switching decision-making as one of trigger condition switched, decide whether to be switched.
4th, decision-making message is switched:After standby equipment carries out switching decision-making, the transmission of decision-making message is switched in triggering immediately, described Result is switched in carrying in switching decision-making message, notifies that main equipment switches result.
When standby equipment has alarm, K value informations (the G.841 a kind of letter defined in agreement switched order manually, receive distal end Breath), or the warning message of main equipment, command triggers message are received, standby equipment can all compare current all of trigger condition, carry out Decision-making is switched, decides whether to be switched between active link and protection link, now, result will switched and notify to be set to master It is standby to carry out state renewal.The main equipment receives described after switching decision-making message, carry in decision-making message according to described being switched Information updating local state information.
Wherein, order, state, alarm, configuration information of distal end etc. are carried in the K value informations.The distal end refers to protection The other end of the link in addition to standby equipment, than the node S1 in network as shown in Figure 3.
5th, different notice messages are configured:When equipment, to detect the information of being locally configured and the opposite end configuration information that comes into force inconsistent When, will the different notice message of send configuration to opposite end.Wherein, current device is carried in the different notice message of the configuration The configuration information and new configuration information for coming into force, and identify the configurations different from opposite end.When opposite end, to receive the configuration different After notice message, corresponding abnormality processing is carried out, and notify the change that user configured, to reach two ends network element configuration phase Together.
Scene as shown in Figure 3, when Link1 breaks down, node S2 can send warning message to node S3;S3 receives announcement Link1 failures are perceived after warning message, Protection path Link2 is switched to after decision-making, and decision-making message to node S2 is switched in transmission; Node S2 is received and is switched decision-making message and can carry out the renewal of state, it is achieved thereby that protection link Link2 is to active link Link1 Protection and node S2, node S3 state unification.
As shown in figure 4, being handling process schematic diagram when communication message of the present invention sends.The specific following institute of process description Show:
Communication message between step S401, striding equipment sends, and is directly entered step S402.
In step S402, m odel validity inspection is carried out, it is legal then to enter step S403, otherwise it is directly entered step S417。
The m odel validity inspection includes:Message length, parameter area inspection etc..Such as, warning information triggering is produced During the transmission of warning message, the validity to warning information is checked.
In step S403, selection sends the type of message, enters to be advanced into different processing streams according to different type messages Journey.
If the type of message for sending is the different notice message of configuration, into step S404, the type message is carried out Filling, i.e., into step S405.
The configuration come into force in step S405, filling current device and new configuration information, and identify different from opposite end matching somebody with somebody (i.e. which configuration is different from opposite end) are put, message transmission is carried out, into step S417.The opposite end of main equipment is standby equipment, standby to set Standby opposite end is main equipment.
If the type of message for sending is timing message, into step S406, the filling of the type message is carried out, that is, entered Enter step S407.
In step S407, timing message needs the current configuration information of pad device and status information, so as to opposite equip. The laggard line parameter inspection of timing message is received, step S417 is subsequently entered.
If the type of message for sending is warning message, into step S408, then enter line parameter judgement, that is, enter step Rapid S409.
In step S409, just need for local alarm information noticing to carry out decision-making to standby equipment due to main equipment, therefore Need to judge whether current device is main equipment, if main equipment enters step S410, otherwise into step S417.
In step S410, fill the warning information of current primary link and be transmitted, subsequently enter step S417.
If the type of message for sending is to switch decision-making message, into step S411, then enter line parameter judgement, that is, enter Enter step S412.
In step S412, only can just send and switch decision-making in standby equipment operation, therefore only standby equipment due to switching decision-making Message, i.e., when local device is standby equipment, into step S413, otherwise into step S417.
In step S413, carry out switch status, the filling of active path parameter and be transmitted, the last state that will be switched Main equipment is notified, step S417 is subsequently entered.
If the type of message for sending is command triggers message, into step S414, then enter line parameter judgement, that is, enter Enter step S415.
In step S415, due to switching decision-making in standby equipment, so the order that main equipment is issued needs to send message to standby Equipment carries out decision-making, therefore, step S416 is entered when equipment is main equipment, otherwise into step S417.
In step S416, the command information of filling main equipment configuration is simultaneously transmitted, and subsequently enters step S417.
Step S417, message transmission flow terminates.
As shown in figure 5, being handling process schematic diagram when communication message of the present invention is received.The specific following institute of process description Show:
In step S501, the communication message between striding equipment is received, be directly entered step S502.
In step S502, carry out m odel validity inspection, such as type of message, multiplex section protection group ID information, it is legal then Into step S503, step S518 is otherwise directly entered.
In step S503, according to the type of the message for receiving, different handling processes are carried out.
In step S504, the different notice message of configuration is received, the treatment of the type message is carried out into step S505.
In step S505, the different notice message of configuration is received, illustrate that the node configuration of striding equipment is inconsistent, carried out corresponding Abnormality processing (such as carry out locking current state machine operation), and notify that user carries out configuration modification, to reach two ends configuration Unanimously, step S518 is subsequently entered.
In step S506, timing message is received, into step S507.
In step S507a, judgement is main equipment or standby equipment, if standby equipment, is directly entered step S508, if It is main equipment, into step S507b.
In step S507b, the inspection of state is carried out, if two ends state is inconsistent, in case equipment state is defined, main equipment The state of carrying out renewal.
In step S508, configuration information inspection is carried out, if two ends configuration is inconsistent, into step S509, otherwise entered Enter step S519.
In step S509, when two ends configuration is inconsistent, corresponding abnormality processing is carried out (as can not be now fallen manually Change order or carry out the operation such as state machine locking);The transmission that also needs to carry out simultaneously to configure different notice messages simultaneously notifies to use Family carries out configuration modification, subsequently enters step S519.
In step S510, warning message is received, then into step S511.
In step S511, judge whether current device is standby equipment, because only that main equipment can just carry out warning message Send, so, main equipment will not receive warning message.Therefore, it is no into step S512 if current device is standby equipment Then enter step S519.
In step S512, Link State, the guarantor of the current standby equipment of chain circuit alarming and combination according to the main equipment for receiving Shield group state carries out decision-making, is sent after decision-making and switches decision-making message to main equipment.Subsequently enter step S519.
In step S513, receive and switch decision-making message, then into step S514.
In step S514, judge whether current device is main equipment, because switching decision-making in standby equipment, only main equipment Can receive and switch decision-making message.Current device is that main equipment enters S515, otherwise into step S519.
In step S515, main equipment is received after switching decision-making message, and local information is updated according to newest state.Because Standby equipment is decision device, so the state of main equipment in case equipment is defined, subsequently enters step S519.
In step S516, command triggers message is received, then into step S517.
In step S517, judge whether current device is standby equipment.Because standby equipment is decision device, main equipment is received down After changing order, can send command triggers message carries out decision-making to standby equipment, therefore current device is when being standby equipment, into step S518, otherwise into step S519.
In step S518, according to the order of switching for receiving, and decision-making is carried out with reference to current state and configuration, after decision-making Result is encapsulated in switch and be sent to main equipment in decision-making message and synchronize, subsequently enter step S519.
Step S519, message transmission flow terminates.
Described above is the various Message processing flows of striding equipment protection group, can will protect group information in this way Opposite end effectively is delivered to, the protection of striding equipment is realized.
Message between main equipment and standby equipment sends can use various ways, such as by the COM1 of active and standby equipment A certain VLAN (Virtual Local Area Network, VLAN), the VLAN is added to be exclusively used in as control VLAN The communication message of striding equipment protection group sends;Or the inter bay communication agreement delivered using internet engineering task group (Inter-Chassis Communication Protocol, ICCP) draft.The main equipment or standby equipment are by between frame Communication protocol sets up passage, it would be desirable to which interactive information is encapsulated in messages according to type lengths values form, and the message is led to Cross the passage and be sent to opposite end.
Wherein, ICCP is the extension based on tag distribution protocol, and a passage is set up in equipment room, it is ensured that equipment room is interacted Information is reliable, orderly delivery.And it provide a set of administrative mechanism, it would be desirable to the equipment of transmission information be divided into one it is superfluous Yu Zuzhong, the passage of equipment room is set up by message.Equipment room needs the information of interaction according to type lengths values (Type Length Value, TLV) form be encapsulated into message, be sent to other side by passage.Striding equipment protection group can utilize this Individual passage carries out protection group information reliability, orderly transmission.But Pseudowire Redundancy are only described in the draft (PW) redundancy group application TLV and Multi-chassis Link Aggregation Control Protocol (mLACP) applications TLV, not the TLV to multiplex section protection application scenarios be defined.Therefore, it can be extended the TLV of ICCP support again The scene protected with section, newly-increased timing information TLV, warning information TLV, command information TLV, switches object information TLV and configuration Different announcement information TLV, wherein:
Timing information TLV includes configuration and the status information of protection group;Status information includes state and active path etc.;
Warning information TLV includes the alarm status of link;
Command information TLV includes ordering what is configured to switch order;
Switch last state and active path of the object information TLV including protection group;
The different announcement information TLV of configuration includes local effective configuration information and new configuration information, and which is identified Configuration is different.
Certain TLV can also other modes definition, but as long as the information such as state, configuration, alarm, order comprising protection group .
The present invention also provides a kind of main equipment, and the main equipment and one constitute multiplex section protection group for equipment, and the master sets It is ready for use on:When the active link where it produces alarm or alarm disappearance information, warning message is sent to the standby equipment.
Wherein, after the main equipment is additionally operable to configure and switches order manually, command triggers message to the standby equipment is sent, Carried in the command triggers message and described switch order manually.
Wherein, the main equipment is additionally operable to timing and sends timing message to the standby equipment, is carried in the timing message The configuration information and status information of the main equipment.
Wherein, the main equipment is additionally operable to:When receiving the timing message that the standby equipment sends, local state letter is checked Breath, if different from the status information of the standby equipment, the status information according to the standby equipment is updated;And, check Local configuration information, if inconsistent with the configuration information of the described standby equipment of carrying in the timing message, carries out exception Process and notify that user carries out configuration modification.
Wherein, the main equipment is additionally operable to:Detect the information of being locally configured inconsistent with the configuration information of the standby equipment When, the different notice message of send configuration carries current device life to the standby equipment in the different notice message of the configuration The configuration information of effect and new configuration information, and identify the configurations different from the standby equipment;And, receive described for setting During the different notice messages of configuration that preparation is sent, carry out abnormality processing and notify that user carries out configuration modification.
Wherein, the main equipment be additionally operable to receive the standby equipment switch decision-making message after, switched certainly according to described The information updating local state information carried in plan message.
The present invention also provides a kind of standby equipment, and the standby equipment and a main equipment constitute multiplex section protection group, described standby to set When being ready for use on the warning message for receiving the main equipment transmission, carry out switching decision-making.
Wherein, the standby equipment is additionally operable to alarm, order is switched manually, the K value informations of distal end is received or is received During the command triggers message that the main equipment sends, carry out switching decision-making.
Wherein, the standby equipment is additionally operable to:After carrying out switching decision-making, transmission switches decision-making message to the main equipment, institute State carrying in switching decision-making message and switch result.
Wherein, the standby equipment is additionally operable to timing and sends timing message to the main equipment, is carried in the timing message The configuration information and status information of the standby equipment.
Wherein, when the standby equipment is additionally operable to receive the timing message of the main equipment transmission, local configuration is checked Information, if inconsistent with the configuration information of the main equipment of carrying in the timing message, carry out abnormality processing and notifies User carries out configuration modification.
Wherein, the standby equipment is additionally operable to:Detect the information of being locally configured inconsistent with the configuration information of the main equipment When, the different notice message of send configuration to the main equipment carries the standby equipment in the different notice message of the configuration The current configuration information and new configuration information for coming into force, and identify the configurations different from the main equipment;And, receive institute When configuring different notice messages of main equipment transmission is stated, abnormality processing is carried out and is notified that user carries out configuration modification.
From the description above, the communication of multiplex section protection group, the synchronization of completion status between the present invention can realize striding equipment With event response, effectively supported for the striding equipment protection of three network elements, four network element group networks is provided.
In sum, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding State the technical scheme described by embodiment to modify, or equivalent is carried out to which part technical characteristic;And these are repaiied Change or replace, still belong to the scope that the present invention is covered.
Obviously, those skilled in the art should be understood that above-mentioned of the invention each module or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored Performed by computing device in the storage device, or they be fabricated to each integrated circuit modules respectively, or by they In multiple modules or step single integrated circuit module is fabricated to realize.So, the present invention is not restricted to any specific Hardware and software is combined.

Claims (20)

1. a kind of automatic protection switching method of striding equipment, it is characterised in that including:
The standby equipment where main equipment and protection link where active link constitutes multiplex section protection group;
When active link where the main equipment produces alarm or alarm disappearance information, warning message is sent to described for setting It is standby, when the standby equipment receives the warning message, carry out switching decision-making;
Interactive information in the following way between the main equipment and standby equipment:
The COM1 of the main equipment and standby equipment adds a VLAN, virtual using the VLAN as control The message that LAN is carried out between the main equipment or standby equipment sends;Or, the main equipment or standby equipment are by between frame Communication protocol sets up passage, it would be desirable to which interactive information is encapsulated in messages according to type lengths values form, and the message is led to Cross the passage and be sent to opposite end.
2. the method for claim 1, it is characterised in that methods described also includes:
After the main equipment configuration switches order manually, command triggers message to the standby equipment, the command triggers report are sent Carried in text and described switch order manually;
When the standby equipment receives the command triggers message, carry out switching decision-making.
3. the method for claim 1, it is characterised in that methods described also includes:The standby equipment has alarm, falls manually When changing order or receiving the K value informations of distal end, carry out switching decision-making.
4. the method as described in claim 1,2 or 3, it is characterised in that methods described also includes:The standby equipment is switched After decision-making, transmission switches decision-making message to the main equipment, it is described switch to carry in decision-making message switch result;
The main equipment receive it is described after switching decision-making message, according to the information updating sheet switched and carried in decision-making message Ground status information.
5. the method for claim 1, it is characterised in that methods described also includes:Between the main equipment and standby equipment Also timing sends timing message, and local configuration information and status information is carried in the timing message.
6. method as claimed in claim 5, it is characterised in that the main equipment receives the timing report that the standby equipment sends Wen Shi, checks local state information, if different from the status information of the standby equipment carried in the timing message, according to described The status information of standby equipment is updated.
7. method as claimed in claim 5, it is characterised in that the main equipment or standby equipment receive the timing message When, local configuration information is checked, if inconsistent with the configuration information of carrying in the timing message, carry out abnormality processing simultaneously Notify that user carries out configuration modification.
8. the method as described in claim 1 or 7, it is characterised in that the main equipment or standby equipment detect and letter is locally configured When breath is inconsistent with the configuration information of opposite end, the different notice message of send configuration to opposite end, the different notice report of the configuration Configuration information and new configuration information that current device comes into force are carried in text, and identifies the configurations different from opposite end;The master When equipment or standby equipment receive the configuration different notice message, carry out abnormality processing and notify that user carries out configuration and repaiies Change.
9. a kind of main equipment of striding equipment, it is characterised in that the main equipment and constitutes multiplex section protection group for equipment, described Main equipment is used for:When the active link where it produces alarm or alarm disappearance information, warning message is sent to described for setting It is standby;
Interactive information in the following way between the main equipment and standby equipment:
The COM1 of the main equipment and standby equipment adds a VLAN, virtual using the VLAN as control The message that LAN is carried out between the main equipment or standby equipment sends;Or, the main equipment or standby equipment are by between frame Communication protocol sets up passage, it would be desirable to which interactive information is encapsulated in messages according to type lengths values form, and the message is led to Cross the passage and be sent to opposite end.
10. main equipment as claimed in claim 9, it is characterised in that the main equipment is additionally operable to after configuration switches order manually, Command triggers message to the standby equipment is sent, is carried in the command triggers message and described is switched order manually.
11. main equipments as claimed in claim 9, it is characterised in that the main equipment is additionally operable to timing and sends timing message extremely The standby equipment, carries the configuration information and status information of the main equipment in the timing message.
12. main equipments as claimed in claim 9, it is characterised in that the main equipment is additionally operable to:Receive the standby equipment hair During the timing message for sending, local state information is checked, if different from the status information of the standby equipment, according to the standby equipment Status information be updated;And, local configuration information is checked, if set with the described standby of carrying in the timing message Standby configuration information is inconsistent, carries out abnormality processing and notifies that user carries out configuration modification.
13. main equipment as described in claim 9 or 12, it is characterised in that the main equipment is additionally operable to:Detect and be locally configured When information is inconsistent with the configuration information of the standby equipment, the different notice message of send configuration is described to match somebody with somebody to the standby equipment Put and carry in different notice messages configuration information and new configuration information that current device comes into force, and identify and standby set with described Standby different configuration;And, when configuring different notice messages of the standby equipment transmission is received, carry out abnormality processing and lead to Know that user carries out configuration modification.
14. main equipments as claimed in claim 9, it is characterised in that the main equipment is additionally operable to receive the standby equipment After switching decision-making message, according to the information updating local state information switched and carried in decision-making message.
The standby equipment of 15. a kind of striding equipments, it is characterised in that the standby equipment constitutes multiplex section protection group, institute with a main equipment When stating standby equipment for the warning message for receiving the main equipment transmission, carry out switching decision-making;
Interactive information in the following way between the main equipment and standby equipment:
The COM1 of the main equipment and standby equipment adds a VLAN, virtual using the VLAN as control The message that LAN is carried out between the main equipment or standby equipment sends;Or, the main equipment or standby equipment are by between frame Communication protocol sets up passage, it would be desirable to which interactive information is encapsulated in messages according to type lengths values form, and the message is led to Cross the passage and be sent to opposite end.
16. standby equipment as claimed in claim 15, it is characterised in that the standby equipment has been additionally operable to alarm, has switched life manually When making, receive the K value informations of distal end or receiving the command triggers message of the main equipment transmission, carry out switching decision-making.
The 17. standby equipment as described in claim 15 or 16, it is characterised in that the standby equipment is additionally operable to:Carry out switching decision-making Afterwards, send and switch decision-making message to the main equipment, it is described switch to carry in decision-making message switch result.
18. standby equipment as claimed in claim 15, it is characterised in that the standby equipment is additionally operable to timing and sends timing message extremely The main equipment, carries the configuration information and status information of the standby equipment in the timing message.
19. standby equipment as claimed in claim 15, it is characterised in that the standby equipment is additionally operable to receive the main equipment hair During the timing message for sending, local configuration information is checked, if the configuration with the main equipment of carrying in the timing message Information is inconsistent, carries out abnormality processing and notifies that user carries out configuration modification.
The 20. standby equipment as described in claim 15 or 19, it is characterised in that the standby equipment is additionally operable to:Detect and locally match somebody with somebody When confidence breath is inconsistent with the configuration information of the main equipment, the different notice message of send configuration is described to the main equipment Carry the current configuration information and new configuration information for coming into force of standby equipment in the different notice messages of configuration, and identify with The different configuration of the main equipment;And, when configuring different notice messages of the main equipment transmission is received, carry out exception Process and notify that user carries out configuration modification.
CN201110102823.1A 2011-04-22 2011-04-22 Automatic protection switching method, main device and standby device Active CN102752126B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110102823.1A CN102752126B (en) 2011-04-22 2011-04-22 Automatic protection switching method, main device and standby device
PCT/CN2012/071537 WO2012142870A1 (en) 2011-04-22 2012-02-23 Method, active device and standby device for automatic protection switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110102823.1A CN102752126B (en) 2011-04-22 2011-04-22 Automatic protection switching method, main device and standby device

Publications (2)

Publication Number Publication Date
CN102752126A CN102752126A (en) 2012-10-24
CN102752126B true CN102752126B (en) 2017-05-24

Family

ID=47032037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110102823.1A Active CN102752126B (en) 2011-04-22 2011-04-22 Automatic protection switching method, main device and standby device

Country Status (2)

Country Link
CN (1) CN102752126B (en)
WO (1) WO2012142870A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103052106B (en) 2012-12-20 2016-03-09 华为技术有限公司 The linear multiplex section protection method of striding equipment, gateway and controller
CN105634935A (en) * 2014-10-30 2016-06-01 中兴通讯股份有限公司 Device and method for detecting service layer signal failure
CN104683078B (en) * 2015-02-06 2019-04-16 烽火通信科技股份有限公司 Multiplex section protection system and guard method based on multicast mode
CN106411546B (en) * 2015-07-29 2020-03-17 中兴通讯股份有限公司 Pseudo wire dual-homing protection control method and communication equipment
CN107888280A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 The two-way reverse method of multiplex section protection, apparatus and system
CN107968716B (en) * 2016-10-18 2022-07-12 中兴通讯股份有限公司 Method and device for repairing shared ring
EP3410240B1 (en) * 2017-05-30 2021-07-07 Schneider Electric Industries SAS Method for replacing and/or cloning at least some devices of a machine
CN108319679B (en) * 2018-01-30 2021-03-23 杭州迪普科技股份有限公司 Method and device for generating primary key
CN113917869A (en) * 2021-10-08 2022-01-11 江西清华泰豪三波电机有限公司 Generator set control method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094157A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation
WO2009082894A1 (en) * 2007-12-29 2009-07-09 Huawei Technologies Co., Ltd. Automatic protection switching implementation method, system and board equipment for main and standby boards
CN101854255A (en) * 2010-05-14 2010-10-06 中兴通讯股份有限公司 Method and system for protecting multiplex section in packet transport network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426245B1 (en) * 2000-12-26 2004-04-08 엘지전자 주식회사 Method of Operating the STM-1 Bi-directional Switch in the Electronic Switching System
CN101399697B (en) * 2007-09-30 2011-02-16 华为技术有限公司 System and method for automatically protection switching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094157A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation
WO2009082894A1 (en) * 2007-12-29 2009-07-09 Huawei Technologies Co., Ltd. Automatic protection switching implementation method, system and board equipment for main and standby boards
CN101854255A (en) * 2010-05-14 2010-10-06 中兴通讯股份有限公司 Method and system for protecting multiplex section in packet transport network

Also Published As

Publication number Publication date
WO2012142870A1 (en) 2012-10-26
CN102752126A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN102752126B (en) Automatic protection switching method, main device and standby device
CN104980372B (en) Relay system and exchange apparatus
CN103124224B (en) Multiple faults for Industry Control allows Ethernet
WO2014199670A1 (en) Communication system, communication device, and protection method
CN106789264B (en) A kind of method and apparatus that link aggregation group channel is switched fast
TW201517579A (en) Redundant ring node, network node, and method for implementing redundant node supporting ring protection protocol
JP2007180830A (en) Duplex monitoring control system and redundant switching method of the system
JP2005020543A (en) Network system, node device, redundant construction method, and redundant construction program
CN108900415A (en) Master-slave equipment switching method and system under fault of M L AG interface
CN1640066A (en) Local network, particularly Ethernet network having redundancy properties, and redundancy manager for such a network
CN102377605A (en) Method for implementing double-returning protection of packet transport network (PTN) equipment by using combination of multiple protection modes
CN101141333A (en) Ethernet system host node slave port fault processing method
CN102130912B (en) Rapid ring protection protocol (RRPP)-based multiple virtual local area network (VLAN) register protocol (MVRP) realization method and equipment
CN111431786A (en) A steering mode ring protection method for FlexE ring network in SPN
CN103973479A (en) Method and apparatus for interworking protection switching
WO2016086548A1 (en) Pseudo wire dual-homing protection switching system, method and device
JP2010239279A (en) Communication apparatus and method thereof, and communication system and method thereof
EP2834941B1 (en) Diagnosing and reporting a network break
JP2010206384A (en) Node device, operation monitoring device, transfer path selection method, and program
WO2014075594A1 (en) Service transmission protection method and device based on intersecting ring of multi-ring structure network
JP6263105B2 (en) Relay system and relay device
CN105681149A (en) Loop network protection method and device
CN104426700B (en) The method of network element and looped network protection
CN102916842A (en) Method for implementing PTN (Packet Transport Network) equipment double-returning protection by overlaying various protection modes
US20170070410A1 (en) System and method for providing redundant ethernet network connections

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant