CN102025542A - Matching method and system of master and slave interfaces - Google Patents

Matching method and system of master and slave interfaces Download PDF

Info

Publication number
CN102025542A
CN102025542A CN2010105803145A CN201010580314A CN102025542A CN 102025542 A CN102025542 A CN 102025542A CN 2010105803145 A CN2010105803145 A CN 2010105803145A CN 201010580314 A CN201010580314 A CN 201010580314A CN 102025542 A CN102025542 A CN 102025542A
Authority
CN
China
Prior art keywords
equipment
active
standby
interface
masterslave switchover
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105803145A
Other languages
Chinese (zh)
Inventor
王涛
赵进
吴兵
蔡勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2010105803145A priority Critical patent/CN102025542A/en
Publication of CN102025542A publication Critical patent/CN102025542A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a matching method and system of main and standby interfaces, a determination method of the master and slave interfaces and equipment without the master and slave interfaces. The matching method of the master and slave interfaces is as follows: after a home terminal equipment and an opposite terminal equipment determine the master and slave interfaces are not matched or a link is abnormal, the home terminal equipment and/or the opposite terminal equipment informs an upper layer system of initiating master and slave switching; and after the master and slave switching is successful, the equipment initiating the master and slave switching sends the master and slave sates of the equipment to the opposite terminal through a state sign field and a state mark field which are newly added in an information message, and if the master and slave states of the equipment at the two terminals are consistent, the master and slave interfaces are matched. In the invention, based on an improved 802.3ah protocol, the master and slave y protection and a rotation mechanism of Ethernet equipment are achieved, and the Ethernet master and slave protection problems that the master and slave terminals are not matched, optical fiber is singly passed and the like are well solved.

Description

Active and standby matching process and system with interface
Technical field
The present invention relates to ethernet technology, relate in particular to a kind of active and standby matching process and system, active and standby with the definite method of interface and the equipment of dereliction spare interface with interface.
Background technology
Fast development along with network technology, reliability requirement to telecommunication apparatus is also more and more higher, telecommunication apparatus generally can adopt active and standby configuration in order to guarantee reliability on crucial veneer or equipment, for example, the active and standby configuration of interface single plate or interface, to guarantee when the master breaks down with veneer or interface, can to switch to slave board apace, to guarantee professional normal operation.
Simultaneously, in networking, there is the situation of the active and standby direct butt joint of two equipment, so just might has the main situation about being connected together in opposite end, so just can't work, need detect and protect it with veneer and local terminal standby board.
Summary of the invention
In order to solve the problems of the technologies described above; the invention provides a kind of active and standby matching process and system, active and standby with the definite method of interface and the equipment of dereliction spare interface with interface; in a kind of simple and reliable mode, reach the purpose of the link detecting that realizes telecommunication apparatus better, active and standby detection and protection.
The invention provides a kind of active and standby matching process with interface, this method comprises:
Local terminal equipment and opposite equip. determine active and standby with interface do not match or link unusual after, initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system; And
After the masterslave switchover success, the equipment of initiating to switch sends to opposite end with the active and standby of self with state by Status Flag field and identification field newly-increased in the infomational message, if the active and standby state consistency of using of terminal device, the then active and standby Interface Matching of using.
Preferably, above-mentioned active and standby method with Interface Matching can have following characteristics:
Above-mentioned local terminal equipment and opposite equip. determine active and standby with interface do not match or link unusual after, initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system and comprise:
The active and standby of local terminal equipment and opposite equip. sends infomational message mutually with interface, and above-mentioned infomational message is represented the active and standby state of using by the Status Flag field that increases newly, by the identification field indication equipment sign that increases newly;
Local terminal equipment and opposite equip. are compared above-mentioned Status Flag field, do not match with interface if discovery is active and standby, then initiate masterslave switchover by local terminal equipment or opposite equip. notice upper system.
Preferably, above-mentioned active and standby method with Interface Matching also can have following characteristics:
Above-mentioned local terminal equipment and opposite equip. determine active and standby with interface do not match or link unusual after, initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system and comprise:
Local terminal equipment and opposite equip. carry out link detecting, detect the unusual end equipment of link and send urgent link event message to other end equipment, and the notice upper system is initiated masterslave switchover; Above-mentioned other end equipment also notifies upper system to initiate masterslave switchover after receiving above-mentioned urgent link event message.
Preferably, above-mentioned active and standby method with Interface Matching also can have following characteristics:
Above-mentionedly initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system and comprise:
Determine to initiate masterslave switchover according to the little strategy of device identification by local terminal equipment or opposite equip. notice upper system; Perhaps
Determine to initiate masterslave switchover according to the big strategy of device identification by local terminal equipment or opposite equip. notice upper system.
Preferably, above-mentioned active and standby method with Interface Matching also can have following characteristics:
In the definite processing of little strategy by local terminal equipment or opposite equip. notice upper system initiation masterslave switchover according to device identification,
If carry out masterslave switchover according to the little strategy of device identification, then when the local terminal equipment littler than opposite end device identification can not be initiated masterslave switchover, then the device identification with self is revised as maximum, and amended device identification being sent to opposite equip. by the identification field that increases newly in the infomational message, opposite equip. carries out masterslave switchover according to the little strategy of device identification;
Above-mentioned according to device identification big strategy determine to initiate in the processing of masterslave switchover by local terminal equipment or opposite equip. notice upper system,
If carry out masterslave switchover according to the big strategy of device identification, then when the local terminal equipment bigger than opposite end device identification can not be initiated masterslave switchover, then the device identification with self is revised as minimum value, and amended device identification being sent to opposite equip. by the identification field that increases newly in the infomational message, opposite equip. carries out masterslave switchover according to the big strategy of device identification.
The present invention also provides a kind of active and standby definite method with interface, and said method comprises:
One end equipment of dereliction spare interface is according to the active and standby interface of using of determining opposite equip. from Status Flag field newly-increased in the infomational message of opposite equip. and identification field that receives.
The present invention also provides a kind of active and standby system with Interface Matching, and said system comprises first equipment and second equipment, wherein:
First equipment, be used for determining and second equipment active and standby with interface do not match or link unusual after, the notice upper system is initiated masterslave switchover; After the masterslave switchover success, the active and standby of self sent to second equipment with state by Status Flag field and identification field newly-increased in the infomational message, and if the active and standby state consistency of using of second equipment, the then active and standby Interface Matching of using;
Second equipment, be used for determining and first equipment active and standby with interface do not match or link unusual after, the notice upper system is initiated masterslave switchover; After the masterslave switchover success, the active and standby of self sent to first equipment with state by Status Flag field and identification field newly-increased in the infomational message, and if the active and standby state consistency of using of first equipment, the then active and standby Interface Matching of using.
Preferably, above-mentioned active and standby system with Interface Matching can have following characteristics:
Above-mentioned first equipment, be further used for by active and standby with the interface and second equipment of self active and standby with the interface message of receiving and sending messages mutually, above-mentioned infomational message is represented the active and standby state of using by newly-increased Status Flag field, by the identification field indication equipment sign that increases newly; And compare above-mentioned Status Flag field, if above-mentioned Status Flag field value is inequality, then determine not match with interface with the active and standby of second equipment;
Above-mentioned second equipment, be further used for by active and standby with the interface and first equipment of self active and standby with the interface message of receiving and sending messages mutually, above-mentioned infomational message is represented the active and standby state of using by newly-increased Status Flag field, by the identification field indication equipment sign that increases newly; And compare above-mentioned Status Flag field, if above-mentioned Status Flag field value is inequality, then determine not match with interface with the active and standby of first equipment.
Preferably, above-mentioned active and standby system with Interface Matching also can have following characteristics:
Above-mentioned first equipment is further used for determining and after second equipment active and standby do not match with interface, if it is little than second equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover; Above-mentioned second equipment is further used for determining and after first equipment active and standby do not match with interface, if it is little than first equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover; Perhaps
Above-mentioned first equipment is further used for determining and after second equipment active and standby do not match with interface, if it is big than second equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover; Above-mentioned second equipment is further used for determining and after first equipment active and standby do not match with interface, if it is big than first equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover.
The present invention also provides a kind of equipment of dereliction spare interface, and the said equipment is used for according to the active and standby interface of using of determining opposite equip. from the newly-increased Status Flag field of the infomational message of opposite equip. and identification field that receives.
The present invention is based on improved 802.3ah agreement, realized the main-apparatus protection and the Switchover mechanism of ethernet device, solved well that active and standby two ends do not match and Ethernet main-apparatus protection problem such as optical fiber single-pass.
Description of drawings
Fig. 1 is the schematic diagram of the amended information of the present invention (Information) message;
Fig. 2 is the active and standby flow chart with the Interface Matching method of the present invention;
The schematic diagram that Fig. 3 can't switch when not matching with interface for terminal device of the present invention active and standby;
Fig. 4 does not realize the schematic flow sheet that negotiation is switched for the present invention corresponding to active and standby the matching of terminal device under the scene shown in Figure 3;
Fig. 5 realizes the schematic flow sheet that negotiation is switched when the present invention is directed to the optical fiber single-pass;
Fig. 6 is the active and standby structural representation with the Interface Matching system of the present invention;
Fig. 7 is active and standby with the interface structural representation of fixed system really for the present invention.
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme.
802.3ah agreement, promptly (operations administration and maintenance, two-layer protocol OAM) are monitoring and the instrument that solves network problem to Ethernet (Ethernet) Operations,Administration And Maintenance.It can make more effectively supervising the network of network manager at the state of data link layer reporting ent.At present, OAM mainly solves the OAM problem of last kilometer ethernet equipment, comprises link performance monitoring, detecting fault and alarm, go-and-return test, the request of telemanagement information bank (mib) variable.
The present invention in a kind of simple and reliable mode, reaches the purpose of the link detecting that realizes telecommunication apparatus better, active and standby detection and protection by improved 802.3ah agreement.
802.3ah protocol massages after the improvement as shown in Figure 1, in information (information) message, increased information TLV field newly, comprise two information value among the TLV, one is the information value of local terminal, and another is the information value of opposite end; The activestandby state (master slave status) that comprises local terminal among the information value of local terminal comprises the activestandby state of opposite end among the information value of opposite end; Activestandby state (master slave status), the current activestandby state of the local and opposite end of expression if value is 1, then is expressed as main usefulness, if value is 0, then is expressed as standbyly, if be other values, then represents state the unknown; Also comprise newly-increased project data terminal equipment (DTE) ID among the TLV, ID number of the local and opposite end DTE equipment of expression is if two ends then with the size of DTE ID which the DTE equipment of making a strategic decision are responsible for initiation and are switched because active and standby matching do not switched; Because need to set up constraint or prompting in actual disposition or in the link setup negotiations process, two ends DTE ID can not equate.
As shown in Figure 2, be the active and standby flow chart with the Interface Matching method of the present invention, this method comprises:
Step 201, local terminal equipment and opposite equip. determine active and standby with interface do not match or link unusual after, initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system;
For the active and standby unmatched situation of terminal device of butt joint, drawn by master slave status field in the information message of two ends DTE equipment judgement OAM: the status word segment value of terminal device is inconsistent, then shows active and standby not matching; And determine according to less strategy of DTE ID or the bigger strategy of DTE ID whether the decision-making of end equipment notice upper system initiates masterslave switchover, and the factor of decision-making comprises whether the OAM link of former spare interface is in normal condition etc.;
In addition, if identifying less strategy with DTE switches and is example, if a side who preferentially switches according to the DTE-ID decision-making can not initiate to switch because of local cause specific (fault etc.), then maximum limit is revised as with DTE-ID in this locality temporarily, and by information message notifying the other side, initiated switch by the other side according to former decision-making mechanism this moment; After switching end, this locality is re-set as normal value with DTE-ID;
Similarly, be example as if switching with the big strategy of DTE sign, if a side who preferentially switches according to the DTE-ID decision-making can not initiate to switch because of local cause specific (fault etc.), then minimum limit value is revised as with DTE-ID in this locality temporarily, and by information message notifying the other side, initiated switch by the other side according to former decision-making mechanism this moment; After switching end, this locality is re-set as normal value with DTE-ID;
For the situation of the current master of terminal device of docking with optical fiber transmitting-receiving single-pass, OAM agreement itself can detect unusual with the form of emergency (Critical Event) or link failure urgent link event messages such as (Link Fault) and notify the opposite end.At this moment, detecting this unusual end simultaneously should notify upper system initiatively to initiate masterslave switchover, receive an end of urgent link event, also should notify upper system to initiate masterslave switchover, and notify the other side with incident (event) message (perhaps special masterslave switchover message) mutually;
After step 202, the masterslave switchover success, the equipment of initiating to switch sends to opposite end with the active and standby of self with state by Status Flag field and identification field newly-increased in the infomational message, if the active and standby state consistency of using of terminal device, the then active and standby Interface Matching of using.
After switching successfully, reset local terminal local master the value of slave status be currency, by information message notifying the other side.
Active and standby method with Interface Matching provided by the invention has solved two ends when directly docking, and active and standby not matching can't be realized the problem of consulting to switch; Realized the problem of service interruption that two ends occur when link level fault such as optical fiber single-pass occurring.
Be illustrated with the situation of optical fiber transmitting-receiving single-pass at the active and standby unmatched situation of terminal device of butt joint and the current master of terminal device of butt joint respectively below.
The schematic diagram that can't switch when not matching with interface as shown in Figure 3, for terminal device of the present invention active and standby; Wherein, A, B are respectively the data terminal equipment (DTE)s that has two equities of correspondence on the network; A end DTE sign (ID) is assumed to X, and the DTE ID of B end is assumed to Y, and X>Y.Directly the A1 of the A equipment in Dui Jie the terminal device, A2 port are active and standby each other, and the B1 of B equipment, B2 port are active and standby each other.A1 port and B1 port directly dock, and A2 port and B2 port directly dock.Under scene shown in Figure 3, the current state of A1 port is main usefulness, and the current state of B1 port is standby; The current state of A2 port is standby, and the current state of B2 port is main using.Under general situation, the transmitting-receiving that is in the port traffic message under the stand-by state can be restricted (only be generally receive do not send out or do not send out also and do not receive), so the Business Stream at A, B two ends interrupts.
As shown in Figure 4, for the present invention does not realize the schematic flow sheet that negotiation is switched corresponding to active and standby the matching of terminal device under the scene shown in Figure 3, this process comprises:
The OAM link detecting is enabled at step 401:A, B two ends, and the A1 port periodically sends the infomation message to the B1 port: local master/slave status word segment value is 1;
Step 402:B1 port also can periodically send the information message to the A1 port: local master/slave value is 0;
Step 403:A2 port sends the information message to the B2 port: local master/slave value is 0;
Step 404:B2 port sends the information message to the A2 port: local master/slave value is 1;
Active and standby unmatched phenomenon is found by the activestandby state field of comparison local terminal and opposite end in step 405:A and B two ends.Initiate to switch by B end notice upper strata by comparison DTE ID decision-making.B end generally should be judged current reserve link whether available (whether the OAM link setup is normal), if available, then initiates masterslave switchover;
Behind the step 406:B end masterslave switchover, B1 becomes main usefulness, and B2 becomes standby, and B1 sends the infomation message to the A1 port: local master/slave value is 1; The active and standby coupling of A1 and B1, professional logical;
Send the infomation message between step 407:B2 and A2 port mutually: local master/slave value is 0; The active and standby coupling of A2 and B2, professional logical.
As shown in Figure 5, realize consulting the schematic flow sheet switched when the present invention is directed to the optical fiber single-pass, this method also is suitable for the situation that optical fiber is realized masterslave switchover when disconnected entirely; This process comprises:
The rx of step 501:A1 port receives the optical fiber chain rupture; It is unusual that the A1 end can detect link, sends optical fiber by tx and circulate a notice of urgent link event to B; A1 notifies the upper strata to initiate masterslave switchover simultaneously;
After step 502:B1 port was received urgent link event message, masterslave switchover was initiated on the notice upper strata;
Step 503:A2 port and B2 port switch to the main state of using simultaneously.
The present invention is based on present industry ethernet link detection technique (802.3ah) commonly used and realized the main-apparatus protection and the Switchover mechanism of ethernet device; solved well that active and standby two ends do not match and Ethernet main-apparatus protection problem such as optical fiber single-pass, realized the good combination of two layers detection and three layers and above service application.
In addition, the present invention also provides a kind of active and standby definite method with interface, and this method comprises:
One end equipment of dereliction spare interface is according to the active and standby interface of using of determining opposite equip. from Status Flag field newly-increased in the infomational message of opposite equip. and identification field that receives.
After the master who determines opposite equip. was with interface, an end equipment of dereliction spare interface can receive the service message that sends with interface by main, also can send service message with interface to this master; After determining the spare interface of opposite equip., do not carry out the transmitting-receiving of message between an end equipment of dereliction spare interface and this spare interface.
Particularly, if the other side is no active and standby, local terminal has active and standby, then has two kinds of situations: 1, for a no active and standby side, transmitting-receiving does not limit.An active and standby side is arranged, and slave board is only received and is not sent out.At this moment, the present invention only is responsible for the quality according to link, reports the upper system decision-making to switch, and does not need both sides to detect activestandby state.2, for a no active and standby side, also can be according to the present invention detected the other side's activestandby state, whether decision-making carries out the transmitting-receiving of message, so in the information message, the value of a no active and standby side's master slave status can all be 2, an active and standby side is arranged, and then the value of active link is 1, and the value of reserve link is 0.The DTE ID that a no active and standby side is set is a higher value, and then the driving of masterslave switchover will be driven by Link State fully.
Above-mentioned active and standby definite method with interface, one end of dereliction spare interface is according to determining the main with being equipped with interface of opposite equip. from Status Flag field newly-increased in the infomational message of opposite equip. and identification field, if send the interface of above-mentioned infomational message is the main interface of using, transmitting and receiving service message then, otherwise, transmitting and receiving service message not.
As shown in Figure 6, be the active and standby structural representation with the Interface Matching system of the present invention, this system comprises first equipment 61 and second equipment 62, wherein, first equipment be used for determining and second equipment active and standby with interface do not match or link unusual after, the notice upper system is initiated masterslave switchover; After the masterslave switchover success, the active and standby of self sent to second equipment with state by Status Flag field and identification field newly-increased in the infomational message, and if the active and standby state consistency of using of second equipment, the then active and standby Interface Matching of using; Second equipment be used for determining and first equipment active and standby with interface do not match or link unusual after, the notice upper system is initiated masterslave switchover; After the masterslave switchover success, the active and standby of self sent to first equipment with state by Status Flag field and identification field newly-increased in the infomational message, and if the active and standby state consistency of using of first equipment, the then active and standby Interface Matching of using.
Preferably, above-mentioned first equipment can be further used for by active and standby with the interface message of receiving and sending messages mutually with the interface and second equipment of self active and standby, above-mentioned infomational message is represented the active and standby state of using by newly-increased Status Flag field, by the identification field indication equipment sign that increases newly; And compare above-mentioned Status Flag field, if above-mentioned Status Flag field value is inequality, then determine not match with interface with the active and standby of second equipment; Above-mentioned second equipment also can be further used for by active and standby with the interface message of receiving and sending messages mutually with the interface and first equipment of self active and standby, above-mentioned infomational message is represented the active and standby state of using by newly-increased Status Flag field, by the identification field indication equipment sign that increases newly; And compare above-mentioned Status Flag field, if above-mentioned Status Flag field value is inequality, then determine not match with interface with the active and standby of first equipment.
In addition, after above-mentioned first equipment can be further used for determining and second equipment active and standby do not match with interface,, then notify upper system initiation masterslave switchover if it is little than second equipment mark to determine the sign of self; Above-mentioned second equipment is further used for determining and after first equipment active and standby do not match with interface, if it is little than first equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover; Perhaps, after above-mentioned first equipment can be further used for determining and second equipment active and standby do not match with interface,, then notify upper system initiation masterslave switchover if it is big than second equipment mark to determine the sign of self; After above-mentioned second equipment can be further used for determining and first equipment active and standby do not match with interface,, then notify upper system initiation masterslave switchover if it is big than first equipment mark to determine the sign of self.
Above-mentioned first equipment can be local terminal equipment, and second equipment can be opposite equip.; Above-mentioned second equipment also can be local terminal equipment, and first equipment also can be opposite equip..
This active and standby system with Interface Matching can the terminal device of butt joint active and standby do not match and the situation of current master with optical fiber transmitting-receiving single-pass under, finish the active and standby Interface Matching of using, specific implementation is identical with the active and standby method embodiment with Interface Matching of the present invention, does not give unnecessary details at this.
Active and standby system with Interface Matching provided by the invention has solved two ends when directly docking, the active and standby problem of service interruption that does not match in the time of can't realizing that link level fault such as optical fiber single-pass appear in the problem of consulting to switch and two ends.
In addition, the present invention also provides a kind of equipment of dereliction spare interface, and described equipment is used for according to the active and standby interface of using of determining opposite equip. from the newly-increased Status Flag field of the infomational message of opposite equip. and identification field that receives.
As shown in Figure 7, be to comprise that said system comprises terminal device with the interface structural representation of fixed system really for equipment active and standby of above-mentioned dereliction spare interface, wherein, an end equipment has the active and standby interface of using, other end equipment dereliction spare interface; There is active and standby equipment 71 to be used for by the newly-increased Status Flag field of infomational message and identification field the active and standby equipment that sends to the dereliction spare interface with state with self with interface; The equipment 72 of dereliction spare interface is used to receive above-mentioned infomational message, and according to there being active and standby the active and standby of equipment with interface to determine its active and standby interface of using with state.
Whether the equipment of the dereliction spare interface in this system can receive and dispatch message with the interface decision-making according to active and standby the active and standby of determining of equipment with interface that have, and its implementation is identical with the processing method of message, does not give unnecessary details at this.
This is active and standby determines the equipment of the dereliction spare interface in the system with interface, and the infomational message after the improvement of active and standby equipment with interface is arranged by reception, and whether decision is to there being active and standby equipment with interface to send service message.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, said procedure can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it also is possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to the foregoing description.

