CN102780571A - Main board and spare board switching processing method and system - Google Patents

Main board and spare board switching processing method and system Download PDF

Info

Publication number
CN102780571A
CN102780571A CN2011101209063A CN201110120906A CN102780571A CN 102780571 A CN102780571 A CN 102780571A CN 2011101209063 A CN2011101209063 A CN 2011101209063A CN 201110120906 A CN201110120906 A CN 201110120906A CN 102780571 A CN102780571 A CN 102780571A
Authority
CN
China
Prior art keywords
message
slave board
mainboard
opposite end
sequence number
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
CN2011101209063A
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 CN2011101209063A priority Critical patent/CN102780571A/en
Publication of CN102780571A publication Critical patent/CN102780571A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a main board and spare board switching processing method and system. The method comprises the following steps that a first spare board is switched as a main board; the first spare board receives a message from an opposite terminal, wherein the message is used for an SD (Sequenced Data) message requiring retransmission, the serial number of the SD message requiring retransmission is the serial number of the main board, and the first main board is switched as the spare board while the first spare board is switched as the main board; the first spare board uses the serial number of the first main board to construct an SD message; and the first spare board sends the SD message to the opposite terminal. The method and the system can be used for avoiding link disconnection caused in the process of initiating ER (Error Recovery) by the opposite terminal.

Description

