[go: up one dir, main page]

CN101917437B - User off-line detection method based on SIP and SIP user state detection system - Google Patents

User off-line detection method based on SIP and SIP user state detection system Download PDF

Info

Publication number
CN101917437B
CN101917437B CN 201010259183 CN201010259183A CN101917437B CN 101917437 B CN101917437 B CN 101917437B CN 201010259183 CN201010259183 CN 201010259183 CN 201010259183 A CN201010259183 A CN 201010259183A CN 101917437 B CN101917437 B CN 101917437B
Authority
CN
China
Prior art keywords
user
heartbeat
user terminal
time
presence 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.)
Expired - Fee Related
Application number
CN 201010259183
Other languages
Chinese (zh)
Other versions
CN101917437A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN 201010259183 priority Critical patent/CN101917437B/en
Publication of CN101917437A publication Critical patent/CN101917437A/en
Application granted granted Critical
Publication of CN101917437B publication Critical patent/CN101917437B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides an instant and quick user off-line detection method based on an SIP and an SIP system for realizing the method. The user off-line detection method based on the SIP comprises the following steps: a user terminal transmits a heartbeat request message to a display server; and the display server creates a user record of the user terminal after receiving the on-line state release message of the user terminal, and refreshes overtime in the user record corresponding to the user terminal by using the locally configured time value and starts time keeping after receiving the heartbeat request message transmitted by the user terminal. The heartbeat request message does not carry the overtime value, in order not to increase the data size of the heartbeat request message and in order to deliver the configuration of the overtime in the user record to the display server, so that the display server can dynamically configure the overtime value according to the processing capacity.

Description

