The invention relates to the technical field of detection, in particular to an automatic
water quality detection method and device, and the method comprises the steps: carrying out the multi-scale collection
processing of a
sample water body based on a distributed sensor network, extracting the
spatial correlation features of multiple levels in an
original data set, carrying out the feature reconstruction of the
original data set according to the
spatial correlation features, generating a feature enhancement
data set; performing graph structuring
processing according to the feature enhancement
data set, and outputting to obtain a
water quality feature graph; inputting the
water quality feature map into a multi-
task learning model, optimizing the multi-
task learning model based on a
loss function, and outputting a multi-parameter prediction result; performing reverse propagation
processing on the multi-parameter prediction result to generate a
spatial distribution diagram of the water quality parameters; and performing multi-scale
pollution influence assessment based on the
spatial distribution map, and generating a comprehensive water
quality monitoring report. The core problem that the overall
pollution condition and the dynamic change trend of the
water body are difficult to accurately reflect in the prior art is solved, and the precision and practicability of water
quality monitoring are remarkably improved.