The invention discloses a micro-
report generation method and device and a storage medium, and relates to the technical field of
data processing, and the micro-
report generation method comprises the steps that a
natural language question input by a user is received, the
natural language question is matched with a preset question example
library, and a target question example is determined; obtaining a business index in the
natural language question, and determining a
data model corresponding to the business index; based on the target problem example, the business index and the
data model, generating a calculation semantic configuration; generating a target
SQL query by combining the corresponding model information, the
data source information and the
authority control rule based on the calculation semantic configuration; and generating the micro-report by executing the target
SQL query. According to the method, the target question example is determined by matching the natural language question with the preset question
library, and the semantic configuration is dynamically generated and calculated in combination with the specific business index and the
data model, so that the target
SQL query is generated, and the effect of immediately responding to the
dynamic query according to the natural language question is achieved.