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

Method and device for querying and updating data based on natural language data

A natural language and data technology, applied in text database query, text database index, special data processing application, etc., can solve the problem of low translation recognition accuracy and achieve the effect of improving efficiency

Active Publication Date: 2022-04-22
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the difference between natural language and SQL is too great, it can only be translated for simple query semantics. Therefore, the accuracy of translation and recognition of natural language query statements is low.

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
  • Method and device for querying and updating data based on natural language data
  • Method and device for querying and updating data based on natural language data
  • Method and device for querying and updating data based on natural language data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification.

[0037] At present, in the query field, NLP (Natural Language Processing, Natural Language Processing) deep learning algorithms are usually used to translate and identify natural language query sentences, and directly translate the natural language data used for query into SQL (Structured Query Language, Structured Query Language), and then perform the next data...

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

This specification provides a method and device for querying and updating data based on natural language data. The method for querying based on natural language data includes: obtaining natural language data for query; generating the natural language based on a preset dictionary tree The character sequence corresponding to the data; the character sequence includes the index information of each target parsing rule corresponding to each target special word to be parsed in the natural language data; according to the preset special word rule base and each target parsing rule Index information, converting the character sequence to obtain a target character sequence; performing data query based on the target character sequence.

Description

technical field [0001] One or more embodiments of this specification relate to the technical field of natural language query, and in particular to a method and device for querying and updating data based on natural language data. Background technique [0002] At present, in the query field, NLP (Natural Language Processing, Natural Language Processing) deep learning algorithms are usually used to translate and identify natural language query sentences, and directly translate the natural language data used for query into SQL (Structured Query Language, Structured Query Language), and then perform the next data query through SQL. Since the difference between natural language and SQL is too great, it can only be translated for simple query semantics. Therefore, the accuracy of translation and recognition of natural language query statements is low. Contents of the invention [0003] One or more embodiments of this specification provide a method and device for querying and up...

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/31G06F16/33
CPCG06F16/31G06F16/334G06F16/3344G06F16/322
Inventor 田有朋李俊黄亚东王小卫
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD