Extension method, application system and application method of message filter

A technology of application system and extension method, which is applied in the field of general-purpose software, can solve the problems of large consumption of network resources and the inability to dynamically modify filtering rules, etc.

Pending Publication Date: 2020-10-30
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The client-side filtering method is easy to control and expand, but consumes a lot of network resources
Applying the server-side filtering method consumes less resources, but commonly used and well-kn

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
  • Extension method, application system and application method of message filter
  • Extension method, application system and application method of message filter
  • Extension method, application system and application method of message filter

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] like figure 1 As shown, this embodiment provides an extension method of a message filter, and the above extension method includes:

[0052] The message filter 2 receives the externally sent filtering rules and stores them in a cache cluster 3 .

[0053] The above-mentioned message filter 2 is externally provided with a rule interface, receives externally sent update instructions through the above-mentioned rule interface, and dynamically updates the above-mentioned filter rules stored in the above-mentioned cache cluster 3 in real time according to the above-mentioned update instructions.

[0054] In this embodiment, the message filter 2 provides an interface for setting rules externally, and the filter stores the filtering rules in the cache cluster 3 after receiving them. Users or other applications dynamically modify filtering rules through this interface.

[0055] Further, the cache cluster 3 can also store the above-mentioned filtering rules uploaded by terminals...

Embodiment 2

[0057] like Figure 1 to Figure 4 As shown, this embodiment provides an application system of a message filter, and the above application system includes:

[0058] The subscriber terminal 1, the above-mentioned subscriber terminal 1 sends a message subscription request according to the subscriber's instruction.

[0059] The message filter 2 is connected to the above-mentioned subscriber terminal 1, and is used to obtain the target message corresponding to the above-mentioned message subscription request from the message service module 4. At this time, the target message has not been filtered, and is also used to obtain the filter rule from the cache cluster 3 , filter the target message according to the filtering rule to obtain the processed target message and feed it back to the subscriber terminal 1 . The above-mentioned message filter 2 has a rule interface, and receives filtering rules and update instructions through the above-mentioned rule interface and sends them to th...

Embodiment 3

[0068] Based on the above-mentioned embodiment, the above-mentioned message filter 2 and the above-mentioned message service module 4 are integrated in the same terminal. The message filter 2 and the message server 42 are deployed on the same machine, and the request data packets do not pass through physical network devices, thereby reducing communication overhead.

[0069] In this embodiment, the above-mentioned message filter 2 is a stateless filter and supports horizontal expansion, the number of the above-mentioned message filter 2 is at least one, and each of the above-mentioned message filter 2 is associated with one of the above-mentioned cache clusters 3 . Message filter 2 is stateless and does not store any data inside its process, so any addition or deletion of message filter 2 instances will not affect data transmission. When the number of concurrent instant message subscription requests is large, the pressure on a single message filter 2 instance can be relieved by...

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 an extension method, an application system and an application method of a message filter, and relates to the field of universal software. The method comprises the following steps that: the message filter receives a filtering rule sent from the outside and stores the filtering rule in a cache cluster; and the message filter is externally provided with a rule interface, receives an updating instruction sent from the outside through the rule interface, and dynamically updates the filtering rule stored in the cache cluster in real time according to the updating instruction.The extension method, the application system and the application method of the message filter have the beneficial effects that a user can dynamically update and set the filtering rule in the cache cluster in real time through the rule interface according to the service requirement, and custom expansion of the filtering rule is realized; and a large number of message subscription requests can be efficiently processed, a message filter is dynamically added and deleted, and the filtering function of the message filter is enhanced.

Description

technical field [0001] The invention relates to the field of general-purpose software, in particular to an extension method, application system and application method of a message filter. Background technique [0002] In the management process of the telecommunications network, the system has a large amount of messages that are transmitted between networks in a publish-subscribe mode. Timely and effective message filtering can reduce invalid network transmission and waste of resources. [0003] Message filtering is divided into client-side filtering and server-side filtering. The client-side filtering method is easy to control and expand, but consumes a lot of network resources. Applying the server-side filtering method consumes less resources, but commonly used and well-known message middleware can only implement some simple filtering, such as uploading simple filtering expressions when subscribers subscribe, and cannot dynamically modify filtering rules. Contents of the...

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
IPC IPC(8): H04L29/08
CPCH04L67/5651H04L67/5682H04L67/568
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