CN113434267B - Cloud computing workflow dynamic scheduling method, device, equipment and storage medium - Google Patents

Cloud computing workflow dynamic scheduling method, device, equipment and storage medium Download PDF

Info

Publication number
CN113434267B
CN113434267B CN202110569976.0A CN202110569976A CN113434267B CN 113434267 B CN113434267 B CN 113434267B CN 202110569976 A CN202110569976 A CN 202110569976A CN 113434267 B CN113434267 B CN 113434267B
Authority
CN
China
Prior art keywords
population
cloud computing
preset
objective function
archive
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
CN202110569976.0A
Other languages
Chinese (zh)
Other versions
CN113434267A (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.)
Shenzhen University
Original Assignee
Shenzhen 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 Shenzhen University filed Critical Shenzhen University
Priority to CN202110569976.0A priority Critical patent/CN113434267B/en
Publication of CN113434267A publication Critical patent/CN113434267A/en
Application granted granted Critical
Publication of CN113434267B publication Critical patent/CN113434267B/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
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/485Resource constraint

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is applicable to the technical field of computers, and provides a method, a device, equipment and a storage medium for dynamically scheduling a cloud computing workflow, wherein the method comprises the following steps: the method comprises the steps of constructing a multi-objective function of a workflow scheduling optimization target of cloud computing according to a received multi-task processing request, obtaining available resource data of the cloud computing and a constraint condition of task processing preset in the cloud computing, obtaining an optimal solution set of the multi-objective function through a dynamic multi-objective evolutionary algorithm of self-adaptive change response according to the available resource data, the constraint condition and the multi-objective function, setting the optimal solution set as an execution sequence of multiple tasks, and accordingly improving the workflow dynamic scheduling efficiency of the cloud computing.

Description

Cloud computing workflow dynamic scheduling method, device, equipment and storage medium
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method, a device, equipment and a storage medium for dynamically scheduling a cloud computing workflow.
Background
Cloud computing is a large-scale heterogeneous and distributed computing infrastructure oriented to the scientific and commercial communities that provides high-quality and low-cost services with minimal hardware investment. Infrastructure as a service (IaaS), platform as a service (PaaS), and software as a service (SaaS) provide services through cloud computing, and users can access resources deployed on the cloud through IaaS, paaS, and SaaS.
Workflow is a common technique for building large-scale computing and data-intensive applications from different research areas, application workflows are modeled using directed acyclic graphs, where the nodes of the graph are tasks interconnected by computing or data resources, and the workflow scheduling problem in cloud computing aims at mapping the tasks of a given application onto available resources. In the debugging of workflow schedules, the dynamic concept of workflow schedules includes two aspects, the first being the occurrence of new task requests over time, or transient resource failures, where resources may dynamically join or leave the cloud, which may be caused by various events, such as software failures (errors, overflows, etc.) or hardware failures (electrical power irregularities, hard disk failures, etc.). Another aspect is changing the number of targets during execution of the workflow, a real-world scenario faced by cloud computing, where the number of targets may change over time. For example, the completion time of a workflow may not be considered before submitting the workflow with a shorter deadline for execution. The dynamics of workflow scheduling can affect the selection of the optimal workflow plan solution in different periods, and the existing workflow scheduling method has poor efficiency due to the fact that the dynamics in the workflow scheduling process cannot be effectively considered.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a storage medium for dynamically scheduling a cloud computing workflow, and aims to solve the problem of poor efficiency of the existing cloud computing workflow.
In one aspect, the present invention provides a method for dynamically scheduling a cloud computing workflow, where the method includes:
constructing a multi-objective function of a workflow scheduling optimization target of cloud computing according to the received multi-task processing request;
acquiring available resource data of the cloud computing and constraint conditions of task processing preset in the cloud computing;
and acquiring an optimal solution set of the multi-objective function through a dynamic multi-objective evolutionary algorithm of self-adaptive change response according to the available resource data, the constraint conditions and the multi-objective function, and setting the optimal solution set as a multi-task execution sequence.
In another aspect, the present invention provides a cloud computing workflow dynamic scheduling apparatus, including:
the function construction unit is used for constructing a multi-objective function of a workflow scheduling optimization target of cloud computing according to the received multi-task processing request;
the constraint obtaining unit is used for obtaining available resource data of the cloud computing and constraint conditions of task processing preset in the cloud computing; and
and the execution setting unit is used for acquiring an optimal solution set of the multi-objective function through a dynamic multi-objective evolutionary algorithm of self-adaptive change response according to the available resource data, the constraint condition and the multi-objective function, and setting the optimal solution set as a multi-task execution sequence.
In another aspect, the present invention also provides a computing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method as described above when executing the computer program.
In another aspect, the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method as described above.
According to the method, the multi-objective function of the workflow scheduling optimization target of the cloud computing is constructed according to the received multi-task processing request, the available resource data of the cloud computing and the constraint condition of task processing preset in the cloud computing are obtained, the optimal solution set of the multi-objective function is obtained through the dynamic multi-objective evolutionary algorithm of the adaptive change response according to the available resource data, the constraint condition and the multi-objective function, the optimal solution set is set to the execution sequence of the multi-tasks, the multi-tasks are scheduled through the dynamic multi-objective evolutionary algorithm of the adaptive change response, and the dynamic scheduling efficiency of the workflow of the cloud computing is improved.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a method for dynamically scheduling cloud computing workflows according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an implementation of a cloud computing workflow dynamic scheduling method according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of obtaining an optimal solution set of a multi-objective function in a cloud computing workflow dynamic scheduling method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a cloud computing workflow dynamic scheduling apparatus according to a third embodiment of the present invention; and
fig. 5 is a schematic structural diagram of a computing device according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
the first embodiment is as follows:
fig. 1 shows an implementation flow of a cloud computing workflow dynamic scheduling method according to a first embodiment of the present invention, and for convenience of description, only parts related to the embodiment of the present invention are shown, which are detailed as follows:
in step S101, according to the received multitask processing request, a multi-objective function of a workflow scheduling optimization objective of cloud computing is constructed;
the embodiment of the invention is suitable for cloud computing, and is used for scheduling and processing multiple tasks on the cloud computing, so that the efficient processing of the multiple tasks of the cloud computing is realized. These tasks may be, by way of example, gravity wave analysis in physics, financial data analysis, weather forecasting in meteorology, and storm surge prediction. These all can rationally arrange task scheduling flow in cloud computing to make efficient use of cloud computing resources.
Specifically, the multitasking request received by the cloud computing can include a plurality of optimization objectives, and the optimization objectives can be to minimize computing time, cost, energy and unbalance degree and to maximize reliability and utilization rate.
In a preferred embodiment, the multi-objective function of the workflow scheduling optimization objective is
Figure BDA0003082289700000041
Wherein m represents the number of the workflow scheduling optimization targets, the value of m is 2, omega represents the available resource data set of cloud computing, f 1 (x) Representing the time at which the cloud computing processes all tasks, f 2 (x) The method has the advantages that the computing cost of completing all tasks by cloud computing is shown, x is a decision variable, and the decision variable is determined by the task parameter of each task, the available resource data of the cloud computing and the task execution sequence, so that the reliability and the utilization rate of the cloud computing are improved.
In step S102, available resource data of cloud computing and a constraint condition of task processing preset in the cloud computing are acquired;
in the embodiment of the present invention, the available resource data of the cloud computing includes the number of available CPUs of the cloud computing, an available storage space, an available time period of available resources, and the like, and the constraint conditions of task processing preset in the cloud computing are used to define or constrain each processing task when an optimization goal of minimizing time and cost is achieved. For example, the number of resources available, priority constraints between tasks, a task can only be scheduled to one cloud resource, a task cannot be interrupted once started, etc.
In step S103, an optimal solution set of the multi-objective functions is obtained through a dynamic multi-objective evolutionary algorithm of adaptive change response according to the available resource data, the constraint conditions, and the multi-objective functions, and the optimal solution set is set as an execution sequence of the multiple tasks.
In the embodiment of the invention, the optimal solution set is a set of optimal solutions of the multi-objective function, wherein the solutions are feasible schemes for task scheduling in cloud computing, for example, the execution sequence of the multiple tasks can enable the cloud computing to use the least resources and the least time cost, and process all tasks with the highest efficiency as possible, so that a user can select one scheme better conforming to the actual situation to realize the scheduling processing of the multiple tasks according to the actual situation.
According to the embodiment of the invention, a multi-objective function of a workflow scheduling optimization target of cloud computing is constructed according to a received multi-task processing request, available resource data of the cloud computing and a constraint condition of task processing preset in the cloud computing are obtained, an optimal solution set of the multi-objective function is obtained through a dynamic multi-objective evolutionary algorithm of adaptive change response according to the available resource data, the constraint condition and the multi-objective function, the optimal solution set is set to an execution sequence of multi-tasks, so that the multi-tasks are scheduled through the dynamic multi-objective evolutionary algorithm of adaptive change response, and the dynamic scheduling efficiency of the workflow of the cloud computing is improved.
Example two:
fig. 2 shows an implementation process of obtaining an optimal solution set of a multi-objective function in a cloud computing workflow dynamic scheduling method provided by the second embodiment of the present invention, and for convenience of description, only parts related to the second embodiment of the present invention are shown, and details are as follows:
in step S201, an initial population of the multi-objective function is randomly generated according to the available resource data and the constraint conditions, and the length of each individual in the initial population is determined according to the number of tasks;
when the optimal solution set of the multi-objective function is obtained, an initial population of the multi-objective function is randomly generated according to available resource data and constraint conditions, the length of each individual in the initial population is determined according to the number of tasks, for example, when the number of the tasks is 2, the relative execution sequence of the tasks is stored in the first dimension of the population, and the mapping from the tasks to the resources is stored in the second dimension.
In step S202, non-dominant individuals in the initial population are screened according to the Pareto dominant relationship, and the non-dominant individuals are stored in a preset archive;
in the embodiment of the invention, the evolution direction of the population indicates the search direction and the search step length, and the preset archive is used for storing individuals with better convergence and diversity in the process of acquiring the optimal solution set of the multi-target function, so that the convergence and diversity of the solution in the optimal solution set are ensured.
In step S203, detecting whether the environment of the cloud computing is changed, if so, executing step S204, otherwise, executing step S205;
in step S204, when the cloud computing environment changes, updating the population and the preset archive by using a corresponding change response policy according to a difference between corresponding individual decision variables in the optimal population of the multi-objective function at the current time and the previous time;
in the embodiment of the invention, when the environment of cloud computing changes, that is, the cloud computing receives a new task processing request, the population and the preset archive are updated by using the corresponding change response strategy according to the difference between the corresponding individual decision variables in the optimal population of the multi-objective function at the current moment and the previous moment.
In a preferred embodiment, the current time is based onAnd when the difference between the corresponding individual decision variables in the optimal population of the multi-target function at the previous moment is updated by using the corresponding change strategy, if the difference value between one individual decision variable in the optimal population of the multi-target function at the current moment and the previous moment is smaller than the dimension decision variable difference average value, performing variation operation on the individuals in the population, updating the preset archive, and if the difference value between one individual decision variable in the optimal population of the multi-target function at the current moment and the previous moment is larger than the dimension decision variable difference average value, using a formula
Figure BDA0003082289700000061
Reinitializing individuals in the population and updating a preset archive, wherein p i , j A decision variable in dimension j representing an ith individual in the population at a previous time,
Figure BDA0003082289700000062
a j-dimensional decision variable, ac, representing the i-th individual in the reinitialized population j And
Figure BDA0003082289700000063
presetting the j-th dimension decision variable value, d, of the archiving center for archiving respectively at the current moment and the previous moment p_aci,j And
Figure BDA0003082289700000064
respectively p on the j-th decision variable i And
Figure BDA0003082289700000065
to respective corresponding archiving centres ac and ac l Gaussian is a gaussian interference function. Therefore, the variation strategy or the prediction strategy is selected in a self-adaptive mode based on the difference of the individual decision variables in each population, on one hand, the pertinence of change response can be improved, on the other hand, the balance of convergence and diversity can be promoted, and therefore the stability and the reliability of the subsequently obtained workflow dynamic scheduling scheme are improved.
In addition, ac j Is calculated by the formula
Figure BDA0003082289700000066
Wherein | A | is the archive size, since the optimal population P is at time t t And the optimal population P at time t-1 t-1 The variation trend of the non-dominant individual set is favorable for predicting the distribution position of the population optimal solution set after the environment changes, and the most representative individual in the archive storing the non-dominant individuals is the archive center ac, so that when the environment changes, the archive center ac and ac are based on the time t and the time t-1 l The method is favorable for the reinitialized population to approach to a Pareto optimal solution set (PS) in a new environment, so that the convergence of the population is improved, the prediction quality is improved, and the efficiency of cloud computing for processing all tasks is finally improved.
By way of example, fig. 3 shows that j-th dimension decision variables of two different individuals are adaptively changed and responded by a mutation strategy and a prediction strategy. Let x j And
Figure BDA0003082289700000071
respectively as the optimal population P at the time t t And the optimal population P at time t-1 t-1 Value distribution, p, of decision variables in the j-th dimension i , j And p k , j Are respectively P t The value of the ith and the kth individual jth dimension decision variables,
Figure BDA0003082289700000072
and with
Figure BDA0003082289700000073
Are respectively P t-1 And (5) taking values of decision variables of the ith dimension and the kth dimension of the individual. As can be seen from the figure, p k,j And
Figure BDA0003082289700000074
is less than x j And
Figure BDA0003082289700000075
all areAbsolute value of the difference, so that a variation strategy is adopted to generate a corresponding reinitialization value
Figure BDA0003082289700000076
And p is i,j And
Figure BDA0003082289700000077
is greater than x j And with
Figure BDA0003082289700000078
So that a prediction strategy is adopted to generate a corresponding reinitialization value
Figure BDA0003082289700000079
In step S205, the population and the preset archive are evolved;
in the embodiment of the present invention, after the population and the preset archive are updated by using the corresponding change response policy, the population and the preset archive may be evolved, for example, using a static optimization framework to generate offspring, and then obtaining a next generation population through environment selection, specifically, using a preset static multi-objective evolution algorithm to evolve the population and the individuals in the preset archive. Of course, since the population and the preset archive are already updated by using the corresponding change response policy, the step S206 may be directly performed without further evolving the population and the preset archive. When step S203 detects that the environment of the cloud computing is not changed, the population and the preset archive are directly evolved, for example, offspring are generated by using a static optimization framework, and then a next generation population is obtained through environment selection.
In step S206, it is determined whether the current iteration generation is smaller than a preset maximum iteration generation, if so, step S207 is executed, otherwise, step S208 is executed;
in step S207, if yes, updating the individuals in the population and the preset archive, adding 1 to the current iteration algebra, and skipping to the step of detecting whether the environment of cloud computing changes;
in step S208, otherwise, the individuals in the preset archive are determined to be the optimal solution set of the multi-objective function.
In the embodiment of the invention, when the optimal solution set of the multi-target function is obtained, the population and the preset archive are updated by adaptively using the variation and predicted variation response strategy, so that the optimal population with better balance of convergence and diversity is obtained, and the stability and the effectiveness of the multi-task scheduling processing scheme of cloud computing are ensured.
Example three:
fig. 4 shows a structure of a cloud computing workflow dynamic scheduling apparatus according to a third embodiment of the present invention, and for convenience of description, only parts related to the third embodiment of the present invention are shown, where the parts include:
a function constructing unit 41, configured to construct a multi-objective function of a workflow scheduling optimization target of cloud computing according to the received multi-task processing request;
a constraint obtaining unit 42, configured to obtain available resource data of the cloud computing and a constraint condition of task processing preset in the cloud computing; and
and the execution setting unit 43 is configured to obtain an optimal solution set of the multi-objective functions through a dynamic multi-objective evolutionary algorithm of adaptive change response according to the available resource data, the constraint conditions and the multi-objective functions, and set the optimal solution set as an execution sequence of multiple tasks.
In a preferred embodiment, the execution setting unit 43 includes:
the population generating unit is used for randomly generating an initial population of the multi-objective function according to the available resource data and the constraint conditions, and the length of each individual in the initial population is determined according to the number of tasks;
the archive acquisition unit is used for screening the non-dominant individuals in the initial population according to the Pareto dominant relationship and storing the non-dominant individuals into a preset archive;
the population updating unit is used for detecting whether the environment of cloud computing changes or not, and if yes, updating the population and the preset archive by using a corresponding change response strategy according to the difference between corresponding individual decision variables in the optimal population of the multi-target function at the current moment and the previous moment; and
and the solution set determining unit is used for judging whether the current iteration algebra is smaller than a preset maximum iteration algebra or not, if so, updating the individuals in the population and a preset archive, adding 1 to the current iteration algebra, and jumping to the step of detecting whether the environment of cloud computing changes or not, otherwise, determining the individuals in the preset archive as the optimal solution set of the multi-objective function.
In this embodiment of the present invention, each unit of the cloud computing workflow dynamic scheduling apparatus may be implemented by a corresponding hardware or software unit, and each unit may be an independent software or hardware unit, or may be integrated into a software or hardware unit, which is not limited to this disclosure, and specific embodiments of each unit may refer to the description of the foregoing method embodiment, and are not described herein again.
Example four:
fig. 5 shows a structure of a computing device according to a fourth embodiment of the present invention, and for convenience of explanation, only a part related to the embodiment of the present invention is shown.
The computing device 5 of an embodiment of the invention comprises a processor 50, a memory 51 and a computer program 52 stored in the memory 51 and executable on the processor 50. The processor 50, when executing the computer program 52, implements the steps in the various method embodiments described above, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functionality of the various units in the above-described apparatus embodiments, such as the functionality of the units 41 to 43 shown in fig. 4.
The computing device of embodiments of the present invention may be a server. The steps implemented when the processor 50 in the computing device 5 executes the computer program 52 to implement the method described above can refer to the description of the foregoing method embodiments, and are not described herein again.
Example five:
in an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps in the above-described method embodiment, for example, steps S101 to S103 shown in fig. 1. Alternatively, the computer program realizes the functions of the units in the above-described apparatus embodiments, such as the functions of the units 41 to 43 shown in fig. 4, when executed by the processor.
According to the embodiment of the invention, a multi-objective function of a workflow scheduling optimization target of cloud computing is constructed according to a received multi-task processing request, available resource data of the cloud computing and a constraint condition of task processing preset in the cloud computing are obtained, an optimal solution set of the multi-objective function is obtained through a dynamic multi-objective evolutionary algorithm of adaptive change response according to the available resource data, the constraint condition and the multi-objective function, the optimal solution set is set to an execution sequence of multi-tasks, so that the multi-tasks are scheduled through the dynamic multi-objective evolutionary algorithm of adaptive change response, and the dynamic scheduling efficiency of the workflow of the cloud computing is improved.
The computer readable storage medium of the embodiments of the present invention may include any entity or device capable of carrying computer program code, a recording medium, for example, a ROM/RAM, a magnetic disk, an optical disk, a flash memory, or the like.
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 and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. A method for dynamically scheduling a cloud computing workflow, the method comprising:
constructing a multi-objective function of a workflow scheduling optimization target of cloud computing according to the received multi-task processing request;
acquiring available resource data of the cloud computing and constraint conditions of task processing preset in the cloud computing;
acquiring an optimal solution set of the multi-objective function through a dynamic multi-objective evolutionary algorithm of self-adaptive change response according to the available resource data, the constraint conditions and the multi-objective function, and setting the optimal solution set as a multi-task execution sequence;
the step of obtaining the optimal solution set of the multi-objective function through a dynamic multi-objective evolutionary algorithm of self-adaptive change response comprises the following steps:
randomly generating an initial population of the multi-objective function according to the available resource data and the constraint conditions, wherein the length of each individual in the initial population is determined according to the number of tasks;
screening non-dominant individuals in the initial population according to a Pareto dominant relationship, and storing the non-dominant individuals into a preset archive;
detecting whether the environment of the cloud computing is changed, if so, updating the population and the preset archive files by using corresponding change response strategies according to the difference between corresponding individual decision variables in the optimal population of the multi-objective function at the current moment and the previous moment;
judging whether the current iteration algebra is smaller than a preset maximum iteration algebra, if so, updating the individuals in the population and the preset archive, adding 1 to the current iteration algebra, and skipping to the step of detecting whether the environment of the cloud computing is changed, otherwise, determining the individuals in the preset archive as an optimal solution set of the multi-target function;
according to the difference between the decision variables of corresponding individuals in the optimal population of the multi-objective function at the current moment and the decision variables of corresponding individuals in the optimal population at the previous moment, the step of updating the population and the preset archive by using a corresponding change response strategy comprises the following steps:
if the difference value between the same one-dimensional bodies in the optimal population of the multi-target function at the current moment and the previous moment is larger than the decision variable difference average value of the dimension, a formula is used
Figure FDA0003863354910000021
Reinitializing individuals in the population and updating the preset archive, wherein p i,j A decision variable in dimension j representing an ith individual in the population at a previous time,
Figure FDA0003863354910000022
a j-dimension decision variable, ac, representing the i-th individual in the population after re-initialization j And
Figure FDA0003863354910000023
respectively representing the values of the j-th dimension decision variable of the preset archiving center at the current moment and the previous moment,
Figure FDA0003863354910000024
and
Figure FDA0003863354910000025
respectively p on the j-th decision variable i And
Figure FDA0003863354910000026
to respective corresponding archiving centres ac and ac l The gaussian is a gaussian interference function;
and if the difference value between the decision variables of the same dimension in the optimal population of the multi-target function at the current moment and the previous moment is smaller than the average value of the difference of the decision variables of the dimension, carrying out variation operation on the individuals in the population, and updating the preset archive.
2. The method of claim 1, wherein the multi-objective function is
Figure FDA0003863354910000027
Wherein m represents the number of the workflow scheduling optimization targets, the value of m is 2, Ω represents the available resource data set of the cloud computing, f 1 (x) Representing the time at which the cloud computing processes all tasks, f 2 (x) The method comprises the steps of representing the computing cost of completing all tasks by cloud computing, and x represents a decision variable, wherein the decision variable is determined by task parameters of each task, available resource data of the cloud computing and a task execution sequence.
3. The method of claim 1, wherein after the step of updating the population and the preset archive using the corresponding change response policy, and before the step of determining whether the current iteration generation is less than a preset maximum iteration generation, the method further comprises:
and evolving the population and the preset archive.
4. The method of claim 1, wherein the optimal solution set of multi-objective functions is obtained by a dynamic multi-objective evolutionary algorithm with adaptive change response, further comprising:
and when detecting that the environment of the cloud computing is not changed, evolving the population and the preset archive.
5. An apparatus for dynamically scheduling cloud computing workflows, the apparatus comprising:
the function construction unit is used for constructing a multi-objective function of a workflow scheduling optimization target of cloud computing according to the received multi-task processing request;
the constraint obtaining unit is used for obtaining available resource data of the cloud computing and constraint conditions of task processing preset in the cloud computing; and
the execution setting unit is used for acquiring an optimal solution set of the multi-target function through a dynamic multi-target evolutionary algorithm of self-adaptive change response according to the available resource data, the constraint conditions and the multi-target function, and setting the optimal solution set as a multi-task execution sequence;
the execution setting unit includes:
a population generating unit, configured to randomly generate an initial population of the multi-objective function according to the available resource data and the constraint condition, where a length of each individual in the initial population is determined according to a task number;
the archive acquisition unit is used for screening the non-dominant individuals in the initial population according to the Pareto dominant relationship and storing the non-dominant individuals into a preset archive;
a population updating unit, configured to detect whether an environment of the cloud computing changes, and if so, update the population and the preset archive by using a corresponding change response policy according to a difference between corresponding individual decision variables in the optimal population of the multi-target function at a current time and a previous time; and
a solution set determining unit, configured to determine whether a current iteration algebra is smaller than a preset maximum iteration algebra, if yes, update the individuals in the population and the preset archive, add 1 to the current iteration algebra, and jump to a step of detecting whether the cloud computing environment changes, otherwise, determine that the individuals in the preset archive are an optimal solution set of the multi-objective function;
when the population updating unit updates the population and the preset archive by using a corresponding change response strategy according to the difference between corresponding individual decision variables in the optimal population of the multi-objective function at the current time and the previous time, the population updating unit comprises:
if the difference value between the same one-dimensional bodies in the optimal population of the multi-target function at the current moment and the previous moment is larger than the decision variable difference average value of the dimension, a formula is used
Figure FDA0003863354910000031
Reinitializing individuals in the population and updating the preset archive, wherein p i,j A decision variable in dimension j representing an ith individual in the population at a previous time,
Figure FDA0003863354910000041
a j-dimension decision variable, ac, representing the i-th individual in the population after re-initialization j And
Figure FDA0003863354910000042
respectively representing the values of the j-th dimension decision variable of the preset archiving center at the current moment and the previous moment,
Figure FDA0003863354910000043
and
Figure FDA0003863354910000044
respectively p on the j-th decision variable i And
Figure FDA0003863354910000045
to respective corresponding archive centres ac and ac l The gaussian is a gaussian interference function;
and if the difference value between the decision variables of the same dimension in the optimal population of the multi-target function at the current moment and the previous moment is smaller than the average value of the difference of the decision variables of the dimension, carrying out variation operation on the individuals in the population, and updating the preset archive.
6. The apparatus of claim 5, wherein the multi-objective function is
Figure FDA0003863354910000046
Wherein m represents the number of the workflow scheduling optimization targets, the value of m is 2, Ω represents the available resource data set of the cloud computing, f 1 (x) Representing the time at which the cloud computing processes all tasks, f 2 (x) The method comprises the steps of representing the computing cost of completing all tasks by cloud computing, and x represents a decision variable, wherein the decision variable is determined by task parameters of each task, available resource data of the cloud computing and a task execution sequence.
7. Cloud computing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202110569976.0A 2021-05-25 2021-05-25 Cloud computing workflow dynamic scheduling method, device, equipment and storage medium Active CN113434267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110569976.0A CN113434267B (en) 2021-05-25 2021-05-25 Cloud computing workflow dynamic scheduling method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110569976.0A CN113434267B (en) 2021-05-25 2021-05-25 Cloud computing workflow dynamic scheduling method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113434267A CN113434267A (en) 2021-09-24
CN113434267B true CN113434267B (en) 2022-12-02

Family

ID=77802846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110569976.0A Active CN113434267B (en) 2021-05-25 2021-05-25 Cloud computing workflow dynamic scheduling method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113434267B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114912654A (en) * 2022-03-31 2022-08-16 北京百度网讯科技有限公司 Object scheduling method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708011A (en) * 2012-05-11 2012-10-03 南京邮电大学 Multistage load estimating method facing task scheduling of cloud computing platform
CN108320059A (en) * 2018-02-22 2018-07-24 石家庄铁道大学 A kind of workflow schedule evolution optimization method and terminal device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3488342A1 (en) * 2016-07-20 2019-05-29 Worldline Multi-criteria adaptive scheduling for a market-oriented hybrid cloud infrastructure
CN109298930B (en) * 2017-07-24 2022-12-13 西安电子科技大学昆山创新研究院 Cloud workflow scheduling method and device based on multi-objective optimization
CN108133260B (en) * 2018-01-17 2021-05-07 浙江理工大学 Real-time state monitoring-based multi-target particle swarm optimization workflow scheduling method
EP3750060A1 (en) * 2018-02-05 2020-12-16 Telefonaktiebolaget LM Ericsson (publ.) Resource needs prediction in virtualized systems: generic proactive and self-adaptive solution
CN108521446B (en) * 2018-03-20 2021-02-23 深圳大学 Scheduling method, device and equipment of cloud computing resources and storage medium
CN111027736B (en) * 2019-07-30 2022-05-20 中国人民解放军国防科技大学 Micro-service combined deployment and scheduling method under multi-objective optimization
CN110851272B (en) * 2019-10-30 2022-02-11 内蒙古农业大学 Cloud task scheduling method based on phagocytic particle swarm genetic hybrid algorithm

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708011A (en) * 2012-05-11 2012-10-03 南京邮电大学 Multistage load estimating method facing task scheduling of cloud computing platform
CN108320059A (en) * 2018-02-22 2018-07-24 石家庄铁道大学 A kind of workflow schedule evolution optimization method and terminal device

