CN102142999B - Method, equipment and system for recovering links - Google Patents

Method, equipment and system for recovering links Download PDF

Info

Publication number
CN102142999B
CN102142999B CN 201110075526 CN201110075526A CN102142999B CN 102142999 B CN102142999 B CN 102142999B CN 201110075526 CN201110075526 CN 201110075526 CN 201110075526 A CN201110075526 A CN 201110075526A CN 102142999 B CN102142999 B CN 102142999B
Authority
CN
China
Prior art keywords
message
option information
sequence number
opposite end
request message
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.)
Expired - Fee Related
Application number
CN 201110075526
Other languages
Chinese (zh)
Other versions
CN102142999A (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.)
Global Innovation Polymerization LLC
Gw Partnership Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 201110075526 priority Critical patent/CN102142999B/en
Publication of CN102142999A publication Critical patent/CN102142999A/en
Application granted granted Critical
Publication of CN102142999B publication Critical patent/CN102142999B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method, equipment and a system for recovering links, relates to the communication field, and is used for solving the problem that the scheme for realizing the serial number between a home terminal and an opposite terminal and synchronizing the window information is only suitable for the occasions with smaller chain and smaller flow. The technical scheme provided by the invention comprises the following steps: carrying out capability negotiation with the opposite terminal before main/standby switch to determine the home terminal to be an execution terminal, and the opposite terminal to be an assisting terminal; sending a synchronous response request message to the assisting terminal after the main/standby switch; receiving the synchronous response request message sent by the assisting terminal, wherein, the synchronous response request message carries with the second serial number synchronous option information; refreshing the transmission serial number of the home terminal according to the recombination window information of the opposite terminal in the second serial number synchronous option information; and refreshing the message recombination window information of the home terminal according to the transmission serial number of the opposite terminal in the second serial number synchronous option information. The method, device and system for rapidly recovering by the embodiment of the invention can be applied to the systems based on MP (multilink point to point protocol).

Description

Recover the method, apparatus and system of link
Technical field
The present invention relates to the communications field, relate in particular to a kind of method, apparatus and system of recovering link.
Background technology
At present, the IP device high to reliability requirement in order to satisfy its high reliability (0.9999) requirement, can be realized the redundancy protecting of main and standby boards level usually, and namely after the main board fault, standby plate is in time taken over the work of main board, and then reduces fault break period.When equipment is realized plate level redundancy protecting (as: wireless base station or controller etc.); usually for the status protocol that has that uses on the main board; as multilink binding protocol (the MultiLink Point to Point Protocol based on PPP; ML-PPP; be called for short MP); also realize Hot Spare, the heavy negotiation time of link behind the reduction masterslave switchover.
As shown in Figure 1, in the system based on MP, be connected with multilink between local terminal and the opposite end, by the multilink bundle technology a plurality of multilink bundlings become a parent channel, every link is as the subchannel of parent channel.Local terminal is provided with the redundancy protecting of main and standby boards level, and the PPP port between the main standby plate connects by cross spider, so that the fast quick-recovery of the link after switching.Before masterslave switchover, main board is backed up in realtime the stable state information of MP in the standby plate, behind masterslave switchover, the standby plate upgrading substitutes main board work, because the stable state information of MP has backuped in the standby plate, need not to consult again between local terminal and the opposite end, use local terminal and the opposite end of standby plate directly to carry out data interaction.
As shown in Figure 2, no matter be local terminal or opposite end, as transmitting terminal the time, all need message to be sent is divided into a plurality of bursts, and by B, E mark and sequence number field a plurality of bursts are identified, then each burst is mail to receiving terminal from each subchannel respectively; As receiving terminal the time, receive after the burst sequence number that can carry according to burst with fragment cache memory to the message window of recombinating, receiving terminal is recombinated to the burst that receives based on message reorganization window and B, E mark.Behind masterslave switchover, message between local terminal and opposite end reorganization window and sequence number field are asynchronous, and local terminal and opposite end were directly carried out the data interaction meeting and caused local terminal or opposite end message reconstructing failure as receiving terminal this moment.
In the prior art, before carrying out masterslave switchover, the window information of message reorganization window behind the sequence number field that burst carries when backing up in realtime the burst of the every transmission of local terminal at main board place and a burst of the every reception of local terminal at main board place makes that message reorganization window and the sequence number field between local terminal and the opposite end is synchronous.
When realizing the embodiment of the invention, the inventor finds, is used in the prior art realizing that there are following problem at least in message reorganization window and the synchronous method of sequence number field between local terminal and the opposite end:
The each sequence number of the local terminal of redundancy protecting that is provided with the main and standby boards level changes or window all will trigger backup when changing; backup messages is excessive for the high speed ppp link; bigger to performance impact, so prior art is only applicable to the scene that link is less, flow is less.
Summary of the invention
The embodiment of the invention provides a kind of method, apparatus and system of recovering link, is only applicable to the problem of the scene that link is less, flow is less synchronously for sequence number, window information between solution prior art local terminal and the opposite end.
For achieving the above object, the embodiment of the invention adopts following technical scheme:
A kind of method of recovering link comprises: before masterslave switchover, and carry out capability negotiation between the opposite end to determine that local terminal is actuating station, the opposite end is for assisting end; After masterslave switchover, send the syn ack request message for described assistance end, this syn ack request message carries first sequence number the synchronization option information; Receive the syn ack back message using that described assistance end is responded, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information that described syn ack request message carries, this syn ack back message using carries second sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end; Message reorganization window information according to opposite end in described second sequence number the synchronization option information refreshes sending sequence number of local terminal, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information.
A kind of method of recovering link comprises: before local terminal carries out masterslave switchover, and carry out capability negotiation between the local terminal to determine that local terminal is actuating station, the opposite end is for assisting end; When receiving the syn ack request message of described actuating station transmission, respond the syn ack back message using for described actuating station according to described syn ack request message; Described syn ack request message carries first sequence number the synchronization option information, described first replys back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
A kind of local terminal equipment comprises main board and standby plate, comprising:
First negotiation element, be used for and the opposite end between carry out capability negotiation to determine that local terminal is actuating station, the opposite end is for assisting end;
First transmitting element after masterslave switchover, is used for giving described assistance end to send the syn ack request message, and this syn ack request message carries first sequence number the synchronization option information;
First receiving element, be used for receiving the syn ack back message using that described assistance end is responded according to the syn ack request message of described first transmitting element transmission, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information that described syn ack request message carries, this syn ack back message using carries second sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end;
Refresh unit, message reorganization window information for the second sequence number the synchronization option information opposite end that receives according to described first receiving element refreshes sending sequence number of local terminal, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information.
A kind of opposite equip. comprises:
Second negotiation element, before local terminal carries out masterslave switchover, be used for and local terminal between carry out capability negotiation to determine that local terminal is actuating station, the opposite end is for assisting end;
The 3rd receiving element is used for receiving the syn ack request message that described actuating station sends;
The 3rd transmitting element, when described the 3rd receiving element received the syn ack request message of described actuating station transmission, the syn ack request message that is used for receiving according to described the 3rd receiving element responded the syn ack back message using for described actuating station;
Described syn ack request message carries first sequence number the synchronization option information, described syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
A kind of system of recovering link, comprise: local terminal and opposite end, described local terminal is before masterslave switchover, and carry out capability negotiation between the opposite end to determine that local terminal is actuating station, the opposite end is for assisting end, after masterslave switchover, send the syn ack request message for described assistance end, described assistance end responds the syn ack back message using for described actuating station according to described syn ack request message when receiving described syn ack request message, the message of opposite end reorganization window information refreshes sending sequence number of local terminal in second sequence number the synchronization option information that described actuating station is carried according to described syn ack back message using, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information;
Described syn ack request message carries first sequence number the synchronization option information;
Described syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to the described first sequence number option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
The method, apparatus and system of the fast quick-recovery that the embodiment of the invention provides, before masterslave switchover, carry out actuating station and the negotiation of assisting end, after active and standby switching, as the local terminal of actuating station and as realizing that by first sequence number the synchronization option information and second sequence number the synchronization option information message reorganization window and sequence number field between local terminal and the opposite end are synchronous between the opposite end of assisting end, do not need local terminal is backed up in realtime, solved because local terminal need be backed up in realtime and be caused it to be only applicable to the problem of the scene that link is less, flow is less.
Description of drawings
Fig. 1 is the system architecture diagram based on MP;
Fig. 2 is based on the schematic diagram that carries out information interaction in the system of MP between transmitting terminal and the receiving terminal;
The method flow diagram of the fast quick-recovery that Fig. 3 provides for the embodiment of the invention;
The method flow diagram of the fast quick-recovery that Fig. 4 provides for further embodiment of this invention;
The method flow diagram one of the fast quick-recovery that Fig. 5 provides for another embodiment of the present invention;
Fig. 6 is the flow chart of step 401 in the method for fast quick-recovery shown in Figure 5;
The method flow diagram two of the fast quick-recovery that Fig. 7 provides for another embodiment of the present invention;
The structural representation one of the local terminal equipment that Fig. 8 provides for the embodiment of the invention;
Fig. 9 is the structural representation of first negotiation element in the local terminal equipment shown in Figure 8;
The structural representation two of the local terminal equipment that Figure 10 provides for the embodiment of the invention;
The structural representation one of the opposite equip. that Figure 11 provides for the embodiment of the invention;
Figure 12 is the structural representation of second negotiation element in the opposite equip. shown in Figure 11;
The structural representation two of the opposite equip. that Figure 13 provides for the embodiment of the invention.
Embodiment
In order to solve in the prior art problem that sequence number, window information between the local terminal and opposite end are only applicable to the scene that link is less, flow is less synchronously, the embodiment of the invention provides a kind of method, apparatus and system of recovering link.
As shown in Figure 3, the method for the fast quick-recovery that the embodiment of the invention provides comprises:
Step 301 before masterslave switchover, and is carried out capability negotiation to determine that local terminal is actuating station between the opposite end, the opposite end is for assisting end;
Step 302 after masterslave switchover, sends the syn ack request message for described assistance end, and this syn ack request message carries first sequence number the synchronization option information.
Step 303, receive the syn ack back message using that described assistance end is responded, this syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information that described syn ack request message carries, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
Step 304 refreshes sending sequence number of local terminal according to the message of opposite end in described second sequence number the synchronization option information reorganization window information, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information.
The method of the fast quick-recovery that the embodiment of the invention provides, before masterslave switchover, carry out actuating station and the negotiation of assisting end, after active and standby switching, as the local terminal of actuating station and as realizing that by first sequence number the synchronization option information and second sequence number the synchronization option information message reorganization window and sequence number field between local terminal and the opposite end are synchronous between the opposite end of assisting end, do not need local terminal is backed up in realtime, solved because local terminal need be backed up in realtime and be caused it to be only applicable to the problem of the scene that link is less, flow is less.
As shown in Figure 4, the method for the fast quick-recovery that further embodiment of this invention provides comprises:
Step 401 before local terminal carries out masterslave switchover, and is carried out capability negotiation to determine that local terminal is actuating station between the local terminal, the opposite end is for assisting end.
Step 402 when receiving the syn ack request message of described actuating station transmission, is responded first for described actuating station according to described syn ack request message and is replied back message using.
In the present embodiment, described syn ack request message carries first sequence number the synchronization option information, described syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to the described first synchronous sequence number option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
The method of the fast quick-recovery that the embodiment of the invention provides, before masterslave switchover, carry out actuating station and the negotiation of assisting end, after active and standby switching, as the local terminal of actuating station and as realizing that by first sequence number the synchronization option information and second sequence number the synchronization option information message reorganization window and sequence number field between local terminal and the opposite end are synchronous between the opposite end of assisting end, do not need local terminal is backed up in realtime, solved because local terminal need be backed up in realtime and be caused it to be only applicable to the problem of the scene that link is less, flow is less.
In order to make those skilled in the art can more be expressly understood the technical scheme that the embodiment of the invention provides, below by specific embodiment, the method for the fast quick-recovery that another embodiment of the present invention is provided is elaborated.
As shown in Figure 5, the method of the fast quick-recovery that another embodiment of the present invention provides is applied to be connected with multilink between local terminal and the opposite end between local terminal and the opposite end, by the multilink bundle technology a plurality of multilink bundlings are become a parent channel, every link is as the subchannel of parent channel.Local terminal is provided with the redundancy protecting of main and standby boards level, and the PPP port between the main standby plate connects by cross spider, so that the fast quick-recovery of the link after switching.The method of described fast quick-recovery comprises:
Step 501 is carried out capability negotiation to determine that local terminal is actuating station between local terminal and the opposite end, the opposite end is for assisting end.
Concrete, as shown in Figure 6, carry out capability negotiation between local terminal and the opposite end, comprising:
Step 601, local terminal send to the opposite end and carry out configuring request message (Config-Request), and this execution configuring request message (Config-Request) carries executive capability and consults option information, and this executive capability is consulted option information and comprised the actuating station ability.
Step 602, the execution configure-ack message (Config-Ack) that reply according to described execution configuring request message (Config-Request) opposite end.
Step 603, opposite end send to local terminal assists configuring request message (Config-Request), this assistance configuring request message (Config-Request) to carry assistance capability negotiation option information, and this assistance capability negotiation option information comprises the end ability of assisting.
Step 604, local terminal are replied to the opposite end according to described assistance configuring request message (Config-Request) and are assisted configure-ack message (Config-Ack), consult successfully with the opposite end.
What deserves to be explained is, above-mentioned steps 601-604 can be based on RFC1661 and RFC1990, be ppp protocol and MP agreement, the executive capability of carrying in the described execution configuring request message (Config-Request) is consulted the TLV form that option information can adopt the PPP standard option, i.e. executive capability negotiation option information comprises type, length and value.The assistance capability negotiation option information that carries in the described assistance configuring request message (Config-Request) can adopt the TLV form of PPP standard option, namely assists the capability negotiation option information to comprise type, length and value.
Further, in order to guarantee the time of fast quick-recovery:
Described executive capability is consulted option information and is also comprised very first time parameter, carries out capability negotiation between the described and opposite end, also comprises; In described very first time parameter area, when not receiving the execution configure-ack message of replying according to described execution configuring request message the opposite end, consult failure with the opposite end.
Described assistance capability negotiation option information also comprises the 3rd time parameter, carry out capability negotiation between the described and local terminal, also comprise: in described the 3rd time parameter, when not receiving the assistance confirmation message that local terminal replys according to described assistance configuring request message, consult failure with local terminal.
Carry out twice hand shaking between local terminal and the opposite end herein.
What deserves to be explained is that the mode of carrying out capability negotiation between local terminal and the opposite end is not limited only to above-mentioned shake hands for twice alternately, it is mutual also can repeatedly to shake hands, and does not give unnecessary details one by one herein.
Preferably, carry out capability negotiation between local terminal and the opposite end and can defer to the ppp negotiation flow process, in the existing negotiation flow process (LCP/NCP) that PPP/MP arrives, increase and carry out/assist the negotiation of capability negotiation option.Carry out/assist the capability negotiation option and can be used as selectable option in LCP/NCP, the option treatment principle is consistent with LCP/NCP mechanism.In deferring to the ppp negotiation flow process, because have timeout treatment in the standard agreement flow process of PPP, can save carrying of very first time parameter.
Step 502, is given as the opposite end of assisting end and is sent syn ack request message (Echo-Request) after masterslave switchover as the local terminal of actuating station, and this syn ack request message carries first sequence number the synchronization option information.
Step 503, receiving described syn ack request message (Echo-Request) afterwards as the opposite end of assisting end, respond syn ack back message using (Echo-Reply) according to described syn ack request message (Echo-Request), this syn ack back message using (Echo-Reply) carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
Step 504, local terminal as actuating station refreshes sending sequence number of local terminal according to the message reorganization window information as opposite end in second sequence number the synchronization option information of the opposite end response of assisting end, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information.
What deserves to be explained is, above-mentioned steps 501-504 can be based on RFC1661 and RFC1990, be ppp protocol and MP agreement, first sequence number the synchronization option information of carrying in the described syn ack request message (Echo-Request) can adopt the TLV form of PPP standard option, and namely first sequence number the synchronization option information comprises type, length and value.Equally, second sequence number the synchronization option information of carrying in the syn ack back message using (Echo-Reply) also can adopt the TLV form of PPP standard option, and namely second sequence number the synchronization option information comprises type, length and value.
Further, in order to realize after the masterslave switchover reliability of fast quick-recovery between the local terminal and opposite end, described executive capability is consulted option information and is also comprised second time parameter, the syn ack back message using that described reception opposite end is responded according to described syn ack request message, comprise: after sending the syn ack request message, in described second time parameter, receive the syn ack back message using that the opposite end is responded according to described syn ack request message; Also do not receive described syn ack back message using, synchronization failure if exceed described second time parameter.
Further, in order to make local terminal when carrying out masterslave switchover, can discharge the obligation of informing in the opposite end, when masterslave switchover is planned switching, as shown in Figure 7, before masterslave switchover, also comprise:
Step 701 is given to send as the opposite end of assisting end as the local terminal of actuating station and is restarted acknowledges requests message (Echo-Request), and this is restarted the acknowledges requests message and carries first and restart the announcement option information.
Step 702, restart acknowledges requests message (Echo-Request) and respond to restart and reply back message using (Echo-Reply) and give local terminal as actuating station according to described as the opposite end of assisting end, this is restarted and replys back message using and carry second and restart the announcement option information.
Step 701 and step 702 make the opposite end move accordingly when restarting acknowledges requests message (Echo-Request) receiving.As, receive as the opposite end of assisting end that local terminal as actuating station sends restart acknowledges requests message (Echo-Request) time, as closing and as carrying out the passage that upper layer data sends between the local terminal of actuating station the opposite end of assisting end; When sending described syn ack back message using (Echo-Reply) as the opposite end of assisting end, as opening and as carrying out the passage that upper layer data sends between the local terminal of actuating station the opposite end of assisting end.So, avoided local terminal when masterslave switchover, the opposite end is still carried out data and is sent, and causes the situation of loss of data to take place.
What deserves to be explained is, above-mentioned steps 601-602 can be based on RFC1661 and RFC1990, be ppp protocol and MP agreement, described holding restarted first restarting the announcement option information and can adopt the TLV form of PPP standard option of carrying in the acknowledges requests message (Echo-Request), and namely first restarts the announcement option information and comprise type, length and value.Described restart reply second restarting the announcement option information and can adopt the TLV form of PPP standard option of carrying in the back message using (Echo-Reply), namely second restarts the announcement option information and comprises type, length and value.
Further, in order to realize after the masterslave switchover reliability of fast quick-recovery between the local terminal and opposite end, describedly send for described assistance end to restart the acknowledges requests message, comprising: repeatedly send before masterslave switchover, for described assistance end and restart the acknowledges requests message.
The method of the fast quick-recovery that the embodiment of the invention provides, before masterslave switchover, carry out actuating station and the negotiation of assisting end, after active and standby switching, as the local terminal of actuating station and as realizing that by first sequence number the synchronization option information and second sequence number the synchronization option information message reorganization window and sequence number field between local terminal and the opposite end are synchronous between the opposite end of assisting end, do not need local terminal is backed up in realtime, solved because local terminal need be backed up in realtime and be caused it to be only applicable to the problem of the scene that link is less, flow is less.
As shown in Figure 8, the local terminal equipment that the embodiment of the invention provides comprises main board and standby plate, comprising:
First negotiation element 801, be used for and the opposite end between carry out capability negotiation to determine that local terminal is actuating station, the opposite end is for assisting end.Its concrete implementation method can be described referring to step 301 as shown in Figure 3, repeats no more herein
Concrete, as shown in Figure 9, described first negotiation element 801 comprises:
First sends subelement 901, is used for sending execution configuring request message to the opposite end, and this execution configuring request message carries executive capability and consults option information, and this executive capability is consulted option information and comprised the actuating station ability; Its concrete implementation method can be described referring to step 601 as shown in Figure 6, repeats no more herein.
First receives subelement 902, is used for receiving the execution configure-ack message that reply according to the described first execution configuring request message that sends the subelement transmission opposite end; Its concrete implementation method can be described referring to step 602 as shown in Figure 6, repeats no more herein.
Second receives subelement 903, is used for receiving the assistance configuring request message that the opposite end sends, and this assistance configuring request message carries assists capability negotiation option information, this assistance capability negotiation option information to comprise the end ability of assisting; Its concrete implementation method can be described referring to step 603 as shown in Figure 6, repeats no more herein.
Second transmitting element 904 is used for replying assistance configure-ack message according to the described second assistance configuring request message that receives the subelement reception to the opposite end.Its concrete implementation method can be described referring to step 604 as shown in Figure 6, repeats no more herein.
First transmitting element 802 after masterslave switchover, is used for giving described assistance end to send the syn ack request message, and this syn ack request message carries first sequence number the synchronization option information; Its concrete implementation method can be described referring to step 302 as shown in Figure 3, repeats no more herein.
First receiving element 803, be used for receiving the syn ack back message using that described assistance end is responded, this syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end; Its concrete implementation method can be described referring to step 303 as shown in Figure 3, repeats no more herein.
Refresh unit 804, message reorganization window information for the second sequence number the synchronization option information opposite end that receives according to described first receiving element refreshes sending sequence number of local terminal, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information.Its concrete implementation method can be described referring to step 304 as shown in Figure 3, repeats no more herein.
Further, in order to make local terminal can discharge the obligation of informing in the opposite end when carrying out masterslave switchover, as shown in figure 10, this local terminal equipment also comprises:
Second transmitting element 1001 sends be used for for described assistance end and restarts the acknowledges requests message, and this is restarted the acknowledges requests message and carries first and restart the announcement option information; Its concrete implementation method can be described referring to step 702 as shown in Figure 7, repeats no more herein.
Second receiving element 1002 be used for to receive described assistance end and replys back message using according to the restarting that the acknowledges requests message responds of restarting that described second transmitting element sends, and this is restarted and replys back message using and carry second and restart the announcement option information.Its concrete implementation method can be described referring to step 702 as shown in Figure 7, repeats no more herein.
The local terminal equipment that the embodiment of the invention provides, before masterslave switchover, carry out actuating station and the negotiation of assisting end, after active and standby switching, as the local terminal of actuating station and as realizing that by first sequence number the synchronization option information and second sequence number the synchronization option information message reorganization window and sequence number field between local terminal and the opposite end are synchronous between the opposite end of assisting end, do not need local terminal is backed up in realtime, solved because local terminal need be backed up in realtime and be caused it to be only applicable to the problem of the scene that link is less, flow is less.
As shown in figure 11, the opposite equip. that the embodiment of the invention provides comprises:
Second negotiation element 1101, before local terminal carries out masterslave switchover, be used for and local terminal between carry out capability negotiation to determine that local terminal is actuating station, the opposite end is for assisting end.Its concrete implementation method can be described referring to step 401 as shown in Figure 4, repeats no more herein.
Concrete, as shown in figure 12, described second negotiation element comprises:
The 3rd receives subelement 1201, is used for receiving the execution configuring request message that local terminal sends; Its concrete implementation method can be described referring to step 601 as shown in Figure 6, repeats no more herein.
The 3rd sends subelement 1202, when described the 3rd reception subelement receives the execution configuring request message of local terminal transmission, be used for replying execution configure-ack message according to the described the 3rd execution configuring request message that receives the subelement reception to local terminal, described execution configuring request message carries executive capability and consults option information, and this executive capability is consulted option information and comprised actuating station ability and parameter thereof; Its concrete implementation method can be described referring to step 602 as shown in Figure 6, repeats no more herein.
The 4th sends subelement 1203, is used for sending assistance configuring request message to local terminal, and this assistance configuring request message carries assistance capability negotiation option information, and this assistance capability negotiation option information comprises assists end ability and parameter thereof; Its concrete implementation method can be described referring to step 603 as shown in Figure 6, repeats no more herein.
The 4th receives subelement 1204, is used for receiving the assistance configure-ack message that local terminal is replied according to the described the 4th assistance configuring request message that sends the subelement transmission.Its concrete implementation method can be described referring to step 604 as shown in Figure 6, repeats no more herein.
The 3rd receiving element 1102 is used for receiving the syn ack request message that described actuating station sends; Its concrete implementation method can be described referring to step 402 as shown in Figure 4, repeats no more herein.
The 3rd transmitting element 1103, when described the 3rd receiving element received the syn ack request message of described actuating station transmission, the syn ack request message that is used for receiving according to described the 3rd receiving element responded the syn ack back message using for described actuating station; Its concrete implementation method can be described referring to step 402 as shown in Figure 4, repeats no more herein.
In the present embodiment, described syn ack request message carries first sequence number the synchronization option information, described syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
Further, in order to make local terminal can discharge the obligation of informing in the opposite end when carrying out masterslave switchover, as shown in figure 13, this opposite equip. also comprises:
The 4th receiving element 1301, what be used for to receive that described actuating station sends restarts the acknowledges requests message; Its concrete implementation method can be described referring to step 601 as shown in Figure 6, repeats no more herein.
The 4th transmitting element 1302, described the 4th receiving element receive that described actuating station sends restart the acknowledges requests message time, be used for responding to restart and replying back message using according to the acknowledges requests message of restarting that described the 4th receiving element receives; Its concrete implementation method can be described referring to step 602 as shown in Figure 6, repeats no more herein.
In the present embodiment, describedly restart the acknowledges requests message and carry first and restart the announcement option information; Described restart reply back message using and carry second and restart notify option information.
Further, when carrying out masterslave switchover, opposite equip. is to the loss of data of local terminal transmission for fear of local terminal, and as shown in figure 13, this opposite equip. also comprises:
First performance element 1303, receive that described actuating station sends restart the acknowledges requests message time, be used for closing and described actuating station between carry out the passage that upper layer data sends; Its concrete implementation method can be described referring to step 702 as shown in Figure 7, repeats no more herein.
Second performance element 1304, when sending described syn ack back message using to described actuating station, be used for opening and described actuating station between carry out the passage that upper layer data sends.Its concrete implementation method can be described referring to step 702 as shown in Figure 7, repeats no more herein.
The opposite equip. of the fast quick-recovery that the embodiment of the invention provides, before masterslave switchover, carry out actuating station and the negotiation of assisting end, after active and standby switching, as the local terminal of actuating station and as realizing that by first sequence number the synchronization option information and second sequence number the synchronization option information message reorganization window and sequence number field between local terminal and the opposite end are synchronous between the opposite end of assisting end, do not need local terminal is backed up in realtime, solved because local terminal need be backed up in realtime and be caused it to be only applicable to the problem of the scene that link is less, flow is less.
The system of the fast quick-recovery that the embodiment of the invention provides, comprise: local terminal and opposite end, described local terminal is before masterslave switchover, and carry out capability negotiation between the opposite end to determine that local terminal is actuating station, the opposite end is for assisting end, after masterslave switchover, send the syn ack request message for described assistance end, the opposite end responds the syn ack back message using for described actuating station according to described syn ack request message when receiving described syn ack request message, assist the message reorganization window information of end to refresh sending sequence number of local terminal in second sequence number the synchronization option information that described actuating station is carried according to described syn ack back message using, refresh the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information;
Described syn ack request message carries first sequence number the synchronization option information;
Described syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
The system of the fast quick-recovery that the embodiment of the invention provides, before masterslave switchover, carry out actuating station and the negotiation of assisting end, after active and standby switching, as the local terminal of actuating station and as realizing that by first sequence number the synchronization option information and second sequence number the synchronization option information message reorganization window and sequence number field between local terminal and the opposite end are synchronous between the opposite end of assisting end, do not need local terminal is backed up in realtime, solved because local terminal need be backed up in realtime and be caused it to be only applicable to the problem of the scene that link is less, flow is less.
The method, apparatus and system of the recovery link that the embodiment of the invention provides can be applied in the system based on MP.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (20)

