CN103096295A - User mode updating method, system, business server and session initiation protocol (SIP) terminal - Google Patents

User mode updating method, system, business server and session initiation protocol (SIP) terminal Download PDF

Info

Publication number
CN103096295A
CN103096295A CN2011103365901A CN201110336590A CN103096295A CN 103096295 A CN103096295 A CN 103096295A CN 2011103365901 A CN2011103365901 A CN 2011103365901A CN 201110336590 A CN201110336590 A CN 201110336590A CN 103096295 A CN103096295 A CN 103096295A
Authority
CN
China
Prior art keywords
sip terminal
service server
user
message
sip
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
CN2011103365901A
Other languages
Chinese (zh)
Other versions
CN103096295B (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.)
ZTE Corp
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 CN201110336590.1A priority Critical patent/CN103096295B/en
Publication of CN103096295A publication Critical patent/CN103096295A/en
Application granted granted Critical
Publication of CN103096295B publication Critical patent/CN103096295B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a user mode updating method, a system, a business server and a session initiation protocol (SIP) terminal. When the business server finds that timeout occurs on mode updating information which is sent to the SIP terminal, the business server releases conversions which are subscribed by the SIP terminal currently, and then sends a network failure notification message to the SIP terminal according to preset rules. The SIP terminal sends an SIP subscription message again to the business server according to the received failure notification message, and so that current status messages of various users in a user list corresponding to the SIP terminal on the business server are acquire. Therefore, the user mode updating method, the system, the business server and the SIP terminal can timely acquire the current status messages of various users in the user list corresponding to the business server again after the business server releases the conversions of the SIP terminal caused by network failure and when a network returns to normal, and the phenomenon of 'friend status disorder' is avoided.

Description

