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

A method and device for processing messages in a multi-channel message queue

A message queue and processing method technology, applied in the field of message processing, can solve the problems of message processing that cannot be processed uniformly in the filtering mechanism, cannot achieve universality, and cannot be processed uniformly, so as to reduce code maintenance and improve code expansion The effect of sex and versatility

Active Publication Date: 2022-03-18
SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing MQ message monitoring and processing methods, the main problem of consumer monitoring messages is that the consumer monitoring configuration cannot maintain a unified configuration and processing mechanism, and cannot be processed in a unified manner, and cannot adapt to message changes generated by multiple channels.
In addition, after the consumer monitors the message, there are also problems in the message processing of the message: First, when multi-channel message monitoring and consumption, it is necessary to deserialize the message messages of different channels, which cannot achieve universality ;Secondly, the filtering mechanism of message processing cannot be processed uniformly, and many filtering mechanisms need to be written when consuming messages from different channels

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 method and device for processing messages in a multi-channel message queue
  • A method and device for processing messages in a multi-channel message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present application will be described in further detail below with reference to the accompanying drawings.

[0032] In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0033] Memory may include non-persistent memory in computer readable media, random access memory (RAM) and / or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

[0034] Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change m...

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 purpose of this application is to provide a method and device for processing messages in a multi-channel message queue. This application creates a container, uniformly configures different message topics of the business to obtain configuration information, and registers the configuration information in the container. The configuration information includes different message topics of the business and the attribute information corresponding to each message topic, and the business is at least one; start the Web service, load the configuration information in the container; in the container, based on the configuration information, the obtained multi-channel message queue All messages in the system are deserialized and filtered in sequence to obtain at least one target message; monitor and execute each target message to obtain the execution result corresponding to each target message, and achieve one or more business When processing different message topics, it can be configured and processed in a unified manner, reducing code maintenance and improving code scalability and versatility.

Description

technical field [0001] The present application relates to the field of web front-end technologies, and in particular, to a method and device for processing messages in a multi-channel message queue. Background technique [0002] In the prior art, a message queue (Message Queue, MQ) is a "first-in, first-out" data organization in a basic data structure. It refers to putting the data (message) to be transmitted in the queue, and using the queue mechanism to achieve message delivery - the producer generates the message and puts the message into the queue, and then the consumer handles it. Consumers can pull messages from the specified queue, or subscribe to the corresponding queue, and the MQ server can push messages to consumers. In the development process of the MQ consumer side, there are mainly the following ways to monitor and process after-sales MQ messages for different business channels: For example, the consumer side needs to monitor the messages of different channels...

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): G06F9/54
CPCG06F9/546G06F9/547G06F2209/548
Inventor 赵永永
Owner SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD