Task scheduling method, device, electronic device and storage medium
A task scheduling and task technology, applied in the computer field, can solve problems such as unbalanced resource scheduling, and achieve the effect of improving stability and solving unbalanced task scheduling.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flowchart of a task scheduling method in Embodiment 1 of the present invention. The embodiment of the present invention is applicable to the situation of scheduling tasks in the queue, and the method can be executed by a task scheduling device, which is implemented by software and / or hardware, and is specifically set in an electronic device.
[0027] Wherein, the electronic device may be a computer device equipped with at least one algorithm module for processing corresponding tasks. Wherein, each algorithm module processes corresponding tasks by executing corresponding codes, and achieves corresponding effects.
[0028] Such as figure 1 The task scheduling methods shown include:
[0029] S110. Traverse the tasks in the current queue, and acquire the current state information of each task traversed and the current value of the frequency parameter; the frequency parameter is a preset parameter used to indicate the scheduled frequency of the correspond...
Embodiment 2
[0044] figure 2 It is a flowchart of a task scheduling method in Embodiment 2 of the present invention. The embodiments of the present invention perform subdivision optimization on the basis of the technical solutions of the foregoing embodiments.
[0045] Further, the operation "select the task with the least scheduled frequency among the tasks whose current state information is executable state as the target task" is refined to "if the current state information is the task with the smallest scheduled frequency among the tasks that can be executed If there are multiple tasks, select the first task whose current state information traversed is the executable state and has the least scheduling frequency as the target task", so as to improve the target task selection mechanism and facilitate the response to tasks that can be executed. The case where there are multiple tasks with the smallest scheduling frequency.
[0046] Further, the operation "update the current value of the...
Embodiment 3
[0055] image 3 It is a flowchart of a task scheduling method in Embodiment 3 of the present invention. The embodiments of the present invention are optimized on the basis of the technical solutions of the foregoing embodiments.
[0056] Further, the operation "execute the selected target task" is subdivided into "according to the maintained input information channel index information of the target task, read the input data of the target task from the message center, and according to the input data of the target task Data execution target task; wherein, the input information channel index information is used to indicate the address of the storage area used to store the input data of the corresponding task in the message center, so as to improve the execution mechanism of the target task and realize effective management of input data , while providing a basis for the repair, maintenance and performance evaluation of electronic equipment.
[0057] Further, after the operation ...
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