A method and device for intercepting risky SMS based on Bloom filter

A Bloom filter and risk technology, which is applied in the field of intercepting risk SMS based on Bloom filter, can solve the problems of low efficiency and high cost, and achieve the effect of reducing cost, improving efficiency, and alleviating memory pressure

Active Publication Date: 2021-01-19
上海创蓝云智信息科技股份有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of the deficiencies in the above-mentioned prior art, the purpose of the present invention is to provide a method and device for intercepting risky SMS based on Bloom filter, to solve the problems of low efficiency or high cost in the prior art

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 device for intercepting risky SMS based on Bloom filter
  • A method and device for intercepting risky SMS based on Bloom filter

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Example 1: Cold area data loading (risk data loading)

[0041] The method of loading risk data from cold area data is as follows: split N tasks to execute database query every morning; obtain query results and store risk data one by one in the Bloom filter; store the binary file generated by the Bloom filter in the file server; After the execution is completed, notify the application system to load the files generated by N tasks; the application system loads the files into the local risk data Bloom filter array; the application system deletes the Bloom filter array of the last risk data and enables the current risk data Array of filters. Wherein, N is an integer greater than or equal to 2.

Embodiment 2

[0042] Example 2: Load when hot zone data is added (risk data loading)

[0043] The method of loading risk data when hot area data increases is as follows: the application system has a request to increase risk data; upon receiving the new request, notify all application systems to add to the local risk data Bloom filter.

Embodiment 3

[0044] Example 3: Loading when hot zone data is deleted (risk data loading)

[0045] The method of loading risk data when hot zone data is deleted is as follows: the application system has a request to delete risk SMS; upon receiving the delete request, load all the data deleted on the day and store them in the Bloom filter; generate a binary file from the content of the Bloom filter ;Notify all application systems to load the binary file into the H-R area.

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 relates to the technical field of risk message interception, in particular to a method and device for intercepting risk message messages based on a Bloom filter. According to the characteristics of risk data, the memory is divided into two areas, and the data loading cost will become very low. The risk data that may be added or deleted at any time of the day is stored in the hot zone H, and the historical risk data is stored in the cold zone C. At the same time, because the data of the Bloom filter can only be increased but not decreased, and users may delete historical risk data, such deletion cannot change the cold area data. Therefore, two Bloom filters are set in the hot data area, one adds H-A for the hot area, and the other deletes H-R for the hot area. By adopting the above method, the present invention can alleviate memory pressure, improve efficiency and reduce cost.

Description

technical field [0001] The invention relates to the technical field of intercepting risky short messages, in particular to a method and device for intercepting risky short messages based on a Bloom filter. Background technique [0002] At present, when SMS operators filter sensitive and illegal information or mobile phone number blacklists, they generally use local storage of risky SMS or use real-time big data; the biggest disadvantage of using local storage of risky SMS is that the memory consumption is too large, and the system will wait for a long time when it starts and loads. Long time; with real-time big data, the performance will be lower than the former, and the cost is high. [0003] In summary, the existing technology based on local storage of risky SMS will lead to low efficiency, and based on real-time big data will lead to high cost. Therefore, the present invention proposes a method and device for intercepting risky SMS based on Bloom filter to solve the above...

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): H04W12/128G06F16/2455
CPCG06F16/2455
Inventor 孙洋宋争光郭乐杭达宏兰永生
Owner 上海创蓝云智信息科技股份有限公司
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