Resource scheduling method and device for task
A resource scheduling and task technology, applied in the field of data processing, can solve the problems that affect the demand front-end data presentation, task failure, and high importance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Such as figure 1 As shown in FIG. 1 , it is a schematic flow chart of the task resource scheduling method in Embodiment 1 of the present invention. The resource scheduling method of the task includes the following steps:
[0038] S101. Determine the priorities of multiple tasks and the specified task deadlines;
[0039] In this embodiment, each task corresponds to a priority, and different tasks may have the same priority. Different tasks can belong to the same requirement, and the priorities of tasks between different requirements can be different, but all tasks belonging to the same requirement have the same priority. Further, a task deadline is set for each requirement, and the tasks included in the requirement must be completed within the task deadline.
[0040] S102. Determine a preset resource upper limit.
[0041] In order to ensure that the machine cluster that executes the task can be efficiently allowed, it is necessary to set a resource upper limit for th...
Embodiment 2
[0051] Such as figure 2 As shown in FIG. 2 , it is a schematic flow chart of the task resource scheduling method in Embodiment 2 of the present invention. The resource scheduling method of the task includes the following steps:
[0052] S200. Use the scheduled tasks to form a scheduled task sequence.
[0053] S201. Add a first to-be-scheduled task to a scheduled task sequence.
[0054] Wherein, the priority of the task in the scheduled task sequence is higher than or equal to the priority of the first task to be scheduled, and the scheduled task sequence satisfies the first condition, wherein the first condition is that there is no time resource conflict among the tasks , in this embodiment, the time resource conflict is that the sum of the resources occupied by the overlapping parts of more than one task of the same type in time sequence is greater than the upper limit of resources corresponding to the task of this type.
[0055] In this embodiment, each task corresponds ...
Embodiment 3
[0083] Such as image 3 As shown in FIG. 2 , it is a schematic flow chart of the task resource scheduling method in Embodiment 3 of the present invention. On the basis of the second embodiment above, before adding the first task to be scheduled to the scheduled task sequence, the following steps are included:
[0084] S301. Divide task groups according to dependencies between tasks.
[0085]Among them, each task group includes: the first type of task to detect the state of the data, the second type of task to calculate the data, and the third type of task to summarize the calculation results of the data; the second type of task depends on the first type of task, and the third type of task directly depends on The second type of task indirectly depends on the first type of task.
[0086] In practical applications, there is a dependency relationship between tasks with the same requirement, and tasks are grouped according to the dependency relationship between tasks. Generally,...
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