Database query result generation method and device, equipment and storage medium

The invention belongs to the technical field of computers, and discloses a database query result generation method and device, equipment and a storage medium. When a natural language question is received, mode information and position information codes of a target database are obtained, and the targ...

Full description

Saved in:
Bibliographic Details
Main Authors SUN CHONG, TIE JUN, FAN ZIQI, WANG ZISHAN, XIA MENG, MAO TENGYUE, ZHENG LU, TAN JUN
Format Patent
LanguageChinese
English
Published 16.09.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention belongs to the technical field of computers, and discloses a database query result generation method and device, equipment and a storage medium. When a natural language question is received, mode information and position information codes of a target database are obtained, and the target database is a database which is subjected to inverse standardization processing in advance; coding processing is carried out on the natural language problem, the mode information and the position information codes, and a statement coding vector and a table coding vector are generated; generating a database query statement according to the statement coding vector and the table coding vector; and performing data query on the target database according to the database query statement to generate a query result. Due to the fact that inverse standardization processing is conducted on the database in advance, the requirement for connection operation and the number of tables are reduced, the complexity of generating the
Bibliography:Application Number: CN202210489889