Multi-task exception recovery method and storage medium
A recovery method and multi-tasking technology, applied in the field of computer control, can solve problems such as system stuck
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] For a recovery method for multitasking exceptions provided by an embodiment of the present invention, see figure 1 , figure 2 As shown, in this embodiment, steps S1 to S4 are included:
[0032] S1. Create a multi-task list according to multiple tasks running in parallel, specifically:
[0033] Obtain multiple tasks running in parallel, number and sort the tasks, and create a corresponding multi-task list. For example, the N tasks are Task(0), Task(1)...Task(N-1).
[0034] S2. Select one of multiple tasks as a task scheduler;
[0035] In this embodiment, after step S2, it also includes: pre-defining the timer in the watchdog for timing clearing of each task, when the task scheduler detects that there is a timer in the watchdog that cannot be cleared regularly (dog feeding) , then determine the abnormal task detected.
[0036] This embodiment adopts watchdog (watchdog timer) to carry out the cyclic detection of task abnormality, by regularly clearing the timer of th...
Embodiment 2
[0063] The embodiment of the present invention also provides a storage medium, on which a computer program is stored, and the computer program is used to implement the method for recovering from a multi-task exception provided in the above embodiment. Wherein, the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM), and the like.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap