Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Hashing method based on double-counting bloom filter and hashing device

A counter and counter value technology, applied in the field of data query, can solve problems such as difficulty in adapting to high-speed data packet processing and fast search applications, and achieve the effects of reducing off-chip storage requirements, improving time and space efficiency, and reducing update overhead.

Active Publication Date: 2011-06-01
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to overcome the defect that existing hash tables are difficult to adapt to high-speed data packet processing and fast search applications, thereby providing a fast and efficient hash method and corresponding hash devices

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
  • Hashing method based on double-counting bloom filter and hashing device
  • Hashing method based on double-counting bloom filter and hashing device
  • Hashing method based on double-counting bloom filter and hashing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The present invention will be described in detail below with reference to the drawings and specific embodiments.

[0057] Before describing the hash method of the present invention, the hash table used in the method is first described. The hash table of the present invention includes multiple storage buckets, and each storage bucket includes two counters. One counter is called an insertion counter and is used to record the number of inserted elements in the storage bucket. The other counter is called the delete counter, which is used to record the number of deleted elements in the bucket. Each storage bucket also includes an off-chip element link table for storing specific information of the element to be stored. In the hash table, the insertion counters and deletion counters of all buckets form a double-count Bloom filter, so the hash table of the present invention is also called a hash table based on the double-count Bloom filter (Double-counter Bloom filtered Hash Tab...

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 hashing method for realizing hashing insert operation on a hash table; the hash table comprises a plurality of buckets, the bucket comprises an insert counter and a delete counter, the insert counter is used for recording the number of insert elements in the bucket, and the delete counter is used for recording the number of the delete elements in the bucket; the method comprises the following steps: the element to be operated is mapped to at least one bucket of the hash table according to hash function, and the bucket is called as a candidate bucket; a target bucket is found from the candidate buckets according to selection principle of the target bucket; the elements to be inserted are inserted in the target bucket; weather the inserted elements have effect on the storage position of the stored elements in the candidate bucket is judged, if the storage positions of the stored elements can not meet the selection principle of the target bucket, the storage positions of the stored elements are re-adjusted; the hashing method also comprises the step of accumulating the value of the insert counter of the bucket.

Description

Technical field [0001] The invention relates to the field of data query, in particular to a hash method and a hash device based on a double-count Bloom filter. Background technique [0002] A hash table is a data structure that associates a key value with a data value. It maps the key value to a storage location in the table through a hash function to access the related data value. Hash tables are widely used in many fields such as IP lookup, packet classification, and deep packet inspection. Although the hash table is helpful for the quick search of data, when the load of the hash table is large, multiple key values ​​will be mapped to the same storage location in the hash table, which makes the hash table frequent conflicts and increases The access time of basic operations reduces the search performance of the hash table. In order to reduce the adverse effects of hash table conflicts, those skilled in the art have proposed various conflict resolution methods including linear ...

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): G06F17/30G06F12/02
Inventor 黄昆谢高岗张大方
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products