User's off-line checking method and sip user condition detecting system based on SIP
Technical field
The present invention relates to (Presence) technology that presents in instant messaging field, specially refer to the technology that presents in SIP (Session Initiation Protocol, the Session initiation Protocol) system.
Background technology
In recent years, the instant messaging development rapidly, presenting (presence) and instant message (Instant Message is called for short IM) has become the basic communication service after voice, video, note, becomes the tool of communications of increasing work or daily contact.In instantaneous communication system, present ability and the wish of passing on a certain user to communicate by one group of equipment.Take MSN Messenger as example, MSN v7.5 comprises for the present condition that optionally is that the user provides: online, have much to do, be right back, leave, receive calls, eat out and be shown as off-line.The wish that presented state representation current certain state that is in of user and user communicates.Simultaneously, be present condition and can also reflect the ability that communicates with this user, if be in " off-line " state such as the user, one can not directly finish other user's instant message with it and communicate by letter, and other except off-line state is present condition all can generally be called " online " state.Therefore, in Session Initiation Protocol, one the simplest, and to present process as follows: a user (is called watcher, the observer) subscribes to (SUBSCRIBE) his interested another user (presentity, observed main body) be present condition, observed main body is accepted subscribe request, and he can issue (PUBLISH) own new state after the state of later observed main body changed, and this new state can notify (NOTIFY) can the arrival observer.Each user's the present condition that is is safeguarded by presence server.Wherein subscribing to (SUBSCRIBE), issue (PUBLISH), notifying (NOTIFY) such action is to realize by transmission SUBSCRIBE message (state subscription message), PUBLISH (state publications message), NOTIFY (state notification message) respectively.Presence server upgrades the present condition that is of main body by the PUBLISH that receives observed main body.SUBSCRIBE message, the NOTIFY received and dispatched between observer and observed main body are all transmitted by presence server.The observer here, observed main body be the upper communication entity that refers in the network strictly, after expanding, also can make a general reference the people.
Along with market increases day by day to the communication service demand that presents with instant message, multiple implementation also occurs in succession.IETF (the Internet task group) has set up IMPP (Instant Message and Presence Protocol presents/instant message protocol) working group in 1998, to design safety and to present flexibly/instant message protocol.IMPP has defined necessary agreement and data format, is used for making up an instant messages system with reception, issue capability.IMPP working group has proposed various draft agreement or suggestion now, as: SIMPLE, XMPP, PRIM etc.Wherein, SIMPLE (SIP Instant Messaging and Presence Leveraging Extensions, for instant message and the conversation initialized protocol that presents professional utilization expansion) be a comparatively perfect standard of formulating so far, the SIMPLE standard proposed by IETF SIMPLE working group is formal in February calendar year 2001, was that Session Initiation Protocol is for the expansion of IM/presence.
At present, many companies all are devoted to realize this agreement of SIMPLE in their instant communicating system.But in the SIMPLE standard, can fast detecting to how to the description of user's offline play, and there is not the openly how realization of fast detecting user off-line state of other instant communicating system yet, but this function is particularly important again concerning the user, because in actual applications the user one can not close normally client software (because forget or feel trouble), presence server just can't be learnt the last state of off-line of this user immediately like this, and a very long time thinks that all this user is online.Why the user can appear when normally not closing client software behind the off-line, can not be presented discovering server for a long time, be because existing user's presence all is regularly to send PUBLISH to refresh the state on the presence server to presence server by this user terminal; Because user's state is changing at any time, the data volume of PUBLISH is larger, consider from the presence server disposal ability, the SIMPLE standard arranges the time-out time value of carrying in the PUBLISH very long, 3600s is arranged, during off-line, user terminal can initiatively not send off-line of a PUBLISH notice presence server user normally not closing client software.So as long as the time-out time of this user terminal does not arrive, presence server just can not be found this user's off-line.Therefore, when the time-out time value of carrying in PUBLISH is larger, so that presence server can not fast detecting go out off-line of user.If but merely shortened the time-out time value of carrying in the PUBLISH, it is larger that presence server deals with difficulty, exhausts easily cpu resource.
Summary of the invention
Technical problem to be solved by this invention is, provide a kind of more instant, fast based on user's off-line checking method of SIP and the SIP system that realizes the method.
The present invention solves the problems of the technologies described above the technical scheme that adopts to be, the user's off-line checking method based on SIP comprises step:
After user terminal sends its state publications message of reaching the standard grade to presence server, send heartbeat request message to presence server;
After presence server receives the state publications message that user terminal reaches the standard grade, create the user record of this user terminal, and after the heartbeat request message that receives this user terminal transmission, time value with this locality configuration refreshes the time-out time in user record corresponding to this user terminal and starts timing, then returns the heartbeat response message of the time-out time that includes after refreshing to this user terminal;
After user terminal receives the heartbeat response message of presence server, time-out time in local record heartbeat response message, according to this time-out time the heartbeat maintenance period is set, and when this heartbeat maintenance period time arrives, sends the heartbeat request message that is used for the heartbeat maintenance to presence server;
When the time-out time in this user record arrived, presence server was not received the heartbeat request message of user terminal, then judged this user's off-line, deleted user record corresponding to this user terminal; In the time-out time in user record, presence server is received the heartbeat request message of user terminal, judges that then this user is online, and refreshes the time-out time in user record corresponding to this user terminal.
Do not carry the time-out time value in the heartbeat request message, the one, in order not increase the data volume of heartbeat request message, the 2nd, presence server is transferred in the configuration of the time-out time in the user record, so that presence server becomes possibility according to this time-out time value of its disposal ability dynamic-configuration.Adopt the very little heartbeat request message of size of message that the time-out time in the user record is refreshed, presence server can easily be processed, and arranges to such an extent that be far smaller than the time-out time value of carrying in PUBLISH so that the time-out time value in the user record is had ready conditions.Owing to greatly reduced the time-out time value in the user record, so presence server can fast detecting goes out whether off-line of user.
Concrete, the content of described heartbeat request message only is comprised of the SIP resource label symbol of this user terminal.
Only formed by the SIP resource label of this user terminal symbol in the heartbeat request message, so that presence server after receiving heartbeat request message, can find according to the SIP resource label symbol of unique distribution in the SIP system user record of this user terminal correspondence in presence server.
Further, the abnormal conditions that occur in order to tackle presence server: the heartbeat request message of receiving user terminal when presence server, but in the time of can't finding user record corresponding to this user terminal, then presence server then returns the heartbeat error response message to this user terminal; Described heartbeat error response message will trigger user terminal and send the PUBLISH that it is reached the standard grade to presence server; After presence server receives this PUBLISH, create immediately the user record of this user terminal.
Concrete, heartbeat request message, heartbeat response message, heartbeat error response message are all based on User Datagram Protoco (UDP).
For realizing the sip user condition detecting system of said method, comprise presence server and a plurality of user terminal, described any user terminal is used for, send its state publications message of reaching the standard grade to presence server after, send heartbeat request message to presence server again; After receiving the heartbeat response message of presence server, time-out time information in local record heartbeat response message, according to this time-out time the heartbeat maintenance period is set, and when this heartbeat maintenance period time arrives, sends heartbeat request message to presence server;
Described presence server is used for, in the time-out time in user record corresponding to user terminal, after receiving the heartbeat request message of user terminal transmission, time value with this locality configuration refreshes the time-out time in user record corresponding to this user terminal and starts timing, and returns the heartbeat response message to this user terminal; In described time-out time, do not receive the heartbeat request message of user terminal, then judge this user's off-line, delete user record corresponding to this user terminal.
Further, described presence server also is used for, receive the heartbeat request message of user terminal after, in the time can't finding user record corresponding to this user terminal, return the heartbeat error response message to user terminal.
Further, described user terminal also is used for, receive the heartbeat error response message of presence server after, send the state publications message that it is reached the standard grade to presence server.
Concrete, user terminal includes a SIP processing module, the first heartbeat processing module,
The one SIP processing module is used for, and sends the state publications message that it is reached the standard grade to presence server, receives the affirmation message of presence server;
The first heartbeat processing module is used for, send heartbeat request message to presence server, and after receiving the heartbeat response message of presence server, time-out time information in local record heartbeat response message, according to this time-out time the heartbeat maintenance period is set, and when this heartbeat maintenance period time arrives, sends the heartbeat request message that is used for the heartbeat maintenance to presence server; After receiving the heartbeat error response message of presence server, notify a SIP processing module to send the state publications message that it is reached the standard grade to presence server.
Concrete, presence server includes the 2nd SIP processing module, the second heartbeat processing module;
The 2nd SIP processing module is used for, after receiving the state publications message that informing user terminal reached the standard grade, in user record module, create the user record of this user terminal, and receive the notice of the second heartbeat processing module, refresh the time-out time in user record corresponding to this user terminal or delete user record corresponding to this user terminal with the time value of local configuration;
The second heartbeat processing module is used for, after receiving the heartbeat request message of user terminal transmission, notify the 2nd SIP processing module to refresh time-out time in user record corresponding to this user terminal, and return the heartbeat response message of the time-out time information that includes after refreshing to this user terminal; In the time-out time of user record corresponding to user terminal, do not receive the heartbeat request message of user terminal, then judge this user's off-line, notify the 2nd SIP processing module to delete user record corresponding to this user terminal; And after receiving the heartbeat maintain message of user terminal, in the time can't finding user record corresponding to this user terminal, return the heartbeat error response message to user terminal.
The invention has the beneficial effects as follows, so that presence server can fast detecting arrive user's off-line, for presence server reflects more accurately that to the observer presence of observed person's main body provides condition, make instantaneous communication system more friendly concerning the user.
Description of drawings
Fig. 1 is infrastructure network of the present invention;
Fig. 2 is system schematic of the present invention;
Fig. 3 is user's flow process of reaching the standard grade;
Fig. 4 is user's heartbeat maintenance process;
Fig. 5 is heartbeat maintenance abnormality flow process;
Fig. 6 detects user's off-line.
Embodiment
Fig. 1 for implement the present invention institute based on communication system, also can be regarded as enforcement environment of the present invention, comprise terminal 1-n, n is the integer value more than or equal to 2, communication network and presence server, communication system operates based on Session Initiation Protocol.Terminal possesses the ability that receives and send sip message (PUBLISH, NOTIFY, SUBSCRIBE message).Communication network is based on Internet, and the presence server support is the convergent point of collecting User Status to the management of User Status.
As shown in Figure 2, another embodiment of sip user condition detecting system of the present invention,
Comprise a plurality of user terminals, presence server, then each user terminal need include user terminal and includes with a SIP processing module and the first heartbeat processing module; Presence server comprises the 2nd SIP processing module and the second heartbeat processing module, wherein:
The one SIP processing module is used for, and sends the state publications message that it is reached the standard grade to presence server, receives the affirmation message of presence server;
The first heartbeat processing module is used for, send heartbeat request message to presence server, and after receiving the heartbeat response message of presence server, time-out time information in local record heartbeat response message, according to this time-out time the heartbeat maintenance period is set, and when this heartbeat maintenance period time arrives, sends the heartbeat request message that is used for the heartbeat maintenance to presence server; After receiving the heartbeat error response message of presence server, notify a SIP processing module to send the state publications message that it is reached the standard grade to presence server.
The 2nd SIP processing module is used for, after receiving the state publications message that informing user terminal reached the standard grade, in user record module, create the user record of this user terminal, and receive the notice of the second heartbeat processing module, refresh the time-out time in user record corresponding to this user terminal or delete user record corresponding to this user terminal with the time value of local configuration;
The second heartbeat processing module is used for, after receiving the heartbeat request message of user terminal transmission, notify the 2nd SIP processing module to refresh time-out time in user record corresponding to this user terminal, and return the heartbeat response message of the time-out time information that includes after refreshing to this user terminal; In the time-out time of user record corresponding to user terminal, do not receive the heartbeat request message of user terminal, then judge this user's off-line, notify the 2nd SIP processing module to delete user record corresponding to this user terminal; And after receiving the heartbeat maintain message of user terminal, in the time can't finding user record corresponding to this user terminal, return the heartbeat error response message to user terminal.
Take terminal 1 as observed main body, terminal 2 is reached the standard grade to its off-line for the observer describes from terminal for example, and presence server is to its overall process that detects online:
As shown in Figure 3, terminal 1 flow process of reaching the standard grade:
After a1, terminal 1 are reached the standard grade, send PUBLISH notice presence server terminal 1 to presence server first and reached the standard grade, immediately send a UDP heartbeat request message to presence server again;
Terminal 1 is the PUBLISH of Session Initiation Protocol Plays to the notice of reaching the standard grade that presence server sends, and having carried a time-out time value in this message is 3600s second; And terminal 1 is the UDP message to the heartbeat request message that presence server sends, and the content of heartbeat request message only is comprised of the SIP resource label symbol of this user terminal.The transport layer protocol that the UDP heartbeat request message is used is UDP (User Datagram Protoco (UDP)), and application layer protocol designs based on text protocol.
After a2, presence server receive the PUBLISH that notification terminal 1 reached the standard grade, create the user record of terminal 1:
User name Time-out time
Terminal 1@test.com 3600
A3, presence server are replied the 200ok acknowledge message to terminal 1;
A4, presence server is received the UDP heartbeat request message of user terminal 1 subsequently;
The purpose of UDP heartbeat request message is to refresh time-out time, but does not carry time-out time information in the UDP heartbeat request message, and presence server refreshes the time-out time in the user record of terminal 1 correspondence according to the time-out time of this locality configuration.Refresh the time-out time of user terminal state for this, presence server can arrange flexibly, arranges to such an extent that be far smaller than the time-out time value of carrying in PUBLISH so that the time-out time value in the user record is had ready conditions.The heartbeat maintenance period that disposes on one presence server is 3-10 minute, that is to say 3-10 minute and just can check out user's off-line, and this is more much smaller than carrying 3600 seconds in the PUBLISH.For example the time-out time value of local configuration is 180 seconds on the presence server; The user record of terminal 1 can change in the presence server so:
User name Time-out time
Terminal 1@test.com 180
The time-out time of presence server configuration does not herein advise that too small, too small words can cause heartbeat to refresh storm.
A5, presence server are replied UDP heartbeat response message; Include the time-out time information in the user record after refreshing in the content of heartbeat response message, message format is: Ok 180;
Wherein, character string ok represents successfully to have refreshed on the presence server time-out time of the user record of this terminal, and 180 expression presence servers allow to safeguard that the time-out time of this user record is 180 seconds.So, terminal 1 did not go to refresh this user record after 180 seconds, and this user record will be overtime, and presence server can be deleted this user record subsequently.
After a6, terminal 1 are received this UDP heartbeat response message, obtain the time-out time of user record, and in this time-out time information of 180 seconds of local record.
Such as Fig. 4, if the network between terminal 1 and the presence server is normal, can carry out the maintenance of heartbeat, the main purpose of the maintenance of heartbeat is to refresh the time-out time of user record: that describes among content and above-mentioned steps a4 and the a5 of request and response is consistent: presence server receives the heartbeat request message of this terminal 1 transmission, the time-out time that presence server disposes according to this locality refreshes the time-out time in user record corresponding to this terminal, and returns the heartbeat response message to terminal 1;
After terminal 1 receives UDP heartbeat response message, time-out time information in local record UDP heartbeat response message, and according to the time-out time information in this UDP heartbeat response message, terminal 1 arranges to presence server and sends UDP heartbeat request message heartbeat maintenance period, thereby when this heartbeat maintenance period arrives, send the heartbeat request message message, safeguarding the presence of current terminal 1, and again refresh time-out time in the user record of terminal 1 correspondence.This heartbeat maintenance period be designed to a value less than the time-out time that disposes on the presence server, one should not be designed to less than time-out time excessive, otherwise can cause terminal to send frequently the UDP heartbeat request message, according to 180 seconds time-out time the heartbeat maintenance period to be set be 120 seconds to terminal 1 in the present embodiment, be that terminal 1 begins timing after receiving UDP heartbeat response message, when arriving in the 120th second, send the UDP heartbeat request message to presence server; If after 120 seconds, presence server is received the UDP heartbeat request message of sending from terminal 1, the time-out time of the user record of the terminal 1 of safeguarding on the presence server again refreshes and is 180 seconds, and is as follows:
User name Time-out time
Terminal 1@test.com 180
Presence server begins timing subsequently, and namely time-out time can successively decrease, and waits for refreshing of next round.Such benefit is that the PUBLISH that the user refreshes does not just need to have sent, the substitute is the UDP heartbeat request message, because the size of message of UDP heartbeat request message is very little, presence server deals with also very light, safeguard that presence server has not had cpu resource soon if carry out heartbeat with PUBLISH.
As shown in Figure 5, presence server also should be processed some abnormal conditions:
B1, terminal 1 have sent the UDP heartbeat request message to presence server, but when presence server is processed, but finding does not have terminal 1 corresponding user record at presence server, this is a kind of relatively grave error, because the sole purpose of UDP heartbeat request message is to refresh the time-out time of user record, rather than remove to create a New Consumers record.This may be that the problem of presence server also may be that terminal 1 is not gone refreshing due to the user record regularly according to 180 seconds agreement;
B2, this time, presence server need to be replied UDP heartbeat errored response as follows to terminal 1: Error errono reason;
Wherein, Error represents that this is errored response; Errno represents error code; Reason has described wrong cause information;
B3, terminal 1 need again to send PUBLISH to presence server, in order to again create the user record of terminal 1 on presence server after having received such UDP heartbeat errored response.
As shown in Figure 6, when the network between terminal 1 and the presence server went wrong, no matter how terminal 1 sends heartbeat request message was asked, and all can't refresh time-out time in the user record corresponding on the presence server; Finally, presence server can think that then terminal 1 off-line, the user record of terminal 1 are presented the server deletion after 180 seconds time-out time arrives, afterwards, presence server Application standard NOTIFY, notification terminal 2, terminal 1 is off-line.

