A task allocation method, system and computer storage medium
By establishing a bipartite graph, finding and adjusting augmentation paths, and optimizing matching functions in the collaborative detection task, the problem of unbalanced task allocation is solved, the balance of task allocation results and resource utilization are improved, and the execution system efficiency is improved. efficiency and performance.
Patent Information
- Application Number
- CN202410841352.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-27
AI Technical Summary
In collaborative detection tasks, uneven task distribution leads to uneven utilization of resource equipment, which in turn affects the execution effect. The existing technology ignores the impact of uneven task distribution on the execution effect, resulting in unsatisfactory task distribution results.
By establishing a bipartite graph, find the augmenting path, adjust the matching relationship, build a matching function, optimize the maximum matching, expand the matching relationship, obtain the optimal task allocation plan, and ensure the completion of task nodes and the maximization of resource equipment utilization.
It improves the balance and rationality of collaborative detection task allocation results, improves the utilization of resource equipment and the efficiency and performance of the entire execution system.
Smart Images

Figure CN118394487B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of digital information transmission, and in particular to a task allocation method, system and computer storage medium. Background Art
[0002] The task allocation of intelligent devices, such as the task allocation of computer clusters and the exploration task allocation of drone swarms, involves the correspondence between one or more tasks and multiple resource devices. This correspondence is called a scenario. The planning of the scenario can be done in various ways, such as manual planning based on experience or automatic planning by computer using intelligent algorithms. Regardless of the planning method, there is a possibility of unbalanced task allocation. If this happens, if the scenario is continued to be implemented, the utilization of resources and equipment will be unbalanced, which will eventually lead to the deviation of the execution effect in terms of time, equipment investment, etc. from the expected.
[0003] In collaborative detection missions, it is necessary to assign respective tasks to multiple drones and multiple unmanned vehicles to form a task allocation plan. Since there are multiple drones, unmanned vehicles and detection tasks, there may also be multiple task allocation plans. If the execution effect of some task allocation plans deviates from expectations, the problem is often analyzed from the perspective of the task allocation plan itself or the selection of drones and unmanned vehicles. However, this approach ignores the impact of uneven task distribution on execution effects, resulting in unsatisfactory task allocation results. Summary of the invention
[0004] The embodiments of the present application provide a task allocation method, system and computer storage medium to solve the problem of unsatisfactory task allocation results in collaborative detection tasks in the prior art.
[0005] On the one hand, an embodiment of the present application provides a task allocation method, including:
[0006] A bipartite graph is established according to the input task. The bipartite graph includes task nodes and resource device nodes. There are edges between the task nodes and the resource device nodes indicating a matching relationship.
[0007] Finding augmenting paths in a bipartite graph;
[0008] Adjust the matching relationship of the edges in the augmented path to obtain the adjusted bipartite graph;
[0009] Construct a matching function representing the matching relationship between task nodes and resource device nodes in the adjusted bipartite graph;
[0010] The matching function is optimized according to the principle of maximizing the completion of task nodes or the utilization of resource device nodes to obtain the maximum matching of the adjusted bipartite graph;
[0011] Expand the maximum match according to the one-to-many or many-to-one relationship between task nodes and resource device nodes;
[0012] Obtain the task allocation solution corresponding to the expanded maximum matching.
[0013] On the other hand, the embodiment of the present application further provides a task allocation system, including:
[0014] A bipartite graph building module is used to build a bipartite graph according to an input task, wherein the bipartite graph includes task nodes and resource device nodes, and there are edges between the task nodes and the resource device nodes indicating a matching relationship;
[0015] Augmenting path finding module, used to find augmenting paths in bipartite graphs;
[0016] A matching relationship adjustment module is used to adjust the matching relationship of the edges in the augmented path to obtain an adjusted bipartite graph;
[0017] A matching function building module, used to build a matching function representing the matching relationship between task nodes and resource device nodes in the adjusted bipartite graph;
[0018] The maximum matching acquisition module is used to optimize the matching function according to the principle of maximizing the task node completion status or resource device node utilization status, and obtain the maximum matching of the adjusted bipartite graph;
[0019] A matching extension module, used to extend the maximum matching according to a one-to-many or many-to-one relationship between task nodes and resource device nodes;
[0020] The solution acquisition module is used to obtain the task allocation solution corresponding to the expanded maximum match.
[0021] On the other hand, an embodiment of the present application further provides a computer storage medium, in which a plurality of computer instructions are stored, and the plurality of computer instructions are used to enable a computer to execute the above method.
[0022] On the other hand, an embodiment of the present application further provides a computer program product, which implements the above method when the computer program is executed by a processor.
[0023] A task allocation method, system and computer storage medium in the present application have the following advantages:
[0024] A bipartite graph is used to establish the connection between tasks and resource equipment in the collaborative detection task, and an augmenting path is found in the bipartite graph to obtain the optimal task allocation result, which improves the balance and rationality of the collaborative detection task allocation result, thereby improving the utilization of resource equipment as well as the efficiency and performance of the entire execution system. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 A flowchart of a task allocation method provided in an embodiment of the present application;
[0027] Figure 2 A schematic diagram of a bipartite graph provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] Figure 1 A flowchart of a task allocation method is provided for an embodiment of the present application. An embodiment of the present application provides a task allocation method, including:
[0030] S100, establishing a bipartite graph according to an input task, the bipartite graph comprising task nodes and resource device nodes, and edges representing matching relationships between the task nodes and the resource device nodes.
[0031] For example, a bipartite graph such as Figure 2 As shown, the bipartite graph can be represented as G=(U,V,E), where G represents the bipartite graph, U is the set of task nodes, V is the set of resource device nodes, and E represents the edge. Assume that the set of task nodes U contains n task nodes, respectively represented as u 1, u 2,… u i ,…, u n , the set V of resource device nodes contains m resource device nodes, represented as v 1, v 2,…, v j ,…, v m. G includes all the tasks and resource equipment in the project and the relationships between them. U includes all the task nodes in the bipartite graph. Each task node represents a specific task that needs to be completed. For example, in the collaborative detection task, the task nodes include "guided path planning", "guided equipment", etc. V includes all the resource equipment nodes in the bipartite graph. Each resource equipment node represents a resource or equipment that can be used to complete the task. Taking the above-mentioned collaborative detection task as an example, the resource equipment nodes include "path planning algorithm", "drone or unmanned vehicle", etc. And there is no intersection between U and V, that is, , which ensures that task nodes and resource device nodes are different types of nodes, meaning that no node can be both a task and a resource device at the same time, thus maintaining the bipartite nature of the graph. E contains the set of all edges in the bipartite graph. In the bipartite graph, each edge e ∈E connects two vertices u ∈U and v ∈V, the existence of this edge indicates that the task u Resource devices can be used v For example, if there is an edge connecting the task node of "Guided Path Planning A" and the resource device node of "Path Planning Algorithm B", this means that the guided path planning A task can be performed by path planning algorithm B. The weight of the edge represents the cost of using a specific resource device to complete a specific task. If a resource device cannot complete a task, the edge is not established.
[0032] Furthermore, for a bipartite graph G, its adjacency matrix A is a n × m If the nodes in the matrix i and nodes j There is an edge between them, then A[ i ][ j ]=1, otherwise A[ i ][ j ] = 0. For a bipartite graph, its nodes can be divided into two sets U and V, so that all edges either connect nodes in U with nodes in V, or connect nodes in V with nodes in U. This will reflect a special pattern in the adjacency matrix, that is, the sub-matrices A[U][V] and A[V][U] contain all non-zero elements, while the sub-matrices A[U][U] and A[V][V] are all zero matrices.
[0033] After the bipartite graph is established, the connection relationship between the task nodes and the resource device nodes reflects the resource allocation of the project. By analyzing the bipartite graph, decision makers can identify which tasks can be completed by which resource devices and whether there are bottlenecks or redundancies in resource allocation.
[0034] In an embodiment of the present application, after establishing a bipartite graph, a corresponding cost function is also established for each edge. The cost function is used to represent the cost consumed when executing the allocation plan of task nodes and resource device nodes at both ends of the edge. After obtaining the maximum match, the cost function is also used to evaluate whether the cost of the task allocation plan corresponding to the maximum match is optimized.
[0035] The cost function is used to estimate the total cost of completing a specific task or project. It is usually constructed based on various factors that affect the cost and can provide decision makers with effective resource allocation and decision support under budget constraints. In real-world environments, the cost of a task or project is often affected by multiple factors. Therefore, the cost function usually contains multiple independent variables, each of which represents a key factor affecting the cost. By analyzing the relationship between these factors and the cost, decision makers can better understand the cost structure and find potential ways to reduce costs.
[0036] In this application, the cost function C(d,w,t)=a×d+b×w+c×t is a simplified model involving three core factors: distance d, resource equipment consumption w, and time t. This function shows that the total cost is a linear combination of these three factors, and each factor has a corresponding coefficient a, b, and c, which represent the contribution of the corresponding factor to the total cost.
[0037] Specifically, 1. Distance d: In many cases, the distance to complete the task will directly affect the cost. For example, the distance of the guided path planning task, the starting and ending positions and the end positions of the guided equipment task, etc., will increase the cost. 2. The consumption of resource equipment w: This refers to the number of resource equipment invested in order to complete the task. For example, in the guided equipment task, the resource equipment invested not only includes drones, but also navigation equipment and data transmission equipment. The more equipment used during the task execution, the higher the corresponding cost. 3. Time t: The time required to complete the task is also an important cost factor. The extension of time may lead to an increase in the cost of completing the task.
[0038] In actual situations, it is crucial to determine the ratio of the cost coefficients a, b and c of these factors. Based on a large amount of project practical experience, it is recommended that the ratio of a, b and c coefficients be 0.3:0.6:0.1, which means that the consumption w of resource equipment has the greatest impact on the total cost, followed by distance d, while the impact of time t is relatively small. This allocation method is suitable for projects where resource equipment costs dominate.
[0039] However, it should be noted that the ratio of the coefficients is not fixed and may vary depending on the characteristics of the specific project, the industry environment, or the market value of the resources. Therefore, when applying the cost function, decision makers should make adjustments based on actual conditions to ensure the accuracy and applicability of the cost model. With an accurate cost function, decision makers can better control the budget, optimize resource allocation, and improve the overall efficiency and profitability of the project. After constructing the cost function, decision makers can simulate cost changes under different scenarios and evaluate the impact of changes in various factors on the total cost. Ultimately, an effective cost function can help decision makers optimize task processes and select the most appropriate resources, equipment, and technology, thereby achieving optimal resource allocation and cost minimization.
[0040] Furthermore, in addition to adjusting the proportion of the coefficient according to the characteristics of the specific project, the industry environment or the market value of the resources, the weight of each coefficient can also be readjusted according to the contribution rate of each coefficient in the past period of time. Specifically, the weight of the adjusted coefficient can be represented by the product of the original value of the coefficient and the contribution rate in the past period of time.
[0041] S110, find an augmenting path in the bipartite graph.
[0042] Exemplarily, the method shown in steps S120 - S150 may be used to find the augmenting path.
[0043] S120, adjusting the matching relationship of the edges in the augmenting path to obtain an adjusted bipartite graph.
[0044] Exemplarily, the edges in the augmenting path include matched edges and unmatched edges. When adjusting the matching relationship of the edges on the augmenting path, all matched edges are changed to unmatched edges, and all unmatched edges are changed to matched edges.
[0045] A matched edge indicates that a matching relationship has been established between a task and a resource device, which means that the task has been assigned a corresponding resource device, or the resource device has been assigned to the corresponding task. This matching can be based on a variety of factors, such as task requirements, resource device capabilities, time and space constraints, etc. An unmatched edge indicates that a matching relationship has not yet been established, but there is a potential matching possibility. This means that a task has not yet found a suitable resource device, or a resource device has not yet been assigned to any task. This unmatched relationship may be due to resource constraints, time conflicts, or other reasons.
[0046] The augmenting path is a special path that is of great significance in a bipartite graph. It starts from an unmatched task and ends at another unmatched task. This method of finding an augmenting path is the traditional Hungarian algorithm. This means that the starting point and the end point of this path are both tasks that have not yet found suitable resources and devices. However, the edges on this path are alternately composed of matched edges and unmatched edges, which means that on this path, we can see that some tasks have found suitable resources and devices, while others have not. The significance of the augmenting path is that if the matching relationship on this path is adjusted, the originally unmatched tasks can find the corresponding resources and devices. Specifically, by adjusting the order of matched edges and unmatched edges, the originally unmatched tasks can find suitable resources and devices. This adjustment can improve resource utilization and ensure that each task can get the required resource and device support, thereby improving the efficiency and performance of the entire system.
[0047] Based on the traditional Hungarian algorithm, the present application has also improved it. Specifically, one aspect of the improvement is that after an augmented path is found, the matching relationship is adjusted by changing the matching state of the edges on the path. Specifically, all matched edges on the augmented path can be changed to unmatched edges, and all unmatched edges can be changed to matched edges. This operation actually realizes the exchange of matching relationships between tasks and resource devices, so that some nodes that were originally unable to obtain resources have opportunities, while some nodes that were originally matched have released resources.
[0048] Through the above adjustments, some of the previous high-cost matches may be replaced with low-cost matches. This is because on the augmented path, the original match may not be optimal, and there is a lower-cost match. Therefore, the adjusted matching scheme not only still ensures that all tasks have matching resource devices, but also reduces the total cost.
[0049] After completing the adjustment of a matching relationship, a new augmenting path may appear, which means there is room for further optimization. Therefore, it is necessary to continue to repeat the steps of finding augmenting paths and adjusting matching relationships until there are no augmenting paths in the bipartite graph. At this time, the matching solution obtained is a maximum matching of the current bipartite graph, and it is also the matching solution with the lowest cost.
[0050] S130, constructing a matching function representing the matching relationship between the task nodes and the resource device nodes in the adjusted bipartite graph.
[0051] For example, another aspect of the improvement of the traditional Hungarian algorithm is to construct a matching function M for representing the matching relationship between the task node U and the resource device node V after adjusting the augmented path matching relationship. The matching function M can be expressed as: M( ui , v j )= u i × v j , whose value is {0,1}. When the value of the matching function M is 1, it indicates that the task u i Can be used by resource devices v j Completed. When the value of the matching function M is 0, it indicates that the task u i Cannot be used by resource devices v j Finish.
[0052] S140, optimizing the matching function according to the principle of maximizing the task node completion status or resource device node utilization status, and obtaining the maximum matching of the adjusted bipartite graph.
[0053] For example, since the resources and equipment are limited, in order to maximize the task completion or resource equipment utilization, the matching function M may be constrained according to the resource equipment or other factors:
[0054] Max{Σ u i ,Σ v j}
[0055] Among them, the task u i and resource equipment v j The value of is 1 when the task is completed or the resource equipment is utilized, otherwise it is 0.
[0056] S150: Expand the maximum match according to the one-to-many or many-to-one relationship between the task nodes and the resource device nodes.
[0057] For example, in actual applications, a task may require multiple resource devices to complete, or a resource device may be used for multiple tasks. In this case, the matching function M can be expanded to u i × v j m ,in, v j m Represents the combination of resource devices. After adopting the extended matching function M, the extended maximum matching can be obtained.
[0058] S160, obtaining a task allocation solution corresponding to the expanded maximum match.
[0059] Exemplarily, the task allocation scheme is determined according to the connection relationship between the task nodes and the resource device nodes in the expanded maximum matching, that is, which tasks are allocated to which resource devices.
[0060] After obtaining the task allocation scheme corresponding to the expanded maximum match, it is necessary to analyze it to determine whether the task allocation scheme with the new matching relationship has truly reduced the total cost according to the cost function, and to check whether all tasks have been reasonably allocated resources and equipment. If the answer is yes, then this new task allocation scheme is closer to the expected optimization goal, that is, to achieve efficient use of resources without sacrificing the quality of task completion.
[0061] The following describes the task allocation method of the present application by taking the allocation of collaborative detection tasks as an example. In the collaborative detection scenario, the task allocation method of the present application includes the following steps:
[0062] Step 1: Take the guided path planning and guided equipment of the collaborative detection as task nodes, and the path planning algorithm and drones and unmanned vehicles as resource equipment nodes, and set edges between the task nodes and resource equipment nodes to form a bipartite graph. After setting edges between the task nodes and resource equipment nodes, it means that a certain guided path planning task is executed by a specific path planning algorithm, or a certain guided equipment task is executed by a specific drone or unmanned vehicle.
[0063] Step 2: Find all augmenting paths in the bipartite graph until there is no augmenting path in the bipartite graph. The specific method for finding the augmenting path can be the method of steps 3-6.
[0064] Step 3: Adjust the matching relationship of the edges in the augmented path to obtain the adjusted bipartite graph. After adjusting the matching relationship, the connection relationship between the task node and the resource device node will change. The guided path planning task originally performed by a specific path planning algorithm is changed to be performed by other path planning algorithms, or the guided device task originally performed by a specific drone or unmanned vehicle is changed to be performed by other drones or unmanned vehicles.
[0065] Step 4: construct a matching function that represents the matching relationship between the task nodes and the resource device nodes in the adjusted bipartite graph.
[0066] Step 5: Optimize the matching function according to the principle of maximizing the completion of task nodes or the utilization of resource equipment nodes to obtain the maximum matching of the adjusted bipartite graph. After optimizing the matching function, all guided path planning tasks and guided equipment tasks are executed by resource equipment, or all path planning algorithms and drones and unmanned vehicles are used to perform certain tasks.
[0067] Step 6, expand the maximum match according to the one-to-many or many-to-one relationship between task nodes and resource equipment nodes. Since there are multiple task nodes and resource equipment nodes, there is a situation where a guided path planning task can be executed by multiple path planning algorithms, or a guided equipment task can be executed by multiple drones or unmanned vehicles. There are also situations where multiple guided path planning tasks can be executed by one path planning algorithm, or multiple guided equipment tasks can be executed by one drone or unmanned vehicle. For such one-to-many or many-to-one situations between task nodes and resource equipment nodes, this application combines multiple resource equipment nodes that can be used to execute the same task, establishes a corresponding relationship with the task nodes, and also combines multiple tasks that can be executed by a resource equipment node, establishes a corresponding relationship with the resource equipment node, and completes the expansion of the maximum match.
[0068] Step 7, obtain the task allocation scheme corresponding to the expanded maximum match. The maximum match is selected from multiple possible matches, which has the most matching edges, that is, among all matches, the number of edges between the task nodes and resource device nodes established by the maximum match is the largest. Expanding the maximum match can further increase the number of edges. Therefore, after forming a task allocation scheme according to the maximum match, it can maximize the completion of tasks or maximize the utilization of resource devices, and achieve uniform distribution of tasks.
[0069] The present application also provides a task allocation system, which includes:
[0070] A bipartite graph building module is used to build a bipartite graph according to an input task, wherein the bipartite graph includes task nodes and resource device nodes, and there are edges between the task nodes and the resource device nodes indicating a matching relationship;
[0071] An augmenting path finding module is used to find an augmenting path in a bipartite graph and obtain the augmenting path;
[0072] A matching relationship adjustment module is used to adjust the matching relationship of the edges in the augmented path to obtain an adjusted bipartite graph;
[0073] A matching function building module, used to build a matching function representing the matching relationship between task nodes and resource device nodes in the adjusted bipartite graph;
[0074] The maximum matching acquisition module is used to optimize the matching function according to the principle of maximizing the task node completion status or resource device node utilization status, and obtain the maximum matching of the adjusted bipartite graph;
[0075] A matching extension module, used to extend the maximum matching according to a one-to-many or many-to-one relationship between task nodes and resource device nodes;
[0076] The solution acquisition module is used to obtain the task allocation solution corresponding to the expanded maximum match.
[0077] An embodiment of the present application further provides a computer storage medium, in which a plurality of computer instructions are stored. The plurality of computer instructions are used to enable a computer to execute the above method.
[0078] The embodiment of the present application also provides a computer program product, which implements the above method when the computer program is executed by a processor.
[0079] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0080] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these changes.
Claims
1. A task allocation method, characterized in that: include: A bipartite graph is established according to an input task, wherein the bipartite graph includes a task node and a resource device node, and an edge representing a matching relationship is provided between the task node and the resource device node; the weight of the edge represents the cost of using a specific resource device to complete a specific task, and if a certain resource device cannot complete a certain task, the edge corresponding to the task node and the resource device node is not established; Establishing a corresponding cost function for each edge of the bipartite graph, wherein the cost function is used to represent the cost consumed when executing the allocation scheme of the task nodes and the resource device nodes at both ends of the edge; After obtaining the expanded maximum match, evaluating whether the cost of the task allocation scheme corresponding to the expanded maximum match is optimized according to the cost function; wherein the cost function is expressed as C(d,w,t)=a×d+b×w+c×t, wherein d represents distance, w represents consumption of resource equipment, t represents time, a, b and c are coefficients of d, w and t respectively, and C(d,w,t) represents the cost function constructed by independent variables d, w and t; Finding an augmenting path in the bipartite graph; Adjusting the matching relationship of the edges in the augmenting path to obtain the adjusted bipartite graph; Constructing a matching function representing the adjusted matching relationship between the task node and the resource device node in the bipartite graph; The matching function is optimized according to the principle of maximizing the completion status of the task nodes or the utilization status of the resource device nodes to obtain the maximum matching of the adjusted bipartite graph; Expanding the maximum match according to a one-to-many or many-to-one relationship between the task nodes and the resource device nodes; A task allocation solution corresponding to the expanded maximum matching is obtained.
2. A task allocation method according to claim 1, characterized in that: The bipartite graph is represented by G=(U, V, E), where G represents the bipartite graph, U is the set of the task nodes, V is the set of the resource device nodes, and E represents the edge.
3. A task allocation method according to claim 1, characterized in that: After evaluating whether the cost of the task allocation scheme is optimized, checking whether all tasks in the task allocation scheme are allocated with resource devices.
4. A task allocation method according to claim 1, characterized in that: The edges in the augmenting path include matched edges and unmatched edges. When adjusting the matching relationship of the edges on the augmenting path, all the matched edges are changed into unmatched edges, and all the unmatched edges are changed into matched edges.
5. A task allocation method according to claim 1, characterized in that: When searching for the augmenting path, starting from one unmatched task node and ending at another unmatched task node, the augmenting path is composed of alternating matched edges and unmatched edges.
6. A system using the task allocation method according to any one of claims 1 to 5, characterized in that: include: A bipartite graph establishment module is used to establish a bipartite graph according to an input task, wherein the bipartite graph includes a task node and a resource device node, and an edge representing a matching relationship is provided between the task node and the resource device node; the weight of the edge represents the cost of using a specific resource device to complete a specific task, and if a certain resource device cannot complete a certain task, the edge corresponding to the task node and the resource device node is not established; Establishing a corresponding cost function for each edge of the bipartite graph, wherein the cost function is used to represent the cost consumed when executing the allocation scheme of the task nodes and the resource device nodes at both ends of the edge; After obtaining the expanded maximum match, evaluating whether the cost of the task allocation scheme corresponding to the expanded maximum match is optimized according to the cost function; wherein the cost function is expressed as C(d,w,t)=a×d+b×w+c×t, wherein d represents distance, w represents consumption of resource equipment, t represents time, a, b and c are coefficients of d, w and t respectively, and C(d,w,t) represents the cost function constructed by independent variables d, w and t; An augmenting path finding module, used for finding an augmenting path in the bipartite graph to obtain the augmenting path; A matching relationship adjustment module, used for adjusting the matching relationship of the edges in the augmented path to obtain the adjusted bipartite graph; A matching function construction module, used to construct a matching function representing the matching relationship between the task node and the resource device node in the adjusted bipartite graph; A maximum matching acquisition module is used to optimize the matching function according to the principle of maximizing the completion of the task nodes or the utilization of the resource device nodes, so as to obtain the maximum matching of the bipartite graph after adjustment; A matching extension module, used for extending the maximum match according to a one-to-many or many-to-one relationship between the task nodes and the resource device nodes; The solution acquisition module is used to obtain a task allocation solution corresponding to the expanded maximum match.
7. A computer storage medium, characterized in that: The computer storage medium stores a plurality of computer instructions, and the plurality of computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 5.
8. A computer program product, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
