CN104811320A - State subscription method, device and system - Google Patents

State subscription method, device and system Download PDF

Info

Publication number
CN104811320A
CN104811320A CN201410043520.0A CN201410043520A CN104811320A CN 104811320 A CN104811320 A CN 104811320A CN 201410043520 A CN201410043520 A CN 201410043520A CN 104811320 A CN104811320 A CN 104811320A
Authority
CN
China
Prior art keywords
terminal
state information
presence server
state
subscription
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.)
Withdrawn
Application number
CN201410043520.0A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410043520.0A priority Critical patent/CN104811320A/en
Priority to PCT/CN2014/088957 priority patent/WO2015113409A1/en
Publication of CN104811320A publication Critical patent/CN104811320A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the invention provides a state subscription method, device and system, relates to the communication field, and can reduce subscription number and state notification number generated in the system when state is subscribed, and reduces pressure to the system when a large number of terminals initiate state subscription simultaneously. The method comprises the following steps: a first presence server receives state information released by a first terminal belonging to the first presence server; and the first presence server broadcasts the state information released by the first terminal to other presence servers, wherein the other presence servers comprise a second presence server, so that the second presence server notifies the state information corresponding to the first terminal to a second terminal when the second terminal belonging to the second presence server subscribes the state information corresponding to the first terminal, the state information corresponding to the first terminal comprising the state information released by the first terminal.

Description

