The invention provides an
embedded system crash prediction method and device based on multi-source dynamic
perception, and the method comprises the steps: carrying out the stack boundary monitoring and / or interruption
storm detection of a
system, and obtaining a detection result; performing
deadlock probability calculation and / or
memory leak trend analysis on the
system to obtain an analysis result; and performing
risk assessment on the detection result and the analysis result to obtain a
crash risk value, comparing the
crash risk value with a preset threshold value, and when the crash risk value exceeds the preset threshold value, judging that the
system has a crash risk. According to the method, stack boundary monitoring and / or interruption
storm detection are / is carried out on the system,
deadlock probability calculation and / or memory leakage
trend analysis are / is carried out on the system, a more comprehensive detection result and an analysis result are obtained,
risk assessment is carried out on the basis, and a crash risk value is obtained; and the crash risk value is compared with the preset threshold value to predict the system crash in advance, so that the problems that the misjudgment rate is high and the crash cannot be prevented in the prior art are solved.