The invention discloses a
Hash table management method, device and equipment based on a hierarchical cache
queue, and relates to the technical field of caches, the method comprises the following steps: obtaining data index information of a to-be-inserted data item; according to the data index information, n preset hash functions of a
cuckoo hash
algorithm are utilized to calculate
n hash table items corresponding to the to-be-inserted data item; if the corresponding mapping information is stored in each of the
n hash table items, determining a target
hash table item according to the information of the hierarchical cache
queue where the data item corresponding to each piece of mapping information is located; the mapping information stored in the target
hash table item is kicked out, and the mapping information corresponding to the to-be-inserted data item is stored in the target
hash table item; according to the invention, when the newly inserted hash table item has the candidate position conflict, the candidate position to be kicked out can be selected according to the hierarchical information of the hierarchical cache
queue where the data item corresponding to the candidate position is located, so that the situation that the mapping information of the hot data is kicked out from the hash table is reduced, and the access
delay of the hot data is reduced.