Claims (10)

1. active and standby method with Interface Matching is characterized in that described method comprises:
Local terminal equipment and opposite equip. determine active and standby with interface do not match or link unusual after, initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system; And
After the masterslave switchover success, the equipment of initiating to switch sends to opposite end with the active and standby of self with state by Status Flag field and identification field newly-increased in the infomational message, if the active and standby state consistency of using of terminal device, the then active and standby Interface Matching of using.
2. active and standby method according to claim 1 with Interface Matching, it is characterized in that, described local terminal equipment and opposite equip. determine active and standby with interface do not match or link unusual after, initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system and comprise:
The active and standby of local terminal equipment and opposite equip. sends infomational message mutually with interface, and described infomational message is represented the active and standby state of using by the Status Flag field that increases newly, by the identification field indication equipment sign that increases newly;
Local terminal equipment and opposite equip. are compared described Status Flag field, do not match with interface if discovery is active and standby, then initiate masterslave switchover by local terminal equipment or opposite equip. notice upper system.
3. active and standby method according to claim 1 with Interface Matching, it is characterized in that, described local terminal equipment and opposite equip. determine active and standby with interface do not match or link unusual after, initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system and comprise:
Local terminal equipment and opposite equip. carry out link detecting, detect the unusual end equipment of link and send urgent link event message to other end equipment, and the notice upper system is initiated masterslave switchover; Described other end equipment also notifies upper system to initiate masterslave switchover after receiving described urgent link event message.
4. according to the described active and standby method with Interface Matching of the arbitrary claim of claim 1-3, it is characterized in that, describedly initiate masterslave switchover by local terminal equipment and/or opposite equip. notice upper system and comprise:
Determine to initiate masterslave switchover according to the little strategy of device identification by local terminal equipment or opposite equip. notice upper system; Perhaps
Determine to initiate masterslave switchover according to the big strategy of device identification by local terminal equipment or opposite equip. notice upper system.
5. active and standby method with Interface Matching according to claim 4 is characterized in that:
In the definite processing of little strategy by local terminal equipment or opposite equip. notice upper system initiation masterslave switchover according to device identification,
If carry out masterslave switchover according to the little strategy of device identification, then when the local terminal equipment littler than opposite end device identification can not be initiated masterslave switchover, then the device identification with self is revised as maximum, and amended device identification being sent to opposite equip. by the identification field that increases newly in the infomational message, opposite equip. carries out masterslave switchover according to the little strategy of device identification;
Described according to device identification big strategy determine to initiate in the processing of masterslave switchover by local terminal equipment or opposite equip. notice upper system,
If carry out masterslave switchover according to the big strategy of device identification, then when the local terminal equipment bigger than opposite end device identification can not be initiated masterslave switchover, then the device identification with self is revised as minimum value, and amended device identification being sent to opposite equip. by the identification field that increases newly in the infomational message, opposite equip. carries out masterslave switchover according to the big strategy of device identification.
6. active and standby definite method with interface is characterized in that described method comprises:
One end equipment of dereliction spare interface is according to the active and standby interface of using of determining opposite equip. from Status Flag field newly-increased in the infomational message of opposite equip. and identification field that receives.
7. an active and standby system with Interface Matching is characterized in that described system comprises first equipment and second equipment, wherein:
First equipment, be used for determining and second equipment active and standby with interface do not match or link unusual after, the notice upper system is initiated masterslave switchover; After the masterslave switchover success, the active and standby of self sent to second equipment with state by Status Flag field and identification field newly-increased in the infomational message, and if the active and standby state consistency of using of second equipment, the then active and standby Interface Matching of using;
Second equipment, be used for determining and first equipment active and standby with interface do not match or link unusual after, the notice upper system is initiated masterslave switchover; After the masterslave switchover success, the active and standby of self sent to first equipment with state by Status Flag field and identification field newly-increased in the infomational message, and if the active and standby state consistency of using of first equipment, the then active and standby Interface Matching of using.
8. active and standby system with Interface Matching according to claim 7 is characterized in that:
Described first equipment, be further used for by active and standby with the interface and second equipment of self active and standby with the interface message of receiving and sending messages mutually, described infomational message is represented the active and standby state of using by newly-increased Status Flag field, by the identification field indication equipment sign that increases newly; And compare described Status Flag field, if described Status Flag field value is inequality, then determine not match with interface with the active and standby of second equipment;
Described second equipment, be further used for by active and standby with the interface and first equipment of self active and standby with the interface message of receiving and sending messages mutually, described infomational message is represented the active and standby state of using by newly-increased Status Flag field, by the identification field indication equipment sign that increases newly; And compare described Status Flag field, if described Status Flag field value is inequality, then determine not match with interface with the active and standby of first equipment.
9. active and standby system with Interface Matching according to claim 8 is characterized in that:
Described first equipment is further used for determining and after second equipment active and standby do not match with interface, if it is little than second equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover; Described second equipment is further used for determining and after first equipment active and standby do not match with interface, if it is little than first equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover; Perhaps
Described first equipment is further used for determining and after second equipment active and standby do not match with interface, if it is big than second equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover; Described second equipment is further used for determining and after first equipment active and standby do not match with interface, if it is big than first equipment mark to determine the sign of self, then notifies upper system initiation masterslave switchover.
10. the equipment of a dereliction spare interface is characterized in that:
Described equipment is used for according to the active and standby interface of using of determining opposite equip. from the newly-increased Status Flag field of the infomational message of opposite equip. and identification field that receives.
CN2010105803145A 2010-12-09 2010-12-09 Matching method and system of master and slave interfaces Pending CN102025542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105803145A CN102025542A (en) 2010-12-09 2010-12-09 Matching method and system of master and slave interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105803145A CN102025542A (en) 2010-12-09 2010-12-09 Matching method and system of master and slave interfaces

