Push method, device and electronic equipment for cluster notification
A push device and notification technology, applied in the field of communication, can solve problems such as high system load and reduce system stability, and achieve the effect of avoiding repeated pushes and improving stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 2 It is a flowchart of an embodiment of a method for pushing cluster notifications provided by the present invention. The execution subject of the method may be any server in the business system described in the above embodiment. Such as image 3 As shown, the push method of the cluster notification includes the following steps:
[0024] S201: Acquire configuration change data of the application, where the configuration change data is used to indicate a change in the configuration item of the application.
[0025] S202: Determine whether the current server is an on-duty machine, if yes, execute step S203, otherwise, end the operation.
[0026] S203: Generate a change notification based on the above configuration change data.
[0027] S204: Push the change notification to the client related to the above-mentioned application.
[0028] In the embodiment of the present invention, the cluster notification is pushed by a machine on duty selected from multiple servers. Arbitr...
Embodiment 2
[0032] image 3 It is a flowchart of another embodiment of a method for pushing cluster notifications provided by the present invention. Such as image 3 As shown, on the basis of the above embodiment, a cache switch can be set in the business system, and each server checks the availability of the on-duty machine by periodically querying the status of the cache switch. If the on-duty machine is not available, the current server can be set as Duty machine. Specifically, the method for pushing cluster notifications provided in this embodiment may further include the following steps:
[0033] S301: Query the status of the cache switch regularly.
[0034] The server regularly detects the availability of the currently on-duty machine. If the current on-duty machine is unavailable (the push task cannot be completed), each server obtains the push permission of the on-duty machine through a competition mechanism. First, each server can periodically query the status of the cache switch at...
Embodiment 3
[0047] Figure 4 It is a schematic structural diagram of an embodiment of the cluster notification push device provided by the present invention, which can be used to perform such as figure 2 The method steps shown. The device can be any server in the above-mentioned business system. Such as Figure 4 As shown, the device may include: an acquisition module 41, a judgment module 42, and a push module 43.
[0048] Among them, the obtaining module 41 is used to obtain configuration change data of the application, and the configuration change data is used to indicate the configuration item change of the application; the judgment module 42 is used to judge whether the current server is a machine on duty; the pushing module 43 is used when the current server is on duty When the machine is running, it generates a change notification based on the configuration change data, and pushes the change notification to the client related to the application.
[0049] In the embodiment of the prese...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com