CN107085536A - A kind of task management method and device - Google Patents

A kind of task management method and device Download PDF

Info

Publication number
CN107085536A
CN107085536A CN201611033648.4A CN201611033648A CN107085536A CN 107085536 A CN107085536 A CN 107085536A CN 201611033648 A CN201611033648 A CN 201611033648A CN 107085536 A CN107085536 A CN 107085536A
Authority
CN
China
Prior art keywords
task
grade
upstream
downstream jobs
maximum
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.)
Granted
Application number
CN201611033648.4A
Other languages
Chinese (zh)
Other versions
CN107085536B (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

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

Abstract

The present invention provides a kind of task management method and device, and wherein method includes:The task dispatching level of upstream task in one task flow and Downstream Jobs is compared;When the task grade of Downstream Jobs is higher than the task grade of upstream task, the task grade of the upstream task is improved.Completion is performed faster the invention enables upstream task, and then performs Downstream Jobs as early as possible, reduces delayed impact of the upstream task to Downstream Jobs.

Description

A kind of task management method and device
Technical field
The present invention relates to computer technology, more particularly to a kind of task management method and device.
Background technology
With the fast development of computer and network technologies, the polytype affairs of network processes are commonly used in people, than Such as substantial amounts of data, such as commodity transaction data can be produced during network is used with shopping online, Online Payment Deng, go to arrange with the method for science and analyze these data, will be extremely important with the development of more preferable auxiliary activities.Data warehouse (Data Warehouse) is a subject-oriented, integrated, metastable data acquisition system, and data warehouse can be used for pair Separate, the scattered data that each operation system is produced carry out unified processing, are more easily applied to so as to obtain data The need for follow-up decision and analysis.Task is exactly that a kind of technology of minimum treat data action is real in the concept of data warehouse It is existing, it is one run in certain circumstances a program or order, for example, a task can be the generation journey of a form Sequence, in a data warehouse, the processing of data is completed by thousands of various processing tasks.
Task scheduling system can perform each task according to the dependence between task successively scheduling, complementary A task flow can be formed between each task, such as, " A --- B --- C " is represented to perform task A successively, appointed task flow Be engaged in B and task C, and task A is properly termed as upstream task, and task C is properly termed as the Downstream Jobs in the task flow, upstream and downstream It is a kind of relative concept, the output of upstream task will be as the execution of the input of Downstream Jobs, i.e. Downstream Jobs dependent on upper Trip task., now can be with also, task scheduling system can concurrently perform many task flows, and multiple tasks can be performed simultaneously One of which attribute according to task is task grade, and the high priority of task of task grade is put into operation queue, preferential distribution Higher process resource.If some task flow has newly increased the high Downstream Jobs of task grade, and if the task The task grade of upstream task in stream is relatively low, then being likely to upstream task occur can not less than enough resources due to obtaining Perform and terminate as early as possible, accordingly also delay the execution of important Downstream Jobs.
The content of the invention
In view of this, the present invention provides a kind of task management method and device, to reduce the execution of upstream task to downstream The delayed impact of task.
Specifically, the present invention is achieved through the following technical solutions:
First aspect includes there is provided a kind of task management method, methods described:
The task dispatching level of upstream task in one task flow and Downstream Jobs is compared;
When the task grade of the Downstream Jobs is higher than the task grade of upstream task, appointing for the upstream task is improved Business grade.
Second aspect is applied to each in the task flow of data warehouse there is provided a kind of task management method, methods described Task, methods described includes:
Maximum in the task grade for all Downstream Jobs for obtaining current task, the task higher grade, then right Answering for task will be more by priority scheduling;
The task grade of current task is compared with the maximum, if the maximum is higher than the task dispatching of current task Level, then be adjusted to the maximum by the task grade of the current task;
According to the task grade after adjustment, the current task is scheduled.
The third aspect includes there is provided a kind of task management device, described device:
Level determination module, for the task dispatching level of the upstream task in a task flow and Downstream Jobs to be compared Compared with, determine the Downstream Jobs task grade be higher than upstream task task grade;
Level adjustment module, the task grade for improving the upstream task.
Fourth aspect is applied to every in the task flow of data warehouse there is provided a kind of task management device, described device Individual task is managed, and described device includes:
Grade acquisition module, it is described for the maximum in the task grade for all Downstream Jobs for obtaining current task Task higher grade, then corresponding task will be more by priority scheduling;
Level adjustment module, for the task grade of current task to be compared with the maximum, if the maximum is high In the task grade of current task, then the task grade of current task is adjusted to the maximum;
Schedule process module, for according to the task grade after adjustment, being scheduled to the current task.
The task management method and dress of the present invention, will be upper during by the task grade in Downstream Jobs higher than upstream task The task grade of trip task is improved, then the task grade of upstream task of the task scheduling system after according to raising, to upstream When being scheduled, before level adjustment, upstream task will be put into operation queue faster, also can be upstream task More system resources are distributed, so that upstream task performs completion faster, and then performs Downstream Jobs as early as possible, are reduced Delayed impact of the upstream task to Downstream Jobs.
Brief description of the drawings
Fig. 1 is the example of a part of task in data warehouse provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of task management method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of task management method provided in an embodiment of the present invention;
Fig. 4 is the example before task level adjustment provided in an embodiment of the present invention;
Fig. 5 is the example after task level adjustment provided in an embodiment of the present invention;
Fig. 6 is a kind of task level adjustment flow chart provided in an embodiment of the present invention;
Fig. 7 is a kind of task level adjustment flow chart provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of task management device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of task management device provided in an embodiment of the present invention.
Embodiment
It is a task that Fig. 1, which is illustrated in a part of task in data warehouse, each frame, for example, a task can To be the extraction program of data set or the generation program of a form.Wherein, the direction of arrow in Fig. 1 represents data warehouse Each task between dependence, for example, some direction of arrow is points to task 4 by task 1, expression task 4 is relied on In task 1, the output of task 1 will be used as the input of task 4.Dependence between task also represent the execution between task Sequentially, if task 4 depends on task 1, task 1 is first carried out, then performs task 4, task 1 is properly termed as the upstream of task 4 Task, opposite, task 4 is properly termed as the Downstream Jobs of task 1.One task is only all run in its all upstream tasks It could start to perform after end, in many cases, a task may need multiple inputs, such as, shown in Fig. 1, The output of task 1 and task 2 is all as the input of task 4.
Each task connected by arrow line constitutes a task flow, " [appoints for example, illustrating a task flow in Fig. 1 Business 1, task 2]->Task 4->Task 8 ", also have another task flow " task 2->Task 5->Task 9 ", also has other Several task flows, are no longer described in detail.Task scheduling system can successively be dispatched according to the dependence between the task in task flow Each task is performed, for example, first carrying out task 2, then task 5 is performed, task 9 is then performed.Can be simultaneously between each task flow Row is performed, while performing multiple tasks stream.
In addition, in the task scheduling system of data warehouse, attribute, the scheduling plan of task can be also set to each task Slightly, the including but not limited to element such as triggering mode, run time, task dependence, task grade, task scheduling system can be with Using the resource information of the attribute, scheduling strategy and system of task, determine how the calculating in orderly service data warehouse is appointed Business.For example, when the multiple tasks stream in Fig. 1 is scheduled execution, task scheduling system can run multiple tasks simultaneously, The plurality of task can belong to different task flows.Task scheduling system will extract which task enters operation queue in selection When, can be according to the task grade of task, usual task higher grade, and corresponding task will dispatch system more by priority scheduling The high priority of task of task grade can be put into operation queue, can also obtain higher system resource.General important appoints Business can just set higher task grade.
The task grade of task is typically synchronously to be configured when the task of establishment, can also the task of establishment it Manually it is adjusted afterwards.In the task of establishment, a kind of situation for being likely to occur is:In some task flow, the task of Downstream Jobs Grade be higher than upstream task task grade, such case is probably that newly-increased Downstream Jobs are important, so there is provided compared with High task grade, and upstream task has been set to relatively low task grade in initial create.For a Downstream Jobs Higher than the task flow of the task grade of upstream task, if task scheduling system sequentially dispatches execution, upstream task may be by It is low and cannot get enough resources in task grade, operation queue can not be preferentially entered, output delay in turn results in downstream and appointed The output of business can also postpone, although that is, important Downstream Jobs are provided with higher task grade, also due to the shadow of upstream task Sound causes delay output.
In order to reduce delayed impact of the above-mentioned situation middle and upper reaches task to Downstream Jobs, the embodiment of the present application provides one kind Task management method, when the task grade for the Downstream Jobs that this method can be in task flow is higher than upstream task, appoints to upstream The task dispatching level of business is adjusted, to reduce delayed impact of the upstream task to Downstream Jobs.Fig. 2 is the flow chart of this method, As shown in Fig. 2 this method can include:
In step 201, compare the upstream task in a task flow and the task grade of Downstream Jobs, determine that downstream is appointed The task grade of business is higher than the task grade of upstream task.
For example, the upstream task and Downstream Jobs in this step are in same task flow, upstream and downstream is one Example in relative concept, such as Fig. 1, task 1 is the upstream task of task 4, and task 4 is the Downstream Jobs of task 1.
In this step, the size of the task grade between upstream task and Downstream Jobs can be compared, Downstream Jobs are judged Task grade whether be higher than upstream task task grade.In this example, each task in task flow can be according to this Method carries out the adjustment of task grade, when each task in task flow adjusts grade, can there is numerous embodiments.Example Such as, grade that can be by the grade of a upstream task respectively with each of which Downstream Jobs is compared, if under when relatively The grade height of trip task then improves the grade of current upstream task, then again enters the upstream task with next Downstream Jobs Row grade compares.In another example, the comparison of task grade can also be first carried out between all Downstream Jobs of upstream task, then select The grade for selecting maximum therein and current upstream task is compared.For another example can also be only by upstream task etc. The grade of Downstream Jobs of the level with being increased newly in the task flow is compared.
If the task grade of all Downstream Jobs of the upstream task is lower than upstream task, can not be to upstream task Task grade adjust., whereas if being higher than the Downstream Jobs of upstream task grade in task grade, then can continue Step 202 is performed, the task grade of upstream task is improved, to reduce delayed impact of the upstream task to Downstream Jobs.
In step 202., the task grade of the upstream task is improved.
The amplitude that this example is improved to the task grade of upstream task is not limited, for example, it is assumed that task grade is included from 1 To 10 this ten grades, and the bigger expression task of numeral is more important, it is possible to assuming that what upstream task was set in the task of establishment Task grade is 1, and the task grade of Downstream Jobs is 7, then when improving the task grade of upstream task, can appoint upstream The task grade of business brings up to 5 by 1, or brings up to 7 by 1, etc. than current task higher grade in a word.
After the task grade of the upstream task is improved, after task scheduling system can just be improved according to upstream task Task grade, the upstream task is scheduled.For the upstream task, the raising of task grade will cause this Before upstream task is compared to level adjustment, operation queue will be entered faster, can be assigned to more system resources, So that upstream task performs completion faster, and then performs Downstream Jobs as early as possible, upstream task is reduced to Downstream Jobs Delayed impact.
In the task management method of this example, by when the task grade of Downstream Jobs is higher than upstream task, by upstream The task grade of task is improved, then the task grade of upstream task of the task scheduling system after according to raising, and upstream is entered During row scheduling, before level adjustment, upstream task will be put into operation queue faster, also can be upstream task point With more system resources, so that upstream task performs completion faster, and then performs Downstream Jobs as early as possible, reduce Delayed impact of the trip task to Downstream Jobs.
In one example, the task scheduling system of data warehouse can first determine each in each scheduler task Pending task in business stream, then to the flow exemplified by these pending tasks carrying Fig. 3, carries out the tune of task grade It is whole, it is scheduled again after adjustment grade.As shown in figure 3, can include:
In step 301, the task grade of all current pending tasks is obtained.
For example, task scheduling system can extract the current pending task in each task flow, such as, and Fig. 1 In a task flow gone to the position of task 4, i.e., what is currently run is task 4, then the task 4 is pending Business;The position of task 6 is gone in another task flow, i.e., what is currently run is that task 6 (held by the task 3 of its upstream Row terminates), then the task 6 is pending task.Task scheduling system can get the task grade of task 4 and task 6.
In step 302, the maximum in the task grade for all Downstream Jobs for counting the current task.
For example, the quantity of the pending task got in step 301 can be multiple, and treated for each Execution task, can perform the step 302 in this example to the processing of step 306.In this step, it is pending with one of them Exemplified by task, the maximum in the task grade of its all Downstream Jobs can be counted;For example, the task 6 in Fig. 1, under it Trip task only has task 9, then can obtain the task grade of task 9;In other examples, it is assumed that some pending task All Downstream Jobs quantity to be multiple, including task A, task B, task C then can be with statistics task A to task C tasks The maximum of grade.
In step 303, the task grade of the upstream task and the maximum are compared, judge that maximum is The no task grade higher than the current task.
If the determination result is YES, then step 304 is performed;Otherwise, step 305 is performed.
In step 304, the maximum is defined as to the adjustment grade of current upstream task.
For example, still by taking above-mentioned task 6 as an example, if the Downstream Jobs of task 6 be task 9 task it is higher ranked, Can using the grade of task 9 as task 6 adjustment grade.In other examples, even if Downstream Jobs is higher ranked, on The adjustment grade of trip task can also be not equal to the grade maximum of task downstream, as long as the task grade of upstream task is carried High certain amplitude.
In step 305, keep task grade constant.
Within step 306, according to adjustment grade, current task is scheduled.
For example, task scheduling system to the task dispatching of each pending task level after being adjusted, can be according to adjustment Rear adjustment grade carries out task scheduling, high preferential of grade is put into operation queue, preferential distribution operation resource so that grade High task can be performed faster.
Below in conjunction with Fig. 4, the examples of implementation being adjusted the task dispatching level that describes to task.As shown in figure 4, each frame In be the task grade that each task has been indicated in a task, and frame.For example, in task flow " [task 1, task 2]—>Task 4->In task 8 ", the task grade of task 1 and task 2 is 7, and the task grade of task 4 is 1, task 8 Task grade is 5.
As shown in figure 4, in this example, having increased task 11 newly, because the task 11 is extremely important, its task grade is set It is highest ranking for 10.The task 11 depend on task 8, positioned at task flow " [task 1, task 2]->Task 4->Task 8—>In task 11 ".
Task scheduling system can perform the task management method shown in Fig. 3, and task dispatching level is adjusted.For example, with Exemplified by task 4 in Fig. 4, it is assumed that the task 4 is current pending task, can be with all Downstream Jobs of statistics task 4 Maximum in task grade.The Downstream Jobs of task 4 include " task 8, task 11 ", wherein, the grade of task 8 is 5, task 11 grade is 10, then the maximum in the task grade of all Downstream Jobs is grade 10.Then can be by the task dispatching of task 4 Level is improved to grade 10 by original grade 1, i.e., identical with the task grade maximum of Downstream Jobs.In addition, for task flow In each task, can according to figure flow carry out task grade adjustment.For example, the task grade of task 8 also will be by Class 5 is adjusted to grade 10, and the task grade of task 1 and task 2 can be adjusted to grade 10 by grade 7.Task after adjustment It may refer to Fig. 5 example.
In addition, the application is not limited to the execution time of task management method, task scheduling system can be daily Routine performs this method when performing scheduler task, or can also be performed in other times.For each in task flow Task, as long as before the task scheduling of distribution queue and resource is performed to it according to the task grade of the task, in advance to appointing The task grade of business is adjusted according to the present processes.
In another example, it is assumed that be set to when each task flow increases task newly, to each in the task flow The adjustment that business performs a task grade updates, then if task scheduling system performs a task scheduling, this day daily Perhaps not all task flow has newly-increased task.For example, by taking Fig. 4 as an example, only task flow " [task 1, task 2]-> Task 4->Task 8->Increase task 11 in task 11 " newly, and other task flows do not increase task, such as, task newly Stream " task 3->Task 7->Task 10 "., can be only including increasing task newly in order to improve the efficiency of task level adjustment In task flow, the task dispatching level to each task in task flow is adjusted.As shown in fig. 6, the example can include:
In step 601, it is determined that including the task flow of newly-increased Downstream Jobs.
For example, by taking Fig. 4 as an example, the task flow of newly-increased task includes:" [task 1, task 2]->Task 4->Task 8-> Task 11 ".
In step 602, upstream task and the task dispatching level of a newly-increased Downstream Jobs are compared.
For example, it is assumed that increase a Downstream Jobs newly every time, can be by the upstream task and a newly-increased Downstream Jobs Task dispatching level be compared size.When having increased multiple Downstream Jobs newly, can also by the upstream task respectively with it is therein Each newly-increased task carries out grade comparison, or can also be as shown in Figure 3 example, by upstream task and these newly-increased tasks Grade maximum be compared.
In step 603, if the task grade of the Downstream Jobs is higher than the task grade of the upstream task, by institute The task grade for stating Downstream Jobs is defined as the adjustment grade.
Such as, task flow " [task 1, task 2]->Task 4->Task 8->In task 11 ", if newly-increased task 11 grade is 10, and the grade of current task 4 is 1, then can be grade 10 by the level adjustment of task 4.Equally, for this Task 8 in task flow, is also compared its task grade with the grade of newly-increased task 11, the class 5 of task 8 is also below task 11 grade 10, then can also be adjusted to grade 10 by the grade of task 8.By above-mentioned processing, equivalent to by task 11 etc. Level has carried out backpropagation, has increased newly after higher ranked task 11, to each task swum thereon, is somebody's turn to do if grade is less than Newly-increased task, it is identical with the grade of the newly-increased task all to adjust grade.
Certainly, in other examples, newly-increased task can also whether be included, can be grading to the task dispatching of task The judgement whether row adjusts, such as, can be by holding before task scheduling system will be scheduled execution to some task flow The method of this example of row, the task dispatching level to each task in the task flow is made whether the judgement of adjustment, if meeting this The condition of example is then adjusted, and otherwise can not be adjusted.
In another example, can not also by the task grade of current upstream task specifically be used for under some Trip task or maximum carry out grade comparison, but the upstream task and the task grade of its all Downstream Jobs are constituted into one Set, asks for the grade maximum of the set, is used as the adjustment grade of upstream task.As shown in fig. 7, can include:
In step 701, for current upstream task, the task grade of its all Downstream Jobs is obtained.
For example, so that the task 4 in Fig. 4 is current upstream task as an example, its all Downstream Jobs can include:Task 8 and task 11.
In a step 702, the maximum in the task grade of the upstream task and its all Downstream Jobs is counted.
For example, the task grade of task 4 is 1, the task grade of task 8 is 5, and the task grade of task 11 is 10.Can be with The grade of task 4, task 8, task 11 is constituted into a set, the maximum of the task grade in the set is counted, can obtain It is 10 to go out its maximum.
In step 703, by the task grade of upstream task, the maximum is adjusted to.
Maximum in step 702 can be defined as the adjustment grade of upstream task by this step, by the task dispatching of task 4 Level is changed to 10.Likewise, for task 8, it can be constituted in a set, task class set [5,10] with task 11 Maximum is 10, accordingly by the task grade of task 8 also more 10.
In the task management method of this example, by when the task grade of Downstream Jobs is higher than upstream task, by upstream The task grade of task is improved to identical with the maximum of Downstream Jobs grade, then task scheduling system is after according to raising The task grade of current task,, will faster will be upper before level adjustment when being scheduled to the current task Trip task is put into operation queue, also more system resources can be distributed for upstream task, so that upstream task is held faster Row is completed, and then performs Downstream Jobs as early as possible, reduces delayed impact of the upstream task to Downstream Jobs, ensure that downstream weight Want the output on time of task.
The embodiment of the present application additionally provides a kind of task management device, can perform the task management of any of the above-described embodiment Method.As shown in figure 8, the device can include:Level determination module 81 and level adjustment module 82.Wherein,
Level determination module 81, for the task dispatching level of the upstream task in a task flow and Downstream Jobs to be compared Compared with, determine the Downstream Jobs task grade be higher than upstream task task grade;
Level adjustment module 82, the task grade for improving the upstream task.
In one example, level adjustment module 82, specifically for improving the task grade of the upstream task to institute State the task grade of Downstream Jobs.
In one example, the task grade of the Downstream Jobs, including:All Downstream Jobs of the upstream task Maximum in task grade.
In one example, in the task flow, including newly-increased Downstream Jobs.
In one example, as shown in figure 9, the task management device that the present invention is provided can include:
Grade acquisition module 91, for the maximum in the task grade for all Downstream Jobs for obtaining current task, institute Task higher grade is stated, then corresponding task will be more by priority scheduling;
Level adjustment module 92, for the task grade of current task to be compared with the maximum, if the maximum Higher than the task grade of current task, then the task grade of current task is adjusted to the maximum;
Schedule process module 93, for according to the task grade after adjustment, being scheduled to the current task.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (11)

1. a kind of task management method, it is characterised in that methods described includes:
The task dispatching level of upstream task in one task flow and Downstream Jobs is compared;
When the task grade of the Downstream Jobs is higher than the task grade of upstream task, the task dispatching of the upstream task is improved Level.
2. according to the method described in claim 1, it is characterised in that the task grade for improving the upstream task, including:
The task grade of the upstream task is improved to the task grade of the Downstream Jobs.
3. according to the method described in claim 1, it is characterised in that the task grade of the Downstream Jobs, including:The upstream Maximum in the task grade of all Downstream Jobs of task.
4. according to the method described in claim 1, it is characterised in that in the task flow, including newly-increased Downstream Jobs.
5. according to the method described in claim 1, it is characterised in that the task grade for improving the upstream task, afterwards Also include:
According to the task grade of the upstream task after raising, the upstream task is scheduled.
6. a kind of task management method, it is characterised in that methods described is applied to each task in the task flow of data warehouse, Methods described includes:
Maximum in the task grade for all Downstream Jobs for obtaining current task, the task higher grade, then corresponding Task will be more by priority scheduling;
The task grade of current task is compared with the maximum, if the maximum is higher than the task grade of current task, The task grade of the current task is then adjusted to the maximum;
According to the task grade after adjustment, the current task is scheduled.
7. a kind of task management device, it is characterised in that described device includes:
Level determination module, for the task dispatching level of the upstream task in a task flow and Downstream Jobs to be compared, really The task grade of the fixed Downstream Jobs is higher than the task grade of upstream task;
Level adjustment module, the task grade for improving the upstream task.
8. device according to claim 7, it is characterised in that
The level adjustment module, specifically for by the task grade of the upstream task, improving appointing to the Downstream Jobs Business grade.
9. device according to claim 7, it is characterised in that the task grade of the Downstream Jobs, including:The upstream Maximum in the task grade of all Downstream Jobs of task.
10. device according to claim 7, it is characterised in that in the task flow, including newly-increased Downstream Jobs.
11. a kind of task management device, it is characterised in that described device is applied to each in the task flow of data warehouse Business is managed, and described device includes:
Grade acquisition module, for the maximum in the task grade for all Downstream Jobs for obtaining current task, the task Higher grade, then corresponding task will be more by priority scheduling;
Level adjustment module, for the task grade of current task to be compared with the maximum, works as if the maximum is higher than The task grade of preceding task, then be adjusted to the maximum by the task grade of current task;
Schedule process module, for according to the task grade after adjustment, being scheduled to the current task.
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 true CN107085536A (en) 2017-08-22
CN107085536B 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)

