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

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

Active Publication Date: 2022-07-08
FENGHUO COMM SCI & TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because a large number of messages are transmitted to the network, it puts a lot of pressure on the processing capacity and storage capacity of the network. Invalid messages undoubtedly waste network bandwidth, occupy effective message processing resources, and consume storage space.

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
  • A method and system for implementing subscription mode based on keyword filtering
  • A method and system for implementing subscription mode based on keyword filtering
  • A method and system for implementing subscription mode based on keyword filtering

Examples

Experimental program
Comparison scheme
Effect test

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.

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 invention discloses a method and system for realizing a subscription mode based on keyword filtering, and relates to the technical field of network communication. The method includes: after the message broker receives the message of the specified message topic published by the publisher, stores the received message in the tail of one or more queues corresponding to the message topic, and judges whether to carry out the keyword according to the identification prefix of the message topic Filter, if yes, dump the message into a persistent container for filtering; when the message broker receives a request from a subscriber to pull a message, and the message topic of the message supports keyword filtering, the message will be filtered according to the subscriber's acceptance The baseline condition of the message and the keyword condition of the message given by the subscriber, in the persistent container and / or the corresponding queue, pull the filtered message and return it to the subscriber. The invention can filter repeated invalid messages, so that subscribers can only receive valid messages, and ensure the reliability of message acceptance.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and system for realizing a subscription mode based on keyword filtering. Background technique [0002] In the management process of the telecommunication network, the system has a large amount of messages transmitted between networks in the mode of message subscription, which involves the issue of message validity. Because a large number of messages are transmitted to the network, it brings great pressure on the processing and storage capabilities of the network. Invalid messages undoubtedly waste network bandwidth, occupy the processing resources of valid messages, and consume storage space. In particular, when the subscriber cannot determine the baseline for accepting the message, it needs to accept all the historical messages corresponding to the message topic to obtain the final valid message. [0003] Therefore, how to filter repeated and invalid mess...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/51H04L43/028H04L67/56G06F16/9536G06F9/54G06F9/455
CPCH04L43/028G06F9/45558G06F9/546G06F16/9536G06F2009/45595G06F2209/548H04L67/51H04L67/56
Inventor 黄亮向魏伟
Owner FENGHUO COMM SCI & 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