Subscription mode implementation method and system based on keyword filtering

An implementation method and system implementation 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 effectiveness and reliability, and ensuring effectiveness

Active Publication Date: 2021-10-22
FENGHUO COMM SCI & TECH CO LTD
View PDF12 Cites 3 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
  • Subscription mode implementation method and system based on keyword filtering
  • Subscription mode implementation method and system based on keyword filtering
  • Subscription mode implementation method and system 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 agent 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 agent stores the received message at the end 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, dumps the message to a persistent container It is understandable that a message topic can have one or more queues, and the number of queues can be specified when configuring a file or building a message topic. Usually, a message topic can have one queue by default.

[0054] C. When the message agent receives a r...

example 1

[0067] Example 1. Assume that a subscriber's baseline for accepting messages starts from the current time, and the subscriber does not give the keywords of the messages to be pulled; then the message agent will pull the last message of all keywords in each queue information.

example 2

[0068] Example 2. Assume that a subscriber's baseline for accepting messages starts from the current time, and the subscriber gives the keyword A of the message to be pulled; then the message agent 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 subscription mode implementation method and system based on keyword filtering, and relates to the technical field of network communication. The method comprises the following steps: after a message agent receives a message which is published by a publisher and has a specified message theme, storing the received message into the tail part of one or more queues corresponding to the message theme, judging whether keyword filtering is carried out or not according to an identification prefix of the message theme, and if yes, transferring the message into a persistent container for filtering; and when the message agent receives a request of a subscriber for pulling the message and a message theme of the message supports keyword filtering, pulling the filtered message and returning the message to the subscriber in the persistent container and / or the corresponding queue according to a message receiving baseline condition of the subscriber and a keyword condition of the message given by the subscriber. According to the method and the device, repeated and invalid messages can be filtered, so that a subscriber only receives effective messages, and the receiving reliability of the messages is ensured.

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 to be transmitted between the networks in the message subscription mode, which involves the issue of message validity. 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. Especially when subscribers cannot determine the baseline of receiving messages, they need to accept all historical messages of the corresponding message topic in order to obtain the final valid message. [0003] Therefore, how to filter repeated and invalid ...

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 Applications(China)
IPC IPC(8): H04L29/08H04L12/26G06F16/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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products