Processing method that active and standby plate is switched and system
Technical field
The present invention relates to the communications field, in particular to processing method and the system that a kind of active and standby plate is switched.
Background technology
Asynchronous transfer mode (Asynchronous Transfer Mode; Abbreviating ATM as) professional specific connection oriented protocol (SERVICE SPECIFIC CONNECTION ORIENTED PROTOCOL the abbreviates SSCOP as) agreement of transport layer is responsible for being used for carrying out two point-to-point inter-entity the transmission of information and control information in the bearer network.The upper strata is that SSCF provides service, and lower floor and ATM Adaptation Layer (ATM Adaptation Layer abbreviates AAL as) Common Part Convergence Sublayer (Common Part Convergence Sub Iayer abbreviates CPCS as) is mutual.
Q.2110, the SSCOP agreement stipulates that by international communication standard I TU-T the function that it provides is following:
The order integrality: it can guarantee when transmitting the packet (SD PDU) of SSCOP, to guarantee the consistency of packet sequence.
Mistake retransmits: the SSCOP entity of receiving terminal adopts to retransmit and carries out error correction when the SSCOP-SDU that detection is lost.
Flow control: adjust transmission rate through the size of adjustment send window and carry out flow control;
To layer-management (Layer Management abbreviates LM as) reporting errors: mistake has taken place to the LM report.
Keep link activation: can when a period of time does not have transfer of data, still keep connection status between two reciprocity SSCOP entities.
Local data returns to be got: when link switchover took place on the upper strata, local SSCOP user can return and get the SDU that is not discharged by SSCOP.
Connect control: this function comprises SSCOP establishment of connection, release, synchronously, and to the uncertain transmission of user to user (user-to-user) message of different length.
Data transmit: between SSCOP user, transmit user data User-Data, and support simultaneously to confirm and non-specified data transmission.
Protocol error recovers: to the detection and the recovery of agreement run-time error.
Status report: exchange state information between transmission/reception peer-entities.
The basic variable of SSCOP agreement is explained as follows:
Alphabetic data (Sequenced Data abbreviates SD as) and POLL PDU separate serial number, and the numbering span is 0~n-1, n=224, and promptly the mould of numbering is 224.At transmitting terminal VT (A) is basic underlying variables, is basic underlying variables at receiving terminal VR (R).
Safeguard following variable at transmitting terminal SSCOP;
VT (S)---send state variable, the sequence number of the next SD PDU that is about to send is sent this variable+1 behind the SD PDU, and the SD PDU of transmission does not comprise the SD PDU of re-transmission here;
VT (PS)---POLL send state variable, the sequence number of the POLL of current transmission, send before the next POLL PDU+1;
VT (A)---confirm state variable, the sequence number of the SD PDU that next expectation is identified, this variable is upgraded in the lower edge of SD acknowledgement window after the affirmation of receiving SD PDU;
VT (PA)---POLL confirms state variable; The sequence number of the POLL PDU that next expectation is identified; The promptly next STAT PDU that receives is the affirmation to this POLL PDU; Link-recovery or release flow if receive that the N (PS) that a STATPDU comprises is illegal, will be carried out in the lower edge of POLL acknowledgement window.If receive that a STAT PDU is legal, then VT (PA) is changed to STAT.N (PS);
The sequence number of first SD PDU that VT (MS)---maximum send state variable, receiving terminal do not allow to accept, this variable is represented the upper edge of send window, and transmitting terminal does not allow to send new SD PDU when VT (S)>=VT (MS).The renewal of VT (MS) is based on USTAT PDU/STAT PDU/BGN PDU/BGAK PDU/RS PDU/RSAK PDU/ERPDU/ERAK PDU;
VT (PD)---POLL data mode variable; Be illustrated in the number of the SD PDU that sends between two POLL PDU; Perhaps behind the Timer_POLL timer expiry; Send the number of the SD PDU that sends before first POLL PDU, this variable increases when sending SD PDU, when sending POLL PDU, resets to 0;
VT (CC)---connect the state of a control variable, the number of the BGN/END/RS PDU that is not identified, this variable increases when sending a BGN/END/RS PDU.If the END PDU that protocol error triggers, then SSCOP need not wait for that the opposite end returns ENDAK PDU, and VT this moment (CC) does not increase;
VT (SQ)---send to connect the sequence number state variable, this variable is used for receiving terminal and distinguishes the BGN/ER/RS PDU that retransmits, and this initialization of variable is 0, increases when sending BGN/RS/ER PDU for the first time, is mapped to N (SQ).
Safeguard following variable at receiving terminal SSCOP;
VR (R)---receive status variable, the sequence number of the SD PDU that next expectation receives receives that SD PDU increases afterwards;
VR (H)---the highest received state that expectation is accepted upgrades under two kinds of situation; 1) receives a new SD PDU; 2) receive a POLL PDU;
VR (MR) but---the sequence number of first SD PDU that the state variable of maximum Receive sequence number, receiving terminal can not receive, as the sequence number N of the SD PDU that receives (S)>=VR (MR), a USTAT will be triggered; VR (MR) can not be less than VR (H);
VR (SQ)---receive connection sequence number state variable; This variable is used for distinguishing the BGN/ER/RS PDU of re-transmission, when receiving a BGN/ER/RS PDU, this state variable and N (SQ) is compared; If it is different; Handle this PDU and VR (SQ) is changed to N (SQ), if identical, the PDU that this PDU is considered to retransmit.
The SSCOP module operates on the atm interface disposable plates, and in order to improve the reliability of system, ATM Interface Unit generally is configured to active/standby mode, and active and standby firm and hard existing NNI link heat is equipped with promptly real-time synchronous steady state (IDLE and TRANSFERREADY) and state variable.When main board failure or when carrying out active and standby switching, slave board switches to mainboard and carries out work, in the process of masterslave switchover, active and standby plate information drop-out possibly occur, causes PDU out of order, thereby causes that the opposite end initiates the wrong ER of recovery process.The NNI agreement is defined in that the ER process can not appear twice in (the agreement suggestion is 1 hour) in a period of time, and person's link will chain rupture.
According to agreement, SSCOP initiates wrong (Error Recovery the abbreviates ER as) process of recovering when detecting protocol error, and in concrete the realization, the SSCOP module can be initiated the wrong ER of recovery process under following situation,
After receiving SD PDU; If VrR<SD.N (S)<VrH; And this sequence number exists in accepting buffering area, and promptly the send state variable of opposite end is expected between the highest received state of acceptance at local terminal receive status variable and local terminal, but the data of this sequence number exist in accepting buffering area; Explain that sequence number causes confusion, need carry out mistake and recover the ER operation;
After receiving POLL,, need carry out mistake and recover the ER operation if POLL.N (PS)>VrH explains that sequence number causes confusion;
After receiving STAT,, explain that sequence number causes confusion, need carry out mistake and recover the ER operation if do not satisfy VT (PA)<=STAT.N (PS)<VT (PS);
After receiving USTAT,, explain that sequence number causes confusion, need carry out mistake and recover the ER operation if do not satisfy VtA<=USTAT.N (R)<VtS.
And when masterslave switchover; Inevitably this situation can appear: after former mainboard initiates a message; State variable in time is not synchronized to slave board (possibly have active and standby message between different boards loses); Cause little than on the former mainboard of state variable (for example NS) on the new mainboard, the other side promptly initiates the ER process after receiving message such as SD PDU that local terminal sends, POLL, causes the link chain rupture.
Summary of the invention
To cause the problem of link chain rupture and propose the present invention that for this reason, main purpose of the present invention is the processing method and the system that provide a kind of active and standby plate to switch, to address the above problem when initiating the ER process to opposite end in the correlation technique.
To achieve these goals, according to an aspect of the present invention, the processing method that provides a kind of active and standby plate to switch.
The processing method that active and standby plate according to the present invention is switched comprises: first slave board is switched and is mainboard; First slave board receives the message from the opposite end, and wherein message is used for request retransmission SD message, and the sequence number of the SD message of request retransmission is the sequence number of first mainboard, and first mainboard is switched when first slave board is switched to mainboard and is slave board; First slave board uses the sequence number of first mainboard, structure SD message; First slave board sends SD message to the opposite end.
Preferably, before first slave board received the message from the opposite end, said method also comprised: first slave board sends POLL message to the opposite end, and the value of the N (S) that wherein carries in the POLL message is between VT (S) and VT (MS).
Preferably, N (S)=VT (S)+V, wherein V is the quantity of the SD message that second mainboard sends in every millisecond before active and standby plate is switched.
Preferably, N (S)=VT (S)+N+V, wherein V is the quantity of the SD message that second mainboard sends in every millisecond before active and standby plate is switched, N is the predetermined value that is provided with in advance.
Preferably, before POLL message was sent in the opposite end, said method also comprises: first slave board was provided with time link state synchronized timer at first slave board; Under the situation of time link state synchronized timer expiry, carry out the operation of sending POLL message to the opposite end.
Preferably, after first slave board was provided with time link state synchronized timer, said method also comprised: before the time link state synchronized timer expiry, first slave board receives from the SD message of opposite end or POLL message; First slave board upgrades VR (R) and VR (H) according to the N (S) that carries in SD message or the POLL message.
Preferably, first slave board renewal VR (R) and VR (H) comprising: first slave board is provided with VR (R)=VR (H)=N (S).
Preferably, upgrade VR (R) and VR (H) afterwards at first slave board, said method also comprises: first slave board is to opposite end transmission STAT message, and wherein STAT message is used to inform and has received SD message or the POLL message of sequence number less than N (S).
To achieve these goals, according to another aspect of the present invention, the treatment system that provides a kind of active and standby plate to switch.
The treatment system that active and standby plate according to the present invention is switched comprises first slave board, first mainboard and opposite end, and wherein first slave board comprises: switch module, be used to switch and be mainboard; Receiver module is used to receive the message from the opposite end, and wherein message is used for request retransmission SD message, and the sequence number of the SD message of request retransmission is the sequence number of first mainboard, and first mainboard is switched when first slave board is switched to mainboard and is slave board; Constructing module is used to use the sequence number of first mainboard, structure SD message; First sending module is used for sending SD message to the opposite end.
Preferably, first slave board also comprises: second sending module, be used for sending POLL message to the opposite end, and the value of the N (S) that wherein carries in the POLL message is between VT (S) and VT (MS).
The present invention uses the SD information and sending of the sequence number structure " vacation " of second mainboard to give the opposite end through first slave board, makes the opposite end perception switch less than the active and standby plate of local terminal, thus the link chain rupture that causes can avoid the opposite end to initiate the ER process time.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the processing method of switching according to the active and standby plate of the embodiment of the invention;
Fig. 2 is the sketch map one of the processing method of switching according to the active and standby plate of the embodiment of the invention;
Fig. 3 is the sketch map two of the processing method of switching according to the active and standby plate of the embodiment of the invention
Fig. 4 is the flow chart of the active and standby according to the preferred embodiment of the invention plate processing method of switching;
Fig. 5 is the flow chart according to the sequence number prediction of the preferred embodiment of the present invention two;
Fig. 6 is the structured flowchart of the treatment system of switching according to the active and standby plate of the embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.Below with reference to accompanying drawing and combine embodiment to specify the present invention.
The invention provides the processing method that a kind of active and standby plate is switched.Fig. 1 is the flow chart of the processing method of switching according to the active and standby plate of the embodiment of the invention, and is as shown in Figure 1, comprises that following step S102 is to step S108.
Step S102, first slave board switch and are mainboard.
Step S104, first slave board receives the message from the opposite end, and wherein message is used for request retransmission SD message, and the sequence number of the SD message of request retransmission is the sequence number of first mainboard, and first mainboard is switched when first slave board is switched to mainboard and is slave board.
Step S106, first slave board uses the sequence number of first mainboard, structure SD message.
Step S108, first slave board sends SD message to the opposite end.
In the correlation technique; If second mainboard in time is not synchronized to first slave board with state variable; The state variable that then can cause being switched on the mainboard that obtains by this first slave board is littler than the state variable on former second mainboard, and then when the ER process is initiated in the opposite end, will cause the link chain rupture.In the embodiment of the invention, use the SD information and sending of the sequence number structure " vacation " of second mainboard to give the opposite end, make the opposite end perception switch less than the active and standby plate of local terminal through first slave board, thus the link chain rupture that causes can avoid the opposite end to initiate the ER process time.
Need to prove, as a kind of compound mode of the SD message of " vacation " in the present embodiment, the sequence number that its SD sequence number is first mainboard (being that the opposite end requires the sequence number that retransmits), full content can be 0 entirely thereafter.Like this, after the SD message of being somebody's turn to do " vacation " that the opposite end receives, can judge that the SD sequence number is continuous, can not cause the link chain rupture.Certainly; The SD message of " vacation " in the present embodiment can also make up through other compound mode; For example the SD sequence number is the sequence number (being the sequence number that the opposite end requires re-transmission) of first mainboard, and full content can be 1 entirely thereafter, and it all should include protection scope of the present invention in.Opposite end MTP3 receives the SD message of this " vacation " can do discard processing, can not cause that link is unusual.
Preferably, before first slave board received the message from the opposite end, said method also comprised: first slave board sends POLL message to the opposite end, and the value of the N (S) that wherein carries in the POLL message is between VT (S) and VT (MS).
Consider that if the value of the N that carries in the POLL message (S) equals VT (S) then the transmission of POLL message will cause VR (H)>N (S), thereby make and when opposite end initiation ER process, to cause the link chain rupture.In the embodiment of the invention, after first slave board is switched to mainboard, state variable is carried out artificial processing and amplifying according to flow, thereby can avoid VR (H)>N (S), and then the link chain rupture that causes when avoiding the opposite end to initiate the ER process.
Fig. 2 is the sketch map one of the processing method of switching according to the active and standby plate of the embodiment of the invention; As shown in Figure 2; After active and standby plate was switched, local terminal sent POLL message and gives the opposite end, and N (S) value is chosen between VT (S) and the VT (MS); Time STAT message showed the interval of losing there be (being used for request retransmission SD message) after this POLL message was received in the opposite end; This moment, local terminal sent to the opposite end through the SD message of constructing " vacation ", can avoid like this because the not timely VT (S) synchronously of former mainboard arrives slave board, and the VT (S) that causes new mainboard is less than former mainboard VT (S).
Preferably, N (S)=VT (S)+V, wherein V is the quantity of the SD message that second mainboard sends in every millisecond before active and standby plate is switched.
In this preferred embodiment, calculate N (S), can realize the sequence number prediction according to VT (S) and V.Need to prove that V regularly was synchronized to first slave board by second mainboard before active and standby plate is switched.
Preferably, N (S)=VT (S)+N+V, wherein V is the quantity of the SD message that second mainboard sends in every millisecond before active and standby plate is switched, N is the predetermined value that is provided with in advance.
Consider that V normally calculates divided by 10 through V10ms, and V10ms represented active and standby plate switch before the quantity of second mainboard SD message of in 10 milliseconds, sending, therefore, if V10ms<10, then V10ms/10=0.Therefore, in order to guarantee under the situation that flow (being V10ms ≠ 0) arranged not incorrect order, therefore fixedly add N.Preferably N=2 can be set.
Preferably, before POLL message was sent in the opposite end, said method also comprises: first slave board was provided with time link state synchronized timer at first slave board; Under the situation of time link state synchronized timer expiry, carry out the operation of sending POLL message to the opposite end.
In this preferred embodiment; Time link state synchronized timer can avoid first slave board frequent send POLL message to the opposite end; Thereby guarantee under the situation of the SD message of not sending " vacation ", to avoid the link chain rupture as far as possible, promptly guarantee to switch reliability of data transmission.
Preferably, after first slave board was provided with time link state synchronized timer, said method also comprised: before the time link state synchronized timer expiry, first slave board receives from the SD message of opposite end or POLL message; First slave board upgrades VR (R) and VR (H) according to the N (S) that carries in SD message or the POLL message.
In this preferred embodiment, upgrade VR (R) and VR (H), can realize the sequence number correction according to N (S).
Preferably, first slave board renewal VR (R) and VR (H) comprising: first slave board is provided with VR (R)=VR (H)=N (S).
Consider in the LM layer-management algorithm that when number of retransmissions reached certain thresholding, LM can initiate link and discharge, so in this preferred embodiment, more hope to avoid the opposite end to retransmit SD.This preferred embodiment through VR (R)=VR (H)=N (S) is set, can be avoided the opposite end to receive perceiving local terminal after the STAT message accepting window sequence number mistake and retransmitting SD, promptly lets the opposite end perception carry out masterslave switchover less than local terminal, thereby avoids the opposite end to retransmit SD.
Preferably, upgrade VR (R) and VR (H) afterwards at first slave board, said method also comprises: first slave board is to opposite end transmission STAT message, and wherein STAT message is used to inform and has received SD message or the POLL message of sequence number less than N (S).
Fig. 3 is the sketch map two of the processing method of switching according to the active and standby plate of the embodiment of the invention; As shown in Figure 3; After active and standby plate is switched; POLL message learning state variable V R (H) and the VR (R) of local terminal through receiving the opposite end all is set to equal N (S) with VR (H) and VR (R), and returns sequence number that STAT shows that local terminal received that the opposite end sends all SD data less than N (S).
In addition, the processing method that the active and standby plate among the present invention is switched can be applied to any opposite end that possibly cause and initiate the message of ER process, for example POLL message, STAT message and USTAT message.
To combine instance that the implementation procedure of the embodiment of the invention is described in detail below.
Preferred embodiment one
This preferred embodiment one is described the processing procedure that active and standby plate is switched in detail.
Fig. 4 is the flow chart according to the preferred embodiment of the present invention one, and is as shown in Figure 4, comprises that mainboard is switched to the process and the slave board of slave board to switch the process into mainboard.Described respectively below.
1) the mainboard process of switching to slave board comprises that following step S402 is to step S406.
Step S402 stops time link state synchronized timer.
Step S404 stops all timer TimerPOLL, TimerKEEPALIVE, TimerNORESPONSE, TimerIDLEs relevant with transfer of data.
Step S406, Link State is set to S_Idle.
2) the slave board process of switching to mainboard comprises that following step S408 is to step S412.
Step S408 starts time link state synchronized timer.
Step S410 when receiving first SD or POLL message, upgrades VR (R) and VR (H) according to the N that carries in the message (S), and time STAT shows and receives all SDs or the POLL message of sequence number less than N (S).
Step S412, the POLL timer expiry sends POLL message and gives the opposite end, and N (S) value is chosen between VT (S) and the VT (MS).Time STAT showed that the interval of losing is arranged after this POLL was received in the opposite end, and then the false SD message of local terminal structure is issued the opposite end.
To step S412, see that through above-mentioned steps S402 the probability of ATM Interface Unit masterslave switchover SSCOP link down is less than 1% from test result.
Preferred embodiment two
This preferred embodiment two is described the processing procedure that active and standby plate is switched in detail from the angle of sequence number between the active and standby plate.
(1) the real-time synchronizing process of SSCS NNI active state: when mainboard uplink state changes, to the state of synchronous this link of slave board.
(2) timing synchronization procedure of variable in the link data district: regularly the state variable timing sync interval in the synchronization link data field is 10ms, behind the 10ms timer expiry, to the state variable of synchronous all links of slave board.
Particularly, the state variable in the timing synchronization link data field comprises following serial number information.
VT (S): the sequence number of the next SD PDU that sends according to the order of sequence.
VT (A): next expectation obtains the sequence number of the SD PDU of affirmation according to the order of sequence.
VR (R): the SD PDU sequence number that next expectation receives according to the order of sequence.
VR (H): the SD PDU that the sequence number that expectation is received is maximum.
VR (MR): the upper limit of receive window.
VT (PS): the sequence number of the current POLL PDU that has sent.
VT (PA): next expectation obtains the sequence number of the POLL PDU of affirmation according to the order of sequence.
VT (MS): the upper limit of send window.
VR (PS): the sequence number of the current POLL PDU that receives.
VT (PD): the number of the SD PDU that sends between adjacent two poll POLL PDU.
VT (SQ): whether check BGN, RS, ER PDU retransmit.
(3) sequence number forecasting process
For every link, mainboard calculates the SD number (being designated as V10ms) of sending in the 10ms, and is synchronized to slave board, so that behind the slave board alternation of hosts plate, its sequence number is predicted.
Fig. 5 is the flow chart according to the sequence number prediction of the preferred embodiment of the present invention two, and is as shown in Figure 5, comprises that following step S502 is to step S512.
Step S502 receives SLAVE TO MSASTER message.
Step S504, the POLL timer expiry.
Step S506 judges whether V10ms equals 0, if then carry out step S508, otherwise carries out step S510.
Step S508, N (S)=VT (S) carries out step S512 then.
Step S510, N (S)=VT (S)+(V10ms/10) promptly adds an allowance on current sequence number.The value of allowance obtains through the empirical value of repeatedly test, and per second sends 1000 bags during test, be equipped with the alternation of hosts after sequence number differ from 1, so the allowance value is tentative is (V10ms/10).
Step S512 sends POLL message.
Consider V10ms less than 10 o'clock, V10ms/10 then is 0, in order to guarantee that not incorrect order is being arranged under the situation of flow, therefore fixedly adds N, i.e. N (S)=VT (S)+N+ (V10ms/10), N=2 in this preferred embodiment two.
(4) sequence number makeover process
Behind the slave board alternation of hosts plate,, receive first SD or POLL,, upgrade the VR (R) and the VR (H) of local terminal then according to the N that carries in the message (s) for a link.Think switch after, received all SD that send the opposite end.
(5) sequence number deception process
Behind the slave board alternation of hosts plate, for a link, if receive the SD that the opposite end require to retransmit, and the SD that retransmits is the sequence number before switching, and then the false SD message of structure sends to the opposite end, and is continuous to keep link.
(6) layer-management closes
During masterslave switchover, close the layer-management function of this plate, prevent chain rupture because switching time is long.
(7) increase functional switch
To the function of above-mentioned NNI interface SSCS Hot Spare, increase a switch, whether open this warm standby function with control.Increase a secure variant as switch.
Preferably, this functional switch defaults to and cuts out.
Need to prove; Can in computer system, carry out in the step shown in the flow chart of accompanying drawing such as a set of computer-executable instructions; And; Though logical order has been shown in flow chart, in some cases, can have carried out step shown or that describe with the order that is different from here.
The treatment system that the embodiment of the invention provides a kind of active and standby plate to switch, the treatment system that this active and standby plate is switched can be used to the processing method that realizes that above-mentioned active and standby plate is switched.Fig. 6 is the structured flowchart of the treatment system of switching according to the active and standby plate of the embodiment of the invention; As shown in Figure 6, comprise first slave board 62, first mainboard 64 and opposite end 66, wherein first slave board 62 comprises and switches module 622; Receiver module 624; Constructing module 626, the first sending modules 628 are described in detail in the face of its structure down.
Switch module 622, be used to switch and be mainboard; Receiver module 624; Be connected to and switch module 622, be used to receive the message from opposite end 66, wherein message is used for request retransmission SD message; The sequence number of the SD message of request retransmission is the sequence number of first mainboard 64, and first mainboard 64 is switched when first slave board 62 is switched to mainboard and is slave board; Constructing module 626 is connected to receiver module 624, is used to use the sequence number of first mainboard 64, structure SD message; First sending module 628 is connected to constructing module 626, is used for the SD message of sending constructing module 626 structures to opposite end 66.
Preferably, first slave board 62 also comprises second sending module 629, is described in detail in the face of its structure down.
Second sending module 629 is used for sending POLL message to the opposite end, and the value of the N (S) that wherein carries in the POLL message is between VT (S) and VT (MS).
Need to prove that the treatment system that the active and standby plate of describing among the device embodiment is switched is corresponding to above-mentioned method embodiment, its concrete implementation procedure had been carried out detailed description in method embodiment, repeat no more at this.
In sum, according to the abovementioned embodiments of the present invention, the processing method and the system that provide a kind of active and standby plate to switch.The present invention uses the SD information and sending of the sequence number structure " vacation " of second mainboard to give the opposite end through first slave board, makes the opposite end perception switch less than the active and standby plate of local terminal, thus the link chain rupture that causes can avoid the opposite end to initiate the ER process time.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the storage device and carry out, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the processing method that active and standby plate is switched is characterized in that, comprising:
First slave board is switched and is mainboard;
Said first slave board receives the message from the opposite end; Wherein said message is used for request retransmission alphabetic data SD message; The sequence number of the SD message that described request retransmits is the sequence number of first mainboard, and said first mainboard is switched when said first slave board is switched to mainboard and is slave board;
Said first slave board uses the sequence number of said first mainboard, structure SD message;
Said first slave board sends said SD message to said opposite end.
2. method according to claim 1 is characterized in that, before said first slave board received the message from the opposite end, said method also comprised:
Said first slave board sends POLL message to said opposite end; The value of the N (S) that carries in the wherein said POLL message is between VT (S) and VT (MS); Wherein N (S) is the sequence number of said SD message; VT (S) is the sequence number of the next alphabetic data protocol Data Unit SD PDU that sends according to the order of sequence, and VT (MS) is the upper limit of send window.
3. method according to claim 2 is characterized in that, N (S)=VT (S)+V, and wherein V is the quantity of the SD message that said second mainboard sends in every millisecond before active and standby plate is switched.
4. method according to claim 2 is characterized in that, N (S)=VT (S)+N+V, and wherein V is the quantity of the SD message that said second mainboard sends in every millisecond before active and standby plate is switched, N is the predetermined value that is provided with in advance.
5. method according to claim 2 is characterized in that, before POLL message was sent in said opposite end, said method also comprised at said first slave board:
Said first slave board is provided with time link state synchronized timer;
Under the situation of said time link state synchronized timer expiry, carry out the operation of sending said POLL message to said opposite end.
6. method according to claim 5 is characterized in that, after said first slave board was provided with time link state synchronized timer, said method also comprised:
Before the said time link state synchronized timer expiry, said first slave board receives from the SD message of said opposite end or POLL message;
Said first slave board upgrades VR (R) and VR (H) according to the N (S) that carries in said SD message or the said POLL message, and wherein VR (R) is the SD PDU sequence number that next expectation receives according to the order of sequence, and VR (H) is the maximum SD PDU of sequence number that expectation is received.
7. method according to claim 6 is characterized in that, said first slave board upgrades VR (R) and VR (H) comprising: said first slave board is provided with VR (R)=VR (H)=N (S).
8. method according to claim 6 is characterized in that, upgrades VR (R) and VR (H) afterwards at said first slave board, and said method also comprises:
Said first slave board sends STAT message to said opposite end, and wherein said STAT message is used to inform and has received said SD message or the said POLL message of sequence number less than N (S).
9. the treatment system that active and standby plate is switched is characterized in that, comprises first slave board, first mainboard and opposite end, and wherein said first slave board comprises:
Switch module, be used to switch and be mainboard;
Receiver module; Be used to receive message from the opposite end; Wherein said message is used for request retransmission SD message, and the sequence number of the SD message that described request retransmits is the sequence number of first mainboard, and said first mainboard is switched when said first slave board is switched to mainboard and is slave board;
Constructing module is used to use the sequence number of said first mainboard, structure SD message;
First sending module is used for sending said SD message to said opposite end.
10. system according to claim 9 is characterized in that, also comprises:
Second sending module is used for sending POLL message to said opposite end, and the value of the N (S) that carries in the wherein said POLL message is between VT (S) and VT (MS).
CN2011101209063A 2011-05-11 2011-05-11 Main board and spare board switching processing method and system Pending CN102780571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101209063A CN102780571A (en) 2011-05-11 2011-05-11 Main board and spare board switching processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101209063A CN102780571A (en) 2011-05-11 2011-05-11 Main board and spare board switching processing method and system

Publications (1)

Publication Number Publication Date
CN102780571A true CN102780571A (en) 2012-11-14

Family

ID=47125337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101209063A Pending CN102780571A (en) 2011-05-11 2011-05-11 Main board and spare board switching processing method and system

Country Status (1)

Country Link
CN (1) CN102780571A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259636A1 (en) * 2005-05-13 2006-11-16 Nethawk Oyj Method for processing messages, data processing device and computer program product
CN101605051A (en) * 2009-07-16 2009-12-16 杭州华三通信技术有限公司 A kind of main and standby rearranging method and device of realizing business on the control board
CN101751415A (en) * 2008-12-09 2010-06-23 中国移动通信集团公司 Metadata service system metadata synchronized method and writing server updating method
CN102143032A (en) * 2010-02-02 2011-08-03 杭州华三通信技术有限公司 Method for eliminating residual link state protocol data unit fragments and route equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259636A1 (en) * 2005-05-13 2006-11-16 Nethawk Oyj Method for processing messages, data processing device and computer program product
CN101751415A (en) * 2008-12-09 2010-06-23 中国移动通信集团公司 Metadata service system metadata synchronized method and writing server updating method
CN101605051A (en) * 2009-07-16 2009-12-16 杭州华三通信技术有限公司 A kind of main and standby rearranging method and device of realizing business on the control board
CN102143032A (en) * 2010-02-02 2011-08-03 杭州华三通信技术有限公司 Method for eliminating residual link state protocol data unit fragments and route equipment

