Compact-structure key value pair storage structure and rapid key value pair finding method
A technology with a compact structure and a storage structure, which is applied in special data processing applications, instruments, and electrical digital data processing, etc. It can solve the problems of insufficient storage structure, slow running speed that cannot meet application requirements, and uncertainty in storage and search times, etc. problem, to achieve the effect of solving the low utilization rate of storage space, improving the search speed, and reducing the occupied space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] The specific steps of the first part of the key-value pair insertion process include:
[0075] Step 1, set the number of layers of the hash table and the number of storage blocks contained in each layer of hash table, and set the size of the Bloom filter corresponding to each layer of hash table;
[0076] In this embodiment. If image 3 As shown, the number of layers of the hash structure is set to 4. The first layer of hash table 2-left hashing includes 204,800 storage blocks, the second layer of hash table includes 500 storage blocks, and the third layer of hash table includes 50 storage blocks. Block. The fourth layer hash table includes 5 storage blocks;
[0077] Set the size of the first layer of Bloom filter to 5000 bytes, and the lower layer is successively reduced to 500 bytes and 50 bytes;
[0078] Step 2, setting the number N of storage units contained in each storage block of the hash table, setting the size of each storage unit to be M bits;
[0079] In t...
Embodiment 2
[0093] The first part of the key-value pair insertion process, combined with the attached image 3 and 5 ,Specific steps are as follows:
[0094] Step 1, set the number of layers of the hash table and the number of storage blocks contained in each layer of hash table, and set the size of the Bloom filter corresponding to each layer of hash table;
[0095] In this embodiment, the settings are the same as in Embodiment 1;
[0096] Step 2, setting the number N of storage units contained in each storage block of the hash table, setting the size of each storage unit to be M bits;
[0097] In this embodiment, the settings are the same as in Embodiment 1;
[0098] Step 3, inserting data into the hash table of the first layer, and performing operations according to judging whether there is a conflict;
[0099] In this embodiment, two hash operations Hash1 (key2) and Hash2 (key2) are performed on key2 in the key-value pair (key2, value2). The two positions corresponding to this val...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


