CN109445966B - Event processing method, device, medium and computing equipment - Google Patents

Event processing method, device, medium and computing equipment Download PDF

Info

Publication number
CN109445966B
CN109445966B CN201811317341.6A CN201811317341A CN109445966B CN 109445966 B CN109445966 B CN 109445966B CN 201811317341 A CN201811317341 A CN 201811317341A CN 109445966 B CN109445966 B CN 109445966B
Authority
CN
China
Prior art keywords
event
associated page
page
identifier
hash set
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
CN201811317341.6A
Other languages
Chinese (zh)
Other versions
CN109445966A (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.)
Netease Media Technology Beijing Co Ltd
Original Assignee
Netease Media Technology Beijing 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 Netease Media Technology Beijing Co Ltd filed Critical Netease Media Technology Beijing Co Ltd
Priority to CN201811317341.6A priority Critical patent/CN109445966B/en
Publication of CN109445966A publication Critical patent/CN109445966A/en
Application granted granted Critical
Publication of CN109445966B publication Critical patent/CN109445966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides an event processing method. The method comprises the steps of receiving a notice that an event sent by an associated page changes, recording the changed event, calling back subscription information of the associated page, and sending the notice that at least one event changes to the associated page under the condition that at least one event subscribed by the associated page is determined to change, wherein the associated page is subscribed by at least one event of the associated page. The method of the invention can establish indirect connection between the associated page and the associated page, and reduce the coupling degree of the associated page and the associated page, therefore, even if the associated page is closed, the associated page can still receive the notice that the event sent by the associated page changes, and even if the associated page is not established, the associated page can also send the notice that the event changes. In addition, the embodiment of the invention provides an event processing device, a medium and a computing device.

Description