Claims (10)

1. based on user's off-line checking method of SIP, it is characterized in that, comprise step:
After user terminal sends its state publications message of reaching the standard grade to presence server, send heartbeat request message to presence server;
After presence server receives the state publications message that user terminal reaches the standard grade, create the user record of this user terminal, and after the heartbeat request message that receives this user terminal transmission, presence server refreshes the time-out time in user record corresponding to this user terminal and starts timing with the time value of local configuration, then returns to this user terminal and includes the heartbeat response message that refreshes rear time-out time information;
After user terminal receives the heartbeat response message of presence server, time-out time information in local record heartbeat response message, according to this time-out time the heartbeat maintenance period is set, and when this heartbeat maintenance period time arrives, sends the heartbeat request message that is used for the heartbeat maintenance to presence server;
When the time-out time in this user record arrived, presence server was not received the heartbeat request message of user terminal, then judged this user's off-line, deleted simultaneously user record corresponding to this user terminal; In the time-out time in user record, presence server is received the heartbeat request message of user terminal, judges that then this user is online, and refreshes the time-out time in user record corresponding to this user terminal.
2. as claimed in claim 1 based on user's off-line checking method of SIP, it is characterized in that, when presence server is received the heartbeat request message of user terminal, but can't find user record corresponding to this user terminal the time, presence server then returns the heartbeat error response message to this user terminal; Described heartbeat error response message will trigger user terminal and send the state publications message that it is reached the standard grade to presence server; After presence server receives this state publications message, create immediately the user record of this user terminal.
3. as claimed in claim 2 based on user's off-line checking method of SIP, it is characterized in that described heartbeat request message, heartbeat response message, heartbeat error response message are all based on User Datagram Protoco (UDP).
As described in the above-mentioned any one claim based on user's off-line checking method of SIP, it is characterized in that the content of described heartbeat request message only is comprised of the SIP resource label symbol of this user terminal.
5.SIP the User Status detection system is characterized in that, comprises presence server and at least one user terminal,
Described user terminal is used for, send its state publications message of reaching the standard grade to presence server after, send heartbeat request message to presence server again; After receiving the heartbeat response message of presence server, time-out time information in local record heartbeat response message, according to this time-out time the heartbeat maintenance period is set, and when this heartbeat maintenance period time arrives, sends heartbeat request message to presence server;
Described presence server is used for, in the time-out time in user record corresponding to user terminal, after receiving the heartbeat request message of user terminal transmission, time value with this locality configuration refreshes the time-out time in user record corresponding to this user terminal and starts timing, and returns the heartbeat response message to this user terminal; In described time-out time, do not receive the heartbeat request message of user terminal, then judge this user's off-line, delete user record corresponding to this user terminal.
6. sip user condition detecting system as claimed in claim 5, it is characterized in that, after described presence server also is used for receiving the heartbeat request message of user terminal, in the time can't finding user record corresponding to this user terminal, return the heartbeat error response message to user terminal.
7. sip user condition detecting system as claimed in claim 5 is characterized in that described user terminal also is used for, receive the heartbeat error response message of presence server after, send the state publications message that it is reached the standard grade to presence server.
8. sip user condition detecting system as claimed in claim 6 is characterized in that described heartbeat request message, heartbeat response message, heartbeat error response message are all based on User Datagram Protoco (UDP); The content of described heartbeat request message only is comprised of the SIP resource label symbol of this user terminal.
9. sip user condition detecting system as claimed in claim 5 is characterized in that user terminal includes a SIP processing module, the first heartbeat processing module,
The one SIP processing module is used for, and sends the state publications message that it is reached the standard grade to presence server, receives the affirmation message of presence server;
The first heartbeat processing module is used for, send heartbeat request message to presence server, and after receiving the heartbeat response message of presence server, time-out time information in local record heartbeat response message, according to this time-out time the heartbeat maintenance period is set, and when this heartbeat maintenance period time arrives, sends the heartbeat request message that is used for the heartbeat maintenance to presence server; After receiving the heartbeat error response message of presence server, notify a SIP processing module to send the state publications message that it is reached the standard grade to presence server.
10. such as sip user condition detecting system as described in claim 5 or 9, it is characterized in that described presence server includes the 2nd SIP processing module, the second heartbeat processing module;
The 2nd SIP processing module is used for, after receiving the state publications message that informing user terminal reached the standard grade, in user record module, create the user record of this user terminal, and receive the notice of the second heartbeat processing module, refresh the time-out time in user record corresponding to this user terminal or delete user record corresponding to this user terminal with the time value of local configuration;
The second heartbeat processing module is used for, after receiving the heartbeat request message of user terminal transmission, notify the 2nd SIP processing module to refresh time-out time in user record corresponding to this user terminal, and return the heartbeat response message of the time-out time information that includes after refreshing to this user terminal; In the time-out time of user record corresponding to user terminal, do not receive the heartbeat request message of user terminal, then judge this user's off-line, notify the 2nd SIP processing module to delete user record corresponding to this user terminal, and notifying its good friend, this user is rolled off the production line; And after receiving the heartbeat maintain message of user terminal, in the time can't finding user record corresponding to this user terminal, return the heartbeat error response message to user terminal.
CN 201010259183 2010-08-20 2010-08-20 User off-line detection method based on SIP and SIP user state detection system Expired - Fee Related CN101917437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010259183 CN101917437B (en) 2010-08-20 2010-08-20 User off-line detection method based on SIP and SIP user state detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010259183 CN101917437B (en) 2010-08-20 2010-08-20 User off-line detection method based on SIP and SIP user state detection system