User Status update method, system and service server, sip terminal
Technical field
The present invention relates to the communications field, be specifically related to a kind of User Status update method, system and a kind of service server, sip terminal.
Background technology
in the core net environment based on SIP (Session Initiation Protocol), NGN network (Next Generation Network) for example, IMS network (IP Multimedia Subsystem)), the real-time function that presents user's current state is a basic function, this function is in order to provide " friend state notice " to the user, when in user's user list, friend state changes, as reach the standard grade, off-line, busy, leave etc., notice is to the user immediately, so that the user in time understands the state of each good friend in user list, improve user's experience.
At present in the state processing flow process based on SIMPLE (SIP Instant Message and Presence Leveraging Extensions), when subscriber's network environment is bad, when for example the SIP mobile terminal accesses the PS territory by GPRS, overtime situation may appear in the state updating message that service server issues, when this situation occurring, to be service server discharge the session of this subscription to existing way, to avoid sending the state updating message to abnormal SIP client occurring, improve the resource utilization of system.but due in most cases, the network environment condition can be recovered at short notice, the SIP client is connected with service server to be connected, and this moment SIP client and do not know that service end has discharged the subscription session of oneself, therefore can not adopt any measure, caused before the refresh cycle of this session arrives, the SIP client can not received the Notify message that any service server sends over, therefore present to this moment user's status list can not right-on reaction list in each user's current state, it is chaotic that friend state appears " situation, can allow the user judge by accident, this moment, the User Status prompting function reduced user's experience on the contrary, can not really reach default effect.
Summary of the invention
The main technical problem to be solved in the present invention is, a kind of User Status update method, system and a kind of service server, sip terminal are provided, can be when network recovery be normal, make sip terminal can obtain timely on service server the current state information of each user in corresponding user list, avoid occurring the situation of " friend state is chaotic ".
For solving the problems of the technologies described above, the invention provides a kind of User Status update method, comprising:
Service server detects the state updating message that sends to sip terminal when overtime, discharges the session of the current subscription of described sip terminal, and by preset rules to described sip terminal transmission network failure notification message;
After service server received the sip subscribe message of described sip terminal based on described network failure notification message feedback, in the user list that described sip terminal is corresponding, each user's current state information sent to described sip terminal.
The present invention also provides a kind of User Status update method, comprising:
When sip terminal is received the network failure notification message that service server sends by preset rules, resend sip subscribe message to described service server;
Described sip terminal receive described service server based on each user's current state information in user list corresponding to the described sip terminal of described sip subscribe message feedback after, according to the current state of each user in its user list of the information updating that receives.
The present invention also provides a kind of User Status update method, comprising:
Service server detects the state updating message that sends to sip terminal when overtime, discharges the session of the current subscription of described sip terminal, and by preset rules to described sip terminal transmission network failure notification message;
After described sip terminal receives described fault notification message, resend sip subscribe message to described service server;
After service server received described sip subscribe message, in the user list that described sip terminal is corresponding, each user's current state information sent to described sip terminal;
Described sip terminal is according to the current state of each user in its user list of described information updating that receives.
In an embodiment of the present invention, described preset rules sends described network failure notification message by default frequency to described sip terminal for described status message being detected when overtime within the default time period.
In an embodiment of the present invention, include error identification in described network failure notification message.
The present invention also provides a kind of service server, comprising:
The state update module when changing for detection of the User Status in user list corresponding to sip terminal, sends the state updating message super to described sip terminal; After also being used for receiving the sip subscribe message of described sip terminal fault notification message feedback Network Based, in the user list that described sip terminal is corresponding, each user's current state information sends to described sip terminal;
Detection module upgrades to disappear whether sending overtimely for detection of described state, as detect and send overtimely, sends overtime notice to the failure message sending module;
The fault warning module after being used for receiving described overtime notice, sends the network failure notification message by preset rules to described sip terminal.
The present invention also provides a kind of sip terminal, comprising:
Session management module: when being used for receiving the network failure notification message that service server sends by preset rules, resend sip subscribe message to described service server;
The state update module: be used for receiving described service server based on each user's current state information of user list corresponding to the described sip terminal of described sip subscribe message feedback after, according to the current state of each user in its corresponding user list of the information updating that receives.
The present invention also provides a kind of User Status update system, comprises service server as above and a plurality of sip terminal as above, and described sip terminal is connected with described operational processor respectively.
In a kind of embodiment of this name, described preset rules sends described network failure notification message by default frequency to described sip terminal for described status message being detected when overtime within the default time period.
In a kind of embodiment of this name, described service server and described sip terminal also comprise respectively the Session Initiation Protocol stack; Described service server sends the state updating message to sip terminal by it Session Initiation Protocol stack that comprises; Described sip terminal receives and resolves network failure notification message from service server by it Session Initiation Protocol stack that comprises, and resends sip subscribe message to described service server by the Session Initiation Protocol stack that it comprises.
The invention has the beneficial effects as follows: the service server in the present invention is when discovery is overtime to the state updating message of sip terminal transmission, know the current network failure that occurs, discharge the session of the current subscription of this sip terminal, and send the network failure notification message by preset rules to this sip terminal; Work as network recovery, after Failure elimination, this sip terminal will receive fault notification message, thereby learn that service server has discharged the session of its subscription, therefore resend sip subscribe message to service server, obtaining the current state information of each user in the user list that on service server, this sip terminal is corresponding, and according to the current state of each user in its user list of the information updating that gets.Therefore the present invention is can be after network failure causes service server to discharge the session of sip terminal, when network recovery is normal, this sip terminal can obtain timely again by the network failure announcement information that receives the current state information of each user in user list corresponding on service server, avoid occurring the situation of " friend state is chaotic ", avoid user's judgement that makes a mistake, improve user's experience.
Description of drawings
Fig. 1 is the User Status update method flow chart of an embodiment of the present invention;
Fig. 2 is the service server structured flowchart of the another kind of embodiment of the present invention;
Fig. 3 is the sip terminal structured flowchart of the another kind of embodiment of the present invention;
Fig. 4 is the another kind of embodiment User Status of the present invention update system block diagram;
Fig. 5 is another User Status update method flow chart of an embodiment of the present invention.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
Please refer to Fig. 1, the User Status update method that provides in this example comprises the following steps:
Whether service server detects to the state updating message of sip terminal transmission overtime overtime, as overtime, discharges the session of the current subscription of this sip terminal, and sends the network failure notification message by preset rules to this sip terminal;
Described sip terminal resends sip subscribe message to service server after receiving described fault notification message;
After service server received described sip subscribe message, in the user list that described sip terminal is corresponding, each user's current state information sent to described sip terminal;
Described sip terminal is according to the current state of each user in its user list of described information updating that receives.
be in this example, when the various factorss such as network environment cause network failure, and then after causing service server to discharge the session of sip terminal, after Failure elimination, when network recovery is normal, this sip terminal can receive the network failure announcement information that service server sends, and then the session of learning its subscription this moment is released, need in time again to send sip subscribe message to service lists, again to obtain timely the current state information of each user in user list corresponding on service server, avoid occurring the situation of " friend state is chaotic ", avoid user's judgement that makes a mistake, to improve user's experience.
Various information in this example between service server and sip terminal can be carried out based on Session Initiation Protocol alternately.Preferably, the service server in this example specifically can comprise the following steps to this sip terminal transmission network failure notification message by preset rules:
When service server detects the state updating message that sends to sip terminal when overtime, the reason that can produce according to the current network fault and recovering the normal needed time, default time period, within this time period, allow to send the network failure notification message to this sip terminal by the frequency of setting.Can be according to the statistics of the reason that various faults are produced and corresponding needs recovery times in this example, set in allowed limits a large as far as possible time period, can recover within this time period with the network failure that a variety of causes is produced, the transmission frequency that arranges within this time period can specifically be set according to network environment.
Also can comprise error identification in network failure message in this example, this error identification can show that the state updating message that sends before service server is overtime, does not namely successfully send to the SIP client, needs the SIP client again to obtain.Also can comprise network failure sign in network failure message in this example, identifying the reason of network failure, and then obtain the information such as needed time of this fault recovery.
See also Fig. 2, a kind of service server also be provided in this example, comprising:
The state update module when changing for detection of the User Status in user list corresponding to sip terminal, sends the state updating message super to described sip terminal; After also being used for receiving the sip subscribe message of sip terminal fault notification message feedback Network Based, in the user list that this sip terminal is corresponding, each user's current state information sends to this sip terminal;
Detection module upgrades to disappear whether sending overtimely for detection of state, as detect and send overtimely, sends overtime notice to the failure message sending module;
The fault warning module after being used for receiving overtime notice, sends the network failure notification message by above-mentioned preset rules to corresponding sip terminal.
See also Fig. 3, corresponding, this example also provides a kind of sip terminal, and the sip terminal in this example can be pc client, also can be based on the terminal of embedded OS, and such as SIP phone, mobile phone etc. comprises:
Session management module: when being used for receiving the network failure notification message that service server sends by above-mentioned preset rules, resend sip subscribe message to service server;
The state update module: be used for receiving service server based on each user's current state information of user list corresponding to this sip terminal of above-mentioned sip subscribe message feedback after, according to the current state of each user in its corresponding user list of the information updating that receives.
See also as 4, the User Status update system in this example comprises above-mentioned service server and a plurality of above-mentioned sip terminal.Above-mentioned service server in this example and above-mentioned sip terminal also comprise respectively the Session Initiation Protocol stack; Various information exchanges between service server and sip terminal are crossed it Session Initiation Protocol stack that comprises and are completed alternately, and for example to send the state updating message super to sip terminal for Session Initiation Protocol stack of comprising by it of service server; Equally, the various information between SIP and service server terminal are also to complete alternately by it Session Initiation Protocol stack that comprises, for example sip terminal receives and resolve network failure notification message from service server by it Session Initiation Protocol stack that comprises; Sip terminal resends sip subscribe message to described service server by it Session Initiation Protocol stack that comprises.
Below, for a better understanding of the present invention, this example is to comprise a service server and to be connected a sip terminal 1 that is connected with described service server respectively and sip terminal 2 and to be described further as example, wherein, the user of sip terminal 2 correspondences is in the user list (being buddy list or contacts list) of user's subscription of sip terminal 1 correspondence, and setting sip terminal 2 this moment is on line, sees also Fig. 5:
Send sip subscribe message after the user UE1 of step 501:SIP terminal 1 logs in, subscribe to the contacts list of oneself;
Step 502: service server is for the sip subscribe message success response of sip terminal 1, and recoil state message, and this message carries in the contacts list that sip terminal 1 subscribes to and respectively contacts human behavior;
Step 503:SIP terminal 1 is for the status message success response of service server feedback, and the state of each contact of renewal;
The state of good friend UE2 on step 504:SIP terminal 2 changes (for example rolling off the production line), issues by PUBLISH;
Step 505: service server is for the success response of the PUBLISH of UE2 transmission;
Step 506: service server sends the state updating message to UE1, is used for its friend state of notice UE1 and changes; Because UE1 this moment place network goes wrong, service server detects this message and fails to send successfully, and according to Session Initiation Protocol, this message will repeatedly be retransmitted, and knows to retransmit overtimely, and this moment, service server discharged the session that sip terminal 1 is subscribed to;
Step 507: service server sends the network failure notification message by preset rules, information in " Content-Type " expression message body of this message is the subscription session related information, and the state updating message before illustrating in XML (error identification) mode in message body sends overtime; Because network may also have problem this moment, certain in above-mentioned Preset Time section of this network failure notification message still may send failure several times, and service server can be retransmitted according to the frequency of setting, and knows that repeating transmission is overtime;
Step 508: service server sends the network failure notification message according to the frequency of setting within the corresponding time period, and successfully sends to sip terminal 1 after network recovery;
Step 509: after network recovery, sip terminal 1 is for the success response of the message of service server transmission;
After step 510:SIP terminal 1 was received the network failure notification message, the contact person who recognizes oneself subscribed to session and lost efficacy, and again sent sip subscribe message to service server;
Step 511: the success response of the sip subscribe message that service server resends for sip terminal 1;
Step 512: service server sends to sip terminal 1 with the current state of respective contacts in the contacts list of the UE1 on sip terminal 1 by the state updating message;
Step 214:SIP terminal 1 is upgraded the current state of each contact person in its corresponding contacts list according to the state updating message that receives.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. a User Status update method, is characterized in that, comprising:
Service server detects the state updating message that sends to sip terminal when overtime, discharges the session of the current subscription of described sip terminal, and by preset rules to described sip terminal transmission network failure notification message;
After service server received the sip subscribe message of described sip terminal based on described network failure notification message feedback, in the user list that described sip terminal is corresponding, each user's current state information sent to described sip terminal.
2. a User Status update method, is characterized in that, comprising:
When sip terminal is received the network failure notification message that service server sends by preset rules, resend sip subscribe message to described service server;
Described sip terminal receive described service server based on each user's current state information in user list corresponding to the described sip terminal of described sip subscribe message feedback after, according to the current state of each user in its user list of the information updating that receives.
3. a User Status update method, is characterized in that, comprising:
Service server detects the state updating message that sends to sip terminal when overtime, discharges the session of the current subscription of described sip terminal, and by preset rules to described sip terminal transmission network failure notification message;
After described sip terminal receives described fault notification message, resend sip subscribe message to described service server;
After service server received described sip subscribe message, in the user list that described sip terminal is corresponding, each user's current state information sent to described sip terminal;
Described sip terminal is according to the current state of each user in its user list of described information updating that receives.
4. method as claimed in claim 3, is characterized in that, described preset rules sends described network failure notification message by default frequency to described sip terminal for described status message being detected when overtime within the default time period.
5. method as described in claim 3 or 4, is characterized in that, includes error identification in described network failure notification message.
6. a service server, is characterized in that, comprising:
The state update module when changing for detection of the User Status in user list corresponding to sip terminal, sends the state updating message super to described sip terminal; After also being used for receiving the sip subscribe message of described sip terminal fault notification message feedback Network Based, in the user list that described sip terminal is corresponding, each user's current state information sends to described sip terminal;
Detection module upgrades to disappear whether sending overtimely for detection of described state, as detect and send overtimely, sends overtime notice to the failure message sending module;
The fault warning module after being used for receiving described overtime notice, sends the network failure notification message by preset rules to described sip terminal.
7. a sip terminal, is characterized in that, comprising:
Session management module: when being used for receiving the network failure notification message that service server sends by preset rules, resend sip subscribe message to described service server;
The state update module: be used for receiving described service server based on each user's current state information of user list corresponding to the described sip terminal of described sip subscribe message feedback after, according to the current state of each user in its corresponding user list of the information updating that receives.
8. a User Status update system, is characterized in that, comprises service server as claimed in claim 6 and a plurality of sip terminal as claimed in claim 7, and described sip terminal is connected with described operational processor respectively.
9. system as claimed in claim 8, is characterized in that, described preset rules sends described network failure notification message by default frequency to described sip terminal for described status message being detected when overtime within the default time period.
10. system as claimed in claim 8 or 9, is characterized in that, described service server and described sip terminal also comprise respectively the Session Initiation Protocol stack; Described service server sends the state updating message to sip terminal by it Session Initiation Protocol stack that comprises; Described sip terminal receives and resolves network failure notification message from service server by it Session Initiation Protocol stack that comprises, and resends sip subscribe message to described service server by the Session Initiation Protocol stack that it comprises.
CN201110336590.1A 2011-10-31 2011-10-31 User Status update method, system and service server, sip terminal Expired - Fee Related CN103096295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110336590.1A CN103096295B (en) 2011-10-31 2011-10-31 User Status update method, system and service server, sip terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110336590.1A CN103096295B (en) 2011-10-31 2011-10-31 User Status update method, system and service server, sip terminal

