Unlock instant, AI-driven research and patent intelligence for your innovation.

Bloom filter and data processing method

A Bloom filter and data processing technology, applied in the field of data processing, can solve problems such as large memory, unapplicable application scenarios, unfavorable query data speed of non-hot data, etc., to ensure data accuracy and improve high availability.

Inactive Publication Date: 2020-12-11
CHANGZHOU MICROINTELLIGENCE CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the number of users is particularly large, if you still use the key and value methods in related technologies to store records, the required memory will be very large, and non-hot data is not conducive to query data speed
In addition, there are application scenarios including file upload, verification of repeated image upload, etc. In these application scenarios, if there is no function that can be deleted when Bloom filter is selected as the storage and judgment basis, these application scenarios cannot be applied, because click There are inverse operations for likes, concerns, files, etc.

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
  • Bloom filter and data processing method
  • Bloom filter and data processing method
  • Bloom filter and data processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0025] Each bit of the bit array of the Bloom filter in the embodiment of the present invention is expanded into a counter. Such as figure 1 As shown, the Bloom filter in the embodiment of the present invention includes an initialization module 10 , a weight judgment verification module 20 , a storage module 30 and a deletion module 40 . Wherein, initialization module 10 is used for initializing configuration parameter, and generates the hash object that is u...

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 provides a Bloom filter and a data processing method, each bit of a bit array of the Bloom filter is expanded into a counter, and the Bloom filter comprises: an initialization module used for initializing configuration parameters and generating a hash object used for storing the configuration parameters during initialization; the duplicate judgment verification module that is used for judging whether the received key exists or not; the storage module that is used for storing the key when the judgment and verification module judges that the received key does not exist, and addingone to the counter value corresponding to each bit; and the deleting module that is used for deleting the key when the judgment and verification module judges that the received key exists, and subtracting one from the counter value corresponding to each bit. According to the invention, the Bloom filter has a deletion function, the data accuracy can be ensured, and the high availability of the Bloom filter service can be improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a Bloom filter and a data processing method. Background technique [0002] In the context of a large amount of data, it is used to deal with repetitive filters for filtering data. Commonly used scenarios are like and unlike functions, follow and unfollow functions. When the number of users is particularly large, if you still use the key and value methods in related technologies to store records, the required memory will be very large, and non-hot data is not conducive to query data speed. In addition, there are application scenarios including file upload, verification of repeated image upload, etc. In these application scenarios, if there is no function that can be deleted when Bloom filter is selected as the storage and judgment basis, these application scenarios cannot be applied, because click There are inverse operations for likes, concerns, files, etc. Therefore, t...

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): G06F9/50G06F9/445
CPCG06F9/44505G06F9/5016
Inventor 方贤斌刘小苏师文庆
Owner CHANGZHOU MICROINTELLIGENCE CO LTD