CN105260234A - Independent task list based process dynamic execution optimization method - Google Patents

Independent task list based process dynamic execution optimization method Download PDF

Info

Publication number
CN105260234A
CN105260234A CN201510608727.2A CN201510608727A CN105260234A CN 105260234 A CN105260234 A CN 105260234A CN 201510608727 A CN201510608727 A CN 201510608727A CN 105260234 A CN105260234 A CN 105260234A
Authority
CN
China
Prior art keywords
task
resource
task list
optimization
distribution
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.)
Pending
Application number
CN201510608727.2A
Other languages
Chinese (zh)
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.)
Zhejiang Gongshang University
Original Assignee
Zhejiang Gongshang University
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 Zhejiang Gongshang University filed Critical Zhejiang Gongshang University
Priority to CN201510608727.2A priority Critical patent/CN105260234A/en
Publication of CN105260234A publication Critical patent/CN105260234A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an independent task list based process dynamic execution optimization method. The method comprises the following steps: (1) establishing a process model oriented for execution optimization; 2) solving a task distribution rate based on global optimization; and 3) adopting an independent task list based process execution optimization system structure. According to the method, different efficiencies of resource processing activities in a many-to-many resource and activity support relationship are considered, so that global task distribution optimization can be performed according to a certain goal; and a mixed distribution policy combining a task optimization distribution rate with an idle resource priority, and a re-distribution policy are adopted, so that the situation that one idle resource occurs in process execution and processable tasks exist in an independent task list before other resources due to only adoption of an independent task list mode is eliminated, the resource utilization rate is effectively increased, and the process execution efficiency is further improved.

Description