Cited By (1)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593232A (en) * 2012-08-15 2014-02-19 阿里巴巴集团控股有限公司 Task scheduling method and device of data warehouse
CN104142855A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Dynamic task scheduling method and device
CN104536811A (en) * 2014-12-26 2015-04-22 广州华多网络科技有限公司 HIVE task based task scheduling method and device
CN105912387A (en) * 2015-08-25 2016-08-31 乐视网信息技术(北京)股份有限公司 Method and device for dispatching data processing operation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593232A (en) * 2012-08-15 2014-02-19 阿里巴巴集团控股有限公司 Task scheduling method and device of data warehouse
CN104142855A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Dynamic task scheduling method and device
CN104536811A (en) * 2014-12-26 2015-04-22 广州华多网络科技有限公司 HIVE task based task scheduling method and device
CN105912387A (en) * 2015-08-25 2016-08-31 乐视网信息技术(北京)股份有限公司 Method and device for dispatching data processing operation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
史捷 等: "数据仓库系统中任务调度策略研究", 《控制与决策》 *
陈颖 等: "基于统计分析的实时多任务流系统的最优调度", 《系统工程与电子技术》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN107085536B (en) 2020-09-18

Similar Documents

Publication Publication Date Title
Niño-Mora Dynamic priority allocation via restless bandit marginal productivity indices
CN105900064B (en) The method and apparatus for dispatching data flow task
US8224845B2 (en) Transaction prediction modeling method
CN105260237B (en) The task scheduling system and its dispatching method of heterogeneous polynuclear platform
CN107590188A (en) A kind of reptile crawling method and its management system for automating vertical subdivision field
CN103593232B (en) The method for scheduling task and device of a kind of data warehouse
CN106886558B (en) Data processing method and server
Kianfar et al. Study of stochastic sequence-dependent flexible flow shop via developing a dispatching rule and a hybrid GA
CN101645036B (en) Method for automatically distributing test tasks based on capability level of test executor
US7756978B2 (en) Multiplicity adjustment system and method
CN102495804A (en) Automatic software testing method
CN109615138B (en) Operation flow optimizing method and device
CN106372329A (en) Method and system applied to high-throughput integration calculation and data management of material gene engineering
CN110928655A (en) Task processing method and device
Siriweera et al. Intelligent big data analysis architecture based on automatic service composition
CN111858062A (en) Evaluation rule optimization method, service evaluation method and related equipment
CN106326339A (en) Task allocating method and device
US20130066665A1 (en) System and method for automated selection of workflows
EP3261025A1 (en) Extraction program, extraction device, and extraction method
CN107085536A (en) A kind of task management method and device
CN110084507A (en) The scientific workflow method for optimizing scheduling of perception is classified under cloud computing environment
CN108898482B (en) Multi-product signing method and device
Hirth et al. Task scheduling on crowdsourcing platforms for enabling completion time slas
CN106502842A (en) Data reconstruction method and system
CN104899216B (en) A kind of discarded call bill processing 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