Method, apparatus and related device for multi-task cooperative allocation of non-terrestrial networks

By optimizing task allocation in non-terrestrial networks using a multi-agent reinforcement learning model, the problems of terrestrial network failures and communication congestion in remote areas are solved, and efficient collaborative allocation and processing of tasks are achieved.

CN117472563BActive Publication Date: 2026-11-27BEIJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311244960.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2026-11-27
Estimated Expiration
2043-09-25

AI Technical Summary

Technical Problem

In emergency situations, when terrestrial networks fail or in remote areas, existing non-terrestrial networks are inefficient at completing tasks, and wireless network communication is prone to congestion, leading to unreasonable task allocation.

Method used

A multi-agent reinforcement learning model is adopted, and the node allocation decision is trained through the QMIX algorithm to optimize the total collaborative computing latency of the task set, select the optimal path and nodes, including access, collaboration and aggregation nodes, and construct a Markov game model to determine the reward mechanism and optimize task allocation.

Benefits of technology

It improves the task processing efficiency and data processing capabilities of non-terrestrial networks, reduces communication pressure, and enables reasonable task allocation and efficient collaborative computing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117472563B_ABST
    Figure CN117472563B_ABST
Patent Text Reader

Abstract

The present application relates to the field of communication, and provide a kind of multitask cooperative distribution method, device and related equipment of non-ground network, by constructing for non-ground network, with minimizing the total cooperative computing delay of task as optimization goal, with cooperation node and aggregation node as optimization variable optimization problem, wherein total cooperative computing delay includes the uplink transmission delay of the task, distribution delay, computing processing delay, aggregation delay, waiting delay and backhaul delay, the waiting delay includes task stack waiting delay and transmission stack waiting delay, and it is solved using multi-agent reinforcement learning algorithm, in solving process, construct initial agent reinforcement learning model, then based on QMIX algorithm it is iteratively trained to obtain trained multi-agent reinforcement learning model, for all subtasks in the task sent by user equipment are carried out node distribution, and optimal path is planned, can improve the efficiency of non-ground network processing task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus and related equipment for multi-task collaborative allocation in non-terrestrial networks. Background Technology

[0002] Due to the limitations of terrestrial networks, wireless networks can be disrupted in emergency situations when existing facilities fail, and expanding terrestrial networks in remote areas is costly. Therefore, non-terrestrial networks (NTN) systems have become an effective solution. They enhance emergency response, network coverage, and service access capabilities in remote areas.

[0003] When individual nodes lack sufficient resources or when fluctuating business demands lead to node overload or task timeouts, wireless network communication congestion causes numerous inconveniences. Only through continuous optimization strategies can NTN achieve efficient collaborative allocation of task execution. Therefore, finding a better task allocation strategy becomes a critical issue. Summary of the Invention

[0004] This invention provides a multi-task collaborative allocation method, apparatus, and related equipment for non-terrestrial networks, in order to solve the problem of low task completion efficiency in existing non-terrestrial networks and achieve efficient operation of non-terrestrial networks.

[0005] This invention provides a multi-task collaborative allocation method for non-terrestrial networks, comprising:

[0006] The system receives N task sets sent by N user equipment in the current time slot; N is a positive integer greater than 0; each task set includes multiple subtasks; the non-terrestrial network includes multiple nodes, including access nodes, cooperative nodes, and aggregation nodes; the cooperative nodes are used to receive the subtasks sent by the access nodes and perform calculations on the subtasks; the aggregation nodes are used to receive and aggregate the processing results of all subtasks in the task set.

[0007] Based on the trained multi-agent reinforcement learning model, node allocation decisions and path allocation decisions are determined for each subtask; the node allocation decisions include: selecting cooperative nodes and aggregation nodes from multiple nodes; the path allocation decisions include: selecting the optimal path between the access node and the cooperative node and selecting the optimal path between the cooperative node and the aggregation node;

[0008] The training process of the multi-agent reinforcement learning model includes: training the constructed initial multi-agent reinforcement learning model based on the QMIX algorithm;

[0009] The initial multi-agent reinforcement learning model is used to solve the optimization problem, which aims to minimize the total collaborative computation latency of the task set, with the collaborating nodes and the aggregation nodes as optimization variables.

[0010] The total collaborative computing latency includes the uplink transmission latency, allocation latency, computation processing latency, aggregation latency, waiting latency, and return latency of the task set. The waiting latency includes the task stack waiting latency and the transmission stack waiting latency.

[0011] According to the present invention, a multi-task collaborative allocation method for non-terrestrial networks is provided, wherein the subtask includes task information; the task information includes: computing resource requirements, storage resource requirements, computing processing latency, transmission data volume, and processed data volume; the path attributes of the path include the path hop count and bandwidth.

[0012] The selection of a collaborative node includes: using a first binary variable to represent the selected state of the collaborative node; when the collaborative node is selected as the target collaborative node for computation processing of the target subtask, the first binary variable corresponding to the target subtask is marked as 1, otherwise it is marked as 0;

[0013] The selection of the aggregation node includes: using a second binary variable to represent the selected state of the aggregation node; when the collaborative aggregation is selected as the target aggregation node for receiving and aggregating the target task set, the second binary variable corresponding to the target task set is marked as 1, otherwise it is marked as 0.

[0014] According to the multi-task collaborative allocation method for non-terrestrial networks provided by the present invention, the construction process of the initial multi-agent reinforcement learning model includes: determining the action information, state information and reward corresponding to the Markov game model.

[0015] The present invention provides a method for multi-task collaborative allocation in a non-terrestrial network.

[0016] The process of determining the action information corresponding to the Markov game model includes: determining the joint action space of all agents based on the node allocation decision of each agent;

[0017] The process of determining the state information corresponding to the Markov game model includes: determining the local observation information of each agent, wherein the local observation information includes the number of hops of the optimal path between the current agent and other nodes, the number of user devices associated with the current agent, and the task information of the task set received by the current agent; and determining the global state of all agents based on the local observation information of each agent.

[0018] Determining the reward corresponding to the Markov game model includes: determining the reward based on the node allocation decision and the total collaborative computation delay.

[0019] According to a multi-task collaborative allocation method for a non-terrestrial network provided by the present invention, the step of determining the reward based on the node allocation decision and the total collaborative computing delay includes:

[0020] The total collaborative computing latency is converted into task completion success rate;

[0021] The average task distribution across all nodes is determined based on the node allocation decision for each access node.

[0022] Global network performance is determined based on the task completion success rate and the average task distribution.

[0023] The reward is determined based on the global network performance.

[0024] According to the multi-task collaborative allocation method for non-terrestrial networks provided by the present invention, the constraints of the optimization problem include a first constraint, a second constraint, a third constraint, a fourth constraint, a fifth constraint, and a sixth constraint.

[0025] The first constraint is that each subtask can only be assigned to a single node for computation.

[0026] The second constraint is that the total number of nodes allocated to all subtasks is equal to the total number of subtasks of the user equipment.

[0027] The third constraint is to ensure that the aggregation node of each user equipment is unique;

[0028] The fourth constraint is a path selection restriction related to the allocation process;

[0029] The fifth constraint is a path selection restriction related to the aggregation process;

[0030] The sixth constraint is a path selection restriction related to the backhaul process;

[0031] The fourth to sixth constraints are used to ensure that the transmission path between the starting point and the ending point is unique.

[0032] According to a multi-task collaborative allocation method for a non-terrestrial network provided by the present invention, the step of selecting the optimal path between the access node and the cooperating node and the optimal path between the cooperating node and the aggregation node includes:

[0033] The optimal path is determined by selecting the optimal path between the access node and the collaborating node and the optimal path between the collaborating node and the aggregation node based on the Floyd algorithm.

[0034] The present invention also provides a multi-task collaborative allocation device for non-terrestrial networks, comprising:

[0035] A receiving module is used to receive N task sets sent by N user equipment in the current time slot; N is a positive integer greater than 0; the task set includes multiple subtasks; the non-terrestrial network includes multiple nodes, including access nodes, cooperative nodes, and aggregation nodes; the cooperative nodes are used to receive the subtasks sent by the access nodes and perform calculations on the subtasks; the aggregation nodes are used to receive and aggregate the processing results of all subtasks in the task set;

[0036] The decision module is used to determine the node allocation decision and path allocation decision for each subtask based on the trained multi-agent reinforcement learning model; the node allocation decision includes: selecting a cooperative node and an aggregation node from multiple nodes; the path allocation decision includes: selecting the optimal path between the access node and the cooperative node and selecting the optimal path between the cooperative node and the aggregation node;

[0037] The training process of the multi-agent reinforcement learning model includes: training the constructed initial multi-agent reinforcement learning model based on the QMIX algorithm;

[0038] The initial multi-agent reinforcement learning model is used to solve the optimization problem, which aims to minimize the total collaborative computation latency of the task set, with the collaborating nodes and the aggregation nodes as optimization variables.

[0039] The total collaborative computing latency includes the uplink transmission latency, allocation latency, computation processing latency, aggregation latency, waiting latency, and return latency of the task set. The waiting latency includes the task stack waiting latency and the transmission stack waiting latency.

[0040] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the multi-task collaborative allocation method for non-terrestrial networks as described in any of the preceding claims.

[0041] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-task collaborative allocation method for non-terrestrial networks as described in any of the preceding claims.

[0042] The present invention provides a multi-task collaborative allocation method, apparatus, and related equipment for non-terrestrial networks. It constructs an optimization problem for non-terrestrial networks, with the goal of minimizing the total collaborative computation latency of tasks, and uses cooperating nodes and aggregation nodes as optimization variables. The problem is solved using a multi-agent reinforcement learning algorithm. During the solution process, an initial agent reinforcement learning model is constructed, and then iteratively trained using the QMIX algorithm to obtain a trained multi-agent reinforcement learning model. This model is used to allocate nodes to all sub-tasks in tasks sent by user equipment and to plan the optimal path. This improves the data processing capabilities of non-terrestrial networks. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0044] Figure 1 This is a flowchart illustrating a multi-task collaborative allocation method for non-terrestrial networks provided in an embodiment of the present invention;

[0045] Figure 2 An embodiment of the present invention provides a schematic diagram of the flow of a task set in a non-terrestrial network;

[0046] Figure 3 This is a schematic diagram of simulation results of the average task latency consumption of different schemes provided in an embodiment of the present invention;

[0047] Figure 4 This is a schematic diagram of the structure of a multi-task collaborative allocation device for a non-terrestrial network provided in an embodiment of the present invention;

[0048] Figure 5 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0050] The following is combined with Figures 1 to 5 This invention describes a multi-task collaborative allocation method, apparatus, and related equipment for non-terrestrial networks.

[0051] In related technologies, when terrestrial networks are congested, non-terrestrial networks (NTNs) are often used to alleviate communication pressure. However, with the increase in user devices and service demands, NTNs also face significant communication pressure. How to meet the needs of more user devices can be alleviated by rationally calculating and allocating the massive tasks sent by user devices. Therefore, how to collaboratively calculate and rationally allocate the massive tasks sent by user devices has become a problem that is constantly being explored in this field.

[0052] To solve the above problems, such as Figure 1 As shown, this embodiment of the invention provides a multi-task collaborative allocation method for non-terrestrial networks, which may include:

[0053] Step 110: Receive N task sets sent by N user equipment in the current time slot; N is a positive integer greater than 0; the task set includes multiple subtasks; the non-terrestrial network includes multiple nodes, including access nodes, cooperative nodes, and aggregation nodes; the cooperative nodes are used to receive the subtasks sent by the access nodes and perform calculations on the subtasks; the aggregation nodes are used to receive and aggregate the processing results of all subtasks in the task set.

[0054] Step 120: Based on the trained multi-agent reinforcement learning model, determine the node allocation decision and path allocation decision for each subtask; the node allocation decision includes: selecting cooperative nodes and aggregation nodes from multiple nodes; the path allocation decision includes: selecting the optimal path between the access node and the cooperative node and selecting the optimal path between the cooperative node and the aggregation node.

[0055] The training process of the multi-agent reinforcement learning model includes: training the initial multi-agent reinforcement learning model based on the QMIX algorithm;

[0056] The initial multi-agent reinforcement learning model is used to solve the optimization problem, which aims to minimize the total collaborative computation latency of the task set, with the collaborating nodes and aggregation nodes as optimization variables.

[0057] Total collaborative computing latency includes uplink transmission latency, allocation latency, computation processing latency, aggregation latency, waiting latency, and return latency of the task set. Waiting latency includes task stack waiting latency and transmission stack waiting latency.

[0058] In this embodiment, an optimization problem is constructed for non-terrestrial networks, i.e., NTN, and then a multi-agent reinforcement learning algorithm is used to solve the optimization problem.

[0059] Solving optimization problems using multi-agent reinforcement learning algorithms can specifically include: constructing an initial (to-be-trained) multi-agent reinforcement learning model, and then training the constructed initial multi-agent reinforcement learning model based on the QMIX algorithm to obtain a trained multi-agent reinforcement learning model.

[0060] After obtaining the trained multi-agent reinforcement learning model, the trained multi-agent reinforcement learning model is loaded into each agent. After each agent receives N task sets sent by N user devices in the current time slot, it uses the trained multi-agent reinforcement learning model to reasonably allocate each sub-task in each task set.

[0061] In this embodiment, a single intelligent agent can be an access node in a non-terrestrial network (NTN), and further, the access node can be a drone.

[0062] The network structure of the non-terrestrial network NTN according to an embodiment of the present invention will be described below.

[0063] Specifically, multiple network nodes (hereinafter referred to as nodes) and multiple user equipment (UEs) can be deployed in a non-terrestrial network (NTN).

[0064] User equipment can include various communication devices that can access or connect to non-terrestrial networks (NTNs), such as mobile phones, call centers, surveillance cameras, etc.

[0065] The nodes in an NTN can be denoted as NN, and each NTN node has computation and storage capabilities.

[0066] In a specific embodiment, each User Equipment (UE) can connect to the nearest NTN node. Each UE can send multiple tasks to the nearest NTN node, and the tasks sent by each UE to the nearest NTN node in time slot t are denoted as a task set, which may include multiple subtasks. That is, in the current time slot, each UE corresponds to one task set.

[0067] All NTN nodes (NN) can be represented by the set N = {1, 2, ..., N}. All user equipment (UE) can be represented by the set U = {1, 2, ..., U}.

[0068] Let the u-th user equipment be UE u, and its access node be NN u. acc If ∈N, then the set of user equipment (UEs) associated with NN n can be represented as U n ={u:u∈U,u acc =n}.

[0069] The task set that the user equipment (UE) u sends in the current time slot can be determined by M. u This indicates that subtasks can be generated by sub... u It means that, among them, sub u ∈M u .

[0070] Specifically, a subtask may include task information (also known as task attributes). Furthermore, the task information may include: computing resource requirements, storage resource requirements, computing processing latency, amount of data transmitted, and amount of data after computing processing.

[0071] In some embodiments, subtask u Task information can be derived from the following set

[0072]

[0073] express,

[0074] in, This indicates the task information for the subtask. Indicates computing resource requirements, Indicates storage resource requirements, This indicates the computation and processing latency of the subtask. Indicates the amount of data transferred by the subtask. This indicates the amount of data processed by the subtask.

[0075] In this embodiment, it is assumed that there is no time dependency between subtasks. Indicates task M u The maximum tolerable latency. Due to the resource heterogeneity of non-terrestrial network nodes, container and virtualization technologies are used to support the allocation of resources for non-terrestrial network nodes. The amount of resources required by the subtask is represented by the number of virtual resource units.

[0076] In a non-terrestrial network (NTN), the transmission process of a subtask sent by an access node to a cooperating node requires passing through multiple non-terrestrial network nodes (NN).

[0077] Assume there are at most P available routing paths between any two N and N', and the hop count and bandwidth of the p-th routing path between Nn and Nn′ are respectively determined by Hop nn′p and W nn′p This means that, with a constant data size, an increase in the number of users occupying the same bandwidth path will lead to a decrease in the bandwidth distribution per user. This reduces latency, thus increasing transmission delay. Of course, this embodiment can assume that there will be no device or link failures in the network.

[0078] In a specific embodiment, such as Figure 2As shown, the user equipment (UE) u sends its task set M through the uplink path. u Send to the nearest access node u acc Then, each subtask is transmitted from the access node to the collaborating node via a path for computation processing. This transmission process is the allocation process of the collaborating node for the subtask. For example, in... Figure 2 In the task set M u Subtask 1 in the task set M can be assigned to collaborating node 1 for computation. u Subtask 2 in the task set M can be assigned to collaborating node 2 for computation. u Subtask 3 can be assigned to collaborating node 3 for computation; after the subtask is completed, the processing result of the subtask is sent to the aggregation node and finally returned to the access node.

[0079] Therefore, in this embodiment, the collaborating node can be used to receive subtasks sent by the access node and perform calculations on the subtasks; the aggregation node can be used to receive and aggregate the processing results of all subtasks included in the task set.

[0080] Specifically, regarding node allocation decisions, selecting collaborating and aggregating nodes from multiple nodes can include:

[0081] After receiving the task set, the current access node selects a collaborating node from other nodes besides itself.

[0082] Select the aggregation node from multiple nodes.

[0083] In other words, in this embodiment, for a certain task set M u In other words, the access node receives the task set M u Going forward, collaborating nodes and access nodes cannot be the same node. Of course, access nodes and collaborating nodes may pass through other nodes, but aggregation nodes can be the same node as access nodes.

[0084] However, for the u-th node, it can serve as a collaborating node when other access nodes, such as the i-th node, assign subtasks. Here, i ≠ u.

[0085] Collaborating nodes and aggregation nodes may also pass through other nodes.

[0086] Specifically, after the initial multi-agent reinforcement learning model is trained, it can be applied to each access node to execute node allocation decisions. For example, an access node can be a drone, a collaborating node can be a drone, and an aggregation node can also be a drone.

[0087] Furthermore, the node allocation decision may include a first allocation decision and a second allocation decision. The first allocation decision is a task allocation decision: selecting a target collaborative node from other nodes besides the access node that receives the task set, and assigning each subtask of the task set to the corresponding target collaborative node. The second allocation decision is a task aggregation decision: selecting an aggregation node from multiple nodes to receive and aggregate the processing results of all subtasks in the task set.

[0088] In this embodiment, considering the computational and storage resource requirements of the tasks, the access node and collaborating nodes are set as different nodes for a certain task set received by the access node, which can ensure the reasonable allocation and computation of tasks. Furthermore, when aggregating the task set, while ensuring the computational and storage resource requirements of the tasks, the aggregation node can be set as the same node as the access node, which also expands the range of choices for node allocation decisions, further improves the rationality and flexibility of multi-task collaborative allocation, and helps to improve the carrying efficiency of non-terrestrial networks.

[0089] In an exemplary embodiment, selecting a collaborating node includes: using a first binary variable to represent the selected state of the collaborating node; when a collaborating node is selected as a target collaborating node for computation processing of a target subtask, the first binary variable corresponding to the target subtask is marked as 1, otherwise it is marked as 0;

[0090] Selecting an aggregation node includes: using a second binary variable to represent the selected state of the aggregation node; when a collaborative aggregation is selected as the target aggregation node for receiving and aggregating the target task set, the second binary variable corresponding to the target task set is marked as 1, otherwise it is marked as 0.

[0091] In some embodiments, it is assumed that all User Equipment (UE) sends task requests simultaneously in each time slot. The first allocation decision can be set to... The first binary variable is Indicates the subtask of UE u. u Whether to assign it to the collaborating node n. The second assignment decision can be set as follows: The second binary variable Represents task set M u Is the aggregation node a node?

[0092] After determining the cooperating and aggregating nodes for the task set through node allocation decisions, the collaborative allocation process for the task set, based on its location in the non-terrestrial network, can be divided into three stages: transmission path, allocation path, aggregation path, and return path. The allocation path starts at the user equipment (UE) access node and ends at the cooperating node. Because the task set includes multiple sub-tasks, there can be multiple allocation paths, determined by the first allocation decision. After the sub-tasks are completed, the aggregation path starts at the cooperating node and ends at the aggregating node, determined by the second allocation decision. The return path starts at the aggregating node and ends at the access node.

[0093] Based on the path transmission analysis of the above tasks, it is evident that the selection of different collaborating nodes and aggregation nodes affects the latency of the data transmission path. Conversely, to find a better node allocation strategy, the latency model in this embodiment is constructed to further address the optimization problem.

[0094] The bandwidth resource of the nth NTN node NN is B. n Hz. User equipment (UE) associated with the NTN node NN is evenly allocated the node's bandwidth resources; therefore, UE u and access node u... acc The signal-to-noise ratio is Where p u Indicates the transmission power of the user equipment (UE). The access node u represents the user equipment (UE) u. acc Channel gain, σ 2 This represents the power of additive white Gaussian noise. When user equipment (UE) u accesses access node u... acc At that time, the uplink data transmission rate of UE u can be expressed as

[0095] in, Is it related to the current access point u acc The number of associated user devices.

[0096] In the process of collaborative allocation or collaborative computation of a task set, the latency model represents the total collaborative computation latency of the task set. The construction process of the latency model includes:

[0097] Step 210: Determine the uplink transmission delay of the task set.

[0098] The u-th user equipment (UE) u is connected to the access node u. acc The uplink transmission delay includes the transmission delay caused by port rate and propagation delay. c represents the propagation speed of the wireless channel. Represents User Equipment (UE) u and Access Node u accThe physical distance between them. Therefore, the data input to the task set is transmitted to u. acc The uplink transmission delay can be expressed as

[0099] This indicates the result of the task set computation and processing from u acc The latency to UE u. Since the downlink bandwidth of the user equipment (UE) is much higher than the uplink bandwidth, the amount of data after task computation and processing is usually much smaller than before. Therefore, the amount of data processed by the task can be ignored from the access node u. acc The downlink transmission delay returned to the user equipment (UE).

[0100] Therefore, in this embodiment, uplink transmission delay is selected as part of the delay model, which is also an important component that distinguishes it from the delay models in related technologies.

[0101] Step 220: Determine the allocation delay.

[0102] The allocation delay is for all subtasks from access node u acc The transmission latency is allocated to their respective target collaborative nodes, and each subtask has its own corresponding target collaborative node.

[0103] In one specific embodiment, the subtask u From access node u acc The transmission delay allocated to the cooperating node n is expressed as follows:

[0104]

[0105] in, Subtask u Allocation delay;

[0106] Indicates access node u acc Should the subtask be sub-task? u Assign node n to make it a collaborating node;

[0107] Indicates access node u acc Does a reachable path exist between node n and node ? (Are the two points connected?)

[0108] binary variables This indicates that in the allocation of subtasks... u Whether to select the p-th path during the data processing is used as the route allocation to determine the starting and ending points.

[0109] Indicates access node u accThe number of hops in the p-th routing path between node n; Subtask u Data volume Indicates access node u acc The transmission bandwidth of the p-th routing path between node n and node n.

