The invention discloses a real-time analysis task generation method, device and equipment and a computer storage medium, and relates to the technical field of
Internet of Things. The method comprises the following steps: acquiring a to-be-analyzed
data stream, an outer-layer architecture, an inner-layer architecture, an aggregation condition parameter and a dynamic output field; determining an outer-layer architecture of the to-be-analyzed
data stream according to a relationship between the
message type and the outer-layer architecture, and analyzing a product field and a
dynamic field set in the to-be-analyzed
data stream based on the outer-layer architecture; determining an inner-layer architecture according to a relationship between the product field and the inner-layer architecture, and analyzing dynamic output
field data in the
dynamic field set based on the inner-layer architecture, the
dynamic field set and the dynamic output field; and generating a real-time analysis task based on the inner-layer architecture, the outer-layer architecture, the product field, the dynamic output
field data, the aggregation condition parameters and the
SQL statement generation rule. According to the embodiment of the invention, the analysis task is generated based on the two-layer architecture, adjustment can be performed according to the change of the configuration information, and the flexibility and expansibility of task generation are improved.