The invention provides a multi-data-source-oriented federal query method and device, equipment and a medium, and the method comprises the steps: obtaining a
data analysis request of a user, converting a
data query rule into a relational algebraic node format according to
configuration item information and
metadata information, obtaining at least one target
query plan, and sending the at least one target
query plan to a
server; generating a query request corresponding to the
data source according to the
data query parameter of the at least one target
query plan to query a corresponding underlying
database to obtain target data, receiving the target data of each
data source, preprocessing each target data, and performing
statistical analysis according to the preprocessed target data to obtain a
statistical analysis result; the preprocessing comprises data fusion and alignment; according to the method, the isomerism of different underlying databases can be shielded, the query
process oriented to multiple data sources is simplified, the problems of complex cross-data-source analysis process and low efficiency can be effectively solved, and subsequent
statistical analysis requirements can be supported by fusing and aligning the queried target data.