1. a method of recovering link is characterized in that, comprising:
Before masterslave switchover, carry out capability negotiation between local terminal and the opposite end to determine that local terminal is actuating station, the opposite end is for assisting end;
After masterslave switchover, send the syn ack request message for described assistance end, this syn ack request message carries first sequence number the synchronization option information;
Receive the syn ack back message using that described assistance end is responded, this syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information that described syn ack request message carries, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end;
Message reorganization window information according to opposite end in described second sequence number the synchronization option information refreshes sending sequence number of local terminal, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information.
2. method according to claim 1 is characterized in that, carries out capability negotiation between the described and opposite end, comprising:
Send execution configuring request message to the opposite end, this execution configuring request message carries executive capability and consults option information, and this executive capability is consulted option information and comprised the actuating station ability;
Receive the execution configure-ack message that reply according to described execution configuring request message the opposite end;
Receive the assistance configuring request message that the opposite end sends, this assistance configuring request message carries assists capability negotiation option information, this assistance capability negotiation option information to comprise the end ability of assisting;
Reply assistance configure-ack message according to described assistance configuring request message to the opposite end, consult successfully with the opposite end.
3. method according to claim 2 is characterized in that, described executive capability is consulted option information and also comprised very first time parameter, carries out capability negotiation between the described and opposite end, also comprises;
In described very first time parameter area, when not receiving the execution configure-ack message of replying according to described execution configuring request message the opposite end, consult failure with the opposite end.
4. according to each described method of claim 1-3, it is characterized in that described executive capability is consulted option information and also comprised second time parameter, the syn ack back message using that the described assistance end of described reception is responded comprises:
After sending the syn ack request message, in described second time parameter, receive the syn ack back message using that described assistance end is responded;
Also do not receive described syn ack back message using, synchronization failure if exceed described second time parameter.
5. method according to claim 4 is characterized in that, and is described to described assistance end transmission syn ack request message, comprising:
Repeatedly send the syn ack request message in described second time parameter, for described assistance end.
6. method according to claim 5 is characterized in that, when masterslave switchover is planned switching, before the masterslave switchover, also comprises:
Send for described assistance end and restart the acknowledges requests message, this is restarted the acknowledges requests message and carries first and restart the announcement option information;
Receive that described assistance is end-to-end restarts restarting that the acknowledges requests message responds and reply back message using according to described, this is restarted and replys back message using and carry second and restart the announcement option information.
7. method according to claim 6 is characterized in that, the described transmission to described assistance end restarted the acknowledges requests message, comprising:
Repeatedly send before masterslave switchover, for described assistance end and restart the acknowledges requests message.
8. a method of recovering link is characterized in that, comprising:
Before local terminal carries out masterslave switchover, carry out capability negotiation between opposite end and the local terminal to determine that local terminal is actuating station, the opposite end is for assisting end;
When receiving the syn ack request message of described actuating station transmission, respond the syn ack back message using for described actuating station according to described syn ack request message;
Described syn ack request message carries first sequence number the synchronization option information, first replys back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
9. method according to claim 8 is characterized in that, carries out capability negotiation between the described and local terminal, comprising:
When receiving the execution configuring request message of local terminal transmission, reply execution configure-ack message to the opposite end according to described execution configuring request message, described execution configuring request message carries executive capability and consults option information, and this executive capability is consulted option information and comprised the actuating station ability;
Send assistance configuring request message to local terminal, this assistance configuring request message carries assists capability negotiation option information, this assistance capability negotiation option information to comprise the end ability of assisting;
Receive the assistance configure-ack message that local terminal is replied according to described assistance configuring request message.
10. method according to claim 9 is characterized in that, described assistance capability negotiation option information also comprises the 3rd time parameter, carries out capability negotiation between the described and local terminal, also comprises:
In described the 3rd time parameter, when not receiving the assistance confirmation message that local terminal replys according to described assistance configuring request message, consult failure with local terminal.
11. each described method is characterized in that according to Claim 8-10, also comprises:
Receive that described actuating station sends restart the acknowledges requests message time, restart the acknowledges requests message and respond to restart and reply back message using according to described;
Describedly restart the acknowledges requests message and carry first and restart the announcement option information; Described restart reply back message using and carry second and restart notify option information.
12. method according to claim 11 is characterized in that, also comprises:
Receive that described actuating station sends restart the acknowledges requests message time, close and described actuating station between carry out the passage that upper layer data sends;
When sending described syn ack back message using to described actuating station, open and described actuating station between carry out the passage that upper layer data sends.
13. a local terminal equipment contains main board and standby plate, it is characterized in that, comprising:
First negotiation element, be used for and the opposite end between carry out capability negotiation to determine that local terminal is actuating station, the opposite end is for assisting end;
First transmitting element after masterslave switchover, is used for giving described assistance end to send the syn ack request message, and this syn ack request message carries first sequence number the synchronization option information;
First receiving element, be used for receiving the syn ack back message using that described assistance end is responded, second sequence number the synchronization option information generates according to described first sequence number the synchronization option information that described syn ack request message carries, this syn ack back message using carries second sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end;
Refresh unit, message reorganization window information for the second sequence number the synchronization option information opposite end that receives according to described first receiving element refreshes sending sequence number of local terminal, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information.
14. equipment according to claim 13 is characterized in that, described first negotiation element comprises:
First sends subelement, is used for sending execution configuring request message to the opposite end, and this execution configuring request message carries executive capability and consults option information, and this executive capability is consulted option information and comprised the actuating station ability;
First receives subelement, is used for receiving the execution configure-ack message that reply according to the described first execution configuring request message that sends the subelement transmission opposite end;
Second receives subelement, is used for receiving the assistance configuring request message that the opposite end sends, and this assistance configuring request message carries assists capability negotiation option information, this assistance capability negotiation option information to comprise the end ability of assisting;
Second sends subelement, is used for assisting the configure-ack message according to the described second assistance configuring request message that receives the subelement reception to the opposite end answer.
15. according to claim 13 or 14 described equipment, it is characterized in that, also comprise:
Second transmitting element sends be used for for described assistance end and restarts the acknowledges requests message, and this is restarted the acknowledges requests message and carries first and restart the announcement option information;
Second receiving element be used for to receive described assistance end and replys back message using according to the restarting that the acknowledges requests message responds of restarting that described second transmitting element sends, and this is restarted and replys back message using and carry second and restart the announcement option information.
16. an opposite equip. is characterized in that, comprising:
Second negotiation element, before local terminal carries out masterslave switchover, be used for and local terminal between carry out capability negotiation to determine that local terminal is actuating station, the opposite end is for assisting end;
The 3rd receiving element is used for receiving the syn ack request message that described actuating station sends;
The 3rd transmitting element, when described the 3rd receiving element received the syn ack request message of described actuating station transmission, the syn ack request message that is used for receiving according to described the 3rd receiving element responded the syn ack back message using for described actuating station;
Described syn ack request message carries first sequence number the synchronization option information, described syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to described first sequence number the synchronization option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
17. equipment according to claim 16 is characterized in that, described second negotiation element comprises
The 3rd receives subelement, is used for receiving the execution configuring request message that local terminal sends;
The 3rd sends subelement, when described the 3rd reception subelement receives the execution configuring request message of local terminal transmission, be used for replying execution configure-ack message to the opposite end according to the described the 3rd execution configuring request message that receives the subelement reception, described execution configuring request message carries executive capability and consults option information, and this executive capability is consulted option information and comprised the actuating station ability;
The 4th sends subelement, is used for sending assistance configuring request message to local terminal, and this assistance configuring request message carries assists capability negotiation option information, this assistance capability negotiation option information to comprise the end ability of assisting;
The 4th receives subelement, is used for receiving the assistance configure-ack message that local terminal is replied according to the described the 4th assistance configuring request message that sends the subelement transmission.
18. according to claim 16 or 17 described equipment, it is characterized in that, also comprise:
The 4th receiving element, what be used for to receive that described actuating station sends restarts the acknowledges requests message;
The 4th transmitting element, described the 4th receiving element receive that described actuating station sends restart the acknowledges requests message time, be used for responding to restart and replying back message using according to the acknowledges requests message of restarting that described the 4th receiving element receives;
Describedly restart the acknowledges requests message and carry first and restart the announcement option information; Described restart reply back message using and carry second and restart notify option information.
19. equipment according to claim 18 is characterized in that, also comprises:
First performance element, receive that described actuating station sends restart the acknowledges requests message time, be used for closing and the opposite end between carry out the passage that upper layer data sends;
Second performance element, when described the 3rd transmitting element sends the syn ack back message using to described actuating station, be used for opening and local terminal between carry out the passage that upper layer data sends.
20. system of recovering link, it is characterized in that, comprise: local terminal and opposite end, described local terminal is before masterslave switchover, and carry out capability negotiation between the opposite end to determine that local terminal is actuating station, the opposite end is for assisting end, after masterslave switchover, send the syn ack request message for described assistance end, described assistance end responds the syn ack back message using for described actuating station according to described syn ack request message when receiving described syn ack request message, the message of opposite end reorganization window information refreshes sending sequence number of local terminal in second sequence number the synchronization option information that described actuating station is carried according to described syn ack back message using, refreshes the message reorganization window information of local terminal according to the information of sending sequence number of opposite end in described second sequence number the synchronization option information;
Described syn ack request message carries first sequence number the synchronization option information;
Described syn ack back message using carries second sequence number the synchronization option information, this second sequence number the synchronization option information generates according to the described first sequence number option information, and this second sequence number the synchronization option information comprises the message reorganization window information of opposite end and the information that sends sequence number of opposite end.
CN 201110075526 2011-03-28 2011-03-28 Method, equipment and system for recovering links Expired - Fee Related CN102142999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110075526 CN102142999B (en) 2011-03-28 2011-03-28 Method, equipment and system for recovering links

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110075526 CN102142999B (en) 2011-03-28 2011-03-28 Method, equipment and system for recovering links

