Unlock instant, AI-driven research and patent intelligence for your innovation.

Realization method of natural language query interface for big data

A technology of natural language and query interface, which is applied in the fields of electronic digital data processing, digital data information retrieval, and special data processing applications, etc. It can solve problems such as difficulty, lack of pertinence, and limited interface portability, and achieve increased The effect of converting nodes, expanding the scope of use, and improving the accuracy of conversion

Active Publication Date: 2021-10-26
DONGHUA UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing natural language-based query interface technology still has obvious limitations in the big data environment, mainly including the limited portability of the interface, that is, the current technology is mainly responsible for the conversion of natural language to relational database SQL language, to NoSQL database The query conversion is not supported; the language is limited, that is, English natural language is mainly supported; the pertinence to the field is not strong, that is, the current interface technology is aimed at the general field, which makes it difficult to convert to the underlying database language, and the usability is not strong

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
  • Realization method of natural language query interface for big data
  • Realization method of natural language query interface for big data
  • Realization method of natural language query interface for big data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to make the present invention more comprehensible, preferred embodiments are described in detail as follows.

[0077] The invention provides a conversion strategy for converting Chinese natural language query into SQL or BSON. Aiming at the limitations of current natural language query interfaces, such as the lack of adaptability to specific fields and the difficulty in realizing query conversion to NoSQL databases, the invention performs domain-based semantic extension on the used corpus during the conversion process, and provides a query tree orientation The conversion method of NoSQL database query languages ​​such as BSON improves the accuracy and scope of query conversion. Specific steps are as follows:

[0078] Step 1. Obtain the natural language query statement from the front end, call the JAR package corresponding to Stanford Parser to parse the natural language query, and obtain the corresponding semantic dependency tree. Take the following query sta...

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 big data-oriented natural language query interface implementation method. The present invention converts a Chinese natural language query into a conversion strategy of SQL or BSON, generates a semantic dependency tree according to the natural language, and then converts the semantic dependency tree into a query tree according to the established rules, and obtains the SQL and NoSQL corresponding to the natural language by parsing the query tree. BSON statement. The present invention supports corpus expansion and improves conversion accuracy in a given field. At the same time, NoSQL transformation nodes are added to expand the scope of use of the method.

Description

technical field [0001] The invention relates to an interface implementation method that supports Chinese natural language as an input and converts it into a relational or non-relational database query language. Background technique [0002] With the rapid development of information technology, global data resources are growing and accumulating at an unprecedented speed, how to mine the required knowledge from big data has become a widely concerned issue. In traditional relational databases, people use the SQL standard query language to query. At this time, users need to master a large number of grammatical structures and be familiar with the table structure in the database before they can write corresponding queries according to their own query intentions. statement. The introduction of the interactive visual query interface has reduced the user's learning costs to a certain extent, but it still cannot avoid the need for users to have a certain programming foundation and SQ...

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 Patents(China)
IPC IPC(8): G06F16/242G06F16/332G06F16/36
CPCG06F16/243G06F16/3329G06F16/36
Inventor 王梅乐嘉锦朱扬勇陈德华潘乔郑晓东
Owner DONGHUA UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More