Similar Documents

Publication Publication Date Title
US8411652B2 (en) Method of operating a mobile radio network
US6674713B1 (en) Method and apparatus for providing continuous voice and call communications between a data network and a telephony network
KR100732345B1 (en) Flexible radio link control protocol
US8351380B2 (en) Method and apparatus for layer 2 ARQ for packets
CN101589565B (en) Method and apparatus for data transmission of radio link control layer in mobile communication system
US8898534B2 (en) Data transfer method
JPH09321821A (en) Protocol conversion system and its method
CN100420207C (en) Method and apparatus for realizing communication take-over and control
CN101505306B (en) Inter-node reliable communication method in distributed system
CN101094446A (en) Mobile communications system and method for transmitting data when handover occurs
JPH0286245A (en) Data link layer processing system
CN101009536B (en) Status report method of automatic retransfer request
CN102368700A (en) Transmission method of massages in distributed system
WO2009124499A1 (en) Protection method, device and communication system for transmitting signaling
CN100388721C (en) Method for protecting coupling based on flow control transfer protocol
CN1926819B (en) Method and arrangement for avoiding unnecessary retransmission
EP2204970A1 (en) Wireless network with star topology
CN102315923A (en) Radio link control method of 3G (The 3rd Generation) satellite communication system
CA2506599A1 (en) System and method of unacknowledged network layer service access point identifier (nsapi) recovery in sub-network dependent convergence protocol (sndcp) communication
CN102780571A (en) Main board and spare board switching processing method and system
CN103107973A (en) High availability method and high availability device for achieving security protocol
Cisco FastPAD Events
Cisco FastPAD Events
CN101146024A (en) Determination and processing method of sequential data SN in service-specific connection protocol
US6307856B1 (en) Method of establishing connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121114