[0110] Step 230: Determine the calculation and processing delay.

[0111] Provided that the requirements for computing and storage resources are met, the computational processing latency of each subtask is equal to the computational processing latency of the corresponding target collaborative node.

[0112]

[0113] In practical implementation, computational processing delay It can be set in advance.

[0114] Step 240: Determine the aggregation delay.

[0115] subtask u The latency for sending the processed results to the aggregation node after the calculation is complete is:

[0116]

[0117] in, Indicates aggregation delay;

[0118] Indicates access node u acc Should the subtask be sub-task? u Assign node n to make it a collaborating node;

[0119] Indicates whether user equipment u selects node n as the aggregation node;

[0120] This represents the distance from the collaborating node n to the aggregation node. Is there a reachable path between the two points (are the two points connected)?

[0121] binary variables Indicates the aggregation of subtasks u Whether to select the p-th path during the data processing process, as the aggregated path that determines the start and end points;

[0122] Represents the distance from collaborating node n to the aggregation node. The number of hops in the p-th route between them; Subtask u Data volume Represents the distance from collaborating node n to the aggregation node. The transmission bandwidth of the p-th routing path between them.

[0123] Step 250: Determine the return latency.

[0124] The return latency is when task M u After all the computational and processing results reach the aggregation node, they are transmitted to the access node u. acc The time delay can be expressed as follows:

[0125]

[0126] in, Indicates the return latency;

[0127] Indicates whether user equipment u selects network node n as the aggregation node;

[0128] Indicates from to the aggregation node To access node u acc Is there a reachable path between the two points (are the two points connected)?

[0129] Represents an aggregate node To access node u acc The number of hops in the p-th route between them; Subtask u Data volume Represents a node to node u acc The transmission bandwidth of the p-th routing path between them.

[0130] 260. Determine the waiting time delay.

[0131] Waiting latency can include task stack wait and transport stack wait. Task stack wait refers to the situation where, if some tasks arrive at a node and the node's resources are overloaded, the tasks will be placed in the node's task waiting queue, awaiting execution until the previous batch of tasks has been processed in parallel. n The total computational resources for node n are represented by binary variables. This indicates that node n in the current time slot t has remaining available resources, i.e.

[0132]

[0133] otherwise

[0134] To mitigate the error probability caused by the instability of NTN networks, the transport stack is defined as follows: when data is transmitted over the network, its queuing delay needs to be considered, and binary variables... Indicates the current time slot t, with equal bandwidth. Less than the congestion threshold λ, when At that time, the data of the transmitted task will enter the transmission waiting queue in sequence. Therefore, the waiting delay is expressed as:

[0135]

[0136] Therefore, the total collaborative computing latency is the latency between the time slot when the user equipment sends the task and the time slot when the access node receives the processed task.

[0137] Considering that the aggregation latency depends on M u The latest subtask to arrive at the aggregation node, task M u The collaboration latency is: Specifically, collaboration latency refers to the latency for task set M. u All selected collaborative nodes are found based on the weakest link effect. The collaboration node with the slowest completion latency has a collaboration latency equal to the above latency plus the latency returned by the aggregation node to the access node. sum.

[0138] Since the downlink transmission latency is very small, it can be ignored. Simultaneously, the latency of task allocation and route selection decisions is also ignored. Therefore, task M... u Total collaborative computation delay from sending the task to receiving the result

[0139] After determining the total collaborative computation delay of the task, the optimization problem is constructed with the joint optimization objective of optimizing the task completion success rate and the average degree of task allocation among all network nodes, and with the collaborative nodes and aggregation nodes as optimization variables. The optimization problem is then solved using a multi-agent reinforcement learning algorithm.

[0140] Solving optimization problems using multi-agent reinforcement learning algorithms, specifically including:

[0141] An initial multi-agent reinforcement learning model was constructed based on the QMIX algorithm;

[0142] The initial multi-agent reinforcement learning model is trained to obtain a well-trained multi-agent reinforcement learning model.

[0143] The node allocation decision and path allocation decision for each subtask are determined based on the trained multi-agent reinforcement learning model.

[0144] In this embodiment, an optimization problem is constructed for non-terrestrial networks, with the joint optimization objectives of optimizing task completion success rate and the average task allocation of all network nodes, and with cooperating nodes and aggregation nodes as optimization variables. The total collaborative computation latency includes uplink transmission latency, allocation latency, computation processing latency, aggregation latency, waiting latency, and backhaul latency. The waiting latency includes task stack waiting latency and transmission stack waiting latency. The problem is solved using a multi-agent reinforcement learning algorithm. During the solution process, an initial agent reinforcement learning model is constructed, and then iteratively trained based on the QMIX algorithm to obtain a trained multi-agent reinforcement learning model. This model is used to allocate nodes to all subtasks in the task sent by the user equipment and to plan the optimal path, thereby improving the efficiency of task processing in non-terrestrial networks.

[0145] In an exemplary embodiment, the process of constructing the initial multi-agent reinforcement learning model includes: determining the action information, state information, and reward corresponding to the Markov game model.

[0146] In this embodiment, since multi-agent reinforcement learning algorithms include a variety of specific algorithms, in order to better solve the technical problems, in this embodiment of the invention, for the initial multi-agent reinforcement learning model, the important elements in the Markov game model are constructed, including the actions, states and rewards corresponding to the Markov game.

[0147] Furthermore, the action information corresponding to the Markov game model is determined, including: determining the joint action space of all agents based on the node allocation decision of each agent;

[0148] Determine the state information corresponding to the Markov game model, including: determining the local observation information of each agent, which includes the number of hops of the optimal path between the current agent and other nodes, the number of user devices associated with the current agent, and the task information of the task set received by the current agent; and determining the global state of all agents based on the local observation information of each agent.

[0149] Determine the reward corresponding to the Markov game model, including: determining the reward based on node allocation decision and total collaborative computing latency.

