Data report generation method and device, equipment and storage medium
The invention provides a data report generation method, which is applied to the technical field of natural language processing. The method comprises the following steps: in response to a received report query instruction, obtaining a report query statement, a database and an SQL keyword; the report...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a data report generation method, which is applied to the technical field of natural language processing. The method comprises the following steps: in response to a received report query instruction, obtaining a report query statement, a database and an SQL keyword; the report query statements, the database and the SQL keywords are input into a statement conversion model, SQL statements corresponding to the report query statements are obtained, and the statement conversion model comprises a semantic analysis layer, a graph coding layer and a decoding layer; querying target data matched with the SQL statement in a database; and generating a target report according to the report query instruction, the SQL statement and the target data. By means of the method, the user only needs to input the report query statement, the corresponding SQL statement can be automatically generated, the data query difficulty of non-technical users is reduced, the SQL statement generation accuracy can be improve |
---|