Publications (2)

Publication Number Publication Date
CN103096295A true CN103096295A (en) 2013-05-08
CN103096295B CN103096295B (en) 2016-06-01

Family

ID=48208319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110336590.1A Expired - Fee Related CN103096295B (en) 2011-10-31 2011-10-31 User Status update method, system and service server, sip terminal

Country Status (1)

Country Link
CN (1) CN103096295B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348662A (en) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 Updating method and device of equipment state
CN106303612A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 A kind of IPTV user data update Notification Method and system
CN110768816A (en) * 2018-07-27 2020-02-07 成都鼎桥通信技术有限公司 Multimedia service exception protection method and device
CN110895521A (en) * 2019-11-07 2020-03-20 浪潮电子信息产业股份有限公司 OSD and MON connection method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288621A1 (en) * 2006-05-11 2007-12-13 Veerabhadra Gundu Methods for managing presence information in a real-time communications network
CN101681329A (en) * 2007-03-29 2010-03-24 三星电子株式会社 System and method for the solicitation of presence information from presence source
US20100191849A1 (en) * 2007-09-18 2010-07-29 Fujitsu Limited Communication method, communication system, server and storage medium storing program related to transfer of session management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288621A1 (en) * 2006-05-11 2007-12-13 Veerabhadra Gundu Methods for managing presence information in a real-time communications network
CN101681329A (en) * 2007-03-29 2010-03-24 三星电子株式会社 System and method for the solicitation of presence information from presence source
US20100191849A1 (en) * 2007-09-18 2010-07-29 Fujitsu Limited Communication method, communication system, server and storage medium storing program related to transfer of session management

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348662A (en) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 Updating method and device of equipment state
CN104348662B (en) * 2013-08-09 2019-01-29 中兴通讯股份有限公司 A kind of update method and device of equipment state
CN106303612A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 A kind of IPTV user data update Notification Method and system
CN110768816A (en) * 2018-07-27 2020-02-07 成都鼎桥通信技术有限公司 Multimedia service exception protection method and device
CN110768816B (en) * 2018-07-27 2022-04-15 成都鼎桥通信技术有限公司 Multimedia service exception protection method and device
CN110895521A (en) * 2019-11-07 2020-03-20 浪潮电子信息产业股份有限公司 OSD and MON connection method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN103096295B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
EP1884101B1 (en) Method and system for the remote management of a machine via ip links of an ip multimedia subsystem, ims
US20140115125A1 (en) Method for Receiving Data, Method for Sending Data, Mobile Terminal, and Server
CN101909325B (en) Monitoring system and monitoring method of mobile terminal
CN103179270B (en) Mobile phone power-off or exceed the reminding method of service area in call
CN101056194B (en) A SNMP message transfer method and device
WO2007149330A3 (en) Method and apparatus for routing signaling message traffic over a communication network
CN101909084A (en) Method and system for upgrading terminal software and service platform system
CN106993043B (en) Data communication system and method based on agency
WO2012088907A1 (en) Ip multimedia subsystem and method thereof for restoring user subscription relationship
CN101997850B (en) Call management method and device for IP (Internet Protocol) multimedia subsystem
CN103096295A (en) User mode updating method, system, business server and session initiation protocol (SIP) terminal
CN103685163A (en) Disaster-tolerant method, system and device in IMS network
CN102484617A (en) Method and system for reducing the number of presence events within a network
CN110809262B (en) COAP protocol-based operation and maintenance management method for Internet of things equipment
CN103841528A (en) Realization method and system for incoming-call prompting service of IMS system
CN101641942A (en) The method and apparatus that uses in the communication network
CN106549901A (en) A kind of service trigger method and device
CN103391303A (en) Service fault noticing method and server using same
CN104506535A (en) Data pushing method and data pushing system
CN103312586A (en) instant communication
CN103905374A (en) Call method, call system and call device
CN103516685A (en) Method and system for obtaining terminal connecting state in IMS network, and equipment
CN111698677A (en) Method for reporting and receiving user plane statistical information and network equipment
CN108989467B (en) Centralized addressing method
CN104094575A (en) Method and apparatus for improved handling of ims node blacklisting

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

Termination date: 20191031

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