Publications (1)

Publication Number Publication Date
CN102025542A true CN102025542A (en) 2011-04-20

Family

ID=43866434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105803145A Pending CN102025542A (en) 2010-12-09 2010-12-09 Matching method and system of master and slave interfaces

Country Status (1)

Country Link
CN (1) CN102025542A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812409A (en) * 2006-01-16 2006-08-02 杭州华为三康技术有限公司 Method and system for realizing synchronization of major and auxiliary state
CN1859423A (en) * 2006-02-27 2006-11-08 华为技术有限公司 Synchronous switching method for host and repeat device
CN101465762A (en) * 2008-12-02 2009-06-24 华为技术有限公司 Method, equipment and system for detecting error connection between protection set ports
EP2182674A1 (en) * 2008-10-29 2010-05-05 Thomson Licensing SA Method for updating the status of network devices and device implementing the method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812409A (en) * 2006-01-16 2006-08-02 杭州华为三康技术有限公司 Method and system for realizing synchronization of major and auxiliary state
CN1859423A (en) * 2006-02-27 2006-11-08 华为技术有限公司 Synchronous switching method for host and repeat device
EP2182674A1 (en) * 2008-10-29 2010-05-05 Thomson Licensing SA Method for updating the status of network devices and device implementing the method
CN101465762A (en) * 2008-12-02 2009-06-24 华为技术有限公司 Method, equipment and system for detecting error connection between protection set ports

