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

Active Publication Date: 2020-08-14
ADVANCED NEW TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of implementing the present invention, the inventor found at least the following problems in the prior art: when the cluster system pushes notifications to peripheral systems, each server in the cluster system will push notifications to all relevant clients in the peripheral systems, Leading to a large number of repeated pushes, making the system load extremely high and greatly reducing system stability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Push method, device and electronic equipment for cluster notification
  • Push method, device and electronic equipment for cluster notification
  • Push method, device and electronic equipment for cluster notification

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present invention provide a push method, device and electronic equipment for cluster notification. The method includes: obtaining configuration change data of the application, the configuration change data being used to indicate the change of the configuration item of the application; judging whether the current server is the on-duty machine, and if so, generating a change notification according to the configuration change data, And push the change notification to the client related to the application. The embodiment of the present invention determines whether to push the cluster notification by judging whether the current server is a machine on duty, and among multiple servers, only the machine on duty performs the push, thereby avoiding repeated push of the cluster notification and improving the stability of the system .

Description

Technical field [0001] The present invention relates to the field of communication technology, and in particular to a method, device and electronic equipment for pushing cluster notifications. Background technique [0002] A cluster system is a parallel or distributed system composed of interconnected computers, which can be managed as a single or unified computing resource. In a cluster environment, an application is deployed on multiple servers for parallel processing, thereby improving server-side operating capabilities. The server where the application is deployed is connected to all relevant clients in the peripheral system that depend on the application to provide services to the relevant clients. When the configuration of an application changes, each server deployed on it will process the changed data, and then push the change notification to all related clients so that the related clients can read the changed configuration from the server. [0003] In the process of imple...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/55H04L67/60
Inventor 周洋
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products