Also Published As

Publication number Publication date
CN113434267A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
Bhattacharjee et al. Barista: Efficient and scalable serverless serving system for deep learning prediction services
Rahman et al. A dynamic critical path algorithm for scheduling scientific workflow applications on global grids
Shi et al. MDP and machine learning-based cost-optimization of dynamic resource allocation for network function virtualization
Zuo et al. A multi-objective hybrid cloud resource scheduling method based on deadline and cost constraints
Han et al. Tailored learning-based scheduling for kubernetes-oriented edge-cloud system
Liu et al. Swarm scheduling approaches for work-flow applications with security constraints in distributed data-intensive computing environments
CN108133260B (en) Real-time state monitoring-based multi-target particle swarm optimization workflow scheduling method
CN109634742B (en) Time constraint scientific workflow optimization method based on ant colony algorithm
CN107656799B (en) Workflow scheduling method considering communication and computing cost under multi-cloud environment
CN112463337B (en) Workflow task migration method used in mobile edge computing environment
Ran et al. SLAs-aware online task scheduling based on deep reinforcement learning method in cloud environment
Tang et al. Budget‐constraint stochastic task scheduling on heterogeneous cloud systems
CN109710372B (en) Calculation intensive cloud workflow scheduling method based on owl search algorithm
Singh et al. Crow–penguin optimizer for multiobjective task scheduling strategy in cloud computing
Kaur et al. Deadline constrained scheduling of scientific workflows on cloud using hybrid genetic algorithm
CN113434267B (en) Cloud computing workflow dynamic scheduling method, device, equipment and storage medium
Han et al. EdgeTuner: Fast scheduling algorithm tuning for dynamic edge-cloud workloads and resources
Kalai Arasan et al. Energy‐efficient task scheduling and resource management in a cloud environment using optimized hybrid technology
Gupta et al. User defined weight based budget and deadline constrained workflow scheduling in cloud
WO2023089350A1 (en) An architecture for a self-adaptive computation management in edge cloud
Nasr et al. Cloudlet scheduling based load balancing on virtual machines in cloud computing environment
CN112130927B (en) Reliability-enhanced mobile edge computing task unloading method
CN115794323A (en) Task scheduling method, device, server and storage medium
CN106874215B (en) Serialized storage optimization method based on Spark operator
Rood et al. Scheduling on the grid via multi-state resource availability prediction

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