A kind of method of state subscription, Apparatus and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of method of state subscription, Apparatus and system.
Background technology
ICT(Information Communication Technology is widely used in based on the state subscription method presenting presence service, ICT (information and communication technology)) field, wherein, Presence is with certain communication mode, according to certain access criterion, Real-time Obtaining presence information (as information such as User Status, communication capacity, personal settings), and be presented to a kind of method of other user.At present, along with popularizing of the Internet, increasing people likes being kept in touch with others by the mode of instant messaging.Presence technology plays very important role in this instant messaging.Rely on Presence technology, instant messaging service can based on functions such as " settings of user's various states " (as user is set to the various states such as " in making a phone call ", " meeting carry out in "), there is provided multiple abundant value-added services such as " subscribe to other people state information ", office, meeting, communication etc. for individual/enterprise customer are multi-field provides efficient solution easily.
But, in the prior art, when terminal needs the state of subscribing to other-end, a list subscription message can be sent according to the associated person information in terminal, so just have subscribed the status message of multiple terminal simultaneously.Owing to carrying out state subscription successively between this terminal and other-end, therefore, a large amount of subscription sessions will be produced in internal system, wherein, these subscription sessions can comprise the PS(Presence Server in same website, presence server) between subscription, subscription between PS between different website, and Status Change notice.Exemplary, for 3 PS, the number of internal system terminal is 10000, the state information of average each terminal subscribes 150 other-ends, then the subscription total sessions that internal system produces is: 10000 × 150 × (3-1)/3; The state notifying number that internal system produces is: state publications number of times × 150 × (3-1)/3 that terminal is total.Therefore, when great amount of terminals initiates state subscription simultaneously, to the handling property of whole system and network traffic requirements very high.
Summary of the invention
Embodiments of the invention provide a kind of method, Apparatus and system of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of state subscription, and described method comprises:
First presence server receives the state information of the first terminal issue belonging to described first presence server;
The state information that described first terminal is issued is broadcast to other presence server by described first presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
In the implementation that the first is possible, according to first aspect, described method also comprises:
Described first presence server receives the query messages that described second presence server sends, and described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server;
Described first presence server obtains state information corresponding to described third terminal, and state information corresponding for described third terminal is returned to described second presence server;
State information corresponding for described third terminal is broadcast to other presence server described by described first presence server.
In the implementation that the second is possible, in conjunction with first aspect or the first possible implementation,
If described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal of acquisition is corresponding comprises the state information that described third terminal is issued;
If described first presence server does not store the state information that described third terminal is issued, the state information that the described third terminal of acquisition is corresponding comprises the descriptor of the user of described third terminal.
Second aspect, the embodiment of the present invention provides a kind of method of state subscription, and described method comprises:
Second presence server receives the subscribe message of the second terminal transmission belonging to described second presence server, and described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list;
Described second presence server receives the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast;
Described second presence server when receiving state information corresponding to described first terminal and determine that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
In the implementation that the first is possible, according to second aspect, after described second presence server receives the subscribe message of the described second terminal transmission belonging to described second presence server, described method also comprises:
Described second presence server determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal;
The state information that the described third terminal that described first presence server of described second presence server reception returns is corresponding;
State information notification corresponding for described third terminal is given described second terminal by described second presence server.
The third aspect, the embodiment of the present invention provides a kind of first presence server, comprising: receiver module and broadcast module;
Described receiver module, for receiving the state information of the first terminal issue belonging to described first presence server, and the status information transmission issued by described first terminal is to described broadcast module;
Described broadcast module, for receiving the state information that described first terminal is issued from described receiver module, and the state information that described first terminal is issued is broadcast to other presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
In the implementation that the first is possible, according to the third aspect,
Described receiver module, also for receiving the query messages that described second presence server sends, described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server;
Described first presence server also comprises:
Processing module, for obtaining state information corresponding to described third terminal, and returns to described second presence server by state information corresponding for described third terminal;
Described broadcast module, also for after getting state information corresponding to described third terminal in described processing module, is broadcast to other presence server described by state information corresponding for described third terminal.
In the implementation that the second is possible, in conjunction with the third aspect or the first possible implementation,
If described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the state information that described third terminal is issued;
If described first presence server does not store the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the descriptor of the user of described third terminal.
Fourth aspect, the embodiment of the present invention provides a kind of second presence server, comprising: receiver module and sending module;
Described receiver module, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list, and for receiving the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast;
Described sending module, during for receiving state information corresponding to described first terminal at described receiver module and determining that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
In the implementation that the first is possible, according to fourth aspect,
Described sending module, also for receive at described receiver module belong to described second presence server described second terminal send subscribe message after, determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal;
Described receiver module, also for receiving state information corresponding to described third terminal that described first presence server returns;
Described sending module, also for after receive state information corresponding to described third terminal that described first presence server returns at described receiver module, gives described second terminal by state information notification corresponding for described third terminal.
5th aspect, the system of a kind of state subscription of the embodiment of the present invention, comprising:
First presence server and the second presence server;
Described first presence server, for receiving the state information of the first terminal issue belonging to described first presence server; Described state information is broadcast to other presence server, other presence server described comprises described second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued;
Described second presence server, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list; Receive the state information that the first terminal belonging to described first presence server of described first presence server broadcast is corresponding; When receiving state information corresponding to described first terminal and determine that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
In the implementation that the first is possible, according to the 5th aspect,
Described first presence server, also for receiving the query messages that described second presence server sends, described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server; Obtain the state information that described third terminal is corresponding, and state information corresponding for described third terminal is returned to described second presence server; State information corresponding for described third terminal is broadcast to other presence server described;
Described second presence server, also for determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal; Receive the state information that described third terminal that described first presence server returns is corresponding; Described second terminal is given by state information notification corresponding for described third terminal.
Method, the Apparatus and system of a kind of state subscription that the embodiment of the present invention provides, receive the state information of the first terminal issue belonging to described first presence server by the first presence server; The state information that described first terminal is issued is broadcast to other presence server by described first presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.Pass through the program, because state information corresponding for first terminal can be broadcast to other presence server by the first presence server, to make other presence servers when other-end have subscribed state information corresponding to first terminal to the state information that other-end notice first terminal is corresponding.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the method for a kind of state subscription that Fig. 1 provides for the embodiment of the present invention 1;
The schematic flow sheet of the method for a kind of state subscription that Fig. 2 provides for the embodiment of the present invention 2;
The schematic flow sheet of the method for a kind of state subscription that Fig. 3 provides for the embodiment of the present invention 3;
The schematic flow sheet of the method for a kind of state subscription that Fig. 4 provides for the embodiment of the present invention 4;
The schematic flow sheet of the method for a kind of state subscription that Fig. 5 provides for the embodiment of the present invention 5;
The schematic flow sheet of the method for a kind of state subscription that Fig. 6 provides for the embodiment of the present invention 6;
The schematic flow sheet of the method for a kind of state subscription that Fig. 7 provides for the embodiment of the present invention 7;
The schematic flow sheet of the method for a kind of state subscription that Fig. 8 provides for the embodiment of the present invention 8;
The structural representation one of a kind of first presence server that Fig. 9 provides for the embodiment of the present invention 9;
The structural representation two of a kind of first presence server that Figure 10 provides for the embodiment of the present invention 9;
The structural representation of a kind of second presence server that Figure 11 provides for the embodiment of the present invention 10;
The structural representation of a kind of first terminal that Figure 12 provides for the embodiment of the present invention 11;
The structural representation of a kind of second terminal that Figure 13 provides for the embodiment of the present invention 12;
The structural representation one of another kind first presence server that Figure 14 provides for the embodiment of the present invention 13;
The structural representation two of another kind first presence server that Figure 15 provides for the embodiment of the present invention 13;
The structural representation of another kind second presence server that Figure 16 provides for the embodiment of the present invention 14;
The structural representation of the another kind of first terminal that Figure 17 provides for the embodiment of the present invention 15;
The structural representation of another kind second terminal that Figure 18 provides for the embodiment of the present invention 16.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In addition, term " system " and " network " are often used interchangeably in this article herein.Term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
First terminal described by the embodiment of the present invention, the second terminal and third terminal can be subscriber equipmenies, and also can be that other may be used for the terminal of the state information sending state subscription information request other-end, the present invention limit.The first terminal that the present invention relates to, the second terminal and third terminal can be same entity terminal, and this terminal both can be used as first terminal, realized the function of first terminal; Also can be used as the second terminal, realize the function of the second terminal; Can also be used as third terminal, realize the function of third terminal, the present invention does not limit equally.The embodiment of the present invention is subscriber equipment for first terminal, the second terminal and third terminal, carries out specific embodiment of the invention description.
Embodiment 1
The embodiment of the present invention provides a kind of method of state subscription, and as shown in Figure 1, described method comprises:
S101, the first presence server receive the state information of the first terminal issue belonging to described first presence server.
In the prior art, when terminal needs the state of subscribing to other-end, a list subscription message can be sent according to the associated person information in terminal, so just have subscribed the status message of multiple terminal simultaneously.Owing to carrying out state subscription successively between this terminal and other-end, therefore, a large amount of subscription sessions will be produced in internal system, wherein, these subscription sessions can comprise the subscription between the subscription between the PS in same website, the PS between different website, and Status Change notice.Therefore, when great amount of terminals initiates state subscription simultaneously, to the handling property of whole system and network traffic requirements very high.
The embodiment of the present invention provides a kind of method of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.It should be noted that, the embodiment of the present invention can be applied in the scene of mutually authorizing between all terminals (as enterprise network scene), wherein, mutual mandate represents that all terminals are the relation conditions of mutual trust, any one terminal can both when directly obtaining the state of other-end without when other authorization terminal, and without the need to through subscribing to authorization rule deterministic process.
First, the first presence server receives the state information of the first terminal issue belonging to the first presence server.
Concrete, first terminal belongs to the first presence server, and the first presence server then can receive the state information of the first terminal issue belonging to the first presence server.The method of first terminal issued state information specifically comprises first terminal by SIP(SessionInitiation Protocol, Session initiation Protocol) to first presence server issue first terminal issue state information.
Concrete, the state information that first terminal is issued can comprise presence corresponding to first terminal (such as the first terminal whether state such as busy, idle that shows in the case of the on-line connection of online, first terminal), configuration information (individualized signature etc. that the user as first terminal is arranged on first terminal) that first terminal is corresponding, and the present invention does not limit.
The state information that described first terminal is issued is broadcast to other presence server by S102, described first presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
Receive the state information of the first terminal issue belonging to the first presence server at the first presence server after, the state information that first terminal is issued is broadcast to other presence server by the first presence server, other presence server comprises the second presence server so that the second presence server when the state information that the second terminal subscribes first terminal belonging to the second presence server is corresponding to the state information that the second terminal notification first terminal is corresponding.Wherein, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
The state information that described first terminal is corresponding, can comprise state information, descriptor etc. that first terminal is corresponding that first terminal is issued, the descriptor of the user of described first terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of first terminal (data such as the pet name, birthday, head portrait of the user of such as first terminal), first terminal.
It should be noted that, the state information that first terminal is issued is broadcast to other presence server by the first presence server, both can be that the state information that first terminal first time is issued is broadcast to other presence server by the first presence server, also can be after first terminal has issued the state information after upgrading, state information after renewal is broadcast to other presence server by the first presence server, and the present invention does not limit.
Concrete, how second presence server will be described in detail to the method for state information corresponding to the second terminal notification first terminal during in the state information that the second terminal subscribes first terminal belonging to the second presence server is corresponding in the following embodiments, repeat no more herein.
S103, described first presence server receive the query messages that described second presence server sends, and described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server.
If there is no store home in the second presence server in state information corresponding to the third terminal of the first presence server, then the second presence server sends query messages to the first presence server, first presence server receives the query messages that the second presence server sends, and query messages is for inquiring about state information corresponding to the third terminal that belongs to the first presence server.
Concrete, the state information that third terminal is corresponding can comprise state information, the descriptor etc. that third terminal is corresponding that third terminal is issued, and the descriptor of the user of described third terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of third terminal (data such as the pet name, birthday, head portrait of the user of such as third terminal), third terminal.Wherein, the state information that third terminal is issued can comprise presence corresponding to third terminal (such as the third terminal whether state such as busy, idle that shows in the case of the on-line connection of online, third terminal), configuration information (individualized signature etc. that the user as third terminal is arranged on third terminal) that third terminal is corresponding, and the present invention does not limit.
S104, described first presence server obtain state information corresponding to described third terminal, and state information corresponding for described third terminal is returned to described second presence server.
Receive the query messages of the second presence server transmission at the first presence server after, the first presence server obtains state information corresponding to third terminal, and state information corresponding for third terminal is returned to the second presence server.
State information corresponding for described third terminal is broadcast to other presence server described by S105, described first presence server.
After the state information that the first presence server is corresponding by third terminal returns to the second presence server, state information corresponding for third terminal can also be broadcast to other presence server by the first presence server, when the terminal belonging to other presence server to make Radix Angelicae Sinensis is to the state information that other presence server request third terminal is corresponding, other presence server can again to the state information that the first presence server request third terminal is corresponding, directly can read state information corresponding to third terminal in other presence server, and send to the terminal of the state information that request third terminal is corresponding.
You need to add is that, if described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal of acquisition is corresponding comprises the state information that described third terminal is issued;
If described first presence server does not store the state information that described third terminal is issued, the state information that the described third terminal of acquisition is corresponding comprises the descriptor of the user of described third terminal.
The embodiment of the present invention provides a kind of method of state subscription, is received the state information of the first terminal issue belonging to described first presence server by the first presence server; The state information that described first terminal is issued is broadcast to other presence server by described first presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.Pass through the program, because state information corresponding for first terminal can be broadcast to other presence server by the first presence server, to make other presence servers when other-end have subscribed state information corresponding to first terminal to the state information that other-end notice first terminal is corresponding.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 2
The embodiment of the present invention provides a kind of method of state subscription, and as shown in Figure 2, described method comprises:
S201, the second presence server receive the subscribe message of the second terminal transmission belonging to described second presence server, and described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list.
The embodiment of the present invention provides a kind of method of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.It should be noted that, the embodiment of the present invention can be applied in the scene of mutually authorizing between all terminals (as enterprise network scene), wherein, mutual mandate represents that all terminals are the relation conditions of mutual trust, any one terminal can both when directly obtaining the state of other-end without when other authorization terminal, and without the need to through subscribing to authorization rule deterministic process.
First, the second presence server receives the subscribe message of the second terminal transmission belonging to the second presence server.Wherein, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list.
S202, described second presence server receive the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast.
After the second presence server receives the subscribe message that the second terminal of belonging to the second presence server sends, the second presence server receives the state information corresponding to the first terminal belonging to the first presence server of the first presence server broadcast.
It should be noted that, second presence server receives the state information corresponding to the first terminal belonging to the first presence server of the first presence server broadcast, both can be that the state information that first terminal first time is issued is broadcast to the second presence server by the first presence server, also can be after first terminal has issued the state information after upgrading, state information after renewal is broadcast to the second presence server by the first presence server, and the present invention does not limit.
Concrete, the state information that first terminal is corresponding can comprise state information, the descriptor etc. that first terminal is corresponding that first terminal is issued, and the descriptor of the user of described first terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of first terminal (data such as the pet name, birthday, head portrait of the user of such as first terminal), first terminal.Wherein, the state information that first terminal is issued can comprise presence corresponding to first terminal (such as the first terminal whether state such as busy, idle that shows in the case of the on-line connection of online, first terminal), configuration information (individualized signature etc. that the user as first terminal is arranged on first terminal) that first terminal is corresponding, and the present invention does not limit.
It should be noted that, do not exist between step S201 and step S202 and perform relation successively, the embodiment of the present invention both first can perform step S201, and also first can perform step S202, the present invention does not limit.
S203, described second presence server when receiving state information corresponding to described first terminal and determine that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
S204, described second presence server determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal.
It should be noted that, the second presence server determines that self not storing state information corresponding to third terminal comprises two kinds of situations altogether: a kind of is that the second presence server breaks down or restarts state information corresponding to the third terminal that causes originally store and loses; Be that third terminal never issued a state information to the first presence server of ownership, therefore the first presence server also never broadcasted state information corresponding to third terminal to other presence servers.In both cases, the second presence server sends query messages to the first presence server, and query messages is for inquiring about state information corresponding to third terminal.
The state information that the described third terminal that S205, described first presence server of described second presence server reception return is corresponding.
Send after query messages to the first presence server at the second presence server, the second presence server receives state information corresponding to third terminal that the first presence server returns.
Concrete, the state information that third terminal is corresponding can comprise state information, the descriptor etc. that third terminal is corresponding that third terminal is issued, and the descriptor of the user of described third terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of third terminal (data such as the pet name, birthday, head portrait of the user of such as third terminal), third terminal.Wherein, the state information that third terminal is issued can comprise presence corresponding to third terminal (such as the third terminal whether state such as busy, idle that shows in the case of the on-line connection of online, third terminal), configuration information (individualized signature etc. that the user as third terminal is arranged on third terminal) that third terminal is corresponding, and the present invention does not limit.
You need to add is that, if described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal that described first presence server of described second presence server reception returns is corresponding comprises the state information that described third terminal is issued.
If described first presence server does not store the second presence server described in state information that described third terminal issues and receives the descriptor that state information corresponding to the described third terminal that returns of described first presence server comprise the user of described third terminal.
State information notification corresponding for described third terminal is given described second terminal by S206, described second presence server.
After the second presence server receives state information corresponding to third terminal that the first presence server returns, the state information notification of third terminal is given the second terminal by the second presence server, thus completes the subscription of the second terminal to third terminal state.
The embodiment of the present invention provides a kind of method of state subscription, the subscribe message of the second terminal transmission belonging to described second presence server is received by the second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list; Described second presence server receives the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast; Described second presence server when receiving state information corresponding to described first terminal and determine that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.By the program, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 3
The embodiment of the present invention provides a kind of method of state subscription, and as shown in Figure 3, described method comprises:
S301, first terminal issue state information to the first presence server that described first terminal is issued.
Concrete, the method that first terminal issues the state information that first terminal is issued specifically comprises first terminal issues first terminal state information by SIP.
The embodiment of the present invention provides a kind of method of state subscription, is issued state information to the first presence server of first terminal issue by first terminal, with the state information making the second terminal obtain first terminal issue.Pass through the program, because state information corresponding for first terminal can be broadcast to other presence server by the first presence server, to make other presence servers when other-end have subscribed state information corresponding to first terminal to the state information that other-end notice first terminal is corresponding.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 4
The embodiment of the present invention provides a kind of method of state subscription, and as shown in Figure 4, described method comprises:
S401, the second terminal send state subscription message to the second presence server, to make the second presence server according to state subscription message, the state information that inquiry first terminal is corresponding, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list.
Wherein, the second terminal attaching is in the second presence server.
The embodiment of the present invention provides a kind of method of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.It should be noted that, the embodiment of the present invention can be applied in the scene of mutually authorizing between all terminals (as enterprise network scene), wherein, mutual mandate represents that all terminals are the relation conditions of mutual trust, any one terminal can both when directly obtaining the state of other-end without when other authorization terminal, and without the need to through subscribing to authorization rule deterministic process.
When the second terminal request subscribes to the state of first terminal, first, second terminal needs to send state subscription message to the second presence server, to make the second presence server according to state subscription message, the state information that inquiry first terminal is corresponding, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list.
Concrete, the state information that first terminal is corresponding can comprise state information, the descriptor etc. that first terminal is corresponding that first terminal is issued, and the descriptor of the user of described first terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of first terminal (data such as the pet name, birthday, head portrait of the user of such as first terminal), first terminal.Wherein, the state information that first terminal is issued can comprise presence corresponding to first terminal (such as the first terminal whether state such as busy, idle that shows in the case of the on-line connection of online, first terminal), configuration information (individualized signature etc. that the user as first terminal is arranged on first terminal) that first terminal is corresponding, and the present invention does not limit.
S402, the second terminal receive state information corresponding to first terminal that the second presence server sends.
After the second terminal sends state subscription message to the second presence server, the second terminal receives state information corresponding to first terminal that the second presence server sends.
Concrete, the second presence server is according to state subscription message, and the process of how to inquire about state information corresponding to first terminal has been described in detail in the above-described embodiments, repeats no more herein.
The embodiment of the present invention provides a kind of method of state subscription, state subscription message to the second presence server is sent by the second terminal, to make the second presence server according to state subscription message, the state information that inquiry first terminal is corresponding, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list; Second terminal receives state information corresponding to first terminal that the second presence server sends.By the program, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 5
The embodiment of the present invention provides a kind of method of state subscription, the overall process of state subscription is specifically carried out with first terminal, and the second terminal attaching to issue state information corresponding to the second terminal to a PS in a PS, the second terminal be that example is described, as shown in Figure 5, described method comprises:
S501, the second terminal issue state information corresponding to the second terminal to a PS.
In the prior art, when terminal needs the state of subscribing to other-end, a list subscription message can be sent according to the associated person information in terminal, so just have subscribed the status message of multiple terminal simultaneously.Owing to carrying out state subscription successively between this terminal and other-end, therefore, a large amount of subscription sessions will be produced in internal system, wherein, these subscription sessions can comprise the subscription between the subscription between the PS in same website, the PS between different website, and Status Change notice.Therefore, when great amount of terminals initiates state subscription simultaneously, to the handling property of whole system and network traffic requirements very high.
The embodiment of the present invention provides a kind of method of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.It should be noted that, the realization of the embodiment of the present invention wherein, is mutually authorized and is represented that all terminals are the states of mutual trust under being based upon the condition that all terminals authorize mutually, any one terminal directly can both obtain the state of other-end, and subscribes to authorization rule deterministic process without the need to passing through.
First, the second terminal issues state information corresponding to the second terminal to a PS.
Concrete, the second terminal can by SIP periodically or state information corresponding to acyclic issue second terminal.
It should be noted that, periodically or state information corresponding to acyclic issue second terminal refer to that the second terminal can according to the preset rules of user, state information corresponding to the second terminal (such as the second terminal issued state information corresponding to second terminal every two hours) is issued in timing, or when the state information that the second terminal is corresponding occurs to upgrade, the second terminal issues state information corresponding to the second terminal again.
Concrete, state information corresponding to the second terminal can comprise descriptor etc. corresponding to state information that the second terminal issues, the second terminal, and the descriptor of the user of described second terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of the second terminal (data such as the pet name, birthday, head portrait of the such as user of the second terminal), the second terminal.Wherein, the state information that second terminal is issued can comprise configuration information (individualized signature etc. that the user as the second terminal is arranged in the second terminal) corresponding to presence corresponding to the second terminal (such as the second terminal whether state such as busy, idle of showing in the case of the on-line connection of online, the second terminal), the second terminal, and the present invention does not limit.
S502, a PS obtain state information corresponding to the second terminal.
S503, a PS store and broadcast state information corresponding to the second terminal.
Because the second terminal attaching is in a PS, therefore, after the second terminal issues state information corresponding to the second terminal a to PS, a PS obtains state information corresponding to the second terminal, stores and broadcasts state information corresponding to the second terminal.Wherein, the object that one PS broadcasts state information corresponding to the second terminal is to other PS also can be received and storing state information corresponding to the second terminal, when the state information having other-end to ask the second terminal corresponding to these PS, directly can read state information corresponding to the second terminal in this PS, and the terminal of the state information sending to request second terminal corresponding.
It should be noted that, optionally, after a PS stores and broadcasts state information corresponding to the second terminal, second terminal periodic or state information corresponding to acyclic issue second terminal, one PS can upgrade state information corresponding to described second terminal, and again broadcasting state information corresponding to described second terminal after upgrading, the present invention does not limit.
S504, first terminal send state subscription message to a PS.
When first terminal pulls subscription the state of the second terminal, first terminal sends state subscription message to a PS, to make a PS according to state subscription message, inquires about the state information that the second terminal is corresponding.
S505, a PS obtain the state subscription message that first terminal sends.
One PS obtains the state subscription message that first terminal sends, and first terminal belongs to a PS.
S506, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
After a PS obtains the state subscription message that first terminal sends, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
If the state information that second terminal that prestored in S507 the one PS is corresponding, a PS then reads state information corresponding to the second terminal be pre-stored in a PS.
If the state information that second terminal that prestored in a PS is corresponding, then illustrate that the second terminal issued state information corresponding to the second terminal to a PS, or a PS received state information corresponding to the second terminal that other PS broadcast, therefore, the state information that second terminal that prestores in one PS is corresponding, a PS directly reads state information corresponding to the second terminal be pre-stored in a PS.
S508, a PS send state information corresponding to the second terminal to first terminal.
The state information that the second terminal that S509, first terminal reception the one PS sends is corresponding.
After a PS sends the second terminal corresponding state information to first terminal, the state information that the second terminal that first terminal reception the one PS sends is corresponding.
The embodiment of the present invention provides a kind of method of state subscription, and first terminal and the second terminal are authorized mutually, issues state information corresponding to the second terminal to a PS by the second terminal; One PS obtains state information corresponding to the second terminal that the second terminal is issued; One PS stores and broadcasts state information corresponding to the second terminal; First terminal sends state subscription message to a PS; One PS obtains the state subscription message that first terminal sends; One PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding; If the state information that second terminal that prestored in a PS is corresponding, a PS then reads state information corresponding to the second terminal be pre-stored in a PS; One PS sends state information corresponding to the second terminal to first terminal; The state information that the second terminal that first terminal reception the one PS sends is corresponding.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 6
The embodiment of the present invention provides a kind of method of state subscription, the overall process of state subscription is specifically carried out with first terminal, and the second terminal attaching did not issue state information corresponding to the second terminal to a PS in a PS, the second terminal, or state information corresponding to the second terminal stored in a PS due to the situation that failure and other reasons is lost be that example is described, as shown in Figure 6, described method comprises:
S601, first terminal send state subscription message to a PS.
The embodiment of the present invention provides a kind of method of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.It should be noted that, the realization of the embodiment of the present invention wherein, is mutually authorized and is represented that all terminals are the states of mutual trust under being based upon the condition that all terminals authorize mutually, any one terminal directly can both obtain the state of other-end, and subscribes to authorization rule deterministic process without the need to passing through.
First, when first terminal pulls subscription the state of the second terminal, first terminal sends state subscription message to a PS, and to make a PS according to state subscription message, inquire about the state information that the second terminal is corresponding, wherein, first terminal belongs to a PS.
S602, a PS obtain the state subscription message that first terminal sends.
First presence server PS obtains the state subscription message that first terminal sends, and first terminal belongs to a PS.
S603, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
After a PS obtains the state subscription message that first terminal sends, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
If the state information that second terminal that do not prestore in S604 the one PS is corresponding, a PS then inquires about the ownership of the second terminal.
If the state information that second terminal that do not prestore in a PS is corresponding, then illustrate that the second terminal never issued state information corresponding to the second terminal to a PS, or a PS did not receive state information corresponding to the second terminal that other PS broadcast, or a PS stored state information corresponding to the second terminal in the past, but there is the state information loss that fault causes the second terminal of storage corresponding in a PS.Therefore, first a PS needs the ownership of inquiry second terminal.
If S605 second terminal attaching is in a PS, a PS then obtains state information corresponding to the second terminal.
If the second terminal attaching is in a PS, then illustrate that first terminal and the second terminal belong to a PS jointly, a PS obtains state information corresponding to the second terminal.
You need to add is that, if a PS there occurs fault, or PS service just starts, when the second terminal not yet issued state information, when cannot inquire the state information of the second terminal issue, a PS can only inquire user description information corresponding to the second terminal.Wherein, state information corresponding to the second terminal can comprise descriptor etc. corresponding to state information that the second terminal issues, the second terminal, and the descriptor of the user of described second terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of the second terminal (data such as the pet name, birthday, head portrait of the such as user of the second terminal), the second terminal.Wherein, the state information that the second terminal is issued can comprise configuration information (individualized signature etc. that the user as the second terminal is arranged in the second terminal) corresponding to presence corresponding to the second terminal (such as the second terminal whether state such as busy, idle of showing in the case of the on-line connection of online, the second terminal), the second terminal.
S606, a PS send state information corresponding to the second terminal to first terminal.
The state information that the second terminal that S607, first terminal reception the one PS sends is corresponding.
After a PS sends the second terminal corresponding state information to first terminal, the state information that the second terminal that first terminal reception the one PS sends is corresponding.
S608, a PS store and broadcast state information corresponding to the second terminal.
After the state information that the second terminal of first terminal reception the one PS transmission is corresponding, a PS can also store and broadcast state information corresponding to the second terminal.Wherein, the object that one PS broadcasts state information corresponding to the second terminal is to other PS also can be received and storing state information corresponding to the second terminal, when the state information having other-end to ask the second terminal corresponding to these PS, directly can read state information corresponding to the second terminal in this PS, and the terminal of the state information sending to request second terminal corresponding.
It should be noted that, step S608 just can perform after a PS inquires state information corresponding to the second terminal, and do not exist with step S606 and S607 and perform relation successively, the present invention does not limit.
The embodiment of the present invention provides a kind of method of state subscription, and first terminal and the second terminal are authorized mutually, sends state subscription message to a PS by first terminal; One PS obtains the state subscription message that first terminal sends; One PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding; If the state information that second terminal that do not prestore in a PS is corresponding, a PS then inquires about the ownership of the second terminal; If the second terminal attaching is in a PS, then a PS obtains state information corresponding to the second terminal; One PS sends state information corresponding to the second terminal to first terminal; The state information that the second terminal that first terminal reception the one PS sends is corresponding; One PS stores and broadcasts state information corresponding to the second terminal.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 7
The embodiment of the present invention provides a kind of method of state subscription, the overall process of state subscription is specifically carried out with first terminal, and the second terminal attaching to issue state information corresponding to the second terminal to the 2nd PS in the 2nd PS, the second terminal be that example is described, as shown in Figure 7, described method comprises:
S701, the second terminal issue state information corresponding to the second terminal to the 2nd PS.
The embodiment of the present invention provides a kind of method of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.It should be noted that, the realization of the embodiment of the present invention wherein, is mutually authorized and is represented that all terminals are the states of mutual trust under being based upon the condition that all terminals authorize mutually, any one terminal directly can both obtain the state of other-end, and subscribes to authorization rule deterministic process without the need to passing through.
First, the second terminal issues state information corresponding to the second terminal to the 2nd PS.
Concrete, the second terminal can by SIP periodically or state information corresponding to acyclic issue second terminal.
It should be noted that, periodically or state information corresponding to acyclic issue second terminal refer to that the second terminal can according to the preset rules of user, state information corresponding to the second terminal (such as the second terminal issued state information corresponding to second terminal every two hours) is issued in timing, or when the state information that the second terminal is corresponding occurs to upgrade, the second terminal issues state information corresponding to the second terminal.
Concrete, state information corresponding to the second terminal can comprise descriptor etc. corresponding to state information that the second terminal issues, the second terminal, and the descriptor of the user of described second terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of the second terminal (data such as the pet name, birthday, head portrait of the such as user of the second terminal), the second terminal.Wherein, the state information that second terminal is issued can comprise configuration information (individualized signature etc. that the user as the second terminal is arranged in the second terminal) corresponding to presence corresponding to the second terminal (such as the second terminal whether state such as busy, idle of showing in the case of the on-line connection of online, the second terminal), the second terminal, and the present invention does not limit.
S702, the 2nd PS obtain state information corresponding to the second terminal that the second terminal is issued.
S703, the 2nd PS store and broadcast state information corresponding to the second terminal.
Because the second terminal attaching is in the 2nd PS, therefore, after the second terminal issues state information corresponding to the second terminal to the 2nd PS, 2nd PS obtains state information corresponding to the second terminal that the second terminal is issued, store and broadcast state information corresponding to the second terminal, wherein, the object that 2nd PS broadcasts state information corresponding to the second terminal is to other PS also can be received and storing state information corresponding to the second terminal, when the state information having other-end to ask the second terminal corresponding to these PS, directly can read state information corresponding to the second terminal in this PS, and the terminal of the state information sending to request second terminal corresponding.
It should be noted that, optionally, when after the 2nd PS storage also broadcasting status messages, second terminal periodic or state information corresponding to acyclic issue second terminal, 2nd PS can more new state information, and again broadcast upgrade after state information, the present invention does not limit.
The state information that the second terminal that S704, PS acquisition the 2nd PS broadcast is corresponding.
S705, a PS store state information corresponding to the second terminal.
2nd PS broadcasts state information corresponding to the second terminal, also can obtain to make a PS and store state information corresponding to the second terminal that the second terminal issues, like this, if during the state information having other-end to ask the second terminal corresponding to a PS, directly can read state information corresponding to the second terminal in a PS, and the terminal of the state information sending to request second terminal corresponding.Without the need to the subscription authorization rule deterministic process through complexity, thus the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
S706, first terminal send state subscription message to a PS.
When first terminal pulls subscription the state of the second terminal, first terminal sends state subscription message to a PS, and to make a PS according to state subscription message, inquire about the state information that the second terminal is corresponding, wherein, first terminal belongs to a PS.
S707, a PS obtain the state subscription message that first terminal sends.
First presence server PS obtains the state subscription message that first terminal sends, and first terminal belongs to a PS.
S708, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
After a PS obtains the state subscription message that first terminal sends, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
If the state information that second terminal that prestored in S709 the one PS is corresponding, a PS then reads state information corresponding to the second terminal be pre-stored in a PS.
If the state information that second terminal that prestored in a PS is corresponding, then illustrate that the second terminal issued state information corresponding to the second terminal to a PS, or a PS received state information corresponding to the second terminal that other PS broadcast, therefore, the state information that second terminal that prestores in one PS is corresponding, a PS directly reads state information corresponding to the second terminal be pre-stored in a PS.
S710, a PS send state information corresponding to the second terminal to first terminal.
The state information that the second terminal that S711, first terminal reception the one PS sends is corresponding.
After a PS sends the second terminal corresponding state information to first terminal, the state information that the second terminal that first terminal reception the one PS sends is corresponding.
The embodiment of the present invention provides a kind of method of state subscription, and first terminal and the second terminal are authorized mutually, issues state information corresponding to the second terminal to the 2nd PS by the second terminal; 2nd PS obtains state information corresponding to the second terminal that the second terminal is issued; 2nd PS stores and broadcasts state information corresponding to the second terminal; The state information that the second terminal that one PS acquisition the 2nd PS broadcasts is corresponding; One PS stores state information corresponding to the second terminal; First terminal sends state subscription message to a PS; One PS obtains the state subscription message that first terminal sends; One PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding; If the state information that second terminal that prestored in a PS is corresponding, a PS then reads state information corresponding to the second terminal be pre-stored in a PS; One PS sends state information corresponding to the second terminal to first terminal; The state information that the second terminal that first terminal reception the one PS sends is corresponding.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 8
The embodiment of the present invention provides a kind of method of state subscription, the overall process of state subscription is specifically carried out with first terminal, and the second terminal attaching did not issue state information corresponding to the second terminal to the 2nd PS in the 2nd PS, the second terminal, or state information corresponding to the second terminal stored in a PS due to the situation that failure and other reasons is lost be that example is described, as shown in Figure 8, described method comprises:
S801, first terminal send state subscription message to a PS.
The embodiment of the present invention provides a kind of method of state subscription, and the subscription that when can reduce state subscription, internal system produces and state notifying number, reduce the pressure to system when great amount of terminals initiates state subscription simultaneously.It should be noted that, the realization of the embodiment of the present invention wherein, is mutually authorized and is represented that all terminals are the states of mutual trust under being based upon the condition that all terminals authorize mutually, any one terminal directly can both obtain the state of other-end, and subscribes to authorization rule deterministic process without the need to passing through.
First, when first terminal pulls subscription the state of the second terminal, first terminal sends state subscription message to a PS, and to make a PS according to state subscription message, inquire about the state information that the second terminal is corresponding, wherein, first terminal belongs to a PS.
S802, a PS obtain the state subscription message that first terminal sends.
First presence server PS obtains the state subscription message that first terminal sends, and first terminal belongs to a PS.
S803, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
After a PS obtains the state subscription message that first terminal sends, a PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding.
If the state information that second terminal that do not prestore in S804 the one PS is corresponding, a PS then inquires about the ownership of the second terminal.
If the state information that second terminal that do not prestore in a PS is corresponding, then illustrate that the second terminal never issued state information corresponding to the second terminal to a PS, or a PS did not receive state information corresponding to the second terminal that other PS broadcast, or a PS stored state information corresponding to the second terminal in the past, but there is the state information loss that fault causes the second terminal of storage corresponding in a PS.Therefore, first a PS needs the ownership of inquiry second terminal.
The method that one PS inquires about the ownership of the second terminal is specially a PS inquires about the second terminal ownership by tactful Policy.
If S805 second terminal attaching is in the 2nd PS, a PS then sends STATUS ENQUIRY message to the 2nd PS.
S806, the 2nd PS receive the STATUS ENQUIRY message that a PS sends.
S807, the 2nd PS according to STATUS ENQUIRY message, the state information that second terminal that judges whether to have prestored in the 2nd PS is corresponding.
After the 2nd PS receives the STATUS ENQUIRY message that a PS sends, the 2nd PS according to STATUS ENQUIRY message, the state information that second terminal that judges whether to have prestored in the 2nd PS is corresponding.
If the state information that second terminal that prestored in S808 the 2nd PS is corresponding, the 2nd PS then reads state information corresponding to the second terminal be pre-stored in the 2nd PS.
If the state information that second terminal that prestored in the 2nd PS is corresponding, then illustrate that the second terminal issued state information corresponding to the second terminal to the 2nd PS, therefore, the state information that second terminal that prestores in 2nd PS is corresponding, the 2nd PS directly reads state information corresponding to the second terminal be pre-stored in the 2nd PS.
If the state information that second terminal that do not prestore in S809 the 2nd PS is corresponding, the 2nd PS then obtains state information corresponding to the second terminal.
If the state information that second terminal that do not prestore in the 2nd PS is corresponding, then the state information not having storage second terminal corresponding in the 2nd PS is described, the 2nd PS directly cannot read state information corresponding to the second terminal.Therefore, the 2nd PS state information that needs inquiry second terminal corresponding.
You need to add is that, if a PS there occurs fault, or PS service just starts, when the second terminal not yet issued state information, when cannot inquire the state information of the second terminal issue, a PS can only inquire user description information corresponding to the second terminal.Wherein, state information corresponding to the second terminal can comprise descriptor etc. corresponding to state information that the second terminal issues, the second terminal, and the descriptor of the user of described second terminal can comprise the fix information such as geographical position, job number of user of the basic document of the user of the second terminal (data such as the pet name, birthday, head portrait of the such as user of the second terminal), the second terminal.Wherein, the state information that the second terminal is issued can comprise configuration information (individualized signature etc. that the user as the second terminal is arranged in the second terminal) corresponding to presence corresponding to the second terminal (such as the second terminal whether state such as busy, idle of showing in the case of the on-line connection of online, the second terminal), the second terminal.
S810, the 2nd PS send state information corresponding to the second terminal to a PS.
At the 2nd PS according to STATUS ENQUIRY message, after inquiring state information corresponding to the second terminal, the 2nd PS sends state information corresponding to the second terminal to a PS.
The state information that the second terminal that S811, PS reception the 2nd PS send is corresponding.
S812, a PS send state information corresponding to the second terminal to first terminal.
The state information that the second terminal that S813, first terminal reception the one PS sends is corresponding.
After a PS sends the second terminal corresponding state information to first terminal, the state information that the second terminal that first terminal reception the one PS sends is corresponding.
S814, a PS store state information corresponding to the second terminal.
After the state information that the second terminal of first terminal reception the one PS transmission is corresponding, a PS can also store state information corresponding to the second terminal.
It should be noted that, step S814 just can perform after a PS receives state information corresponding to the second terminal that the 2nd PS sends, and there is not with step S812 and S813 the relation performing priority, the present invention does not limit.
The embodiment of the present invention provides a kind of method of state subscription, sends state subscription message to a PS by first terminal; One PS obtains the state subscription message that first terminal sends; One PS according to state subscription message, the state information that second terminal that judges whether to have prestored in a PS is corresponding; If the state information that second terminal that do not prestore in a PS is corresponding, a PS then inquires about the ownership of the second terminal; If the second terminal attaching is in the 2nd PS, a PS then sends STATUS ENQUIRY message to the 2nd PS; 2nd PS receives the STATUS ENQUIRY message that a PS sends; 2nd PS according to STATUS ENQUIRY message, the state information that second terminal that judges whether to have prestored in the 2nd PS is corresponding; If the state information that second terminal that prestored in the 2nd PS is corresponding, the 2nd PS then reads state information corresponding to the second terminal be pre-stored in the 2nd PS; If the state information that second terminal that do not prestore in the 2nd PS is corresponding, the 2nd PS then obtains state information corresponding to the second terminal; 2nd PS sends state information corresponding to the second terminal to a PS; The state information that the second terminal that one PS reception the 2nd PS sends is corresponding; One PS sends state information corresponding to the second terminal to first terminal; The state information that the second terminal that first terminal reception the one PS sends is corresponding; One PS stores state information corresponding to the second terminal.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 9
The embodiment of the present invention provides a kind of first presence server, and as shown in Figure 9, described first presence server comprises receiver module 10 and broadcast module 11.
Described receiver module 10, for receiving the state information of the first terminal issue belonging to described first presence server, and the status information transmission issued by described first terminal is to described broadcast module.
Described broadcast module 11, for receiving the state information that described first terminal is issued from described receiver module 10, and the state information that described first terminal is issued is broadcast to other presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
Further, described receiver module 10, also for receiving the query messages that described second presence server sends, described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server.
As shown in Figure 10, described first presence server also comprises:
Processing module 12, for obtaining state information corresponding to described third terminal, and returns to described second presence server by state information corresponding for described third terminal.
Described broadcast module 11, also for after described processing module 12 gets state information corresponding to described third terminal, is broadcast to other presence server described by state information corresponding for described third terminal.
Further, if described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the state information that described third terminal is issued.
If described first presence server does not store the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the descriptor of the user of described third terminal.
The embodiment of the present invention provides a kind of first presence server, and described first presence server comprises receiver module and broadcast module, described receiver module, for receiving the state information of the first terminal issue belonging to described first presence server, and the status information transmission issued by described first terminal is to described broadcast module, described broadcast module, for receiving the state information that described first terminal is issued from described receiver module, and the state information that described first terminal is issued is broadcast to other presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.Pass through the program, because the state information of first terminal can be broadcast to other presence server by the first presence server, with the state information making other presence servers notify described first terminal to other-end when other-end have subscribed the state information of described first terminal.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 10
The embodiment of the present invention provides a kind of second presence server, and as shown in figure 11, described second presence server comprises receiver module 20 and sending module 21.
Described receiver module 20, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list, and for receiving the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast.
Described sending module 21, during for receiving state information corresponding to described first terminal at described receiver module 20 and determining that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
Further, described sending module 21, also for receive at described receiver module 20 belong to described second presence server described second terminal send subscribe message after, determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal.
Described receiver module 20, also for receiving state information corresponding to described third terminal that described first presence server returns.
Described sending module 21, also for after receive state information corresponding to described third terminal that described first presence server returns at described receiver module 20, gives described second terminal by state information notification corresponding for described third terminal.
The embodiment of the present invention provides a kind of second presence server, and described second presence server comprises receiver module and sending module; Described receiver module, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list, and for receiving the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast; Described sending module, during for receiving state information corresponding to described first terminal at described receiver module and determining that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 11
The embodiment of the present invention provides a kind of first terminal, and as shown in figure 12, described first terminal comprises sending module 30.
Sending module 30, for issuing state information to the first presence server that described first terminal is issued.
The embodiment of the present invention provides a kind of first terminal, and described first terminal comprises sending module, for issuing state information to the first presence server that described first terminal is issued, with the state information making the second terminal obtain the issue of described first terminal.Pass through the program, because the state information of first terminal can be broadcast to other presence server by the first presence server, with the state information making other presence servers notify described first terminal to other-end when other-end have subscribed the state information of described first terminal.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 12
The embodiment of the present invention provides a kind of second terminal, and as shown in figure 13, described second terminal comprises sending module 40 and receiver module 41.
Described sending module 40, for sending state subscription message to the second presence server, to make the second presence server according to state subscription message, the state information that inquiry first terminal is corresponding, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list.
Described receiver module 41, the state information that the first terminal for receiving the second presence server transmission is corresponding.
The embodiment of the present invention provides a kind of second terminal, and described second terminal comprises sending module and receiver module; Described sending module, for sending state subscription message to the second presence server, to make the second presence server according to state subscription message, the state information that inquiry first terminal is corresponding, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list; Described receiver module, the state information that the first terminal for receiving the second presence server transmission is corresponding.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 13
The embodiment of the present invention provides a kind of first presence server, and as shown in figure 14, described first presence server comprises receiver 50 and transmitter 51.
Described receiver 50, for receiving the state information of the first terminal issue belonging to described first presence server, and the status information transmission issued by described first terminal is to described broadcast module.
Described transmitter 51, for receiving the state information that described first terminal is issued from described receiver 50, and the state information that described first terminal is issued is broadcast to other presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
Further, described receiver 50, also for receiving the query messages that described second presence server sends, described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server.
As shown in figure 15, described first presence server also comprises:
Processor 52, for obtaining state information corresponding to described third terminal, and returns to described second presence server by state information corresponding for described third terminal.
Described transmitter 51, also for after described processor 52 gets state information corresponding to described third terminal, is broadcast to other presence server described by state information corresponding for described third terminal.
Further, if described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the state information that described third terminal is issued.
If described first presence server does not store the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the descriptor of the user of described third terminal.
The embodiment of the present invention provides a kind of first presence server, and described first presence server comprises receiver and transmitter, described receiver, for receiving the state information of the first terminal issue belonging to described first presence server, and the status information transmission issued by described first terminal is to described broadcast module, described transmitter, for receiving the state information that described first terminal is issued from described receiver 50, and the state information that described first terminal is issued is broadcast to other presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.Pass through the program, because the state information of first terminal can be broadcast to other presence server by the first presence server, with the state information making other presence servers notify described first terminal to other-end when other-end have subscribed the state information of described first terminal.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 14
The embodiment of the present invention provides a kind of second presence server, and as shown in figure 16, described second presence server comprises receiver 60 and transmitter 61.
Described receiver 60, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list, and for receiving the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast.
Described transmitter 61, during for receiving state information corresponding to described first terminal at described receiver 60 and determining that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
Further, described transmitter 61, also for receive at described receiver 60 belong to described second presence server described second terminal send subscribe message after, determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal.
Described receiver 60, also for receiving state information corresponding to described third terminal that described first presence server returns.
Described transmitter 61, also for after receive state information corresponding to described third terminal that described first presence server returns at described receiver 60, gives described second terminal by state information notification corresponding for described third terminal.
The embodiment of the present invention provides a kind of second presence server, and described second presence server comprises receiver and transmitter; Described receiver, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list, and for receiving the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast; Described transmitter, during for receiving state information corresponding to described first terminal at described receiver and determining that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 15
The embodiment of the present invention provides a kind of first terminal, and as shown in figure 17, described first terminal comprises transmitter 70.
Transmitter 70, for issuing state information to the first presence server that described first terminal is issued.
The embodiment of the present invention provides a kind of first terminal, and described first terminal comprises transmitter, for issuing state information to the first presence server that described first terminal is issued, with the state information making the second terminal obtain the issue of described first terminal.Pass through the program, because the state information of first terminal can be broadcast to other presence server by the first presence server, with the state information making other presence servers notify described first terminal to other-end when other-end have subscribed the state information of described first terminal.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 16
The embodiment of the present invention provides a kind of second terminal, and as shown in figure 18, described second terminal comprises transmitter 80 and receiver 81.
Described transmitter 80, for sending state subscription message to the second presence server, to make the second presence server according to state subscription message, the state information that inquiry first terminal is corresponding, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list.
Described receiver 81, the state information that the first terminal for receiving the second presence server transmission is corresponding.
The embodiment of the present invention provides a kind of second terminal, and described second terminal comprises transmitter and receiver; Described transmitter, for sending state subscription message to the second presence server, to make the second presence server according to state subscription message, the state information that inquiry first terminal is corresponding, subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in contacts list; Described receiver, the state information that the first terminal for receiving the second presence server transmission is corresponding.By the program, the subscription that when can reduce state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Embodiment 17
The embodiment of the present invention provides a kind of system of state subscription, comprises the first presence server and the second presence server.
Described first presence server, for receiving the state information of the first terminal issue belonging to described first presence server; Described state information is broadcast to other presence server, other presence server described comprises described second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
Described second presence server, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list; Receive the state information that the first terminal belonging to described first presence server of described first presence server broadcast is corresponding; When receiving state information corresponding to described first terminal and determine that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
Further, described first presence server, also for receiving the query messages that described second presence server sends, described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server; Obtain the state information that described third terminal is corresponding, and state information corresponding for described third terminal is returned to described second presence server; State information corresponding for described third terminal is broadcast to other presence server described.
Described second presence server, also for determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal; Receive the state information that described third terminal that described first presence server returns is corresponding; Described second terminal is given by state information notification corresponding for described third terminal.
The embodiment of the present invention provides a kind of system of state subscription, and the system of described state subscription comprises the first presence server and the second presence server.Pass through the program, because the state information of first terminal can be broadcast to other presence server by the first presence server, with the state information making other presence servers notify described first terminal to other-end when other-end have subscribed the state information of described first terminal.Therefore, the subscription that when decreasing state subscription, internal system produces and state notifying number, and then reduce the pressure when great amount of terminals initiates state subscription simultaneously to system.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (12)

