CN1859361A - Method for detecting terminal on-line state of meeting sponsored protocol server - Google Patents

Method for detecting terminal on-line state of meeting sponsored protocol server Download PDF

Info

Publication number
CN1859361A
CN1859361A CN 200510039203 CN200510039203A CN1859361A CN 1859361 A CN1859361 A CN 1859361A CN 200510039203 CN200510039203 CN 200510039203 CN 200510039203 A CN200510039203 A CN 200510039203A CN 1859361 A CN1859361 A CN 1859361A
Authority
CN
China
Prior art keywords
terminal
sip
session initiation
initiation protocol
server
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
Application number
CN 200510039203
Other languages
Chinese (zh)
Other versions
CN100502396C (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.)
Jiangsu Sannong Tesco Agel Ecommerce Ltd.
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 CNB2005100392032A priority Critical patent/CN100502396C/en
Publication of CN1859361A publication Critical patent/CN1859361A/en
Application granted granted Critical
Publication of CN100502396C publication Critical patent/CN100502396C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The present invention provides conference originating protocol server to termination on-line state detection method. It contains after receiving SIP terminal logon request message and successfully responding, SIP server saving said terminal relevant positional information and active starting up detecting function to said terminal, according to detecting timer cyclically to make detecting to terminal; when SIP server receiving SIP terminal response message failing in detection procedure, then updating said terminal relevant positional information in data base; when receiving SIP terminal successful response message, ending this detection; when SIP server receiving SIP terminal cancellation message and successfully responding, then end cyclically detecting to said SIP terminal. The present invention can in time learn and update current SIP terminal on-line state in SIP server detecting period.

Description

