This application provides a method, apparatus, storage medium, and processor for fault prediction of power modules. The method includes: acquiring historical operating data of the
power module under multiple states; analyzing and selecting historical operating data that meets preset conditions as
positive sample data;
processing the
positive sample data and inputting the processed
positive sample data into a fault prediction
data model to
train the fault prediction
data model and obtain a trained fault prediction
data model; acquiring real-time operating data of the
power module to be predicted; inputting the real-time operating data into the trained fault prediction data model to output the fault type of the
power module to be predicted through the trained fault prediction data model, thereby realizing state monitoring and fault prediction of internal components of the power module, constructing an accurate fault prediction data model, and timely and accurately predicting potential faults of the power module, with more comprehensive predictions and a greater reduction in losses caused by faults.