The invention discloses an interrupt
fault tolerance and accelerated
response method under a heterogeneous platform, which comprises the following steps of: in an interrupt service program, reading a first interrupt state indicating completion of
data transmission and a second interrupt state of a user logic
interrupt request in response to interrupt of an accelerator message
signal, if the two are not interrupted, determining that the two are user logic interrupt, and if the two are not interrupted, determining that the two are user logic interrupt; if the first state shows that
data transmission is completed, progressively increasing a kernel mode interruption count value, if the second state shows that an interruption request exists, progressively increasing the count value, and if the first state shows that
data transmission is completed,
processing as data transmission interruption; in an
application layer thread, obtaining a kernel mode interrupt count value, comparing the kernel mode interrupt count value with an
application layer processing count value, if the kernel mode count value is greater than the
application layer count value, sending data to an accelerator and progressively increasing the application layer count value, and if the kernel mode count value is equal to the application layer count value, retrying after the thread is dormant for a first preset duration. The response is accelerated by
IOCTL polling, and the stability of the
system is ensured through intelligent
dormancy.