Self-check method and apparatus for operation of host plug-in element

The invention discloses a self-check method and apparatus for operation of a host plug-in element. With the method and apparatus, a problem of poor safety caused by endless loop of an application task code or illegal code instruction modification can be effectively solved. According to the technical scheme, with combination of a monitoring task with timer interruption service processing, an operation system (VxWorks) provides a multi-task processing way; and application software is designed to be in an independent application task operation mode. Whether a code in an internal memory changes or an application code fails is detected by providing a system-level monitoring task and timer interruption process. When the code changes or fails, the system is guided to carry out safe fault processing automatically.