Data query method, device

The invention discloses a data query method, device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: when a main key cannot determine a corresponding key value in a cache, determining a filtering result of filtering the key value co...

Full description

Saved in:
Bibliographic Details
Main Author TIAN YANBO
Format Patent
LanguageChinese
English
Published 07.12.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a data query method, device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: when a main key cannot determine a corresponding key value in a cache, determining a filtering result of filtering the key value corresponding to the main key in a database by using a Bloom filter; wherein the filtering result comprises possible existence and non-existence; if the filtering result is that the key value does not exist, feeding back the filtering result that the main key does not have the corresponding key value in the database to a cache; and if the filtering result is possible, determining a corresponding key value in the database according to the primary key. According to the embodiment, the technical problem that the number of times of querying the database in a short time is excessive is solved, and then the technical effects of greatly reducing message congestion caused by excessive query in the short time and keeping data
Bibliography:Application Number: CN202010554261