Task processing method and device, equipment and storage medium

By grouping and resource optimization of task units, the problem of inefficient task execution is solved, batch execution and efficient resource utilization are achieved, and overall task efficiency is improved.

CN120448084APending Publication Date: 2025-08-08SHENZHEN JINGTAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410177017.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-08
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the prior art, tasks including multiple experiments are inefficient in execution because the experimental steps are performed separately.

Method used

By obtaining the configuration parameters of the task unit, grouping the task units using the configuration parameters, and secondary grouping with resource information to optimize the task execution order and resource utilization.

Benefits of technology

It improves the efficiency of task execution, realizes batch execution of the same group of task units, and improves the overall task completion speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120448084A_ABST
    Figure CN120448084A_ABST
Patent Text Reader

Abstract

The invention provides a task processing method and device, equipment and a storage medium. The method comprises the steps that configuration parameters of all task units contained in a to-be-executed target task are acquired; wherein the target task comprises at least two sub-tasks, and each sub-task comprises at least one task unit; each task unit in the target task is grouped by using the configuration parameters, and a first grouping result is determined, and the first grouping result comprises at least one group of task units; and performing secondary grouping on the first grouping result by utilizing the resource information corresponding to each group of task units, and determining a second grouping result of the task units in the target task. According to the technical scheme, the task units can be grouped and packaged before the tasks are executed, and the execution efficiency of the tasks can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automation technology, and in particular to a task processing method, device, equipment and storage medium. Background Art

[0002] Currently, experimental workstations are used to perform various tasks, and one task can include multiple identical or similar experiments to achieve high-throughput experiments.

[0003] In related technologies, when executing a task that includes multiple experiments, individual experiments are generally executed sequentially, that is, after all steps in one experiment are completed, the next experiment is started. This will result in low execution efficiency of the entire task. Summary of the Invention

[0004] In order to solve the above problems, the present application proposes a task processing method, device, equipment and storage medium, which can effectively improve the execution efficiency of tasks.

[0005] According to a first aspect of an embodiment of the present application, a method for processing a task is provided, comprising:

[0006] Obtaining configuration parameters of each task unit included in a target task to be executed; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit;

[0007] Grouping the task units in the target task using the configuration parameters to determine a first grouping result, wherein the first grouping result includes at least one group of task units;

[0008] The first grouping result is grouped again using the resource information corresponding to each group of task units to determine a second grouping result of the task units in the target task.

[0009] According to a second aspect of an embodiment of the present application, there is provided a task processing device, including:

[0010] An acquisition module, configured to acquire configuration parameters of each task unit included in a target task to be executed; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit;

[0011] A first grouping module is configured to group the task units in the target task using the configuration parameters to determine a first grouping result, wherein the first grouping result includes at least one group of task units;

[0012] The second grouping module is used to perform a second grouping on the first grouping result by using the resource information corresponding to each group of task units, and determine a second grouping result of the task units in the target task.

[0013] A third aspect of the present application provides an electronic device, including:

[0014] memory and processor;

[0015] The memory is connected to the processor and is used to store programs;

[0016] The processor implements the above-mentioned task processing method by running the program in the memory.

[0017] A fourth aspect of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processing method for the above-mentioned task is implemented.

[0018] A fifth aspect of the present application provides a computer program product, including a computer program, which implements the processing method of the above-mentioned task when executed by a processor.

[0019] One embodiment of the above application has the following advantages or beneficial effects:

[0020] Obtain the configuration parameters of each task unit contained in the target task to be executed; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit; use the configuration parameters to group the task units in the target task to determine a first grouping result, wherein the first grouping result includes at least one group of task units; use the resource information corresponding to each group of task units to perform a second grouping on the first grouping result to determine a second grouping result of the task units in the target task. In this way, before the task is executed, the task units in different subtasks in the task are grouped and packaged so that the task units in the same group can be executed in batches later, thereby improving the execution efficiency of the task. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.

[0022] Figure 1 A flowchart of a method for processing a task provided in an embodiment of the present application;

[0023] Figure 2 A schematic diagram of a specific flow chart of step S120 of a task processing method provided in an embodiment of the present application;

[0024] Figure 3 A schematic diagram of the grouping of task units provided in an embodiment of the present application;

[0025] Figure 4 A schematic diagram of the structure of a task processing device provided in an embodiment of the present application;

[0026] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0028] Exemplary Methods

[0029] Figure 1 FIG1 is a flowchart of a method for processing a task according to an embodiment of the present application. In an exemplary embodiment, a method for processing a task is provided, comprising:

[0030] S110, obtaining configuration parameters of each task unit included in a target task to be executed; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit;

[0031] S120, grouping the task units in the target task using the configuration parameters to determine a first grouping result, wherein the first grouping result includes at least one group of task units;

[0032] S130 : Perform a secondary grouping on the first grouping result by utilizing the resource information corresponding to each group of task units to determine a second grouping result of the task units in the target task.

[0033] In step S110, illustratively, the target task may represent an experimental task in an automated device. The automated device may be regarded as a large device comprising multiple functional modules, such as an automated workstation. For example, the automated device may include, but is not limited to: a handling module for realizing material transfer (such as a multi-degree-of-freedom robotic arm, an XYZ three-axis translation mechanism, etc.), a powder adding module for realizing a powder adding function, a liquid adding module for realizing a liquid adding function, a stirring module / oscillation module for realizing a mixing function, a detection module for realizing a detection function (such as a UPLC / LCMS detection module, etc.), and the like. Optionally, the experimental task may be a chemical experimental task, or other types of experimental tasks, such as a biological experimental task, which is not limited here.

[0034] Different functional modules can be used individually or in combination to complete different experiments. An experiment can be viewed as a single or series of experimental steps centered around a specific entity, such as preparing or testing a substance. This specific entity can be viewed as a container for the substance. Multiple experiments can constitute a task, with each experiment being considered a subtask within the task, and the steps within the experiment being considered task units. In other words, a task can include multiple experiments (i.e., subtasks), one experiment can include one or more experimental steps (i.e., task units), and a task can contain multiple task units. A task unit can be viewed as the smallest execution unit of a task, and a task unit can include one or more operations. An operation can be viewed as an abstract, hardware-independent, and specific action flow. For example, a task can include multiple preparative experiments, including tasks such as adding powder, adding liquid, shaking, centrifuging, and filtering. The centrifugation task unit may be implemented by operations such as moving the tray (test tubes are on the tray), closing the test tube cap (if the test tubes are not closed), moving the test tubes (to the centrifuge), centrifuging (starting the centrifuge), and moving the test tubes (after centrifugation, moving them to their destination). Configuration parameters represent various attribute information of a task unit, and may include but are not limited to at least one of the following: task unit type, task unit execution parameters, and task unit location information, etc. In this embodiment, multiple experiments included in a task may be the same or similar experiments.

[0035] Specifically, first obtain the target task to be executed, parse the target task, determine the subtasks in the target task, and then determine the task units in each subtask, that is, determine the operations corresponding to each task unit. Then, extract the configuration parameters of each task unit. For example, when the configuration parameters are task unit type, task unit execution parameters, or task unit location information, then the task unit type, task unit execution parameters, or task unit location information of each task unit are extracted accordingly. When the configuration parameters are task unit type and task unit execution parameters, then the task unit type and task unit execution parameters of each task unit are extracted. When the configuration parameters are task unit type and task unit location information, then the task unit type and task unit location information of each task unit are extracted. When the configuration parameters are task unit execution parameters and task unit location information, then the task unit execution parameters and task unit location information of each task unit are extracted. When the configuration parameters are task unit type, task unit execution parameters, and task unit location information, then the task unit type, task unit execution parameters, and task unit location information of each task unit are extracted.

[0036] In step S120, for example, task units with the same or similar configuration parameters are grouped together to obtain a first grouping result. Furthermore, if multiple configuration parameters exist, all task units can be grouped according to each of the multiple configuration parameters, and the intersection of each grouping is taken as a group of task units in the first grouping result. Alternatively, all task units can be grouped according to multiple configuration parameters in sequence to obtain multiple groups of task units in the first grouping result.

[0037] In step S130, the resource information illustratively represents the resources required to execute the operation corresponding to the task unit, and may include static resources (such as fixed-position robotic arms, oscillation modules, powder adding modules, and other execution devices) and dynamic resources (such as test tubes, TIP heads, powder barrels, test tube racks, and other media). The resource information may include, but is not limited to, the number and / or capacity of the execution devices.

[0038] Optionally, step S130 includes: performing secondary grouping processing on the first grouping result according to the number and / or capacity of target execution devices corresponding to each group of task units to obtain the second grouping result.

[0039] The method for determining the target execution device includes:

[0040] Determine the execution device corresponding to any group of task units; match the operating parameters of the execution device corresponding to the group of task units with the configuration parameters of the group of task units, and determine the execution device that successfully matches as the target execution device corresponding to the group of task units.

[0041] Exemplarily, the operating parameters of the execution device may include but are not limited to at least one of the following: temperature, speed, rotation speed, frequency, duration, accuracy, power, etc. Specifically, for any group of task units, first determine all possible execution devices for executing the group of task units, then match the operating parameters of these execution devices with the configuration parameters of each task unit in the group of task units, and the execution device that successfully matches is used as the target execution device for executing the group of task units. Preferably, the operating parameters of the execution device can be matched with the task unit execution parameters of each task unit in the group of task units to determine one or more target execution devices that meet the execution conditions. For example, a group of oscillation task units requires an oscillation temperature of 150 degrees, and there are two oscillation devices. The operating temperature range of oscillation device 1 is 0-120 degrees, and the operating temperature range of oscillation device 2 is -20-180 degrees. Then, the group of oscillation task units can only run on oscillation device 2 and cannot run on oscillation device 1. Therefore, oscillation device 2 is the target execution device corresponding to the group of oscillation task units. In this way, the devices for executing each task unit can be accurately and intelligently found.

[0042] Optionally, taking into account the number and capacity of target execution devices, the first grouping result is subjected to secondary grouping processing according to the number and capacity of target execution devices corresponding to each group of task units to obtain the second grouping result, including:

[0043] performing secondary grouping processing on the first grouping result according to the capacity of the target execution device corresponding to each group of task units to obtain a third grouping result; wherein the number of task unit groups included in the third grouping result is greater than or equal to the number of task unit groups included in the first grouping result;

[0044] The third grouping result is grouped again according to the number of target execution devices corresponding to each group of task units to obtain the second grouping result; wherein the number of task unit groups included in the second grouping result is less than or equal to the number of task unit groups included in the third grouping result.

[0045] Exemplarily, after determining the target execution device corresponding to each group of task units (i.e., the first grouping result), the capacity of the target execution device is determined, and the capacity of the target execution device is compared with the number of task units in the group of task units. If the capacity of the target execution device can accommodate all the task units in the group of task units, then the group of task units is still regarded as a group in the third grouping result. If the capacity of the target execution device cannot accommodate all the task units in the group of task units, then the group of task units needs to be regrouped according to the capacity of the target execution device, and the group of task units is divided into multiple groups. For example, a group of oscillation task units consisting of 16 test tubes, and an oscillation device can only hold 4 test tubes at the same time, then the group of oscillation task units needs to be further divided into 4 groups of oscillation task units, that is, a group of oscillation task units included in the first grouping result is transformed into 4 groups of oscillation task units included in the third grouping result through secondary grouping.

[0046] If there are multiple target execution devices, and all of them are idle and can run simultaneously, after obtaining multiple groups of task units based on the capacity of the target execution devices, the multiple groups of task units can be grouped and packaged using the number of target execution devices to obtain a second grouping result. Specifically, the number of groups of task units obtained based on the capacity of the target execution devices is determined, and the multiple groups of task units are grouped and packaged based on the number of groups and the number of target execution devices to obtain a second grouping result. If there is only one target execution device, the second grouping result is the same as the third grouping result; if there is more than one target execution device, the number of task unit groups in the second grouping result will be less than the number of task unit groups in the third grouping result.

[0047] Still taking the oscillation task unit of the above-mentioned 16 test tubes as an example, a group of 16 test tubes of oscillation task units is divided into 4 groups of 4 test tubes of oscillation task units through the capacity of the oscillation device. If there are two oscillation devices in the workstation, assuming that the oscillation conditions are the same and both meet the configuration parameters of the group of oscillation task units, and the two oscillation devices can work at the same time, then the oscillation task units of the two groups of 4 test tubes can be executed on the two oscillation devices at the same time (one group of oscillation task units is executed on one oscillation device). The above-mentioned 4 groups of oscillation task units need to be executed twice, that is, the above-mentioned 4 groups of oscillation task units can be grouped and packaged into 2 groups of oscillation task units. In other words, the 4 groups of oscillation task units contained in the third grouping result are grouped and packaged into 2 groups of oscillation task units contained in the second grouping result.

[0048] In the technical solution of the present application, the configuration parameters of each task unit contained in the target task to be executed are obtained; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit; the task units in the target task are grouped using the configuration parameters to determine a first grouping result, wherein the first grouping result includes at least one group of task units; the resource information corresponding to each group of task units is used to perform a second grouping on the first grouping result to determine a second grouping result of the task units in the target task. In this way, before the task is executed, the task units in different subtasks in the task are grouped and packaged so that the task units in the same group can be executed in batches later, which is beneficial to improving the execution efficiency of the task.

[0049] In one embodiment, Figure 2 As shown, the configuration parameters include at least a task unit type. Step S120 uses the configuration parameters to group the task units in the target task to determine a first grouping result, including:

[0050] S1210, grouping the task units of the subtasks of the target task whose task unit types match each other into a group, and obtaining a type grouping result, wherein the type grouping result includes multiple groups of task units of different types;

[0051] S1220. Determine the first grouping result according to the type grouping result.

[0052] Exemplarily, the task unit type indicates the type corresponding to the task unit, and each task unit has only one type. In the type grouping results, the types of the task units in the same group are the same, while the types of the task units in different groups are different. Task unit types may include, but are not limited to, liquid addition, powder addition, oscillation, centrifugation, filtration, extraction, and detection. Accordingly, the type grouping results may include: liquid addition task unit group, powder addition task unit group, oscillation task unit group, and so on.

[0053] Specifically, after obtaining each task unit, extract the type corresponding to the task unit. The task units of the type belonging to the liquid addition type are divided into a group to obtain a liquid addition task unit group, the task units of the type belonging to the powder addition type are divided into a group to obtain a powder addition task unit group, and the task units of the type belonging to the oscillation type are divided into a group to obtain an oscillation task unit group. In this way, the task units are grouped and packaged according to the task unit type to obtain a type grouping result containing different types of task unit groups. Determine the first grouping result based on the type grouping result, which can be directly used as the first grouping result, that is, the first grouping result contains multiple groups of different types of task units. In this way, it is convenient for subsequent batch execution of task units of the same type to improve task execution efficiency. For example, a task contains preparation experiments corresponding to 12 test tubes (i.e., 12 preparation experiments), and each preparation experiment contains a powder addition task unit and a liquid addition task unit. Then, these 12 test tubes can be packaged into the same powder addition task unit group and the same liquid addition task unit group. That is, the first grouping result includes 2 groups of the powder addition task unit group of 12 test tubes and the liquid addition task unit group of these 12 test tubes. According to the task unit execution logic, the powder adding task unit of 12 test tubes is executed in batches first, and then the liquid adding task unit of these 12 test tubes that have completed the powder adding step is executed in batches.

[0054] In one embodiment, the configuration parameters further include: task unit execution parameters and / or task unit location information. The step S1220 determines the first grouping result based on the type grouping result, including:

[0055] Perform task unit execution parameter matching and / or task unit position information matching on each group of task units in the type grouping result, and determine the first grouping result according to the matching result.

[0056] For example, the task unit execution parameters may include, but are not limited to, at least one of the following: required execution temperature, required execution speed, rotation speed, frequency, duration, accuracy, power, added reactants, and the amount of added reactants. Task unit location information indicates the location of the entity corresponding to the task unit (e.g., a container or reactants contained in the container).

[0057] Optionally, when the configuration parameters also include task unit location information, the task units are first grouped according to the task unit type to obtain a type grouping result, and then the location information of each task unit in each group of task units is obtained, that is, whether the task unit location information in each group of task units meets the preset distribution conditions is determined, and the task units that meet the preset distribution conditions are grouped into one group to obtain a first grouping result. Among them, the preset distribution condition indicates that the entity corresponding to the task unit is within a preset range, and the preset range is determined based on the location information of the entity corresponding to the task unit. Still taking the above-mentioned 12 preparation experiments as an example, if the 12 test tubes are distributed on the same test tube rack, the location information of the powder adding task units of these 12 test tubes are all matched, and the location information of the liquid adding task units of the 12 test tubes are also all matched. At this time, the first grouping result is the same as the type grouping result. If 6 of the 12 test tubes are distributed on test tube rack 1 and the other 6 test tubes are distributed on test tube rack 2, then the powder adding task units of the 6 test tubes on test tube rack 1 are matched into one group, and the powder adding task units of the 6 test tubes on test tube rack 2 are matched into one group. The liquid adding task units of the 6 test tubes on test tube rack 1 are matched into one group, and the liquid adding task units of the 6 test tubes on test tube rack 2 are matched into one group. At this time, the 2 groups of task units in the type grouping result are further divided into 4 groups of task units through position matching, that is, the first grouping result includes the above 4 groups of task units.

[0058] Optionally, when the configuration parameters also include task unit execution parameters, the task units are first grouped according to the task unit type to obtain a type grouping result, and then the task unit execution parameters of each task unit in each group of task units are obtained, and it is determined whether the task unit execution parameters of the task units in each group of task units match, and the task units whose task unit execution parameters match are grouped together to obtain a first grouping result. Among them, the matching rule of the parameters can be exact matching, approximate matching, fuzzy matching, etc., and the appropriate matching rule can be selected according to actual needs. If the matching rule is exact matching, the execution parameters of the two task units must be the same. If the matching rule is approximate matching, the difference in the execution parameters of the two task units is allowed to be within a certain error. For example, it is determined whether the task unit execution parameters of the task units in each group of task units meet the preset error value, and the task units that meet the preset error value are grouped together to obtain a first grouping result. Among them, the preset error value can represent the maximum deviation allowed between the numerical value of the execution parameter of the task unit and the mean or median value of the execution parameter of the task units in the group. The preset error value can also be set based on experience and is not limited here. Taking the above 12 preparation experiments as an example, if 4 of the 12 test tubes' liquid-adding task units need to add 1 ml of solution A, and the other 8 test tubes need to add 1 ml of solution B, then the 12 test tubes' liquid-adding task units are divided into 2 groups. At this time, the 2 groups of task units in the type grouping results are further divided into 3 groups of task units through parameter matching, that is, the first grouping result includes 3 groups of task units, namely, one group of 12 test tubes' powder-adding task units, one group of 4 test tubes' liquid-adding task units, and one group of 8 test tubes' liquid-adding task units.

[0059] Optionally, when the configuration parameters further include task unit execution parameters and task unit location information, performing task unit execution parameter matching and task unit location information matching on each group of task units in the type grouping result, and determining the first grouping result based on the matching results, includes:

[0060] Assigning the task units whose execution parameters match those of the task units in the type grouping result into a group to obtain an execution parameter grouping result;

[0061] In the case where the task unit position information of the task unit in the execution parameter grouping result cannot meet the preset distribution condition, the task units in the execution parameter grouping result are grouped using the preset distribution condition to obtain a position grouping result;

[0062] A first grouping result is determined according to the position grouping result.

[0063] Specifically, the task units are first grouped according to the task unit type to obtain a type grouping result. The i-th group of task units in the type grouping result is used as an example for explanation. The task unit execution parameters of each task unit in the i-th group of task units are obtained, and it is determined whether the task unit execution parameters of each task unit match. The task units whose task unit execution parameters match are grouped together. In this way, the i-th group of task units is divided into one or more groups. The groups of task units in the type grouping result are grouped based on the above grouping rules to obtain an execution parameter grouping result. For any group of task units in the execution parameter grouping result, the position information of each task unit therein is obtained, and the task units whose position information matches are grouped together, thereby dividing the group of task units into one or more groups. The groups of task units in the execution parameter grouping result are grouped based on the above grouping rules to obtain a position grouping result, and the position grouping result is used as the first grouping result. In this way, the task units are grouped from multiple aspects such as type, parameter and position to ensure that the grouped task units can meet the requirements of batch execution.

[0064] Optionally, taking the i-th group of task units in the type grouping result as an example, it is also possible to first group them according to the location information of each task unit to obtain a location grouping result, and then group the task units in the location grouping result according to the task unit execution parameters to obtain the final first grouping result.

[0065] For example, Figure 3 As shown (the dotted box is the first grouping result, and the solid box is the second grouping result), there are 16 test tubes corresponding to the preparation experiment. A test tube rack can hold at most 12 test tubes, so at most 12 test tubes can be packed into the same powder adding and liquid adding group. Assume that 12 of the test tubes are placed in test tube rack 1, and the other 4 test tubes are placed in test tube rack 2. The 12 test tubes on test tube rack 1 can be packed into the same group of powder adding task units and the same group of liquid adding task units, and the 4 test tubes on test tube rack 2 can be packed into the same group of powder adding task units and the same group of liquid adding task units. Furthermore, whether the powder adding and liquid adding grouping is established can be determined based on the number and capacity of the target execution devices corresponding to the powder adding and liquid adding. The oscillation task unit first performs the first grouping according to the speed and temperature (i.e., the task unit execution parameters), and then performs the second grouping of the first grouping results according to the capacity and quantity of the oscillation equipment to obtain the second grouping results.

[0066] In one embodiment, the method further comprises:

[0067] Corresponding resource information is allocated to each group of task units in the second grouping result, and each group of task units is executed using the resource information.

[0068] Exemplarily, resource information includes static resource information and dynamic resource information, among which static resource information includes relevant information of the execution device, and dynamic resource information includes medium information such as test tube racks, test tubes, powder buckets, and TIP heads. Determine the required resource information based on the task unit execution parameters of each group of task units and the target execution device, prepare the above resource information for each group of task units, and distribute the resource information to each group of task units. After determining that the resource information is ready, a prompt message can be sent to prompt that the resources are ready. Determine whether a group of task units are all on the target execution device. If so, use the resource information to batch execute each task unit in the group. If not, do not execute. In this way, executing task units in groups can effectively improve the execution efficiency of task units.

[0069] Exemplary devices

[0070] Accordingly, Figure 4 FIG. 1 is a schematic diagram of a task processing device according to an embodiment of the present application. In an exemplary embodiment, a task processing device is provided, comprising:

[0071] An acquisition module 410 is configured to acquire configuration parameters of each task unit included in a target task to be executed; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit;

[0072] A first grouping module 420 is configured to group the task units in the target task using the configuration parameters to determine a first grouping result, wherein the first grouping result includes at least one group of task units;

[0073] The second grouping module 430 is configured to perform a second grouping on the first grouping result by utilizing the resource information corresponding to each group of task units, and determine a second grouping result of the task units in the target task.

[0074] In one embodiment, the configuration parameters include at least: a task unit type; and the first grouping module 420 is specifically configured to:

[0075] Grouping the task units of the subtasks of the target task whose task unit types match each other into a group to obtain a type grouping result, wherein the type grouping result includes multiple groups of task units of different types;

[0076] The first grouping result is determined according to the type grouping result.

[0077] In one embodiment, the configuration parameters further include: task unit execution parameters and / or task unit location information. The first grouping module 420 determines the first grouping result based on the type grouping result, including:

[0078] Perform task unit execution parameter matching and / or task unit position information matching on each group of task units in the type grouping result, and determine the first grouping result according to the matching result.

[0079] In one embodiment, the second grouping module 430 is specifically configured to:

[0080] The first grouping result is subjected to secondary grouping processing according to the number and / or capacity of target execution devices corresponding to each group of task units to obtain the second grouping result.

[0081] In one embodiment, the second grouping module 430 performs secondary grouping processing on the first grouping result according to the number and capacity of target execution devices corresponding to each group of task units to obtain the second grouping result, including:

[0082] performing secondary grouping processing on the first grouping result according to the capacity of the target execution device corresponding to each group of task units to obtain a third grouping result; wherein the number of task unit groups included in the third grouping result is greater than or equal to the number of task unit groups included in the first grouping result;

[0083] The third grouping result is grouped again according to the number of target execution devices corresponding to each group of task units to obtain the second grouping result; wherein the number of task unit groups included in the second grouping result is less than or equal to the number of task unit groups included in the third grouping result.

[0084] In one embodiment, the method for determining the target execution device includes:

[0085] Determine the execution device corresponding to any group of task units;

[0086] The operating parameters of the execution devices corresponding to the group of task units are matched with the configuration parameters of the group of task units, and the execution devices that are successfully matched are determined as the target execution devices corresponding to the group of task units.

[0087] In one embodiment, the apparatus further comprises:

[0088] The execution module is used to allocate corresponding resource information to each group of task units in the second grouping result, and use the resource information to execute each group of task units.

[0089] The task processing device provided in this embodiment is based on the same application concept as the task processing method provided in the above embodiments of this application. It can execute the task processing method provided in any of the above embodiments of this application and has the corresponding functional modules and beneficial effects of the task processing method. For technical details not fully described in this embodiment, please refer to the specific processing content of the method provided in the above embodiments of this application, and will not be repeated here.

[0090] Exemplary electronic devices

[0091] Another embodiment of the present application further provides an electronic device, see Figure 5 As shown, the electronic device includes:

[0092] Memory 500 and processor 510;

[0093] The memory 500 is connected to the processor 510 and is used to store programs;

[0094] The processor 510 is configured to implement the method for processing the task disclosed in any of the above embodiments by running the program stored in the memory 500 .

[0095] Specifically, the electronic device may further include: a bus, a communication interface 520 , an input device 530 and an output device 540 .

[0096] The processor 510, the memory 500, the communication interface 520, the input device 530 and the output device 540 are interconnected via a bus.

[0097] A bus may include a pathway that transfers information between components of a computer system.

[0098] Processor 510 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, or the like, or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention. Alternatively, it can be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.

[0099] The processor 510 may include a main processor, and may also include a baseband chip, a modem, and the like.

[0100] The memory 500 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include program code, which includes computer operating instructions. More specifically, the memory 500 may include read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), other types of dynamic storage devices that can store information and instructions, disk storage, flash, etc.

[0101] The input device 530 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.

[0102] Output device 540 may include devices that allow information to be output to a user, such as a display screen, printer, speakers, etc.

[0103] The communication interface 520 may include any transceiver or similar device for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.

[0104] The processor 510 executes the program stored in the memory 500 and calls other devices, and can be used to implement each step of the processing method of any task provided in the above embodiments of the present application.

[0105] Exemplary computer program products and storage media

[0106] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to perform the steps in the processing method of the tasks according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0107] The computer program product may be written in any combination of one or more programming languages to implement the program code for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0108] In addition, an embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by the processor to perform the steps in the processing method of the task according to various embodiments of the present application described in the above "Exemplary Method" section of this specification. The specific working content of the above-mentioned electronic device, as well as the specific working content of the above-mentioned computer program product and the computer program on the storage medium when being executed by the processor, can all be referred to the content of the above-mentioned method embodiment and will not be repeated here.

[0109] For the sake of simplicity, the aforementioned method embodiments are described as a series of action combinations. However, those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0110] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similarities between the various embodiments can be referred to in conjunction with each other. For device embodiments, since they are generally similar to method embodiments, their description is relatively simple, and for relevant details, reference can be made to the description of the method embodiments.

[0111] The steps in the methods of each embodiment of the present application can be adjusted in sequence, merged, and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.

[0112] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be merged, divided, and deleted according to actual needs.

[0113] In the several embodiments provided in this application, it should be understood that the disclosed terminals, devices, and methods can be implemented in other ways. For example, the terminal embodiments described above are merely illustrative. For example, the division of modules or submodules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or module, which can be electrical, mechanical or other forms.

[0114] The modules or submodules described as separate components may or may not be physically separate, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules may be selected to achieve the purpose of this embodiment according to actual needs.

[0115] In addition, each functional module or submodule in each embodiment of the present application may be integrated into a processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into a single module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or software functional modules or submodules.

[0116] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0117] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, software units executed by a processor, or a combination of the two. The software units may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0118] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0119] The above description of the disclosed embodiments will enable those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is to be construed in the widest manner consistent with the principles and novel features disclosed herein.

Claims

1. A task processing method, characterized in that: include: Obtaining configuration parameters of each task unit included in a target task to be executed; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit; Grouping the task units in the target task using the configuration parameters to determine a first grouping result, wherein the first grouping result includes at least one group of task units; The first grouping result is grouped again using the resource information corresponding to each group of task units to determine a second grouping result of the task units in the target task.

2. The method according to claim 1, characterized in that The configuration parameters include at least a task unit type, and grouping the task units in the target task using the configuration parameters to determine a first grouping result includes: Grouping the task units of the subtasks of the target task whose task unit types match each other into a group to obtain a type grouping result, wherein the type grouping result includes multiple groups of task units of different types; The first grouping result is determined according to the type grouping result.

3. The method according to claim 2, characterized in that The configuration parameters further include: task unit execution parameters and / or task unit location information. The determining of the first grouping result according to the type grouping result includes: Perform task unit execution parameter matching and / or task unit position information matching on each group of task units in the type grouping result, and determine the first grouping result according to the matching result.

4. The method according to any one of claims 1 to 3, characterized in that The second grouping of the first grouping result using the resource information corresponding to each group of task units to determine the second grouping result of the task units in the target task includes: The first grouping result is subjected to secondary grouping processing according to the number and / or capacity of target execution devices corresponding to each group of task units to obtain the second grouping result.

5. The method according to claim 4, characterized in that The performing secondary grouping processing on the first grouping result according to the number and capacity of target execution devices corresponding to each group of task units to obtain the second grouping result includes: performing secondary grouping processing on the first grouping result according to the capacity of the target execution device corresponding to each group of task units to obtain a third grouping result; wherein the number of task unit groups included in the third grouping result is greater than or equal to the number of task unit groups included in the first grouping result; The third grouping result is grouped again according to the number of target execution devices corresponding to each group of task units to obtain the second grouping result; wherein the number of task unit groups included in the second grouping result is less than or equal to the number of task unit groups included in the third grouping result.

6. The method according to claim 4, characterized in that The method for determining the target execution device includes: Determine the execution device corresponding to any group of task units; The operating parameters of the execution devices corresponding to the group of task units are matched with the configuration parameters of the group of task units, and the execution devices that are successfully matched are determined as the target execution devices corresponding to the group of task units.

7. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Corresponding resource information is allocated to each group of task units in the second grouping result, and each group of task units is executed using the resource information.

8. A task processing device, characterized in that: include: An acquisition module, configured to acquire configuration parameters of each task unit included in a target task to be executed; wherein the target task includes at least two subtasks, and each subtask includes at least one task unit; A first grouping module is configured to group the task units in the target task using the configuration parameters to determine a first grouping result, wherein the first grouping result includes at least one group of task units; The second grouping module is used to perform a second grouping on the first grouping result by using the resource information corresponding to each group of task units, and determine a second grouping result of the task units in the target task.

9. An electronic device, characterized in that: include: memory and processor; The memory is connected to the processor and is used to store programs; The processor implements the task processing method according to any one of claims 1 to 7 by running the program in the memory.

10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the method for processing the task according to any one of claims 1 to 7 is implemented.