[0150] The reward is determined based on the total collaborative computing latency, including: converting the total collaborative computing latency into task completion success rate; determining the average task allocation degree of all nodes based on the node allocation decision of each access node; determining the global network performance based on the task completion success rate and the average task allocation degree; and determining the reward based on the global network performance.

[0151] The specific calculation process is as follows: the variance of the total number of subtasks assigned to each node, which can also be called the resource balance index of all nodes in a non-terrestrial network, is expressed as follows:

[0152]

[0153] The denominator is the sum of subtasks in the task sets of all user devices, called the total number of subtasks. The numerator is FP, a set where the Nth element represents the total number of subtasks assigned to the nth network node. The variance is the "population mean" in the mathematical variance calculation formula, which is the number of subtasks that each network node is assigned to, that is, the total number of subtasks divided by the number of network nodes.

[0154] Specifically, in order to better solve technical problems, the optimization objective can be transformed into maximizing the global network performance.

[0155] The global network performance (GNP) is maximized, as expressed by the following formula (1):

[0156]

[0157] in,

[0158]

[0159] N is the total number of nodes;

[0160] The denominator ∑ in formula (2) u∈U |M u | represents the total number of subtasks;

[0161] In formula (1), the first term This represents the task completion success rate of all user devices in the current time slot.

[0162] In formula (1), the second term The average task allocation level represents the degree of task distribution among all nodes in the NTN network, also known as the resource balance index; α is the first weight parameter; β is the second weight parameter; the weights of the balancing parameters α and β are adjusted according to the actual task completion success rate and the average task allocation level, so that their importance is roughly the same. In specific implementation, the size of α and β can be determined according to the actual values.

[0163]

[0164]

[0165]

[0166]

[0167]

[0168]

[0169]

[0170] The first constraint C1 is that each subtask can only be assigned to a single node for computation, that is, no two subtasks in the same task set can be assigned to the same target collaborative node for computation.

[0171] The second constraint C2 is that the total number of nodes allocated to all subtasks equals the total number of subtasks on the user device |M u In other words, a single node cannot simultaneously complete multiple subtasks within the task set of user device u.

[0172] The third constraint, C3, restricts each user device to have a unique aggregation node.

[0173] The fourth constraint, C4, is a path selection restriction related to the allocation process;

[0174] The fifth constraint, C5, is a path selection restriction related to the polymerization process;

[0175] The sixth constraint, C6, is a path selection restriction related to the backhaul process;

[0176] C4, C5, and C6 are used to ensure that the transmission path between the origin and the destination is unique.

[0177] The task decision-making process is decomposed into two key parts: selecting cooperative nodes for allocation and aggregation, and determining the optimal path between the source and target nodes. Various factors must be considered when making allocation and aggregation decisions, including network node congestion, transmission path distance and bandwidth, and overall task completion time. This complexity necessitates the use of experience-driven deep reinforcement learning algorithms. To model the multi-agent reinforcement learning problem of UAV cooperative computing, the following key elements of a Markov game model are defined:

[0178] 1) Action information: In time slot t, each access node u acc Received task set M u Then, the actions executed by the intelligent agent are:

[0179] The first allocation decision is represented as: Indicates whether the agent unloads the subtask. u ∈Mu To the collaborating node n (n≠u) acc ).

[0180] The second allocation decision is expressed as: Indicates whether the agent chooses As task set M u The aggregation node.

[0181] Each agent u i The decision-making process is defined as the action space of multiple agents. The joint action of all agents is defined as a(t) = (a1(t), a2(t), ..., a... N (t)).

[0182] 2) State information: In the NTN network, the local observation information of each agent in time slot t may include: the number of hops of the optimal path between the current agent and other nodes, the number of user devices associated with the current agent, and the task information corresponding to the current agent.

[0183] In some embodiments, local observation information can be represented as

[0184]

[0185] in, This is local observation information;

[0186] hop count to other nodes It can be represented as:

[0187]

[0188] With the current intelligent agent u acc The number of associated users is

[0189] Task set M u Attributes It can be represented as:

[0190] Therefore, the global state is defined as the set of all agent observations S(t) = {z1(t), z2(t), ... zn(t)}. N (t)}.

[0191] Specifically, the reward (reward function) is used to measure the impact of an agent's actions in a given state. Each agent u... acc Execute each possible action Afterwards, in the state Received reward

[0192] Based on the reward, the agent updates its policy, establishes a mapping from observed states to actions, and guides the agent to select the optimal policy.

[0193] In this embodiment of the invention, the problem is transformed into maximizing global network performance when defining the reward function. The reward function is determined based on the global network performance, and each agent receives this shared reward function.

[0194] Determining the reward function based on global network performance can include: assigning a reward function to agent u. acc The reward function in time slot t is defined as the global network performance. For example, the system reward function for a collaborative computing network in a non-terrestrial network at each time slot t is: The value, The reward function is determined based on the global network performance, and each agent receives this shared reward function.

[0195] This invention employs a centralized training, distributed execution, and Qtotal-decomposable value-based QMIX algorithm (a value-based multi-agent reinforcement learning algorithm), with the core idea being constraint relationships. Make the derivatives of the central global value function Qtotal and the local value function localQ of each agent non-negative. This guarantees maximizing each localQ, which is equivalent to maximizing Qtotal for each central agent. Therefore, we can solve for the maximum value of Qtotal in linear complexity with respect to the number of agents. On the one hand, it is more convenient to solve for the maximum value of Qtotal in a centralized manner, as we only need to maximize each local Q, which will reduce a considerable amount of overhead. On the other hand, we can extract the policies of each agent in distributed execution from Qtotal.

[0196] The QMIX model consists of a mixing network and individual agent networks, with a recurrent neural network (RNN) as the main component. The input consists of the agent's own sequential time observation state and action information. The output is the agent's Q-value. The mixing network receives all localQs. Output-centric Q tot (τ,u).

