Voice inquiry method and device and electronic device

A query method and voice technology, applied in the field of database query, can solve problems such as poor portability and difficulties, and achieve the effect of simplifying query methods and improving portability

Inactive Publication Date: 2019-03-29
SHANDONG INST OF BUSINESS & TECH
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Database management system is a collection of relational data and programs. It is widely used in management systems of various industries for data storage and retrieval. To operate the database system, you need to have a certain computer foundation or even a certain SQL It is difficult for non-professional users to query the database system. Using the database natural language query interface can simplify the query of the database for non-professional users to a certain extent, but it is usually limited by the vocabulary in the professional field. Poor portability for industry service systems

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
  • Voice inquiry method and device and electronic device
  • Voice inquiry method and device and electronic device
  • Voice inquiry method and device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0027] At present, existing database natural language query interfaces mostly use technologies such as keyword matching, pattern matching, and vocabulary drive. However, these technologies are usually limited by vocabulary in specialized fields, and are usually only used in special fields, not in other fields. Portability is poor, and users can only interact with the system according...

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 provides a voice inquiry method and device and an electronic device, wherein, the method is applied to a server. The method comprises the following steps: acquiring a user voice and converting the voice into a Chinese text; processing Chinese text to obtain a text vector; Inputting the text vector into the preset transformation model to get the output result, wherein The transformation model is obtained by training the attention model; inputting The output result into a preset SQL statement template, and obtaining a formalized SQL statement according to the preset semantic dependency relationship; Getting domain information; Based on the domain information and formal SQL statements, obtaining the executable SQL statements. As that speech is convert into a text vector, The text vector is converted into executable SQL statement by using pre-established conversion model, SQL statement template and domain information, and the database is queried by using executable SQL statement, which simplifies the query mode of the database and can be adapted to the database queries of different service systems, and improves the portability of the database queries.

Description

technical field [0001] The invention relates to the technical field of database query, in particular to a voice query method, device and electronic equipment. Background technique [0002] Database management system is a collection of relational data and programs. It is widely used in management systems of various industries for data storage and retrieval. To operate the database system, you need to have a certain computer foundation or even a certain SQL It is difficult for non-professional users to query the database system. Using the database natural language query interface can simplify the query of the database for non-professional users to a certain extent, but it is usually limited by the vocabulary in the professional field. The portability is poor for the service system of the industry. Contents of the invention [0003] In view of this, the purpose of the present invention is to provide a voice query method, device and electronic equipment, to simplify the datab...

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/2452G06F16/2455
Inventor 宋英杰窦全胜姜平唐焕玲张斌门洪云
Owner SHANDONG INST OF BUSINESS & TECH
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