Similar Documents

Publication Publication Date Title
US8117337B2 (en) Method and device for implementing link pass through in point-to-multipoint network
US9237092B2 (en) Method, apparatus, and system for updating ring network topology information
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
CN100499505C (en) An Ethernet protection method and apparatus
US20070047436A1 (en) Network relay device and control method
CN106533736B (en) Network equipment restarting method and device
CN102257848B (en) Main and secondary apparatuses conversion method betwenn communication equipment, communication equipment and system, and request equipment of system and service
CN103812675A (en) Method and system for realizing allopatric disaster recovery switching of service delivery platform
CN101159504A (en) Synchronous digital hierarchy based ethernet protecting method
CN102026042A (en) Keep-alive and self-healing method and device for advanced telecom computing architecture control surface
CN101938365B (en) Fault handling method and device for Ethernet
CN107948000B (en) Method, device and system for switching main channel and standby channel
EP3633931B1 (en) Method and system for implementing mux machine
CN101515827B (en) Method for business wrong link resistance wrong in an automatic switched optical network and system thereof
CN100386997C (en) Data transmission system and method between telecommunication equipments based on point-to-point connection
CN115549775B (en) Processing method for optical signal transmission abnormality, optical transmission equipment and system
CN101465762B (en) Method, equipment and system for detecting error connection between protection set ports
RU2596999C1 (en) Method and device for processing single optical fibre failures
CN102025542A (en) Matching method and system of master and slave interfaces
JP5064352B2 (en) Optical communication network system and communication method thereof
CN102217359B (en) Interface unit for base station control system and detecting method thereof
CN102340407B (en) Protection switching method and system
CN111224803B (en) Multi-master detection method in stacking system and stacking system
CN103516662B (en) A kind of session backup method, apparatus and system
CN218387758U (en) Network access equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110420