Message filtering method and device
A message filtering and message technology, which is applied in the network field, can solve the problems of low message filtering accuracy and inability to effectively filter junk messages, etc., and achieve the effects of reducing the number of messages, improving accuracy, and reducing noise information
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] refer to figure 1 , shows a flow chart of steps of a message filtering method according to Embodiment 1 of the present invention.
[0026] The message filtering method of the present embodiment includes the following steps:
[0027] Step S102: Use the first filtering rule to filter the messages, and filter out the messages conforming to the set format among the messages.
[0028] By analyzing the spam messages, it can be seen that many spam messages can be identified by a certain format, such as by URL suffix identification, etc. Those skilled in the art can set the format of the spam messages to be filtered in the first filtering rule, and filter some of them. Spam messages are filtered out.
[0029] For example, if the first filtering rule is set as a rule to filter URLs in non-text format according to the URL (UniformResourceLocator, Uniform Resource Locator) suffix of the message, then when this rule is used to filter the message, the Packets are filtered out. O...
Embodiment 2
[0036]refer to figure 2 , shows a flow chart of steps of a message filtering method according to Embodiment 2 of the present invention.
[0037] The message filtering method of the present embodiment includes the following steps:
[0038] Step S202: Perform preliminary filtering on the message according to the URL of the message using the first filtering rule, and filter out the message whose URL in the message matches the URL in the set format.
[0039] The message data accessed from the operator contains a large number of spam messages, such as additional messages generated by user access, message information generated by client software, etc., some of which are additional messages in the format of .jpg and .css Filtering can be realized by simple rules, that is, preliminary filtering is performed by first filtering rules, and the preliminary filtering of messages can remove blacklist URLs in specific formats such as .jpg and .css formats, thereby reducing a large amount o...
Embodiment 3
[0056] refer to image 3 , shows a flow chart of steps of a message filtering method according to Embodiment 3 of the present invention.
[0057] The message filtering method of the present embodiment includes the following steps:
[0058] Step S302: Perform preliminary filtering on the message by using the first filtering rule.
[0059] In this embodiment, according to URL suffixes and some other rules, URLs in a certain format, such as URLs in non-text formats such as .jpg and .css, are filtered.
[0060] Step S304: Use the black and white lists to further filter the initially filtered messages.
[0061] Including: firstly judge the blacklist and whitelist of the pre-filtered message, if it hits the blacklist, it will filter, if it hits the whitelist, it will return the corresponding data in the historical whitelist, and skip the subsequent web page analysis. This filtering can be achieved through two bloomfilters (Bloom filters).
[0062] Step S306: Crawling the web pag...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 