The invention relates to the technical field of pipeline risk monitoring, and discloses a pipeline risk monitoring method and
system based on
artificial intelligence, and the method comprises the steps: collecting multi-source
sensing data of a pipeline operation environment, and carrying out the preprocessing of the data, and obtaining a multi-scale
time sequence feature set; and constructing a
pipe network diagram model, and embedding the multi-scale
time sequence feature set into the
pipe network diagram model. And learning the
pipe network diagram model by using a space-time diagram
attention network to obtain a target prediction result. And constructing an expected economic
loss function, and determining an optimal
risk threshold based on the expected economic
loss function. And comparing the optimal
risk threshold with a
corrosion event probability prediction value to obtain a
risk level, and determining a maintenance priority sequence of each risk point according to the
risk level, a historical maintenance
record and the importance of a pipeline section. And generating a maintenance work order based on the maintenance priority sequence. According to the invention, dynamic and prospective risk prediction is realized, and the economy and
operability of pipeline risk monitoring management are improved.