The invention relates to an SoC fault diagnosis method,
system and device and a medium. The method comprises the following steps: acquiring on-
chip sensor
time sequence data, SoC multi-level
software event
log data and an SoC design mapping table, and performing
time alignment to obtain multi-
modal time axis data; performing
modal feature extraction and embedding generation on the multi-
modal time axis data, and performing single-modal
anomaly detection on each modal feature to obtain an anomaly candidate set; on the basis of the abnormal candidate set, directional dependency measurement is calculated for the multi-modal embedded vector, time
delay is recognized, a candidate causal edge
list is obtained, and a heterogeneous
time sequence-event causal graph is constructed in combination with the SoC design mapping table and the candidate causal edge
list; and calculating the contribution degree of each node to downstream anomaly and candidate
root cause probability distribution for the heterogeneous
time sequence-event
causality graph, and analyzing candidate root causes and corresponding contribution shares thereof to obtain a structured
root cause report. By adopting the method, the SoC fault detection accuracy and the fault
root cause positioning precision can be improved.