Process dynamics based on independent task list performs optimization method
Technical field
The present invention relates to computer technology, infotech and systems engineering field, in particular, relate to a kind of process scheduling/execution optimization method.
Background technology
The ordered set (such as customer order processing procedure, parts process of manufacture etc.) of process to be enterprise be a series of activities relevant in logic that a certain target carries out.Movable execution needs the support of resource, and resource can be any entity as personnel, physical equipment, file, application system/program etc.In order to quick customer in response demand; adapt to dynamically changeable market environment; the agility of raising process, robustness; usually can require the degree of specialization of reduction resource, (employee grasps multiple technical ability as required to improve the flexibility degree of process; various rolls can be born; machining center can process polytype part or multiple working procedure etc.), cause the support relation that there is a large amount of multi-to-multis during the course between activity and resource.Therefore all there is the scheduling/execution optimization problem of process in enterprise in the way to manage centered by process, and namely enterprise needs rationally to determine the movable problem being performed by which kind of resource and when performed in the execution of process.Scheduling/execution optimum theory method has had extensive research in the application in the fields such as Job Shop Scheduling, project management and grid computing, and therefore process scheduling/execution optimization has many theoretical methods that can use for reference.But due to the many Stochastic sum uncertain factors in the complicacy (as also exist selection and loop structure) of enterprise process structure and implementation thereof, (arrival as task instances is that continuous print is random, the movable execution time is also random etc.) scheduling/execution optimum theory method of making these traditional generally directly can not be effectively applied to the execution of enterprise process, current heuristic mutation operations/execution the optimization method usually adopted in process performs based on shared queue, such as: identical for active instance (task) type is placed in a shared queue, when there being resource space idle, by FIFO (prerequisite variable), SPT (shortest processing time first), EDD (expiration time is preferential the earliest), MST (minimum slack time is preferential), LNS (maximum succeeding activity quantity is preferential), the priority of the heuristic rules such as LFJ (minimum flexible priority of task) or predefined gives task matching the resource of qualified/ability execution.When there is the manageable task of certain resource, the method for shared queue does not normally allow this resource free time, to belong to non-delayed scheduling.Great majority have the advantages such as algorithm is simple and quick, applied widely based on the resource distribution/method for scheduling task of heuristic rule/priority, but what it was more paid close attention to is local optimum, do not consider the efficiency of resource process different task and the task matching optimization of the overall situation.
Summary of the invention
Object of the present invention is just to overcome the shortcoming that the heuristic process scheduling/execution optimization method based on shared queue exists, and provides a kind of execution optimization method that can be used in business procedure/workflow under resource and movable multi-to-multi support relation adopting independent task list mode and rescheduling strategy to combine.
The present invention is achieved through the following technical solutions above-mentioned purpose: a kind of process dynamics based on independent task list performs optimization method, comprises the steps:
The first step: optimize process of establishing model towards execution.The processing speed of the activity involved at least needing description process to perform of this process model, resource, the logic control relation between activity and activity, the support relation between activity and resource and resource process active instance (task);
Second step: solve task matching rate based on global optimization.Set up the task matching Optimum analyses model based on the overall situation according to the process model set up and different optimization aim, then adopt corresponding majorized function in MATLAB Optimization Toolbox to solve, obtain the task matching rate based on global optimization;
3rd step: adopt the process based on independent task list to perform optimization system structure.
Process based on independent task list performs optimization system structure and comprises: task matching and task choosing.The function of task matching is: how to give corresponding resource task matching when active instance (task) produces, namely task is put in the task list of corresponding resource and goes; The function of task choosing is: when how resource space idle selects an active instance (task) to process from independent task list.Task matching is associated by independent task list in process performs with task choosing, simultaneously operation, co-ordination.
Described method for allocating tasks is described below:
(1) if the partition coefficient resource that is greater than 0 (having right of distribution) is all busy, and partition coefficient be 0 (ex distribution) but have the resource of disposal right available free, so give ex distribution according to the fast priority principle of processing speed task matching, have disposal right, idle, that processing speed is the fastest resource.
(2) if having the idling-resource of right of distribution, the partition coefficient size so according to them between the idling-resource that these have right of distribution recalculates partition coefficient, then presses probability Random assignment according to new partition coefficient.
(3) if all have the resource of disposal right all busy, be so randomly assigned to by probability the resource that has right of distribution according to partition coefficient.
Described task choosing method is described below:
(1) judge that whether the task list of oneself is empty, if then do not forwarded to (2) for sky; If be sky, forward to (3);
(2) from the task list of oneself, a tasks carrying is selected according to heuristic rule (as: SPT, EDD, MST etc.);
(3) judge in other task list, whether there is its accessible task, as then do not forwarded to (4), if any then forwarding to (5);
(4) resource is waited for, until the task list of oneself is not empty, forwards to (2);
(5) from exist, select an accessible tasks carrying according to heuristic rule (as SPT, EDD, MST etc.) other task list that load is maximum.
Beneficial effect of the present invention is: relative to traditional formal style based on shared queue process scheduling/execution optimization method, consider the resource of multi-to-multi and the different efficiency of resource process activity under Activity supporting relation, can set the goal according to one and carry out the task matching optimization of the overall situation; Relative to the existing process implementation strategy based on independent task list, have employed by task optimization partition coefficient in conjunction with the idle preferential mixed allocation strategy of resource and code reassignment strategy, considering under the prerequisite that the task optimization of the overall situation distributes, overcome that simple to adopt independent task list in process performs, there will be a certain resource idle and there is the situation of its manageable task in independent task list before other resource, effectively improve the utilization factor of resource, thus further development execution efficiency.
Accompanying drawing explanation
Fig. 1 be one from the abstract process model building-block of logic out of actual manufacturing enterprise business procedure.
Fig. 2 is the process execution optimization system structure based on independent task list.
Fig. 3 is task matching based on independent task list and task choosing algorithm.
Embodiment
Below in conjunction with certain manufacture process, the invention will be further described:
The first step: optimize process of establishing model towards execution
One comprises from the abstract process model out of actual manufacturing enterprise business procedure:
Movable: A={a1, a2, a3, a4, a5, a6, a7, a8};
Resource: R={r1, r2, r3, r4};
Logic control relation between activity and activity as shown in Figure 1;
Resource and movable support relation:
U = < a 1 , r 1 > , < a 1 , r 2 > , < a 1 , r 4 > , < a 2 , r 3 > , < a 2 , r 4 > , < a 3 , r 1 > , < a 3 , r 3 > , < a 4 , r 2 > , < a 4 , r 4 > , < a 5 , r 2 > , < a 5 , r 3 > , < a 6 , r 1 > , < a 6 , r 4 > , < a 7 , r 1 > , < a 7 , r 2 > , < a 7 , r 3 > , < a 8 , r 2 > , < a 8 , r 3 > , < a 8 , r 4 >
The processing speed of resource process active instance (task):
μ a1,r1=14,μ a1,r2=8,μ a1,r4=8,μ a2,r3=6,μ a2,r4=14,μ a3,r1=8,μ a3,r3=5,μ a4,r2=12,μ a4,r4=6,μ a5,r2=8,μ a5,r3=12,μ a6,r1=10,μ a6,r4=18,μ a7,r1=12,μ a7,r2=4,μ a7,r3=8,μ a8,r2=2,μ a8,r3=4,μ a8,r4=3。
Second step: solve task matching rate based on global optimization
Hypothetical target is the productive capacity of maximization procedure , so according to the process model set up, the mathematical model of its task matching optimization is:
Objective function:
Constraint condition: &Sigma; r &Element; R a &xi; a , r = 1 , &ForAll; a &Element; A
0 &le; &xi; a , r &le; 1 , &ForAll; < a , r > &Element; U
Wherein:
ξ a,rfor the task optimization partition coefficient required, namely distribute to the original probability of resource r when the active instance (task) of a produces.
A r={a|〈a,r〉∈U},R a={r|〈a,r〉∈U}
When process performs one time, movable a expects that the number of times performed is calculated as follows: f a1=1, f a2=1, f a3=0.4, f a4=0.6, f a5=1, f a7=1.25, f a8=1.
The mathematical model of above task matching optimization is a nonlinear optimal problem, and the fmaxmin () function of available MATLAB Optimization Toolbox solves.
3rd step: adopt the process based on independent task list to perform optimization system structure
Process based on independent task list performs optimization system structure as shown in Figure 2, and it comprises: task matching and task choosing.The function of task matching is: how to give corresponding resource task matching when active instance (task) produces, namely task is put in the independent task list of corresponding resource and goes; The function of task choosing is: when how resource space idle selects an active instance (task) to process from independent task list.Task matching is associated by independent task list in process performs with task choosing, simultaneously operation, collaborative work, as shown in Figure 3.Described in Fig. 3 " the free time, recalculate partition coefficient according to their partition coefficient size between the resource that has right of distribution " computing method as follows: if for the example (task) of certain movable a, current idle, the resource that has right of distribution is respectively the corresponding allocation rate obtained by second step is respectively partition coefficient after so recalculating is respectively: " IWL " expression " independent task list " described in Fig. 3, " PT " expression " accessible task ".
Above-described embodiment is preferred embodiment of the present invention; it is not the restriction to technical solution of the present invention; as long as without the technical scheme that creative work can realize on the basis of above-described embodiment, all should be considered as falling within the scope of the rights protection of patent of the present invention.