[0197] For the training part, the loss function is a standard DQN solution obtained by solving for the final Qtotal. Iteratively train and minimize it. Where θ -Here, b represents the target network parameters, and b is the number of training epochs. For a further understanding of the QMIX algorithm, please refer to relevant technologies; this embodiment will not elaborate further.

[0198] This embodiment can supplement network resources and complete tasks in a timely manner when the existing network is overloaded or an unexpected disaster occurs.

[0199] In an exemplary embodiment, selecting the optimal path between the access node and the cooperating node, and selecting the optimal path between the cooperating node and the aggregation node, includes:

[0200] The Floyd algorithm is used to select the optimal path between access nodes and collaborating nodes, as well as the optimal path between collaborating nodes and aggregation nodes.

[0201] In this embodiment, the Floyd algorithm is a classic optimal path selection algorithm. Using the Floyd algorithm to find the optimal path between two nodes yields better results.

[0202] This invention proposes a multi-task collaborative computing problem in non-terrestrial networks, which is decomposed into two sub-problems: selecting cooperative nodes and aggregation nodes, and selecting data transmission paths for allocation, aggregation, and backhaul.

[0203] This invention proposes a multi-task collaborative allocation mechanism based on node selection and path optimization. Then, it uses a multi-agent reinforcement learning model based on the QMIX algorithm to optimize the selection of cooperative nodes and aggregation nodes. On this basis, the use of the Floyd algorithm helps to achieve optimal path selection, thereby optimizing the multi-task collaborative computing problem with optimal latency.

[0204] In one specific embodiment, it is assumed that the simulated environment includes randomly deployed nodes (NN) and user equipment (UE).

[0205] The specific simulation parameters and variable distributions are shown in Table 1. When the computational power of the NTN node's NN and the task requirements of the user equipment are fixed, the experiment explores the impact and trade-offs of different algorithms by varying the number of user equipment. Performance metrics considered include average task latency.

[0206] Figure 3 The simulation results shown compare the training results of four algorithms: Randomized Learning (ORM), Distributed Deep Deterministic Policy Gradient (D4PG) by a single agent, Multi-Agent Proximal Policy Optimization Deep Reinforcement Learning (MAPPO) algorithm, and QMIX algorithm.

[0207] like Figure 3As shown, the average task latency is used to compare the four algorithms. With the increase in the number of user devices, the task latency of the deep reinforcement algorithm is much lower than that of the random algorithm. Among them, QMIX and MAPPO, by using global network performance as a reward during agent game theory and maximizing it during training, achieve a balance between task completion success rate and the average task allocation across all network nodes.

[0208] Table 1 - Simulation Experiment Parameters

[0209]

[0210]

[0211] Simulation experiments demonstrate that the optimization objective proposed in this invention can, to some extent, avoid the "excessive waiting time" problem when network resources are insufficient, maintain the most stable results in harsh environments, and better perceive the global state to make more consistent and reliable decisions. While both are deep reinforcement learning algorithms, the single-agent D4PG algorithm performs slightly worse than the multi-agent algorithm. This is because each agent becomes "selfish" after learning, often competing for resources under poor environmental conditions, leading to greater network congestion. Furthermore, simulation results show that as the number of terminals increases, network congestion intensifies. The multi-agent game theory algorithm better balances task completion success rate and the average distribution of tasks among network nodes, avoiding the exponential growth of latency compared to the other two algorithms.

[0212] The multi-task collaborative allocation device for non-terrestrial networks provided by the present invention will be described below. The multi-task collaborative allocation device for non-terrestrial networks described below can be referred to in correspondence with the multi-task collaborative allocation method for non-terrestrial networks described above. To avoid redundancy, any embodiment of the multi-task collaborative allocation method for non-terrestrial networks can also be applied to the multi-task collaborative allocation device for non-terrestrial networks described below.

[0213] like Figure 4 As shown, this embodiment of the invention also provides a multi-task collaborative allocation device for non-terrestrial networks, which may include:

[0214] The receiving module 410 is used to receive N task sets sent by N user equipment in the current time slot; N is a positive integer greater than 0; the task set includes multiple sub-tasks; the non-terrestrial network includes multiple nodes, including access nodes, cooperative nodes and aggregation nodes; the cooperative nodes are used to receive the sub-tasks sent by the access nodes and perform calculations on the sub-tasks; the aggregation nodes are used to receive and aggregate the processing results of all sub-tasks in the task set.

[0215] The decision module 420 is used to determine the node allocation decision and path allocation decision for each subtask based on the trained multi-agent reinforcement learning model. The node allocation decision includes selecting cooperative nodes and aggregation nodes from multiple nodes. The path allocation decision includes selecting the optimal path between the access node and the cooperative node, and selecting the optimal path between the cooperative node and the aggregation node. The training process of the multi-agent reinforcement learning model includes training the constructed initial multi-agent reinforcement learning model based on the QMIX algorithm. The initial multi-agent reinforcement learning model is used to solve the optimization problem, which aims to minimize the total collaborative computation latency of the task set, with cooperative nodes and aggregation nodes as optimization variables. The total collaborative computation latency includes the uplink transmission latency, allocation latency, computation processing latency, aggregation latency, waiting latency, and backhaul latency of the task set. The waiting latency includes the task stack waiting latency and the transmission stack waiting latency.

[0216] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute the multi-task collaborative allocation method for non-terrestrial networks in any of the above embodiments.

[0217] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0218] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-task cooperative allocation method for non-terrestrial networks provided in any of the above embodiments, the method including the multi-task cooperative allocation method for non-terrestrial networks in any of the above embodiments.

[0219] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0220] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-task collaborative allocation method for non-terrestrial networks, characterized in that, include: Receive N task sets sent by N user equipment in the current time slot; N is a positive integer greater than 0; the task set includes multiple subtasks; The non-terrestrial network includes multiple nodes, which include access nodes, cooperative nodes, and aggregation nodes. The collaborative node is used to receive the subtask sent by the access node and perform calculations on the subtask; the aggregation node is used to receive and aggregate the processing results of all subtasks in the task set. The node allocation decision and path allocation decision for each subtask are determined based on the trained multi-agent reinforcement learning model. The node allocation decision includes: selecting a collaborating node and an aggregation node from multiple nodes; the path allocation decision includes: selecting the optimal path between the access node and the collaborating node, and selecting the optimal path between the collaborating node and the aggregation node; The training process of the multi-agent reinforcement learning model includes: training the constructed initial multi-agent reinforcement learning model based on the QMIX algorithm; The initial multi-agent reinforcement learning model is used to solve the optimization problem, which aims to minimize the total collaborative computation latency of the task set, with the collaborating nodes and the aggregation nodes as optimization variables. The total collaborative computing latency includes the uplink transmission latency, allocation latency, computation processing latency, aggregation latency, waiting latency, and return latency of the task set. The waiting latency includes the task stack waiting latency and the transmission stack waiting latency.

2. The multi-task collaborative allocation method for non-terrestrial networks according to claim 1, characterized in that, The subtask includes task information; the task information includes: computing resource requirements, storage resource requirements, computing processing latency, data transmission volume, and data volume after computing processing; the path attributes of the path include the number of hops and bandwidth of the path; The selection of a collaborative node includes: using a first binary variable to represent the selected state of the collaborative node; when the collaborative node is selected as the target collaborative node for computation processing of the target subtask, the first binary variable corresponding to the target subtask is marked as 1, otherwise it is marked as 0; The selection of the aggregation node includes: using a second binary variable to represent the selected state of the aggregation node; when the collaborative aggregation is selected as the target aggregation node for receiving and aggregating the target task set, the second binary variable corresponding to the target task set is marked as 1, otherwise it is marked as 0.

3. The multi-task collaborative allocation method for non-terrestrial networks according to claim 1 or 2, characterized in that, The process of constructing the initial multi-agent reinforcement learning model includes: determining the action information, state information, and reward corresponding to the Markov game model.

4. The multi-task collaborative allocation method for non-terrestrial networks according to claim 3, characterized in that, The process of determining the action information corresponding to the Markov game model includes: determining the joint action space of all agents based on the node allocation decision of each agent; The process of determining the state information corresponding to the Markov game model includes: determining the local observation information of each agent, wherein the local observation information includes the number of hops of the optimal path between the current agent and other nodes, the number of user devices associated with the current agent, and the task information of the task set received by the current agent; and determining the global state of all agents based on the local observation information of each agent. Determining the reward corresponding to the Markov game model includes: determining the reward based on the node allocation decision and the total collaborative computation delay.

5. The multi-task collaborative allocation method for non-terrestrial networks according to claim 4, characterized in that, The determination of the reward based on the node allocation decision and the total collaborative computing latency includes: The total collaborative computing latency is converted into task completion success rate; The average task distribution across all nodes is determined based on the node allocation decision for each access node. Global network performance is determined based on the task completion success rate and the average task distribution. The reward is determined based on the global network performance.

6. The multi-task collaborative allocation method for non-terrestrial networks according to claim 1, characterized in that, The constraints of the optimization problem include the first constraint, the second constraint, the third constraint, the fourth constraint, the fifth constraint, and the sixth constraint. The first constraint is that each subtask can only be assigned to a single node for computation. The second constraint is that the total number of nodes allocated to all subtasks is equal to the total number of subtasks of the user equipment. The third constraint is to ensure that the aggregation node of each user equipment is unique; The fourth constraint is a path selection restriction related to the allocation process; The fifth constraint is a path selection restriction related to the aggregation process; The sixth constraint is a path selection restriction related to the backhaul process; The fourth to sixth constraints are used to ensure that the transmission path between the starting point and the ending point is unique.

7. The multi-task collaborative allocation method for non-terrestrial networks according to claim 1, characterized in that, The selection of the optimal path between the access node and the collaborating node, and the selection of the optimal path between the collaborating node and the aggregation node, include: The optimal path between the access node and the collaborating node, and the optimal path between the collaborating node and the aggregation node are selected based on the Floyd algorithm.

8. A multi-task collaborative allocation device for non-terrestrial networks, characterized in that, include: The receiving module is used to receive N task sets sent by N user equipment in the current time slot; N is a positive integer greater than 0; the task set includes multiple sub-tasks; the non-terrestrial network includes multiple nodes, including access nodes, cooperative nodes and aggregation nodes; The collaborative node is used to receive the subtask sent by the access node and perform calculations on the subtask; the aggregation node is used to receive and aggregate the processing results of all subtasks in the task set. The decision module is used to determine the node allocation decision and path allocation decision for each subtask based on the trained multi-agent reinforcement learning model. The node allocation decision includes: selecting a collaborating node and an aggregation node from multiple nodes; the path allocation decision includes: selecting the optimal path between the access node and the collaborating node, and selecting the optimal path between the collaborating node and the aggregation node; The training process of the multi-agent reinforcement learning model includes: training the constructed initial multi-agent reinforcement learning model based on the QMIX algorithm; The initial multi-agent reinforcement learning model is used to solve the optimization problem, which aims to minimize the total collaborative computation latency of the task set, with the collaborating nodes and the aggregation nodes as optimization variables. The total collaborative computing latency includes the uplink transmission latency, allocation latency, computation processing latency, aggregation latency, waiting latency, and return latency of the task set. The waiting latency includes the task stack waiting latency and the transmission stack waiting latency.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the multi-task collaborative allocation method for non-terrestrial networks as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the multi-task collaborative allocation method for non-terrestrial networks as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Electric power Internet of Things multi-task cooperative distribution method and device

    CN112702401A

  • Wargame deduction cooperation strategy obtaining method based on deep reinforcement learning model

    CN114722701A