CN1233130C - Protocol news transmission method in recovery flow control transmission protocol coupling - Google Patents

Protocol news transmission method in recovery flow control transmission protocol coupling Download PDF

Info

Publication number
CN1233130C
CN1233130C CNB021589143A CN02158914A CN1233130C CN 1233130 C CN1233130 C CN 1233130C CN B021589143 A CNB021589143 A CN B021589143A CN 02158914 A CN02158914 A CN 02158914A CN 1233130 C CN1233130 C CN 1233130C
Authority
CN
China
Prior art keywords
sctp
coupling
asp
layer protocol
protocol
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
CNB021589143A
Other languages
Chinese (zh)
Other versions
CN1512714A (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.)
Huawei Technologies 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 CNB021589143A priority Critical patent/CN1233130C/en
Publication of CN1512714A publication Critical patent/CN1512714A/en
Application granted granted Critical
Publication of CN1233130C publication Critical patent/CN1233130C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a potocol information transmission method in a resume stream control transmission protocol coupling and comprises the following steps that an upper layer protocol of a fault end device inverts a personal spare part to a master part and cuts off upper service environment; the fault end device sends coupling requests to an opposite end SCTP point according to coupling information on the current master part; the fault end device and an opposite end device rebuild coupling between two SCTP points corresponding to the two end devices; the SCTP end point of the opposite end device sends a restart request to the upper layer protocol of the opposite end and restores the upper service environment of the fault end device and the opposite end device via restart. The method can rapidly restore connection under the condition that one end device is disabled and can rebuild coupling and upper transmission service environment. The phenomenon that an opposite end of one end device does not know and still deems that the coupling between both ends is normal when one end device fails is avoided. Accordingly, a great deal of protocol information is saved.

Description