A kind of session initiation protocol server is to the detection method of terminal presence
Technical field
The invention belongs to communication field, specifically, relate to sip server the sip terminal online technology that detects whether.
Background technology
SIP UA (SIP:Session InitiationProtocol, Session initiation Protocol have been stipulated among the RFC3261 (Request for Comments:3261, publish in June, 2002, the 10.1st joint, the 56th~57 page); UA:User Agent user agent) requirement of after powering on, registering to sip server periodically.If sip server is not received the register request message that sip terminal (being SIP UA) is sent in cycle register, then will from database, delete with this user-dependent this terminal positional information.
When certain sip terminal withdraws from as power down or terminal program and during off-line for some reason unusually, can not send out de-registration request message to the sip server network, then sip server can keep the terminal positional information relevant with this terminal use always before registration period arrives, and thought that promptly this user terminal is still online.Within this terminal use's registration period, if the sip server network receives the call request to this terminal use, owing to still keeping this terminal use's relevant location information in its database, sip server still can be to this terminal address process that makes a call.In addition, in terminal use's registration period that this withdraws from unusually, the higher limit that if the position record strip number of this user in SIP webserver position data reached network to be allowed, and this moment the user with a new IP address or port numbers when sip server is registered, can since in the sip server network data base this user's position record number full and registration failure causes sip server to provide due business to this user.This sip terminal user registration period is long more, and above-mentioned adverse effect is big more.
Summary of the invention
The problem to be solved in the present invention is to overcome the adverse effect that sip terminal user registration period causes in the prior art, and then provide the detection method of a kind of session initiation protocol server to the terminal presence, make after sip terminal withdraws from unusually, sip server is in the time less than the sip terminal registration period, can in time obtain and upgrade the presence of current each sip terminal, make sip server after sip terminal withdraws from unusually, in time provide due business for this terminal use.
The present invention by the following technical solutions, a kind of session initiation protocol server may further comprise the steps the detection method of terminal presence:
Step 1, sip server is in the register request message of receiving sip terminal and after having responded success response, sip server is preserved the positional information relevant with this terminal, and initiatively starts the measuring ability to this terminal, according to detecting timer cycle ground this terminal is detected;
Step 2, when sip server in the testing process is received the response message failure of sip terminal, the relevant positional information of this terminal in the new database more; When receiving the success response message of sip terminal, finish this detection;
Step 3 after sip server is received the logout message of sip terminal and responded success response, stops the cycle detection to this sip terminal.
Further, testing process is that sip server sends the sip request message that is used to detect to sip terminal.
Further, detect timer cycle less than the sip terminal registration period.
Compared with prior art, whether online the sip terminal that the present invention registers to success periodically by sip server initiatively send detect-message and inquire after current sip terminal method, can in the sense cycle of sip server, in time grasp and upgrade the presence of current sip terminal, for the user provides service timely.Even sip terminal user's registration period is very long, as long as the sense cycle of sip server is provided with rationally, just can make sip server find in time in this sense cycle whether this terminal is online, can in time provide business service for the sip terminal under the sip server.
Description of drawings
Fig. 1 be among the present invention sip terminal registration online after, sip server is to the message flow chart of sip terminal user online status active detecting;
Fig. 2 is after sip terminal withdraws from unusually from presence among the present invention, the message flow chart that sip server detects sip terminal.
Embodiment
Below in conjunction with accompanying drawing detailed enforcement of the present invention is described.
As shown in Figure 1, after the sip terminal registration was online, sip server may further comprise the steps the message flow of sip terminal user online status active detecting:
After powering on, step 111:SIP terminal sends the REGISTER register request message to sip server periodically;
Step 112: owing to do not have user authentication information in the REGISTER message, sip server is to sip terminal loopback 401 authentication response message not;
Step 113:SIP terminal sends the REGISTER request message of band authentication information to sip server;
Step 114: authentication is passed through, and sip server returns the 200OK response to sip terminal;
Step 115: if the registration period duration of this sip terminal is greater than the detection timer duration of sip server, sip server triggering terminal measuring ability sends the sip request message that is used to detect to the contact address of this sip terminal registration (i.e. the relevant positional information of this terminal);
Step 116:SIP server is received the success response message from sip terminal, and this detects successfully;
After step 117:SIP terminal detected timer expiration, sip server is the triggering terminal measuring ability again, sent the sip request message that is used to detect to the contact address of this sip terminal registration;
Step 118:SIP server is received the success response message from sip terminal, and this detects successfully.
After sip server is received the logout message of sip terminal and responded success response, stop cycle detection to this sip terminal.
As shown in Figure 2, after sip terminal withdrawed from unusually from presence, sip server may further comprise the steps the message flow that sip terminal detects:
During step 211:SIP terminal was online, sip server detected sip terminal according to detecting timer cycle ground, sends the sip request message that is used to detect to the contact address of this sip terminal registration;
Step 212:SIP server is received the success response message from sip terminal, and this detects successfully;
Step 213: when sip terminal withdrawed from unusually, sip terminal failed to send de-registration request message to sip server, and the contact address of its registration still is retained in the sip server; After sip terminal detected timer expiration, sip server is the triggering terminal measuring ability again, sent the sip request message that is used to detect to the contact address of this sip terminal registration;
Step 214:, then retransmit the SIP detect-message if sip server can not receive the response message of sip terminal.If sip server is received the failure of sip terminal response message, the contact address information relevant in the new database more then with this sip user.
After sip server is received the logout message of sip terminal and responded success response, stop cycle detection to this sip terminal.
Adopt this method can guarantee that sip server can grasp the presence of sip terminal in real time, be applicable to the sip server of a small amount of sip terminal of management.
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 (3)

1. a session initiation protocol server may further comprise the steps the detection method of terminal presence:
Step 1, the session initiation protocol server is in the register request message of receiving the session initiation protocol terminal and after having responded success response, the session initiation protocol server is preserved the positional information relevant with this terminal, and initiatively startup detects this terminal according to detecting timer cycle ground the measuring ability of this terminal;
Step 2, when session initiation protocol server in the testing process is received the response message failure of session initiation protocol terminal, the relevant positional information of this terminal in the new database more; When receiving the success response message of session initiation protocol terminal, finish this detection;
Step 3 after the session initiation protocol server is received the logout message of session initiation protocol terminal and responded success response, stops the cycle detection to this session initiation protocol terminal.
2. method according to claim 1 is characterized in that, testing process is that the session initiation protocol server sends the session initiation protocol request message that is used to detect to the session initiation protocol terminal.
3. method according to claim 1 and 2 is characterized in that, detects timer cycle less than the session initiation protocol endpoint registration cycle.
CNB2005100392032A 2005-05-08 2005-05-08 Method for detecting terminal on-line state of meeting sponsored protocol server Expired - Fee Related CN100502396C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100392032A CN100502396C (en) 2005-05-08 2005-05-08 Method for detecting terminal on-line state of meeting sponsored protocol server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100392032A CN100502396C (en) 2005-05-08 2005-05-08 Method for detecting terminal on-line state of meeting sponsored protocol server

Publications (2)

Publication Number Publication Date
CN1859361A true CN1859361A (en) 2006-11-08
CN100502396C CN100502396C (en) 2009-06-17

Family

ID=37298224

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100392032A Expired - Fee Related CN100502396C (en) 2005-05-08 2005-05-08 Method for detecting terminal on-line state of meeting sponsored protocol server

Country Status (1)

Country Link
CN (1) CN100502396C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010121531A1 (en) * 2009-04-21 2010-10-28 华为终端有限公司 Method for terminal management system updating terminal status and terminal management system
CN101453381B (en) * 2007-12-03 2011-08-24 中兴通讯股份有限公司 Method for detecting terminal wire drop by one-board computer and notifying kernel network
CN102487341A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Session detection method and apparatus thereof, and session initiation protocol (SIP) server
CN102781017A (en) * 2012-07-03 2012-11-14 北京小米科技有限责任公司 Method, device and communication equipment for detecting online state of opposite communication terminal
CN103067208A (en) * 2013-01-06 2013-04-24 深圳市共进电子股份有限公司 Method and system capable of remotely diagnosing session initiation protocol (SIP) register fault
CN104852932A (en) * 2015-06-12 2015-08-19 广东天波信息技术股份有限公司 UC (unified communication) passive SIP call method and system
CN104954373A (en) * 2015-06-12 2015-09-30 广东天波信息技术股份有限公司 Unified communication active SIP (Session Initiation Protocol) calling method and system
CN113242263A (en) * 2021-06-24 2021-08-10 聚好看科技股份有限公司 Conference server and audio and video conference data correction method
CN114826803A (en) * 2022-04-26 2022-07-29 北京字跳网络技术有限公司 Conference state processing method, conference state processing device, electronic device, conference state processing medium, and program product

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453381B (en) * 2007-12-03 2011-08-24 中兴通讯股份有限公司 Method for detecting terminal wire drop by one-board computer and notifying kernel network
WO2010121531A1 (en) * 2009-04-21 2010-10-28 华为终端有限公司 Method for terminal management system updating terminal status and terminal management system
CN101873727B (en) * 2009-04-21 2013-06-26 华为终端有限公司 Terminal state updating method of terminal management system and terminal management system
CN102487341A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Session detection method and apparatus thereof, and session initiation protocol (SIP) server
WO2012071882A1 (en) * 2010-12-02 2012-06-07 中兴通讯股份有限公司 Session detection method, device and session initiation protocol server
CN102487341B (en) * 2010-12-02 2015-10-21 中兴通讯股份有限公司 Talk detection method, device and session initial protocol server
CN102781017A (en) * 2012-07-03 2012-11-14 北京小米科技有限责任公司 Method, device and communication equipment for detecting online state of opposite communication terminal
CN102781017B (en) * 2012-07-03 2015-10-14 小米科技有限责任公司 A kind of method, device and communication equipment detecting Correspondent Node presence
CN103067208B (en) * 2013-01-06 2015-09-09 深圳市共进电子股份有限公司 The method and system of remote diagnosis SIP registered problems
CN103067208A (en) * 2013-01-06 2013-04-24 深圳市共进电子股份有限公司 Method and system capable of remotely diagnosing session initiation protocol (SIP) register fault
CN104954373A (en) * 2015-06-12 2015-09-30 广东天波信息技术股份有限公司 Unified communication active SIP (Session Initiation Protocol) calling method and system
CN104852932A (en) * 2015-06-12 2015-08-19 广东天波信息技术股份有限公司 UC (unified communication) passive SIP call method and system
CN104852932B (en) * 2015-06-12 2019-01-18 广东天波信息技术股份有限公司 The passive SIP method of calling of Unified Communication and system
CN104954373B (en) * 2015-06-12 2019-01-18 广东天波信息技术股份有限公司 Unified Communication active SIP method of calling and system
CN113242263A (en) * 2021-06-24 2021-08-10 聚好看科技股份有限公司 Conference server and audio and video conference data correction method
CN114826803A (en) * 2022-04-26 2022-07-29 北京字跳网络技术有限公司 Conference state processing method, conference state processing device, electronic device, conference state processing medium, and program product
CN114826803B (en) * 2022-04-26 2023-10-31 北京字跳网络技术有限公司 Conference state processing method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN100502396C (en) 2009-06-17

