Data query method and device, electronic device and storage medium

A technology of data query and query intent, applied in the computer field, can solve the problems of reducing user experience, single search dimension, inaccurate query results, etc., and achieve the effect of improving query accuracy and query dimension

Active Publication Date: 2020-02-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF10 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the data query method is mainly to analyze the query statement, extract keywords and perform similarity calculation in the database to obtain query results with high matching degree. However, in this way, the search dimension is single, which easily leads to query results Inaccurate and degrades user experience

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
  • Data query method and device, electronic device and storage medium
  • Data query method and device, electronic device and storage medium
  • Data query method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0111] 1) If it is determined that the query result completely matches the query keyword, then it is determined that the query result is an exact query, and the prompt information of the exact query result is returned to the terminal.

[0112] For example, if the query result can be obtained through the above-mentioned first map query statement, that is, Jay Chou's confession balloon is found, it can be known that the queried song completely matches the data query statement entered by the user, which is an accurate query.

[0113] 2) If it is determined that the query result partially matches the query keyword, then it is determined that the query result is a relevant query, and the prompt information of the recommended query result is returned to the terminal.

[0114] For example, if no query result is obtained through the first graph query statement, and the query is continued based on the second graph query statement, but the query result is still not obtained, and the quer...

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 relates to the technical field of computers, mainly relates to a natural language processing technology in artificial intelligence, and particularly relates to a data query method and device, an electronic device and a storage medium. The method comprises: performing semantic analysis on the data query statement to obtain a semantic analysis result, and the semantic analysis result at least comprising a query field and a query intention; according to the query field and the query intention, obtaining a graph query statement from a preset graph strategy platform in a matched mode,and the preset graph strategy platform at least storing a graph query statement template associated with the query field and the query intention; querying from a preset knowledge graph according to the obtained graph query statement to obtain a corresponding query result; and returning the query result to the terminal, so that an accurate semantic analysis result is obtained through semantic analysis, the query result is obtained through the graph strategy platform and the knowledge graph, the search dimension is improved, and the query accuracy is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data query method, device, electronic equipment and storage medium. Background technique [0002] With the development of the network and artificial intelligence, users can retrieve or query the required information on various application platforms. Through artificial intelligence, the information input by the user can be understood and the corresponding query results can be returned. For example, the user can retrieve music, video, etc. query statements to obtain the desired results. [0003] In the prior art, the data query method is mainly to analyze the query statement, extract keywords and perform similarity calculation in the database to obtain query results with high matching degree. However, in this way, the search dimension is single, which easily leads to query results Inaccurate and also degrades the user experience. Contents of the invention [0004]...

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/33G06F16/36
CPCG06F16/3344G06F16/367
Inventor 傅成彬罗佳晨
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products