A kind of method of recovering protocol message transmission in the SCTP coupling
Technical field
The present invention relates to inter-network agreement (IP) Network Transmission field, relate in particular to a kind of in use SCTP (Stream Control Transmission Protocol, the method for protocol message transmission in the recovery STCP coupling in IP network STCP).
Background technology
In order to satisfy the needs in IP network transmitting signaling agreement, engineering duty group (IETF) has been formulated signaling transfer protocol (SIGTRAN) collection and has been used for the transmission of legacy circuit-switched signaling protocol on IP network.In the signaling transmission standard of IETF, the residing position of SCTP as shown in Figure 1, it is between upper-layer protocol and IP agreement.Wherein, stream control transmission protocol (sctp) is a general signaling transfer protocol that is used for IP network, and it provides connection-oriented, reliable message bag transmission service, can guarantee reliable, the transmission in order of message; Upper-layer protocol (UP) is meant the upper-layer user who uses Stream Control Transmission Protocol transmission data; IP refers to the standard I P agreement in the ICP/IP protocol bunch.
Because SCTP has the incomparable advantage of TCP, and is widely used in the signaling transmission field, its upper-layer protocol mainly contains agreements such as SIGTRAN, H248, BICC.
In the SCTP layer, there is SCTP endpoint, this end points is the logic transmitting-receiving person of SCTP packet, SCTP endpoint for the SCTP packet correspondence, SCTP endpoint is the combination of a cover SCTP packet address that can be sent to and the cover SCTP packet address that can therefrom receive, and each SCTP endpoint is made up of a unique port numbers and one group of IP address.Current, adopt the SCTP coupling to carry out the transmission of protocol message in the IP network, so-called SCTP coupling is exactly to be based upon two connections between the SCTP endpoint, comprise two SCTP endpoint and Stream Control Transmission Protocol state information in the connection in this connection, wherein, the Stream Control Transmission Protocol state information comprises transmission sequence number (TSN) and stream row sequence numbers (SSN), SCTP coupling is by the transport address unique identification of the SCTP endpoint in the coupling, put at any time between two SCTP endpoint and have a connection, by this connection, SCTP endpoint transmitting-receiving SCTP packet.At the SCTP layer, be defined as server (SERVER) end with receiving an end that connects, a corresponding end of initiating to connect is defined as client (CLIENT) end, simultaneously, also will receive the upper-layer protocol that connects and be defined as client, the upper-layer protocol of initiating to connect is defined as server end,, avoids two ends to initiate simultaneously to connect by this kind definition mode.
Transmission requirement to protocol message in the communication network has high reliability, and for avoiding occurring Single Point of Faliure, telecommunication apparatus must possess high reliability.The reliability of equipment can realize by network level backup and device level backup.Wherein, the mode of backup in the device level backup employing equipment has in the equipment of backup functionality and is divided into primary and backup two parts, and when breaking down, reserve piece can be switched immediately becomes new main usefulness, and equipment can be recovered in the shortest time when main.Yet, when using SCTP coupling host-host protocol message, accomplish to back up completely, very difficult, because:
1.SCTP be transport layer protocol, its business is the transmission data, data traffic is very big;
2.SCTP change very fast in the short time such as TSN in the coupling and SSN.
Therefore, the master breaks down with part in telecommunication apparatus, when the SCTP coupling disconnects, SCTP coupling two ends is rebuild rapidly, and the service environment of upper-layer protocol is recovered rapidly, just becomes the current problem that needs solution.
Summary of the invention
In view of this, main purpose of the present invention is to provide the method for protocol message transmission in a kind of SCTP of recovery coupling, to improve the reliability of upper-layer protocol transmission of messages.
For achieving the above object, realize that the present invention needs following steps:
It is that the master uses part that the upper-layer protocol of A, the end equipment that breaks down is switched the reserve piece of self, and disconnects the upper-layer service environment of self;
B, the end equipment that breaks down send the coupling request according to the current main coupling information of using on the part to the opposite end SCTP endpoint, and the coupling between two SCTP endpoint corresponding with opposite equip. reconstruction terminal device;
The SCTP endpoint of C, opposite equip. sends the request that restarts to this opposite end upper-layer protocol, by restarting the upper-layer service environment of recover to break down end equipment and opposite equip..
Wherein, the end equipment that breaks down described in the step B sends the coupling request to the opposite end SCTP endpoint and comprises according to current main with the coupling information on the part:
The upper-layer protocol of end equipment of breaking down sends the coupling request and contains the coupling information of backup IP address and port numbers to the SCTP endpoint of the end that breaks down, the SCTP endpoint of the end that breaks down according to this coupling information by SCTP course opposite end SCTP endpoint transmission coupling request.
Wherein, the coupling between two SCTP endpoint of the terminal device of reconstruction described in step B correspondence comprises:
The SCTP endpoint of B1, the end that breaks down is according to the coupling information of backup, and the SCTP endpoint to the opposite end sends initialization information;
The SCTP endpoint of B2, opposite end is finished initialization after receiving initialization information, and the SCTP endpoint to the end that breaks down returns the initialization confirmation then;
After the SCTP endpoint of B3, the end that breaks down is received confirmation, send the data block (COOKIE) that comprises end points initial information and enciphered message according to the SCTP endpoint of coupling information to the opposite end again, the SCTP endpoint of opposite end is set up coupling according to the content in this data block and the SCTP endpoint of the end that breaks down;
The SCTP endpoint of B4, opposite end returns the COOKIE confirmation to the SCTP endpoint of the end that breaks down, and the SCTP endpoint of the end that breaks down receives that the back changes indication to local terminal upper-layer protocol transmitting terminal dotted state.
Wherein, in steps A, the upper-layer service environment of described disconnection self comprises:
When the upper-layer protocol of end equipment of breaking down was SIGTRAN, this agreement structure automatically received that coupling disconnects indication (SCTP CDI) primitive, and application server process (ASP) is changed to the machine of delaying (DOWN) state.
Wherein, when the upper-layer protocol of the end equipment that breaks down was SIGTRAN, step C further comprised:
The SCTP endpoint of C1, opposite equip. sends to the opposite end upper-layer protocol and restarts primitive, and the upper-layer protocol of opposite equip. is received this primitive, is about to its ASP and is changed to the DOWN state.
ASP side direction SG side in C2, the SCTP upper-layer protocol sends ASP and enables (UP) message;
SG side in C3, the SCTP upper-layer protocol is received ASP UP message, and ASP is placed the UP state, and returns ASP UP acknowledge message to the ASP of upper-layer protocol side;
ASP side direction SG side in C4, the SCTP upper-layer protocol sends ASP and activates (ASP ACTIVE) message;
SG side in C5, the SCTP upper-layer protocol is received ASP ACTIVE message, the ASP of SG side is activated, and return ASP ACTIVE acknowledge message to the upper-layer protocol of ASP side;
C6, ASP side are received this ASP ACTIVE acknowledge message, and ASP is activated.
As seen, the method of protocol message transmission in the recovery SCTP provided by the present invention coupling, when SCTP coupling one end device fails causes coupling to disconnect, this fault end is a upper-layer protocol coupling disconnection of a structure indication automatically, disconnect the upper-layer service environment, to cut off the transmission of protocol message, avoid protocol message to lose; It is the main part of using that the equipment that breaks down is switched its reserve piece by back mechanism, utilize the current main part of using, by the coupling between the handshake procedure reconstruction SCTP endpoint, after coupling is rebuild, upper-layer protocol utilizes re-starting mechanism to recover upper-layer service environment, host-host protocol message again.This method has good guaranteeing role to the high reliability of protocol message transmission, implements simple, efficient.
Description of drawings
Fig. 1 is the position view of Stream Control Transmission Protocol in signaling transmission (SIGTRAN) standard.
When Fig. 2 breaks down for the SG side apparatus, restart the flow chart that recovers the upper-layer service environment by coupling.
Fig. 3 rebuilds the sequential chart of coupling process for the SCTP layer.
Fig. 4 is for recovering the sequential chart of upper-layer service environment.
Embodiment
Among the present invention, upper-layer protocol is coupled at SCTP layer signaling message transmission by SCTP, and the end that the upper-layer service environment is initiatively set up is defined as the ASP side, and a passive end of setting up service environment is defined as the SG side.Preserve on the reserve piece of two routine equipment with main with the consistent information of part.ASP side here and SG side are the notions at upper-layer protocol, and having only the ASP side is initiatively, can initiate the message that ASPUP/ASP ACTIVE etc. sets up upper strata UP service environment.When the device fails of any side wherein, when coupling disconnects, disconnect the upper-layer service environment earlier, lose to avoid protocol message; Then, by back mechanism, it is that the master uses part that the reserve piece of equipment in the upper-layer protocol is switched, and utilizes the current main part of using, and rebuilds the coupling between SCTP endpoint by shaking hands; Coupling is set up process by service environment after rebuilding, and the ASP that will be in the machine of delaying (DOWN) state is changed to activation (ACTIVE) state, and the upper-layer service environment to recover to disconnect transmits protocol message by the SCTP coupling again.
Below in conjunction with accompanying drawing, (UA, User Adaptation) is example with the user's adapting protocol in the upper-layer protocol SIGTRAN stack, describes in detail how to utilize SCTP to restart the recovery of carrying out the upper-layer service environment.
When equipment normally moved, the main of ASP side and SG side reflected the information change on it in real time and be saved on the reserve piece with part, and be consistent with information on the reserve piece to guarantee main usefulness part.Referring to shown in Figure 2, be example when breaking down with part with SG side apparatus main, the SCTP coupling restarts the process that the realization upper-layer protocol switches fast and may further comprise the steps:
The reserve piece of step 201:SG side apparatus starts, SG side upper-layer protocol is switched the reserve piece that starts becomes the main part of using, and structure receives that coupling disconnects indication (SCTP CDI) automatically, the current main state with the ASP on the part of SG side is changed to DOWN, to disconnect the upper-layer service environment, avoid protocol message to lose.At this moment, the connection of the logic of coupling is disconnected, but physical connection still exists.
The SG side SCTP endpoint of the upper-layer protocol of step 202:SG side apparatus in the SCTP layer sends the coupling request, and the coupling request uses SG side current device master with the coupling information on the part, comprises IP address and port numbers.Wherein, described transmission comprises: find the opposite end SCTP endpoint by described IP address and port numbers, by the physical connection that still exists in the SCTP layer coupling request is sent to the opposite end SCTP endpoint.
SG side SCTP endpoint in the step 203:SCTP layer and ASP side SCTP endpoint are rebuild coupling by four step handshake procedures, and referring to shown in Figure 3, the detailed process that four steps shook hands comprises:
A, SG side SCTP endpoint send initialization (INT) information according to IP address and port numbers in the coupling information to ASP side SCTP endpoint;
B, ASP side SCTP endpoint are finished initialization, return initialization and confirm that (INT ACK) information is to SG side SCTP endpoint;
C, SG side SCTP endpoint are according to IP address and port numbers in the coupling information, transmission contains the data block (COOKIE) of end points initial information and enciphered message to ASP side SCTP endpoint, and ASP side SCTP endpoint is according to the SCTP coupling between this COOKIE reconstruction SG side and the ASP side;
D, ASP side SCTP endpoint return the COOKIE confirmation to SG side SCTP endpoint, and SG side SCTP endpoint changes indication to its upper-layer user's transmitting terminal dotted state.
Step 204: after the success of shaking hands, ASP side SCTP endpoint restarts primitive to the upper-layer protocol report, and upper-layer protocol rebulids ASP side and SG side upper-layer service environment, and referring to shown in Figure 4, the concrete process of reconstruction of upper-layer service environment may further comprise the steps:
E, ASP side upper-layer protocol are received the primitive that restarts that comes in the ASP side, and the ASP state of ASP side is changed to DOWN;
F, ASP side upper-layer protocol send ASP to SG side upper-layer protocol and enable (ASP UP) information;
The ASP that is in the DOWN state on g, the SG side receives this information, and its operating state is changed and is UP, and then, the ASP on the ASP side sends ASP UP and confirms (ASP UP ACK) information;
After the ASP of h, ASP side receives confirmation, send ASP to the ASP of SG side and activate (ASPACTIVE) information;
After ASP on i, the SG side receives ASP ACTIVE information, the state of its ASP is placed ACTIVE, and send ASP ACTIVE confirmation to the opposite end upper-layer protocol;
After j, ASP side upper-layer protocol are received this confirmation, its ASP state is placed ACTIVE.
Wherein, no matter be in the SG side or the ASP side breaks down, above step f~j does not change, and all is that the ASP side is sent ASP UP and ASP ACTIVE information, its reason is in the upper-layer protocol to have only the ASP side just can send ASP UP and ASP ACTIVE information.
When ASP side apparatus master broke down with part, processing method and said method are similar: the ASP side in step 201~step 203 replaced with the SG side, and the SG side replaces with the ASP side, among the step e in step 204, the ASP side is replaced with the SG side.Carry out the recovery that can realize restarting the realization upper-layer service by coupling according to the step after replacing.
As seen, among the present invention, on the reserve piece of equipment, preserve in real time with main with the consistent information of part, device fails in upper-layer protocol, when causing the SCTP coupling to be interrupted, it is that the master uses part that the equipment that breaks down is switched its reserve piece, constructs coupling automatically and disconnects primitive, disconnect the upper-layer service environment, to avoid losing of protocol message; Then, upper-layer protocol initiation SCTP coupling request is rebuild the SCTP coupling by four step handshake procedures, after rebuilding coupling, recovers the service environment of disconnection by the re-starting mechanism of upper-layer protocol, realizes the transmission of protocol message again.This method implements simply, effectively, can be good at solving the integrity problem of signaling transmission.

