Method and device for realizing fast fuzzy query of coded data
The invention relates to a method and device for realizing fast fuzzy query of coded data, and the method comprises the steps: carrying out the splitting processing of each original code in a coded data set according to a splitting principle, carrying out the adjacent combination of the obtained spl...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a method and device for realizing fast fuzzy query of coded data, and the method comprises the steps: carrying out the splitting processing of each original code in a coded data set according to a splitting principle, carrying out the adjacent combination of the obtained split characters according to the adjacent characters in the original codes, and carrying out the fuzzy query of the coded data; the method comprises the following steps of: obtaining all combined sub-codes of each original code, storing the combined sub-codes in a Redis cluster, respectively taking each combined sub-code as a main key field, and storing the original code containing the main key field in a field value of the corresponding main key field; and returning the field value of the primary key field which is the same as the to-be-queried code to the front end as a query result. Therefore, when the codes to be queried are queried, fuzzy query is replaced by accurate query, so that the time delay is shortened, |
---|