Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 the consumer servers with low processing capabilities, thereby reducing the timeliness of message processing and reducing the efficiency of message processing

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

Embodiment 1

[0033] figure 1 It is a flowchart of a message processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of processing messages, and the method can be executed by the message processing device provided by the embodiment of the present invention, which can be implemented in software and / or hardware, and can generally 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 messages to be processed from the corresponding distributed message queues in the queue storage server cluster for processing, and updates the message processing time matching the distributed message queues.

[0035] Wherein, the message distribution server receives at least one message to be processed through the unified message interface, and distributes the message to be processed to the corresponding distributed message queue in the queue sto...

Embodiment 2

[0050] figure 2 It is a flowchart of a message processing method provided by Embodiment 2 of the present invention. This embodiment can be combined with various 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 the preset takeover rules may include: the consumer server acquires other online The current load of the consumer server; the consumer server judges whether the current load of the consumer server is the lowest current load of all current loads; if the consumer server determines that the current load of the consumer server is the lowest current load of all current loads, it will take over the target distributed message queue.

[0051] And, processing the pending messages in the target distributed message queue may include: the consumer server collects the pending messages obtained from the corresponding distributed message queue in the queue storage server clus...

Embodiment 3

[0068] image 3 It is a flow chart of a message processing method provided by Embodiment 3 of the present invention. This embodiment can be combined with each optional solution 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 can 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 rules; The distributed message queue corresponding to the offline state processes the pending messages in the distributed message queue corresponding to the offline state.

[0069] Such as image 3 As shown, the method of this embodiment specifically includes:

[0070] In step 301, the consumer server acqui...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products