1. a method for state subscription, is characterized in that, described method comprises:
First presence server receives the state information of the first terminal issue belonging to described first presence server;
The state information that described first terminal is issued is broadcast to other presence server by described first presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
2. the method for state subscription according to claim 1, is characterized in that, described method also comprises:
Described first presence server receives the query messages that described second presence server sends, and described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server;
Described first presence server obtains state information corresponding to described third terminal, and state information corresponding for described third terminal is returned to described second presence server;
State information corresponding for described third terminal is broadcast to other presence server described by described first presence server.
3. the method for state subscription according to claim 2, is characterized in that,
If described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal of acquisition is corresponding comprises the state information that described third terminal is issued;
If described first presence server does not store the state information that described third terminal is issued, the state information that the described third terminal of acquisition is corresponding comprises the descriptor of the user of described third terminal.
4. a method for state subscription, is characterized in that, described method comprises:
Second presence server receives the subscribe message of the second terminal transmission belonging to described second presence server, and described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list;
Described second presence server receives the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast;
Described second presence server when receiving state information corresponding to described first terminal and determine that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
5. the method for state subscription according to claim 4, is characterized in that, after described second presence server receives the subscribe message of the described second terminal transmission belonging to described second presence server, described method also comprises:
Described second presence server determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal;
The state information that the described third terminal that described first presence server of described second presence server reception returns is corresponding;
State information notification corresponding for described third terminal is given described second terminal by described second presence server.
6. first presence server, is characterized in that, comprising: receiver module and broadcast module;
Described receiver module, for receiving the state information of the first terminal issue belonging to described first presence server, and the status information transmission issued by described first terminal is to described broadcast module;
Described broadcast module, for receiving the state information that described first terminal is issued from described receiver module, and the state information that described first terminal is issued is broadcast to other presence server, other presence server described comprises the second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued.
7. the first presence server according to claim 6, is characterized in that,
Described receiver module, also for receiving the query messages that described second presence server sends, described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server;
Described first presence server also comprises:
Processing module, for obtaining state information corresponding to described third terminal, and returns to described second presence server by state information corresponding for described third terminal;
Described broadcast module, also for after getting state information corresponding to described third terminal in described processing module, is broadcast to other presence server described by state information corresponding for described third terminal.
8. the first presence server according to claim 7, is characterized in that,
If described first presence server stores the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the state information that described third terminal is issued;
If described first presence server does not store the state information that described third terminal is issued, the state information that the described third terminal that described processing module obtains is corresponding comprises the descriptor of the user of described third terminal.
9. second presence server, is characterized in that, comprising: receiver module and sending module;
Described receiver module, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list, and for receiving the state information corresponding to the first terminal belonging to described first presence server of described first presence server broadcast;
Described sending module, during for receiving state information corresponding to described first terminal at described receiver module and determining that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
10. the second presence server according to claim 9, is characterized in that,
Described sending module, also for receive at described receiver module belong to described second presence server described second terminal send subscribe message after, determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal;
Described receiver module, also for receiving state information corresponding to described third terminal that described first presence server returns;
Described sending module, also for after receive state information corresponding to described third terminal that described first presence server returns at described receiver module, gives described second terminal by state information notification corresponding for described third terminal.
The system of 11. 1 kinds of state subscriptions, is characterized in that, comprising:
First presence server and the second presence server;
Described first presence server, for receiving the state information of the first terminal issue belonging to described first presence server; Described state information is broadcast to other presence server, other presence server described comprises described second presence server, so that described second presence server when the state information that the described first terminal of the second terminal subscribes belonging to described second presence server is corresponding to the state information that first terminal described in described second terminal notification is corresponding, the state information that described first terminal is corresponding comprises the state information that described first terminal is issued;
Described second presence server, for receiving the subscribe message of the second terminal transmission belonging to described second presence server, described subscribe message comprises the mark of contacts list, for subscribing to the state information of the contact person in described contacts list; Receive the state information that the first terminal belonging to described first presence server of described first presence server broadcast is corresponding; When receiving state information corresponding to described first terminal and determine that described first terminal is the terminal of contact person in described contacts list, to the state information that first terminal described in described second terminal notification is corresponding.
The system of 12. state subscriptions according to claim 11, is characterized in that,
Described first presence server, also for receiving the query messages that described second presence server sends, described query messages is for inquiring about state information corresponding to the third terminal that belongs to described first presence server; Obtain the state information that described third terminal is corresponding, and state information corresponding for described third terminal is returned to described second presence server; State information corresponding for described third terminal is broadcast to other presence server described;
Described second presence server, also for determine third terminal be contact person in described contacts list terminal, self do not store state information corresponding to described third terminal and determine that described third terminal belongs to described first presence server time, send query messages to described first presence server, described query messages is for inquiring about state information corresponding to described third terminal; Receive the state information that described third terminal that described first presence server returns is corresponding; Described second terminal is given by state information notification corresponding for described third terminal.
CN201410043520.0A 2014-01-29 2014-01-29 State subscription method, device and system Withdrawn CN104811320A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410043520.0A CN104811320A (en) 2014-01-29 2014-01-29 State subscription method, device and system
PCT/CN2014/088957 WO2015113409A1 (en) 2014-01-29 2014-10-20 Method, apparatus and system for state subscription

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410043520.0A CN104811320A (en) 2014-01-29 2014-01-29 State subscription method, device and system

Publications (1)

Publication Number Publication Date
CN104811320A true CN104811320A (en) 2015-07-29

Family

ID=53695835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410043520.0A Withdrawn CN104811320A (en) 2014-01-29 2014-01-29 State subscription method, device and system

Country Status (2)

Country Link
CN (1) CN104811320A (en)
WO (1) WO2015113409A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453067A (en) * 2016-12-09 2017-02-22 Tcl集团股份有限公司 Method and system for displaying friend login states in instant messaging tool
WO2017092492A1 (en) * 2015-12-02 2017-06-08 中兴通讯股份有限公司 Presence state notification method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100341347C (en) * 2004-04-30 2007-10-03 华为技术有限公司 Subscribing, cancelling and state updating method for attendance service
CN101159910B (en) * 2007-10-30 2012-07-04 中兴通讯股份有限公司 Synchronous present state method and cluster server and terminal for implementing the method
JP5193902B2 (en) * 2009-02-25 2013-05-08 日本電信電話株式会社 Presence service system and presence service method
CN101631140B (en) * 2009-08-03 2012-09-26 中兴通讯股份有限公司 Cluster server of instant communication system and method of inter-clusters communication

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017092492A1 (en) * 2015-12-02 2017-06-08 中兴通讯股份有限公司 Presence state notification method and device
CN106817400A (en) * 2015-12-02 2017-06-09 中兴通讯股份有限公司 One kind is presented state notice method and device
CN106817400B (en) * 2015-12-02 2020-05-12 中兴通讯股份有限公司 Method and device for notifying presence state
CN106453067A (en) * 2016-12-09 2017-02-22 Tcl集团股份有限公司 Method and system for displaying friend login states in instant messaging tool

