CN103747014B - A kind of acquisition methods of User Status and service agent server - Google Patents
A kind of acquisition methods of User Status and service agent server Download PDFInfo
- Publication number
- CN103747014B CN103747014B CN201410035865.1A CN201410035865A CN103747014B CN 103747014 B CN103747014 B CN 103747014B CN 201410035865 A CN201410035865 A CN 201410035865A CN 103747014 B CN103747014 B CN 103747014B
- Authority
- CN
- China
- Prior art keywords
- concern
- event
- state
- service agent
- agent server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a kind of acquisition methods of User Status and service agent server, for making concern side that can easily get notice when interested specific user's state occurs.Present invention method includes:Service agent server receives the event subscription information that concern terminal is sent, and concern terminal is operated by concern side, and event subscription information includes:The concern event of concern side's request monitoring, concern event are corresponding with the interested specific user's state in concern side;Service agent server establishes the relation chain of concern side and specific user's state according to event subscription information, and stores relation chain;Service agent server monitors the event update state for paying close attention to event in real time;When the corresponding specific user's state of concern event occurs, service agent server is according to relationship chain query to the interested concern terminal of specific user's state of appearance;Specific user's state of appearance is sent to the concern terminal inquired by relation chain by service agent server.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of acquisition methods of User Status and service agent services
Device.
Background technology
At present, game user is fitted with software game in electronic device, computer, portable equipment and handheld terminal
Using multiple game users also like networked with one another log on to complete some Mission Objective in same game jointly, and more
Also like exchanging mutually during game is played between a game user, it will usually set up a chatroom to learn from each other by exchanging views each trip
The time of the playing method of play task and artificial agreement login next time plays game jointly.
It oneself is then made a speech into chatroom respectively by each game user in existing chat about games room, works as game
When number of members in chatroom is very huge, a game user be difficult from huge number of members find oneself it is interested certain
A game user, and when oneself some interested game user can reach the standard grade and oneself can only also be arranged according to game member
Table determines whether the game user has reached the standard grade to find one by one, this makes troubles to the interaction between game user.And by
All it is independent individual between each game user, a game user with the higher game user of player levels in order to chatting
It also can only obtain the higher game user of these grades with learning game experience by game member's list to search one by one,
The prior art can not meet the interactive needs of game user and other game users in the case of this.
Invention content
An embodiment of the present invention provides a kind of acquisition methods of User Status and service agent server, for making concern side
Notice when interested specific user's state occurs can be easily got, consequently facilitating mutual between game user
It is dynamic.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of acquisition methods of User Status, including:
Service agent server receives the event subscription information that concern terminal is sent, and the concern terminal is grasped by concern side
Make, the event subscription information includes:The concern event of concern side's request monitoring, the concern event are corresponding with the pass
The interested specific user's state in note side;
The service agent server establishes the concern side and specific user's shape according to the event subscription information
The relation chain of state, and store the relation chain;
The service agent server monitors the event update state of the concern event in real time;
When the corresponding specific user's state of the concern event occurs, the service agent server is according to the relationship
Chain query is to the interested concern terminal of specific user's state of appearance;
Specific user's state of the appearance is sent to and is inquired by the relation chain by the service agent server
Concern terminal.
Second aspect, the embodiment of the present invention also provide a kind of service agent server, including:
Information receiving module, for receiving the event subscription information that concern terminal is sent, the concern terminal is by concern side
Operation, the event subscription information include:The concern event of concern side's request monitoring, the concern event is corresponding with described
The interested specific user's state in concern side;
Relation chain maintenance module, for establishing the concern side and specific user's shape according to the event subscription information
The relation chain of state, and store the relation chain;
Event monitoring module is monitored in real time for the event update state to the concern event;
Relation chain enquiry module, for when the corresponding specific user's state of the concern event occurs, according to the pass
Tethers is inquired to the interested concern terminal of specific user's state of appearance;
User Status sending module, for being sent to specific user's state of the appearance by the relationship chain query
The concern terminal gone out.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In embodiments of the present invention, concern side can be generated by paying close attention to the interested specific user's state of terminal-pair oneself
The concern event of requested service proxy server monitoring, and concern event is carried and is taken in event subscription information to service agent
Business device is sent, and service agent server establishes the relationship of concern side and specific user's state after event subscription information is received
Chain, and the relation chain is stored, following service agent server monitors the event update state for paying close attention to event in real time,
In the case that the corresponding specific user's state of concern event occurs, service agent server is according to relationship chain query to the use of appearance
Specific user's state of appearance finally by service agent server is sent to and passes through relationship by the interested concern terminal of family state
The concern terminal of chain query.Since specific user's state that service agent server can send appearance gives concern terminal, concern
Side can get notice when the interested specific user's state in concern side occurs by paying close attention to terminal.For example, work as
When concern side is game user, game user can easily get oneself interested specific user's state, such as swim
Oneself some interested game user or player levels can be reached specific rank as specific user's state by play user, then
Service agent server can notify game user when these specific user's states occur, and game user can be direct
Interaction between the realization of active and other game users, it is convenient without being searched one by one according still further to game member's list
In the use of game user.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those skilled in the art, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of process blocks schematic diagram of the acquisition methods of User Status provided in an embodiment of the present invention;
Fig. 2 is the process blocks schematic diagram of the acquisition methods of another User Status provided in an embodiment of the present invention;
Fig. 3-a are the system architecture schematic diagram of the acquisition methods of User Status in the embodiment of the present invention;
What is set when Fig. 3-b play for attention location system provided in an embodiment of the present invention applied to legion by concern side is specific
The realization method schematic diagram of User Status;
Fig. 3-c occur for concern side provided in an embodiment of the present invention by paying close attention to terminal and responding service agent server and send
Specific user's state realization method schematic diagram;
Fig. 4-a are a kind of composition structure diagram of service agent server provided in an embodiment of the present invention;
Fig. 4-b are the composition structure diagram of another service agent server provided in an embodiment of the present invention;
Fig. 4-c are a kind of composition structure diagram of event monitoring module provided in an embodiment of the present invention;
Fig. 4-d are the composition structure diagram of another service agent server provided in an embodiment of the present invention;
Fig. 4-e are the composition structure diagram of another service agent server provided in an embodiment of the present invention;
Fig. 5 is that the acquisition methods of User Status provided in an embodiment of the present invention are applied to the another kind of service agent server
Form structure diagram.
Specific embodiment
An embodiment of the present invention provides a kind of acquisition methods of User Status and service agent server, for making concern side
Notice when interested specific user's state occurs can be easily got, consequently facilitating mutual between game user
It is dynamic.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that disclosed below
Embodiment be only part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, this field
Technical staff's all other embodiments obtained, shall fall within the protection scope of the present invention.
Term " comprising " and " having " in description and claims of this specification and above-mentioned attached drawing and they
Any deformation, it is intended that cover it is non-exclusive include, so as to a series of process comprising units, method, system, product or set
It is standby to be not necessarily limited to those units, but may include not listing clearly or these processes, method, product or equipment are consolidated
The other units having.
It is described in detail separately below.
One embodiment of the acquisition methods of User Status of the present invention can include:Service agent server receives concern
The event subscription information that terminal is sent, concern terminal are operated by concern side, and above-mentioned event subscription information includes:Concern side's request prison
The concern event of survey, concern event are corresponding with the interested specific user's state in concern side;Service agent server is according to event
Subscription information establishes the relation chain of concern side and specific user's state, and stores above-mentioned relation chain;Service agent server is to closing
The event update state of note event is monitored in real time;When the corresponding specific user's state of concern event occurs, service agent
Server is according to above-mentioned relation chain query to the interested concern terminal of specific user's state of appearance;Service agent server will
Specific user's state of appearance is sent to the concern terminal inquired by relation chain.
Refering to Figure 1, the acquisition methods of User Status provided by one embodiment of the present invention, can specifically be included such as
Lower step:
101st, service agent server receives the event subscription information that concern terminal is sent.
Wherein, concern terminal is operated by concern side, and above-mentioned event subscription information includes:The concern thing of concern side's request monitoring
Part, concern event are corresponding with the interested specific user's state in concern side.
In embodiments of the present invention, service agent server is used to carry out service management, business to the terminal of user's operation
The terminal of proxy server management is operated respectively by each user, and service agent server monitors just the User Status of user
It is that the state of the terminal of user's operation is monitored, that is to say, that User Status is embodied by the terminal of user's operation.
Concern side and the side of being concerned can be divided into for user, wherein, " concern side " refers to the user of initiated event subscription information,
Being referred to as " concern terminal " in the terminal embodiment of the present invention operated by the side of concern, then correspondingly, by the user as concern side
The user being concerned about is referred to as " side of being concerned ", is referred to as " to be concerned in the terminal embodiment of the present invention operated by the side of being concerned
In terminal ", the i.e. embodiment of the present invention in contrast concern side and the side of being concerned all are.It is illustrated below:Service agent takes
Device be engaged in 4 users' progress service management, is user A, user B, user C, user D respectively, is eventually by the user A terminals operated
A is held, is terminal B by the user B terminals operated, is terminal C by the user C terminals operated, be terminal by the user D terminals operated
D, wherein, if user A is used as concern side, user A sends event subscription information by terminal A to service agent server, if
User A is interested in specific user's state of user B, then user B can be the side of being concerned, for another example, if user B is as pass
Note side sends event subscription information, if specific user state senses of the user B to user A by terminal B to service agent server
Interest, then user A can be the side of being concerned.
It should be noted that in embodiments of the present invention, concern side can be by paying close attention to the interested spy of terminal-pair oneself
Determine the concern event of User Status generation requested service proxy server monitoring, and concern event is carried in event subscription information
It is middle to be sent to service agent server, for concern side, in the event subscription information that concern side is generated by paying close attention to terminal
Include the concern event of requested service proxy server monitoring, and pay close attention to event and the interested specific user's shape in concern side
State is corresponding, then this correspondence is included there are many realization method, for example, concern event can only corresponding concern side it is interested
Specific user's state, such as concern event A corresponds to the interested User Status a in concern side, in addition, one is paid close attention to thing
Part can also be corresponding with the interested multiple specific user's states in concern side, for example, concern event B is interested corresponding to concern side
User Status b1, User Status b2, User Status b3.And the event subscription information that the side of concern generates in the embodiment of the present invention
In can only include a concern event, multiple concern events can also be included.In addition, in the embodiment of the present invention, service agent
Server can manage multiple concern sides, and each concern side can be by the concern terminal that oneself is operated to service agent service
Device sends event subscription information, and the corresponding specific user's state of event subscription information that each concern side is sent can phase
Together, it can also be different, be illustrated below:
As a citing, more than concern side, pay close attention to event and specific user's state concrete condition can be as follows
Shown in table 1:
Based on upper table 1, can know, the concern side of service agent server admin there are 3, is concern side 1 respectively, closes
Note side 2, concern side 3, and each concern side operates the concern terminal of oneself.It is wrapped in the event subscription information that concern terminal 1 is sent
Concern event 1 is included, concern event 1 is corresponding with 1 interested User Status e of concern side, the event subscription that concern terminal 2 is sent
Include concern event 2-a and concern event 2-b in information, concern event 2-a is corresponding with 2 interested User Status of concern side
F, concern event 2-b are corresponding with 2 interested User Status g and User Status h of concern side, and the event that concern terminal 3 is sent is ordered
It reads and includes concern event 3-a and concern event 3-b in information, concern event 3-a is corresponding with 3 interested user's shape of concern side
State e and User Status n, concern event 3-b are corresponding with 3 interested User Status p and User Status q of concern side.It needs to illustrate
, in the embodiment of the present invention concern side of service agent server admin can only there are one, there are two or it is more than two
It is possible, is not limited to its specific number.In addition, the concern event that the event subscription information that a concern side is sent includes
Number and the number of the corresponding specific user's state of each concern event do not limit, and multiple concern sides are sent out respectively
The event subscription information sent can be and meanwhile offer, can also provide in batches, to this embodiment of the present invention also not limit.
It should be noted that the interested specific user's state in concern side does not imply that the use of oneself in the embodiment of the present invention
Family state, but concern side generates event in order to know the User Status of other users of service agent server admin
Subscription information, because the concern terminal that concern side is operated by oneself can learn the User Status of oneself, and the side of concern
User Status to oneself is known, without bringing the User Status of oneself into concern event corresponding specific user's shape
In state, herein for illustrative purposes only.
In addition, specific user's state refers to the service agent server pipe interested to concern side in the embodiment of the present invention
The User Status of other users of reason, specific user's state can set specific user's shape according to the point of interest of concern side oneself
State can specifically set specific user's state, can also set multiple specific user's states, and User Status is specific
Content is depended in the attribute of service agent server in the embodiment of the present invention, the attribute for paying close attention to terminal and specific business
Hold, there are many specific implementations, it should set with reference to specific application scenarios, not limit herein.It illustrates such as
Under:When service agent server and concern side are applied in field of play, i.e. service agent server and concern terminal is specific
During for the processing of game service, concern can be with for game user, and for different game users, its is interested
Specific user's state can also be different, reach the standard grade for example, specific user's state can be set as game by game user, also may be used
To be set as specific user's state to initiate call-up, specific user's state can also be set as playing offline, can also incited somebody to action
Specific user's state is set as chat speech, can also specific user's state be arranged for chatroom, can also will be specific
User Status is set as military rank grade more than teacher etc., and the setting of specific specific user's state needs to combine specific application
Scene is set, in addition, concern side can also set multiple specific user's states to correspond to concern event, still with business generation
For reason server and concern terminal are specifically used for the processing of game service, game user can concurrently set two specific use
Family state, i.e. specific user's state be set as initiate call-up, specific user's state for military rank grade more than teacher, this
In the case of, game user as interested to concern side be exactly military rank grade more than teacher and initiate call-up.
It should be noted that concern side asks industry by paying close attention to the event subscription information that terminal generates in addition to including the side of concern
It is engaged in outside the concern event of proxy server monitoring, in some embodiments of the invention, event subscription information can also include closing
The interested side of being concerned of note side then pays close attention to event and is corresponding with the interested specific user's state in concern side, can specifically refer to
It is:Concern event is corresponding with specific user's state of the interested side of being concerned of concern side, i.e. concern side is ordered in the event of generation
Read the specific user's state for including the interested side of being concerned of concern side and the side of being concerned in information.But this is this
The realization method of some embodiments of invention, but be not all to include to be closed in all event subscription information that concern side generates
Note side, for example, when service agent server and concern terminal are used for field of play, concern side is used as game user, then plays
User can only carry concern event in event subscription information, and pay close attention to event to be corresponding with game user interested specific
User Status, specific user's state are set as player rank more than prime minister, i.e., game user is used as concern side, it is of interest that
Game user of the player rank more than prime minister, it can be seen that concern side does not need to take to service agent in this case
The interested side of being concerned of the concern side is carried in the event subscription information that business device is sent, then service agent server can root
According to specific user's state user of the player rank more than prime minister is searched from self-administered all users.This embodiment
Concern side be can be applied in the User Identity number for not knowing oneself interested side of being concerned(Identity, ID)Feelings
The concern to oneself interested side of being concerned is realized under condition, in addition can be used for concern side is not for some specific quilt
Concern side but only focus on the side of being concerned specific user's state scene in.For example, when service agent server and concern side
During applied in field of play, i.e., when service agent server and concern terminal are specifically used for the processing to game service, concern
It can be with for game user, the player levels of the game user have reached martial arts circles leader, then interested to the game user
May not be the game player that some is specified, it may be the palm that player levels have reached each factions that game user is interested
Door people's rank game user, then the side of concern specific user's state can be set as to the person in charge of each factions, then work as business
In all game users of proxy server management, with continuous " practice " of each game user, such as the game user having
When its player levels reaches person in charge's identity after getting some martial arts circles's treasured books and practising austerities, these game users are exactly concern side
Want the side of being concerned of concern, it will be apparent that, concern side does not need to carry oneself in event subscription information interested at this time
The side of being concerned.It is merely illustrative herein, is not intended as the restriction of the embodiment of the present invention.
102nd, service agent server establishes the relation chain of concern side and specific user's state according to event subscription information, and
Store above-mentioned relation chain.
In embodiments of the present invention, when service agent server receive concern terminal send event subscription information it
Afterwards, service agent server can ask the concern event of monitoring by event subscription acquisition of information to concern side, and lead to
It crosses the concern event and gets the interested specific user's state in concern side, by service agent server according to event subscription information
The relation chain between concern side and specific user's state is established, and the relation chain of foundation is stored.
Wherein, in the embodiment of the present invention, relation chain refers to concern side and the specific user of service agent server foundation
The incidence relation of state can get the interested specific user's shape in the concern side by the relation chain according to concern side
State can also be got to the interested concern side of specific user's state certainly by relation chain according to specific user's state.
It should be noted that it in embodiments of the present invention, is sent when service agent server receives multiple concern terminals
Event subscription information when, if the concern event that each event subscription information includes is corresponding with identical specific user's state
When, proxy server can be got interested in specific user's state by relation chain according to specific user's state
Multiple concern sides.
It should be noted that in embodiments of the present invention, service agent server is establishing concern side and specific user
After the relation chain of state, the service agent server storage relation chain is specifically possibly stored to the service agent server of oneself
In data memory module in, service agent server can also store relation chain in relation chain data storage, in industry
Business proxy server needs to read from relation chain data storage using during the relation chain.
It should be noted that in some embodiments of the invention, when service agent server storage relationship in step 102
After chain, it can also include the following steps:
What A1, service agent server reception concern terminal were sent unsubscribes information, wherein, unsubscribe packet
It includes:What concern side determined needs not continue to the concern event of monitoring;
A2, service agent server according to unsubscribe information deletion concern side and need not continue to monitoring concern event
The relation chain of corresponding specific user's state.
That is, in the embodiment of the present invention, concern side can send event subscription information by paying close attention to terminal, work as concern
When Fang Zhongyou needs not continue to the concern event of monitoring, it can also be sent out from concern side by paying close attention to terminal to service agent server
Send and unsubscribe information, then in step A1 service agent server can receive concern terminal send unsubscribe letter
Breath, then service agent server execution step A2 is according to the pass for unsubscribing information deletion concern side with needing not continue to monitoring
The relation chain of the corresponding specific user's state of note event, so as to realize concern side to paying close attention to the subscription at any time of event and taking
Disappear, and when concern side needs to be modified to having subscribed to concern event, it can also be by concern side by paying close attention to terminal weight
Event subscription information newly is sent to service agent server, so as to realize at any time change of the concern side to concern event,
So as to greatly facilitate real-time concern of the concern side to specific user's state.Service agent server is deleted in step A2
During relation chain, if the service agent server storage relation chain is to the data memory module in the service agent server of oneself
In, then service agent server can will need the relation chain deleted delete from data memory module, without with it is outer
The other entities in boundary interact, if service agent server stores relation chain into relation chain data storage, in business
Proxy server can will need the relation chain deleted to delete when needing to delete the relation chain from relation chain data storage
Fall.
103rd, service agent server monitors the event update state for paying close attention to event in real time.
In embodiments of the present invention, service agent server gets the determining needs in concern side from event subscription information
After the concern event of monitoring, service agent server can supervise the event update state of the concern event in real time
Survey, wherein the event update state of concern event refers to the event change situation of concern event, by service agent server Lai
Concern event is monitored in real time, so as to which service agent server is it may determine that the event update state for going out to pay close attention to event is
No to change, service agent server carries out monitoring in real time to the event update state for paying close attention to event under normal conditions to lead to
The variation of the data information crossed on the data external interface of service agent server judges.Service agent server passes through to closing
The event update state of note event, which carries out monitoring in real time, can get whether the corresponding specific user's state of concern event occurs,
When specific user's state occurs, the event that the side of paying close attention to wishes to pay close attention to has occurred that then service agent server can
To get specific user's state of appearance.For example, whether the concern event of service agent monitoring server reaches the standard grade for user, and
Specific user's state that concern side is set is reached the standard grade as user, then when Broker monitors the event update state of concern event
When having reached the standard grade for user, service agent server may determine that event desired by concern side at this time has occurred and that, i.e., specific
User Status occurs.
It should be noted that in some embodiments of the invention, step 101 service agent server receives concern terminal
After the event subscription information of transmission, it can also include the following steps:
B1, service agent server receive the event filtering information that concern terminal is sent, wherein, event filtering packet
It includes:The event type of feedback is not needed in the determining concern event in concern side.
Based on the realization method of step B1, if service agent server receives the event filtering letter that concern terminal is sent
It ceases, then which event type service agent server can get and not need to feed back to concern terminal, then step 103 industry
Business proxy server monitors the event update state for paying close attention to event in real time, specifically may include steps of:
Service agent server in concern event except do not need to feedback event type in addition to event update state into
Row monitoring in real time.
That is, after sending event subscription information for concern side, if concern side is also sent out to service agent server
Having sent event filtering information, then to the event type filtered out, corresponding concern event does not monitor service agent server,
So as to so that the intelligent concern for specific user's state that needs are paid close attention in the realization of concern side, additional for certain some concern side
The event type filtered is needed to be sent to service agent server, can to avoid the overload of service agent server, so as to
Mitigate the monitoring intensity of service agent server.
It should be noted that in some embodiments of the invention, event subscription information can also include concern side and feel emerging
The side of being concerned of interest, then pay close attention to event and be corresponding with the interested specific user's state in concern side, specifically also refer to:Pay close attention to thing
Part is corresponding with specific user's state of the interested side of being concerned of concern side, i.e. concern side is wrapped in the event subscription information of generation
Include specific user's state of the interested side of being concerned of concern side and the side of being concerned.In this case, step 103 business
Proxy server monitors the event update state for paying close attention to event in real time, specifically may include steps of:
C1, service agent server monitor the User Status for the side of being concerned in real time.
That is, if concern direction service agent server specifies the side of being concerned for needing to monitor, service agent
Server carries out the User Status for the side of being concerned monitoring in real time it may determine that going out the interested specific user's state in concern side
Whether occur.It pays close attention to the corresponding specific user's state of event in the realization method of step C1, in the embodiment of the present invention to occur, tool
Body is:The User Status variation for the side of being concerned is the interested specific user's state in concern side.That is service agent server can be with
Whether the User Status for the side of being concerned is changed and changes why state is monitored in real time, when the side of being concerned
User Status variation for the interested specific user's state in concern side when, execution step 104 can be triggered.
In other embodiments of the present invention, when the interested side of being concerned of concern side has multiple, step C1 business generations
Reason server monitors the User Status for the side of being concerned in real time, can specifically include:
C11, service agent server simultaneously monitor the User Status of multiple sides of being concerned in real time;
Then the User Status variation for the side of being concerned is the interested specific user's state in concern side, specially:
The variation of at least one User Status is the interested spy in the concern side in the User Status of multiple sides of being concerned
Determine User Status.
That is, the interested side of being concerned of a concern side can there are one or it is multiple, be illustrated below:Business
Proxy server carries out service management to 4 users, is user A, user B, user C, user D respectively, the end operated by user A
End is terminal A, is terminal B by the user B terminals operated, is terminal C by the user C terminals operated, the terminal operated by user D
It is terminal D, wherein, if user A is used as concern side, user A sends event subscription by terminal A to service agent server to be believed
Breath, if user A is interested in specific user's state of user B, user B can be the side of being concerned, for another example, if user B
As concern side, event subscription information is sent to service agent server by terminal B, if user B is to user A, user C, use
Specific user's state of family D is all interested, then user A, user C, user D can be the sides of being concerned.When a concern side
When the interested side of being concerned has multiple, service agent server needs all carry out the User Status of all sides of being concerned
Monitoring, then the variation of at least one User Status is the interested specific user in concern side in the User Status of multiple sides of being concerned
During state, it is possible to think that specific user's state occurs, can trigger and perform step 104.Certainly, in some realities of the present invention
It applies in example, then just recognizes when the User Status of specially multiple sides of being concerned all changes specific user's state interested for concern side
Occur for specific user's state, just perform step 104 at this time, it is that concern side is interested specifically there are several User Status variations
It is considered as that specific user's state occurs to be determined by specific application environment during specific user's state, only lifts herein
Example explanation, is not intended as the restriction to the embodiment of the present invention.
It is illustrated below, by taking service agent server and concern terminal are specifically used for the processing of game service as an example,
Game user can be set with specific user's state of interested two sides of being concerned and each side of being concerned, specific user's state
It is set to user to reach the standard grade, i.e., hope three people when two sides of being concerned all reach the standard grade in concern side's combine beats monster jointly, this
In the case of, only just think to meet when interested two sides of being concerned of concern side all reach the standard grade simultaneously and be wanted in step 104
It asks, step 104 can be performed.
104th, when the corresponding specific user's state of concern event occurs, service agent server is looked into according to above-mentioned relation chain
It askes to the interested concern terminal of specific user's state of appearance.
In embodiments of the present invention, when the corresponding specific user's state of concern event occurs, service agent server root
It is inquired according to the relation chain stored before to the interested concern terminal of specific user's state of appearance, for example, service agent takes
Business device can read the relation chain of storage, service agent clothes from the data memory module in the service agent server of oneself
Business device can also read the relation chain of storage from relation chain data storage.
105th, specific user's state of appearance is sent to the concern end inquired by relation chain by service agent server
End.
In embodiments of the present invention, when service agent server inquires by relation chain specific user's state to appearance
After interested concern terminal, specific user's state of appearance can be sent to by service agent server passes through relation chain
The concern terminal inquired.Thus specific user's shape that concern terminal can will receive appearance from business proxy server
State, so as to which, to concern side, concern side can be in oneself interested specific user's shape by the specific user's status display occurred
It is notified within the shortest time when state occurs, industry is converted to so as to fulfill by the passive inquiry members list in concern side oneself
Proxy server be engaged in the active push of concern terminal, so as to facilitate the interaction between concern side and other users.
It is illustrated below, for example, when service agent server and concern side are applied in field of play, i.e. business generation
When reason server and concern terminal are specifically used for the processing to game service, for being game user alwaysyou by concern side,
The player levels of game user alwaysyou have reached martial arts circles leader, then interested to game user alwaysyou
May not be the game player that some is specified, game user alwaysyou interested may be that player levels have reached
The game user of person in charge's rank of each factions, then the side of concern alwaysyou specific user's state can be set as player
Grade reaches the person in charge of each factions, then in all game users of service agent server admin, with each game
Continuous " practice " of user, the then game user having its player levels after getting some martial arts circles's treasured books and practising austerities can reach
To factions' person in charge's grade, service agent server monitors the event update state for paying close attention to event in real time, if business generation
Reason server finds game user becauseofyou its player etc. after obtaining martial arts circles's treasured book and practising austerities by monitoring in real time
Grade has reached factions person in charge, that is, when paying close attention to the corresponding specific user's state of event and occurring, then game user becauseofyou
The interested sides of being concerned of game user alwaysyou will be become, service agent server can be by game user
Becauseofyou, which reaches factions person in charge this specific user's state and is sent to the game inquired by inquiring relation chain, to be used
Family alwaysyou, thus game user alwaysyou can automatically learn that game user becauseofyou has reached
Arrived the player levels of factions person in charge, without by game user alwaysyou by game member's list come member one by one
Lookup whose player levels have reached factions person in charge, game user alwaysyou can be to game user
Becauseofyou challenges book, and game user alwaysyou can subordinate's ring and game user becauseofyou
One life-and-death struggle absolutely.By illustrating it is found that the acquisition methods of User Status provided in an embodiment of the present invention can make concern herein
Square alwaysyou does not need to search game member's list in real time can obtain service agent service from business proxy server
The proactive notification of device makes concern side that can timely know its interested specific user's state, is convenient to concern side and is closed
Interaction between note side enhances the relationship precipitation between user, so as to realize the purpose of game social.
It should be noted that in some embodiments of the invention, step 105 service agent server is by the specific of appearance
User Status is sent to after the concern terminal inquired by relation chain, can also be included the following steps:
The state content of specific user's state that D1, service agent server occur to the concern terminal display inquired.
That is, specific user's state of appearance is being sent to what is inquired by relation chain by service agent server
After paying close attention to terminal, further, service agent server performs the spy that step D1 occurs to the concern terminal display inquired
Determine the state content of User Status, then the follower for operating concern terminal can obtain its interested specific user's state
Through occurring, and it can know the state content of specific user's state.If for example, it is interested to concern side A
The side of being concerned B in chatroom chat speech, that is to say, that concern side A generate concern event corresponding to the side of being concerned B with
And the specific user's state for the side of being concerned is made a speech for chat, then the side of concern A is sent by paying close attention to terminal B to service agent server
Event subscription information, then service agent server concern side A and the side of being concerned B are established according to the event subscription information and chatted
It chats in its room the relation chain of speech, service agent server monitors the event update state for paying close attention to event in real time, if
The side of being concerned B has said that in short " hello ", then service agent server can determine that concern event is corresponding in chatroom
Specific user's state occurs, and service agent server, which inquires that the side of being concerned B chat making a speech according to relation chain, feels emerging
The concern terminal A of interest, the User Status that the side of being concerned B has been carried out chat speech by last service agent server are sent to concern
Terminal A, then the concern terminal A that the side of concern A is operated by it can know that its interested side of being concerned B has carried out chat hair
Speech, and service agent server can also show that the side of being concerned B carries out the state content " use of chat speech to concern terminal A
Family B is in 19 morning 9 of September:30 speeches ' hello ' ", in addition when there are many number of users made a speech in chatroom, for the ease of
Concern side A can be promptly and accurately the speech for browsing to user B, service agent server to concern terminal A show the side of being concerned B
Carry out chat speech state content carry out Special display, for example, on the state content of the side of being concerned B change font color,
Add underscore, window is reminded in addition, addition special identifier etc., then the side of concern A by pay close attention in terminal A these are special aobvious
Show, it is possible to the speech for browsing to user B promptly and accurately.
It should be noted that in some embodiments of the invention, when being further included in event subscription information, the sense of concern side is emerging
During the side of being concerned of interest, specific user's state of appearance is sent to through relationship chain query by step 105 service agent server
After the concern terminal gone out, it can also include the following steps:
E1, service agent server will be by by paying close attention to terminal prompting position preset in members list according to concern side
Concern side is adjusted to above-mentioned prompting position in the position of members list.
That is, if concern side carries its interested side of being concerned, the side of being concerned in event subscription information
Specific user's state when occurring, service agent server can be preset in members list by paying close attention to terminal according to concern side
Prompting position the side of being concerned is adjusted to above-mentioned prompting position in the position of members list.Business generation i.e. in the embodiment of the present invention
Reason server can remind position that position of the side of being concerned in members list is adjusted to the prompting according to concern side is preset
Position, so as to so that the specific user's state for knowing the side of being concerned of concern side more promptly and accurately.If for example, concern side
It is prompting by paying close attention to the top position that terminal prompting position preset in members list is all members in members list
Position, then service agent server the side of being concerned can be adjusted to the top position, so as to so that concern side more and
When accurately know specific user's state of the side of being concerned.
By the description of the more than embodiment of the present invention it is found that concern side can be by paying close attention to the interested spy of terminal-pair oneself
Determine the concern event of User Status generation requested service proxy server monitoring, and concern event is carried in event subscription information
It is middle to service agent server send, service agent server is established after event subscription information is received concern side with it is specific
The relation chain of User Status, and the relation chain is stored, following service agent server is to the event update state of concern event
It is monitored in real time, in the case where the corresponding specific user's state of concern event occurs, service agent server is according to relationship
Chain query interested concern terminal to the User Status of appearance, finally by service agent server by specific user's shape of appearance
State is sent to the concern terminal by relationship chain query.Since service agent server can send specific user's state of appearance
Concern terminal is given, concern side can get leading to when the interested specific user's state in concern side occurs by paying close attention to terminal
Know.For example, when concern side is game user, game user can easily get oneself interested specific use
Oneself some interested game user or player levels can be reached specific rank as spy by family state, such as game user
Determine User Status, then service agent server can notify game user when these specific user's states occur, and play
User can directly active realization other game users between interaction, without according still further to game member's list come
It searches one by one, is convenient to the use of game user.
It please refers to shown in Fig. 2, the acquisition methods for the User Status that another embodiment of the present invention provides can specifically include
Following steps:
201st, service agent server receives the event subscription information that at least two concern terminals are sent respectively.
Wherein, each concern terminal is operated respectively by respective concern side, and above-mentioned event subscription information includes:Concern side
The concern event of monitoring is asked, concern event is corresponding with the interested specific user's state in concern side.
It is illustrated below:Service agent server carries out service management to 4 users, is user A respectively, user B, uses
Family C, user D are terminal A by the user A terminals operated, are terminal B by the user B terminals operated, the terminal operated by user C
It is terminal C, is terminal D by the user D terminals operated, wherein, if user A is used as concern side, user A is by terminal A to industry
Business proxy server sends event subscription information 1, if user A is interested in specific user's state of user B, user B can
To be the side of being concerned, user B conducts concern side sends event subscription information 2 to service agent server by terminal B, uses
Family B is interested in specific user's state of user A, then user A can be the side of being concerned.
202nd, whether service agent server judges right in the event subscription information that at least two concern terminals are sent respectively
There should be identical specific user's state.
In embodiments of the present invention, when service agent server receives multiple event subscriptions paid close attention to terminals and sent respectively
After information, the event subscription information that service agent server sends a each concern terminal judges respectively, judges each
Whether identical specific user state is corresponding in a event subscription information.It is illustrated below, please refers in previous embodiment
The table 1 of description, by paid close attention in table 1 terminal 1, concern terminal 2, the event subscription information that sends respectively of concern terminal 3 it is found that
Wherein, the event subscription information that concern terminal 1 and concern terminal 3 are sent respectively is corresponding with identical specific user's state, i.e., all
There is User Status e.
If the 203, the event subscription information that at least two concern terminals are sent respectively is corresponding with identical specific user's state,
Multiple concern terminals point that service agent server will send the event subscription information for being corresponding with identical specific user's state respectively
Not corresponding concern side is created in a concern group.
Wherein, concern group includes sending the multiple concerns for the event subscription information for being corresponding with identical specific user's state respectively
The corresponding concern side of terminal.
That is, in the embodiment of the present invention, if the discovery of service agent server has multiple concern sides all to some spy
Determine User Status it is interested when, these multiple concern sides can be all created in same concern group by service agent server,
So as to realize that service agent server manages the concern side in entirely concern group together, service agent can be provided
Server is to the efficiency of management of concern side.
The event that service agent server reception concern terminal is sent in the embodiment of the present invention is given by step 201 to order
Read a kind of specific implementation of information, step 202 and the 203 event subscription information pair sent respectively for multiple concern terminals
It is created to when should have identical specific user's state in a concern group, service agent server can be in concern group
All concern terminals are handled together, can improve the working efficiency of service agent server.With reference to the embodiment of the present invention
Description can have other realization methods, only illustrate herein.
204th, service agent server is established according to the multiple event subscription information for being corresponding with identical specific user's state and is closed
The relation chain of note group and specific user's state.
In embodiments of the present invention, service agent server according to receive multiple event subscription information creating concern groups it
Afterwards, service agent server can be established according to the multiple event subscription information for being corresponding with identical specific user's state concern group and
Service agent server passes through specific user's shape according to relation chain in the relation chain of specific user's state, i.e. embodiments herein
State can inquire a concern group, so as to inquire all concern sides in the concern group.
A kind of specific implementation of service agent server opening relationships chain in the embodiment of the present invention is given by step 204
Mode can have other realization methods with reference to the description of the embodiment of the present invention, only illustrate herein.
205th, service agent server monitors the event update state for paying close attention to event in real time.
In embodiments of the present invention, service agent server gets the determining needs in concern side from event subscription information
After the concern event of monitoring, service agent server can supervise the event update state of the concern event in real time
Survey, wherein the event update state of concern event refers to the event change situation of concern event, by service agent server Lai
Concern event is monitored in real time, so as to which service agent server is it may determine that the event update state for going out to pay close attention to event is
No to change, service agent server carries out monitoring in real time to the event update state for paying close attention to event under normal conditions to lead to
The variation of the data information crossed on the data external interface of service agent server judges.Service agent server passes through to closing
The event update state of note event, which carries out monitoring in real time, can get whether the corresponding specific user's state of concern event occurs,
When specific user's state occurs, the event that the side of paying close attention to wishes to pay close attention to has occurred that then service agent server can
To get specific user's state of appearance.For example, whether the concern event of service agent monitoring server reaches the standard grade for user, and
Specific user's state that concern side is set is reached the standard grade as user, then when Broker monitors the event update state of concern event
When having reached the standard grade for user, service agent server may determine that event desired by concern side at this time has occurred and that, i.e., specific
User Status occurs.
206th, when the corresponding specific user's state of concern event occurs, service agent server is according to relationship chain query pair
Interested absorbed group of specific user's state of appearance, the institute got in the concern group inquired by absorbed group inquired
There is concern side.
207th, specific user's state of appearance is sent to the concern inquired by service agent server in a manner of multicast
The corresponding concern terminal in all concern sides in group.
In embodiments of the present invention, after service agent server inquires concern group by relation chain, it is possible to inquire
Go out all concern sides in the concern group, therefore specific user shape of the mode by appearance of multicast may be used in service agent server
The corresponding concern terminal in all concern sides that state is sent in concern group, service agent server can using the mode of multicast
Specific user's state is sent to multiple the synchronous of concern terminal to realize, when the concern side for having quantity many all pays close attention to same use
It during the state of family, can greatly mitigate the load of service agent server, be conducive to service agent server efficiently to multiple
It pays close attention to terminal and sends specific user's state.
208th, the state content of specific user's state that service agent server occurs to the concern terminal display inquired.
That is, specific user's state of appearance is being sent to what is inquired by relation chain by service agent server
After paying close attention to terminal, further, service agent server performs the spy that step 208 occurs to the concern terminal display inquired
Determine the state content of User Status, then the follower for operating concern terminal can obtain its interested specific user's state
Through occurring, and it can know the state content of specific user's state.Service agent server is special to concern terminal display
The state content for determining User Status can be according to special display mode, for example, changing word on the state content for the side of being concerned
Window, addition special identifier etc. are reminded in body color, addition underscore, addition, then the side of concern is by paying close attention to these in terminal
Special display, it is possible to promptly and accurately browse to specific user's state.
By the description of the more than embodiment of the present invention it is found that multiple concern sides can pass through respective concern terminal-pair respectively
The concern event of oneself interested specific user's state generation requested service proxy server monitoring, and concern event is carried
It is sent respectively to service agent server in event subscription information, service agent server will send and is corresponding with identical spy respectively
The corresponding concern side of multiple concern terminals for determining the event subscription information of User Status is created in a concern group, business
Proxy server establishes the relation chain of concern group and specific user's state after event subscription information is received, and stores the pass
Tethers, following service agent server monitor the event update state for paying close attention to event in real time, are corresponded in concern event
Specific user's state occur in the case of, service agent server is interested in the User Status of appearance according to relationship chain query
Concern group, specific user's state of appearance is finally sent to the concern group by relationship chain query by service agent server
In the corresponding concern terminal in all concern sides.Since service agent server can send specific user's state of appearance
Concern terminal is given, concern side can get leading to when the interested specific user's state in concern side occurs by paying close attention to terminal
Know.For example, when concern side is game user, game user can easily get oneself interested specific use
Oneself some interested game user or player levels can be reached specific rank as spy by family state, such as game user
Determine User Status, then service agent server can notify game user when these specific user's states occur, and play
User can directly active realization other game users between interaction, without according still further to game member's list come
It searches one by one, is convenient to the use of game user.
For ease of being better understood from and implementing the said program of the embodiment of the present invention, corresponding application scenarios of illustrating below come
It is specifically described.
It please refers to as shown in Fig. 3-a, is applied to legion travel with the acquisition methods of User Status provided in an embodiment of the present invention
For play, for the system architecture schematic diagram of the acquisition methods of User Status in the embodiment of the present invention, the system architecture of attention location system
It can include:Service agent server pays close attention to terminal, is concerned terminal, relation chain data storage, Cross servers, game
Data-interface, wherein, service agent server is connected with concern terminal, wherein between service agent server and concern terminal
With that can communicate to connect, service agent server carries out the event update state for paying close attention to event by game data interface real-time
Monitoring, during service agent server stores relation chain in relation chain data storage, in addition Cross servers are used for concern
Specific user's state that terminal push occurs, the execution present invention is real between each entity in the attention location system realized during legion plays
The acquisition methods for applying the User Status of example offer specifically may include steps of:
S01, concern terminal send event subscription information to service agent server.
Wherein, concern terminal is operated by concern side, and above-mentioned event subscription information includes:The concern thing of concern side's request monitoring
Part, concern event are corresponding with the interested specific user's state in concern side.In legion plays, each concern side can be by not
To service agent server transmission event subscription information, direction service agent server is paid close attention in Fig. 3-a with one for same entrance
Illustrated for transmission event subscription information, can equally there are multiple concern sides in embodiments of the present invention respectively to business
Proxy server send event subscription information, herein illustrate in, using the interested specific user's state in concern side as:The side of being concerned
Game entry.
S02, service agent server establish the relation chain of concern side and specific user's state according to event subscription information, and
Store above-mentioned relation chain.
Wherein, service agent server stores relation chain into relation chain data storage, in service agent server
It needs to read from relation chain data storage using during the relation chain, is then stored in relation chain data storage
Relation chain of the relation chain between concern side and the game entry for the side of being concerned.
S03, service agent server supervise the event update state for paying close attention to event by game data interface in real time
It surveys.
Wherein, service agent server is concerned whether terminal logs on legion's game by game data interface monitor
In.
S04, when the side of being concerned operation be concerned terminal landing game when, notify game data interface.
S06, service agent server are monitored from game data interface monitor to there is game user to log in legion's game
Specific user's state occur, service agent server inquires relation chain from relation chain data storage, inquires to going out
The interested concern terminal of existing specific user's state,
S07, service agent server are by game data interface to Cross server push specific user's states.
S08, by Cross servers after specific user's state of service agent server push is received, to concern eventually
Specific user's state that end notice occurs.
By as described above it is found that user is used as concern side, can the abundant Information Notification Services of flexible subscription, such as user
After A is added to the concern to user B, user A can subscribe to the related news notice of B respectively.In the embodiment of the present invention, in order to ensure
The possibility that the type of event subscription information changes with software version iteration, service agent server may be used more general
Information analysis mode, the notification information that opposite concern side is sent can also be using Templated definition, and enhance notification module can
Autgmentability and durability.For example, please referring to as shown in Fig. 3-b, it is applied to legion for attention location system provided in an embodiment of the present invention
The realization method schematic diagram of the specific user's state set during game by concern side, wherein, the attention location system in legion plays
The member for having focused on legion can be set to pay close attention to mode by concern side, for example, setting " prompting of reaching the standard grade for having focused on member ",
In there are two option " unlatchings " and " closing ", can be selected or attention location system is according to paying close attention to terminal transmission by concern side
Which option is event subscription information set, in addition, " state for having focused on member is reminded " is also set up, wherein there are two options
" unlatching " and " closing ", can by concern side come select or attention location system according to concern terminal send event subscription information
Which option is set, also sets up " call-up for having focused on member is reminded ", wherein there are two option " unlatching " and " closings ", it can
To be selected or which option attention location system sets according to the event subscription information that concern terminal is sent by concern side.Separately
Outside, in some embodiments of the invention, if service agent server also receives the event filtering information that concern terminal is sent,
Then attention location system can set the member for having focused on legion to pay close attention to mode by concern side in legion plays, for example, such as Fig. 3-b
It is shown, " the call-up information for whether filtering public screen " is also set up in attention location system, wherein there are two option " unlatching " and " closing ",
It can be selected or which option attention location system sets according to the event filtering information that concern terminal is sent by concern side.
So as to realize at any time subscription and cancellation of the concern side to concern event.
In as exemplified above, if the User Status that the side's of being concerned operation is concerned terminal changes, service agent clothes
Business device can monitor that the interested specific user's state in concern side occurs, and concern side can receive and timely notify, so as to
Service agent server can guide concern side to participate in event rapidly by paying close attention to terminal with efficiently transmission mode, please
Refering to as shown in Fig. 3-c, the transmission of service agent server is responded by paying close attention to terminal for concern side provided in an embodiment of the present invention
The realization method schematic diagram of specific user's state of appearance, wherein, concern side can be directed to different notification types and be concerned
Corresponding response processing is realized in the concrete operations behavior of side, for example, in legion plays, concern side can be with by paying close attention to terminal
Perform response A:Into room or perform response B:Play ..., execution response N... together.Therefore the side of concern can be helped from quilt
Dynamic lookup game member row, which are changed into, to be actively engaged in, reached concern side specific user's state is subscribed to it is most final
It hopes.
By the description of the more than embodiment of the present invention it is found that concern side can be by paying close attention to the interested spy of terminal-pair oneself
Determine the concern event of User Status generation requested service proxy server monitoring, and concern event is carried in event subscription information
It is middle to service agent server send, service agent server is established after event subscription information is received concern side with it is specific
The relation chain of User Status, and the relation chain is stored, following service agent server is to the event update state of concern event
It is monitored in real time, in the case where the corresponding specific user's state of concern event occurs, service agent server is according to relationship
Chain query interested concern terminal to the User Status of appearance, finally by service agent server by specific user's shape of appearance
State is sent to the concern terminal by relationship chain query.Since service agent server can send specific user's state of appearance
Concern terminal is given, concern side can get leading to when the interested specific user's state in concern side occurs by paying close attention to terminal
Know.For example, when concern side is game user, game user can easily get oneself interested specific use
Oneself some interested game user or player levels can be reached specific rank as spy by family state, such as game user
Determine User Status, then service agent server can notify game user when these specific user's states occur, and play
User can directly active realization other game users between interaction, without according still further to game member's list come
It searches one by one, is convenient to the use of game user.
It should be noted that for aforementioned each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
For ease of preferably implementing the said program of the embodiment of the present invention, the phase for implementing said program is also provided below
Close device.
It please refers to shown in Fig. 4-a, a kind of service agent server 400 provided in an embodiment of the present invention can include:Information
Receiving module 401, relation chain maintenance module 402, event monitoring module 403, relation chain enquiry module 404, User Status are sent
Module 405, wherein,
Information receiving module 401, for receiving the event subscription information that concern terminal is sent, the concern terminal is by paying close attention to
Side's operation, the event subscription information include:The concern event of concern side's request monitoring, the concern event correspond to
State the interested specific user's state in concern side;
Relation chain maintenance module 402, for establishing the concern side and the specific use according to the event subscription information
The relation chain of family state, and store the relation chain;
Event monitoring module 403 is monitored in real time for the event update state to the concern event;
Relation chain enquiry module 404, for when the corresponding specific user's state of the concern event occurs, according to described
Relationship chain query is to the interested concern terminal of specific user's state of appearance;
User Status sending module 405, for being sent to specific user's state of the appearance by the relation chain
The concern terminal inquired.
It please refers to as shown in Fig. 4-b, in some embodiments of the invention, compared to service agent as depicted in fig. 4-a
Server 400, service agent server 400 can also include:User Status comparison module 406 and concern group creation module
407, wherein,
Information receiving module 401, the event subscription information sent respectively specifically for receiving at least two concern terminals;
User Status comparison module 406, for judging that the event subscription that at least two concerns terminal is sent respectively is believed
Whether identical specific user state is corresponding in breath;
Concern group creation module 407, if the event subscription information pair sent respectively for described at least two concern terminals
There should be identical specific user's state, the multiple passes for the event subscription information for being corresponding with identical specific user's state will be sent respectively
The corresponding concern side of injection terminal is created in a concern group, and the concern group is corresponding with identical specific including transmission respectively
The corresponding concern side of multiple concern terminals of the event subscription information of User Status.
Specifically, the relation chain maintenance module 402, the multiple of identical specific user's state are corresponding with specifically for basis
Event subscription information establishes the relation chain of the concern group and specific user's state;
The relation chain enquiry module 404, specifically for specific user's state according to the relationship chain query to appearance
Interested absorbed group, all concern sides got in the concern group inquired by absorbed group inquired;
The User Status sending module 405, specifically in a manner of multicast by specific user's state of the appearance
The corresponding concern terminal in all concern sides being sent in the concern group inquired.
In some embodiments of the invention, the event subscription information that described information receiving module 401 receives, is also wrapped
It includes:The interested side of being concerned of concern side;
The concern event is corresponding with the interested specific user's state in the concern side, specially:
The concern event is corresponding with specific user's state of the interested side of being concerned of the concern side.
Specifically, please refer to as shown in Fig. 4-c, in some embodiments of the invention, event monitoring module 403, including:
User Status monitors submodule 4031, is monitored in real time for the User Status to the side of being concerned;
The corresponding specific user's state of the concern event occurs, specially:
The User Status variation of the side of being concerned is the interested specific user's state in the concern side.
Specifically, when the interested side of being concerned of concern side has multiple, the User Status monitors submodule 4031,
Specifically for being monitored in real time to the User Status of multiple sides of being concerned simultaneously;
The User Status variation of the side of being concerned is the interested specific user's state in the concern side, specially:
The variation of at least one User Status is the interested spy in the concern side in the User Status of multiple sides of being concerned
Determine User Status.
It please refers to as shown in Fig. 4-d, in some embodiments of the invention, relative to service agent as depicted in fig. 4-a
Server 400, service agent server 400 can also include:
Position adjusting type modules 408 send specific user's state of the appearance for the User Status sending module
After the concern terminal inquired by the relation chain, according to the concern side by the concern terminal in members list
In preset prompting position the side of being concerned is adjusted to the prompting position in the position of the members list.
In some embodiments of the invention, described information receiving module 401 is additionally operable to the relation chain maintenance module and deposits
After storing up the relation chain, receive the concern terminal transmission unsubscribes information, and the information that unsubscribes includes:It is described
What concern side determined needs not continue to the concern event of monitoring;
The relation chain maintenance module 402, be additionally operable to according to described in unsubscribe concern side described in information deletion with it is described
Need not continue to the relation chain of the corresponding specific user's state of concern event of monitoring.
In some embodiments of the invention, described information receiving module 401 is additionally operable to receive the thing that concern terminal is sent
After part subscription information, the event filtering information that the concern terminal is sent is received, the event filtering information includes:The pass
The event type of feedback is not needed in the determining concern event in note side;
The event monitoring module 403, specifically for removing the event class for not needing to feedback in the concern event
Event update state other than type is monitored in real time.
It please refers to as shown in Fig. 4-e, in some embodiments of the invention, relative to service agent as depicted in fig. 4-a
Server 400, service agent server 400 can also include:
Specific user's state of the appearance for User Status sending module is sent to and passes through institute by display module 409
After stating the concern terminal that relation chain inquires, specific user's state of the appearance is shown to the concern terminal inquired
State content.
By above to the description of the embodiment of the present invention it is found that concern side can be interested by paying close attention to terminal-pair oneself
The concern event of specific user's state generation requested service proxy server monitoring, and concern event is carried and is believed in event subscription
It is sent in breath to service agent server, after information receiving module receives event subscription information, relation chain maintenance module is built
Vertical concern side and the relation chain of specific user's state, and the relation chain is stored, following event monitoring module is to concern event
Event update state is monitored in real time, in the case where the corresponding specific user's state of concern event occurs, relationship chain query
Module according to relationship chain query to the User Status of appearance interested concern terminal, will finally be gone out by User Status sending module
Existing specific user's state is sent to the concern terminal by relationship chain query.Since service agent server can send appearance
Specific user's state to concern terminal, concern side can get the interested specific user in concern side by paying close attention to terminal
Notice when state occurs.For example, when concern side is game user, game user can easily get oneself
Interested specific user's state, such as game user can reach oneself some interested game user or player levels
Specific rank is as specific user's state, then service agent server can be notified when these specific user's states occur
Game user, game user can directly active realization other game users between interaction, without according still further to
Game member's list is searched one by one, is convenient to the use of game user.
Fig. 5 is a kind of service agent server architecture schematic diagram provided in an embodiment of the present invention, which can be because matching
It puts or performance is different and generate bigger difference, one or more central processing units can be included(central
Processing units, CPU)522(For example, one or more processors)With memory 532, one or more
Store the storage medium 530 of application program 542 or data 544(Such as one or more mass memory units).Wherein, it deposits
Reservoir 532 and storage medium 530 can be of short duration storage or persistent storage.Being stored in the program of storage medium 530 can include
One or more modules(Diagram does not mark), each module can be including operating the series of instructions in server.More
Further, central processing unit 522 could be provided as communicating with storage medium 530, and storage medium is performed on server 500
Series of instructions operation in 530.
Server 500 can also include one or more power supplys 526, one or more wired or wireless networks
Interface 550, one or more input/output interfaces 558 and/or, one or more operating systems 541, such as
Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
The server architecture shown in fig. 5 can be based on as the step performed by server described in above-described embodiment.
Specifically:Above-mentioned wired or wireless network interface 550, for receiving the event subscription information that concern terminal is sent, the concern
Terminal is operated by concern side, and the event subscription information includes:The concern event of concern side's request monitoring, the concern thing
Part is corresponding with the interested specific user's state in the concern side;
Above-mentioned central processing unit 522, for establishing the concern side and the specific use according to the event subscription information
The relation chain of family state;
Memory 532, for storing the relation chain;
Central processing unit 522 is additionally operable to monitor the event update state of the concern event in real time;When the pass
When the corresponding specific user's state of note event occurs, the service agent server is according to the relationship chain query to the spy of appearance
Determine the interested concern terminal of User Status;
Wired or wireless network interface 550, for being sent to specific user's state of the appearance by the relationship
The concern terminal that chain query goes out.
In some embodiments of the invention, wired or wireless network interface 550, for receiving at least two concerns end
Hold the event subscription information sent respectively;
Central processing unit 522 is additionally operable to judge that described at least two pay close attention in the event subscription information that terminal is sent respectively
Whether identical specific user state is corresponding with;If the event subscription information that at least two concerns terminal is sent respectively corresponds to
There is identical specific user's state, the service agent server is corresponding with the event of identical specific user's state by sending respectively
The corresponding concern side of multiple concern terminals of subscription information is created in a concern group, and the concern group includes sending out respectively
Send the corresponding concern side of multiple concern terminals for the event subscription information for being corresponding with identical specific user's state.
In some embodiments of the invention, central processing unit 522 are additionally operable to send out specific user's state of the appearance
After giving the concern terminal inquired by the relation chain, according to the concern side by the concern terminal in member column
The side of being concerned is adjusted to the prompting position in the position of the members list by preset prompting position in table.
In some embodiments of the invention, wired or wireless network interface 550 sends for receiving the concern terminal
Unsubscribe information, the information that unsubscribes includes:What the concern side determined needs not continue to the concern event of monitoring.
Central processing unit 522, be additionally operable to according to described in unsubscribe concern side described in information deletion with it is described do not need to after
The relation chain of the corresponding specific user's state of concern event of continuous monitoring.
In some embodiments of the invention, central processing unit 522 are additionally operable to send out specific user's state of the appearance
After giving the concern terminal inquired by the relation chain, the spy of the appearance is shown to the concern terminal inquired
Determine the state content of User Status.
In addition it should be noted that, the apparatus embodiments described above are merely exemplary, wherein described as separation
The unit of part description may or may not be it is physically separate, the component shown as unit can be or
It can not be physical unit, you can be located at a place or can also be distributed in multiple network element.It can be according to reality
Border needs to select some or all of module therein to realize the purpose of this embodiment scheme.It is in addition, provided by the invention
In device embodiment attached drawing, the connection relation between module represents there is communication connection between them, specifically can be implemented as one
Item or a plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can with
Understand and implement.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to include application-specific integrated circuit, specially by specialized hardware
It is realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program can
It is easily realized with corresponding hardware, moreover, for realizing that the particular hardware structure of same function can also be a variety of more
Sample, such as analog circuit, digital circuit or special circuit etc..But it is more for the purpose of the present invention in the case of software program it is real
It is now more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words makes the prior art
The part of contribution can be embodied in the form of software product, which is stored in the storage medium that can be read
In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only memory(ROM, Read-Only Memory), random access memory
Device(RAM, Random Access Memory), magnetic disc or CD etc., including some instructions with so that a computer is set
It is standby(Can be personal computer, server or the network equipment etc.)Perform the method described in each embodiment of the present invention.
In conclusion the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to upper
Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to upper
The technical solution recorded in each embodiment is stated to modify or carry out equivalent replacement to which part technical characteristic;And these
Modification is replaced, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.
Claims (12)
1. a kind of acquisition methods of User Status, which is characterized in that the method is performed by service agent server, the business
Proxy server is used to carry out the terminal of user's operation the service management of field of play, including:
Service agent server receives the event subscription information that concern terminal is sent, and the concern terminal is operated by concern side, institute
Event subscription information is stated to include:The concern event of concern side's request monitoring, the concern event are corresponding with the concern side
Interested specific user's state, the concern terminal do not specify the side of being concerned in the event subscription information;
The service agent server establishes the concern side and specific user's state according to the event subscription information
Relation chain, and store the relation chain;
The service agent server monitors the event update state of the concern event in real time;
When the corresponding specific user's state of the concern event occurs, the service agent server is looked into according to the relation chain
It askes to the interested concern terminal of specific user's state of appearance;
Specific user's state of the appearance is sent to the pass inquired by the relation chain by the service agent server
Injection terminal.
2. according to the method described in claim 1, it is characterized in that, the service agent server receives what concern terminal was sent
Event subscription information, including:
The service agent server receives the event subscription information that at least two concern terminals are sent respectively;
After the service agent server receives the event subscription information that at least two concern terminals are sent respectively, the side
Method further includes:
Whether the service agent server judges right in the event subscription information that at least two concerns terminal is sent respectively
There should be identical specific user's state;
If the event subscription information that at least two concerns terminal is sent respectively is corresponding with identical specific user's state, described
Multiple concern terminals point that service agent server will send the event subscription information for being corresponding with identical specific user's state respectively
Not corresponding concern side is created in a concern group, and the concern group, which includes sending respectively, is corresponding with identical specific user's state
Event subscription information the corresponding concern side of multiple concern terminals.
3. according to the method described in claim 2, it is characterized in that, the service agent server is believed according to the event subscription
Breath establishes the relation chain of the concern side and specific user's state, including:
The service agent server establishes the pass according to the multiple event subscription information for being corresponding with identical specific user's state
The relation chain of note group and specific user's state;
The service agent server according to the relationship chain query to the interested concern terminal of specific user's state of appearance,
Including:
The service agent server, to the interested concern group of specific user's state of appearance, leads to according to the relationship chain query
It crosses the concern group inquired and gets all concern sides in the concern group inquired;
Specific user's state of the appearance is sent to the pass inquired by the relation chain by the service agent server
Injection terminal, including:
Specific user's state of the appearance is sent to the concern inquired by the service agent server in a manner of multicast
The corresponding concern terminal in all concern sides in group.
4. according to the method in any one of claims 1 to 3, which is characterized in that the service agent server storage institute
After stating relation chain, further include:
The service agent server receives the information that unsubscribes of the concern terminal transmission, described to unsubscribe packet
It includes:What the concern side determined needs not continue to the concern event of monitoring;
The service agent server unsubscribes concern side described in information deletion according to and needs not continue to monitor with described
The corresponding specific user's state of concern event relation chain.
5. according to the method in any one of claims 1 to 3, which is characterized in that the service agent server, which receives, to close
After the event subscription information that injection terminal is sent, including:
The service agent server receives the event filtering information that the concern terminal is sent, the event filtering packet
It includes:The event type of feedback is not needed in the determining concern event in the concern side;
The service agent server monitors the event update state of the concern event in real time, including:
The service agent server in the concern event except it is described do not need to feedback event type in addition to event more
New state is monitored in real time.
6. according to the method in any one of claims 1 to 3, which is characterized in that the service agent server is by described in
Specific user's state of appearance is sent to after the concern terminal inquired by the relation chain, is further included:
The service agent server shows the state of specific user's state of the appearance to the concern terminal inquired
Content.
7. a kind of service agent server, which is characterized in that the service agent server be used for the terminal of user's operation into
The service management of row field of play, including:
Information receiving module, for receiving the event subscription information that concern terminal is sent, the concern terminal is operated by concern side,
The event subscription information includes:The concern event of concern side's request monitoring, the concern event are corresponding with the concern
The interested specific user's state in side, the concern terminal do not specify the side of being concerned in the event subscription information;
Relation chain maintenance module, for establishing the concern side and specific user's state according to the event subscription information
Relation chain, and store the relation chain;
Event monitoring module is monitored in real time for the event update state to the concern event;
Relation chain enquiry module, for when the corresponding specific user's state of the concern event occurs, according to the relation chain
Inquiry is to the interested concern terminal of specific user's state of appearance;
User Status sending module, for specific user's state of the appearance to be sent to what is inquired by the relation chain
Pay close attention to terminal.
8. service agent server according to claim 7, which is characterized in that described information receiving module is specifically used for
Receive the event subscription information that at least two concern terminals are sent respectively;
The service agent server, further includes:
User Status comparison module receives the event that at least two concern terminals send respectively for described information receiving module
After subscription information, judge whether to be corresponding in the event subscription information that at least two concerns terminal is sent respectively identical
Specific user's state;
Concern group creation module, if being corresponding with for the event subscription information that described at least two concern terminals are sent respectively identical
Specific user's state, multiple concern terminals point of the event subscription information for being corresponding with identical specific user's state will be sent respectively
Not corresponding concern side is created in a concern group, and the concern group, which includes sending respectively, is corresponding with identical specific user's state
Event subscription information the corresponding concern side of multiple concern terminals.
9. service agent server according to claim 8, which is characterized in that the relation chain maintenance module, it is specific to use
Multiple event subscription information that identical specific user's state is corresponding in basis establish the concern group and specific user's shape
The relation chain of state;
The relation chain enquiry module, specifically for interested to specific user's state of appearance according to the relationship chain query
Concern group gets all concern sides in the concern group inquired by the concern group inquired;
The User Status sending module is looked into specifically for being sent to specific user's state of the appearance in a manner of multicast
The corresponding concern terminal in all concern sides in the concern group ask out.
10. the service agent server according to any one of claim 7 to 9, which is characterized in that described information receives mould
Block is additionally operable to after the relation chain maintenance module storage relation chain, receives unsubscribing for the concern terminal transmission
Information, the information that unsubscribes include:What the concern side determined needs not continue to the concern event of monitoring;
The relation chain maintenance module, be additionally operable to according to described in unsubscribe concern side described in information deletion with it is described do not need to after
The relation chain of the corresponding specific user's state of concern event of continuous monitoring.
11. the service agent server according to any one of claim 7 to 9, which is characterized in that described information receives mould
Block is additionally operable to after receiving the event subscription information that concern terminal is sent, and receives the event filtering letter that the concern terminal is sent
Breath, the event filtering information include:The event type of feedback is not needed in the determining concern event in the concern side;
The event monitoring module, specifically for in the concern event except it is described do not need to feedback event type in addition to
Event update state is monitored in real time.
12. the service agent server according to any one of claim 7 to 9, which is characterized in that the service agent clothes
Business device, further includes:Specific user's state of the appearance for User Status sending module is sent to and passes through institute by display module
After stating the concern terminal that relation chain inquires, specific user's state of the appearance is shown to the concern terminal inquired
State content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410035865.1A CN103747014B (en) | 2014-01-24 | 2014-01-24 | A kind of acquisition methods of User Status and service agent server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410035865.1A CN103747014B (en) | 2014-01-24 | 2014-01-24 | A kind of acquisition methods of User Status and service agent server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103747014A CN103747014A (en) | 2014-04-23 |
CN103747014B true CN103747014B (en) | 2018-07-06 |
Family
ID=50504001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410035865.1A Active CN103747014B (en) | 2014-01-24 | 2014-01-24 | A kind of acquisition methods of User Status and service agent server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103747014B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635209B (en) * | 2014-10-31 | 2019-06-21 | 中国移动通信集团公司 | The management method and device, online terminal agent of online terminal |
CN104967652B (en) * | 2015-03-10 | 2019-07-09 | 腾讯科技(深圳)有限公司 | Event subscription method, apparatus and system |
CN105187294A (en) * | 2015-08-05 | 2015-12-23 | 深圳联友科技有限公司 | Management method for user state |
CN105592228B (en) * | 2016-01-27 | 2019-10-29 | 努比亚技术有限公司 | Group chat information reminding device and method |
CN108881402B (en) * | 2018-05-29 | 2021-01-26 | 创新先进技术有限公司 | Message pushing method and device and electronic equipment |
CN112044057A (en) * | 2020-09-17 | 2020-12-08 | 网易(杭州)网络有限公司 | Game state monitoring method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594718A (en) * | 2011-01-12 | 2012-07-18 | 阿尔卡特朗讯 | Method and device for processing presentation information |
CN102780976A (en) * | 2011-05-10 | 2012-11-14 | 深圳业拓讯通信科技有限公司 | Call state management system and call state management method based on mobile communication networks |
-
2014
- 2014-01-24 CN CN201410035865.1A patent/CN103747014B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594718A (en) * | 2011-01-12 | 2012-07-18 | 阿尔卡特朗讯 | Method and device for processing presentation information |
CN102780976A (en) * | 2011-05-10 | 2012-11-14 | 深圳业拓讯通信科技有限公司 | Call state management system and call state management method based on mobile communication networks |
Also Published As
Publication number | Publication date |
---|---|
CN103747014A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103747014B (en) | A kind of acquisition methods of User Status and service agent server | |
CN104363476B (en) | It is a kind of based on online live active methods of forming a team, relevant apparatus and system | |
Lewis et al. | Booms | |
CA2717979C (en) | Method, apparatus and system for social networking | |
US8533306B2 (en) | Personal presentity presence subsystem | |
CN106130881B (en) | A kind of account number login method and device | |
JP7066665B2 (en) | Systems and methods for operating artificial social networks | |
CN106021600A (en) | Information prompting method and device | |
CN109962833A (en) | The creation method and device of session on instant communication client | |
CN107395682A (en) | A kind of cell family interactive service end and data processing method | |
CN109788145A (en) | Method of calling, the server that desensitizes, equipment of attending a banquet and computer readable storage medium | |
CN106559787A (en) | Method for network access, apparatus and system | |
CN105978790A (en) | Bluetooth-based robot social contact system and apparatus | |
CN106302666B (en) | Data push method and device | |
CN103995872A (en) | Method and system for discussions and chat on basis of scene in application | |
Wang et al. | Space collapse: reinforcing, reconfiguring and enhancing Chinese social practices through WeChat | |
CN105991377B (en) | The method for finding and communicating between universal plug and play UPnP device | |
WO2009077901A1 (en) | Method and system for enabling conversation | |
CN108712359A (en) | A kind of virtual reality social contact method and system | |
CN104836827B (en) | Data processing method and system based on asymmetric P2P networks | |
CN109150981A (en) | Block chain network network-building method, device, equipment and computer readable storage medium | |
CN105610698B (en) | The treating method and apparatus of event result | |
Setiawan et al. | Task analysis of facebook users on frequently used menus | |
CN104537113B (en) | Social networking system searching method | |
WO2017107563A1 (en) | Method and device for processing access region monitoring |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |