Task scheduling method and device, equipment and storage medium
A task scheduling and task technology, applied in the direction of multi-program device, program startup/switching, etc., can solve the problem of reducing the usability and scope of application of the operating system, and achieve the effect of improving usability and scope of application
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 This is a flowchart of the task scheduling method provided in Embodiment 1 of the present invention. This embodiment can be applied to the case of selecting the current running task of the system. The method can be executed by the task selection device in the embodiment of the present invention, and the device can adopt Implemented in the form of hardware and / or software, the apparatus can be configured in an electronic device. like figure 1 As shown, the method includes:
[0028] Step S101, define different types of task schedulers.
[0029] Optionally, define different types of task schedulers, including: defining each task scheduler according to a specified type; defining the scheduling operation conditions of the task scheduler, and the types of task scheduling operations that match the scheduling operation conditions; wherein, the task scheduling operation The type includes at least one of the following types: enter the ready queue, remove from the read...
Embodiment 2
[0046] image 3 This is a flowchart of a task scheduling method provided in Embodiment 2 of the present invention. Based on the foregoing embodiments, this embodiment specifically describes the determination of the current running task of the system by each task scheduler. like image 3 As shown, the method includes:
[0047] Step S201 , when the system lock is released and the task is scheduled, each task scheduler performs a task selection operation to obtain the scheduler running task.
[0048] Optionally, each task scheduler performs a task selection operation to obtain the scheduler running tasks, including: screening tasks according to preset conditions from the ready queue of the task scheduler at the current level according to the priority of each task scheduler, Among them, the priority of the real-time task scheduler, deadline task scheduler, fair algorithm task scheduler and IDLE task scheduler decreases in turn; it is judged whether the task scheduler of the curr...
Embodiment 3
[0057] Figure 5 A schematic structural diagram of a task selection device provided in Embodiment 3 of the present invention, such as Figure 5 As shown, the apparatus includes: a task scheduler definition module 310 , a task creation module 320 and a task scheduling module 330 .
[0058] Among them, the task scheduler definition module 310 is used to define different types of task schedulers, and the task schedulers include at least two of the following types: real-time task schedulers, deadline task schedulers, fair algorithm task schedulers and IDLE tasks scheduler;
[0059] The task creation module 320 is used to specify the task scheduler type corresponding to the task when creating the task;
[0060] The task scheduling module 330 is used for each task scheduler to perform a task scheduling operation matching the scheduling operation condition when the pre-defined scheduling operation condition is satisfied.
[0061] Optionally, a task scheduler definition module, use...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com