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

Fuzzy query method and device, equipment and medium

A fuzzy query and equipment technology, applied in the field of big data detection, can solve the problems of low query efficiency and high technical difficulty of changing fields, and achieve the effect of improving the efficiency of fuzzy query

Active Publication Date: 2020-04-10
CHINA CONSTRUCTION BANK
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution needs to refresh the search engine data and rebuild the index when the data dictionary is modified, which is technically difficult and inefficient in querying the changed fields

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
  • Fuzzy query method and device, equipment and medium
  • Fuzzy query method and device, equipment and medium
  • Fuzzy query method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It is a flow chart of a fuzzy query method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of performing fuzzy query on big data. Typically, this method can be applied to the fuzzy query of the secondary index of Elasticsearch. The method can be executed by a fuzzy query device, and the device can be realized by software and / or hardware. see figure 1 , the method specifically includes the following steps:

[0024] Step 110, in response to the target keyword to be queried, query the target field information and target coding information associated with the target keyword from the change information of the pre-built data dictionary.

[0025] Among them, the data dictionary is a directory that records database and application metadata that users can access. In this embodiment, when the data dictionary is applied in an enterprise-level system framework, most fields in the data dictionary are stored in the form of code...

Embodiment 2

[0039] figure 2 It is a flow chart of a fuzzy query method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, the present invention also includes, before step 110, obtaining new field information and new coding information associated with the new field information in response to a change operation on any field information in the data dictionary; and the new encoding information associated with the new field is written into the change information of the data dictionary. see figure 2 , the method specifically includes the following steps:

[0040] Step 210, in response to a change operation on any field information in the data dictionary, acquire new field information and new encoding information associated with the new field information.

[0041] In this embodiment, the change information of the data dictionary is initialized to be empty, which is used to record the change information of the data dictionary. When the field ...

Embodiment 3

[0048] image 3 It is a schematic structural diagram of a fuzzy query device provided in Embodiment 3 of the present invention. see image 3 , the device may specifically include a change information query module 310 and a query result acquisition module 320 .

[0049] Wherein, the change information query module is used to query the target field information and target coding information associated with the target keyword from the change information of the pre-built data dictionary in response to the target keyword to be queried;

[0050] The query result obtaining module is configured to obtain the fuzzy query result of the target keyword from actual stored data according to the target field information and target coding information.

[0051] In the embodiment of the present invention, in response to the target keyword to be queried, query the target field information and target coding information associated with the target keyword from the change information of the pre-bui...

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 discloses a fuzzy query method and device, equipment and a medium. The method comprises the following steps: in response to a to-be-queried target keyword, querying target field information and target coding information associated with the target keyword from change information of a pre-constructed data dictionary; and acquiring a fuzzy query result of the target keyword from an index of actual storage data according to the target field information and the target coding information. The embodiment of the invention provides a universal method for fuzzy query of a coded field, andthe method solves the problem that full-amount data refreshing and index reconstruction are needed for changing of coded fields in a fuzzy search scene and improves fuzzy query efficiency after the coded fields are changed at the same time.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of big data detection, and in particular to a fuzzy query method, device, equipment and medium. Background technique [0002] In the enterprise-as-a-system framework, in order to unify data dictionaries in various systems, most fields store codes. When performing fuzzy searches on enterprise-level data, it is not possible to perform fuzzy searches on coded fields directly. [0003] Usually, when performing a fuzzy search on the above-mentioned data dictionary containing coded values, it is necessary to directly translate and store the coded values ​​into the search engine using data fields. However, when the data dictionary is modified, this solution needs to refresh the search engine data and rebuild the index, which is technically difficult and inefficient in querying the changed fields. Contents of the invention [0004] The present invention provides a fuzzy query method, de...

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 Applications(China)
IPC IPC(8): G06F16/22G06F16/2458
CPCG06F16/2228G06F16/2468Y02D10/00
Inventor 熊潇田茂伟
Owner CHINA CONSTRUCTION BANK
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