Claims (5)

1, a kind of method of recovering protocol message transmission in the SCTP SCTP coupling, the equipment at SCTP coupling two ends mainly is saved in self on self reserve piece with information partly in real time respectively in communication process, after SCTP coupling one end device fails, this end equipment that breaks down initiates to recover the protocol message transmission course of SCTP coupling, it is characterized in that the protocol message transmission course of described recovery SCTP coupling may further comprise the steps:
It is that the master uses part that the upper-layer protocol of A, the end equipment that breaks down is switched the reserve piece of self, and disconnects the upper-layer service environment of self;
B, the end equipment that breaks down are according to current main with backup IP address and port numbers in the coupling information on the part, send the coupling request by SCTP course opposite end SCTP endpoint, then, according to backup coupling information, break down end equipment and opposite equip. are by the coupling between two corresponding SCTP endpoint of handshake procedure reconstruction terminal device;
The SCTP endpoint of C, opposite equip. sends to this opposite end upper-layer protocol and restarts request, and break down end equipment and opposite equip. recover the upper-layer service environment by restarting.
2, method according to claim 1, the end equipment that it is characterized in that breaking down described in the step B sends the coupling request to the opposite end SCTP endpoint and comprises according to current main with the coupling information on the part:
The upper-layer protocol of end equipment of breaking down sends the coupling request and contains the coupling information of backup IP address and port numbers to the SCTP endpoint of the end that breaks down, the SCTP endpoint of the end that breaks down according to this coupling information by SCTP course opposite end SCTP endpoint transmission coupling request.
3, method according to claim 1, the coupling that it is characterized in that described in the step B rebuilding between two SCTP endpoint of terminal device correspondence comprises:
The SCTP endpoint of B1, the end that breaks down is according to the coupling information of backup, and the SCTP endpoint to the opposite end sends initialization information;
The SCTP endpoint of B2, opposite end is finished initialization after receiving initialization information, and the SCTP endpoint to the end that breaks down returns the initialization confirmation then;
After the SCTP endpoint of B3, the end that breaks down is received confirmation, send the data block COOKIE that comprises end points initial information and enciphered message according to the SCTP endpoint of coupling information to the opposite end again, the SCTP endpoint of opposite end is set up coupling according to the content in this data block and the SCTP endpoint of the end that breaks down;
The SCTP endpoint of B4, opposite end returns the COOKIE confirmation to the SCTP endpoint of the end that breaks down, and the SCTP endpoint of the end that breaks down receives that the back changes indication to local terminal upper-layer protocol transmitting terminal dotted state.
4, method according to claim 1 is characterized in that in steps A, and when the upper-layer protocol of the end equipment that breaks down was signaling transmission SIGTRAN, the upper-layer service environment of described disconnection self comprised:
SIGTRAN structure automatically receives that coupling disconnects indication SCTP CDI primitive, and application server process ASP is changed to the machine DOWN state of delaying.
5, method according to claim 1, when the upper-layer protocol of the end equipment that it is characterized in that breaking down was SIGTRAN, step C further comprised:
The SCTP endpoint of C1, opposite equip. sends to the opposite end upper-layer protocol and restarts primitive, and the upper-layer protocol of opposite equip. is received this primitive, is about to its ASP and is changed to the DOWN state;
ASP side signalling gateway SG side in C2, the SCTP upper-layer protocol sends ASP and enables UP message;
SG side in C3, the SCTP upper-layer protocol is received ASP UP message, and ASP is placed the UP state, and returns ASP UP acknowledge message to the ASP of upper-layer protocol side;
ASP side direction SG side in C4, the SCTP upper-layer protocol sends ASP and activates ASPACTIVE message;
SG side in C5, the SCTP upper-layer protocol is received ASP ACTIVE message, the ASP of SG side is activated, and return the ASPACTIVE acknowledge message to the upper-layer protocol of ASP side;
C6, ASP side are received this ASPACTIVE acknowledge message, and ASP is activated.
CNB021589143A 2002-12-26 2002-12-26 Protocol news transmission method in recovery flow control transmission protocol coupling Expired - Fee Related CN1233130C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021589143A CN1233130C (en) 2002-12-26 2002-12-26 Protocol news transmission method in recovery flow control transmission protocol coupling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021589143A CN1233130C (en) 2002-12-26 2002-12-26 Protocol news transmission method in recovery flow control transmission protocol coupling

Publications (2)

Publication Number Publication Date
CN1512714A CN1512714A (en) 2004-07-14
CN1233130C true CN1233130C (en) 2005-12-21

Family

ID=34237230

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021589143A Expired - Fee Related CN1233130C (en) 2002-12-26 2002-12-26 Protocol news transmission method in recovery flow control transmission protocol coupling

Country Status (1)

Country Link
CN (1) CN1233130C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242354B (en) * 2007-02-09 2011-01-05 华为技术有限公司 Data transmission method, system and device
CN101527707B (en) * 2008-03-07 2012-02-29 上海贝尔阿尔卡特股份有限公司 Real-time consistency check method and correlative device for warm backup of SCTP protocol stack
CN110943850A (en) * 2018-09-21 2020-03-31 普天信息技术有限公司 SCTP processing method and server in board card switching
CN111970239B (en) * 2020-07-10 2023-03-24 上海欣方智能系统有限公司 SCTP-based SIGTRANS protocol stack implementation method

Also Published As

Publication number Publication date
CN1512714A (en) 2004-07-14

Similar Documents

Publication Publication Date Title
CN1204724C (en) Data transmission confirming method
US7929422B2 (en) Method of moving a transport connection among network hosts
US6934875B2 (en) Connection cache for highly available TCP systems with fail over connections
US6871296B2 (en) Highly available TCP systems with fail over connections
US7965625B2 (en) Communication device and logical link abnormality detection method
CN101925121A (en) Packet data convergence protocol reconstruction method and device
CN1533100A (en) Method for protecting coupling based on flow control transfer protocol
CN101060533A (en) A method, system and device for improving the reliability of VGMP protocol
CN1658578A (en) Non-break switchover method of double-network communication system
CN1233130C (en) Protocol news transmission method in recovery flow control transmission protocol coupling
CN1801790A (en) Method for improving data communication reliability using floating IP address
CN1713596A (en) Link detection for realizing multi-link agreement
CN1251447C (en) Method for realizing network to network interface connection synchronization and restoration
CN101060525A (en) A SCTP linking method
CN1713586A (en) Realization of virtual group redundancy
CN1486043A (en) Method for handling IP network congestion by MTP2 user adaption
CN1317850C (en) A service interrupt processing method
CN1275410C (en) Method of realizing session data operation and manintenance
CN1177444C (en) Realizing method for enhancing 3G nucleus network reliability using allopatric back-up
CN1534951A (en) Multi address selection method based on flow control transmission protocol
CN100375479C (en) Network system and method for implementing media gateway control protocol stack
CN100337459C (en) Method for processing user message with wrong interface identifier
CN100423513C (en) Merging method with TCP connection
CN1798138A (en) Implement method for increasing reliability of M2PA protocol
CN101127763B (en) A method for recovery synchronization of transmission signaling L2 peer adaptation layer SN

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20051221

Termination date: 20121226