CN104967652A - Event subscription method, apparatus and system - Google Patents

Event subscription method, apparatus and system Download PDF

Info

Publication number
CN104967652A
CN104967652A CN201510104714.1A CN201510104714A CN104967652A CN 104967652 A CN104967652 A CN 104967652A CN 201510104714 A CN201510104714 A CN 201510104714A CN 104967652 A CN104967652 A CN 104967652A
Authority
CN
China
Prior art keywords
event
server
subscription list
event information
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510104714.1A
Other languages
Chinese (zh)
Other versions
CN104967652B (en
Inventor
莫贤志
徐晓敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510104714.1A priority Critical patent/CN104967652B/en
Publication of CN104967652A publication Critical patent/CN104967652A/en
Application granted granted Critical
Publication of CN104967652B publication Critical patent/CN104967652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses an event subscription method, apparatus and system, and belongs to the technical field of networks. The method comprises the following steps: receiving event information sent by a first service server, wherein the event information is generated by the first service server according to an event taking place on the first service server; and the event information at least comprises an event type; obtaining a subscription event corresponding to the event type, wherein the subscription list comprises an identification of a server subscribing the event; and sending the event information to the server indicated by the server identification. According to the invention, an event agent server maintains the subscription list corresponding to the event type, when the service server generates the event, the event information is sent to the event agent server, and the event agent server sends the event information to another service server subscribing the event, such that operation of the service server is simplified, the processing pressure of the service server is reduced, the normal service processing of the service server is prevented from being affected, and the stability is improved.

Description

Event subscription method, Apparatus and system
Technical field
The present invention relates to networking technology area, particularly a kind of event subscription method, Apparatus and system.
Background technology
Along with the development of the Internet, the type of service of network system is more and more abundanter, and traffic carrying capacity is also increasing.In order to provide better service to user, network system can build multiple server, according to pending type of service, gives multiple server, process dissimilar business respectively by multiple server by pending traffic assignments.
In the process of process business, mutually can cooperate between multiple server, share information.For keeps, this keeps for the treatment of the logging request of terminal, when this keeps receives the logging request of terminal, the account of terminal is verified, when being verified, connects with this terminal, now, this keeps generation log-in events.And other servers may need to process business according to this log-in events, as record server needs the log-in events according to terminal, generate the login record of terminal; State server needs the log-in events according to terminal, and the state of terminal is adjusted to presence etc.These servers can subscribe to log-in events to this keeps, this keeps is according to the server identification subscribing to log-in events, generate subscription list, this subscription list comprises the server identification subscribing to log-in events, when this keeps generation log-in events, log-in events information can be generated, according to the server identification included by this subscription list, send log-in events information to the server subscribing to log-in events, notify this keeps generation log-in events of these servers.
Keeps business to be processed should be the logging request of processing terminal, but in above process, this keeps not only wants the logging request of processing terminal, also to safeguard the subscription list of log-in events, according to this subscription list, send log-in events information to each server subscribing to log-in events, complex operation, considerably increase the processing pressure of keeps, easily have influence on the normal process of business, poor stability.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of event subscription method, Apparatus and system.Described technical scheme is as follows:
First aspect, provides a kind of event subscription method, and described method is applied in event agent's server, and described method comprises:
Receive the event information that the first service server sends, described event information is generated according to event on described first service server by described first service server, and described event information at least comprises event type;
Obtain the subscription list that described event type is corresponding, described subscription list comprises the server identification subscribing to described event;
Described event information is sent to the server indicated by described server identification.
Second aspect, provide a kind of event subscription method, described method is applied in service server, and described method comprises:
When generation event being detected, generate event information according to event, described event information at least comprises event type;
Described event information is sent to event agent's server, described event agent's server is used for according to described event information, obtain the subscription list that described event type is corresponding, send described event information to the server indicated by the server identification that described subscription list comprises.
The third aspect, provide a kind of event subscription method, described method is applied in service server, and described method comprises:
According to pre-set business configuration information, determine event type to be subscribed to;
Subscribe request is sent to event agent's server, described subscribe request comprises described service server event type to be subscribed to and server identification, described event agent's server is used for described server identification to be added into subscription list corresponding to described event type, when receiving the event information comprising described event type, send described event information to the server indicated by the server identification that described subscription list comprises.
Fourth aspect, provide a kind of event subscription device, described device comprises:
Event information receiver module, for receiving the event information that the first service server sends, described event information is generated according to event on described first service server by described first service server, and described event information at least comprises event type;
Subscription list acquisition module, for obtaining subscription list corresponding to described event type, described subscription list comprises the server identification subscribing to described event;
Sending module, for sending described event information to the server indicated by described server identification.
5th aspect, provide a kind of event subscription device, described device comprises:
Event information generation module, for when generation event being detected, generate event information according to event, described event information at least comprises event type;
Sending module, for sending described event information to event agent's server, described event agent's server is used for according to described event information, obtains the subscription list that described event type is corresponding, sends described event information to the server indicated by the server identification that described subscription list comprises.
6th aspect, provide a kind of event subscription device, described device comprises:
Event type determination module, for according to pre-set business configuration information, determines event type to be subscribed to;
Subscribe request sending module, for sending subscribe request to event agent's server, described subscribe request comprises described service server event type to be subscribed to and server identification, described event agent's server is used for described server identification to be added into subscription list corresponding to described event type, when receiving the event information comprising described event type, send described event information to the server indicated by the server identification that described subscription list comprises.
7th aspect, provide a kind of event subscription system, described system comprises: event agent's server, the first service server and the second service server;
Described second service server is used for according to pre-set business configuration information, determines event type to be subscribed to, and send subscribe request to described event agent's server, described subscribe request comprises described service server event type to be subscribed to and server identification;
When described event agent's server is used for receiving described subscribe request, described server identification is added into subscription list corresponding to described event type;
Described first service server is used for when generation event being detected, and generate event information according to event, described event information at least comprises event type; Described event information is sent to described event agent's server;
When described event agent's server is also for receiving described event information, obtain the subscription list that described event type is corresponding, described subscription list comprises the server identification subscribing to described event; Described event information is sent to the server indicated by described server identification.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The method that the embodiment of the present invention provides, Apparatus and system, by by subscription list corresponding to event agent's server maintenance event type, when service server generation event, only event information need be sent to event agent's server, send event information by event agent's server to another service server subscribing to this event, simplify the operation of service server, reduce the processing pressure of service server, avoid and affect service server normal process business, improve stability.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of event subscription system that the embodiment of the present invention provides;
Fig. 2 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides;
Fig. 3 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides;
Fig. 4 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides;
Fig. 5 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides;
Fig. 6 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides;
Fig. 7 is a kind of event subscription apparatus structure schematic diagram that the embodiment of the present invention provides;
Fig. 8 is a kind of event subscription apparatus structure schematic diagram that the embodiment of the present invention provides;
Fig. 9 is a kind of event subscription apparatus structure schematic diagram that the embodiment of the present invention provides;
Figure 10 is the structural representation of a kind of event subscription system that the embodiment of the present invention provides;
Figure 11 is the structural representation of a kind of server that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the structural representation of a kind of event subscription system that the embodiment of the present invention provides, and this event subscription system comprises: event agent's server and multiple service server, is connected between this event agent's server with each service server by network.
For the first service server in multiple service server and the second service server, this first service server is reporting events side, and this second service server is event subscription side.This event agent's server is for safeguarding the subscription list that each event type is corresponding.This second service server, for determining event type to be subscribed to, sends subscribe request to this event agent's server, and this subscribe request carries the server identification of this event type and this second service server.This server identification, for receiving the subscribe request of this second service server, is added into subscription list corresponding to this event type by this event agent's server.This first service server is used for when generation event being detected, and generate event information according to this event, send this event information to this event agent's server, this event information at least comprises event type.When this event agent's server is used for receiving this event information, obtain the subscription list that this event information is corresponding, send this event information to the server indicated by the server identification that this subscription list comprises.
Fig. 2 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides.The executive agent of this inventive embodiments is event agent's server, and see Fig. 2, the method comprises:
201, receive the event information that the first service server sends, this event information is generated according to event on this first service server by this first service server, and this event information at least comprises event type.
202, obtain the subscription list that this event type is corresponding, this subscription list comprises the server identification subscribing to this event.
203, this event information is sent to the server indicated by this server identification.
The method that the embodiment of the present invention provides, by by subscription list corresponding to event agent's server maintenance event type, when service server generation event, only event information need be sent to event agent's server, send event information by event agent's server to another service server subscribing to this event, simplify the operation of service server, reduce the processing pressure of service server, avoid and affect service server normal process business, improve stability.
Alternatively, this subscription list comprises multiple grouping, and each grouping comprises at least one server identification;
Accordingly, this sends this event information to the server indicated by this server identification and comprises:
This event information is sent to the server indicated by the arbitrary server identification in each grouping.
Alternatively, this subscription list also comprises corresponding pre-conditioned of server identification;
Accordingly, this sends this event information to the server indicated by this server identification and comprises:
Judge whether this event information meets corresponding pre-conditioned of this server identification;
If this event information meets, this is pre-conditioned, then send this event information to the server indicated by this server identification.
Alternatively, the method also comprises:
Receive the subscribe request that the second service server sends, this subscribe request at least comprises this second service server event type to be subscribed to and server identification;
This server identification is added into subscription list corresponding to this event type.
Alternatively, the method also comprises:
When this subscribe request also comprises packet numbering, this server identification and this packet numbering correspondence are added into this subscription list;
Server identification identical for packet numbering in this subscription list is divided into a grouping.
Alternatively, the method also comprises:
When this subscribe request also comprises pre-conditioned, this server identification and this pre-conditioned correspondence are added into this subscription list.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 3 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides.The executive agent of this inventive embodiments is service server, and see Fig. 3, the method comprises:
301, when generation event being detected, generate event information according to event, this event information at least comprises event type.
302, send this event information to event agent's server, this event agent's server is used for according to this event information, obtains the subscription list that this event type is corresponding, sends this event information to the server indicated by the server identification that this subscription list comprises.
The method that the embodiment of the present invention provides, by when generation event being detected, only need generate event information according to this event, sending this event information to event agent's server, send event information by event agent's server to the service server subscribing to this event.The subscription list of Maintenance free event, also without the need to sending event information to each service server subscribing to this event, simplifying operation, reducing processing pressure, avoiding and affect normal process business, improve stability.
Fig. 4 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides.The executive agent of this inventive embodiments is service server, and see Fig. 4, the method comprises:
401, according to pre-set business configuration information, event type to be subscribed to is determined.
402, subscribe request is sent to event agent's server, this subscribe request comprises this service server event type to be subscribed to and server identification, this event agent's server is used for this server identification to be added into subscription list corresponding to this event type, when receiving the event information comprising this event type, send this event information to the server indicated by the server identification that this subscription list comprises.
The method that the embodiment of the present invention provides, by determining after the event type subscribed to, this event is subscribed to event agent's server, and do not subscribe to this event to the service server that this event occurs, make when service server detects this event of generation, only need generate event information according to this event, send this event information to event agent's server, return event information by event agent's server.Without the need to the subscription list of service server maintenance event, also event information is sent without the need to service server to each service server subscribing to this event, simplify the operation of service server, reduce the processing pressure of service server, avoid and affect service server normal process business, improve stability.
Alternatively, the method also comprises:
According to this pre-set business configuration information, determine the packet numbering of this service server;
This subscribe request is sent to this event agent's server, this subscribe request comprises this event type, this server identification and this packet numbering, this event agent's server is used for this server identification and this packet numbering correspondence to be added into this subscription list, server identification identical for packet numbering in this subscription list is divided into a grouping.
Alternatively, the method also comprises:
According to this pre-set business configuration information, determine pre-conditioned, this is pre-conditioned for specifying the condition that ordered event information should meet;
Send this subscribe request to this event agent's server, this subscribe request comprises this event type, this server identification and this is pre-conditioned, and this event agent's server is used for this server identification and this pre-conditioned correspondence to be added into this subscription list.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 5 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides.The embodiment of the present invention is applied to event subscription system, this event subscription system comprises event agent's server and multiple service server, the embodiment of the present invention take interaction agent as event agent's server and the second service server is example, the process that this second service server subscribes to event to this event agent's server is described, see Fig. 5, the method comprises:
501, the second service server is according to pre-set business configuration information, determines the packet numbering of event type to be subscribed to, pre-conditioned and this second service server.
Wherein, this pre-set business configuration information is pre-determined by this second service server, and specifically can determine according to the business of this second service server process, the embodiment of the present invention does not limit this.This second service server, according to this pre-set business configuration information, can determine the information such as the packet numbering of event type to be subscribed to, pre-conditioned and this second service server.
In application process, very eurypalynous event may be there is in other service servers except this second service server, as log-in events, off-line event, relation chain altering event etc., this second service server can according to business to be processed, determine event type to be subscribed to, so that the event information that this event type of follow-up acquisition is corresponding, and event information corresponding to the event type do not subscribed to can not be obtained.During practical application, this event subscription system can arrange a Case Number for each event type, this second service server can according to event type to be subscribed to, obtain corresponding Case Number, this event type is represented with this Case Number, follow-up to event agent's server send subscribe request time, this subscribe request can comprise this Case Number.Such as, this second service server only needs to process the log-in events of user, then determine that event type to be subscribed to is log-in events, log-in events be numbered 33, then this subscribe request can comprise field " event-type=33 ".
This is pre-conditioned for specifying the condition that ordered event information should meet, pre-conditionedly can to filter event information according to this, to filter out the unwanted event information of this second service server, this is pre-conditioned can comprise the user account scope of generation event, Time To Event scope or other conditions, and this pre-conditioned can be self-defined by this second service server, the embodiment of the present invention does not limit this.Such as, this second service server only needs the user account institute event to tail number is 1 to process, then can determine that this is pre-conditioned for " tail number of user account is 1 ", this second service server follow-up can receive the event information that tail number is the user account of 1, and can not receive the event information of other user accounts.
This packet numbering is for identifying the grouping belonging to this second service server, and a grouping comprises one or more service server.When practical application, in order to alleviate the traffic pressure of single service server, this event subscription system may comprise the service server of multiple process identical services, whenever will processing corresponding business, by one of them this business of service server process, then can distribute identical packet numbering for the service server of the plurality of process identical services, represent that the plurality of service server belongs to same grouping.The event type that multiple service servers of same grouping are to be subscribed to is identical, it is pre-conditioned also identical that event information should meet, when this event agent's server follow-up returns event information to the grouping belonging to this second service server, only need select one of them service server from this grouping.
502, this second service server sends subscribe request to event agent's server, and this subscribe request comprises server identification, this event type, this pre-conditioned and this packet numbering of this second service server.
The embodiment of the present invention is come for service server subscribes to event by this event agent's server, when service server needs subscription event, can send subscribe request to this event agent's server.
The embodiment of the present invention sends this subscribe request for this second service server to this event agent's server, and this subscribe request comprises server identification, this event type, this pre-conditioned and this packet numbering of this second service server.Wherein, this server identification is used for uniquely determining this second service server, and can be IP (Internet Protocol, Internet protocol) address, the server numbering etc. of this second service server, the embodiment of the present invention limit this.
And when practical application, this second service server also may not arrange this pre-conditioned and this packet numbering, then this subscribe request does not comprise this pre-conditioned and this packet numbering.That is to say, this subscribe request at least comprises this server identification and this event type, and can also comprise at least one item in this pre-conditioned and this packet numbering, the embodiment of the present invention does not limit this.
In addition, before sending subscribe request to this event agent's server, this second service server can also first to this event agent's server registration, by this event agent's server, this second service server is verified, after being verified, this second service server succeeds in registration, now, this second service server sends this subscribe request to this event agent's server again, and the embodiment of the present invention does not limit this.
503, when this event agent's server receives this subscribe request, obtain the subscription list that this event type is corresponding, this server identification, this pre-conditioned and this packet numbering correspondence are added into this subscription list, server identification identical for packet numbering in this subscription list are divided into a grouping.
In the embodiment of the present invention, this event agent's server can generate subscription list corresponding to each event type, subscription list comprises the server identification subscribing to the event corresponding with this event type, this event agent's server follow-up according to the subscribe request of each service server, can safeguard subscription list.In addition, this event agent's server can generate a total subscription list, this total subscription list comprises subscription list corresponding to each event type, when this event agent's server receives this subscribe request, this total subscription list can be inquired about according to this event type, obtain the subscription list that this event type is corresponding.
When this event agent's server receives the subscribe request of this second service server, obtain the subscription list that this event type is corresponding, this server identification, this pre-conditioned and this packet numbering correspondence are added into this subscription list.Afterwards, server identification identical for packet numbering in this subscription list can be divided into a grouping by this event agent's server, so that during subsequently received event information, only send this event information to one of them server in same grouping, and do not send this event information to the Servers-all in this grouping.In fact, server identification identical for packet numbering in this subscription list is divided into a grouping by this event agent's server in advance, obtains at least one grouping.In subsequent process, when this event agent's server receives subscribe request, inquire about in this subscription list and whether comprised grouping corresponding to packet numbering that this subscribe request comprises, if comprised grouping corresponding to this packet numbering in this subscription list, the server identification then this subscribe request comprised and be pre-conditionedly added in this grouping, if do not comprise the grouping of this packet numbering in this subscription list, then this packet numbering, this server identification and this pre-conditioned correspondence are added into this subscription list, as an independent grouping.
The embodiment of the present invention comprises this server identification for this subscribe request, this event type, this pre-conditioned and this packet numbering are described, in fact, when this subscribe request only comprises this server identification and this event type, this server identification is added in subscription list corresponding to this event type by this event agent's server.And when this subscribe request only comprise this server identification, this event type and this pre-conditioned time, this server identification and this pre-conditioned correspondence are added in subscription list corresponding to this event type by this event agent's server.When this subscribe request only comprises this server identification, this event type and this packet numbering, this server identification and this packet numbering correspondence are added in subscription list corresponding to this event type by this event agent's server, server identification identical for packet numbering in this subscription list are divided into a grouping.
Such as, the subscription list of this event agent's server can be as shown in table 1 below.The packet numbering of server identification IP1 and IP2 is 272, belongs to same grouping, and the event type subscribed in this grouping is " event-type=33 ".The event type of the subscription of server identification IP3 and IP4 is " event-type=10 ", and the pre-conditioned of server identification IP3 is " user account tail number is 1 ", and the pre-conditioned of server identification IP4 is " user account tail number is 2 ".
Table 1
In addition, this second service server is after this event agent's server subscription event, and can also cancel subscriptions this event.This second service server can determine event type to be cancelled subscriptions, the request of cancelling subscriptions is sent to this event agent's server, this request of cancelling subscriptions comprises this server identification and this event type, this event agent's server receive this cancel subscriptions request time, obtain the subscription list that this event type is corresponding, the information such as pre-conditioned, the packet numbering of this server identification and correspondence are deleted from this subscription list.
In embodiments of the present invention, the service server of subscription event sends subscribe request to this event agent's server, this event agent's server is according to the server identification in subscribe request, generate this subscription list, then when this event occurs service server, event information can be reported this event agent's server, this event agent's server is according to this subscription list, the service server subscribing to this event can be determined, thus return event information to the service server subscribing to this event.
Subscription list is safeguarded by the service server of the event of generation in correlation technique, for other service servers subscribe to this event, close coupling between the service server of generation event and the service server subscribing to this event, when service server receive other service servers subscribe request or cancel subscriptions request time, need to change subscription list, attendant may be needed in change process to change the configuration of this service server, and carry out reboot operation, delay the normal process of business, and once change procedure failure, be easy to cause service server to break down, affect normal process business, linear expansion complicated operation, later stage operation maintenance degree of difficulty is very high.
And in the embodiment of the present invention, the service server of generation event is coupled with separating between the service server subscribing to this event, service server only need carry out alternately with event agent's server, using the gangway for transhipment of event agent's server as service server, come for service server subscribes to event by event agent's server, the event information of distribution magnanimity when the event of generation.And, this this subscription list of event agent's server maintenance, can according to the subscribe request of service server or the request of cancelling subscriptions, automatically subscription list is changed, service server normal process business can not be affected in change process, achieve the linear expansion of subscription list, later stage operation maintenance is comparatively simple.
It should be noted that, the embodiment of the present invention is described with event agent's server, in fact, this event subscription system can also comprise multiple event agent's server, the magnanimity event information that service server generates balancedly can send to the plurality of event agent's server, this event information is distributed, to avoid the pressure of single incident proxy server excessive to the service server subscribing to corresponding event by the event agent's server receiving event information.
The method that the embodiment of the present invention provides, determine after the event type subscribed to by the second service server, this event is subscribed to event agent's server, and do not subscribe to this event to the service server that this event occurs, make when service server detects this event of generation, only need generate event information according to this event, send this event information to event agent's server, return event information by event agent's server.Without the need to the subscription list of service server maintenance event, also event information is sent without the need to service server to each service server subscribing to this event, simplify the operation of service server, reduce the processing pressure of service server, avoid and affect service server normal process business, improve stability.And event agent's server can automatically change subscription list, can not affect service server normal process business, achieve the linear expansion of subscription list, later stage operation maintenance is comparatively simple.
In above-described embodiment, the process of the event of subscription is described, and after subscription event, when this event occurs other service servers, can send this event information by event agent's server to the service server subscribing to this event, detailed process refers to next embodiment.
Fig. 6 is the flow chart of a kind of event subscription method that the embodiment of the present invention provides.The embodiment of the present invention is applied to event subscription system, this event subscription system comprises event agent's server and multiple service server, the embodiment of the present invention take interaction agent as event agent's server and the first service server is example, processing procedure during this first service server generation event is described, see Fig. 6, the method comprises:
601, when the first service server detects generation event, generate event information according to event, this event information at least comprises event type.
Wherein, this event information at least comprises event type, can also comprise event sequence number, Time To Event, the user account of generation event, the server identification (i.e. the server identification of the first service server) of time of origin or other information etc., the embodiment of the present invention does not limit this.When this first service server detects generation event, event information can be generated according to this event.
602, this first service server sends this event information to this event agent's server.
When this first service server gets this event information, send this event information to this event agent's server, send this event information by this event agent's server to the service server subscribing to this event.
603, when this event agent's server receives this event information, the subscription list that this event type is corresponding is obtained.
This event processing server preserves subscription list corresponding to each event type, when this event agent's server receives this event information, determines to obtain the subscription list that this event type is corresponding by the event type that this event information comprises.
604, for each grouping in this subscription list, from the server identification of this grouping, select a server identification, judge whether to comprise in this subscription list corresponding pre-conditioned of the server identification of selection.
This subscription list comprises multiple server identification, and this event agent's server travels through each server identification, to send this event information to the service server indicated by each server identification.
Further, this subscription list comprises multiple grouping, and each grouping comprises one or more server identification, and in same grouping, the packet numbering of server identification is identical, and in different grouping, the packet numbering of server identification is different.This event agent's server can travel through each grouping, when the current grouping traversed comprises multiple server identification, in the service server indicated by these server identifications, only by the business that one of them this event of service server process is corresponding.So, this event agent's server can select a server identification from multiple server identifications of this grouping.Particularly, this event agent's server can from multiple server identifications of this grouping Stochastic choice server identification, also loading condition that can be current according to service server multiple in this grouping, select the service server that present load is minimum, the embodiment of the present invention does not limit this.Certainly, only comprise a server identification in the grouping traversed if current, this event agent's server directly selects this server identification.
When this event agent's server traverses server identification, first can judge whether the service server indicated by this server identification is in line states, if this service server is in line states, carry out follow-up determining step again, to determine whether to send this event information to this service server, if this service server is in off-line state, then do not carry out follow-up determining step, also without the need to sending this event information to this service server.When practical application, when service server is in line states, can keep being connected with the length between this event agent's server, periodically send heartbeat packet to this event agent's server, according to the heartbeat packet received, this event agent's server determines that this service server is in line states.If this event agent's server exceedes the heartbeat packet that preset duration does not also receive this service server, can determine that this service server is in off-line state.Cycle and this preset duration of service server transmission heartbeat packet can be consulted to determine by this event agent's server and service server, and the embodiment of the present invention does not limit this.
If 605 these subscription lists comprise corresponding pre-conditioned of this server identification, judge whether this event information meets that this is pre-conditioned.
Due to corresponding pre-conditioned of server identification may be comprised in this subscription list, after then this event agent's server have selected server identification, judge whether to comprise in this subscription list corresponding pre-conditioned of the server identification of selection, if do not comprise corresponding pre-conditioned of this server identification in this subscription list, this event agent's server can send this event information directly to the service server indicated by this server identification, if this subscription list comprises corresponding pre-conditioned of this server identification, this event agent's server first judges whether this event information meets that this is pre-conditioned.
If 606 these event informations meet, this is pre-conditioned, and this event agent's server sends this event information to the service server indicated by this server identification.
If this event information meets, this is pre-conditioned, this event agent's server sends this event information to the service server indicated by this server identification, if this event information does not meet, this is pre-conditioned, this event agent's server does not send this event information to the service server indicated by this server identification, avoids causing the unnecessary wasting of resources.
607, when the service server indicated by this server identification receives this event information, according to this event information process business.
When service server indicated by this server identification receives this event information, determine that this event occurs, now, this service server according to event information, can process corresponding business.
For this service server for login prompt server, this login prompt server is for pointing out the log-in events of user.This service server preserves the customer relationship chain of each user account, and this customer relationship chain comprises multiple user account.When this login prompt server receives the log-in events information of this event agent's server transmission, obtain the first user account that this log-in events information comprises, that is to say the first user account that log-in events occurs, according to the multiple customer relationship chains preserved, determine that customer relationship chain comprises the second user account of this first user account, send login prompt message to the second user account determined, log in point out this first user account of the second user account.
The method that the embodiment of the present invention provides, by by subscription list corresponding to event agent's server maintenance event type, when this first service server generation event, only event information need be sent to event agent's server, send event information by event agent's server to the service server subscribing to this event, simplify the operation of the first service server, reduce the processing pressure of the first service server, avoid and affect the first service server normal process business, improve stability.
It should be noted that, above-mentioned steps 501-503 is described the process that this second service server subscribes to event to this event agent's server, and above-mentioned steps 601-606 is described processing procedure during this first service server generation event.In actual applications, for the event of same type, inevitable sequential relationship is not had between step 501-503 and step 601-606, above-mentioned steps 501-503 can be performed before above-mentioned steps 601-606, also above-mentioned steps 501-503 can be performed after above-mentioned steps 601-606, or executed in parallel above-mentioned steps 501-503 and step 601-606, the embodiment of the present invention does not limit this.And for same service server, this service server both can perform above-mentioned steps 501-503, event is subscribed to this event agent's server, the event information that this event agent's server of receipt of subsequent returns, also above-mentioned steps 601-606 can be performed, the event information that this service server occurs event is reported this event agent's server, and the embodiment of the present invention does not limit this.
In conjunction with above-described embodiment, with this first service server generation log-in events, it is example that this second service server subscribes to log-in events, and the method can comprise the steps (1)-(5):
(1), this second service server to this event agent's server send subscribe request, this subscribe request comprises the server identification (IP1) of log-in events type (event-type=33) and this second service server.
(2), this event agent's server is when receiving this subscribe request, this server identification (IP1) is added into the subscription list that this log-in events type (event-type=33) is corresponding.Now, this subscription list comprises the server identification (IP1) of this second service server, shown in table 2 specific as follows.
Table 2
Event type Server identification
event-type=33 IP1
(3), this first service server generation log-in events time, according to this log-in events, generate log-in events information, this log-in events information at least comprises this log-in events type (event-type=33).This first service server sends this log-in events information to this event agent's server.
This log-in events information can be as shown in table 3 below, and this log-in events information comprises event sequence number " 01 ", time of origin " 12:23:12 ", event type " event-type=33 ", user account " 813XXXX56 ".Wherein, event sequence number " 01 " represents that this event is first event that this first service server occurs, time of origin " 12:23:12 " represents that this event occurred at 12: 23: 12, event type " event-type=33 " represents that this event is log-in events, and user account " 813XXXX56 " represents that the user account that log-in events occurs is " 813XXXX56 ".
Table 3
Event sequence number Time of origin Event type User account
01 12:23:12 event-type=33 813XXXX56
(4), when this event agent's server receives this log-in events information, the subscription list that this log-in events type (event-type=33) is corresponding is obtained.As shown in table 2, this subscription list comprises server identification (IP1), then this event agent's server is according to server identification (IP1), sends this log-in events information to this second service server.
(5), this second service server receives this log-in events information, according to this log-in events information handing service.
Fig. 7 is a kind of event subscription apparatus structure schematic diagram that the embodiment of the present invention provides, and see Fig. 7, this device comprises:
Event information receiver module 701, for receiving the event information that the first service server sends, this event information is generated according to event on this first service server by this first service server, and this event information at least comprises event type;
Subscription list acquisition module 702 is connected with event information receiver module 701, and for obtaining subscription list corresponding to this event type, this subscription list comprises the server identification subscribing to this event;
Sending module 703 is connected with subscription list acquisition module 702, for sending this event information to the server indicated by this server identification.
The device that the embodiment of the present invention provides, by the subscription list that maintenance event type is corresponding, when service server generation event, only event information need be sent to this device, send event information by this device to another service server subscribing to this event, simplify the operation of service server, reduce the processing pressure of service server, avoid and affect service server normal process business, improve stability.
Alternatively, this subscription list comprises multiple grouping, and each grouping comprises at least one server identification;
Accordingly, this sending module 703 is also for sending this event information to the server indicated by the arbitrary server identification in each grouping.
Alternatively, this subscription list also comprises corresponding pre-conditioned of server identification;
Accordingly, this sending module 703 is also for judging whether this event information meets corresponding pre-conditioned of this server identification; If this event information meets, this is pre-conditioned, then send this event information to the server indicated by this server identification.
Alternatively, this device also comprises:
Subscribe request receiver module, for receiving the subscribe request that the second service server sends, this subscribe request at least comprises this second service server event type to be subscribed to and server identification;
Add module, for this server identification is added into subscription list corresponding to this event type.
Alternatively, this device also comprises:
This interpolation module, also for when this subscribe request also comprises packet numbering, is added into this subscription list by this server identification and this packet numbering correspondence;
Grouping module, for dividing a grouping into by server identification identical for packet numbering in this subscription list.
Alternatively, this server identification and this pre-conditioned correspondence, also for when this subscribe request also comprises pre-conditioned, are added into this subscription list by this interpolation module.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 8 is a kind of event subscription apparatus structure schematic diagram that the embodiment of the present invention provides, and see Fig. 8, this device comprises:
Event information generation module 801, for when generation event being detected, generate event information according to event, this event information at least comprises event type;
Sending module 802 is connected with event information generation module 801, for sending this event information to event agent's server, this event agent's server is used for according to this event information, obtain the subscription list that this event type is corresponding, send this event information to the server indicated by the server identification that this subscription list comprises.
The device that the embodiment of the present invention provides, by when generation event being detected, only need generate event information according to this event, sending this event information to event agent's server, send event information by event agent's server to the service server subscribing to this event.The subscription list of Maintenance free event, also without the need to sending event information to each service server subscribing to this event, simplifying operation, reducing processing pressure, avoiding and affect normal process business, improve stability.
Fig. 9 is a kind of event subscription apparatus structure schematic diagram that the embodiment of the present invention provides, and see Fig. 9, this device comprises:
Event type determination module 901, for according to pre-set business configuration information, determines event type to be subscribed to;
Subscribe request sending module 902 is connected with event type determination module 901, for sending subscribe request to event agent's server, this subscribe request comprises this service server event type to be subscribed to and server identification, this event agent's server is used for this server identification to be added into subscription list corresponding to this event type, when receiving the event information comprising this event type, send this event information to the server indicated by the server identification that this subscription list comprises.
The device that the embodiment of the present invention provides, by determining after the event type subscribed to, this event is subscribed to event agent's server, and do not subscribe to this event to the service server that this event occurs, make when service server detects this event of generation, only need generate event information according to this event, send this event information to event agent's server, return event information by event agent's server.Without the need to the subscription list of service server maintenance event, also event information is sent without the need to service server to each service server subscribing to this event, simplify the operation of service server, reduce the processing pressure of service server, avoid and affect service server normal process business, improve stability.
Alternatively, this device also comprises:
Packet numbering determination module, for according to this pre-set business configuration information, determines the packet numbering of this service server;
This subscribe request sending module 902, also for sending this subscribe request to this event agent's server, this subscribe request comprises this event type, this server identification and this packet numbering, this event agent's server is used for this server identification and this packet numbering correspondence to be added into this subscription list, server identification identical for packet numbering in this subscription list is divided into a grouping.
Alternatively, this device also comprises:
Pre-conditioned determination module, for according to this pre-set business configuration information, determines pre-conditioned, and this is pre-conditioned for specifying the condition that ordered event information should meet;
This subscribe request sending module 902, also for sending this subscribe request to this event agent's server, this subscribe request comprises this event type, this server identification and this is pre-conditioned, and this event agent's server is used for this server identification and this pre-conditioned correspondence to be added into this subscription list.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
It should be noted that: the event subscription device that above-described embodiment provides is when the event of subscription, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by event agent's server and service server is divided into different functional modules, to complete all or part of function described above.In addition, the event subscription device that above-described embodiment provides and event subscription embodiment of the method belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Figure 10 is the structural representation of a kind of event subscription system that the embodiment of the present invention provides, and see Figure 10, this system comprises: event agent's server 1001, first service server 1002 and the second service server 1003;
Described second service server 1003 is for according to pre-set business configuration information, determine event type to be subscribed to, send subscribe request to described event agent's server 1001, described subscribe request comprises described service server event type to be subscribed to and server identification;
When described event agent's server 1001 is for receiving described subscribe request, described server identification is added into subscription list corresponding to described event type;
Described first service server 1002 is for when generation event being detected, and generate event information according to event, described event information at least comprises event type; Described event information is sent to described event agent's server 1001;
When described event agent's server 1001 is also for receiving described event information, obtain the subscription list that described event type is corresponding, described subscription list comprises the server identification subscribing to described event; Described event information is sent to the server indicated by described server identification.
Alternatively, described second service server 1003, also for according to described pre-set business configuration information, determines the packet numbering of described service server; Send described subscribe request to described event agent's server 1001, described subscribe request comprises described event type, described server identification and described packet numbering; Server identification identical for packet numbering in described subscription list, for described server identification and described packet numbering correspondence are added into described subscription list, is divided into a grouping by described event agent's server 1001.
Accordingly, described subscription list comprises multiple grouping, and each grouping comprises at least one server identification; Described event agent's server 1001 is also for sending described event information to the server indicated by the arbitrary server identification in each grouping.
Alternatively, described second service server 1003, also for according to described pre-set business configuration information, is determined pre-conditioned, described pre-conditioned for specifying the condition that ordered event information should meet; Described subscribe request is sent to described event agent's server 1001, described subscribe request comprises described event type, described server identification and described pre-conditioned, and described event agent's server 1001 is also for being added into described subscription list by described server identification and described pre-conditioned correspondence.
Accordingly, described subscription list also comprises corresponding pre-conditioned of server identification; Described event agent's server 1001 is also for judging whether described event information meets corresponding pre-conditioned of described server identification; If described event information meets described pre-conditioned, then send described event information to the server indicated by described server identification.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Figure 11 is a kind of server architecture schematic diagram that the embodiment of the present invention provides.This server 1100 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 1122 (such as, one or more processors) and memory 1132, one or more store the storage medium 1130 (such as one or more mass memory units) of application program 1142 or data 1144.Wherein, memory 1132 and storage medium 1130 can be of short duration storages or store lastingly.The program being stored in storage medium 1130 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1122 can be set to communicate with storage medium 1130, and server 1100 performs a series of command operatings in storage medium 1130.
Server 1100 can also comprise one or more power supplys 1126, one or more wired or wireless network interfaces 1150, one or more input/output interfaces 1158, one or more keyboards 1156, and/or, one or more operating systems 1141, such as Windows Server tM, Mac OSX tM, Unix tM, Linux tM, FreeBSD tMetc..
Server 1100 may be used for performing event agent's server or the step performed by service server in foregoing invention embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (21)

1. an event subscription method, is characterized in that, described method is applied in event agent's server, and described method comprises:
Receive the event information that the first service server sends, described event information is generated according to event on described first service server by described first service server, and described event information at least comprises event type;
Obtain the subscription list that described event type is corresponding, described subscription list comprises the server identification subscribing to described event;
Described event information is sent to the server indicated by described server identification.
2. method according to claim 1, is characterized in that, described subscription list comprises multiple grouping, and each grouping comprises at least one server identification;
Accordingly, describedly send described event information to the server indicated by described server identification and comprise:
Described event information is sent to the server indicated by the arbitrary server identification in each grouping.
3. method according to claim 1, is characterized in that, described subscription list also comprises corresponding pre-conditioned of server identification;
Accordingly, describedly send described event information to the server indicated by described server identification and comprise:
Judge whether described event information meets corresponding pre-conditioned of described server identification;
If described event information meets described pre-conditioned, then send described event information to the server indicated by described server identification.
4. method according to claim 1, is characterized in that, described method also comprises:
Receive the subscribe request that the second service server sends, described subscribe request at least comprises described second service server event type to be subscribed to and server identification;
Described server identification is added into subscription list corresponding to described event type.
5. method according to claim 4, is characterized in that, described method also comprises:
When described subscribe request also comprises packet numbering, described server identification and described packet numbering correspondence are added into described subscription list;
Server identification identical for packet numbering in described subscription list is divided into a grouping.
6. method according to claim 4, is characterized in that, described method also comprises:
When described subscribe request also comprises pre-conditioned, described server identification and described pre-conditioned correspondence are added into described subscription list.
7. an event subscription method, is characterized in that, described method is applied in service server, and described method comprises:
When generation event being detected, generate event information according to event, described event information at least comprises event type;
Described event information is sent to event agent's server, described event agent's server is used for according to described event information, obtain the subscription list that described event type is corresponding, send described event information to the server indicated by the server identification that described subscription list comprises.
8. an event subscription method, is characterized in that, described method is applied in service server, and described method comprises:
According to pre-set business configuration information, determine event type to be subscribed to;
Subscribe request is sent to event agent's server, described subscribe request comprises described service server event type to be subscribed to and server identification, described event agent's server is used for described server identification to be added into subscription list corresponding to described event type, when receiving the event information comprising described event type, send described event information to the server indicated by the server identification that described subscription list comprises.
9. method according to claim 8, is characterized in that, described method also comprises:
According to described pre-set business configuration information, determine the packet numbering of described service server;
Described subscribe request is sent to described event agent's server, described subscribe request comprises described event type, described server identification and described packet numbering, described event agent's server is used for described server identification and described packet numbering correspondence to be added into described subscription list, server identification identical for packet numbering in described subscription list is divided into a grouping.
10. method according to claim 8, is characterized in that, described method also comprises:
According to described pre-set business configuration information, determine pre-conditioned, described pre-conditioned for specifying the condition that ordered event information should meet;
Described subscribe request is sent to described event agent's server, described subscribe request comprises described event type, described server identification and described pre-conditioned, and described event agent's server is used for described server identification and described pre-conditioned correspondence to be added into described subscription list.
11. 1 kinds of event subscription devices, is characterized in that, described device comprises:
Event information receiver module, for receiving the event information that the first service server sends, described event information is generated according to event on described first service server by described first service server, and described event information at least comprises event type;
Subscription list acquisition module, for obtaining subscription list corresponding to described event type, described subscription list comprises the server identification subscribing to described event;
Sending module, for sending described event information to the server indicated by described server identification.
12. devices according to claim 11, it is characterized in that, described subscription list comprises multiple grouping, each grouping comprises at least one server identification;
Accordingly, described sending module is also for sending described event information to the server indicated by the arbitrary server identification in each grouping.
13. devices according to claim 11, is characterized in that, described subscription list also comprises corresponding pre-conditioned of server identification;
Accordingly, described sending module is also for judging whether described event information meets corresponding pre-conditioned of described server identification; If described event information meets described pre-conditioned, then send described event information to the server indicated by described server identification.
14. devices according to claim 11, is characterized in that, described device also comprises:
Subscribe request receiver module, for receiving the subscribe request that the second service server sends, described subscribe request at least comprises described second service server event type to be subscribed to and server identification;
Add module, for described server identification is added into subscription list corresponding to described event type.
15. devices according to claim 14, is characterized in that, described device also comprises:
Described interpolation module, also for when described subscribe request also comprises packet numbering, is added into described subscription list by described server identification and described packet numbering correspondence;
Grouping module, for dividing a grouping into by server identification identical for packet numbering in described subscription list.
16. devices according to claim 14, is characterized in that, described server identification and described pre-conditioned correspondence, also for when described subscribe request also comprises pre-conditioned, are added into described subscription list by described interpolation module.
17. 1 kinds of event subscription devices, is characterized in that, described device comprises:
Event information generation module, for when generation event being detected, generate event information according to event, described event information at least comprises event type;
Sending module, for sending described event information to event agent's server, described event agent's server is used for according to described event information, obtains the subscription list that described event type is corresponding, sends described event information to the server indicated by the server identification that described subscription list comprises.
18. 1 kinds of event subscription devices, is characterized in that, described device comprises:
Event type determination module, for according to pre-set business configuration information, determines event type to be subscribed to;
Subscribe request sending module, for sending subscribe request to event agent's server, described subscribe request comprises described service server event type to be subscribed to and server identification, described event agent's server is used for described server identification to be added into subscription list corresponding to described event type, when receiving the event information comprising described event type, send described event information to the server indicated by the server identification that described subscription list comprises.
19. devices according to claim 18, is characterized in that, described device also comprises:
Packet numbering determination module, for according to described pre-set business configuration information, determines the packet numbering of described service server;
Described subscribe request sending module, also for sending described subscribe request to described event agent's server, described subscribe request comprises described event type, described server identification and described packet numbering, described event agent's server is used for described server identification and described packet numbering correspondence to be added into described subscription list, server identification identical for packet numbering in described subscription list is divided into a grouping.
20. devices according to claim 18, is characterized in that, described device also comprises:
Pre-conditioned determination module, for according to described pre-set business configuration information, determines pre-conditioned, described pre-conditioned for specifying the condition that ordered event information should meet;
Described subscribe request sending module, also for sending described subscribe request to described event agent's server, described subscribe request comprises described event type, described server identification and described pre-conditioned, and described event agent's server is used for described server identification and described pre-conditioned correspondence to be added into described subscription list.
21. 1 kinds of event subscription systems, is characterized in that, described system comprises: event agent's server, the first service server and the second service server;
Described second service server is used for according to pre-set business configuration information, determines event type to be subscribed to, and send subscribe request to described event agent's server, described subscribe request comprises described service server event type to be subscribed to and server identification;
When described event agent's server is used for receiving described subscribe request, described server identification is added into subscription list corresponding to described event type;
Described first service server is used for when generation event being detected, and generate event information according to event, described event information at least comprises event type; Described event information is sent to described event agent's server;
When described event agent's server is also for receiving described event information, obtain the subscription list that described event type is corresponding, described subscription list comprises the server identification subscribing to described event; Described event information is sent to the server indicated by described server identification.
CN201510104714.1A 2015-03-10 2015-03-10 Event subscription method, apparatus and system Active CN104967652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510104714.1A CN104967652B (en) 2015-03-10 2015-03-10 Event subscription method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510104714.1A CN104967652B (en) 2015-03-10 2015-03-10 Event subscription method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104967652A true CN104967652A (en) 2015-10-07
CN104967652B CN104967652B (en) 2019-07-09

Family

ID=54221593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510104714.1A Active CN104967652B (en) 2015-03-10 2015-03-10 Event subscription method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104967652B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210049A (en) * 2016-07-12 2016-12-07 Tcl集团股份有限公司 A kind of cluster communication method based on Message Queuing and system
CN106651066A (en) * 2015-10-29 2017-05-10 奇点新源国际技术开发(北京)有限公司 Data processing method and platform
CN107220129A (en) * 2017-04-14 2017-09-29 武汉斗鱼网络科技有限公司 Communication means and system between a kind of software module
CN107743084A (en) * 2017-11-17 2018-02-27 普天智能照明研究院有限公司 Panel, system and control method based on event triggering controlled plant
CN110392104A (en) * 2019-07-18 2019-10-29 腾讯科技(深圳)有限公司 Method of data synchronization, system, server and storage medium
CN110415031A (en) * 2019-07-22 2019-11-05 广州虎牙科技有限公司 Interact lottery drawing method, device, electronic equipment and computer readable storage medium
CN110430121A (en) * 2019-06-26 2019-11-08 口碑(上海)信息技术有限公司 Message informing method and device
CN110557424A (en) * 2018-06-04 2019-12-10 中国移动通信有限公司研究院 group communication method and device, communication equipment and storage medium
CN111309406A (en) * 2020-02-17 2020-06-19 北京字节跳动网络技术有限公司 Event processing method and device of application program and electronic equipment
CN112817707A (en) * 2020-12-30 2021-05-18 金蝶软件(中国)有限公司 Task execution method and device, computer equipment and storage medium
WO2022016558A1 (en) * 2020-07-24 2022-01-27 华为技术有限公司 Service continuity event notification method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059781A1 (en) * 2002-09-19 2004-03-25 Nortel Networks Limited Dynamic presence indicators
CN101043396A (en) * 2006-06-15 2007-09-26 华为技术有限公司 Method for establishing subscribe communication and method for subscribing user events
CN102594718A (en) * 2011-01-12 2012-07-18 阿尔卡特朗讯 Method and device for processing presentation information
CN103747014A (en) * 2014-01-24 2014-04-23 腾讯科技(深圳)有限公司 User state acquiring method and service agent server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059781A1 (en) * 2002-09-19 2004-03-25 Nortel Networks Limited Dynamic presence indicators
CN101043396A (en) * 2006-06-15 2007-09-26 华为技术有限公司 Method for establishing subscribe communication and method for subscribing user events
CN102594718A (en) * 2011-01-12 2012-07-18 阿尔卡特朗讯 Method and device for processing presentation information
CN103747014A (en) * 2014-01-24 2014-04-23 腾讯科技(深圳)有限公司 User state acquiring method and service agent server

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651066B (en) * 2015-10-29 2021-04-30 奇点新源国际技术开发(北京)有限公司 Data processing method and data processing platform
CN106651066A (en) * 2015-10-29 2017-05-10 奇点新源国际技术开发(北京)有限公司 Data processing method and platform
CN106210049A (en) * 2016-07-12 2016-12-07 Tcl集团股份有限公司 A kind of cluster communication method based on Message Queuing and system
CN107220129A (en) * 2017-04-14 2017-09-29 武汉斗鱼网络科技有限公司 Communication means and system between a kind of software module
CN107743084A (en) * 2017-11-17 2018-02-27 普天智能照明研究院有限公司 Panel, system and control method based on event triggering controlled plant
CN110557424A (en) * 2018-06-04 2019-12-10 中国移动通信有限公司研究院 group communication method and device, communication equipment and storage medium
CN110430121A (en) * 2019-06-26 2019-11-08 口碑(上海)信息技术有限公司 Message informing method and device
CN110392104A (en) * 2019-07-18 2019-10-29 腾讯科技(深圳)有限公司 Method of data synchronization, system, server and storage medium
CN110415031A (en) * 2019-07-22 2019-11-05 广州虎牙科技有限公司 Interact lottery drawing method, device, electronic equipment and computer readable storage medium
CN111309406A (en) * 2020-02-17 2020-06-19 北京字节跳动网络技术有限公司 Event processing method and device of application program and electronic equipment
WO2022016558A1 (en) * 2020-07-24 2022-01-27 华为技术有限公司 Service continuity event notification method and apparatus
CN112817707A (en) * 2020-12-30 2021-05-18 金蝶软件(中国)有限公司 Task execution method and device, computer equipment and storage medium
CN112817707B (en) * 2020-12-30 2024-02-20 金蝶软件(中国)有限公司 Task execution method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104967652B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN104967652A (en) Event subscription method, apparatus and system
CN106550003B (en) Load balancing control method, device and system
CN102291455B (en) Distributed cluster processing system and message processing method thereof
US20110307789A1 (en) Publish/subscribe overlay network control system
CN107645386B (en) Method and device for acquiring data resources
JP2023523473A (en) User plane function determination method, information provision method, device and medium
CN102694664B (en) Multicast method and multicast equipment
US20200389863A1 (en) Method and system for processing node registration notification
CN103533039B (en) P2P (Peer-to-Peer) data transmission method, forwarding proxy server and system
CN113472646B (en) Data transmission method, node, network manager and system
CN101808051A (en) Application integration gateway and control method thereof
JP2014175747A (en) Independent distribution network system
CN105100002A (en) Attribute operation method and device
CN113301079A (en) Data acquisition method, system, computing device and storage medium
CN108683561B (en) Site state detection method and device
CN111600929B (en) Transmission line detection method, routing strategy generation method and proxy server
CN110324202B (en) Method and device for detecting line quality
CN117082054A (en) Data transmission method, device, system and medium
CN110311861B (en) Method and device for guiding data flow
CN104253702A (en) Terminal management method and system
CN115037785B (en) Instant communication system and method
CN113452691B (en) Service flow detection method and device, server and storage medium
CN104869118A (en) Method and system for achieving DDoS defense based on technology of dynamic tunnels
TWI477113B (en) Information processing methods and systems
CN111865803B (en) Route processing method and device based on EVPN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant