programming device and method for executing tasks

The method optimizes task assignment and scheduling across diverse resources by using genetic algorithms to minimize time and cost differences, addressing the complexity of dynamic resource allocation in automation systems.

FR3145999A1Pending Publication Date: 2024-08-23KONATUS
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
FR2023001503
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The automation of task assignment and scheduling across diverse resources such as robots, 3D printers, and cloud computing systems is complex due to varying functional capabilities, requiring dynamic adaptation and optimization based on available resources and task types.

Method used

A method and device for programming tasks that involve obtaining task parameters and availability information, determining optimized task lists, and updating based on feedback to ensure efficient allocation and scheduling across processing units with varying functional units, using genetic algorithms to minimize time differences, inactivity, and cost.

Benefits of technology

The method automates task assignment and scheduling, optimizing resource utilization and reducing time differences while considering cost and value creation, with the ability to handle dynamic changes and resource modifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

A method for scheduling tasks to be executed by several processing units. Each processing unit comprises functional units, and each functional unit is adapted to execute a specific type of processing function. The method includes obtaining (310) tasks and, for each task, an estimate of the remaining execution time and at least one type of processing function suitable for executing that task; obtaining (300) availability information per functional unit for task execution; and determining (320), for at least one processing unit, an ordered list of tasks to be executed by functional units of that processing unit. The calculation is performed in such a way as to optimize criteria across all tasks and taking into account the types of processing functions suitable for task execution and the availability information per functional unit. Figure to be published with the abstract: Fig. 3
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: programming device and method for performing tasks Technical field

[0001] — The present invention relates to a method and a device for programming tasks to be performed by processing units. State of the art

[0002] — In an industrial context, the automation of tasks performed by any type of renewable physical resources (e.g., robots, 3D printers, cloud computing systems, computer servers, running software resources by hardware components, machines with automation functions, etc.) of different natures is a complex problem, especially when resources are adapted to perform different types of functions, which may or may not be suitable for the execution of certain tasks.

[0003] The assignment of tasks to resources and the scheduling of tasks must in fact can be done by taking into account the types of functions available in the dif- different resources and in order to optimize the allocation of tasks to resources, according to one or more optimization criteria, usually related to time of task execution.

[0004] In addition, the assignment of tasks to resources must be able to be modified dynamically- mically when new tasks are to be performed. Summary

[0005] — According to a first aspect, the present description relates to a method of pro- scheduling of tasks to be executed by several processing units of a system of task execution, each processing unit comprising one or more units functional, each functional unit being adapted to execute one or more types of processing functions, the method being implemented by computer, the method comprising:

[0006] - obtaining, via a communication interface with a source system, a set of tasks to be performed and for each task an estimate of time remaining execution time for the execution of this task and at least one type of function of suitable processing for the performance of this task;

[0007] — - obtaining, via a communication interface of a control system task execution, availability information per functional unit for the execution of tasks;

[0008] - a determination, for at least one processing unit, of an ordered list of tasks to be executed by one or more functional units of the processing unit concerned, the calculation being carried out in such a way as to optimize criteria across all the tasks and taking into account the types of processing functions adapted for the execution of the tasks and the availability information per functional unit; - a transmission, via the communication interface of the task execution control system, of at least one ordered list of tasks to be executed by a processing unit concerned: - receiving, via the communication interface of a feedback system, feedback on the execution of tasks, the feedback on the execution of a task including an actual execution time spent for the execution of the task concerned and / or a completion rate of the task; - an update, for at least one task, of the estimate of the remaining execution time for the execution of the task concerned on the basis of the feedback for the task concerned; - an update, for at least one processing unit, of the ordered list of tasks to be executed by the processing unit concerned on the basis of the estimate of the updated remaining execution time, the calculation being carried out so as to optimize the criteria on all the tasks remaining to be executed; - a transmission, via the communication interface of the task execution control system, of at least one updated ordered list of tasks to be executed by the processing unit concerned. In one or more embodiments, the method comprises for each type of function among types of function to be evaluated: a simulation of the addition in a processing unit of a functional unit executing the type of function considered by modification of the availability information for the type of function considered; an allocation of the tasks of a set of tasks to one or more processing units and a calculation of an ordered list of tasks to be executed by the functional units of each processing unit concerned, the calculation being carried out so as to optimize the criteria on the set of tasks to be executed and taking into account the modified availability information; a storage of an objective function value on the set of tasks on the basis of the criteria associated with the type of function considered;and an identification, among the function types to be evaluated, of a function type to be added based on the values ​​of the objective function obtained for the function types to be evaluated, the function type to be added being the one which has the greatest impact on the value of the objective function.; In one or more embodiments, the method comprises for each function type among function types to be evaluated: a simulation of the deletion in a processing unit of a functional unit executing the function type considered by modifying the availability information for the type of function considered; an allocation of tasks from a set of tasks to one or more processing units and a calculation of an ordered list of tasks to be executed by the functional units of each processing unit concerned, the calculation being carried out so as to optimize the criteria on the set of tasks to be executed and taking into account the modified availability information; a storage of an objective function value on the set of tasks on the basis of the criteria associated with the type of function considered; and an identification, among the types of function to be evaluated, of a type of function to be deleted on the basis of the values ​​of the objective function obtained for the types of function to be evaluated, the type of function to be deleted being the one which has the least significant impact on the value of the objective function. In one or more embodiments of the method, the criteria comprising a first criterion of minimizing a total time deviation, the total time deviation being calculated based on a sum weighted by a priority level of the deviations calculated respectively for groups of tasks, the deviation for a group of tasks being calculated as the difference between a target date for the completion of the execution of the group of tasks and the actual date of completion of the execution of the group of tasks. In one or more embodiments of the method, the criteria comprising at least one of: a second criterion for minimizing the inactivity time of the processing units and / or the functional units; a third criterion for maximizing the speed of increase in value during the execution of tasks based on a level of values ​​associated with the tasks; a fourth criterion for minimizing a cost of executing the tasks based on costs associated with the processing units used for the execution of tasks; and a fifth criterion for minimizing a delay in executing the tasks based on delays associated with the processing units. In one or more embodiments of the method, in which the availability information of at least one functional unit is obtained for different levels of processing capacity of the functional unit concerned, these different levels of processing capacity taking into account a main function of the functional unit and at least one secondary function of the functional unit, the determination or updating of an ordered list of tasks for the processing unit comprising the functional unit concerned being carried out for one of the levels of processing capacity. According to a second aspect, the present description relates to a programming device comprising means for implementing the steps of a method according to the first aspect. According to a third aspect, the present disclosure relates to a computer program comprising program instructions for executing the steps of a method according to the first aspect. According to a fourth aspect, the present description relates to a computer-readable recording medium on which is recorded a computer program comprising program instructions for carrying out the steps of a method according to the first aspect. Presentation of figures Other advantages and examples of embodiments are described below with reference to the figures in which: [Fig.1] schematically represents an example of a computer system for implementing a programming method according to an exemplary embodiment. [Fig.2] is a data model usable for a programming method according to an exemplary embodiment. [Fig.3] is a flowchart of a programming method according to an exemplary embodiment. [Fig.4] is a flowchart of a genetic algorithm according to an example of implementation. [Fig.5] is a flowchart of a method for generating ordered lists of tasks according to an exemplary embodiment. [Fig.6] is a flowchart of a method for simulating the deletion or addition of resources according to an exemplary embodiment. [Fig.7] schematically represents an example of a computer device for implementing a programming method according to an exemplary embodiment. Detailed description [Fig. 1] schematically represents an example of a system 100 for implementing a programming method according to an exemplary embodiment. This system 100 comprises a programming device 110 configured to communicate via one or more data transmission links (via a telecommunications network, for example a local network or a wide area network or any type of network) with a task execution system 120. The tasks are executed by physical resources functionally decomposed into one or more processing units UTI1, UT2. Each processing unit comprises one or more functional units, each functional unit being adapted to execute one or more types of functions. In the example of [Fig.1], the processing unit UTI comprises three functional units UF11, UF12, UF13 and the processing unit UT2 comprises two functional units UF21, UF22. In the context of the task processing time scheduling process, the The nature of the physical resources (processing units and functional units) is of little importance, as the programming process is generic, so that it is applicable independently of the nature of these physical resources and independently of the different functions considered for these physical resources. Thus, the solution can be applied to other types of resources than those mentioned as examples. Any type of grouping of resources associated with functions to define a processing unit can be considered, as long as the processing unit is capable of assigning tasks to its resources. The task execution system 120 can be functionally divided into three systems or subsystems: a source system 121, an execution control system 122 and a feedback system 123. The source system 121 is configured to generate task parameters for new tasks to be executed. The execution control system 122 is configured to receive ordered lists of tasks from the programming device 110 and trigger the execution, by one or more processing units, of these tasks based on the ordered lists of tasks. Triggering the execution of a task or list of tasks may comprise sending at least one signal (control signal, message, request, etc.) to the processing unit to which the list of tasks is assigned. The signal is adapted to the recipient processing unit and may comprise information and / or parameters on the task(s) to be executed. The signal may be coded in accordance with any type of communication protocol, proprietary or standard. The feedback system 123 is configured to obtain feedback information on the tasks performed by the processing units. Depending on the nature or design of the processing units, the feedback information may be provided by the processing units themselves or be generated (by measurement, analysis, event detection, etc.) by the feedback system 123 or another supervisory system specific to one or more processing units. The task execution system 120 may be implemented by a single physical entity (computer system) or by several physically distinct and interconnected entities. The programming device 110 may be implemented by a physical entity (computer system) distinct from the task execution system 120 or be integrated into the task execution system 120. Each computer system generally presents the architecture of a computer, including components of such architecture: data memory(s), processor(s), communication bus, user interface(s), hardware interface(s) for connecting this computer system to a network or other equipment, etc. According to one embodiment, the programming device 110 is configured to communicate with the source system 121, the execution control system 122 and the feedback system 123 respectively via a communication interface of the target system concerned so as to be able to exchange data with each of these systems. This communication interface may be, for example, a programming interface (for example, API, Application Program Interface) or another interface suitable for the exchange of data. The programming device 110 generally presents the architecture of a computer, including components of such an architecture: data memory(s), processor(s), communication bus, user interface(s), hardware interface(s) for connecting this computing device to a network or other equipment, etc. The system 100 may further include a database 115 for storing task parameters, availability information, and ordered lists of tasks. According to one embodiment, the programming device 110 receives in real time task parameters for new tasks to be executed, directly from the source system 121 or via the database 115. Thus the source system 121 and / or the database 115 can serve as a source device for the task parameters. The programming device 110 comprises means for implementing a programming method according to the present description. The programming device 110 comprises, for example, means for obtaining task parameters generated by the source system 121, means for transmitting to the execution control system 122 ordered lists of tasks to be executed and means for receiving from the feedback system 123 feedback information on the executed tasks. The programming device 110 comprises means for analyzing and processing the task parameters and means for generating ordered lists of tasks on the basis of the task parameters. [Fig.2] illustrates a data model usable for the programming method according to an exemplary embodiment. The programming method described here is applicable to any type of resource and distinguishes different types of physical resources by defining different types of processing units and different types of function executable respectively by the functional units of a processing unit. A processing unit can be seen as a particular group of functions. A processing unit UT: (i = 1 to NU, NU being the number of processing units) is associated with a processing unit type TU; from a set of processing unit types. The processing unit type is used to designate the type of function group implemented by the processing unit. The set of processing unit types can be scalable to accommodate new processing units added to existing processing units or modifications to existing processing units. A functional unit UF, (@ = 1 to NT, j=1 to NF) is associated with a function type that is likely to be executed by the functional unit. The function type is used to determine whether or not a task can be executed by this functional unit. The set of function unit types can be scalable to adapt to functional developments over time of the processing units or to take into account new functions present in new processing units. A processing unit is, for example, a specific hardware for performing tasks, an electronic circuit, software, a computer, a robot, a hardware and / or software component of a production line, a 3D printer, a 3D milling machine or a machining machine, a computer server, etc. Each of these processing units is assigned a type of processing unit, for example: “robot”, “software”, “3D printer”, “circuit”, etc. The functional units forming part of a "3D printer" type processing unit correspond, for example, to the different 3D printing modes available in this 3D printer: for example: 3D printing with selection of one or more materials to be deposited, two printers may or may not have the same list of materials. In another example, a 3D milling machine or a machining machine may have machining heads with different accuracies to generate different surface finishes and two machining machines may have different accuracies, possibly with an overlap between the accuracies available in the two machining machines. In such an example, a functional unit may correspond to a milling / machining mode with a particular grain / surface finish or a particular machining head. The programming method is applied to a set of tasks E which are to be assigned to the processing units and ordered for each processing unit. For each task T, (x = 1 to NT, NT being the number of tasks in the set E) of the data set of tasks, 200 task parameters are used. The parameters 200 of a task may include a remaining execution time for the task. For a new task to be executed, the remaining execution time may be based on an estimate of the time required for the execution of the task. For a task currently being executed, the remaining execution time may be based on an estimate of the time remaining for the execution of the task, this estimate being generated for example on the basis of feedback received from the feedback system 123 for this task. task. Feedback for a task may include actual execution time spent performing the relevant task and / or task completion rate. The 200 parameters of a job may include a completion rate for the job. This completion rate may be coded as a percentage or a value between 0 and 1. For a new job, the completion rate may be 0 by default. For a running job, the completion rate may be 0.5 for a job that is halfway completed. For example, for a 3D printing job, the completion rate at a given time may correspond to the percentage of the object that has been printed at that time. For a machining center, the completion rate at a given time may correspond to the rate of material removed. Depending on the nature of the task, the method of measuring or quantifying the completion rate may be different. For example, a 3D printer has information on the total volume of material to be deposited and is suitable for calculating a print completion rate based on the rate of material consumed for a print task. The 200 parameters of a task may include a function type suitable for the execution of the task. The function type may be encoded by a numeric or alphanumeric identifier or keyword. The 200 parameters of a task may include precedents, that is, a set of tasks (here called predecessors) which must be carried out before the task in question can begin, this set may be empty. Practically speaking, a task can only be executed if all the tasks (predecessors) on which it depends have already been completed. A dependency tree or hierarchy between tasks can be used to represent these dependency links. The 200 parameters of a task may include a priority level for the task. This priority level may consist of an indicator of whether the task in question is a priority or not. The priority is taken into account in the scheduling of tasks. The parameters 200 of a task may include a value level of the task and corresponds to a value level created by the execution of the task. This value level can be used for calculating an optimization criterion based on the creation of value during the execution of the tasks so that the rate of increase of value is as high as possible. 210 parameters are also associated with each processing unit. The parameters 210 of a processing unit may include a processing unit type. The processing unit type may thus be used to define processing unit categories, based on a set of functions available for that processing unit. The processing unit type can be coded by a numeric or alphanumeric identifier or keyword. The parameters 210 of a processing unit may include other information usable in one or more optimization criteria: a cost associated with the processing unit and / or a location of the processing unit and / or a delay (corresponding to a delay during the execution of task(s)) associated with the use of the processing unit. These different parameters may be taken into account in one or more optimization criteria so as to penalize or favor a processing unit compared to one or more other processing units equipped with functional units capable of executing the same task. A functional unit is associated with availability information (also called processing capacity). This availability can be expressed either by processing time available for the execution of tasks by this functional unit, or by an availability rate of the functional unit in relation to a reference time period (for example 1 hour per day or 20 hours per day). In some cases, different types of functions may be available for a given functional unit; for example, the functional unit has one or more main functions and one or more secondary functions and, possibly, additional functions, which can be used as needed. For example, a high-precision machining machine may also be used for machining work in a lower precision range. In such a situation, the availability (i.e. processing capacity) of this functional unit can take into account its main, secondary and ancillary functions. Let Np (>=1) be the number of main functions and Ns (>=1) the number of secondary functions of a functional unit. Let Taispo be its maximum availability, i.e. the maximum processing time available per reference time period for this functional unit, independently of these main or secondary functions. Different levels of processing capacity can be defined for this functional unit. According to an example, at a first level, corresponding to a so-called “nominal” capacity of the functional unit: the availability rate for the execution of a main function can be fixed in relation to its maximum Taispo availability at: T1=2 / (2xNp+Ns) the availability rate for the execution of a secondary function can be fixed in relation to its maximum Taispo availability at: T2=1 / (2x Np+Ns) the availability rate for the execution of an ancillary function can be fixed compared to its maximum availability Taispo To T3=0% Similarly, at a second level, corresponding to a so-called “maximum” capacity of the functional unit: the availability rate for the execution of a main function can be T1 = 100% the availability rate for the execution of a secondary function can be T2 = 100% the availability rate for the execution of an ancillary function can be T3 = 0% Similarly, at a third level, corresponding to a so-called “extended” capacity of the functional unit: the availability rate for the execution of a main function can be T1 = 100% the availability rate for the execution of a secondary function can be T2 = 100% the availability rate for the execution of an ancillary function can be T3 = 100% For a given type of function, an availability per type of function can be determined corresponding to the sum of the availabilities of the functional units having this type of function. This sum can include the availability rates for main, secondary or ancillary functions of the functional units in that a function of a given type can be a main function for a first functional unit and a secondary or ancillary function for a second functional unit. Similarly, for a given processing unit, an availability can be determined corresponding to the sum of the availabilities of the functional units of this processing unit. This sum can also include the availability rates for main, secondary or ancillary functions of the functional units. Similarly, for a given type of processing unit, an availability can be determined corresponding to the sum of the availabilities of the functional units of the processing units having this type of processing unit. This sum can also include the availability rates for main, secondary or ancillary functions of the functional units. All availability information (by functional unit, by processing unit, by function type or by processing unit type) can be calculated for a given period of time depending on whether resources are available or not (for example in the event of a breakdown or malfunction). [Fig.3] represents a flowchart of a programming method according to an exemplary embodiment. Although the various steps in the flowchart are presented and described sequentially, some or all of the steps may be performed in a different order, may be combined or omitted, and some or all of the steps may be performed in parallel. The steps of the method can be implemented by computer, for example by a programming device 110 as described in this document, in particular with reference to [Fig. 1] and / or 7. The scheduling method aims to optimize the scheduling of tasks and their allocation to the processing units of the task execution system on the basis of one or more optimization criteria. Each processing unit comprises one or more functional units, each functional unit being adapted to execute one or more types of processing functions. In step 300, availability information is obtained for the functional units, via a communication interface of a task execution control system 122 or of the source system 121. Availability information includes processing capacity for executing tasks per functional unit. This processing capacity corresponds at this stage to a maximum processing capacity. This processing capacity can be expressed as available time or availability duration per reference time period and / or an availability rate per reference time period. For example, for a robot or a printer, processing capacity can be defined as the time available for executing tasks per day, for example 10 hours per day. In step 310, a set of new tasks to be executed is obtained via a communication interface of a source system 121. For each task, an estimate of a remaining execution time for the execution of this task and at least one type of processing function suitable for the execution of this task are obtained. In step 320, for at least one processing unit, an ordered list of tasks to be executed by the functional units of the processing unit concerned is determined. The determination of the assignment of tasks to processing units and their scheduling is carried out in such a way as to optimize predefined optimization criteria on all tasks. In step 330, the ordered list(s) of tasks to be executed for the processing unit(s) are transmitted, via a communication interface, to the task execution control system 122. Following step 330, the control system 122 execution unit is configured to, after receiving these ordered lists of tasks, trigger the execution of the tasks in the ordered list(s) of tasks received, for example by transmitting a control signal to the processing units concerned. The ordered list does not need to specify which functional units are involved: it is assumed that the processing unit involved is configured to trigger the execution of a task by a functional unit suitable for that task. For example, if a processing unit is a 3D printer, the print task includes print parameters that determine the printing mode and therefore the functional unit to be used. Furthermore, the scheduling of tasks for a processing unit takes into account the function type of each functional unit and the scheduling is carried out so that for a given task, there is always at least one functional unit that is suitable for a task and available at a given time if the scheduling is respected.The availability of the processing unit as well as that of the functional units is thus respected, the triggering of tasks by the appropriate functional units being carried out by the processing unit. In step 340, task execution feedback is received via the communication interface of a task execution feedback system 123. The feedback may be received periodically, for example every minute, every hour, once a day, etc. The task execution feedback includes an actual execution time Te already spent for the execution of the task concerned and / or an accomplishment rate Ta of the task. In step 345, the availability information is updated for the functional units, via a communication interface of an execution control system 122. The updated availability information includes a processing capacity for the execution of tasks for each functional unit. This processing capacity corresponds at this stage to a remaining processing capacity which is obtained from the maximum processing capacity obtained in step 300, after deduction of the load corresponding to the tasks currently being processed by the processing units. In step 346, new tasks to be executed may be obtained via a communication interface of a source system 121. For each task, an estimate of an execution time for the execution of this task and at least one type of processing function suitable for the execution of this task are obtained. In step 350, an update, for at least one task, of the estimation of the remaining execution time for the execution of the task concerned is carried out on the basis of the feedback for the task concerned. For example, if the actual execution time already spent for the execution of the task concerned is Te=1 hour and the task completion rate is Ta=75%, we can estimate that the total execution time will be Tt=Te / Ta=1 / 0.75=1.33 hours, i.e. a remaining execution time Tr=Tt-Te=0.33 hours. Depending on the tasks and / or functional units considered, the times Te, Tr, Tt can be expressed in second(s), hour(s), day(s), etc. In step 360, an update, for at least one processing unit, of the ordered list of tasks to be executed by the processing unit concerned is carried out on the basis of the updated remaining execution time estimate and the updated availability information. The determination of the assignment of tasks to processing units and their scheduling is carried out in such a way as to optimize predefined optimization criteria on all tasks. When new tasks to be executed are received at step 346, the new tasks are added to the set of tasks to be assigned and ordered, except possibly the tasks currently being processed which cannot be reassigned. Thus a task, previously assigned to a processing unit and not yet initiated, can be assigned to another processing unit. In step 370, a transmission, via the communication interface, of the task execution control system, of at least one updated ordered list of tasks to be executed by the processing unit concerned. Following step 370, the execution control system 122 is configured to, after receiving the updated ordered lists of tasks, trigger the execution of the tasks in the received ordered list(s) of tasks, for example by transmitting a control signal to the processing units concerned. Following step 370, steps 340 to 370 may be repeated iteratively to take into account new feedback information. The determination of the assignment of tasks and their scheduling during steps 320 and 360 is carried out so as to optimize predefined optimization criteria on all the tasks to be assigned and scheduled (whether new or already assigned tasks, or even those currently being executed) and taking into account the types of processing functions adapted for the execution of the tasks as well as the availability information per functional unit. Different algorithms can be used for this optimization, for example a genetic algorithm. For example, a genetic algorithm for selecting possible solutions can be used to find a near-optimal task scheduling solution based on an objective function whose value is calculated for each individual — representing a scheduling solution - in the population considered by the genetic algorithm in order to evaluate each scheduling solution. An example of a genetic algorithm is described with reference to [Fig.4]. The objective function may be based on one or more optimization criteria. Various examples of optimization criteria that may be used in steps 320 and 360 are described in detail below. A first criterion C1 can be used to minimize a total time difference weighted by priority, calculated over all tasks, between a target date for the completion of the execution of the tasks and an actual date of completion of the execution of the tasks. To calculate this total time difference, the tasks can be grouped according to their priority level and a difference calculated for each task group thus constituted. The total time difference can then be calculated as a sum weighted by weighting coefficients corresponding to the priority levels (for example coded between 0 and 1) of the differences calculated respectively for each group of tasks. The difference for a group of tasks can be calculated as the difference between a target date for the completion of the execution of the tasks of the group of tasks and the actual date of completion of the execution of the tasks of the group of tasks.The principle being that the higher the priority level of a task, the higher the weighting coefficient. In one embodiment, when there are at least two processing units of the same type but with a different delay, a penalty linked to the delays of the processing units can be applied for certain processing units in the calculation of criterion C1 so as to increase the time difference calculated for the tasks assigned to the processing units concerned. A second criterion C2 can be used to minimize the idle time of processing units and / or functional units over a given period of time. The idle time of a functional unit is calculated as the difference between the time spent on the execution of task(s) during this period of time and the availability (e.g., available processing time) for this functional unit for this period of time. A third criterion C3 can be used to maximize the speed of value increase when performing tasks based on the value level associated with the tasks. This third optimization criterion simulates the creation of value during the execution of tasks and corresponds to a speed of value increase over a given period of time. This speed of value increase must be as high as possible, the objective being to accelerate value creation and prioritize tasks with the highest value. This speed of value increase can be calculated by adding the value levels of the tasks performed over a given period of time, the sum can be weighted by the task execution rate if the task is not only partially executed over this period of time. A fourth criterion C4 can be applied when there are at least two processing units of the same type but with a different cost (e.g. a different hourly cost) and aims to minimize the cost of executing tasks based on the costs associated with the processing units. A penalty related to the costs of the processing units can thus be taken into account in the objective function for certain processing units. This criterion can be taken into account by calculating the weighted sum over all tasks of the estimated execution time per task multiplied by the hourly cost of the processing unit to which the task is allocated. A fifth criterion C5, similar to criterion C1, can be used to minimize a total time gap taking into account delay penalties per task group, calculated on all tasks, between a target date for the completion of task execution and an actual date of completion of task execution. For example, a genetic algorithm for selecting possible solutions can be used to find a near-optimal task scheduling solution based on an objective function whose value is calculated for each individual—representing a scheduling solution—in the population considered by the genetic algorithm in order to evaluate each scheduling solution. [Fig.4] represents a flowchart of a genetic algorithm according to an exemplary implementation. Although the various steps in the flowchart are presented and described sequentially, some or all of the steps may be performed in a different order, may be combined, or may be omitted. The steps of the method can be implemented by computer, for example by a programming device 110 as described in this document, in particular with reference to [Fig. 1] and / or 7. In step 510, the population to be evaluated is generated. Each individual of the population corresponds to a possible solution for assigning tasks to processing units and scheduling tasks for each processing unit. Each individual of the population can be coded by a vector and corresponds to a possible scheduling of the tasks. In this vector, a component is associated with a task and comprises a pair of values, one of which is the rank of the task in the scheduling and the other is an identifier of the processing unit to which the task is assigned. Each of the solutions examined by the genetic algorithm must respect the following constraints: 1. possible inter-task precedents between tasks of the set of tasks ; 2 the possible inter-phase precedents between groups of tasks cor- each corresponding to an execution phase; 3. availability per functional unit must be respected for each unit functional, taking into account or not the extended capacities or maximum functional units; 4 availability by function type on all functional units having this type of function must be respected for each type of function, taking into account taking into account or not the extended or maximum capacities of the functional units- tional. An exemplary method for generating ordered lists of tasks and identifying the assignment processing units is presented with reference to [Fig. 5]. This method can be used in steps 510 and / or 565 of the method described with reference to [Fig. 4] to generate scheduling solutions to be evaluated on the basis of the objective function. In step 520, it is checked whether one or more stopping conditions are met. A stopping condition may be the detection of the absence of improvement of the solution based on the objective function. For example, if during a time T the optimal value of the objective function is not improved by more than a given percentage x then the process is stopped. Another stopping condition may relate to a time consumed by the genetic algorithm and / or to the size of the population evaluated to avoid an excessively long processing time. If one or more stopping conditions are verified, step 580 is executed following step 520. If one of the stopping conditions is not verified, step 530 is executed following step 520. In step 530, an evaluation of the population is carried out: a value of the objective function is calculated for each individual. During step 540, individuals are selected: those for which the value of the objective function is optimal, for example greater than or less than a threshold depending on whether the aim is to minimize or maximize the value of the objective function. In step 550, crosses between selected individuals are carried out to generate new individuals. For example, one can generate a new individual by crossing two selected individuals (e.g. randomly) and repeat this crossing for several pairs of selected individuals. To perform a crossover of two individuals, for example, we examine the ordered tasks by following the order of the tasks in the two orderings. Thus, we first examine the rank 1 tasks of the two individuals: the rank 1 task of one of the two individuals is selected as the rank 1 task in the new individual and The rank 1 task of the other individual is selected, if distinct, as the rank 2 task in the new individual. Then the rank 2 tasks of both individuals are examined: if they are distinct from those already assigned to the new individual, one of these tasks is selected as the rank 3 task for the new individual and the other task is selected as the rank 4 task. And so on for the following ranks. In the crossovers performed, tasks with predecessors can be assigned to the new individual en bloc, at the same time as the parent task without predecessor on which these tasks depend, so as to preserve the order of these tasks after crossover. In step 560, mutations between selected individuals (for example randomly) are performed. For example, a new individual can be generated by swapping two tasks of an individual and / or changing the assigned processing unit to another processing unit having a functional unit of a type of function adapted to the swapped task and having sufficient processing capacity for this type of function. In performed mutations, tasks with predecessors can be swapped en bloc at the same time as the parent task without a predecessor on which these tasks depend so as to preserve the order of these tasks after swapping. In step 565, new individuals may be created according to the method described for individual generation in step 510. In step 5'70, the new individuals obtained by crosses or mutations in steps 550 and 560, and optionally the newly created individuals in step 565, are added to the population. Following step 570, step 520 is executed again. In the final step 580, the individual for which the value of the objective function is optimal (minimum or maximum depending on the mathematical formula chosen for the objective function) is selected from the population. [Fig.5] represents a flowchart of a method for generating ordered lists of tasks according to an exemplary embodiment. Although the various steps in the flowchart are presented and described sequentially, some or all of the steps may be performed in a different order, may be combined or omitted, and some or all of the steps may be performed in parallel. The steps of the method can be implemented by computer, for example by a programming device 110 as described in this document, in particular with reference to [Fig. 1] and / or 7. In step 400, the variables R and N are initialized to zero, N being the current level in the task dependency graph and R the current rank of a task to be assigned. in the current schedule. In step 410, for each task, an execution time and a type of function suitable for executing the task are obtained. In step 420, a graph of dependencies between tasks is calculated in which a node represents a task and the precedence links between the tasks are represented by the branches of the tree. In step 430, a processing capacity per function type is calculated for each processing unit based on the availability information received for the functional units. The processing capacity per function type can be calculated by summing the processing capacities of the functional units having this function type in the processing unit in question. A total processing capacity per function type can be calculated for all processing units based (e.g., by summation) on the processing capacities of the functional units having that function type in all processing units. For example, when two similar processing units are available but in two different locations so that tasks can be assigned to these two processing units. A processing capacity per processing unit may be calculated on the basis (e.g., by summation) of the processing capacities of the functional units of that processing unit. For example, in the case where two processing units have functional units with the same capacities (e.g., two identical printers or printers with partly identical capacities). In step 440, the variable N is incremented by 1. In step 450, a level N task is randomly selected from the graph. In step 460, the selected task is assigned to one of the processing units suitable for executing this task on the basis of a type of function associated with the task in question and the processing capacity of this type of function for this processing unit. The processing unit is chosen randomly. In step 470, the task is assigned rank R in the scheduling carried out and R is incremented: R=R+1. In step 470, it is further possible to calculate an end date for execution of the task on the basis of the remaining execution time for the predecessors and the remaining execution time for the task in question. In step 480, the processing capacity (remaining availability) is updated by function type for each processing unit. The updated processing capacity is calculated by deducting from the current processing capacity the remaining execution time for the task assigned in step 460. In step 490, it is determined whether all level N tasks have been allocated. If so, step 440 is executed following step 490. If not, step 450 is executed following step 490. Steps 440 to 490 are repeated until there are no more tasks to assign and order. [Fig.6] represents a flowchart of a method for simulating the addition or deletion of resources according to an exemplary embodiment. Although the various steps in the flowchart are presented and described sequentially, some or all of the steps may be performed in a different order, may be combined or omitted, and some or all of the steps may be performed in parallel. The steps of the method can be implemented by computer, for example by a programming device 110 as described in this document, in particular with reference to [Fig. 1] and / or 7. Steps 610 to 640 are performed for each function type among a set of function types to be evaluated. In step 610, a simulation of the addition (or deletion) in a processing unit of a functional unit executing the type of function considered is carried out. This simulation is carried out by modifying the availability information concerning the type of function considered: an availability (for example, an available processing time) corresponding to the functional unit that can be added (or deleted) is added (or deleted) to the total availability (i.e. total processing capacity) determined for the type of function. In step 620, a search is carried out for the best solution for allocating and scheduling tasks, taking into account the resources of the added (respectively deleted) functional unit. This search is carried out by allocating the tasks of a set of tasks to one or more processing units and calculating an ordered list of tasks to be executed by the functional units of each processing unit concerned, the calculation being carried out so as to optimize the criteria on all the tasks to be executed and taking into account the modified availability information. In step 630, the objective function value calculated over all tasks is stored for the type of function considered on the basis of the criteria. In step 640, it is determined whether all the function types to be evaluated have been evaluated. If so, step 650 is executed following step 640. If not, steps 610 to 630 are executed again following step 640 so as to evaluate another function type not yet evaluated. In step 650, a type of function to be added (respectively deleted) is identified among the function types to be evaluated, based on the objective function values ​​obtained for the function types to be evaluated. We are looking for which type of function, the addition of a functional unit has the greatest impact on the objective function, or respectively, the removal of a functional unit has the least impact on the objective function. If we assume, for example, that the value of the objective function is to be maximized, the type of function to be added (respectively deleted) is the one that allows a maximum increase (respectively a minimum reduction) of the value of the objective function compared to the value of the objective function without the addition (respectively the deletion) of the functional unit of the type considered. The scheduling method described in this document saves time by automating task assignment and task scheduling, and this scheduling can be calculated in a few minutes (e.g., 1 to 5 minutes depending on the processor power) for an example case comprising 1000 tasks and 10 processing units. The programming method allows for taking into account different types of constraints linked to processing capacities, in particular: Taking into account processing capacities, by functional unit, in integrating the notion of nominal capacity or extended capacity; Taking into account processing capacities by type of function, for all processing units with this type of function. The programming method allows for different criteria to be taken into account in the calculation of the objective function. The programming algorithm allows, for example, for the application in the calculation of the objective function of penalties linked to the costs of the processing units and / or to the processing times for certain processing units. The programming method allows to manage different scenarios by using extended or maximum capacities in order to manage situations of overload of the processing units. The programming method allows to identify whether a functional unit is undersized or oversized by simulating the addition or removal of functional units with different function types. The programming method makes it possible to identify in which processing unit and for which type of function, the addition of a functional unit has the greatest impact on the objective function, or respectively, in which processing unit and for which type of function, the deletion of a functional unit has the least impact on the objective function. The functions, steps, and methods described in this document may be implemented by software (e.g., via software on one or more processors, for execution on a general-purpose or special-purpose computer) and / or be implemented by hardware (e.g., one or more electronic circuits, and / or any other hardware component). The present description thus relates to a computer software or program, capable of being executed by a host device (for example, a programming device 110) by means of one or more data processors, this software / program comprising instructions for causing the execution by this host device of all or part of the steps of one or more methods described in this document. These instructions are intended to be stored in a memory of the host device, loaded and then executed by one or more processors of this host device so as to cause the execution by this host device of the method. This software / program may be coded using any programming language, and be in the form of source code, object code, or code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form. The host device may be implemented by one or more physically distinct machines. The host device may generally have the architecture of a computer, including components of such architecture: data memory(s), processor(s), communication bus, hardware interface(s) for connecting this host device to a network or other equipment, user interface(s), etc. In one embodiment, all or part of the steps of the programming method or of another method described in this document are implemented by a programming device provided with means for implementing these steps of this method. These means may include software means (for example, instructions of one or more components of a program) and / or hardware means (for example, data memory(ies), processor(s), communication bus, hardware interface(s), etc.). These means may comprise, for example, one or more circuits configured to execute one or more or all of the steps of one of the methods described herein. These means may comprise, for example, at least one processor and at least one memory comprising program instructions configured to, when executed by the processor, cause the device to execute one or more or all of the steps of one of the methods described herein. [Fig.7] illustrates an exemplary embodiment of a device 9000. The device 9000 may be used as a programming device to perform one or more or all of the steps of a method described herein. The device 9000 may include at least one processor 9010 and at least one memory 9020. The device 9000 may include one or more interfaces of communication interfaces 9040 (e.g., network interfaces for accessing a wired / wireless network, including an Ethernet interface, a WIFI interface, etc.) connected to the processor and configured to communicate via one or more wired / wireless communication links. The device 9000 may include user interfaces 9030 (e.g., a keyboard, a mouse, a display screen, etc.) connected to the processor. The device 9000 may also include one or more media readers 9050 for reading a computer-readable storage medium (e.g., a digital storage disk 9060 (CD-ROM, DVD, Blue Ray, etc.), a USB flash drive 9080, etc.). The processor 9010 is connected to each of the other components 9020, 9030, 9040, 9050 in order to control the operation thereof. The memory 9020 may include random access memory (RAM), cache memory, non-volatile memory, backup memory (e.g., programmable or flash memories), read-only memory (ROM), a hard disk drive (HDD), a solid state drive (SSD), or any combination thereof. The ROM of the memory 9020 may be configured to store, among other things, an operating system of the device 9000 and / or one or more computer program codes of one or more software applications. The RAM of the memory 9020 may be used by the processor 9010 for temporary storage of data. The processor 9010 may be configured to store, read, load, execute and / or otherwise process instructions 9070 stored in a computer-readable storage medium 9060, 9080 and / or in the memory 9020 such that, when the instructions are executed by the processor, the device 9000 executes one or more or all of the steps of a method described herein. Means implementing a function or set of functions may correspond in this document to a software component, a hardware component or a combination of hardware and / or software components, capable of implementing the function or set of functions, as described below for the means concerned. The present description also relates to an information medium readable by a data processor, and comprising instructions of a program as mentioned above. The information carrier may be any material means, entity or device, capable of storing the instructions of a program as mentioned above. Usable program storage media include ROM or RAM memories, magnetic storage media such as magnetic disks and magnetic tapes, hard disks or optically readable digital data storage media, or any combination of these media. In some cases, the computer-readable storage medium is not transient. In other cases, the information medium may be a transient medium (e.g. example, a carrier wave) for the transmission of a signal (electromagnetic, electrical, radio or optical signal) carrying the program instructions. This signal can be conveyed via a suitable transmission means, wired or wireless: electrical or optical cable, radio or infrared link, or by other means. An embodiment also relates to a computer program product comprising a computer-readable storage medium having stored thereon program instructions, the program instructions being configured to cause the host device (e.g., a computer) to implement some or all of the steps of one or more methods described herein when the program instructions are executed by one or more processors and / or one or more programmable hardware components of the host device.

Claims

Claims

1. Method for programming tasks to be executed by several units of processing of a task execution system, each unit of processing comprising one or more functional units, each functional unit being adapted to perform one or more types of processing functions, the method being implemented by computer and including: - obtaining (310), via a communication interface with a source system, of a set of tasks to be executed and for each task of an estimation of a remaining execution time for execution of this task and at least one type of suitable processing function for the performance of this task; - obtaining (300), via a communication interface of a system task execution control, availability information by functional unit for performing tasks; - a determination (320), for at least one processing unit, of a ordered list of tasks to be performed by one or more functional units of the processing unit concerned, the calculation being carried out so as to optimize criteria across all tasks and taking into account the types of processing functions suitable for the execution of tasks and availability information by functional unit; - a transmission (330), via the system's communication interface task execution control, of at least one ordered list of tasks to be performed by a relevant processing unit; - a reception (340), via the communication interface of a system of feedback, feedback on task performance, feedback on the execution of a task including actual execution time spent for the execution of the task concerned and / or a completion rate of the task; - an update (350), for at least one task, of the estimate of the remaining execution time for the execution of the task concerned on the basis of feedback for the task concerned; - an update (360), for at least one processing unit, of the ordered list of tasks to be executed by the relevant processing unit based on the updated remaining execution time estimate, the calculation being carried out in such a way as to optimize the criteria on all of the tasks remaining to be completed; - a transmission (370), via the system's communication interface task execution control, of at least one ordered list updated Day of tasks to be executed by the processing unit concerned.

2. Method according to claim 1, comprising for each type of function among function types to be evaluated: - a simulation (610) of the addition in a processing unit of a functional unit performing the type of function considered by modi- provision of availability information for the type of function considered ; - an allocation (620) of tasks from a set of tasks to one or multiple processing units and a calculation of an ordered list of tasks to be executed by the functional units of each processing unit concerned, the calculation being carried out in such a way as to optimize the criteria on all the tasks to be carried out and taking into account the in- modified availability training; - a storage (630) of an objective function value on all tasks based on the criteria associated with the type of function considered; and - an identification (650), among the types of function to be evaluated, of a type of function to add based on the values ​​of the objective function obtained for the types of function to be evaluated, the type of function to add being the one that has the greatest impact on the value of the objective function.

3. A method according to claim 1, comprising for each type of function among function types to be evaluated: - a simulation (610) of the deletion in a processing unit of a functional unit performing the type of function considered by change availability information for function type considered; - an allocation (620) of tasks from a set of tasks to one or multiple processing units and a calculation of an ordered list of tasks to be executed by the functional units of each processing unit concerned, the calculation being carried out in such a way as to optimize the criteria on all the tasks to be carried out and taking into account the in- modified availability training; - a storage (630) of an objective function value on all tasks based on the criteria associated with the type of function considered; and - an identification (650), among the types of function to be evaluated, of a type of function to delete based on function values objective obtained for the types of function to be evaluated, the type of function to be deleted being the one which has the least significant impact on the value of the objective function.