Publications (2)

Publication Number Publication Date
CN102142999A CN102142999A (en) 2011-08-03
CN102142999B true CN102142999B (en) 2013-08-07

Family

ID=44410240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110075526 Expired - Fee Related CN102142999B (en) 2011-03-28 2011-03-28 Method, equipment and system for recovering links

Country Status (1)

Country Link
CN (1) CN102142999B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984055B (en) * 2012-12-03 2015-11-25 杭州华三通信技术有限公司 The soft reboot upgrade method of a kind of ISSU and equipment
CN103200032B (en) * 2013-03-15 2016-08-17 卡斯柯信号有限公司 A kind of safe and reliable active and standby cut machine system
CN106230747B (en) * 2016-08-30 2020-01-31 迈普通信技术股份有限公司 Method, device and system for recovering TCP connection sequence number
CN109088740B (en) * 2017-06-14 2021-09-24 杭州海康威视数字技术股份有限公司 Relay network system and network connection method
CN109274763B (en) * 2018-10-24 2022-06-07 科华恒盛股份有限公司 Information synchronization method and dual-computer hot standby equipment
CN109194530A (en) * 2018-11-06 2019-01-11 深圳市风云实业有限公司 Active and standby method for synchronously switching and communication equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558638A (en) * 2004-01-18 2004-12-29 中兴通讯股份有限公司 An inter-processor communication method based on message
CN1567919A (en) * 2003-07-02 2005-01-19 西安大唐电信有限公司 A method for primary and standby machine to take turns on TCP connection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567919A (en) * 2003-07-02 2005-01-19 西安大唐电信有限公司 A method for primary and standby machine to take turns on TCP connection
CN1558638A (en) * 2004-01-18 2004-12-29 中兴通讯股份有限公司 An inter-processor communication method based on message

Also Published As

Publication number Publication date
CN102142999A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
CN102142999B (en) Method, equipment and system for recovering links
EP2086202B1 (en) Call Setup Latency Reduction by Encapsulating Signalling Messages
US9219701B2 (en) Distributed method and system for implementing link aggregation control protocol (LACP) standard state machines
WO2014019389A1 (en) Data transmission method and network side device
CN100388721C (en) Method for protecting coupling based on flow control transfer protocol
WO2017219779A1 (en) Device active/standby switchover method and apparatus based on link protocol, and storage medium
CN103841594A (en) Discontinuous reception management method, user equipment and base station
CN102025562A (en) Path detection method and device
CN107171840B (en) Protection switching method and device based on ERPS protocol
WO2012009971A1 (en) Method and device for rate self-negotiation of optical interfaces
CN103795518A (en) Method, device, and system for synchronizing port modes between devices
CN105516252A (en) TCP (Transmission Control Protocol) connection switching method, apparatus and system
CN104468168A (en) Network recovery method, controller and switch
CN102761428A (en) Server system and server switching method
CN102868945B (en) The upgrade method of ONU in a kind of EPON
CN104602285A (en) Disaster recovery method and equipment
WO2010133157A1 (en) Method, apparatus and system for communication
CN101594674B (en) Information interaction method used for wireless access network information management
CN101217405B (en) SGSN backup method and communication system, communication device
CN101102585A (en) Data processing method, system and terminal in switching process
CN101094049B (en) Smoothing restarting method and neighbor devices
CN102907048B (en) Method and label switched router (LSR) for initiating label distribution protocol (LDP) session connection establishment
CN101686187A (en) Method, device and system for prevention of interruption of service
WO2013044643A1 (en) Packet service bus switching method, system and data exchange communication device
CN106230747B (en) Method, device and system for recovering TCP connection sequence number

Legal Events

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

Effective date of registration: 20180427

Address after: London, England

Patentee after: GW partnership Co.,Ltd.

Address before: 518129 office building, Bantian headquarters, HUAWEI District, Longgang, Shenzhen, Guangdong

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

Effective date of registration: 20180427

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: London, England

Patentee before: GW partnership Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130807

CF01 Termination of patent right due to non-payment of annual fee