Claims (1)

1. the process dynamics based on independent task list performs optimization method, it is characterized in that: comprise the steps:
The first step: optimize process of establishing model towards execution; The processing speed of the activity involved at least needing description process to perform of this process model, resource, the logic control relation between activity and activity, the support relation between activity and resource and resource process active instance (task);
Second step: solve task matching rate based on global optimization; Set up the task matching Optimum analyses model based on the overall situation according to the process model set up and different optimization aim, then adopt corresponding majorized function in MATLAB Optimization Toolbox to solve, obtain the task matching rate based on global optimization;
3rd step: adopt the process based on independent task list to perform optimization system structure
Process based on independent task list performs optimization system structure and comprises: task matching and task choosing.The function of task matching is: how to give corresponding resource task matching when active instance (task) produces, task is put in the task list of corresponding resource and goes; The function of task choosing is: when how resource space idle selects an active instance (task) to process from independent task list.Task matching is associated by independent task list in process performs with task choosing, simultaneously operation, co-ordination;
Described method for allocating tasks is described below:
(1) if the partition coefficient resource that is greater than 0 (having right of distribution) is all busy, and partition coefficient be 0 (ex distribution) but have the resource of disposal right available free, so give ex distribution according to the fast priority principle of processing speed task matching, have disposal right, idle, that processing speed is the fastest resource;
(2) if having the idling-resource of right of distribution, the partition coefficient size so according to them between the idling-resource that these have right of distribution recalculates partition coefficient, then presses probability Random assignment according to new partition coefficient;
(3) if all have the resource of disposal right all busy, be so randomly assigned to by probability the resource that has right of distribution according to partition coefficient;
Described task choosing method is described below:
(1) judge that whether the task list of oneself is empty, if then do not forwarded to (2) for sky; If be sky, forward to (3);
(2) from the task list of oneself, a tasks carrying is selected according to heuristic rule (as: shortest processing time first, the earliest expiration time priority scheduling preferential, minimum slack time);
(3) judge in other task list, whether there is its accessible task, as then do not forwarded to (4), if any then forwarding to (5);
(4) resource is waited for, until the task list of oneself is not empty, forwards to (2);
(5) from exist, select an accessible tasks carrying according to heuristic rule (as preferential in shortest processing time first, the earliest expiration time, minimum slack time priority scheduling) other task list that load is maximum.
CN201510608727.2A 2015-09-22 2015-09-22 Independent task list based process dynamic execution optimization method Pending CN105260234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510608727.2A CN105260234A (en) 2015-09-22 2015-09-22 Independent task list based process dynamic execution optimization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510608727.2A CN105260234A (en) 2015-09-22 2015-09-22 Independent task list based process dynamic execution optimization method

