A task scheduling method, device, electronic equipment and storage medium
A task scheduling and task technology, applied in the computer field, can solve problems such as unbalanced resource occupation, and achieve the effect of improving stability
- 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 traversed task and the current value of the cumulative execution time parameter.
[0030] Among them, the queue is a special linear storage table, which only allows the...
Embodiment 2
[0045] 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.
[0046] Further, the operation "select the task with the smallest cumulative execution time parameter among the tasks whose current state information is executable state is selected as the target task, or select the cumulative execution time parameter and corresponding priority among the tasks whose current state information is executable state The task with the smallest ratio, as the target task" is refined to "If there are multiple tasks with the smallest cumulative execution time parameter among the tasks whose current state information is the executable state, select the first traversed current state information as the executable The task that is executed and has the smallest cumulative execution time parameter is used as the ...
Embodiment 3
[0056] 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.
[0057] Further, the operation "execute the selected target task" is refined 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.
[0058] Further, after the operation "ex...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