Also Published As

Publication number Publication date
WO2015113409A1 (en) 2015-08-06

Similar Documents

Publication Publication Date Title
CN109089168B (en) Video sharing method, device and system and storage medium
CN102027764B (en) Method, system, and apparatus for access of network services using subscriber identities
EP2800302B1 (en) Method, device and system for determining a policy and charging rule function
CA2770138C (en) Cluster server of an instant messaging system and messaging method between clusters
US8155672B2 (en) Scalable geo-location event processing
CN105827694B (en) Method and device for acquiring network resources
EP2854431B1 (en) Device, method and mobile terminal for updating mobile social network user state
CN102638586A (en) Sharing method, system and device for application program information
CN101821991B (en) Method and system for managing user preference profiles in network
CN101827309A (en) Method, terminal, server and system for sending push massage
CN104426728A (en) Communications device utilizing a central discovery mechanism, and respective method
CN104954492A (en) Instant messaging method, distribution server, user terminals and instant messaging system
CA2570569A1 (en) System and method for optimizing inter-domain event services
KR20190033589A (en) Method, apparatus and system for notification
CN104717527A (en) Video transmission method and video transmission device
CN104380692A (en) Advertising monitoring method, related equipment and system
CN104335198A (en) Server and method for managing access of terminal to connection blocked resource and terminal
CN102651713A (en) Method, device and system for managing user group members
US20150180723A1 (en) Method and system for brokering between devices and network services
CN104811320A (en) State subscription method, device and system
JP6572324B2 (en) Method and device for associating a user with a group
CN105099802A (en) Traffic identification method, terminal, and network element equipment
CN102209313A (en) Presence information subscribing method and system, resource list server and presence server
WO2019201111A1 (en) Information processing method, apparatus and device, and computer-readable storage medium
CN101753561A (en) Business cluster processing method and cluster system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20150729