CN107085536B - Task management method and device - Google Patents

Task management method and device Download PDF

Info

Publication number
CN107085536B
CN107085536B CN201611033648.4A CN201611033648A CN107085536B CN 107085536 B CN107085536 B CN 107085536B CN 201611033648 A CN201611033648 A CN 201611033648A CN 107085536 B CN107085536 B CN 107085536B
Authority
CN
China
Prior art keywords
task
level
upstream
downstream
maximum value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611033648.4A
Other languages
Chinese (zh)
Other versions
CN107085536A (en
Inventor
张世晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611033648.4A priority Critical patent/CN107085536B/en
Publication of CN107085536A publication Critical patent/CN107085536A/en
Application granted granted Critical
Publication of CN107085536B publication Critical patent/CN107085536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/486Scheduler internals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a task management method and a task management device, wherein the method comprises the following steps: comparing task levels of an upstream task and a downstream task in a task stream; and when the task level of the downstream task is higher than that of the upstream task, the task level of the upstream task is increased. The invention can make the upstream task complete faster, and then execute the downstream task as early as possible, thereby reducing the delay influence of the upstream task on the downstream task.

Description

Task management method and device
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for task management.
Background
With the rapid development of computer and network technologies, people often use networks to process various types of affairs, such as online shopping, online payment, etc., and generate a large amount of data in the process of using the networks, such as commodity transaction data, etc., and it is very important to use scientific methods to arrange and analyze the data to better assist the development of business. The Data Warehouse (Data wavelet) is a theme-oriented, integrated and relatively stable Data set, and can be used for uniformly processing mutually independent and dispersed Data generated by each business system, so that the Data can be more conveniently applied to the requirements of subsequent decision and analysis. A task is a technical implementation of a minimum processing action in the concept of a data warehouse, which is a program or command running in a specific environment, for example, a task may be a report generation program, and in a data warehouse, data processing is performed by thousands of various processing tasks.
The task scheduling system can schedule and execute each task in sequence according to the dependency relationship among the tasks, a task flow can be formed among the tasks which are mutually dependent, for example, the task flow 'A-B-C' represents that the task A, the task B and the task C are executed in sequence, the task A can be called an upstream task, the task C can be called a downstream task in the task flow, the upstream and the downstream are relative concepts, the output of the upstream task is used as the input of the downstream task, namely, the execution of the downstream task depends on the upstream task. And the task scheduling system can execute a plurality of task flows concurrently and can execute a plurality of tasks simultaneously, and at the moment, the tasks with high task levels can be preferentially put into the running queue according to one attribute of the tasks, namely the task level, and higher processing resources are preferentially distributed. If a downstream task with a high task level is newly added to a task flow, and if the task level of an upstream task in the task flow is low, it is likely that the upstream task cannot be executed and ended as soon as possible due to insufficient resources being obtained, and accordingly, the execution of the more important downstream task is delayed.
Disclosure of Invention
In view of the above, the present invention provides a task management method and apparatus to reduce the delay impact of the execution of an upstream task on a downstream task.
Specifically, the invention is realized by the following technical scheme:
in a first aspect, a task management method is provided, where the method includes:
comparing task levels of an upstream task and a downstream task in a task stream;
and when the task level of the downstream task is higher than that of the upstream task, improving the task level of the upstream task.
In a second aspect, a method for task management is provided, the method being applied to each task in a task stream of a data warehouse, the method comprising:
acquiring the maximum value of the task levels of all downstream tasks of the current task, wherein the higher the task level is, the more preferentially the corresponding task is scheduled;
comparing the task level of the current task with the maximum value, and if the maximum value is higher than the task level of the current task, adjusting the task level of the current task to be the maximum value;
and scheduling the current task according to the adjusted task level.
In a third aspect, a task management device is provided, the device including:
the system comprises a level determining module, a task processing module and a task processing module, wherein the level determining module is used for comparing the task levels of an upstream task and a downstream task in a task flow and determining that the task level of the downstream task is higher than that of the upstream task;
and the level adjusting module is used for improving the task level of the upstream task.
In a fourth aspect, a task management apparatus is provided, which is applied to manage each task in a task flow of a data warehouse, and includes:
the system comprises a level acquisition module, a task scheduling module and a task scheduling module, wherein the level acquisition module is used for acquiring the maximum value of task levels of all downstream tasks of a current task, and the higher the task level is, the higher the corresponding task level is to be scheduled preferentially;
the grade adjusting module is used for comparing the task grade of the current task with the maximum value, and if the maximum value is higher than the task grade of the current task, the task grade of the current task is adjusted to be the maximum value;
and the scheduling processing module is used for scheduling the current task according to the adjusted task grade.
According to the task management method and device, when the task level of the downstream task is higher than that of the upstream task, the task level of the upstream task is improved, and then when the task scheduling system schedules the upstream according to the improved task level of the upstream task, the upstream task is put into the running queue more quickly than before the level adjustment, and more system resources are distributed to the upstream task, so that the upstream task is executed and completed more quickly, the downstream task is executed as soon as possible, and the delay influence of the upstream task on the downstream task is reduced.
Drawings
FIG. 1 is an example of a portion of tasks in a data warehouse provided by an embodiment of the present invention;
FIG. 2 is a flowchart of a task management method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a task management method according to an embodiment of the present invention;
FIG. 4 is an example of a task level adjustment provided by an embodiment of the present invention;
FIG. 5 is an example of task level adjustment provided by an embodiment of the present invention;
FIG. 6 is a flow chart of task level adjustment according to an embodiment of the present invention;
FIG. 7 is a flow chart of task level adjustment according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a task management device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a task management device according to an embodiment of the present invention.
Detailed Description
Fig. 1 illustrates a part of tasks in a data warehouse, one task in each block, for example, an extraction program of a data set or a generation program of a report. The arrow direction in fig. 1 represents the dependency relationship between the tasks of the data warehouse, for example, one arrow direction is from task 1 to task 4, which indicates that task 4 depends on task 1, and the output of task 1 is used as the input of task 4. The dependency relationship between tasks also represents the execution sequence between tasks, if task 4 depends on task 1, then task 1 is executed first, and then task 4 is executed, where task 1 may be referred to as an upstream task of task 4, and conversely, task 4 may be referred to as a downstream task of task 1. A task may only begin execution after all its upstream tasks have been completed, and in many cases a task may require multiple inputs, such as the outputs of task 1 and task 2 as inputs to task 4, as illustrated in fig. 1.
The tasks connected by the arrow lines constitute a task flow, for example, a task flow "[ task 1, task 2] - > task 4- > task 8" is illustrated in fig. 1, and another task flow "task 2- > task 5- > task 9" is illustrated, and other task flows are not described in detail. The task scheduling system may schedule and execute each task in sequence according to the dependency relationship between the tasks in the task stream, for example, execute task 2 first, then execute task 5, and then execute task 9. The task flows can be executed in parallel, and a plurality of task flows can be executed simultaneously.
In addition, in the task scheduling system of the data warehouse, attributes and scheduling policies of tasks are set for each task, including but not limited to elements such as a trigger mode, running time, task dependency, task level, and the like. For example, when multiple task flows in fig. 1 are scheduled to be executed, the task scheduling system may simultaneously execute multiple tasks, which may belong to different task flows. When the task scheduling system selects which tasks to be extracted to enter the running queue, according to the task level of the tasks, generally, the higher the task level is, the more preferentially the corresponding tasks are scheduled, and the scheduling system can preferentially place the tasks with the high task level into the running queue and also obtain higher system resources. The more important tasks will generally set a higher task level.
The task level of the task is usually set synchronously when the task is created, and can also be adjusted manually after the task is created. One situation that may arise when creating a task is: in a certain task flow, the task level of a downstream task is higher than that of an upstream task, which may be the case that a newly added downstream task is important, so a higher task level is set, while the upstream task is already set to a lower task level when initially created. For a task flow with a downstream task higher than the task level of the upstream task, if the task scheduling system schedules and executes in sequence, the upstream task may not obtain enough resources due to low task level, and cannot enter the running queue preferentially, and the output is delayed, so that the output of the downstream task is also delayed, that is, although the important downstream task sets a higher task level, the delayed output is also caused due to the influence of the upstream task.
In order to reduce the delay influence of the upstream task on the downstream task in the above situation, embodiments of the present application provide a task management method, which may adjust a task level of the upstream task when a task level of the downstream task in a task flow is higher than that of the upstream task, so as to reduce the delay influence of the upstream task on the downstream task. Fig. 2 is a flow chart of the method, which, as shown in fig. 2, may include:
in step 201, the task levels of an upstream task and a downstream task in a task flow are compared, and it is determined that the task level of the downstream task is higher than the task level of the upstream task.
For example, the upstream task and the downstream task in this step are in the same task flow, and upstream and downstream are a relative concept, such as illustrated in fig. 1, where task 1 is an upstream task of task 4, and task 4 is a downstream task of task 1.
In this step, the task level between the upstream task and the downstream task may be compared to determine whether the task level of the downstream task is higher than the task level of the upstream task. In this example, each task in the task flow may perform task level adjustment according to the method, and when the level of each task in the task flow is adjusted, various embodiments are possible. For example, the level of an upstream task may be compared with the level of each downstream task, and if the level of the downstream task is high, the level of the current upstream task is increased, and then the upstream task is compared with the level of the next downstream task. For example, the task levels may be compared between all the downstream tasks of the upstream task, and the maximum value may be selected and compared with the level of the current upstream task. For another example, only the level of the upstream task may be compared with the level of the newly added downstream task in the task flow.
If all downstream tasks of the upstream task have a lower task level than the upstream task, no adjustment may be made to the task level of the upstream task. Conversely, if a downstream task with a task level higher than the upstream task level is being performed, then step 202 may be continued to increase the task level of the upstream task to reduce the delay impact of the upstream task on the downstream task.
In step 202, the task level of the upstream task is increased.
The present example does not limit the magnitude of the task level increase of the upstream task, for example, assuming that the task level includes ten levels from 1 to 10, and the larger the number is, the more important the task is, and it may be assumed that the task level set by the upstream task at the time of creating the task is 1, and the task level of the downstream task is 7, when the task level of the upstream task is increased, the task level of the upstream task may be increased from 1 to 5, or from 1 to 7, etc., which is in any case higher than the current task level.
After the task level of the upstream task is improved, the task scheduling system can schedule the upstream task according to the improved task level of the upstream task. For the upstream task, the improvement of the task level enables the upstream task to enter the running queue faster than before the level adjustment, and more system resources can be allocated, so that the upstream task is executed and completed faster, the downstream task is executed as soon as possible, and the delay influence of the upstream task on the downstream task is reduced.
In the task management method of this example, when the task level of the downstream task is higher than that of the upstream task, the task level of the upstream task is increased, so that when the task scheduling system schedules the upstream according to the increased task level of the upstream task, the upstream task is put into the running queue faster than before the level adjustment, and more system resources are also allocated to the upstream task, so that the upstream task is executed and completed faster, the downstream task is executed as soon as possible, and the delay influence of the upstream task on the downstream task is reduced.
In an example, the task scheduling system of the data warehouse may determine the tasks to be executed in each task flow when scheduling the tasks each time, then execute the process illustrated in fig. 3 on the tasks to be executed, perform task level adjustment, and perform scheduling after the level adjustment. As shown in fig. 3, may include:
in step 301, the task levels of all the tasks currently to be executed are obtained.
For example, the task scheduling system may extract a current task to be executed in each task flow, for example, if one task flow in fig. 1 has been executed to the position of task 4, that is, if the task 4 is currently to be executed, the task 4 is the task to be executed; the position of the task 6 in the other task flow, i.e. the current task to be run is the task 6 (the task 3 upstream of it has finished executing), then the task 6 is the task to be executed. The task scheduling system may obtain the task levels for task 4 and task 6.
In step 302, the maximum value of the task levels of all the downstream tasks of the current task is counted.
For example, the number of to-be-executed tasks acquired in step 301 may be plural, and for each of the to-be-executed tasks, the processing of step 302 to step 306 in this example may be performed. In this step, taking one of the tasks to be executed as an example, the maximum value in the task levels of all the downstream tasks can be counted; for example, task 6 in fig. 1, whose downstream task is only task 9, may obtain the task level of task 9; in another example, assuming that the number of all downstream tasks of a certain task to be executed is multiple, including task a, task B, and task C, the maximum value of the task levels of task a to task C may be counted.
In step 303, the task level of the upstream task is compared with the maximum value, and it is determined whether the maximum value is higher than the task level of the current task.
If yes, go to step 304; otherwise, step 305 is performed.
In step 304, the maximum value is determined as the adjustment level for the current upstream task.
For example, also taking the task 6 as an example described above, if the task level of the task 9, which is a downstream task of the task 6, is high, the level of the task 9 may be set as the adjustment level of the task 6. In another example, even if the level of the downstream task is high, the adjustment level of the upstream task may not be equal to the maximum level of the downstream task, and the task level of the upstream task may be increased by a certain amount.
In step 305, the task level is kept unchanged.
In step 306, the current task is scheduled according to the adjustment level.
For example, after the task scheduling system adjusts the task level of each task to be executed, the task scheduling system may schedule the task according to the adjusted adjustment level, place the priority with the high level into the running queue, and preferentially allocate the running resources, so that the task with the high level can be executed faster.
An example implementation of adjusting the task level of a task is described below in conjunction with fig. 4. As shown in FIG. 4, there is one task in each box, and the task levels for the various tasks have been labeled in the boxes. For example, in the task stream "[ task 1, task 2] - > task 4- > task 8", the task level of both task 1 and task 2 is 7, the task level of task 4 is 1, and the task level of task 8 is 5.
As shown in fig. 4, in this example, a task 11 is newly added, and since this task 11 is important, its task level is set to 10, which is the highest level. This task 11 is dependent on task 8 and is located in the task stream "[ task 1, task 2] - > task 4- > task 8- > task 11".
The task scheduling system may perform the task management method shown in fig. 3 to adjust the task level. For example, taking task 4 in fig. 4 as an example, assuming that this task 4 is the current task to be executed, the maximum value in the task levels of all the downstream tasks of task 4 may be counted. The downstream tasks of task 4 include "task 8, task 11", where the level of task 8 is 5, the level of task 11 is 10, and the maximum value of the task levels of all downstream tasks is level 10. The task level of task 4 can be increased from the original level 1 to level 10, i.e. the same as the maximum value of the task level of the downstream task. In addition, for each task in the task flow, the task level can be adjusted according to the flow of the figure. For example, the task level of task 8 would also be adjusted from level 5 to level 10, and the task levels of task 1 and task 2 could be adjusted from level 7 to level 10. The adjusted task can be seen in the example of fig. 5.
In addition, the execution time of the task management method is not limited in the present application, and the task scheduling system may execute the method when the scheduled task is executed routinely every day, or may execute the method at other times. For each task in the task flow, the task level of the task is adjusted in advance according to the method of the present application before the task scheduling of allocating the queue and the resource to the task is executed according to the task level of the task.
In another example, assuming that the task scheduling system is configured to perform an update of the task level adjustment for each task in the task stream each time a new task is added to the task stream, the task scheduling system may not have all the new tasks added to the task stream every day if the task scheduling system performs the task scheduling once a day. For example, taking fig. 4 as an example, only task 11 is newly added to task flow "[ task 1, task 2] - > task 4- > task 8- > task 11", and other task flows have no newly added tasks, such as task flow "task 3- > task 7- > task 10". In order to improve the efficiency of task level adjustment, the task level of each task in the task flow can be adjusted only in the task flow including the newly added task. As shown in fig. 6, this example may include:
in step 601, a task flow including the newly added downstream task is determined.
For example, taking fig. 4 as an example, the task flow of the newly added task includes: "[ task 1, task 2] - > task 4- > task 8- > task 11".
In step 602, the task level of the upstream task is compared with the task level of a newly added downstream task.
For example, assuming that each time a downstream task is added, the task level of the upstream task may be compared to the task level of the added downstream task. When a plurality of downstream tasks are newly added, the upstream task may be compared with each of the newly added tasks in a level comparison manner, or the upstream task may be compared with a maximum value of the levels of the newly added tasks, as in the example shown in fig. 3.
In step 603, if the task level of the downstream task is higher than the task level of the upstream task, determining the task level of the downstream task as the adjustment level.
For example, in the task flow "[ task 1, task 2] - > task 4- > task 8- > task 11", if the level of the newly added task 11 is 10 and the level of the current task 4 is 1, the level of the task 4 may be adjusted to be level 10. Similarly, if the task level of the task 8 in the task flow is compared with the level of the newly added task 11, and the level 5 of the task 8 is lower than the level 10 of the task 11, the level of the task 8 can be adjusted to the level 10. After the above processing, it is equivalent to reversely propagating the level of the task 11, and after the task 11 with a higher level is newly added, if the level is lower than the newly added task, the level of each task at the upstream is adjusted to be the same as the level of the newly added task.
Of course, in other examples, whether the new task is included or not may be determined, for example, before the task scheduling system is to schedule and execute a certain task flow, whether the task level of each task in the task flow is adjusted or not may be determined by executing the method of this example, if the condition of this example is satisfied, the adjustment is performed, otherwise, the adjustment may not be performed.
In another example, instead of performing level comparison with a certain downstream task or the maximum value specifically for the task level of the current upstream task, the task levels of the upstream task and all the downstream tasks may be grouped into a set, and the maximum value of the level of the set may be obtained as the adjustment level of the upstream task. As shown in fig. 7, may include:
in step 701, for the current upstream task, the task levels of all its downstream tasks are obtained.
For example, taking task 4 in fig. 4 as the current upstream task as an example, all of its downstream tasks may include: task 8 and task 11.
In step 702, the maximum value of the task levels of the upstream task and all downstream tasks thereof is counted.
For example, task 4 has a task level of 1, task 8 has a task level of 5, and task 11 has a task level of 10. The levels of task 4, task 8, and task 11 may be grouped into a set, and the maximum value of the task levels in the set may be counted to obtain a maximum value of 10.
In step 703, the task level of the upstream task is adjusted to the maximum value.
This step may determine the maximum value in step 702 as the adjustment level of the upstream task, and change the task level of task 4 to 10. Similarly, for task 8, which may be grouped with task 11, the maximum value in the task level set [5, 10] is 10, whereby the task level of task 8 is also made 10.
In the task management method of this example, when the task level of the downstream task is higher than that of the upstream task, the task level of the upstream task is increased to be the same as the maximum value of the downstream task level, so that when the task scheduling system schedules the current task according to the increased task level of the current task, the upstream task is put into the running queue more quickly than before the level adjustment, and more system resources are also allocated to the upstream task, so that the upstream task is executed more quickly, the downstream task is executed as soon as possible, the delay influence of the upstream task on the downstream task is reduced, and the on-time output of the downstream important task can be ensured.
The embodiment of the application also provides a task management device which can execute the task management method of any embodiment. As shown in fig. 8, the apparatus may include: a grade determination module 81 and a grade adjustment module 82. Wherein,
a level determining module 81, configured to compare task levels of an upstream task and a downstream task in a task flow, and determine that the task level of the downstream task is higher than the task level of the upstream task;
a level adjustment module 82, configured to increase a task level of the upstream task.
In one example, the level adjustment module 82 is specifically configured to increase the task level of the upstream task to the task level of the downstream task.
In one example, the task level of the downstream task includes: a maximum value among task levels of all downstream tasks of the upstream task.
In one example, the task flow includes a newly added downstream task.
In one example, as shown in fig. 9, the task management device provided by the present invention may include:
the level obtaining module 91 is configured to obtain a maximum value in task levels of all downstream tasks of a current task, where the higher the task level is, the higher the priority of a corresponding task to be scheduled is;
a level adjusting module 92, configured to compare the task level of the current task with the maximum value, and if the maximum value is higher than the task level of the current task, adjust the task level of the current task to the maximum value;
and the scheduling processing module 93 is configured to schedule the current task according to the adjusted task level.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. A method for task management, the method comprising:
comparing task levels of an upstream task and a downstream task in a task stream; the task flow comprises newly added downstream tasks;
and when the task level of the downstream task is higher than that of the upstream task, improving the task level of the upstream task.
2. The method of claim 1, wherein said increasing a task level of said upstream task comprises:
and increasing the task level of the upstream task to the task level of the downstream task.
3. The method of claim 1, wherein the task level of the downstream task comprises: a maximum value among task levels of all downstream tasks of the upstream task.
4. The method of claim 1, wherein said increasing a task level of said upstream task is further followed by:
and scheduling the upstream task according to the improved task level of the upstream task.
5. A task management method is applied to each task in a task flow of a data warehouse, wherein the task flow comprises newly added downstream tasks, and the method comprises the following steps:
acquiring the maximum value of the task levels of all downstream tasks of the current task, wherein the higher the task level is, the more preferentially the corresponding task is scheduled;
comparing the task level of the current task with the maximum value, and if the maximum value is higher than the task level of the current task, adjusting the task level of the current task to be the maximum value;
and scheduling the current task according to the adjusted task level.
6. A task management apparatus, characterized in that the apparatus comprises:
the system comprises a level determining module, a task processing module and a task processing module, wherein the level determining module is used for comparing the task levels of an upstream task and a downstream task in a task flow and determining that the task level of the downstream task is higher than that of the upstream task; the task flow comprises newly added downstream tasks;
and the level adjusting module is used for improving the task level of the upstream task.
7. The apparatus of claim 6,
the level adjustment module is specifically configured to increase the task level of the upstream task to the task level of the downstream task.
8. The apparatus of claim 6, wherein the task level of the downstream task comprises: a maximum value among task levels of all downstream tasks of the upstream task.
9. A task management apparatus, which is applied to manage each task in a task flow of a data warehouse, where the task flow includes a newly added downstream task, and the apparatus includes:
the system comprises a level acquisition module, a task scheduling module and a task scheduling module, wherein the level acquisition module is used for acquiring the maximum value of task levels of all downstream tasks of a current task, and the higher the task level is, the higher the corresponding task level is to be scheduled preferentially;
the grade adjusting module is used for comparing the task grade of the current task with the maximum value, and if the maximum value is higher than the task grade of the current task, the task grade of the current task is adjusted to be the maximum value;
and the scheduling processing module is used for scheduling the current task according to the adjusted task grade.
CN201611033648.4A 2016-11-14 2016-11-14 Task management method and device Active CN107085536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611033648.4A CN107085536B (en) 2016-11-14 2016-11-14 Task management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611033648.4A CN107085536B (en) 2016-11-14 2016-11-14 Task management method and device

Publications (2)

Publication Number Publication Date
CN107085536A CN107085536A (en) 2017-08-22
CN107085536B true CN107085536B (en) 2020-09-18

Family

ID=59615021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611033648.4A Active CN107085536B (en) 2016-11-14 2016-11-14 Task management method and device

Country Status (1)

Country Link
CN (1) CN107085536B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390493B (en) * 2019-07-31 2021-10-22 北京字节跳动网络技术有限公司 Task management method and device, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593232B (en) * 2012-08-15 2017-07-04 阿里巴巴集团控股有限公司 The method for scheduling task and device of a kind of data warehouse
CN104142855B (en) * 2013-05-10 2017-07-07 中国电信股份有限公司 The dynamic dispatching method and device of task
CN104536811B (en) * 2014-12-26 2018-10-16 广州华多网络科技有限公司 Method for scheduling task based on HIVE tasks and device
CN105912387A (en) * 2015-08-25 2016-08-31 乐视网信息技术(北京)股份有限公司 Method and device for dispatching data processing operation

Also Published As

Publication number Publication date
CN107085536A (en) 2017-08-22

Similar Documents

Publication Publication Date Title
US20170255496A1 (en) Method for scheduling data flow task and apparatus
US9798830B2 (en) Stream data multiprocessing method
US10613909B2 (en) Method and apparatus for generating an optimized streaming graph using an adjacency operator combination on at least one streaming subgraph
US20180204123A1 (en) Application Recommending Method and Apparatus
US10332027B2 (en) Automated tuning of a service configuration
US20150178124A1 (en) Backfill scheduling for embarrassingly parallel jobs
US9477511B2 (en) Task-based modeling for parallel data integration
CN106886558B (en) Data processing method and server
US20150363229A1 (en) Resolving task dependencies in task queues for improved resource management
US9606899B1 (en) Software testing using shadow requests
CN109615138B (en) Operation flow optimizing method and device
US20180189350A1 (en) Streaming data processing method, streaming data processing device and memory medium
US20150277980A1 (en) Using predictive optimization to facilitate distributed computation in a multi-tenant system
US10628766B2 (en) Method and system for enabling dynamic capacity planning
CN107086929B (en) Batch streaming computing system performance guarantee method based on queuing modeling
Zhang et al. The real-time scheduling strategy based on traffic and load balancing in storm
CN113225269B (en) Container-based workflow scheduling method, device and system and storage medium
CN111026519A (en) Distributed task priority scheduling method and system and storage medium
CN103942108A (en) Resource parameter optimization method under Hadoop homogenous cluster
Adacher et al. Lot size optimization in manufacturing systems: The surrogate method
CN113326131B (en) Data processing method, device, equipment and storage medium
CN111680085A (en) Data processing task analysis method and device, electronic equipment and readable storage medium
Thai et al. Executing bag of distributed tasks on the cloud: Investigating the trade-offs between performance and cost
CN112783614A (en) Object processing method, device, equipment, storage medium and program product
CN107085536B (en) Task management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right