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

Event subscription method, apparatus and system Download PDF

Info

Publication number
CN104967652B
CN104967652B CN201510104714.1A CN201510104714A CN104967652B CN 104967652 B CN104967652 B CN 104967652B CN 201510104714 A CN201510104714 A CN 201510104714A CN 104967652 B CN104967652 B CN 104967652B
Authority
CN
China
Prior art keywords
event
server
subscription
service server
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.)
Active
Application number
CN201510104714.1A
Other languages
Chinese (zh)
Other versions
CN104967652A (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 a kind of event subscription method, apparatus and systems, belong to network technique field.The described method includes: receiving the event information that the first service server is sent, the event information is generated by first service server according to the event occurred on first service server, and the event information includes at least event type;The corresponding subscription list of the event type is obtained, the subscription list includes the server identification for subscribing to the event;The event information is sent to server indicated by the server identification.The present invention passes through by the corresponding subscription list of event agent's server maintenance event type, when event occurs for service server, event information is sent to event agent's server, event agent's server sends event information to another service server for subscribing to the event, simplify the operation of service server, the processing pressure for reducing service server, avoiding influences the normal processing business of service server, improves stability.

Description

Event subscription method, apparatus and system
Technical field
The present invention relates to network technique field, in particular to a kind of event subscription method, apparatus and system.
Background technique
With the development of internet, the type of service of network system is more and more abundant, and portfolio is also increasing.In order to give User, which provides preferably service, network system, can construct multiple servers, will be to be processed according to type of service to be processed Traffic assignments give multiple servers, handle different types of business respectively by multiple servers.
During processing business, it can be cooperated between multiple servers, shared information.It is with keeps Example, which is used for the logging request of processing terminal, right when the keeps receive the logging request of terminal The account of terminal is verified, and when being verified, establishes connection with the terminal, at this point, log-in events occur for the keeps. And other servers may be needed according to the log-in events come processing business, such as record server needs according to the login thing of terminal Part generates the login record of terminal;State server needs the log-in events according to terminal, and the state of terminal is adjusted to online State etc..These servers can subscribe to log-in events to the keeps, which logs in thing according to subscription The server identification of part generates subscription list, which includes the server identification for having subscribed to log-in events, when the account When log-in events occur for server, log-in events information can be generated, according to server identification included by the subscription list, to The server for having subscribed to log-in events sends log-in events information, these servers keeps is notified to occur to log in thing Part.
Keeps business to be processed should be the logging request of processing terminal, but in above process, account clothes Business device not only wants the logging request of processing terminal, also to safeguard the subscription list of log-in events, according to the subscription list, to having ordered The each server for readding log-in events sends log-in events information, cumbersome, considerably increases the processing pressure of keeps Power is easy to influence the normal processing of business, and stability is poor.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of event subscription method, apparatus and systems. The technical solution is as follows:
In a first aspect, providing a kind of event subscription method, the method is applied in event agent's server, the side Method includes:
Receive the first service server transmission event information, the event information by first service server according to The event occurred on first service server generates, and the event information includes at least event type;
The corresponding subscription list of the event type is obtained, the subscription list includes the server mark for subscribing to the event Know;
The event information is sent to server indicated by the server identification.
Second aspect provides a kind of event subscription method, and the method is applied in service server, the method packet It includes:
When detecting generation event, event information is generated according to the event of generation, the event information includes at least thing Part type;
The event information is sent to event agent's server, event agent's server is used to believe according to the event Breath, obtains the corresponding subscription list of the event type, service indicated by the server identification that Xiang Suoshu subscription list includes Device sends the event information.
The third aspect provides a kind of event subscription method, and the method is applied in service server, the method packet It includes:
According to pre-set business configuration information, event type to be subscribed to is determined;
It is sent to event agent's server and subscribes to request, described subscribe to requests to include service server thing to be subscribed to Part type and server identification, event agent's server are used to the server identification being added to the event type pair The subscription list answered, when receiving the event information including the event type, server that Xiang Suoshu subscription list includes The indicated server of mark sends the event information.
Fourth aspect, provides a kind of event subscription device, and described device includes:
Event information receiving module, for receive the first service server transmission event information, the event information by First service server is generated according to the event occurred on first service server, and the event information at least wraps Include event type;
Subscription list obtains module, and for obtaining the corresponding subscription list of the event type, the subscription list includes Subscribe to the server identification of the event;
Sending module, for sending the event information to server indicated by the server identification.
5th aspect, provides a kind of event subscription device, described device includes:
Event information generation module, for generating event information, institute according to the event of generation when detecting generation event Event information is stated including at least event type;
Sending module, for sending the event information to event agent's server, event agent's server is used for According to the event information, the corresponding subscription list of the event type, the server mark that Xiang Suoshu subscription list includes are obtained Know indicated server and sends the event information.
6th aspect, provides a kind of event subscription device, described device includes:
Concept determination module, for determining event type to be subscribed to according to pre-set business configuration information;
Request sending module is subscribed to, subscribes to request for sending to event agent's server, the subscription request includes institute Service server event type and server identification to be subscribed to are stated, event agent's server is used for the server mark Knowledge is added to the corresponding subscription list of the event type, when receiving the event information including the event type, to institute It states server indicated by the server identification that subscription list includes and sends the event information.
7th aspect, provides a kind of event subscription system, the system comprises: event agent's server, the first business Server and the second service server;
Second service server is used to event type to be subscribed to is determined, to institute according to pre-set business configuration information State event agent's server and send and subscribe to request, it is described subscribe to request include service server event type to be subscribed to and Server identification;
When event agent's server is for receiving subscription request, the server identification is added to described The corresponding subscription list of event type;
First service server is used for when detecting generation event, generates event information according to the event of generation, The event information includes at least event type;The event information is sent to event agent's server;
When event agent's server is also used to receive the event information, obtain that the event type is corresponding to be ordered List is read, the subscription list includes the server identification for subscribing to the event;To service indicated by the server identification Device sends the event information.
Technical solution provided in an embodiment of the present invention has the benefit that
Method, apparatus and system provided in an embodiment of the present invention, by by event agent's server maintenance event type pair Event information only need to be sent to event agent's server, by event when event occurs for service server by the subscription list answered Proxy server sends event information to another service server for subscribing to the event, simplifies the operation of service server, subtracts The small processing pressure of service server, avoiding influences the normal processing business of service server, improves stability.
Detailed description of the invention
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, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of structural schematic diagram of event subscription system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of event subscription method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of event subscription method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of event subscription method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of event subscription method provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of event subscription method provided in an embodiment of the present invention;
Fig. 7 is a kind of event subscription apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of event subscription apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 9 is a kind of event subscription apparatus structure schematic diagram provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of event subscription system provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of structural schematic diagram of event subscription system provided in an embodiment of the present invention, the event subscription system packet Include: event agent's server and multiple service servers pass through net between event agent's server and each service server Network connection.
By taking the first service server and the second service server in multiple service servers as an example, first business service Device is the event side of reporting, which is event subscription side.Event agent's server is for safeguarding each event The corresponding subscription list of type.Second service server is serviced for determining event type to be subscribed to the event agent Device, which is sent, subscribes to request, and subscription request carries the server identification of the event type and second service server.The event Proxy server is used to receive the subscription request of second service server, which is added to the event type pair The subscription list answered.First service server is used for when detecting generation event, generates event information according to the event, to Event agent's server sends the event information, which includes at least event type.Event agent's server is used When receiving the event information, the corresponding subscription list of the event information is obtained, the server mark for including to the subscription list Know indicated server and sends the event information.
Fig. 2 is a kind of flow chart of event subscription method provided in an embodiment of the present invention.The execution master of the inventive embodiments Body is event agent's server, referring to fig. 2, this method comprises:
201, receive the first service server send event information, the event information by first service server according to The event occurred on first service server generates, which includes at least event type.
202, the corresponding subscription list of the event type is obtained, which includes the server mark for subscribing to the event Know.
203, the event information is sent to server indicated by the server identification.
Method provided in an embodiment of the present invention, by being arranged by the corresponding subscription of event agent's server maintenance event type Event information only need to be sent to event agent's server, by event agent's server when event occurs for service server by table Event information is sent to another service server for subscribing to the event, simplifies the operation of service server, reduces business clothes The processing pressure of business device, avoiding influences the normal processing business of service server, improves stability.
Optionally, which includes multiple groupings, and each grouping includes at least one server identification;
Correspondingly, this sends the event information to server indicated by the server identification includes:
Server indicated by any server mark into each grouping sends the event information.
Optionally, which further includes the corresponding preset condition of server identification;
Correspondingly, this sends the event information to server indicated by the server identification includes:
Judge whether the event information meets the corresponding preset condition of the server identification;
If the event information meets the preset condition, the event is sent to server indicated by the server identification Information.
Optionally, this method further include:
The subscription request of the second service server transmission is received, subscription request includes at least second service server and waits for The event type and server identification of subscription;
The server identification is added to the corresponding subscription list of the event type.
Optionally, this method further include:
When subscription request further includes packet numbering, it is added to the server identification is corresponding with the packet numbering this and orders Read list;
Divide the identical server identification of packet numbering in the subscription list into a grouping.
Optionally, this method further include:
When subscription request further includes preset condition, it is added to the server identification is corresponding with the preset condition this and orders Read list.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 3 is a kind of flow chart of event subscription method provided in an embodiment of the present invention.The execution master of the inventive embodiments Body is service server, referring to Fig. 3, this method comprises:
301, when detecting generation event, event information is generated according to the event of generation, which includes at least Event type.
302, the event information is sent to event agent's server, which is used to believe according to the event Breath, obtains the corresponding subscription list of the event type, the hair of server indicated by the server identification for including to the subscription list Give the event information.
Method provided in an embodiment of the present invention, by the way that only event need to be generated according to the event when detecting generation event Information sends the event information to event agent's server, from event agent's server to subscribe to the event service server Send event information.The subscription list of Maintenance free event sends thing without to each service server for subscribing to the event Part information simplifies operation, reduces processing pressure, and avoiding influences normal processing business, improves stability.
Fig. 4 is a kind of flow chart of event subscription method provided in an embodiment of the present invention.The execution master of the inventive embodiments Body is service server, referring to fig. 4, this method comprises:
401, according to pre-set business configuration information, event type to be subscribed to is determined.
402, it is sent to event agent's server and subscribes to request, subscription request includes service server thing to be subscribed to Part type and server identification, for the server identification to be added to, the event type is corresponding to be ordered event agent's server List is read, when receiving the event information including the event type, indicated by the server identification that includes to the subscription list Server send the event information.
Method provided in an embodiment of the present invention is ordered by determining after the event type subscribed to event agent's server The event is read, without subscribing to the event to the service server that the event occurs, so that when service server detects that generation should When event, only event information need to be generated according to the event, send the event information to event agent's server, taken by event agent Business device returns to event information.Without the subscription list of service server maintenance event, without service server to subscribing to the thing Each service server of part sends event information, simplifies the operation of service server, reduces the processing of service server Pressure, avoiding influences the normal processing business of service server, improves stability.
Optionally, this method further include:
According to the pre-set business configuration information, the packet numbering of the service server is determined;
Subscription request is sent to event agent's server, subscription request includes the event type, the server mark Know and the packet numbering, which is used to be added to the server identification is corresponding with the packet numbering this and order List is read, divides the identical server identification of packet numbering in the subscription list into a grouping.
Optionally, this method further include:
According to the pre-set business configuration information, preset condition is determined, which is used to provide ordered event letter Cease the condition that should meet;
Subscription request is sent to event agent's server, subscription request includes the event type, the server mark Know and the preset condition, which is used to be added to the server identification is corresponding with the preset condition this and order Read list.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 5 is a kind of flow chart of event subscription method provided in an embodiment of the present invention.The embodiment of the present invention is applied to thing Part ordering system, the event subscription system include event agent's server and multiple service servers, and the embodiment of the present invention is to hand over For mutual main body is event agent's server and the second service server, which is serviced to the event agent The process that device subscribes to event is illustrated, referring to Fig. 5, this method comprises:
501, the second service server determines event type to be subscribed to, preset condition according to pre-set business configuration information With the packet numbering of second service server.
Wherein, which is predefined by second service server, specifically can according to this second The business of service server processing determines that it is not limited in the embodiment of the present invention.Second service server is default according to this Service configuration information can determine the packet numbering of event type to be subscribed to, preset condition and second service server Etc. information.
In application process, many types may occur for other service servers in addition to second service server Event, such as log-in events, offline event, relation chain altering event, which can be according to will handle Business, determine event type to be subscribed to, so as to the corresponding event information of subsequent acquisitions event type, not without acquisition The corresponding event information of the event type of subscription.When practical application, which can be arranged for each event type One Case Number, second service server can obtain corresponding Case Number, according to event type to be subscribed to this Case Number indicates the event type, and subsequent to be sent when subscribing to request to event agent's server, subscription request can wrap Include the Case Number.For example, second service server only needs to handle the log-in events of user, it is determined that event to be subscribed to Type is log-in events, and the number of log-in events is 33, then subscription request may include field " event-type=33 ".
The condition that the preset condition should meet for providing ordered event information, can be to thing according to the preset condition Part information is filtered, and to filter out the unwanted event information of the second service server, which may include hair It makes trouble user account range, Time To Event range or the other conditions of part, and the preset condition can be by second industry Being engaged in, server is customized, and it is not limited in the embodiment of the present invention.For example, second service server only needs to be 1 to tail number The event that user account is occurred is handled, then can determine that the preset condition is " tail number of user account is 1 ", subsequent to be somebody's turn to do Second service server can receive the event information for the user account that tail number is 1, without receiving other users account Event information.
The packet numbering includes one in a grouping or more for identifying grouping belonging to second service server A service server.In practical application, the event subscription system may in order to alleviate the traffic pressure of single service server The service server that will include multiple processing identical services, whenever handling corresponding business, by one of business service Device handles the business, then can distribute identical packet numbering, table for the service server of multiple processing identical services Show that multiple service server belongs to same grouping.The event type that multiple service servers of same grouping are to be subscribed to is identical, The preset condition that event information should meet is also identical, and subsequent event agent's server is to belonging to second service server points When group returns to event information, one of service server need to be only selected from the grouping.
502, second service server to event agent's server send subscribe to request, the subscription request include this second The server identification of service server, the event type, the preset condition and the packet numbering.
The embodiment of the present invention subscribes to event by event agent's server for service server, whenever service server needs When subscribing to event, it can be sent to event agent's server and subscribe to request.
The embodiment of the present invention, should by taking second service server sends subscription request to event agent's server as an example Subscribe to server identification, the event type, the preset condition and packet numbering that request includes second service server.Its In, which, for uniquely determining second service server, can be the IP of second service server (Internet Protocol, Internet protocol) address, server number etc., it is not limited in the embodiment of the present invention.
And in practical application, second service server is also possible to the not set preset condition and the packet numbering, then Subscription request does not include the preset condition and the packet numbering.It that is to say, subscription request includes at least the server identification With the event type, can also include in the preset condition and the packet numbering at least one of, the embodiment of the present invention to this not It limits.
In addition, to event agent's server send subscribe to request before, second service server can also first to Event agent's server registration verifies second service server by event agent's server, after being verified, Second service server succeeds in registration, at this point, second service server sends the subscription to event agent's server again Request, it is not limited in the embodiment of the present invention.
503, when event agent's server receives subscription request, the corresponding subscription column of the event type are obtained The server identification, the preset condition and the packet numbering correspondence are added to the subscription list, by the subscription list points by table The identical server identification of group # divides a grouping into.
In the embodiment of the present invention, which can be generated the corresponding subscription list of each event type, order Readding in list includes the server identification for subscribing to event corresponding with the event type, and subsequent event agent's server can root It is requested according to the subscription of each service server, safeguards subscription list.It is always ordered in addition, event agent's server can be generated one List is read, includes the corresponding subscription list of each event type in total subscription list, when event agent's server receives When the subscription is requested, total subscription list can be inquired according to the event type, obtains the corresponding subscription list of the event type.
When event agent's server receives the subscription request of second service server, the event type pair is obtained The server identification, the preset condition and the packet numbering correspondence are added to the subscription list by the subscription list answered.Later, Event agent's server can divide the identical server identification of packet numbering in the subscription list into a grouping, with after an action of the bowels When continued access receives event information, only one of server into same grouping sends the event information, without to the grouping In Servers-all send the event information.It is compiled in fact, event agent's server will be grouped in the subscription list in advance Number identical server identification divides a grouping into, obtains at least one grouping.In subsequent process, whenever the event agent services Whether when device receives subscription request, inquiring in the subscription list has included that the subscription requests corresponding point of packet numbering that includes The subscription is requested the server identification for including if in the subscription list having included the corresponding grouping of the packet numbering by group It is added in the grouping with preset condition, if in the subscription list not including the grouping of the packet numbering, which is compiled Number, the server identification and the preset condition correspondence be added to the subscription list, as one individually grouping.
The embodiment of the present invention includes the server identification, the event type, the preset condition and this point with subscription request It is illustrated for group #, in fact, when subscription request only includes the server identification and the event type, the event The server identification is added in the corresponding subscription list of the event type by proxy server.And when subscription request only includes When the server identification, the event type and the preset condition, which presets the server identification with this Condition correspondence is added in the corresponding subscription list of the event type.When subscription request only includes the server identification, the thing Part type and when the packet numbering, event agent's server are added to the thing for the server identification is corresponding with the packet numbering In the corresponding subscription list of part type, the identical server identification of packet numbering in the subscription list is divided into a grouping.
For example, the subscription list of event agent's server can be as shown in table 1 below.Point of server identification IP1 and IP2 Group # is 272, belongs to same grouping, and the event type subscribed in the grouping is " event-type=33 ".Server mark The event type for knowing the subscription of IP3 and IP4 is " event-type=10 ", and the preset condition of server identification IP3 is " user's account Number tail number is 1 ", and the preset condition of server identification IP4 is " user account tail number is 2 ".
Table 1
In addition, second service server can also unsubscribe the thing to after event agent's server subscription event Part.Second service server can determine event type to be unsubscribed, and send to cancel to event agent's server and order Request is read, it includes the server identification and the event type that this, which unsubscribes request, which receives this and take When the subscription that disappears is requested, the corresponding subscription list of the event type is obtained, by the server identification and corresponding preset condition, is divided The information such as group # are deleted from the subscription list.
In embodiments of the present invention, the service server for subscribing to event is sent to event agent's server subscribes to request, Event agent's server generates the subscription list according to the server identification subscribed in request, then whenever service server is sent out When the raw event, event information can be reported to event agent's server, event agent's server according to the subscription list, It can determine the service server for subscribing to the event, to return to event information to the service server for subscribing to the event.
Subscription list is safeguarded by the service server of generation event in the related technology, subscribing to for other service servers should Event, the service server of event occurs and subscribe to the event service server between close coupling, when service server receive To the subscription request of other service servers or when unsubscribing request, needs to change subscription list, change Maintenance personnel may be needed to change the configuration of the service server in journey, and carry out reboot operation, delay the normal processing of business, And once change procedure failure, it is easy to cause service server to break down, influence normal processing business, linear expansion operation Complexity, later period operation maintenance degree of difficulty are very high.
And in the embodiment of the present invention, the service server of event occurs and subscribe to the event service server between decouple It closes, service server need to only be interacted with event agent's server, using event agent's server as in service server Turn channel, subscribes to event by event agent's server for service server, the event information of magnanimity is distributed in the event of generation. And event agent's server safeguards the subscription list, can request or unsubscribe to ask according to the subscription of service server It asks, automatically subscription list is changed, will not influence the normal processing business of service server during change, realize and order The linear expansion of list is read, later period operation maintenance is relatively simple.
It should be noted that the embodiment of the present invention is illustrated with event agent's server, in fact, the event is ordered The system of readding can also include multiple event agent's servers, and the magnanimity event information that service server generates can balancedly be sent To multiple event agent's server, event agent's server from receiving event information takes to the business for subscribing to corresponding event Business device distributes the event information, and the pressure to avoid single incident proxy server is excessive.
Method provided in an embodiment of the present invention is determined after the event type subscribed to by the second service server, to thing Part proxy server subscribes to the event, without subscribing to the event to the service server that the event occurs, so that working as business service When device detects the generation event, only event information need to be generated according to the event, send event letter to event agent's server Breath returns to event information by event agent's server.Without the subscription list of service server maintenance event, taken without business Device be engaged in each service server transmission event information for subscribing to the event, simplifies the operation of service server, reduces industry The processing pressure of business server, avoiding influences the normal processing business of service server, improves stability.And event agent takes Business device can automatically change subscription list, will not influence the normal processing business of service server, realize subscription column The linear expansion of table, later period operation maintenance are relatively simple.
The process of the event of subscription is illustrated in above-described embodiment, and after subscription event, whenever other business take When the event occurs for business device, the event information can be sent from event agent's server to the service server for subscribing to the event, had Body process is detailed in next embodiment.
Fig. 6 is a kind of flow chart of event subscription method provided in an embodiment of the present invention.The embodiment of the present invention is applied to thing Part ordering system, the event subscription system include event agent's server and multiple service servers, and the embodiment of the present invention is to hand over Mutual main body is processing when to first service server generation event for event agent's server and the first service server Process is illustrated, referring to Fig. 6, this method comprises:
601, when the first service server detects generation event, event information, the thing are generated according to the event of generation Part information includes at least event type.
Wherein, which includes at least event type, can also include event serial number, Time To Event, generation The user account of event, the server identification (i.e. the server identification of the first service server) of time of origin or other information Deng it is not limited in the embodiment of the present invention.It, can be according to the event when first service server detects generation event Generate event information.
602, first service server sends the event information to event agent's server.
When first service server gets the event information, the event information is sent to event agent's server, The event information is sent from event agent's server to the service server for subscribing to the event.
603, when event agent's server receives the event information, the corresponding subscription column of the event type are obtained Table.
The event processing server preserves the corresponding subscription list of each event type, when event agent's server connects When receiving the event information, the event type that the event information includes is determined, obtain the corresponding subscription list of the event type.
604, for each grouping in the subscription list, a server mark is selected from the server identification of the grouping Know, judge in the subscription list whether include selection the corresponding preset condition of server identification.
It include multiple server identifications in the subscription list, which traverses each server identification, with Just the event information is sent to service server indicated by each server identification.
Further, which includes multiple groupings, and each grouping includes one or more server identification, together The packet numbering of server identification is identical in one grouping, and the packet numbering of server identification is different in different grouping.The event generation Reason server can traverse each grouping, when including multiple server identifications in the grouping currently traversed, these server marks Know in indicated service server, the corresponding business of the event is only handled by one of service server.So, should Event agent's server can select a server identification from multiple server identifications of the grouping.Specifically, the event Proxy server can randomly choose a server identification from multiple server identifications of the grouping, can also be according to this point The current loading condition of multiple service servers in group selects the smallest service server of present load, the embodiment of the present invention pair This is without limitation.Certainly, if only including a server identification in the grouping currently traversed, event agent's server is straight The server identification is selected in selecting.
When event agent's server traverses server identification, business indicated by the server identification can be first judged Whether server is online, if the service server is online, then carries out subsequent judgment step, with determination Whether the event information is sent to the service server, if the service server is in off-line state, without subsequent Judgment step sends the event information without to the service server.In practical application, service server is in threadiness When state, the long connection between event agent's server can be kept, periodically sends the heart to event agent's server Packet is jumped, which determines that the service server is online according to the heartbeat packet received.If the thing Part proxy server is more than the heartbeat packet that preset duration does not receive the service server also, can be determined at the service server In off-line state.Service server sends the period of heartbeat packet and the preset duration can be by event agent's server and industry Business server negotiates determination, and it is not limited in the embodiment of the present invention.
If including 605, the corresponding preset condition of the server identification in the subscription list, whether the event information is judged Meet the preset condition.
Due to that may include the corresponding preset condition of server identification, then event agent's server in the subscription list After having selected server identification, judge in the subscription list whether include selection the corresponding preset condition of server identification, such as It does not include the corresponding preset condition of the server identification in the fruit subscription list, which can be directly to the clothes The indicated service server of business device mark sends the event information, if including that the server identification is corresponding in the subscription list Preset condition, which first judges whether the event information meets the preset condition.
If 606, the event information meets the preset condition, event agent's server is to indicated by the server identification Service server send the event information.
If the event information meets the preset condition, event agent's server is to industry indicated by the server identification Business server sends the event information, if the event information does not meet the preset condition, event agent's server is not to this Service server indicated by server identification sends the event information, avoids the unnecessary wasting of resources.
607, when service server indicated by the server identification receives the event information, at the event information Reason business.
When service server indicated by the server identification receives the event information, determine that the event has occurred, this When, which can handle corresponding business according to event information.
By taking the service server is login prompt server as an example, which is used to prompt the login of user Event.The service server preserves the customer relationship chain of each user account, which includes multiple user accounts. When the login prompt server receives the log-in events information of event agent's server transmission, log-in events letter is obtained The first user account that breath includes that is to say the first user account that log-in events occur, according to multiple customer relationships of preservation Chain determines the second user account in customer relationship chain including first user account, sends to determining second user account Login prompt message, to prompt second user account first user account to log in.
Method provided in an embodiment of the present invention, by being arranged by the corresponding subscription of event agent's server maintenance event type Event information only need to be sent to event agent's server, by event agent when event occurs for first service server by table Server sends event information to the service server for subscribing to the event, simplifies the operation of the first service server, reduces The processing pressure of first service server, avoiding influences the normal processing business of the first service server, improves stability.
It should be noted that above-mentioned steps 501-503 subscribes to second service server to event agent's server The process of event is illustrated, and treatment process when above-mentioned steps 601-606 first service server occurs event carries out Explanation.In practical applications, for same type of event, without inevitable between step 501-503 and step 601-606 Sequential relationship, above-mentioned steps 501-503 can be executed before above-mentioned steps 601-606, can also be in above-mentioned steps 601- Above-mentioned steps 501-503, or parallel execution above-mentioned steps 501-503 and step 601-606, present invention reality are executed after 606 Example is applied not limit this.And for same service server, which can both execute above-mentioned steps 501- 503, event is subscribed to event agent's server, the event information that receipt of subsequent event agent's server returns can also be with Above-mentioned steps 601-606 is executed, the event information that event occurs on the service server is reported to event agent service Device, it is not limited in the embodiment of the present invention.
In conjunction with above-described embodiment, log-in events are occurred with first service server, second service server subscription is stepped on For copyist's part, this method may include following step (1)-(5):
(1), second service server is sent to event agent's server subscribes to request, and subscription request includes logging in The server identification (IP1) of event type (event-type=33) and second service server.
(2), when event agent's server receives subscription request, which is added to this and is stepped on Record event type (event-type=33) corresponding subscription list.At this point, including second business service in the subscription list The server identification (IP1) of device, shown in table 2 specific as follows.
Table 2
Event type Server identification
Event-type=33 IP1
(3), when log-in events occur for first service server, according to the log-in events, log-in events information is generated, it should Log-in events information includes at least the log-in events type (event-type=33).First service server is to the event generation Reason server sends the log-in events information.
The log-in events information can be as shown in table 3 below, which includes event serial number " 01 ", time of origin " 12:23:12 ", event type " event-type=33 ", user account " 813XXXX56 ".Wherein, event serial number " 01 " indicates The event is first event that first service server occurs, and time of origin " 12:23:12 " indicates the event 12: 23 Divide 12 seconds and occur, event type " event-type=33 " indicates that the event is log-in events, user account " 813XXXX56 " table Show that it is " 813XXXX56 " that the user account of log-in events, which occurs,.
Table 3
Event serial number Time of origin Event type User account
01 12:23:12 Event-type=33 813XXXX56
(4), when event agent's server receives the log-in events information, the log-in events type is obtained (event-type=33) corresponding subscription list.It as shown in table 2, include server identification (IP1) then should in the subscription list Event agent's server sends the log-in events information according to server identification (IP1), to second service server.
(5), second service server receives the log-in events information, according to the log-in events information handing service.
Fig. 7 is a kind of event subscription apparatus structure schematic diagram provided in an embodiment of the present invention, and referring to Fig. 7, which includes:
Event information receiving module 701, for receive the first service server transmission event information, the event information by First service server is generated according to the event occurred on first service server, which includes at least event Type;
Subscription list obtains module 702 and connect with event information receiving module 701, corresponding for obtaining the event type Subscription list, the subscription list include the server identification for subscribing to the event;
Sending module 703 and subscription list obtain module 702 and connect, for server indicated by the server identification Send the event information.
Device provided in an embodiment of the present invention, by the corresponding subscription list of maintenance event type, when service server is sent out Make trouble part when, only event information need to be sent to the device, from the device to subscribe to the event another service server send Event information simplifies the operation of service server, reduces the processing pressure of service server, avoids influence business service The normal processing business of device, improves stability.
Optionally, which includes multiple groupings, and each grouping includes at least one server identification;
Correspondingly, the sending module 703 is also used to the indicated server of the mark of any server into each grouping Send the event information.
Optionally, which further includes the corresponding preset condition of server identification;
Correspondingly, to be also used to judge whether the event information meets the server identification corresponding pre- for the sending module 703 If condition;If the event information meets the preset condition, the event is sent to server indicated by the server identification Information.
Optionally, the device further include:
Request receiving module is subscribed to, for receiving the subscription request of the second service server transmission, which is requested at least Including second service server event type and server identification to be subscribed to;
Adding module, for the server identification to be added to the corresponding subscription list of the event type.
Optionally, the device further include:
The adding module is also used to when the subscription requests to further include packet numbering, by the server identification and the grouping Number correspondence is added to the subscription list;
Grouping module, for dividing the identical server identification of packet numbering in the subscription list into a grouping.
Optionally, which is also used to when the subscription requests to further include preset condition, by the server identification and Preset condition correspondence is added to the subscription list.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 8 is a kind of event subscription apparatus structure schematic diagram provided in an embodiment of the present invention, and referring to Fig. 8, which includes:
Event information generation module 801, for generating event letter according to the event of generation when detecting generation event Breath, the event information include at least event type;
Sending module 802 is connect with event information generation module 801, for sending event letter to event agent's server Breath, event agent's server are used to obtain the corresponding subscription list of the event type according to the event information, arrange to the subscription Server indicated by the server identification that table includes sends the event information.
Device provided in an embodiment of the present invention, by the way that only event need to be generated according to the event when detecting generation event Information sends the event information to event agent's server, from event agent's server to subscribe to the event service server Send event information.The subscription list of Maintenance free event sends thing without to each service server for subscribing to the event Part information simplifies operation, reduces processing pressure, and avoiding influences normal processing business, improves stability.
Fig. 9 is a kind of event subscription apparatus structure schematic diagram provided in an embodiment of the present invention, and referring to Fig. 9, which includes:
Concept determination module 901, for determining event type to be subscribed to according to pre-set business configuration information;
It subscribes to request sending module 902 to connect with concept determination module 901, for sending to event agent's server Request is subscribed to, subscription request includes service server event type and server identification to be subscribed to, event agent clothes Business device is used to the server identification being added to the corresponding subscription list of the event type, when receiving including the event type When event information, server indicated by the server identification that includes to the subscription list sends the event information.
Device provided in an embodiment of the present invention is ordered by determining after the event type subscribed to event agent's server The event is read, without subscribing to the event to the service server that the event occurs, so that when service server detects that generation should When event, only event information need to be generated according to the event, send the event information to event agent's server, taken by event agent Business device returns to event information.Without the subscription list of service server maintenance event, without service server to subscribing to the thing Each service server of part sends event information, simplifies the operation of service server, reduces the processing of service server Pressure, avoiding influences the normal processing business of service server, improves stability.
Optionally, the device further include:
Packet numbering determining module, for determining that the grouping of the service server is compiled according to the pre-set business configuration information Number;
The subscription request sending module 902, is also used to send subscription request to event agent's server, which asks It asks including the event type, the server identification and the packet numbering, which is used for the server mark Know and packet numbering correspondence is added to the subscription list, the identical server identification of packet numbering in the subscription list is divided into One grouping.
Optionally, the device further include:
Preset condition determining module, for determining preset condition according to the pre-set business configuration information, which is used In the condition that the ordered event information of regulation should meet;
The subscription request sending module 902, is also used to send subscription request to event agent's server, which asks It asks including the event type, the server identification and the preset condition, which is used for the server mark Know and preset condition correspondence is added to the subscription list.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
It should be understood that event subscription device provided by the above embodiment is in the event of subscription, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block complete, i.e., the internal structure of event agent's server and service server is divided into different functional modules, with complete with The all or part of function of upper description.In addition, event subscription device provided by the above embodiment and event subscription method are implemented Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Figure 10 is a kind of structural schematic diagram of event subscription system provided in an embodiment of the present invention, referring to Figure 10, the system It include: event agent's server 1001, the first service server 1002 and the second service server 1003;
Second service server 1003 is used for according to pre-set business configuration information, determining event type to be subscribed to, It is sent to event agent's server 1001 and subscribes to request, described subscribe to requests to include service server thing to be subscribed to Part type and server identification;
When event agent's server 1001 is for receiving subscription request, the server identification is added to The corresponding subscription list of the event type;
First service server 1002 is used for when detecting generation event, generates event letter according to the event of generation Breath, the event information include at least event type;The event information is sent to event agent's server 1001;
When event agent's server 1001 is also used to receive the event information, it is corresponding to obtain the event type Subscription list, the subscription list includes the server identification for subscribing to the event;To indicated by the server identification Server sends the event information.
Optionally, second service server 1003 is also used to according to the pre-set business configuration information, determine described in The packet numbering of service server;The subscription request, the subscription request packet are sent to event agent's server 1001 Include the event type, the server identification and the packet numbering;Event agent's server 1001 is used for institute It states server identification and packet numbering correspondence is added to the subscription list, packet numbering in the subscription list is identical Server identification divide a grouping into.
Correspondingly, the subscription list includes multiple groupings, each grouping includes at least one server identification;The thing Part proxy server 1001 is also used to the indicated server of the mark of any server into each grouping and sends the event Information.
Optionally, second service server 1003 is also used to be determined default according to the pre-set business configuration information Condition, the preset condition are used to provide the condition that ordered event information should meet;To event agent's server 1001 send subscription request, and the subscriptions request is including the event type, the server identification and described presets Condition, event agent's server 1001 are also used to for the server identification and preset condition correspondence being added to described Subscription list.
Correspondingly, the subscription list further includes the corresponding preset condition of server identification;Event agent's server 1001 are also used to judge whether the event information meets the corresponding preset condition of the server identification;If the event letter Breath meets the preset condition, then sends the event information to server indicated by the server identification.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Figure 11 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.The server 1100 can be because of configuration or property Energy is different and generates bigger difference, may include one or more central processing units (central processing Units, CPU) 1122 (for example, one or more processors) and memory 1132, one or more storage applications The storage medium 1130 (such as one or more mass memory units) of program 1142 or data 1144.Wherein, memory 1132 and storage medium 1130 can be of short duration storage or persistent storage.The program for being stored in storage medium 1130 may include one A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into One step, central processing unit 1122 can be set to communicate with storage medium 1130, execute storage medium on server 1100 Series of instructions operation in 1130.
Server 1100 can also include one or more power supplys 1126, one or more wired or wireless nets Network interface 1150, one or more input/output interfaces 1158, one or more keyboards 1156, and/or, one or More than one operating system 1141, such as Windows ServerTM, Mac OS XTM, UnixTM,LinuxTM, FreeBSDTMDeng Deng.
Server 1100 can be used for executing event agent's server or service server institute in foregoing invention embodiment The step of execution.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (19)

1. a kind of event subscription method, which is characterized in that the method is applied in event agent's server, the event agent Pass through network connection between server and each service server, which comprises
The event information of the first service server transmission is received, the event information is by first service server according in institute It states the event occurred on the first service server to generate, the event information includes at least event type;
The corresponding subscription list of the event type is obtained, the subscription list includes the server identification for subscribing to the event, The subscription list includes multiple groupings, and each grouping includes at least one server identification;
The event information is sent to service server indicated by the server identification, indicated by the server identification Service server is any server in each grouping.
2. the method according to claim 1, wherein the subscription list further includes that server identification is corresponding pre- If condition;
Correspondingly, described include: to the transmission of server indicated by the server identification event information
Judge whether the event information meets the corresponding preset condition of the server identification;
If the event information meets the preset condition, to described in the transmission of server indicated by the server identification Event information.
3. the method according to claim 1, wherein the method also includes:
The subscription request of the second service server transmission is received, the subscription request includes at least second service server and waits for The event type and server identification of subscription;
The server identification is added to the corresponding subscription list of the event type.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When subscription request further includes packet numbering, the server identification and packet numbering correspondence are added to institute State subscription list;
Divide the identical server identification of packet numbering in the subscription list into a grouping.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
When subscription request further includes preset condition, the server identification and preset condition correspondence are added to institute State subscription list.
6. a kind of event subscription method, which is characterized in that the method be applied to service server in, the service server with Pass through network connection between event agent's server, which comprises
When detecting generation event, event information is generated according to the event of generation, the event information includes at least event class Type;
The event information is sent to event agent's server, event agent's server is used to believe according to the event Breath, obtains the corresponding subscription list of the event type, business indicated by the server identification that Xiang Suoshu subscription list includes Server sends the event information, and the subscription list includes multiple groupings, and each grouping includes at least one server mark Know, service server indicated by the server identification is any server in each grouping.
7. a kind of event subscription method, which is characterized in that the method be applied to service server in, the service server with Pass through network connection between event agent's server, which comprises
According to pre-set business configuration information, event type to be subscribed to is determined;
It is sent to event agent's server and subscribes to request, described subscribe to requests to include service server thing to be subscribed to Part type and server identification, event agent's server are used to the server identification being added to the event type pair The subscription list answered, when receiving the event information including the event type, server that Xiang Suoshu subscription list includes The indicated service server of mark sends the event information, and the subscription list includes multiple groupings, and each grouping includes At least one server identification, service server indicated by server identification are any server in each grouping.
8. the method according to the description of claim 7 is characterized in that the method also includes:
According to the pre-set business configuration information, the packet numbering of the service server is determined;
The subscription request is sent to event agent's server, the subscription request includes the event type, the clothes Business device mark and the packet numbering, event agent's server are used for the server identification and the packet numbering Correspondence is added to the subscription list, divides the identical server identification of packet numbering in the subscription list into a grouping.
9. the method according to the description of claim 7 is characterized in that the method also includes:
According to the pre-set business configuration information, determine that preset condition, the preset condition are used to provide ordered event letter Cease the condition that should meet;
The subscription request is sent to event agent's server, the subscription request includes the event type, the clothes Business device mark and the preset condition, event agent's server are used for the server identification and the preset condition Correspondence is added to the subscription list.
10. a kind of event subscription device, which is characterized in that described device is used for event agent's server, event agent's clothes It is engaged in by network connection between device and each service server, described device includes:
Event information receiving module, for receiving the event information of the first service server transmission, the event information is by described First service server is generated according to the event occurred on first service server, and the event information includes at least thing Part type;
Subscription list obtains module, and for obtaining the corresponding subscription list of the event type, the subscription list includes subscribing to The server identification of the event, the subscription list include multiple groupings, and each grouping includes at least one server identification;
Sending module, for sending the event information, the service to service server indicated by the server identification The indicated service server of device mark is any server in each grouping.
11. device according to claim 10, which is characterized in that the subscription list further includes that server identification is corresponding Preset condition;
Correspondingly, to be also used to judge whether the event information meets the server identification corresponding default for the sending module Condition;If the event information meets the preset condition, institute is sent to server indicated by the server identification State event information.
12. device according to claim 10, which is characterized in that described device further include:
Request receiving module is subscribed to, for receiving the subscription request of the second service server transmission, the subscription request is at least wrapped Include second service server event type and server identification to be subscribed to;
Adding module, for the server identification to be added to the corresponding subscription list of the event type.
13. device according to claim 12, which is characterized in that described device further include:
The adding module is also used to when the subscription requests to further include packet numbering, by the server identification and described Packet numbering correspondence is added to the subscription list;
Grouping module, for dividing the identical server identification of packet numbering in the subscription list into a grouping.
14. device according to claim 12, which is characterized in that the adding module is also used to go back when subscription request When including preset condition, the server identification and preset condition correspondence are added to the subscription list.
15. a kind of event subscription device, which is characterized in that described device is used for service server, the service server and thing By network connection between part proxy server, described device includes:
Event information generation module, for generating event information, the thing according to the event of generation when detecting generation event Part information includes at least event type;
Sending module, for sending the event information to event agent's server, event agent's server is used for According to the event information, the corresponding subscription list of the event type, the server mark that Xiang Suoshu subscription list includes are obtained Know indicated service server and send the event information, the subscription list includes multiple groupings, and each grouping includes extremely Lack a server identification, service server indicated by the server identification is any server in each grouping.
16. a kind of event subscription device, which is characterized in that described device is used for service server, the service server and thing By network connection between part proxy server, described device includes:
Concept determination module, for determining event type to be subscribed to according to pre-set business configuration information;
Request sending module is subscribed to, subscribes to request for sending to event agent's server, the subscription request includes institute Service server event type and server identification to be subscribed to are stated, event agent's server is used for the server mark Knowledge is added to the corresponding subscription list of the event type, when receiving the event information including the event type, to institute It states service server indicated by the server identification that subscription list includes and sends the event information, the subscription list includes Multiple groupings, each grouping include at least one server identification, and service server indicated by server identification is each point Any server in group.
17. device according to claim 16, which is characterized in that described device further include:
Packet numbering determining module, for determining that the grouping of the service server is compiled according to the pre-set business configuration information Number;
The subscription request sending module is also used to send the subscription request, the subscription to event agent's server Request includes the event type, the server identification and the packet numbering, and event agent's server is used for will The server identification and packet numbering correspondence are added to the subscription list, by packet numbering phase in the subscription list Same server identification divides a grouping into.
18. device according to claim 16, which is characterized in that described device further include:
Preset condition determining module, for determining that preset condition, the preset condition are used according to the pre-set business configuration information In the condition that the ordered event information of regulation should meet;
The subscription request sending module is also used to send the subscription request, the subscription to event agent's server Request includes the event type, the server identification and the preset condition, and event agent's server is used for will The server identification and preset condition correspondence are added to the subscription list.
19. a kind of event subscription system, which is characterized in that the system comprises: event agent's server, the first service server With the second service server, event agent's server and first service server and second service server it Between pass through network connection;
Second service server is used to determine event type to be subscribed to, Xiang Suoshu thing according to pre-set business configuration information Part proxy server, which is sent, subscribes to request, and described subscribe to requests to include service server event type and service to be subscribed to Device mark;
When event agent's server is for receiving subscription request, the server identification is added to the event The corresponding subscription list of type;
First service server is used for when detecting generation event, generates event information according to the event of generation, described Event information includes at least event type;The event information is sent to event agent's server;
When event agent's server is also used to receive the event information, the corresponding subscription column of the event type are obtained Table, the subscription list include the server identification for subscribing to the event, and the subscription list includes multiple groupings, each grouping Including at least one server identification;The event information, institute are sent to service server indicated by the server identification Stating service server indicated by server identification is any server in each grouping.
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 CN104967652A (en) 2015-10-07
CN104967652B true 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)

Families Citing this family (11)

* 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
CN106210049B (en) * 2016-07-12 2020-12-22 武汉Tcl集团工业研究院有限公司 Cluster communication method and system based on message queue
CN107220129B (en) * 2017-04-14 2021-01-01 武汉斗鱼网络科技有限公司 Communication method and system between software modules
CN107743084A (en) * 2017-11-17 2018-02-27 普天智能照明研究院有限公司 Panel, system and control method based on event triggering controlled plant
CN110557424B (en) * 2018-06-04 2022-09-13 中国移动通信有限公司研究院 Group communication method and device, communication equipment and storage medium
CN110430121A (en) * 2019-06-26 2019-11-08 口碑(上海)信息技术有限公司 Message informing method and device
CN110392104B (en) * 2019-07-18 2022-06-10 腾讯科技(深圳)有限公司 Data synchronization method, 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
CN112817707B (en) * 2020-12-30 2024-02-20 金蝶软件(中国)有限公司 Task execution method, device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104967652A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN104967652B (en) Event subscription method, apparatus and system
CN105245373B (en) A kind of container cloud platform system is built and operation method
US9379997B1 (en) Service request management
WO2022179140A1 (en) Data processing method and system
CN108989136B (en) Business end-to-end performance monitoring method and device
CN101741885A (en) Distributed system and method for processing task flow thereof
CN101977236B (en) Large-file multipoint distribution system
CN104580216B (en) A kind of system and method limited access request
US10445167B1 (en) Automated method and system for diagnosing load performance issues
CN110659109B (en) System and method for monitoring openstack virtual machine
CN103795575B (en) A kind of system monitoring method towards multiple data centers
CN103442030A (en) Method and system for sending and processing service request messages and client-side device
CN112202918B (en) Load scheduling method, device, equipment and storage medium for long connection communication
CN107025222A (en) A kind of distributed information log acquisition method and device
CN114401284B (en) Real-time data acquisition and transmission system and method for fixed pollution source treatment working condition
CN110266822A (en) A kind of shared implementation of load balancing based on nginx
CN103577251A (en) Event based Internet computing processing system and method
CN104408552A (en) Method, device and system for cooperatively processing task
CN104063560B (en) Scheduling system and dispatching method based on cloud computing platform
EP2974136A1 (en) Accessing multiple converged infrastructure systems
CN101771703A (en) Information service system and method
CN107071002A (en) A kind of application server cluster request scheduling method and device
CN107844339A (en) Method for scheduling task and plug-in unit and server
CN114945032A (en) Electric power internet of things terminal data access system, method, device, equipment and medium
CN102023997B (en) Data query system, construction method thereof and corresponding data query method

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