Event processing method, device, medium and computing equipment
Technical Field
The embodiment of the invention relates to the field of information processing, in particular to an event processing method, an event processing device, an event processing medium and a computing device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the development of electronic technology, each existing application is more or less combined by some objects that need to communicate messages with each other to complete the task.
The conventional event notification generally performs corresponding event message processing by sending a message notification to different pages or controls when the pages or controls are alive. At present, a conventional event message processing mechanism (for example, a famous open source project EventBus) is generally only good at processing a scene that an event source is on other pages, and a main page receives an event transmission message, for example, a scene that each article shows a praise amount of information in a project top page list, and after clicking to enter a news article page in the list and carrying out praise operation in the article page, the project top page needs to be updated with the praise amount, wherein the event source is the article page, and the main page is the project top page which needs to receive a praise change event of the article page.
Because the traditional event message processing mechanism is only good at processing the scene that the event source is at the sub-page and the main page receives the event delivery message of the sub-page, the traditional event message processing mechanism can only work under the condition that both the associated page and the associated page are alive, but for the condition that the associated page is not created, the event 1 of the associated page changes and notifies the associated page of the event change, or the associated page receives the notification that the event changes, but the condition that the associated page is destroyed cannot play a role in message delivery, and therefore, the defects that the event notification cannot be delivered between the associated page and the event cannot be synchronized exist.
Disclosure of Invention
Therefore, in the prior art, when an event message processing mechanism is adopted for event notification, the problems that the application scene is single and the synchronization of the change event cannot be realized in most scenes exist.
For this reason, an improved event processing method is highly needed to reduce the coupling degree between the associated page and the associated page when the message is notified, and thus is suitable for more application scenarios.
In this context, embodiments of the present invention are expected to provide an event processing method capable of storing a notification of a change in an event of an associated page, and sending a notification of a change in an event subscribed to the associated page, thereby reducing a coupling degree between the associated page and the associated page.
In a first aspect of embodiments of the present invention, there is provided an event processing method, including: receiving a notification that the event sent by the associated page has changed; recording the event that changes; and calling back subscription information of the associated page, and sending a notification that at least one event of the associated page subscription changes to the associated page under the condition that the at least one event of the associated page subscription changes is determined, wherein the associated page subscription has at least one event of the associated page.
In an embodiment of the present invention, the event that the record changes includes: in the event that the identity of the event is not included in the event identity hash set: storing the identification of the event into the event identification hash set; and establishing a mapping relation by taking the identifier of the event as a key and taking an empty hash set as a value, wherein the notification sent by the associated page comprises the identifier of the event which changes, the event identifier hash set is created in advance, and the initial state of the event identifier hash set is empty.
In another embodiment of the present invention, after sending the notification that the at least one event has changed to the associated page, the event processing method further includes: and writing the page identification of the associated page into a hash set of which the key is the value of the identification of the at least one event, wherein the subscription information comprises the page identification of the associated page.
In another embodiment of the present invention, the recording the event that changes further includes: in the event that the identification of the event is included in the event identification hash set: in the event that the hash set of the key for the identified value of the event is not empty, the key is nulled for the identified value of the event and the null hash set is reassigned.
In a further embodiment of the present invention, the method for calling back the subscription information of the associated page, and in the case that it is determined that at least one event subscribed to the associated page changes, sending a notification of the change of the at least one event to the associated page includes: calling back subscription information of an associated page, wherein the subscription information further comprises an identifier of an event of at least one associated page subscribed by the associated page; determining whether a key is included in the hash set of the value of the identifier of at least one event in the event of the associated page subscription included in the hash set of event identifiers; and sending a notification of a change in the at least one event to the associated page if the key does not include the page identification of the associated page in the hashed set of values for the identification of the at least one event.
In a further embodiment of the present invention, the event processing method further includes: calling back unsubscribe information of the associated page, wherein the unsubscribe information comprises: the identifier of the event of the at least one associated page subscribed by the corresponding associated page and the page identifier of the corresponding associated page; and removing the page identifier of the corresponding associated page in the unsubscribe information under the condition that the hash set of the value of the identifier of the event of the at least one associated page subscribed for by the associated page by the key comprises the page identifier of the corresponding associated page in the unsubscribe information.
In yet another embodiment of the present invention, the above event processing method is implemented by a singleton mode with double check locks.
In a second aspect of embodiments of the present invention, there is provided an event processing apparatus comprising a receiving module, a recording module, and a callback module. The receiving module is used for receiving the notice that the event sent by the associated page changes; the recording module is used for recording the changed events; the callback module is used for calling back subscription information of the associated page, and sending a notification that at least one event changes to the associated page when determining that at least one event subscribed by the associated page changes, wherein the associated page is subscribed by at least one event of the associated page.
In an embodiment of the present invention, the recording module includes an event identifier storage sub-module and a mapping relationship establishing sub-module. The event identification storing submodule is used for storing the identification of the event into the event identification hash set under the condition that the event identification hash set does not comprise the identification of the event; and the mapping relation establishing submodule is used for establishing a mapping relation by taking the identifier of the event as a key and taking the empty hash set as a value. The notification sent by the associated page includes the identifier of the event which changes, the event identifier hash set is created in advance, and the initial state of the event identifier hash set is empty.
In another embodiment of the present invention, the event processing apparatus further includes a page identifier writing module, configured to write a page identifier of the associated page into a hash set whose key is a value of the identifier of the at least one event after the callback module sends the notification that the at least one event changes to the associated page, where the subscription information includes the page identifier of the associated page.
In another embodiment of the present invention, the recording module further includes a null assignment submodule, configured to null the value of the key for the identifier of the event and reassign to a null hash set, when the hash set of the identifier of the event includes the identifier of the event and the hash set of the value of the key for the identifier of the event is not null.
In another embodiment of the present invention, the callback module includes: a subscription information callback submodule, a page identification determining submodule and a notification sending submodule. The subscription information callback submodule is used for calling back subscription information of the associated page, and the subscription information also comprises an identifier of an event of at least one associated page subscribed by the associated page; the page identification determining submodule is used for determining whether the page identification of the associated page is included in the hash set of the event identification, wherein the hash set of the event identification includes the identification of at least one event in the events of the associated page subscribed by the associated page; the notification sending submodule is used for sending the notification that the at least one event changes to the associated page under the condition that the key does not comprise the page identification of the associated page in the hash set of the value of the identification of the at least one event.
In another embodiment of the present invention, the callback module is further configured to call back unsubscribe information of the associated page, where the unsubscribe information includes: the identifier of the event of the at least one associated page subscribed by the corresponding associated page and the page identifier of the corresponding associated page; and the above event processing apparatus further includes a page identifier removing module, configured to remove the page identifier of the corresponding associated page in the unsubscribe information under the condition that the hash set of the value of the identifier of the event of the at least one associated page subscribed to by the key for the associated page includes the page identifier of the corresponding associated page in the unsubscribe information.
In a further embodiment of the present invention, the event processing apparatus implements event processing through a singleton mode having a double check lock.
In a third aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the event processing method provided according to the first aspect of embodiments of the present invention.
In a fourth aspect of embodiments of the present invention, a computing device is provided. The computing device includes one or more memories storing executable instructions, and one or more processors. The processor executes the executable instructions to implement the event processing method provided according to the first aspect of the embodiments of the present invention.
According to the event processing method, the event processing device, the event processing medium and the event processing computing device, in the event processing, the transmission of the notification of the event change does not require the associated page and the associated page to be alive, but the transmission of the notification is realized by respectively interacting with the associated page and the associated page, so that the coupling degree of the associated page and the associated page can be reduced, and the event processing method, the event processing device, the event processing medium and the event processing computing device can be applied to the transmission of the notification of the event change in various scenes.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically shows an application scenario of an event processing method, apparatus, medium, and computer device according to an embodiment of the present invention;
FIG. 2 schematically illustrates a flow diagram of an event processing method according to an embodiment of the invention;
FIG. 3 schematically shows a flow diagram of an event processing method according to another embodiment of the invention;
FIG. 4 is a flow diagram that schematically illustrates a method of sending a notification of a change in an event to an associated page, in accordance with an embodiment of the present invention:
FIG. 5 schematically shows a flow diagram of an event processing method according to a further embodiment of the invention;
FIG. 6 schematically shows a block diagram of an event processing apparatus according to an embodiment of the present invention;
FIG. 7 schematically shows a program product suitable for performing an event handling method according to an embodiment of the invention;
FIG. 8 schematically shows a block diagram of a computing device suitable for performing the event processing method according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, an event processing method, an event processing device, an event processing medium and a computing device are provided.
In this document, it is to be understood that any number of elements in the figures are provided by way of illustration and not limitation, and any nomenclature is used for differentiation only and not in any limiting sense.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that if the coupling degree between the associated page and the associated page is reduced, that is, the associated page and the associated page do not directly exchange the transfer message, but an intermediary device stores the notification of the change of the event sent by the associated page, and sends the notification of the change of the event to the associated page, the requirement that the associated page needs to survive when the associated page receives the notification and the associated page needs to survive when the associated page sends the notification can be eliminated, thereby effectively reducing the requirement of event transfer and improving the inclusion of event processing.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
Reference is first made to fig. 1.
Fig. 1 schematically shows an application scenario of an event processing method, apparatus, medium, and computer device according to an embodiment of the present invention. It should be noted that fig. 1 is only an example of an application scenario in which the embodiment of the present invention may be applied to help those skilled in the art understand the technical content of the present invention, and does not mean that the embodiment of the present invention may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the application scenario 100 includes an intermediary device 110, an associated page 120, and an associated page 130.
The intermediary apparatus 110 may specifically be, for example, an electronic device capable of receiving a notification of a change of an event sent by the associated page and sending a notification of a change of an intercepted event to the associated page 130, where the electronic device includes, but is not limited to, a desktop computer 111, a laptop portable computer 112, a tablet computer 113, a smart phone, and the like.
The associated page 130 and the associated page 120 may be, for example, display pages of the same other electronic device or two different other electronic devices except the mediation device 110.
The intermediary device 110 may be a functional module stored in an electronic device such as a desktop computer 111, a laptop computer 112, a tablet computer 113, and a smart phone in fig. 1.
The associated page 120 and the associated page 130 may also be different pages displayed by referring to the electronic devices such as the desktop computer 111, the laptop portable computer 112, the tablet computer 113, and the smartphone in fig. 1, and the associated page 120 and the associated page 130 have an association relationship, specifically, the association relationship may be that, for example, part of content in the associated page 120 changes, which may cause corresponding content in the associated page 130 to change.
Specifically, as shown in fig. 1, the association page 131 and the associated page 121 have an association relationship due to the change event 2 and the change event 3, the association page 132 has an association relationship due to the change event 1 and the associated page 121, has an association relationship due to the change events 4 and 5 and the associated page 122, and the association page 133 has an association relationship due to the change event 4 and the associated page 122.
The intermediary device 110 is configured to receive and store change events 1-5 (specifically, notifications of event changes) sent by the associated page 120, and receive an event subscription of the associated page 130, specifically, subscription information provided by the associated page 130, and establish a monitoring mechanism of the associated page 130.
The notification of the event change sent by the associated page 120 includes the identifier of the event that has changed, and the subscription information provided by the associated page also includes the identifier of the event that needs to be monitored, so that when the associated page 130 needs to synchronize the monitored event, it can be determined whether the received notification of the event change includes the event monitored by the associated page 130 only by the intermediary device 110 recalling the subscription information provided by the associated page 130, and in the case of including the event monitored by the associated page 130, the intermediary device 110 sends the notification of the event change monitored by the associated page 130, thereby implementing synchronization of the monitored event, and implementing the transmission of the change event between the associated page and the associated page.
In summary, when receiving the notification sent by the associated page 120, the intermediary device 110 does not need to consider whether the associated page 130 is established, and when sending the notification to the associated page 130, the intermediary device 110 does not need to consider whether the associated page 120 still survives, so that the coupling degree between the associated page 120 and the associated page 130 can be reduced, and the delivery mechanism of the notification with the event change can be applied to more specific scenarios.
It should be noted that the event processing method provided by the embodiment of the present invention may be executed by the intermediary apparatus 110. Accordingly, the event processing apparatus provided by the embodiment of the present invention may be the intermediary apparatus in fig. 1, or a functional module disposed in the electronic device.
It should be understood that the number and types of intermediary devices, associated pages, and associated pages in FIG. 1 are merely illustrative. There may be any number and type of intermediary devices, associated pages, and associated pages, as desired for the implementation.
Exemplary method
The following describes an event processing method according to an exemplary embodiment of the present invention with reference to fig. 2 to 5 in conjunction with the application scenario of fig. 1. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Fig. 2 schematically shows a flow chart of an event handling method according to an embodiment of the invention.
As shown in fig. 2, the event processing method according to an embodiment of the present invention includes operations S210 to S230, and the event processing method may be performed, for example, by referring to the mediation apparatus 110 in fig. 1.
In operation S210, a notification that the event sent by the associated page is changed is received.
According to the embodiment of the present invention, the associated page, for example, at the time of initialization, may directly send the identifications of the events subscribed to by all the associated pages, for the intermediary apparatus 110 to receive and store in the preset event identification hash set, and for different events, the identifications may be unique, for example, eventID, specifically, the initial state of the preset event identification hash set is an empty hash set state. The associated page may also include an identifier of the event that has changed in the notification of the change in the sent event, and the associated page is stored in a preset event identifier hash set when the intermediary device receives the event identifier.
According to an embodiment of the present invention, the above-mentioned associated pages may be one or more, for example, all events monitored in a plurality of associated pages have unique identifications, for example, the identifications of different events in the same associated page are different, and the identifications of events in different associated pages are also different.
According to the embodiment of the invention, the monitored events in the associated page can be events which can change in response to the operation of the user, for example, the associated page is a news detail presentation page, wherein the monitored events can be, for example, the number of praise, the number of comment pieces, the comment content and the like. When the monitored event changes in response to the operation of the user, the associated page sends a notification of the change of the event, and the notification can be used for receiving and processing the associated page having an association relationship with the associated page. It is to be understood that the event in the embodiment of the present invention may be any event that may change, for example, the event may also be an event that changes according to a preset mechanism, and is not limited to an event that changes in response to an operation of a user.
In operation S220, the event in which the change occurs is recorded.
According to an embodiment of the present invention, the operation S220 may be, for example, storing an event identifier related to the received notification that the event has changed in a change list, so as to determine whether the event of the associated page subscription has changed in operation S230.
In operation S230, the subscription information of the associated page is called back, and in a case that it is determined that at least one event subscribed to the associated page changes, a notification that the at least one event changes is sent to the associated page.
According to the embodiment of the present invention, the associated page is a page having an association relationship with the associated page described in operation S210, that is, a part of the content of the associated page changes with the corresponding content of the associated page having an association relationship with the associated page.
According to the embodiment of the present invention, the subscription message of the associated page may specifically include an identifier of a subscription (listening) event of the associated page and a page identifier of the associated page (the page identifier may be represented by a subscribe Id, for example), and the subscription message of the associated page is called back, and the identifier of the subscription event is matched and compared with the identifier of the event recorded in operation S220, and when the event recorded in operation S220 includes the subscription event of the associated page, the notification that the event corresponding to the subscription event received in operation S210 changes may be sent to the corresponding associated page according to the page identifier of the associated page.
According to an embodiment of the present invention, the operation S230 may be specifically executed when the associated page is constructed, or may be executed in response to a request sent by the associated page, where the subscription information of the associated page may be specifically sent to the intermediary device in fig. 1 when the associated page is initialized, or may be sent when the associated page sends the request.
According to an embodiment of the present invention, in order to enable the intermediary device in fig. 1 to perform operations S210-S230 in fig. 2, the above associated page and associated page may be registered in advance in the intermediary device, and specifically, for example, when the intermediary device is initialized, a hash mapping table is created and a pair of keys is stored, where a key is used to store in advance an event source unique identifier (identifier of a subscribed event), and a value is a hash set of unique identifiers (page identifiers) of event subscribers (associated pages), so that the intermediary device may interact with the associated page and act as a basis for subsequently calling back subscription information of the associated page.
In summary, in the event processing method according to the embodiment of the present invention, when the associated page receives the notification that the event of the associated page changes, the associated page does not need to be maintained, and when the associated page sends the notification that the event changes, the associated page may not be established, that is, the associated page and the associated page may be decoupled, so as to implement the delayed notification of the event change, and thus the event processing method may be applied to more application scenarios.
Fig. 3 schematically shows a flow chart of an event processing method according to another embodiment of the present invention.
As shown in fig. 3, the event processing method of the present embodiment includes, in addition to operations S210 to S230 described with reference to fig. 2, operation S310, the operation S310 being performed before operation S220, and operation S220 may include operations S221 to S222 or may include operation S223 according to the determination result of operation S310.
According to the embodiment of the present invention, in operation S310, it is determined whether the event identifier hash set includes the identifier of the event, specifically, whether the event identifier hash set includes the identifier of the event that has changed in the notification received in operation S210. If not, it indicates that the associated page in operation S210 is initialized for the first time, or the event in the associated page in operation S210 changes for the first time, then operations S221-S222 are performed.
Storing the identification of the event into an event identification hash set in operation S221; in operation S222, a mapping relationship is established with the identifier of the event as a key and the empty hash set as a value. According to the embodiment of the present invention, the operations S221 to S222 may specifically be, for example, saving information of the event change in the hash map for the subsequent operation S230 to call the judgment.
As shown in fig. 3, the event processing method according to the embodiment of the present invention may further include, for example, operation S320 performed after operation S230.
In operation S320, the page identification of the associated page in operation S230 is written into a hash set of values whose keys are identifications of at least one event.
At least one event refers to an event that changes in the events of the associated page subscriptions mentioned in operation S230, specifically, is an event that is subscribed to by the associated page in the events having the mapping relationship established in operation S222. The page identifier of the associated page is specifically the page identifier in the subscription information recalled in operation S230, and the operation S320 is to write the page identifiers of the associated page into the values of the mapping relationship in operation S222, where the identifier of the at least one event is taken as a key, specifically, into the hash set in the mapping relationship.
In this way, when the associated page subsequently requests the notification of the event change, for example, it may be determined whether the value of the identifier of the event subscribed by the key for the associated page includes the page identifier of the associated page, and if the value of the identifier of the event subscribed by the key for the associated page includes the page identifier of the associated page, it is described that the associated page is notified of the event change, and there is no new change, at this time, the notification of the event change to the associated page in operation S230 may not be executed any more, and therefore, a defect that the notification needs to be repeated when the associated page is repeatedly constructed when the associated page is not changed may be avoided, and thus, resource waste may be reduced.
According to the embodiment of the present invention, in the case that the determination result in operation S310 is that the hash set of event identifications includes the identification of the event that has changed in the notification received in operation S210, it indicates that the event that has changed in the associated page in operation S210 does not occur for the first time, then operation S223 is performed.
In operation S223, in the case that the hash set of the key for the identified value of the event is not empty, the key is nulled for the identified value of the event and the empty hash set is reassigned. According to an embodiment of the present invention, this operation S223 may be specifically performed by, for example: first, it is determined whether a hash set of a value of the key that is the identifier of the event is empty, and if the hash set of the value is empty, it is known according to the scheme described in operation S320 that the notification of the event change has not been sent to any associated page, no processing is required; if the hash set of the value is not empty, the notification indicating that the event has changed is sent to some or all of the associated pages, the key is set to be empty for the value of the event identifier, and the empty hash set is newly assigned.
Through the execution of the operation S223, the embodiment of the present invention can ensure that when the notification that the event changes is sent to the associated page through the operation S230, the sent notification that the event changes latest is sent, and can avoid that the associated page corresponding to the page identifier written in the unmarked hash set cannot acquire the notification that the latest event changes.
FIG. 4 schematically illustrates a flow diagram of a method of sending a notification of a change in an event to an associated page, in accordance with an embodiment of the present invention.
According to the embodiment of the present invention, based on the event processing method described with reference to fig. 3, the operation S230 may specifically include, for example, operations S231 to S232.
In operation S231, subscription information of the associated page is called back, and the subscription information may include, in addition to the page identifier of the associated page, an identifier of an event of at least one associated page to which the associated page is subscribed. Specifically, as shown in the associated page 131 in fig. 1, the subscription information includes its own page identifier, and identifiers of change event 1, change event 4, and change event 5.
In operation S232, in case that at least one of the events of the associated page to which the associated page is subscribed is included in the event identification hash set, it is determined whether a page identification of the associated page is included in the hash set of values of which the key is an identification of the at least one event. Specifically, the operation may specifically include: first, it is determined whether the event identifier hash set includes identifiers of one or more events subscribed to the associated page, and if the event identifier hash set includes identifiers of some or all of the one or more events, it indicates that a notification that the some or all of the events are changed is received in operation S210, and the some or all of the events are changed; then determining whether the hash set of the key as the value of the identifier of the part or all of the events comprises the page identifier of the associated page, if the hash set of the key as the value of the identifier of the part or all of the events comprises the page identifier of the associated page, indicating that a notification that the part or all of the events are changed is sent to the associated page, and not executing any operation; if the key does not include the page identifier of the associated page in the hash set of the value of the identifier of the part or all of the events, it indicates that the notification that the part or all of the events have changed has not been sent to the associated page, and operation S233 is performed.
In operation S233, in a case where the key does not include the page identification of the associated page in the hash set of the value of the identification of the at least one event, a notification that the at least one event has changed is transmitted to the associated page.
According to the embodiment of the invention, in the event that the event identification hash set does not include the identifications of all events in the associated pages subscribed by the associated pages, the associated pages are not changed or not constructed, and then the associated pages are not processed.
In summary, in the embodiment of the present invention, the notification is sent to the associated page only when the event subscribed by the associated page changes and the notification that the subscribed event changes is not sent to the associated page yet, so that the event subscribed by the associated page is prevented from changing only once, and the associated page requests the same notification for multiple times, thereby effectively avoiding resource waste and improving the event processing efficiency.
As can be seen from the above, the event processing method according to the embodiment of the present invention can be implemented, for example, by referring to the intermediary device in fig. 1:
firstly, initializing the intermediary device, and creating an empty hash set during initialization, wherein the attribute of the empty hash set is that only non-repeating objects can be stored, and the empty hash set is specifically the preset event identification hash set; meanwhile, a hash mapping is also created during initialization for subsequent storage of key value pairs, namely for establishing the mapping relationship, wherein the key is unique, the identifier of the event is taken as the key, the value is a page identifier hash set of a subscriber of the event corresponding to the identifier of the event in the subscription key (namely, a page associated with the event is subscribed), and the initial value of the page identifier hash set is null;
secondly, when the event of the associated page changes, the intermediary device is informed of the identifier of the event to be changed, the intermediary device stores the identifier of the notified event into an event identifier hash set, stores the identifier of the event in a hash map as a key, and gives the key an empty hash set as a value, wherein if the mapping relation which takes the identifier of the event as the key already exists in the hash map and the hash set of the value of the key is not empty, the hash set is emptied to newly add a new empty hash set;
then, when a notification of event change is requested under the condition of associated page construction/reconstruction, or a periodic notification of event change is requested, request information is sent to the intermediary device, and the intermediary device firstly judges whether the event identifier hash set contains the identifier eventId of the event subscribed by the associated page when receiving the request information, and if not, the event source does not exist, and the processing is not performed; if yes, checking a hash set of the value of the identifier of the event of which the key is the associated page subscription, judging whether the hash set contains the page identifier subscriber Id of the associated page, and if yes, indicating that the associated page consumes the subscribed event, not performing subsequent processing; if yes, executing the subsequent flow;
and finally, responding to the request of the associated page, carrying out callback processing of the event change of the associated page, sending a notification that the subscribed event changes to the associated page, and storing the page identifier of the associated page in a hash set of which the key is the value of the identifier of the subscribed event, so that the associated page successfully consumes the event change.
Fig. 5 schematically shows a flow chart of an event processing method according to a further embodiment of the present invention.
As shown in fig. 5, the event processing method according to the embodiment of the present invention includes operations S510 and S520 in addition to operations S210 to S230.
According to an embodiment of the present invention, the event processing method according to an embodiment of the present invention may further include operations S310 to S320 described with reference to fig. 3, where the operation S220 specifically may include, for example, operations S221 to S222 described with reference to fig. 3, or may include operation S223 described with reference to fig. 3, and the operation S230 may include operations S231 to S233 described with reference to fig. 4.
In operation S510, unsubscribe information of the associated page is recalled. Specifically, for example, the unsubscribe information may be that the associated page is sent to the intermediary apparatus in fig. 1, and then the operation S510 is executed when the intermediary apparatus receives the unsubscribe information of the associated page. Wherein the unsubscribing information comprises: the identifier of the event of at least one associated page subscribed by the corresponding associated page, and the page identifier of the corresponding associated page. And the corresponding associated page is the page for sending the unsubscribe information.
In operation S520, in the case that the hash set of the value of the identifier of the event of the at least one associated page to which the key is subscribed for the associated page includes the page identifier of the corresponding associated page in the unsubscribe information, the page identifier of the corresponding associated page in the unsubscribe information is removed.
In summary, when the associated page does not need to monitor the change of the event of the associated page any more (specifically, for example, when the content of the associated page is modified and does not have an association relationship with the associated page any more), the intermediary device deletes the relevant information of the associated page in time by calling back the unsubscribe information, so that the occupied space of the memory can be reduced to a certain extent, and the event processing efficiency can be improved in time.
According to the embodiment of the present invention, in the case that the associated page no longer needs to monitor the change of the event of the associated page, for example, the association relationship between the associated page and the associated page may be cancelled through an additionally set association relationship cancellation logic, specifically, for example, when the associated page sends unsubscribe information, the registration information of the associated page may be deleted according to the additionally set association relationship cancellation logic, specifically, for example, the page identifier of the associated page recorded in the hash set may be uniquely identified in the hash mapping table created when the broker apparatus is initialized. It is to be understood that the above-described association cancellation logic is provided as an example only to facilitate understanding of the present disclosure, and the present disclosure is not limited thereto.
According to an embodiment of the present invention, the event processing method described above with reference to fig. 2 to 5 may be specifically implemented by, for example, a singleton mode to ensure global uniqueness, and in order to ensure security of singleton threads, a double check lock may be further added in the singleton mode. Specifically, when the event processing method described with reference to fig. 2 to 5 is performed by the mediation device described with reference to fig. 1, the mediation device may be created through the singleton schema, and a double check lock is added when the mediation device is created, so as to effectively prevent the singleton class from having multiple instances.
Exemplary devices
Having described the method of the exemplary embodiment of the present invention, the event processing device of the exemplary embodiment of the present invention will be explained next with reference to fig. 6.
Fig. 6 schematically shows a block diagram of an event processing device 600 according to an embodiment of the present invention.
As shown in fig. 6, the event processing apparatus may include a receiving module 610, a recording module 620, and a callback module 630 according to an embodiment of the present invention. The event processing device can be used for realizing the event processing method according to the embodiment of the invention.
The receiving module 610 is configured to receive a notification that an event sent by an associated page changes (operation S210).
The recording module 620 is used for recording the event that changes (operation S220).
The callback module 630 is configured to call back subscription information of an associated page, and send a notification of a change of at least one event to the associated page if it is determined that the at least one event of the associated page subscription has changed (operation S230), where the associated page subscription has at least one event of the associated page.
According to an embodiment of the present invention, as shown in fig. 6, the recording module 620 may include, for example, an event identifier storing submodule 621 and a mapping relationship establishing submodule 622. The event identifier storing submodule 621 is configured to store the identifier of the event into the event identifier hash set if the event identifier hash set does not include the identifier of the event (operation S221), and the mapping relationship establishing submodule 622 is configured to establish a mapping relationship by using the identifier of the event as a key and using the empty hash set as a value (operation S222). The notification sent by the associated page includes the identifier of the event which changes, the event identifier hash set is created in advance, and the initial state of the event identifier hash set is empty.
According to an embodiment of the present invention, as shown in fig. 6, the event processing apparatus 600 may further include a page identifier writing module 640, where the page identifier writing module 640 is configured to write the page identifier of the associated page into a hash set whose key is a value of the identifier of the at least one event after the callback module 630 sends the notification that the at least one event changes to the associated page (operation 320), where the subscription information includes the page identifier of the associated page.
According to an embodiment of the present invention, as shown in fig. 6, the recording module 620 may further include, for example, a null assignment sub-module 623, where the null assignment sub-module 623 is configured to, in a case that the event identification hash set includes the event identification and the hash set of the value of the event identification by the key is not null, null the value of the event identification by the key and reassign the null hash set (operation S223).
According to an embodiment of the present invention, as shown in fig. 6, the callback module 630 may include, for example, a subscription information callback submodule 631, a page identifier determination submodule 632, and a notification sending submodule 633. The subscription information callback sub-module 631 is configured to call back subscription information of the associated page, where the subscription information further includes an identifier of an event of at least one associated page subscribed to by the associated page (operation S231); the page identification determining sub-module 632 is configured to determine whether a page identification of the associated page is included in the hash set of the event identifications, where the hash set of the event identifications includes an identification of at least one event in the associated page of the associated page subscription (operation S232); the notification sending sub-module 633 is configured to send a notification that the at least one event has changed to the associated page if the page identifier of the associated page is not included in the hash set of the value of the identifier of the at least one event as a key (operation S233).
According to an embodiment of the present invention, the above-mentioned callback module 630 (further configured to callback unsubscribe information of the associated page, the unsubscribe information including an identifier of the event of the at least one associated page to which the corresponding associated page is subscribed and a page identifier of the corresponding associated page (operation S510), and as shown in fig. 6, the above-mentioned event processing apparatus 600 may further include a page identifier removing module 650, where the page identifier removing module 650 is configured to remove the page identifier of the corresponding associated page in the unsubscribe information in a case that the hash set of values of the identifiers of the event of the at least one associated page to which the key is subscribed for the associated page includes the page identifier of the corresponding associated page in the unsubscribe information (operation S520).
According to an embodiment of the present invention, the event processing apparatus may implement event processing through a singleton mode having a double check lock, for example. More specifically, the event processing apparatus may be created in a singleton mode, for example, to ensure global uniqueness, and a double check lock may be added to ensure thread security of a singleton when the event processing apparatus is created.
Exemplary Medium
Having described the method of the exemplary embodiment of the present invention, a computer-readable storage medium suitable for executing the event processing method of the exemplary embodiment of the present invention will be described with reference to fig. 7.
There is also provided, in accordance with an embodiment of the present invention, a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform an event processing method according to an embodiment of the present invention.
In some possible embodiments, aspects of the present invention may also be implemented in the form of a program product including program code for causing a computing device to perform the steps of the method for performing event processing according to various exemplary embodiments of the present invention described in the above section "exemplary method" of this specification when the program product is run on the computing device, for example, the computing device may perform step S210 as shown in fig. 2: receiving a notification that the event sent by the associated page has changed; step S220: recording the event that changes; step S230: and calling back subscription information of the associated page, and sending a notification that at least one event of the associated page subscription changes to the associated page under the condition that the at least one event changes.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As shown in fig. 7, a program product 700 for performing an event processing method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary computing device
Having described the method, medium, and apparatus of exemplary embodiments of the present invention, a computer device suitable for performing the event processing method of exemplary embodiments of the present invention will now be described with reference to fig. 8.
The embodiment of the invention also provides the computing equipment. As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a computing device according to the present invention may include at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps in the event processing method according to various exemplary embodiments of the present invention described in the above section "exemplary method" of the present specification. For example, the processing unit may perform step S210 as shown in fig. 2: receiving a notification that the event sent by the associated page has changed; step S220: recording the event that changes; step S230: and calling back subscription information of the associated page, and sending a notification that at least one event of the associated page subscription changes to the associated page under the condition that the at least one event changes.
A computing device 800 for performing the event processing method according to this embodiment of the present invention is described below with reference to fig. 8. The computing device 800 shown in FIG. 8 is only one example and should not be taken to limit the scope of use and functionality of embodiments of the present invention.
As shown in fig. 8, computing device 800 is in the form of a general purpose computing device. Components of computing device 800 may include, but are not limited to: the at least one processing unit 801, the at least one memory unit 802, and a bus 803 that couples various system components including the memory unit 802 and the processing unit 801.
The bus 803 may include a data bus, an address bus, and a control bus.
The storage unit 802 may include volatile memory, such as Random Access Memory (RAM)8021 and/or cache memory 8022, and may further include Read Only Memory (ROM) 823.
Storage unit 802 can also include a program/utility 8025 having a set (at least one) of program modules 8024, such program modules 8024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The computing device 800 may also communicate with one or more external devices 804 (e.g., keyboard, pointing device, bluetooth device, etc.), which may be through an input/output (I/0) interface 805. Moreover, computing device 800 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via network adapter 806. As shown, the network adapter 806 communicates with the other modules of the computing device 800 over the bus 803. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computing device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several units/modules or sub-units/sub-modules of the apparatus are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (14)

1. An event processing method, comprising:
receiving a notification that the event sent by the associated page has changed;
in the event that the identity of the event is not included in the event identity hash set:
storing the identification of the event into the event identification hash set;
establishing a mapping relation by taking the identifier of the event as a key and taking the empty hash set as a value;
calling back subscription information of an associated page, and sending a notification that at least one event of the associated page subscription changes to the associated page under the condition that the at least one event changes: and
writing a page identification of the associated page into a hash set of values for which a key is an identification of the at least one event,
wherein the notification sent by the associated page includes the identifier of the event that changes, the event identifier hash set is created in advance, and the associated page is subscribed with the event of at least one associated page.
2. The method of claim 1, wherein,
the initial state of the event identification hash set is empty;
the subscription information includes a page identifier of the associated page.
3. The method of claim 2, wherein recording the event that changes further comprises: in the event that the identification of the event is included in the event identification hash set:
in the event that the hash set of the key for the identified value of the event is not empty, the key is nulled for the identified value of the event and the null hash set is reassigned.
4. The method of claim 2, wherein the subscription information of the associated page is called back, and in the case that it is determined that at least one event of the associated page subscription changes, the sending of the notification of the change of the at least one event to the associated page comprises:
calling back subscription information of an associated page, wherein the subscription information further comprises an identifier of an event of at least one associated page subscribed by the associated page;
determining whether a key is included in the hash set of the value of the identifier of at least one event in the event of the associated page subscription included in the hash set of event identifiers; and
sending a notification of a change in the at least one event to the associated page if the key does not include the page identification of the associated page in the hashed set of values for the identification of the at least one event.
5. The method of claim 2, further comprising:
calling back unsubscribe information of the associated page, wherein the unsubscribe information comprises: the identifier of the event of the at least one associated page subscribed by the corresponding associated page and the page identifier of the corresponding associated page; and
and under the condition that the hash set of the value of the identifier of the event of the at least one associated page subscribed by the key for the associated page comprises the page identifier of the corresponding associated page in the unsubscribe information, removing the page identifier of the corresponding associated page in the unsubscribe information.
6. The method of claim 1, wherein the method is implemented by a singleton mode with double check locks.
7. An event processing apparatus comprising:
the receiving module is used for receiving the notice that the event sent by the associated page changes;
a logging module to log the event that changes, the logging module comprising:
the event identification storing submodule is used for storing the identification of the event into the event identification hash set under the condition that the event identification hash set does not comprise the identification of the event;
the mapping relation establishing submodule is used for establishing a mapping relation by taking the identifier of the event as a key and taking the empty hash set as a value;
the callback module is used for calling back subscription information of the associated page and sending a notification that at least one event changes to the associated page under the condition that the at least one event subscribed by the associated page is determined to change; and
a page identifier writing module, configured to write a page identifier of the associated page into a hash set of which a key is a value of an identifier of the at least one event after the callback module sends a notification that the at least one event has changed to the associated page,
wherein the notification sent by the associated page includes the identifier of the event that changes, the event identifier hash set is created in advance, and the associated page is subscribed with the event of at least one associated page.
8. The apparatus of claim 7, wherein:
the initial state of the event identification hash set is empty;
the subscription information includes a page identifier of the associated page.
9. The apparatus of claim 8, wherein the recording module further comprises:
and the null assignment submodule is used for nulling the value of the key for the event identifier and endowing the null hash set with the null key under the condition that the event identifier hash set comprises the event identifier and the hash set of the value of the key for the event identifier is not null.
10. The apparatus of claim 8, wherein said callback module comprises:
the subscription information callback submodule is used for calling back subscription information of the associated page, and the subscription information also comprises an identifier of an event of at least one associated page subscribed by the associated page;
a page identification determining sub-module, configured to determine, if a page identification of an associated page is included in the hash set of event identifications, the hash set of key values of the identification of at least one event; and
a notification sending sub-module, configured to send a notification that the at least one event has changed to the associated page if the page identifier of the associated page is not included in the hash set of values of which the key is the identifier of the at least one event.
11. The apparatus of claim 8, wherein:
the callback module is further configured to: calling back unsubscribe information of the associated page, wherein the unsubscribe information comprises: the identifier of the event of the at least one associated page subscribed by the corresponding associated page and the page identifier of the corresponding associated page;
the device further comprises: a page identifier removing module, configured to remove the page identifier of the corresponding associated page in the unsubscribe information when the hash set of the value of the identifier of the event of the at least one associated page subscribed to by the key includes the page identifier of the corresponding associated page in the unsubscribe information.
12. The apparatus of claim 7, wherein the apparatus implements event processing through a singleton mode with double check locks.
13. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, implement a method according to any one of claims 1 to 6.
14. A computing device, comprising:
one or more memories storing executable instructions; and
one or more processors executing the executable instructions to implement the method of any one of claims 1-6.
CN201811317341.6A 2018-11-06 2018-11-06 Event processing method, device, medium and computing equipment Active CN109445966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811317341.6A CN109445966B (en) 2018-11-06 2018-11-06 Event processing method, device, medium and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811317341.6A CN109445966B (en) 2018-11-06 2018-11-06 Event processing method, device, medium and computing equipment

Publications (2)

Publication Number Publication Date
CN109445966A CN109445966A (en) 2019-03-08
CN109445966B true CN109445966B (en) 2020-11-10

Family

ID=65551364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811317341.6A Active CN109445966B (en) 2018-11-06 2018-11-06 Event processing method, device, medium and computing equipment

Country Status (1)

Country Link
CN (1) CN109445966B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312263B (en) * 2021-06-07 2022-06-21 维沃移动通信(杭州)有限公司 Anomaly monitoring method and device
CN113360809A (en) * 2021-06-30 2021-09-07 平安普惠企业管理有限公司 Page data updating method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315609A (en) * 2007-05-31 2008-12-03 华为技术有限公司 Apparatus and method for implementing communication between components of single process
CN106155662A (en) * 2015-04-15 2016-11-23 高德软件有限公司 A kind of Web page event-handling method, system and page controller
CN107678863A (en) * 2016-08-01 2018-02-09 北京国双科技有限公司 The page assembly means of communication and device
CN107729161A (en) * 2017-09-28 2018-02-23 平安普惠企业管理有限公司 Information notice method, system, equipment and computer-readable recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7756898B2 (en) * 2006-03-31 2010-07-13 Isilon Systems, Inc. Systems and methods for notifying listeners of events
CN102662646B (en) * 2012-03-01 2015-09-23 华为技术有限公司 Sensing data disposal route and computing node
CN103678549B (en) * 2013-12-04 2017-06-13 新浪网技术(中国)有限公司 Webpage data sharing method and device
CN106293972B (en) * 2016-08-12 2019-12-10 金蝶软件(中国)有限公司 single-page application page communication method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315609A (en) * 2007-05-31 2008-12-03 华为技术有限公司 Apparatus and method for implementing communication between components of single process
CN106155662A (en) * 2015-04-15 2016-11-23 高德软件有限公司 A kind of Web page event-handling method, system and page controller
CN107678863A (en) * 2016-08-01 2018-02-09 北京国双科技有限公司 The page assembly means of communication and device
CN107729161A (en) * 2017-09-28 2018-02-23 平安普惠企业管理有限公司 Information notice method, system, equipment and computer-readable recording medium

Also Published As

Publication number Publication date
CN109445966A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
US10380103B2 (en) Object data updating method and apparatus in an object storage system
US7793140B2 (en) Method and system for handling failover in a distributed environment that uses session affinity
US7836185B2 (en) Common resource management in a server cluster
US20150067167A1 (en) Hot pluggable extensions for access management system
CN110389786B (en) Kernel management method, electronic device and computer-readable storage medium
US10122598B2 (en) Subscription watch lists for event handling
CN115517009B (en) Cluster management method, cluster management device, storage medium and electronic equipment
CN113760924B (en) Distributed transaction processing method and device
US11784905B2 (en) Method and apparatus for ensuring continued device operational reliability in cloud-degraded mode
CN109445966B (en) Event processing method, device, medium and computing equipment
CN113946376B (en) Load adjustment method and device, electronic equipment and storage medium
WO2022199206A1 (en) Memory sharing method and device for virtual machines
CN115190125A (en) Monitoring method and device for cache cluster
CN115098469A (en) Database migration method and device, electronic equipment and readable storage medium
CN110851192B (en) Method and device for responding to degraded switch configuration
US8495153B1 (en) Distribution of messages in nodes connected by a grid architecture
CN112965763B (en) Service processing system, method, device and storage medium
US9317546B2 (en) Storing changes made toward a limit
CN115484149B (en) Network switching method, network switching device, electronic equipment and storage medium
CN114185682B (en) Log output method and device, electronic equipment and storage medium
US20210096763A1 (en) Method, device, and computer program product for managing storage system
US20240089339A1 (en) Caching across multiple cloud environments
CN110011767B (en) Method and apparatus for TCP connection backup
CN112749042B (en) Application running method and device
CN112181937B (en) Method and device for transferring data

Legal Events

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