Message processing method and device and electronic equipment
A technology of message processing and electronic equipment, applied in the computer field, can solve problems such as system resource loss efficiency, network congestion, dependence, etc., and achieve the effect of reducing information interaction and avoiding repeated consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0093] Such as Figure 4 As shown, it is a schematic flow chart of the message processing method in Embodiment 1 of the present invention. Embodiment 1 can correspond to an application scenario, that is, a scenario where the consumer consumes messages in the message queue and broadcasts after forming consumption progress information. , the execution body of this method can be figure 2 the consumer in. Such as Figure 4 As shown, the method includes the following steps:
[0094] S410. Perform a consumption operation on the messages in the first message queue to be processed, and form consumption progress information of the first message queue.
[0095] During specific implementation, the consumer can obtain the allocated (that is, to-be-processed) message queue by pulling the message queue from the message server, which may be referred to as the first message queue in this embodiment. Of course, it is not limited to the above pulling method, for example, a method of pushin...
Embodiment 2
[0108] Such as Figure 5 As shown, it is a schematic flowchart of the message processing method in Embodiment 2 of the present invention, which may correspond to the application scenario in Embodiment 1. The method includes the following steps:
[0109] S510, monitor consumption progress information broadcast by other consumers in the network.
[0110] Wherein, the consumption progress information may be used to identify the consumption progress of the message in the consumed message queue. In specific implementation, each consumer can monitor the consumption progress information broadcast in the network at any time through the monitoring interface by setting a monitoring interface for monitoring at each consumer. In this embodiment, the message progress information can be Including information such as the ID of the message queue to which it belongs, and the topic of the message.
[0111] S520. Locally save the monitored consumption progress information of other consumers. ...
Embodiment 3
[0116] Such as Figure 6 As shown, it is a schematic flowchart of the message processing method in Embodiment 2 of the present invention. Embodiment 2 can correspond to an application scenario, that is, a scenario where the consumer consumes the message queue according to the search result of the locally stored consumption progress information. The execution body of this method can be image 3 the consumer in. Such as Figure 6 As shown, the method includes the following steps:
[0117] S610. Before performing a consumption operation on messages in the second message queue to be processed, search whether there is consumption progress information of the second message queue in locally stored consumption progress information. Wherein, the consumption progress information is obtained through broadcasts sent by other consumers in the network, and is used to identify the consumption progress of messages in the consumed message queue.
[0118] In this embodiment, consumers in th...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com