Publications (2)

Publication Number Publication Date
CN101917437A CN101917437A (en) 2010-12-15
CN101917437B true CN101917437B (en) 2013-03-20

Family

ID=43324821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010259183 Expired - Fee Related CN101917437B (en) 2010-08-20 2010-08-20 User off-line detection method based on SIP and SIP user state detection system

Country Status (1)

Country Link
CN (1) CN101917437B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105771243A (en) * 2016-03-14 2016-07-20 广州趣丸网络科技有限公司 Method and system for achieving multiplayer voice interaction in mobile terminal game

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413122B (en) * 2011-10-10 2014-08-20 中国电信股份有限公司 Method and system for inquiring service capacity indication information of friend terminal
CN103209089B (en) * 2012-01-17 2016-06-08 华为技术有限公司 The acquisition methods of heart beat cycle and terminal, server
US9137268B2 (en) 2012-01-17 2015-09-15 Huawei Technologies Co., Ltd. Method, terminal, and server for obtaining heartbeat period
CN102638418A (en) * 2012-03-31 2012-08-15 上海量明科技发展有限公司 Method, client side and system for data transmission in instant messaging
CN104243719B (en) * 2013-06-08 2017-09-01 中国移动通信集团公司 Method, system and device for determining heartbeat period of long connection in mobile communication network
CN103684911B (en) * 2013-12-05 2017-05-03 北京奇虎科技有限公司 Website online user statistical method and device
CN105228238B (en) * 2014-06-13 2019-01-01 中国移动通信集团公司 A kind of periodicity keep-alive transmission method, equipment and system
CN105827697A (en) * 2016-03-14 2016-08-03 广州趣丸网络科技有限公司 User off-line detection method and user off-line detection system
CN107332649B (en) * 2017-06-28 2020-05-08 迈普通信技术股份有限公司 Off-line method of 802.1X client and 802.1X system
CN108566312A (en) * 2017-12-29 2018-09-21 美的集团股份有限公司 Off-line checking method, device and computer readable storage medium
CN109756705B (en) * 2018-12-14 2021-05-11 视联动力信息技术股份有限公司 Terminal off-line alarming method and device
CN110601914B (en) * 2019-08-05 2022-11-22 深圳市大拿科技有限公司 Method and system for monitoring survival state of server
CN112969064A (en) * 2021-02-08 2021-06-15 智洋创新科技股份有限公司 Redis cache timeout-based equipment online state calculation method
CN114189551A (en) * 2021-12-18 2022-03-15 杭州视洞科技有限公司 Statistical method for online state consistency
CN115103001B (en) * 2022-05-10 2024-03-08 航天国政信息技术(北京)有限公司 Communication method and device and electronic equipment
CN114925059B (en) * 2022-07-20 2023-01-24 阿里巴巴达摩院(杭州)科技有限公司 Dirty data processing method, core network, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501636A (en) * 2002-11-19 2004-06-02 华为技术有限公司 A method for detecting whether or not WEB authentication user is on line
CN101043388A (en) * 2007-03-27 2007-09-26 杭州华为三康技术有限公司 Method, equipment and system for detecting whether web access user terminal is on line
CN101552740A (en) * 2009-05-14 2009-10-07 腾讯科技(北京)有限公司 Instant communication system, clients, server and method for judging on-line state

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7624147B2 (en) * 2003-09-04 2009-11-24 Sierra Wireless, Inc. Efficient notification of new electronic mail arrival

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501636A (en) * 2002-11-19 2004-06-02 华为技术有限公司 A method for detecting whether or not WEB authentication user is on line
CN101043388A (en) * 2007-03-27 2007-09-26 杭州华为三康技术有限公司 Method, equipment and system for detecting whether web access user terminal is on line
CN101552740A (en) * 2009-05-14 2009-10-07 腾讯科技(北京)有限公司 Instant communication system, clients, server and method for judging on-line state

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105771243A (en) * 2016-03-14 2016-07-20 广州趣丸网络科技有限公司 Method and system for achieving multiplayer voice interaction in mobile terminal game
CN105771243B (en) * 2016-03-14 2020-06-19 广州趣丸网络科技有限公司 Method and system for realizing multi-user voice interaction in mobile terminal game

