Task scheduling method and device and electronic equipment
A task scheduling and task technology, applied in the field of data processing, can solve problems such as program downtime
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach 1
[0061] Detecting whether a task is included in the third task block; the third task block stores a task that changes from the executing state to the suspended state;
[0062] If the third task block contains a task, calling the second task from the third task block to the second task block;
[0063] If the number of second tasks transferred from the third task block is less than the number of tasks that need to be scheduled to the second task block, the second task is transferred from the fifth task block to the second task block; The number of tasks that need to be scheduled to the second task block is determined according to the preset maximum concurrency and the number of tasks in the execution state included in the second task block.
[0064] In this embodiment, when the number of tasks being executed in the second task block is less than the preset maximum concurrency, the tasks are called according to the priority of the third task block and the fifth task, that is, the ...
Embodiment approach 2
[0067] Detect whether tasks are included in the third task block; stored in the third task block is a task that changes from the executing state to a suspended state; if the third task block contains tasks, call from the third task block Fetch the second task to the second task block.
[0068] Detect whether tasks are included in the third task block; stored in the third task block is a task that changes from the executing state to the suspended state; if the third task block does not include tasks, detect the task in the fifth task block Whether a task is included; if the fifth task block includes a task, call the second task from the fifth task block to the second task block.
[0069] In this embodiment, due to the continuous execution of the detection process of S102, in order to improve efficiency and reduce the complexity of calculation, after the tasks are transferred from the third task block, there is no need to detect that the number of second tasks to be called is le...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com