Unlock instant, AI-driven research and patent intelligence for your innovation.

A message monitoring method, device, device and storage medium

A monitoring method and message technology, applied in the computer field, can solve problems such as inability to do one-time registration, waste of resources, etc.

Active Publication Date: 2022-07-08
RUN TECH CO LTD BEIJING
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The event monitoring mechanism in zookeeper has the following defects: for each monitoring, the receiving end needs to be notified to register a watcher with the zookeeper server, and it is impossible to register once and monitor multiple times; the monitoring event watcher on the zookeeper server is not encapsulated, resulting in Every time a monitoring event watcher is added, the monitoring code will be rewritten, resulting in waste of resources

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
  • A message monitoring method, device, device and storage medium
  • A message monitoring method, device, device and storage medium
  • A message monitoring method, device, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Figure 1b It is a flowchart of a message monitoring method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of monitoring messages. The method can be executed by a message monitoring device, and the device can be implemented by software and / or hardware. way to achieve, and can generally be integrated in the notification receiver. correspondingly, as Figure 1b As shown, the method includes the following operations:

[0029] Step 101: Notify the receiving end to obtain the coordination system zookeeper directory from the middleware.

[0030] The notification receiver is a client that receives file notifications. A notification sender is a client that sends file notifications. The coordination system zookeeper directory is the data management directory in the zookeeper server, which is used to manage the data submitted by users.

[0031] Optionally, the zookeeper directory of the coordination system includes the file ...

Embodiment 2

[0055] figure 2 This is a flowchart of a message monitoring method provided in Embodiment 2 of the present invention. This embodiment may be combined with each of the optional solutions in one or more of the above-mentioned embodiments. In this embodiment, after monitoring the file update message corresponding to the target notification sender in the zookeeper directory of the coordination system by monitoring the public component, the The method includes: when the receiving end monitors the file update message, obtains the update configuration file corresponding to the file update message through the monitoring public component to update the file, and reports the file update status information to the middleware.

[0056] correspondingly, as figure 2 As shown, the method includes the following operations:

[0057] Step 201 , informing the receiving end to obtain the coordination system zookeeper directory from the middleware.

[0058] Step 202: The notification receiver s...

Embodiment 3

[0071] image 3 This is a schematic structural diagram of a message monitoring apparatus provided in Embodiment 3 of the present invention. This embodiment is applicable to the case of monitoring messages. The apparatus may be implemented in software and / or hardware, and the apparatus may be configured in the notification receiving end. like image 3 As shown, the apparatus may include: a list acquisition module 301 , a service subscription module 302 and a message monitoring module 303 .

[0072] Among them, the list acquisition module 301 is used to obtain the coordination system zookeeper directory from the middleware; the service subscription module 302 is used to subscribe the message monitoring service of the target notification sender matching the notification receiver according to the coordination system zookeeper directory, and from the middle The preset monitoring public component and the file publishing service list of the target notification sender are obtained ...

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

The invention discloses a message monitoring method, device, equipment and storage medium. The method includes: the notification receiver obtains the coordination system zookeeper directory from the middleware; the notification receiver subscribes to the message monitoring service of the target notification sender matching the notification receiver according to the coordination system zookeeper directory, and obtains the preset from the middleware The monitoring public component and the file publishing service list of the target notification sender; the notification receiver configures the system according to the monitoring public component and the file publishing service list, and monitors the file update corresponding to the target notification sender in the zookeeper directory of the coordination system through the monitoring public component. information. The embodiment of the present invention allows the notification receiver to subscribe to the message monitoring service according to business requirements, and continuously monitor the file update message corresponding to the target notification sender in the zookeeper directory of the coordination system through the monitoring public component.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technologies, and in particular, to a message monitoring method, apparatus, device, and storage medium. Background technique [0002] Zookeeper, a reliable coordination system for distributed systems, is a distributed, open-source distributed application coordination service, and is a software that provides consistent services for distributed applications. Zookeeper is mainly to unify the working status of each node in the distributed system, coordinate and provide node resource preemption in the case of resource conflict, and provide a way for each node to understand the state of the entire cluster. The implementation of all this relies on the event monitoring mechanism in zookeeper. [0003] In the prior art, the event monitoring mechanism in zookeeper is only a simple one-way monitoring, and there is a monitoring vacuum period. like Figure 1a As shown, the notification receiver ...

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): H04L67/10H04L67/51H04L67/06
CPCH04L67/10H04L67/06H04L67/51
Inventor 刘雄风万月亮火一莽
Owner RUN TECH CO LTD BEIJING