Publications (1)

Publication Number Publication Date
CN105260234A true CN105260234A (en) 2016-01-20

Family

ID=55099937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510608727.2A Pending CN105260234A (en) 2015-09-22 2015-09-22 Independent task list based process dynamic execution optimization method

Country Status (1)

Country Link
CN (1) CN105260234A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150213A (en) * 2011-12-06 2013-06-12 北大方正集团有限公司 Method and device for balancing load
CN103995743A (en) * 2014-05-21 2014-08-20 中国人民解放军国防科学技术大学 Two-stage mixed task scheduling method based on resource reservation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150213A (en) * 2011-12-06 2013-06-12 北大方正集团有限公司 Method and device for balancing load
CN103995743A (en) * 2014-05-21 2014-08-20 中国人民解放军国防科学技术大学 Two-stage mixed task scheduling method based on resource reservation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢毅: "基于独立队列的业务过程调度优化关键技术研究", 《万方中国学位论文全文数据库》 *

Similar Documents

Publication Publication Date Title
CN104580396B (en) A kind of method for scheduling task, node and system
Izakian et al. Comparison of heuristics for scheduling independent tasks on heterogeneous distributed environments
CN103309738B (en) User job dispatching method and device
Lu et al. Join-idle-queue: A novel load balancing algorithm for dynamically scalable web services
Daniels et al. Scheduling parallel manufacturing cells with resource flexibility
CN102567086B (en) Task scheduling method, equipment and system
CN102387173B (en) MapReduce system and method and device for scheduling tasks thereof
CN109582448A (en) A kind of edge calculations method for scheduling task towards criticality and timeliness
EP2269136B1 (en) Method, system and computer program for workload scheduling
CN102096599A (en) Multi-queue task scheduling method and related system and equipment
da Rosa Righi et al. A lightweight plug-and-play elasticity service for self-organizing resource provisioning on parallel applications
Hu et al. Distributed computer system resources control mechanism based on network-centric approach
Anselmi Combining size-based load balancing with round-robin for scalable low latency
Biswas et al. Multi-level queue for task scheduling in heterogeneous distributed computing system
CN108958942A (en) A kind of distributed system distribution multitask method, scheduler and computer equipment
Stavrinides et al. Security and cost aware scheduling of real-time IoT workflows in a mist computing environment
Pedarsani et al. Scheduling tasks with precedence constraints on multiple servers
Anjum et al. Dynamic scheduling and analysis of real time systems with multiprocessors
CN107844924A (en) A kind of execution method, apparatus and medium for controlling workflow
Teng et al. MUS: a novel deadline-constrained scheduling algorithm for Hadoop
Murugesan et al. An economic-based resource management and scheduling for grid computing applications
CN105260234A (en) Independent task list based process dynamic execution optimization method
Goswami et al. Deadline stringency based job scheduling in computational grid environment
Chandak et al. An overview of task scheduling and performance metrics in grid computing
CN104834571B (en) A kind of data prefetching method applied to cloud workflow schedule

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160120