CN101132399A - Method for recovering signaling transport protocols service process state consistency - Google Patents
Method for recovering signaling transport protocols service process state consistency Download PDFInfo
- Publication number
- CN101132399A CN101132399A CNA2006101119244A CN200610111924A CN101132399A CN 101132399 A CN101132399 A CN 101132399A CN A2006101119244 A CNA2006101119244 A CN A2006101119244A CN 200610111924 A CN200610111924 A CN 200610111924A CN 101132399 A CN101132399 A CN 101132399A
- Authority
- CN
- China
- Prior art keywords
- state
- service processes
- message
- service
- server end
- 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.)
- Granted
Links
Images
Abstract
This invention relates to a method for resuming consistency of service progress state of signaling transmission protocol including: 1, a SP server end gets local SP state timely to send it to the bottom SCTP to a client end in an expanded and significant SIGTRAN heartbreaking message, 2, comparing the server end state with the local SP state under corresponding AS state, 3, if testing that dis-consistenct state of the SP brought with the server end and that of the local SP is the same for three times, then the client end presses a start up SPSM/TM request flow, 4, sending the message to the server end, 5, the server end processes it according to the protocol and refreshes the locally registered SP state and feeds back a SPSM/TM response message, 6, the client end processes and refreshes the locally registered SP state according to the response.
Description
Technical field
The present invention relates to the communications field, relate in particular to a kind of signaling transfer protocol (Signal TransportProtocol is hereinafter to be referred as SIGTRAN) service processes (Server Process is hereinafter to be referred as SP) state consistency restoration methods.
Background technology
Institute's protocols having of the SP that describes in the SIGTRAN stack of the Internet engineering duty group (Internet Engineering Task Force is called for short IETF) definition includes M3UA, SUA, M2UA, IUA, V5U or the like.The SIGTRAN that relates to the SP description is used as legacy circuit-switched networks (Switched Circuit Network, hereinafter to be referred as SCN) domain signaling and User Agreement thereof be at the adapting protocol of IP network, mainly between IP territory peers include both node or SGW (SignalingGateway is hereinafter to be referred as SG) and IP territory end node, carry out adaptive to SCN domain signaling and User Agreement thereof.
The application scenario of SIGTRAN is divided into two kinds, please refer to Fig. 1.A kind of application is peers include both node (IPSEP) the some service interaction in the IP territory, the logical channel that SIGTRAN is used to carry SCN domain signaling and User Agreement data thereof is called IP operation service processes (Internet ProtocolService Process, hereinafter to be referred as IPSP), be divided into the client and server end.Another application is (IPSEP) mutual between SGW and IP territory end node, and the logical channel of SIGTRAN carrying SCN domain signaling and User Agreement data thereof is respectively signaling gateway process (Signaling Gateway Process is hereinafter to be referred as SGP) on the gateway and the application service process (Application Service Process is hereinafter to be referred as ASP) on the end node of IP territory.Logical channel under two kinds of application scenarios is commonly referred to as SP, and the SP of local terminal need safeguard the state of the relevant SP in opposite end.
Please refer to Fig. 2, the state of SP is divided into two classes, ASP_DOWN and non-ASP_DOWN.
One class state is called the basic channel status of SP, and promptly ASP_DOWN identifies basic channel status.Be used to safeguard that the administrative messag of basic channel status is service processes condition managing message (Service Process State Maintenance is hereinafter to be referred as SPSM), include ASPDown, ASPDownAck, ASPUp, message such as ASPUpAck.
An other class state is called the service channel state of SP, be non-ASP_DOWN, state is divided into ASP_INACTIVE and ASP_ACTIVE state, the service channel state when identifying SP as a plurality of application servers (Application Server is hereinafter to be referred as AS) shared service passage under each AS.The administrative messag of safeguarding this class state is service processes service condition administrative messag (Service Process Traffic Maintenance, hereinafter to be referred as SPTM), include ASPInactive, ASPInactiveAck, ASPActive, ASPActiveAck message.
Interoffice is safeguarded the SP state by the SPSM/TM that introduces above.Because the SPSM/TM interaction flow in the agreement only is a client initiatively to be started SP state interoffice and safeguards flow process, take place or detect the SP abnormal state to change and work as server end, the SIGTRAN of describing SP does not design corresponding informing mechanism, thereby may exist the SP state at two ends inconsistent and can't recover.
Summary of the invention
The objective of the invention is to solve the technical problem that interoffice SP abnormal state can't correctly recover after inconsistent.To achieve these goals, the invention provides a kind of between the client and server end SIGTRAN SP state consistency restoration methods.
SIGTRAN SP state consistency restoration methods of the present invention may further comprise the steps:
Step 1:SP server end regularly obtains local SP state, and by through expansion and meaningization, the heartbeat data parameter of SIGTRAN heartbeat message carry local SP state, the above-mentioned bottom SCTP (Stream Control TransmissionProtocol is hereinafter to be referred as SCTP) that sends to that carries local SP state is transferred to the SP client;
After step 2:SP client is received above-mentioned heartbeat message,, and above-mentioned state compared detection with the state of SP under corresponding AS of local record from the state of SP under the AS of its service of the heartbeat data parameter acquiring SP server end of above-mentioned heartbeat message;
Step 3: be consecutively detected SP state and the inconsistent situation of local SP state that server end brings by the heartbeat data parameter of SIGTRAN heartbeat message as the SP client, and the inconsistent situation of SP state is identical continuously, the contrast testing result of basis then, the SP client is initiated corresponding SPSM/TM request flow process according to protocol rule;
After step 4:SP client was initiated SPSM/TM request flow process, message sent to bottom SCTP and is transferred to the SP server end;
After step 5:SP server end is received the SPSM/TM request message from SCTP, handle and upgrade the SP state of local record, and respond the SPSM/TM response message according to agreement;
Step 6: the SPSM/TM response message of server end is transferred to the SP client by SCTP, after the SP client is received the SPSM/TM response message from SCTP, handles and upgrade the SP state of local record according to agreement.
The heartbeat data parameter of the described heartbeat message through expansion and meaningization of above-mentioned steps 1 can for example use the heartbeat message form of M3UA to expand, and it comprises local SP and gathers in the AS of its service condition of information.
The heartbeat data parameter of the described heartbeat message through expansion and meaningization of above-mentioned steps 1 also can replace SP state interactive messages and the parameter between the end points of being specifically designed to by the Extended Protocol design, the form of message can reference example such as the heartbeat data parameter of M3UA heartbeat message design.
The continuous detecting cycle that the SP state that above-mentioned steps 2 described SP clients are brought by the heartbeat data parameter of SIGTRAN heartbeat message server end carries out is three times.
It is as follows that above-mentioned SP client is consecutively detected SP state that server end brings by the heartbeat data parameter of SIGTRAN heartbeat message and the inconsistent situation of local SP state and processing method:
(1) the SP client state is ASP_DOWN, when detected SP server end state is ASP_INACTIVE, and processing method: send ASPDown message;
When (2) the SP client state is ASP_DOWN, when detected SP server end state is ASP_ACTIVE, processing method: send ASPDown message;
When (3) the SP client state is ASP_INACTIVE, when detected SP server end state is ASP_DOWN, processing method: send ASPDown message;
When (4) the SP client state is ASP_INACTIVE, when detected SP server end state is ASP_ACTIVE, processing method: send ASPInactive message;
When (5) the SP client state is ASP_ACTIVE, when detected SP server end state is ASP_DOWN, processing method: ASPDown message;
When (6) the SP client state is ASP_ACTIVE, when detected SP server end state is ASP_INACTIVE, processing method: send ASPInactive message.
The present invention relies on the heartbeat message of SIGTRAN to detect the inconsistent situation of interoffice SP state, and carry out correct state consistency and recover, thereby avoid the mistake of the inconsistent irrecoverable property of STGTRAN agreement loaded service fault that causes in SP state two ends, guaranteed the consistency of the SP state at correct two ends.
Below in conjunction with accompanying drawing, concrete enforcement of the present invention is described in further detail.For those skilled in the art that, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Description of drawings
Fig. 1 represents the M3UA application scenario.
Fig. 2 is the SP state transition diagram.
Fig. 3 be under the normal condition of a preferred embodiment of the present invention the SP state at the flow chart of safeguarding of interoffice.
Fig. 4 is the flow chart that consistency is recovered behind the interoffice SP status fault of a preferred embodiment of the present invention.
Fig. 5 is the M3UA heartbeat message form expander graphs of a preferred embodiment of the present invention.
Embodiment
Please refer to Fig. 4 earlier, this figure is the flow chart that consistency is recovered behind the interoffice SP status fault of a preferred embodiment of the present invention.As shown in Figure 4, it is as follows that interoffice SP state consistency of the present invention recovers process step:
Step 201:SP server end regularly obtains the state of local SP, structure M3UA heartbeat message, and the heartbeat data parameter that will carry the M3UA heartbeat message of local SP state then sends to bottom SCTP and is transferred to the SP client.The heartbeat data parameter comprises local terminal SP and gathers in the AS of its service condition of information.
After step 202:SP client is received above-mentioned heartbeat message, from the state of SP under the AS of its service of the heartbeat data parameter acquiring SP server end of M3UA heartbeat message, and described state compared detection with the state of SP under corresponding AS of local record.
Step 203: detect SP state and the inconsistent situation of local SP state that server end brings by the heartbeat data parameter of M3UA heartbeat message continuous three times as the SP client, and three times the inconsistent situation of SP state is identical, the contrast testing result of basis then, the SP client is initiated corresponding SPSM/TM request flow process according to protocol rule.
The SP administrative messag flow process that the SP client is initiated according to above-mentioned contrast testing result is as shown in the table:
Local SP state | Opposite end SP state | Processing method |
ASP_DOWN | ASP_INACTIVE ASP_ACTIVE | Send ASPDown message and send ASPDown message |
ASP_INACTIVE | ASP_DOWN ASP_ACTIVE | Send ASPDown message and send ASPInactive message |
ASP_ACTIVE | ASP_DOWN ASP_INACTIVE | Send ASPDown message and send ASPInactive message |
The SPSM/TM handling process that step 204:SP client is initiated meets the flow process of safeguarding of normal SP state that Fig. 3 describes, promptly begin step 101 described in Fig. 3, the SP client is initiated SPSM/TM request flow process, request message is sent to the bottom Stream Control Transmission Protocol be transferred to the SP server end.
After continuation step 102:SP server end is received the SPSM/TM request message from Stream Control Transmission Protocol, handle and upgrade the SP state of local record, and respond SP client SPSM/TM response message according to agreement.
Be step 103 at last: the SPSM/TM response message of server end is transferred to the SP client by Stream Control Transmission Protocol, after the SP client is received the SPSM/TM response message from Stream Control Transmission Protocol, handles and upgrade the SP state of local record according to agreement.
The heartbeat data parameter of above-mentioned M3UA heartbeat message is according to needs expansion of the present invention and meaningization.See also Fig. 5, this figure is the M3UA heartbeat message form expander graphs of a preferred embodiment of the present invention.In addition, except using heartbeat message, can also pass through Extended Protocol, the SP state that new design agreement message and parameter are specifically designed between the end points is mutual, carries out fault recovery according to the contrast of state then.The form of message can design with reference to the heartbeat data parameter of M3UA heartbeat message.
Certainly; the present invention also can have other embodiment; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of claim of the present invention.
Claims (5)
1. method for recovering signaling transport protocols service process state consistency may further comprise the steps:
Step 1: the service processes server end regularly obtains the local service process status, and, the above-mentioned heartbeat message that carries the local service process status is sent to bottom current control transmission protocol transmission arrive the service processes client by carrying the local service process status through the heartbeat data parameter of the expansion and the signaling transfer protocol heartbeat message of meaningization;
Step 2: after the service processes client is received above-mentioned heartbeat message, from the state of service processes under the application server of its service of the heartbeat data parameter acquiring service processes server end of above-mentioned heartbeat message, and the service processes of above-mentioned state and local record compared detection at the state under the corresponding application server;
Step 3: be consecutively detected service processes state and the inconsistent situation of local service process status that server end brings by the heartbeat data parameter of signaling transfer protocol heartbeat message as the service processes client, and the inconsistent situation of service processes state is identical continuously, the contrast testing result of basis then, the service processes client is initiated corresponding service processes condition managing message request flow process according to protocol rule;
Step 4: after the service processes client was initiated service processes condition managing message request flow process, message sent to bottom current control transmission protocol transmission to the service processes server end;
Step 5: after the service processes server end is received service processes condition managing message request message from SCTP, handle and upgrade the service processes state of local record, and respond service processes condition managing message response message according to agreement;
Step 6: the service processes condition managing message response message of server end is transferred to the service processes client by SCTP, after the service processes client is received service processes condition managing message response message from SCTP, handle and upgrade the service processes state of local record according to agreement.
2. method for recovering signaling transport protocols service process state consistency according to claim 1, it is characterized in that: the heartbeat data parameter of the described heartbeat message through expansion and meaningization of above-mentioned steps 1 uses M3UA heartbeat message form to expand, and it comprises the local service process and gathers in the application server condition of information of its service.
3. method for recovering signaling transport protocols service process state consistency according to claim 1, it is characterized in that: the heartbeat data parameter of the described heartbeat message through expansion and meaningization of above-mentioned steps 1 is substituted by service processes state interactive messages and the parameter between the end points of being specifically designed to by the Extended Protocol design, and the form of message designs with reference to the heartbeat data parameter of M3UA heartbeat message.
4. method for recovering signaling transport protocols service process state consistency according to claim 1 is characterized in that: the continuous detecting cycle that the service processes state that above-mentioned steps 2 described service processes clients are brought by the heartbeat data parameter of signaling transfer protocol heartbeat message server end carries out is three times.
5. method for recovering signaling transport protocols service process state consistency according to claim 4 is characterized in that: it is as follows that above-mentioned service processes client is consecutively detected service processes state that server end brings by the heartbeat data parameter of signaling transfer protocol heartbeat message and the inconsistent situation of local service process status and processing method:
(1) the service processes client state is ASP_DOWN, when detected service processes server end state is ASP_INACTIVE, and processing method: send ASPDown message;
When (2) the service processes client state is ASP_DOWN, when detected service processes server end state is ASP_ACTIVE, processing method: send ASPDown message;
When (3) the service processes client state is ASP_INACTIVE, when detected service processes server end state is ASP_DOWN, processing method: send ASPDown message;
When (4) the service processes client state is ASP_INACTIVE, when detected service processes server end state is ASP_ACTIVE, processing method: send ASPInactive message;
When (5) the service processes client state is ASP_ACTIVE, when detected service processes server end state is ASP_DOWN, processing method: ASPDown message;
When (6) the service processes client state is ASP_ACTIVE, when detected service processes server end state is ASP_NACTIVE, processing method: send ASPInactive message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101119244A CN101132399B (en) | 2006-08-24 | 2006-08-24 | Method for recovering signaling transport protocols service process state consistency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101119244A CN101132399B (en) | 2006-08-24 | 2006-08-24 | Method for recovering signaling transport protocols service process state consistency |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101132399A true CN101132399A (en) | 2008-02-27 |
CN101132399B CN101132399B (en) | 2010-09-29 |
Family
ID=39129524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101119244A Expired - Fee Related CN101132399B (en) | 2006-08-24 | 2006-08-24 | Method for recovering signaling transport protocols service process state consistency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101132399B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011022997A1 (en) * | 2009-08-24 | 2011-03-03 | 中兴通讯股份有限公司 | Method and application server for solving the inconsistent states of application servers |
CN106911519A (en) * | 2017-04-10 | 2017-06-30 | 北京搜狐新媒体信息技术有限公司 | A kind of data acquisition monitoring method and device |
CN110392078A (en) * | 2018-04-20 | 2019-10-29 | 中移(苏州)软件技术有限公司 | A kind of method and apparatus of underlying resource data that safeguarding shared file |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1317850C (en) * | 2003-06-24 | 2007-05-23 | 华为技术有限公司 | A service interrupt processing method |
CN1558606A (en) * | 2004-02-10 | 2004-12-29 | Ut斯达康通讯有限公司 | Network terminal automatic configuration method |
-
2006
- 2006-08-24 CN CN2006101119244A patent/CN101132399B/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011022997A1 (en) * | 2009-08-24 | 2011-03-03 | 中兴通讯股份有限公司 | Method and application server for solving the inconsistent states of application servers |
CN101997863A (en) * | 2009-08-24 | 2011-03-30 | 中兴通讯股份有限公司 | Method for realizing application server state consistency and application servers |
CN101997863B (en) * | 2009-08-24 | 2014-07-02 | 中兴通讯股份有限公司 | Method for realizing application server state consistency and application servers |
CN106911519A (en) * | 2017-04-10 | 2017-06-30 | 北京搜狐新媒体信息技术有限公司 | A kind of data acquisition monitoring method and device |
CN106911519B (en) * | 2017-04-10 | 2020-04-07 | 北京搜狐新媒体信息技术有限公司 | Data acquisition monitoring method and device |
CN110392078A (en) * | 2018-04-20 | 2019-10-29 | 中移(苏州)软件技术有限公司 | A kind of method and apparatus of underlying resource data that safeguarding shared file |
Also Published As
Publication number | Publication date |
---|---|
CN101132399B (en) | 2010-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101809966B (en) | Method and apparatus for establishing and managing diameter associations | |
CN101317370B (en) | Method and management agent for event notifications correlation | |
US8374079B2 (en) | Proxy server, communication system, communication method and program | |
CN102820984A (en) | Automatic network topology detection and modeling | |
CN101953139B (en) | DHCP in response to Internet connectedness initializes | |
JP2007006054A (en) | Packet repeater and packet repeating system | |
CN101083606B (en) | Disaster recovery backup method and apparatus for mobile switching centre simulation | |
WO2022062407A1 (en) | Link monitoring method and apparatus, and storage medium and electronic apparatus | |
CN101729307A (en) | Failure detecting method, communication equipment and network system | |
CN101729426A (en) | Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP) | |
CN101132399B (en) | Method for recovering signaling transport protocols service process state consistency | |
CN111092900A (en) | Method and device for monitoring abnormal connection and scanning behavior of server | |
EP2053783A1 (en) | Method and system for identifying VoIP traffic in networks | |
CN101702712A (en) | Detection technology and voice call backup linkage method and device thereof | |
CN101252487B (en) | Method for processing safety warning and safety policy equipment | |
CN106656659A (en) | Network path selection method and network video recorder (NVR) | |
CN102420830A (en) | Peer-to-peer (P2P) protocol type identification method | |
EP3146672B1 (en) | Event reporting in a service function chain | |
JP6057470B2 (en) | Network alarm processing system | |
JP2004248192A (en) | CONTROL SEQUENCE GENERATING METHOD IN VoIP SERVICE, TESTING METHOD USING THE SAME, TESTING AND CAPTURING DEVICE USED FOR TESTING METHOD AND COMPUTER PROGRAM FOR IMPLEMENTING TESTING AND CAPTURING DEVICE | |
US7881210B2 (en) | Method and apparatus for identifying label distribution protocol flapping events | |
US8363555B2 (en) | Monitoring internet protocol (IP) telephony signaling links | |
WO2007067693A2 (en) | Systems and methods for discovering sctp associations in a network | |
JP5309715B2 (en) | Managed device, trap transmission destination setting method, and trap transmission destination setting program | |
CN105025028A (en) | IP black hole discovering method based on flow analysis |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100929 Termination date: 20150824 |
|
EXPY | Termination of patent right or utility model |