Similar Documents

Publication Publication Date Title
CN1859361A (en) Method for detecting terminal on-line state of meeting sponsored protocol server
US8396972B2 (en) Session control apparatus, software applied to session control apparatus, communication control method, and network system
US8254552B2 (en) System and method for providing a recovery mode in a session initiation protocol (SIP) environment
US20130151717A1 (en) Sustaining session connections
US20100074100A1 (en) Proxy server, communication system, communication method and program
US20090217109A1 (en) Enhanced presence routing and roster fidelity by proactive crashed endpoint detection
CN102932364B (en) A kind of register method, Apparatus and system
CN108833149B (en) Method and system for monitoring network availability and self-healing of express delivery cabinet
JP2008538470A (en) How to counter the transmission of unsolicited voice information
CN100471150C (en) Method for establishing subscribe communication and method for subscribing user events
JP2006157612A (en) Network telephone system, and server apparatus and telephone terminal for the system
CN1822599A (en) Detecting method of terminal online state of meeting sponsered protocol server
CN103825868A (en) Method for local voice escape, local gateway and system thereof
CN107707689B (en) DHCP message processing method, DHCP server and gateway equipment
US20140112336A1 (en) Telephony usage derived presence information
CN1567905A (en) A method for monitoring operating state of media gateway controller by media gateway
CN1856167A (en) Method for inquiring registration of unregistered IMS user
CN101079830A (en) A method, system and device for providing friend status in instant communication process
CN102932319B (en) A kind of for keeping the method and apparatus conversed
US8060568B2 (en) Real time messaging framework hub to intercept and retransmit messages for a messaging facility
JP4541333B2 (en) Terminal device, system, method, and program
CN104753900B (en) A kind of method and gateway for realizing IOS equipment access SIP networks
CN101635672B (en) Device and method for realizing convergence service session in group mode
US9367367B2 (en) Application router
CN101087222A (en) Method for H.323 system to support online status display

Legal Events

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

Effective date of registration: 20180102

Address after: Tiefu iron rich street Pizhou city 221331 Jiangsu city of Xuzhou Province

Patentee after: Huang Shaowei

Address before: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20180102

Address after: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518057 Nanshan District high tech Industrial Park, Guangdong, South Road, science and technology, ZTE building, legal department

Patentee before: ZTE Corp.

TR01 Transfer of patent right

Effective date of registration: 20181026

Address after: 510640 2414-2416 of the main building 371, five mountain road, Tianhe District, Guangzhou, Guangdong.

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 221331 Jiangsu province Xuzhou city Pizhou City Tie Fu town tie Fu Street

Patentee before: Huang Shaowei

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181116

Address after: 221300 room 103, student Pioneer Park, Pizhou, Xuzhou, Jiangsu

Patentee after: Jiangsu Sannong Tesco Agel Ecommerce Ltd.

Address before: 510640 2414-2416 of the main building 371, five mountain road, Tianhe District, Guangzhou, Guangdong.

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

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

Granted publication date: 20090617

Termination date: 20180508

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