Vehicle ATP real-time task scheduling method and its task scheduling system
A technology of real-time tasks and scheduling methods, applied in the direction of program startup/switching, multi-programming devices, etc., can solve the problems of no data real-time protection mechanism, deadlock of other tasks of a single task, data security cannot be guaranteed, etc., to achieve strong real-time The effect of controlling task needs, reducing communication latency, and simplifying task scheduling mechanisms
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] The present invention will be described in detail below in conjunction with specific implementation methods. The schematic implementation and description of the present invention are used to explain the present invention, but not as a limitation to the present invention.
[0038] figure 1 It is a schematic flowchart of the basic principle of the task scheduling method of the present invention. Such as figure 1 As shown, the scheduling method 100 includes:
[0039] S110, generating at least one global variable that can be shared by multiple tasks, and each global variable designates a task to modify and update its data;
[0040] S120, calling the first task with the highest priority in the task list to enter the kernel to run, when the running first task is modifying and updating the data of the global variable designated by it for data modification and updating, the kernel locks the task switch until the data is modified The update is completed; while the first task ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


