A method and system for implementing subscription mode based on keyword filtering
An implementation method and keyword technology, applied in the field of network communication, can solve problems such as wasting network bandwidth, consuming storage space, and occupying effective message processing resources, so as to achieve the effect of ensuring validity and reliability, and ensuring effectiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] see figure 2 As shown, this embodiment provides a method for implementing a subscription mode based on keyword filtering, and the method includes the following steps:
[0052] A. The message broker receives the message of the specified message topic issued by the publisher; the message body of the message carries the keyword of the message, and the message topic that supports keyword filtering has an identification prefix;
[0053] B. The message broker stores the received message in the tail of one or more queues corresponding to the message topic; judges whether to perform keyword filtering according to the identification prefix of the message topic, and if so, transfers the message to the persistent container It is understood that a message topic can have one or more queues, and the number of queues can be specified in the configuration file or when building a message topic. Usually, a message topic can have one queue by default.
[0054] C. When the message broker...
example 1
[0067] Example 1. Suppose a subscriber's baseline for receiving messages starts from the current time, and the subscriber does not give the keyword of the message to be pulled; then the message broker will pull the last message of all keywords in each queue information.
example 2
[0068] Example 2. Suppose that the baseline of a subscriber's received message is to start from the current time, and the keyword of the message to be pulled by the subscriber is A; then the message broker will pull the last keyword A in each queue. a message.
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