CN1992711B - Method for performing link detection to server by SIP terminal - Google Patents
Method for performing link detection to server by SIP terminal Download PDFInfo
- Publication number
- CN1992711B CN1992711B CN2005101307520A CN200510130752A CN1992711B CN 1992711 B CN1992711 B CN 1992711B CN 2005101307520 A CN2005101307520 A CN 2005101307520A CN 200510130752 A CN200510130752 A CN 200510130752A CN 1992711 B CN1992711 B CN 1992711B
- Authority
- CN
- China
- Prior art keywords
- message
- sip terminal
- link
- server
- link detecting
- 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
Links
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a method for using SIP terminal to check the chain of server, used in next-generation network based on soft exchange, wherein it uses SIP terminal to register server, and sends chain check information to the server timely, to check the chain; when there is chain accident, changes the register state into descending state. The invention can quickly check chain, and take out the terminal from network, with prompting user; and when the chain is recovered, the terminal can recover automatically.
Description
Technical field
The present invention relates to communication field, particularly a kind of pass through mechanism by SIP (Session Initiation Protocol, conversation initialized protocol) signaling message realizes that sip terminal carries out link detection method to server.
Background technology
Along with the differentiation of telephone network architecture and the development of broadband technology, traditional telephone network is to next generation network (NGN, Next Generation Network) evolution is inevitable main trend, carries out the commerce of traditional voice service and multimedia service based on the next generation network of soft switch (Softswitch) and uses progressively appearance.Sip terminal is a very important part in the NGN network architecture, and it is progressively used on a large scale along with the emergence of NGN; Sip terminal in actual use, the link that often occurs between terminal and the server apparatus breaks, and causes message such as registration that terminal sends, calling can't arrive server apparatus.
Generally speaking, sip server all can carry out link detecting to sip terminal, in case link is disconnected or sip terminal is unusual, server can detect in the certain hour scope, and the Login Register information of terminal number of the account on server is also with deleted, at this moment so, the terminal number of the account will be in down status at server, and on sip terminal, still be in line states, thus the inconsistent of number of the account login state appears, influenced user's use.
Summary of the invention
The object of the present invention is to provide a kind of sip terminal that server is carried out link detection method, when making sip terminal link breaking down between itself and server, also can detect, and oneself login state of change, make sip terminal consistent at the login state of self and server.
To achieve these goals, the invention provides a kind of sip terminal server is carried out link detection method, being used for the soft switch is the NGN system architectural framework of core control equipment, by send the situation of link detecting message detection link to server by timing to server registration success back by sip terminal, and when detecting link and break down, login state is changed to down status.
Above-mentioned sip terminal carries out link detection method to server, and sip terminal can't receive that in the given time sip terminal judged that link breaks down when link detecting response message that server sends or link detecting message can't reach server.
Above-mentioned sip terminal carries out link detection method to server, described sip terminal is before server sends link detecting message, it is Options message or Register message that sip terminal is selected the type of link detecting message, when described server is supported Options message, it is Options message that sip terminal is selected the type of link detecting message, otherwise the type of sip terminal selection link detecting message is a Register message.
Above-mentioned sip terminal carries out link detection method to server, after sip terminal changes to down status with login state, whether regularly detect link to server transmission link detecting message recovers, behind the link-recovery, sip terminal is initiated registration automatically, and login state is changed to line states after succeeding in registration.
Above-mentioned sip terminal carries out link detection method to server, points out the user by the interface mode behind the sip terminal change login state.
Sip terminal of the present invention carries out link detection method to server, detect Link State between sip terminal and the server by link detecting message, when link breaks down, sip terminal can detect link failure than faster, terminal is rolled off the production line, and give user prompt information, and behind link-recovery, terminal can self-healing, does not need the user to go artificially to recover.
Description of drawings
Fig. 1 is the idiographic flow schematic diagram of link detecting type of message determining step of the present invention;
Fig. 2 is the idiographic flow schematic diagram of link failure detection of the present invention and treatment step;
Fig. 3 is heavily the reach the standard grade idiographic flow schematic diagram of step of sip terminal of the present invention.
Embodiment
Sip terminal of the present invention carries out link detection method to server, being used for the soft switch is the NGN system architectural framework of core control equipment, regularly send link detecting message bag by sip terminal to server, if server does not return respond packet in the time that requires, so just think that the link between terminal and the server breaks down, terminal rolls off the production line automatically, simultaneously, in the time of link-recovery, terminal will be sent registration packet automatically, thereby make the terminal realization self-healing function of reaching the standard grade.Should be in the next generation network architectural framework of core control equipment wherein, have at least one core control equipment, plural subscriber terminal equipment with the soft switch.
Sip terminal of the present invention carries out in the link detection method server, sip terminal uses Register message to register and regularly registration, use Options message to come server is carried out link detecting, but when server was not supported Options message, sip terminal automatically switched into and uses Register message to carry out link detecting.
Sip terminal of the present invention carries out link detection method to server, specifically comprises 3 steps:
Link detecting type of message determining step, after sip terminal succeeds in registration, sip terminal is selected the type of link detecting message, in an embodiment of the present invention, the link detecting type of message comprises Options message and Register message, because server is to the processing more complicated of Register message, also relatively consume the system resource of server, so, link detect-message type is at first selected Options message in the most preferred embodiment of the present invention, selects Register message under the not all right situation of Options message;
Link failure detection and treatment step, sip terminal regularly sends link detecting message to server, realization is to the detection of link, and carries out respective handling according to the link detecting result, and the type of message of this link detecting message is pre-determined by link detecting type of message determining step;
The sip terminal step of heavily reaching the standard grade, sip terminal utilize the link detecting message detection to initiate registration automatically to the normal back of link-recovery, and reach the standard grade.
Wherein, as shown in Figure 1, link detecting type of message determining step specifically comprises the steps:
Step 11 after sip terminal succeeds in registration, starts link detecting function and link detecting cycle timer;
Step 12, sip terminal sends Options link detecting message to server, and starts overtime timer, waits for the response of link detecting message;
Step 13, overtime timer then, sip terminal judges whether to receive the link detecting response message of server, if enter step 15, otherwise enters step 14;
Step 14, sip terminal are retransmitted the Options link detecting message of certain number of times, and judge whether to receive the link detecting response message of server again, if enter step 15, otherwise enter step 16;
Step 15, sip terminal stops overtime timer, and handle link detection response message, if response message is the link detecting success response, if enter step 17, otherwise enters step 16;
Step 16, sip terminal select Register message as link detecting message;
Step 17, sip terminal select Options message as link detecting message.
As shown in Figure 2, link failure detection and treatment step specifically comprise the steps:
Step 21, sip terminal regularly sends link detecting message to server according to set sense cycle, and wherein the type of link detecting message is determined in link detecting type of message determining step;
Step 22, sip terminal judge whether link detecting message can reach server and/or judge that whether the link detecting response message that server returns can arrive sip terminal, if return step 21, otherwise enters step 23;
Step 23, sip terminal with the set number of times of link detecting message retransmission after, judge whether to receive the link detecting response message, if return step 21, otherwise enter step 24;
Step 24, sip terminal are judged link and are broken down, and login state is changed to down status, and point out the user current link failure by modes such as interfaces, and terminal can't be used.
As shown in Figure 3, the sip terminal step of heavily reaching the standard grade specifically comprises the steps:
After step 31, sip terminal change to down status with login state, continue to send link detecting message, wait for link-recovery by the set link detecting cycle;
Step 32, sip terminal are received the link detecting success message that server returns, and judge link and have recovered normal;
Step 33, sip terminal is initiated register requirement to server;
Step 34, sip terminal change to line states with login state after receiving the message that succeeds in registration that server sends, and realize self-healing, and point out the user can do other business operation.
Certainly; the present invention also can have other various embodiments; 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 the appended claim of the present invention.
Claims (4)
1. a sip terminal carries out link detection method to server, being used for the soft switch is the NGN system architectural framework of core control equipment, it is characterized in that, sip terminal sends link detecting message detection link circuit condition by timing to server to server registration success back, and when detecting link and break down, login state is changed to down status; Wherein, sip terminal can't receive that in the given time sip terminal judged that link breaks down when link detecting response message that server sends or link detecting message can't reach server; Described sip terminal is before server sends link detecting message, and it is Options message or Register message that sip terminal is selected the type of link detecting message;
When described server was supported Options message, it was Options message that sip terminal is selected the type of link detecting message, was Register message otherwise select the type of link detecting message;
Sip terminal selects the type of link detecting message specifically to may further comprise the steps:
Step 11 after sip terminal succeeds in registration, sends Options link detecting message to server, and starts overtime timer;
Step 12, overtime timer then, sip terminal judges whether to receive the link detecting response message of server, if enter step 14, otherwise enters step 13;
Step 13, sip terminal are retransmitted the Options link detecting message of certain number of times, and judge whether to receive the link detecting response message of server again, if enter step 14, otherwise select Register message as link detecting message;
Step 14, sip terminal judge whether the link detecting response message is the link detecting success response, if then select Options message as link detecting message, otherwise select Register message as link detecting message.
2. sip terminal according to claim 1 carries out link detection method to server, it is characterized in that, after sip terminal changes to down status with login state, whether regularly detect link to server transmission link detecting message recovers, behind the link-recovery, sip terminal is initiated registration automatically, and login state is changed to line states after succeeding in registration.
3. sip terminal according to claim 2 carries out link detection method to server, it is characterized in that, whether sip terminal detects link and recover and change login state specifically to comprise the steps:
After step 31, sip terminal change to down status with login state, continue to send link detecting message by the set link detecting cycle;
Step 32, sip terminal are received the link detecting success message that server returns;
Step 33, sip terminal is initiated register requirement to server;
Step 34, sip terminal change to line states with login state after receiving the message that succeeds in registration that server sends.
4. sip terminal according to claim 3 carries out link detection method to server, it is characterized in that, points out the user by the interface mode behind the sip terminal change login state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2005101307520A CN1992711B (en) | 2005-12-27 | 2005-12-27 | Method for performing link detection to server by SIP terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2005101307520A CN1992711B (en) | 2005-12-27 | 2005-12-27 | Method for performing link detection to server by SIP terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1992711A CN1992711A (en) | 2007-07-04 |
CN1992711B true CN1992711B (en) | 2011-05-11 |
Family
ID=38214658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2005101307520A Expired - Fee Related CN1992711B (en) | 2005-12-27 | 2005-12-27 | Method for performing link detection to server by SIP terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1992711B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262522A (en) * | 2011-07-12 | 2011-11-30 | 深圳市同鑫科技有限公司 | Light-emitting diode (LED) display screen compatible with control cards in different communication modes and system and method for controlling LED display screen |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150455B (en) * | 2007-10-11 | 2010-04-21 | 华为技术有限公司 | Service status monitoring method, device and system based on initial session protocol |
US7995466B2 (en) * | 2008-03-26 | 2011-08-09 | Avaya Inc. | Failover/failback trigger using SIP messages in a SIP survivable configuration |
US8107361B2 (en) * | 2008-03-26 | 2012-01-31 | Avaya Inc. | Simultaneous active registration in a SIP survivable network configuration |
CN101588271B (en) * | 2008-05-20 | 2011-10-26 | 中兴通讯股份有限公司 | Method for detecting routing in IP multimedia subsystem (IMS) |
CN101510883B (en) * | 2009-03-23 | 2012-05-23 | 中兴通讯股份有限公司 | Method for transmission of SIP message |
CN101895519A (en) * | 2009-05-19 | 2010-11-24 | 华为技术有限公司 | Service processing method and device |
CN101964806B (en) * | 2010-11-02 | 2013-05-22 | 深圳市共进电子股份有限公司 | Method for switching servers of SIP (Session Initiation Protocol) communication terminal |
CN102298513A (en) * | 2011-07-12 | 2011-12-28 | 深圳市同鑫科技有限公司 | Light-emitting diode (LED) display screen compatible with different types of control cards and control system and method thereof |
CN104852932B (en) * | 2015-06-12 | 2019-01-18 | 广东天波信息技术股份有限公司 | The passive SIP method of calling of Unified Communication and system |
CN106656606A (en) * | 2016-12-27 | 2017-05-10 | 北京奇虎科技有限公司 | Data path testing method, data path testing server and data path testing system |
CN106713037A (en) * | 2016-12-27 | 2017-05-24 | 北京奇虎科技有限公司 | Test method, test server and test system of data path |
TWI638548B (en) * | 2017-12-22 | 2018-10-11 | 中華電信股份有限公司 | Broadband subscriber lines malfunction testing system |
CN113726965B (en) * | 2021-09-10 | 2024-07-23 | 中电信数智科技有限公司 | Continuous paging method, device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1452347A (en) * | 2002-04-20 | 2003-10-29 | 深圳市中兴通讯股份有限公司 | Method for detecting medium gateway controller and medium between-gateways link state |
WO2005013563A1 (en) * | 2003-07-29 | 2005-02-10 | Siemens Aktiengesellschaft | Method for the fast detection of faults in ip networks |
-
2005
- 2005-12-27 CN CN2005101307520A patent/CN1992711B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1452347A (en) * | 2002-04-20 | 2003-10-29 | 深圳市中兴通讯股份有限公司 | Method for detecting medium gateway controller and medium between-gateways link state |
WO2005013563A1 (en) * | 2003-07-29 | 2005-02-10 | Siemens Aktiengesellschaft | Method for the fast detection of faults in ip networks |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262522A (en) * | 2011-07-12 | 2011-11-30 | 深圳市同鑫科技有限公司 | Light-emitting diode (LED) display screen compatible with control cards in different communication modes and system and method for controlling LED display screen |
Also Published As
Publication number | Publication date |
---|---|
CN1992711A (en) | 2007-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1992711B (en) | Method for performing link detection to server by SIP terminal | |
CN1317854C (en) | Method for detecting medium gateway controller and medium between-gateways link state | |
US7463624B2 (en) | Monitoring connection state between main equipment and terminal in network telephone system | |
US8078115B2 (en) | Radio network performance monitoring method, radio communication system, device, and its program | |
WO2022267933A1 (en) | Paging method, terminal, and network side device | |
CN103179270B (en) | Mobile phone power-off or exceed the reminding method of service area in call | |
CN103685166A (en) | Method and device for switching between main server and standby server for session initiation protocol terminal | |
CN100466850C (en) | Implementation method to trigger SIP terminal registration, and system, SIP server and SIP terminal | |
CN105790903A (en) | Terminal and terminal call soft handover method | |
CN101997850A (en) | Call management method and device for IP (Internet Protocol) multimedia subsystem | |
CN101702712A (en) | Detection technology and voice call backup linkage method and device thereof | |
CN103401882B (en) | VoIP gateway voice link backup method and system | |
CN101390373A (en) | Radio communication terminal and server | |
CN1937545A (en) | Network monitoring processing method and system | |
CN101651753A (en) | Calling control device and method for supporting circuit domain telephone and voice over IP | |
CN107342965A (en) | Rich media communications method, system and server | |
CN106899957B (en) | Method and device for correcting IMS registration state | |
CN101094274A (en) | Method for realizing disaster tolerated uninterrupted call in media gateway of next generation of network | |
CN100466534C (en) | Method for processing fault of multimedia sub-system equipment | |
CN103546491B (en) | Communication link abnormity protection method based on H.248 terminal | |
US20080010423A1 (en) | Network device and time synchronization method thereof | |
CN103580895A (en) | Access gateway controller disaster tolerance method and system | |
CN101917302A (en) | Method and system for reducing call disconnection caused by transient interruption of terminal media | |
CN101656918A (en) | Method and system for presenting group conversation state in PTT session in real time | |
CN101997860A (en) | Method and device for communication link detection management in NGN network architecture |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110511 Termination date: 20171227 |