Also Published As

Publication number Publication date
CN101917437A (en) 2010-12-15

Similar Documents

Publication Publication Date Title
CN101917437B (en) User off-line detection method based on SIP and SIP user state detection system
US9615223B2 (en) Electronic messaging technology
US20040152450A1 (en) Internet-based messaging system
EP2249517B1 (en) Calendar event prompt system and calendar event notifying method
US8234676B2 (en) System and method of delivering event notifications
CN102447647B (en) Notification method, device and system based on new information
US20070130323A1 (en) Implied presence detection in a communication system
US20110029616A1 (en) Unified auto-reply to an email coming from unified messaging service
US20140115125A1 (en) Method for Receiving Data, Method for Sending Data, Mobile Terminal, and Server
US7822822B2 (en) Instant messaging system configured to facilitate event plan management
US20080098071A1 (en) Method and process to unsubscribe from on-going electronic message threads
EP1769613B1 (en) Method, system, computer-program product and computer-readable medium for real time communications
CN108243086B (en) Message processing method and system
EP2388977A1 (en) Presence-aware reminder
CN102077192A (en) Real time media-based social network notifications
CN104052653A (en) Method for state presentation based on MQTT
US7558982B2 (en) Presence enhanced disaster/overload recovery
CN101588290A (en) Method for reminding user to check e-mails by means of instant communication client
CN102484617A (en) Method and system for reducing the number of presence events within a network
CN103685357A (en) Account multi-open message processing method and system
CN1988517B (en) Message transmitting method and system
CN101155147A (en) Method and apparatus for distributing monitoring data of instant communication server
CN101119329A (en) Method to display fellow on-line state in instant communication instrument
JP4560844B2 (en) Selective attendance management method for instant messaging service in telecommunication networks such as the Internet
WO2023093369A1 (en) Group chat information transmission method and system, computer device, and storage medium

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: 20130320