Message processing method, device and system, server and storage medium

A message processing and server technology, applied in transmission systems, digital transmission systems, multi-program devices, etc., can solve problems such as backlog of pending messages, reduce message processing efficiency, and reduce message processing timeliness, etc. The effect of improving the efficiency of message processing

Active Publication Date: 2019-10-18
SUZHOU EAGLE NETWORK TECH CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For consumer servers with low processing capabilities, it is easy to cause a large backlog of messages to be processed in the message queue corresponding to

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
  • Message processing method, device and system, server and storage medium
  • Message processing method, device and system, server and storage medium
  • Message processing method, device and system, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0032] Example one

[0033] figure 1 This is a flowchart of a message processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of processing messages. The method can be executed by the message processing device provided in the embodiment of the present invention. The device can be implemented in software and / or hardware, and generally can be integrated in a consumer server. Such as figure 1 As shown, the method of this embodiment specifically includes:

[0034] Step 101: The consumer server obtains a message to be processed from the corresponding distributed message queue in the queue storage server cluster for processing, and updates the message processing time matching the distributed message queue.

[0035] The message distribution server receives at least one message to be processed through the unified message interface, and according to the message type of the message to be processed, distributes the message to be processed ...

Example Embodiment

[0049] Example two

[0050] figure 2 This is a flowchart of a message processing method provided in the second embodiment of the present invention. This embodiment can be combined with each of the optional solutions in one or more of the above embodiments. In this embodiment, judging whether to take over the target distributed message queue according to a preset takeover rule may include: the consumer server obtains other online status The current load of the consumer server; the consumer server judges whether the current load of the consumer server is the lowest current load among all current loads; if the consumer server determines that the current load of the consumer server is the lowest current load among all current loads, it will take over the target distribution message queue.

[0051] And, processing the messages to be processed in the target distributed message queue may include: the consumer server processes the messages to be processed obtained from the corresponding ...

Example Embodiment

[0067] Example three

[0068] image 3 This is a flowchart of a message processing method provided in Embodiment 3 of the present invention. This embodiment can be combined with each of the optional solutions in one or more of the above embodiments. In this embodiment, after the consumer server obtains the message to be processed from the corresponding distributed message queue in the queue storage server cluster for processing, It also includes: when the consumer server monitors the offline state in the consumer server status table of the queue storage server cluster, it judges whether to take over the distributed message queue corresponding to the offline state according to the preset takeover rule; if the consumer server determines to take over and The distributed message queue corresponding to the offline state processes the messages to be processed in the distributed message queue corresponding to the offline state.

[0069] Such as image 3 As shown, the method of this embod...

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 embodiment of the invention discloses a message processing method, device and system, a server and a storage medium. The method comprises the following steps: enabling a consumption server to acquire a message to be processed from a corresponding distributed message queue in a queue storage server cluster for processing, and update message processing time matched with the distributed message queue; detecting whether a target distributed message queue of which the difference between the message processing time and the current system time exceeds a set threshold exists in a queue storage server cluster or not; if it is detected that the target distributed message queue exists, judging whether the target distributed message queue is taken over or not according to a preset taking-over rule; and if it is determined that the target distributed message queue is taken over, processing the to-be-processed message in the target distributed message queue. According to the embodiment of the invention, the target distributed message queue of which the difference between the message processing time and the current system time exceeds the set threshold can be taken over in time, and the message processing efficiency is improved.

Description

technical field [0001] Embodiments of the present invention relate to message processing technologies, and in particular, to a message processing method, device, system, server, and storage medium. Background technique [0002] In the message-oriented processing mechanism, the message distribution server distributes the acquired messages to the message queue. The consumer server obtains the pending messages from the message queue and processes them accordingly. [0003] In the prior art, generally, the corresponding relationship between the message queue and the consumer server is preset. For example, a message queue corresponds to a consumer server. The message distribution server distributes the acquired multiple messages to be processed to each message queue according to a preset message distribution rule. The consumer server obtains the pending messages from the corresponding message queue and performs corresponding processing. [0004] In the process of implementing...

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
IPC IPC(8): H04L12/863G06F9/54
CPCG06F9/546H04L47/50
Inventor 宋大伟张义
Owner SUZHOU EAGLE NETWORK 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