4. A method according to claim 1, the criteria comprising a first criterion for minimizing a total time deviation, the total time deviation being calculated on the basis of a sum weighted by a level of priority of the deviations calculated respectively for groups of tasks, the deviation for a group of tasks being calculated as the difference between a target date for completion of the task group and the actual date of completion of the execution of the task group.

5. The method of claim 1, the criteria comprising at least criterion among: a second criterion of minimizing time inactivity of processing units and / or functional units; a third criterion for maximizing the speed of increase in value when performing tasks based on a level of values associated with tasks; a fourth criterion for minimizing a cost execution of tasks based on costs associated with units of processing used for the execution of tasks; and a fifth criterion minimizing a task completion time based on deadlines associated with processing units.

6. A method according to any preceding claim, in which the availability information of at least one unit works- tional are obtained for different levels of processing capacity of the functional unit concerned, these different levels of capacity of treatment taking into account a main function of the functional unit- tional and at least one secondary function of the functional unit, the determining or updating an ordered task list for the unit processing comprising the relevant functional unit being carried out for one of the processing capacity levels.

7. Programming device comprising implementation means steps of a method according to any one of the preceding claims previous.

8. Computer program comprising program instructions for carrying out the steps of a method according to any of the re- claims 1 to 6 when said program is executed by an or- diner. [Claim Computer-readable recording medium on which is en- registered a computer program comprising instructions for program for executing the steps of a method according to one any of claims | to 6 when said program is executed by a computer.

Citation Information

Patent Citations

  • A priority dynamic judgment model for multiple types of tasks of a rotary phased array radar

    CN109885394A

  • task scheduling device and method

    FR3090957A1

  • System and method for job scheduling optimization

    US20130191843A1

  • Computing cluster with latency control

    US20130212277A1

  • System and method for electronic work prediction and dynamically adjusting server resources

    US20160019094A1