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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap