Resource allocation method and system for densely deployed NTN Internet of Things networks
By constructing a hypergraph interference model and a deep reinforcement learning algorithm, combined with a federated learning framework, the problem of DL conflicts caused by overlapping communication interference between devices in densely deployed NTN IoT networks is solved, achieving conflict-free and efficient resource allocation, and improving improve network performance.
Patent Information
- Application Number
- CN202410549406.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-05-06
AI Technical Summary
In densely deployed NTN IoT networks, overlapping communication ranges between devices lead to severe interference and DL conflicts. Existing research mainly focuses on the impact of interference on resource allocation and ignores the impact of DL conflicts, resulting in conflict-free and efficient resources. Distribution challenges remain unresolved.
By constructing a densely deployed NTN IoT network model, constructing optimization problems based on the hypergraph interference model, using deep reinforcement learning algorithms and federated learning framework (FedAvg-D3QN) to achieve conflict-free resource allocation, quantify resource conflicts between DLs, and reduce resource allocation complexity, maximizing network throughput and resource reuse.
It achieves conflict-free resource allocation in dense deployment environments, improves network throughput and resource reuse rate, is superior to other solutions, and can maximize throughput and resource reuse rate with conflict-free results.
Smart Images

Figure CN118301771B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a resource allocation method and system for a densely deployed NTN Internet of Things network. Background Art
[0002] To overcome the shortcomings of deploying Internet of Things (IoT) applications in areas with limited infrastructure such as forests and mountainous areas, utilizing IoT networks supporting non-terrestrial networks (NTNs) has become a promising solution. Unmanned aerial vehicles (UAVs) offer rapid deployment and flexible configuration, facilitating seamless connectivity with Internet of Things devices (IoTDs) at different locations. Dense deployment of IoT is imperative to meet the needs of wide coverage of applications such as farm monitoring and smart transportation. However, in NTN-supported networks, the overlapping communication ranges of densely deployed IoTDs may cause severe interference, resulting in challenges of low network throughput and competition for spectrum resources. Therefore, it is crucial to avoid interference to optimize resource allocation and improve the performance of NTN networks, which is a major challenge that requires urgent attention.
[0003] At present, a lot of research has been conducted on resource allocation in UAV-supported NTN IoT networks. A two-layer communication strategy is proposed to maximize the system throughput by formulating resource allocation of UAVs in large-scale IoT as a non-convex optimization problem. A successive convex approximation optimization method is used to optimize the resource allocation of remote IoTDs, thereby improving the energy efficiency (EE) and spectrum efficiency of the system. A joint optimization method is proposed to solve the signal interference problem when allocating resources to multiple UAVs in IoT networks. A UAV-assisted ultra-reliable low-latency communication (URLLC) system is proposed, which aims to reduce the transmit power of IoT devices by optimizing resource allocation and power control. A learning-based cooperative particle swarm optimization algorithm (LCPSO) is proposed, which uses sensor data to effectively allocate IoT resources for rapid response to fire monitoring. A scheme called QoS-guaranteed multi-UAV coverage (QMC) is described, which uses interference-managed spectrum resource allocation and QoS guarantee to optimize the communication process of UAV-supported IoT. In summary, the above studies provide a theoretical basis for improving the effectiveness of NTN IoT networks. Specifically, they address key aspects such as interference management, enhanced spectrum efficiency, and guaranteed quality of service (QoS) levels. In fact, most of the literature mentioned above mainly focuses on using optimization methods to solve such problems. However, as the number of devices increases, the complexity and computational overhead of the optimization method solution surges, making it difficult to apply resource allocation in densely deployed NTN IoT networks.
[0004] Inspired by some of the literature, machine learning has become the preferred technology to solve high-complexity computing, large-scale data processing, and nonlinear non-convex problems. Recently, progress has been made in applying machine learning to resource allocation and management of IoT supported by NTN. A resource allocation scheme based on deep reinforcement learning (DRL) is proposed to optimize the wireless network capacity and drone power consumption of heterogeneous IoT. A method based on multi-agent deep reinforcement learning (MADRL) is proposed to optimize the resource allocation of drone-assisted IoT devices to reduce network computing costs and improve service quality, as well as maximize the number of satisfied connections. Non-orthogonal multiple access (NOMA) technology and deep deterministic policy gradient (DDPG) algorithm are used to optimize resource allocation of IoT networks used by drones. Wireless Internet of Things (WPIoT) networks supporting heterogeneous drones are studied to solve the problem of maximizing energy efficiency by enhancing off-policy deep unsupervised learning (DUL). A channel and power allocation framework driven by a DRL algorithm for drone IoT networks is proposed to maximize the minimum energy efficiency of all IoT nodes. The above literature discusses the use of reinforcement learning (RL) for resource management in NTN IoT networks, which can improve the efficiency of resource management. However, in densely deployed NTN IoT networks, overlapping communication ranges between device-to-device (D2D) pairs can lead to severe overlapping interference, which eventually causes D2D link (DL) conflicts. Existing studies mainly focus on the impact of interference on resource allocation in NTN IoT networks, ignoring the impact of DL conflicts caused by overlapping interference in densely deployed environments. Therefore, the challenge of achieving conflict-free and efficient network resource allocation in this context remains unsolved. Summary of the invention
[0005] The present invention provides a resource allocation method and system for a densely deployed NTN Internet of Things network, and solves the technical problem of how to achieve conflict-free and efficient network resource allocation for a densely deployed NTN Internet of Things network.
[0006] In order to solve the above technical problems, the present invention provides a resource allocation method for densely deployed NTN Internet of Things networks, comprising the steps of:
[0007] S1. Build a densely deployed NTN IoT network model;
[0008] The densely deployed NTN IoT network model includes N IoT devices randomly distributed on the ground, namely IoTDs, L drones parked at predetermined locations, M D2D channels, namely DLs, and cloud servers. The D2D channels communicate through a specified spectrum, which is allocated for communication between IoTDs. The spectrum resources are evenly distributed in K available resource blocks, namely RBs. Drones act as non-ground base stations to assist IoTDs in sending collected data to cloud servers for aggregation. The cloud servers then feed back the results of RB allocation to IoTDs. IoTDs use the D2D communication mode to establish a self-organizing network.
[0009] S2, build a hypergraph interference model based on the channel conflict relationship of the densely deployed NTN IoT network model;
[0010] S3, based on the densely deployed NTN IoT network model and the hypergraph interference model, with zero channel conflict as the constraint and the goal of maximizing the model throughput, constructs an optimization problem;
[0011] S4. Solve the optimization problem and obtain a resource allocation plan.
[0012] Furthermore, in step S3, the optimization problem is constructed as:
[0013]
[0014] stc=0
[0015]
[0016]
[0017] Among them, max means maximization, st means need to be satisfied, and λ 1 and λ 2 are the first weight coefficient and the second weight coefficient respectively, B is the channel bandwidth, is the SINR value of the mth DL at the allocated kth RB, where SINR represents the signal-to-interference-plus-noise ratio. is the number of RBs used at time t, is the transmission rate of the mth DL at time t, is the minimum transmission rate of the mth DL, c is the conflict degree of the hypergraph interference model, c is defined as the number of nodes sharing the same color in the hypergraph interference model, K RB It is the RB set.
[0018] Further, Calculated by the following formula:
[0019]
[0020] Among them, P m [k] represents the transmit power of the mth DL on the kth RB allocated, h m [k] represents the channel power gain of the m-th DL on the allocated k-th RB, P n [k] represents the channel power gain of the nth IoTD on the allocated kth RB, h n,m [k] represents the interference power gain of the m-th DL from the n-th IoTD on the allocated k-th RB, N m represents the IoTD set of IoTDs interfered by the m-th DL on the k-th RB, σ 2 is a constant noise power.
[0021] Furthermore, the step S2 specifically includes the steps of:
[0022] S21. Based on graph theory, the densely deployed NTN IoT network model is modeled as a graph Represents a node set consisting of N IoTDs. Represents a set of M DLs;
[0023] S22. Based on the definition of direct conflict and indirect conflict, all DLs with direct conflict relationship are connected to obtain a direct conflict graph, and all DLs with indirect conflict relationship are connected to obtain an indirect conflict graph. If two D2D pairs share the same IoTD, the two D2D pairs are in direct conflict. If each of the two D2D pairs has an IoTD within the communication range of each other, the two D2D pairs are in indirect conflict.
[0024] S23, combining the direct conflict graph and the indirect conflict graph to obtain a conflict graph of a densely deployed NTN Internet of Things network model;
[0025] S24. Use clique theory and hypergraph theory to simplify the conflict graph and obtain the conflict hypergraph, i.e., the hypergraph interference model.
[0026] Furthermore, the step S24 specifically includes the steps of:
[0027] S241. Find all maximal groups in the conflict graph;
[0028] S242. Construct each calculated maximal clique into a hyperedge to obtain a conflict hypergraph.
[0029] Furthermore, the step S4 is specifically as follows:
[0030] Formulate the optimization problem as a Markov decision problem;
[0031] Each DL is regarded as an independent intelligent agent, and a deep reinforcement learning algorithm is used for the Markov decision problem. Through interaction with the environment and iterative experiments, the intelligent agent acquires the ability to design the best resource allocation strategy, thereby allocating resources.
[0032] Furthermore, in the Markov decision problem, each agent interacts with the environment, observes all states S at time t, and makes a decision based on the current state s t ∈S and strategy π, select the best action a in the action space A t , get the next state s t+1 , and receive reward R t ; Through continuous interaction with the environment, at each time t, the agent accumulates {s t ,a t ,R t ,s t+1} and store these experiences in the Q table, which acts as a repository for the agent's learning. By utilizing the Q table, the state-action mapping function is gradually improved through continuous interaction; the optimal strategy is achieved by maximizing the action value function Q π (s,a) yields:
[0033]
[0034] Among them, γ∈(0,1) is the attenuation factor, P sst+1 Indicates that from the current state s t To the next state s t+1 The transition probability, represents the reward obtained immediately after executing action a in state s, Indicates that from the next state s t+1 Start by selecting action a using strategy π t+1 Q-value function of
[0035] Optimal Action The selection strategy is expressed as:
[0036]
[0037] Among them, Q(s t ,a t ) means in state s t Select action a t Q value;
[0038] The Q table is continuously updated to learn the optimal strategy and record the optimal Q value Optimal Q value Defined as:
[0039]
[0040] Among them, Q π (s t ,a t ) means that in state s under the optimal strategy t Select action a t Q value;
[0041] At time t, the Q value update process is as follows:
[0042] Q (t+1) (s′,a′)←Q (t) (s,a)+β·L t ,
[0043] Among them, Q (t+1) (s′, a′) represents the updated Q value of the next state s′ and the next action a′ corresponding to the next time t+1. (t) (s,a) represents the Q value corresponding to the current state s and the current action a before the update, i.e., the current time t. β represents the learning rate, L t It represents the time difference error, that is, the difference between the predicted value and the target value at time t.
[0044] L t Calculated by the following formula:
[0045]
[0046] in, represents the predicted Q value at time t, represents the target value, r represents the reward obtained by executing action a in the current state s, and Q t (s,a) represents the Q value of action a when the state is s at time t, max a′ Q t (s′,a′) represents the maximum expected cumulative reward that can be obtained by selecting action a with the largest Q value starting from the next state s.
[0047] Furthermore, when DL is regarded as an agent, the observable state space S of each agent at time t is t It is expressed as:
[0048]
[0049] in, represents the set of interference conditions of all DL at time t, represents the incidence matrix of the interference hypergraph at time t, represents the SINR set of all DL at time t, represents the RB allocation set of all DLs at time t, Represents the minimum rate requirement set at time t;
[0050] When DL receives a service request, it observes the current state and makes corresponding RB selection actions. The reward R(s,a;t) obtained by performing action t in state s at time t is defined as:
[0051]
[0052] Among them, λ 3 ,λ 4 ∈(0,1) are the third and fourth weight coefficients, respectively, representing the contribution of different parts of the reward to the total reward; is the network throughput, which represents the sum of the transmission rates of all nodes at time t. is the transmission rate of the mth node; is the SINR of the mth node at time t, represents the minimum SINR of the mth node.
[0053] Furthermore, the deep reinforcement learning algorithm adopted is the dueling dual-depth Q network algorithm. The dueling dual-depth Q network algorithm adopts the dueling dual-depth Q network as the basic network architecture. The dueling dual-depth Q network includes a target network and an online network. The online network is used to calculate the Q value in the current state, and its parameters are updated according to the loss function in each iteration; the target network is mainly used to calculate the target Q value, and its parameters are updated regularly;
[0054] The loss function of the dueling dual-depth Q network is:
[0055]
[0056] Where η is the discount factor, J(w; b) represents the loss calculation for a single experience sample b, E represents the experience pool, D represents the number of samples, and Q(s, a * ;w o ) represents the Q value obtained by the online network selecting the optimal action in state s;
[0057] The dueling dual-depth Q network is trained using a federated learning architecture, specifically:
[0058] The server maintains the global model and uses the pre-trained model as the global model for the first round. In the next round of training, a given proportion of agents will be selected to transmit the global model, and the dueling dual-depth Q network algorithm will be used to train and update the model. During training, the agent uses its local mini-batch samples to minimize the loss function. At the end of each round of training, the trained local model parameters are weighted averaged to obtain the global model parameters, and the global model is updated accordingly. The training is iterated until the global model converges.
[0059] The present invention also provides a resource allocation system for a densely deployed NTN Internet of Things network, the key of which is that it includes a communication model construction module, a hypergraph interference model construction module, an optimization problem construction module, and a resource allocation module; the communication model construction module, the hypergraph interference model construction module, the optimization problem construction module, and the resource allocation module are respectively used to execute steps S1, S2, S3, and S4 described in the above method.
[0060] The resource allocation method and system for densely deployed NTN Internet of Things networks provided by the present invention first establish a communication model for densely deployed NTN Internet of Things networks, and further establish a conflict hypergraph based on the definition of maximal cliques and hypergraph theory according to the resource conflicts between DLs, and quantify the resource conflicts between DLs to reduce the complexity of resource allocation. Then, in order to achieve conflict-free resource allocation and reduce the computational load of densely deployed NTN Internet of Things networks, a FedAvg-D3QN collaborative training framework (Dueling Dual Deep Q Network Algorithm Based on Federated Learning) is proposed. The collaborative training framework consists of a global network and multiple D3QN local networks, and uses experience replay technology to further enhance model performance. Simulation results show that the FedAvg-D3QN scheme is superior to other schemes in terms of network throughput and resource reuse rate, and can maximize throughput and resource reuse rate while achieving conflict-free results. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 This is a system model diagram of a densely deployed NTN Internet of Things network provided by an embodiment of the present invention;
[0062] Figure 2 This is an example diagram of the communication network topology of IoTD provided by an embodiment of the present invention;
[0063] Figure 3 is an example diagram of a direct conflict (a) and an indirect conflict (b) provided by an embodiment of the present invention;
[0064] Figure 4 is an example diagram of a direct conflict graph (a) and an indirect conflict graph (b) provided by an embodiment of the present invention;
[0065] Figure 5 is an example diagram of a conflict graph provided by an embodiment of the present invention;
[0066] Figure 6 is an example diagram of a conflict hypergraph provided by an embodiment of the present invention;
[0067] Figure 7 It is an architecture diagram of the Fedavg-D3QN algorithm applied to a densely deployed NTN Internet of Things network provided by an embodiment of the present invention;
[0068] Figure 8 It is a convergence diagram of agents participating in aggregation at different proportions provided by an embodiment of the present invention;
[0069] Fig. 9 is a convergence diagram of different polymerization round numbers provided by an embodiment of the present invention;
[0070] Fig.10 is a comparison chart of the maximum network throughput of different algorithms provided by the embodiments of the present invention under different numbers of DLs;
[0071] Fig.11 is a comparison chart of average network throughput of different algorithms provided by the embodiments of the present invention under different numbers of DLs;
[0072] Fig.12 This is a comparison chart of average resource reuse rates of different algorithms provided by the embodiments of the present invention under different numbers of DLs. DETAILED DESCRIPTION
[0073] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.
[0074] The resource allocation method for densely deployed NTN Internet of Things network provided by the embodiment of the present invention includes the following steps:
[0075] S1. Build a densely deployed NTN IoT network model;
[0076] The densely deployed NTN IoT network model includes N IoT devices randomly distributed on the ground, namely IoTDs, L drones parked at predetermined locations, M D2D channels (links), namely DLs, and cloud servers (i.e. cloud base stations); D2D channels communicate through designated spectrum, which is allocated for communication between IoTDs. Spectrum resources are evenly distributed in K available resource blocks, namely RBs. Drones act as non-ground (device) base stations to assist IoTDs in sending collected data to cloud servers for aggregation. The cloud servers then feed back the results of RB allocation to IoTDs. IoTDs use the D2D communication mode to establish a self-organizing network.
[0077] S2, build a hypergraph interference model based on the channel conflict relationship of the densely deployed NTN IoT network model;
[0078] S3, based on the densely deployed NTN IoT network model and the hypergraph interference model, with zero channel conflict as the constraint and the goal of maximizing the model throughput, constructs an optimization problem;
[0079] S4. Solve the optimization problem and obtain a resource allocation plan.
[0080] (1) Regarding step S1
[0081] like Figure 1 As shown in the figure, consider a densely deployed NTN IoT network in a special scenario, where N IoTDs are randomly distributed on the ground and L drones are parked at predetermined locations. The sets of IoTDs and DLs are represented as N DL ={DL 1 ,DL 2 ,...,DL N} and M IoTD ={IoTD 1 ,IoTD 2 ,...,IoTD M}. The spectrum resources are evenly distributed in K available resource blocks (RBs), where each DL occupies at most 1 RB, and its set is denoted as K RB = {RB 1 ,RB 2 ,...,RB K}. The drone acts as a non-ground base station to assist the IoTD in sending the collected data to the cloud server for aggregation, and the cloud server feeds back the results of RB allocation to the IoTD. IoTD uses the D2D communication mode to establish a self-organizing network. The D2D link (DL) can communicate through a specified spectrum, which is allocated for communication between IoTDs. Interference to the DL comes from background noise and signals from IoTDs that are allocated the same spectrum resources (i.e., channels). Therefore, the signal interference plus noise ratio (SINR) value of the mth (m=1,2,...,M) DL at the allocated kth (k=1,2,...,K) RB can be defined as:
[0082]
[0083] Among them, P m [k] represents the transmit power of the mth DL on the kth RB allocated, h m [k] represents the channel power gain of the m-th DL on the allocated k-th RB, P n [k] represents the channel power gain of the nth IoTD on the allocated kth RB, h n,m [k] represents the interference power gain of the m-th DL from the n-th IoTD on the allocated k-th RB, N m represents the IoTD set of IoTDs interfered by the m-th DL on the k-th RB, σ 2 is a constant noise power.
[0084] Therefore, the available rate of the mth DL at time t can be calculated as:
[0085]
[0086] Where B is the channel bandwidth.
[0087] (2) Step S2
[0088] Step S2 generally includes the following steps:
[0089] S21. Based on graph theory, the densely deployed NTN IoT network model is modeled as a graph;
[0090] S22, based on the definitions of direct conflict and indirect conflict, obtaining a direct conflict graph and an indirect conflict graph of the graph obtained in step S21;
[0091] S23, combining the direct conflict graph and the indirect conflict graph to obtain a conflict graph of a densely deployed NTN Internet of Things network model;
[0092] S24. Use clique theory and hypergraph theory to simplify the conflict graph and obtain the conflict hypergraph, i.e., the hypergraph interference model.
[0093] Based on graph theory, this example transforms the communication relationship between IoTDs in the NTN IoT network into a conflict graph and represents it as an adjacency matrix, such as Figure 2 As shown in the figure, each node represents an IoTD, and each edge represents a DL, which is responsible for bidirectional data transmission between IoTDs. The model consists of 12 IoTDs and 14 DLs, which are represented as {IoTD 1 ,IoTD 2 ,...,IoTD 12} and {DL 1 ,DL 2 ,...,DL 14}.
[0094] The densely deployed NTN IoT network model can be modeled as a graph IoTD and DL are regarded as nodes and edges, respectively. is a collection of nodes, The communication relationship of IoTD and the location of DL can be represented by the association matrix G TI To express:
[0095]
[0096] G TI The element value of the i-th row and j-th column is defined as:
[0097]
[0098] Since densely deployed NTNs enable limited IoT communication resources, resource scheduling decisions are inconsistent with the current network topology state, resulting in conflicts during multi-hop link transmission, affecting the overall network performance. Therefore, it is necessary to analyze channel conflicts in the network and divide channel resource conflicts into the following two types:
[0099] Direct conflict: two D2D pairs share the same IoTD, such as DL 1 and DL 2 Share a channel with Figure 3 (a) IoTD 2 association.
[0100] Indirect conflict: Each of the two D2D pairs has an IoTD within the communication range of each other, e.g. Figure 3 (b) DL 1 and DL 3 Share a channel.
[0101] The communication topology between IoTDs is as follows Figure 2 As shown in the figure, it illustrates the communication relationship between DLs. Although the resource conflicts in densely deployed NTN IoT networks can be avoided by using traditional edge coloring algorithms. However, the conflict relationship between each DL cannot be clearly depicted in this topology diagram. Therefore, it is necessary to conduct a deeper analysis of the conflicts generated by DL by constructing a conflict graph.
[0102] In order to resolve resource management conflicts in D2D networks, this example further constructs a conflict graph based on conflict relationships. For the conflict graph, let Represents a node set, that is In DL,
[0103] Represents the edge set, indicating the conflict relationship of DL. For the conflict graph Adjacency matrix G CA It can be expressed as:
[0104]
[0105] Among them (e ni ,e nj ) is the conflict index, (e ni ,e nj )=1 means e ni With e nj conflict; otherwise (e ni ,e nj )=0.
[0106] according to Figure 2The IoTD communication topology shown in this example constructs corresponding conflict graphs based on the principles of the above two types of conflicts.
[0107] The construction method is to regard DL as a node, connect DL with conflict relationship with edges, and form a topological graph containing its conflict information, namely conflict graph. The following examples illustrate the conversion from DL with two types of conflicts to direct conflict graph and indirect conflict graph respectively:
[0108] (a) Direct conflict graph: connect all DLs with direct conflict relations, for example, connect DL 1 and DL 2 The resulting direct conflict diagram is as follows Figure 4 As shown in (a).
[0109] (b) Indirect conflict graph: connect all DLs with indirect conflict relationships, such as connecting DL 1 and DL 4 The resulting indirect conflict graph is as follows Figure 4 as shown in (b).
[0110] The conflict graphs of the two conflict types obtained by the above method are as follows: Figure 4 For the sake of clarity, the conflict graph constructed according to the two different conflict types is shown with edges of different colors. Since the conflict avoidance problem does not need to consider the conflict type between DLs, this embodiment combines Figure 4 (a) and Figure 4 The topological relationship of the nodes in (b) is used to create a new conflict graph, such as Figure 5 shown.
[0111] In order to reduce the complexity of the resource allocation process, clique theory and hypergraph theory are used to simplify the conflict graph and incidence matrix. A clique is a fully connected subgraph of a graph, which can be represented by a hyperedge and preserves accurate information about conflicts within the clique.
[0112] The method of converting the conflict graph into a conflict hypergraph clearly illustrates the conflict relationship between DLs. Converting the adjacency matrix into an incidence matrix reduces the dimension of the matrix and simplifies the complexity of conflict avoidance. Mathematically, since any maximal clique can be considered as a hyperedge, using maximal cliques as hyperedges helps to simplify the number of hyperedges in the hypergraph, thereby further reducing the complexity. Therefore, finding all maximal cliques in the conflict graph is a necessary step to find all hyperedges.
[0113] Definition 1: A hypergraph can be represented as G H (V,E), where V is a finite set of nodes and E is a set of hyperedges. 1 ,v 2 )∈E, then node v1 and v 2 are considered adjacent. For the hypergraph G H Node v in (V,E) 1 and v 2 , let Γ(v 1 ) indicates v 1 For example, if node v 1 and v 2 Adjacent, then v 2 ∈Γ(v 1 ). For the node subset W = {v 1 ,v 2 ,...},in Let Γ(W) denote the nodes adjacent to all nodes in W. The graph consisting of all nodes in subset W is denoted as G H (W,E(W)), where E(W) is G H The edge set in (W) can be expressed as:
[0114] E(W)={(v 1 ,v 2 ,...)∈W×W|(v 1 ,v 2 ,...)∈E}, (6)
[0115] Where (v 1 ,v 2 ,...)∈W×W represents a node (v 1 ,v 2 ,...) belongs to the Cartesian product of the set W.
[0116] Hypergraph is a concept in graph theory, which can be represented by an incidence matrix. In this matrix, rows correspond to nodes, columns correspond to hyperedges, and the elements of the matrix represent the relationship between nodes and hyperedges.
[0117] Definition 2: Incidence matrix H, H∈R |E|×|V| , used to represent the hypergraph, the values of the elements in the matrix are derived from the following equation:
[0118]
[0119] In order to construct the incidence matrix, we need to calculate all maximal cliques in the conflict graph. A clique is a set of nodes where any two nodes are adjacent, and a maximal clique is a clique that cannot be expanded by adding other nodes.
[0120] When calculating all maximal cliques in a hypergraph, this paper uses Algorithm 1 to ensure accuracy and efficiency. Unlike the recursive backtracking algorithm for general graphs, Algorithm 1 is a traversal method based on ascending node indexes to find all maximal cliques in the hypergraph. In order of node indexes, add nodes adjacent to all nodes in the current cycle clique to form a higher-order clique. And verify the clique formed in each iteration, and then continue to the next cycle until no higher-order clique can be generated.
[0121]
[0122] Finally, calculate all the maximal groups in the interference graph. According to Algorithm 1, Figure 5 All maximal clusters in are calculated and listed in Table 1. Since any cluster can form a hyperedge, this embodiment constructs each calculated maximal cluster as a hyperedge, which simplifies the association matrix and reduces the complexity of conflict avoidance. The constructed conflict hypergraph is shown in Figure 6 As shown, some hyperedges are omitted for demonstration purposes. This transformation converts the conflict avoidance problem between deep learning into a node coloring problem of hypergraphs while preserving the conflict information.
[0123] Table 1
[0124]
[0125] (3) Step S3
[0126] The main purpose of the present invention is to improve the throughput of DL and optimize resource allocation in densely deployed NTN IoT networks while avoiding resource conflicts. This example uses the hypergraph node coloring problem to solve the resource allocation problem of DL. In order to ensure conflict-free resource allocation, each hyperedge in the hypergraph must contain different node colors. The parameter c is introduced to quantify the degree of conflict, indicating the number of nodes sharing the same color. When c = 0, it means that the hyperedge does not contain nodes of the same color, thereby maintaining a conflict-free state. Therefore, the problem of achieving conflict-free resource allocation in densely deployed NTN IoT networks can be expressed as follows:
[0127]
[0128] Among them, max means maximization, st means need to be satisfied, and λ 1 and λ 2 are the first weight coefficient and the second weight coefficient (indicating the importance of different parts), is the number of RBs used at time t, is the transmission rate of the mth DL at time t, is the minimum transmission rate of the mth DL.
[0129] (4) Step S4
[0130] Problem (8) reformulates the resource allocation problem in densely deployed NTN IoT networks as a complex joint optimization problem with NP-hard properties. In order to solve this optimization problem, especially the non-repeated node coloring problem of each hyperedge, a novel deep reinforcement learning (FRL) method is introduced. First, a Markov decision process (MDP) is constructed to convert the coloring problem into a sequential decision problem, and then a suitable reinforcement learning (RL) algorithm is adopted. Through interaction with the environment and iterative experiments, the agent acquires the ability to design the optimal resource allocation strategy.
[0131] In this embodiment, the resource allocation problem of the densely deployed NTN IoT network is considered as an RL-based action learning process. This process allocates resources to all nodes in turn at each time point in the densely deployed NTN IoT network to achieve effective resource allocation. Specifically, resource allocation in the densely deployed NTN IoT network can be expressed as an MDP with full observability. Q-learning is an efficient classical reinforcement learning algorithm for solving MDP. In this framework, each DL is regarded as an independent agent. These agents interact with the environment and observe all states S at time t. Based on the current state s t ∈S and strategy π, the agent selects the optimal action a in the action space A t , get the next state s t+1 , and receive reward R t Therefore, through continuous interaction with the environment, at each time t, the agent accumulates {s t ,a t ,R t ,s t+1}. These experiences are then stored in a Q-table, which acts as a repository for the agent’s learning. By leveraging the Q-table, the state-action mapping function (called policy π) is gradually refined through continuous interaction. Ultimately, the optimal policy is achieved by maximizing the action-value function Q π (s,a) yields:
[0132]
[0133] Among them, γ∈(0,1) is the decay factor, which responds to the weight of future rewards in the total reward, Indicates the current state s t To the next state s t+1 The transition probability, represents the reward obtained immediately after executing action a in state s, Indicates that from the next state s t+1 Start by selecting action a using strategy π t+1The Q value function is used as a measure of the quality of an action under a specific state. If the Q value is known, it is easy to select the optimal action. Optimal Action The selection strategy is expressed as:
[0134]
[0135] Among them, Q(s t ,a t ) means in state s t Select action a t Q value.
[0136] At time t, the state is s t and a t , the optimal strategy π* obtains the optimal Q value The Q table is continuously updated to learn the optimal strategy and record the optimal Q value It can be defined as:
[0137]
[0138] Among them, Q π (s t ,a t ) means that in state s under the optimal strategy t Select action a t Q value.
[0139] For densely deployed NTN IoT networks, the transfer probability is usually unknown. To estimate the Q value, this example uses the time difference (TD) method, which minimizes the difference between the predicted value and the target value. At time t, the Q value is updated as follows:
[0140] Q (t+1) (s′,a′)←Q (t) (s,a)+β·L t , (11)
[0141] Among them, Q (t+1) (s′, a′) represents the updated Q value of the next state s′ and the next action a′ corresponding to the next time t+1. (t) (s, a) represents the Q value corresponding to the current state s and the current action a before the update, i.e., the current time t. β represents the learning rate, L t It represents the time difference error, that is, the difference between the predicted value and the target value at time t.
[0142] L t Calculated by the following formula:
[0143]
[0144] in, represents the predicted Q value at time t, represents the target value, r represents the reward obtained by executing action a in the current state s, and Q t (s,a) represents the Q value of action a when the state is s at time t, max a′ Q t (s′,a′) represents the maximum expected cumulative reward that can be obtained by selecting action a with the largest Q value starting from the next state s.
[0145] The learning rate β is multiplied by L t The step size of the Q value at each update is controlled to optimize the Q value. However, Q-learning is only applicable to small, discrete state problems and is difficult to apply to densely deployed NTN IoT networks. To overcome this problem, DRL uses a neural network Q(s,a,w) to approximate the optimal Q value, where w represents the neural network parameters. The neural network achieves the mapping from state to action through nonlinear approximation, converting the original Q table update process into a neural network parameter update process.
[0146] In a densely deployed NTN IoT network, as mentioned above, when DL is regarded as an intelligent agent, the observable state space S of each intelligent agent at time t is t It can be expressed as:
[0147]
[0148] in, represents the set of interference conditions of all DL at time t, represents the incidence matrix of the interference hypergraph at time t, represents the SINR set of all DL at time t, represents the RB allocation set of all DLs at time t, Represents the minimum rate requirement set at time t.
[0149] When the DL receives a service request, it observes the current state and makes a corresponding RB selection action. In this embodiment, the resource package selection is discretized into K. Therefore, the dimension of the action space is M×K.
[0150] In order to ensure conflict-free resource allocation in densely deployed NTN IoT networks while satisfying the minimum SINR constraint and ensuring maximum network throughput and resource reuse, the reward R(s, a; t) obtained by performing action t in state s at time t is defined as:
[0151]
[0152] Among them, λ3 ,λ 4 ∈(0,1) are the third and fourth weight coefficients, respectively, representing the contribution of different parts of the reward to the total reward; is the network throughput, which represents the sum of the transmission rates of all nodes at time t. is the transmission rate of the mth node; is the SINR of the mth node at time t, represents the minimum SINR of the mth node.
[0153] The D3QN algorithm is proposed to build a DRL model in densely deployed NTN IoT networks. The algorithm improves the training and model structure of DQN using dual deep Q networks (DDQN) and dueling networks. The D3QN algorithm aims to solve the overestimation problem in the DQN algorithm due to the use of the same structure to generate real rewards and estimates. This optimization strategy can improve the throughput of densely deployed NTN IoT networks and increase resource reuse.
[0154] In addition, this example also integrates experience replay to eliminate the temporal correlation in the agent training data, thereby improving the D3QN algorithm. The following describes the process of refining the DQN algorithm into the D3QN algorithm. Compared with the DQN algorithm, the DDQN algorithm uses two independent networks to select the optimal action a * And alternately estimate the target Q value. This method reduces the error of overestimation of Q value. The online network is based on the input a * The highest Q value selects the corresponding action to avoid the influence of some noise on the Q value. * It can be estimated as follows:
[0155]
[0156] Among them, Q(s t+1 ,a;w o ) indicates that the online network is in state s t+1 Estimated action value, w o Represents the parameters of the online network.
[0157] The target R value is obtained by returning the corresponding action a * And it is determined by selecting the Q value directly from the target network. The formula for the target R is as follows:
[0158] R=r t +Q[s t+1 ,argmax a∈A Q(s t+1 ,a,w o ),w t ] (16)
[0159] Among them, wt represents the parameters of the target network, Q(s t+1 ,a,w o ) represents the Q value of the online network, Q[s t+1 ,argmax a∈ A Q(s t+1 ,a,w o ),w t ] represents the Q value of the target network.
[0160] In some cases, the selection of the optimal action will still be based on the estimate of the Q-value network, leading to overestimation. To solve this problem, a dueling network can be used to implement Dueling DQN.
[0161] The dueling network decomposes the Q value into a state value function V(s) and an advantage function A(s,a i ), and uses two independent neural networks for estimation. This method enhances the performance and stability of DQN, thereby improving the generalization ability of the algorithm. The final output of the Q network is a linear combination of the state value function and the advantage function, which is formulated as:
[0162] Q(s,a;w o ,w t1 ,w t2 )=V(s;w o ,w t1 )+A(s,a i ;w o ,w t2 ) (17)
[0163] Among them, w t1 is the neural network weight of the target network state value function, w t2 are the neural network weights of the target network advantage function part.
[0164] For resource allocation in densely deployed NTN IoT networks, in order to ensure the uniqueness of action A and more accurately express the definition of the action value function, this embodiment adds an average benchmark Obtaining an average benchmark for action value enables this embodiment to express the action value function as:
[0165]
[0166] Where N a Represents the total number of possible actions, that is, N a =M×K.
[0167] Therefore, due to the same maximization bias problem as the DQN algorithm, using dueling networks when estimating action values may lead to overestimation. To solve this problem, this example proposes the D3QN algorithm, which combines the architecture of dueling networks with the binary neural network structure of DDQN. This approach can achieve better RB allocation in densely deployed NTN IoT networks.
[0168] The network architecture of the D3QN algorithm is as follows Figure 7 As shown in the figure, the agent interacts with the environment, receives the state of the environment as input, and selects actions according to the current strategy. Then, the environment performs the corresponding actions according to the action selected by the agent, and returns the next state and the corresponding reward. The agent then uses the sequence of these states, actions, and rewards to construct an experience replay buffer. Finally, the agent randomly samples a batch of data from the experience replay buffer, uses the target network and the online network to calculate the loss function, and thus updates the parameters of the neural network.
[0169] The Duel Dual Deep Q Network includes a target network and an online network. The online network is used to calculate the Q value in the current state, and its parameters are updated according to the loss function in each iteration. The target network is mainly used to calculate the target Q value, and its parameters are updated regularly to improve stability.
[0170] The D3QN algorithm uses the ε greedy mechanism combined with the online network to determine the optimal action a* for the agent's current state s. The agent selects the action with the maximum estimated Q value with probability 1-ε. After executing the action, the state observed by the agent becomes s t+1 And return the reward.
[0171] The agent’s experience is represented by E = (s, a, r, s t+1 ), stored in the replay buffer using the experience replay technique. Finally, the online Q network calculates the next state Q t+1 In order to minimize the error of network parameters, the TD error L needs to be considered. t .L t is defined as follows:
[0172] L t =r+ηmax a Q(s t+1 ,a;w t )-Q(s,a;w o ) (19)
[0173] Here, η is the discount factor.
[0174] In each update phase, a small group of historical experiences containing D samples are obtained from the replay buffer to update the network weights. We convert the TD error into an optimizable loss function. By minimizing this loss function and continuously approaching the true function, the loss function J(w) of the online network and the target network can be calculated as:
[0175]
[0176] Among them, J(w; b) represents the loss calculation for a single experience sample b, Q(s, a * ;w o ) represents the Q value of the optimal action selected by the online network.
[0177] In the D3QN algorithm designed in this example, there is a difference in the update rate of the two parameter sets. The parameter w of the online network o is static, and the parameters w of the target network t The target network periodically copies the parameters w from the online network. o to keep the parameters in sync.
[0178] In a densely deployed NTN IoT network, the behavior of all agents will have an impact on the environment. At time t, each agent will choose the operation that maximizes its own benefits based on local observations. This selfish behavior may introduce competition between agents, resulting in a decrease in overall performance. To alleviate this problem, this example uses the classic FL (i.e. FedAvg, federated learning) framework for model iteration.
[0179] like Figure 7 As shown in FIG. 1 , this embodiment proposes the FedAvg-D3QN algorithm, which combines the FL framework with the D3QN algorithm. The FedAvg-D3QN server maintains the global network and uses the pre-trained model as the global model for the first round. In the next round of training, a certain proportion of agents will be selected to transfer the global model, and the D3QN algorithm will be used to train and update the model. During training, the agents use their local mini-batch D m samples to minimize the loss function J m (w). At the end of each round, a synchronous FL decision is made, and the trained local model parameters are weighted averaged to obtain the global model parameters. This FL method can minimize the global loss function J g (w) can be expressed as:
[0180]
[0181] in represents the weight of the mth agent in FL, represents the domain of real numbers. In densely deployed NTN IoT networks, the local environment of a single agent may not be sufficient to represent the overall environment. To enhance network performance, FL provides an optimization method to aggregate decentralized local agents. The interaction between the agent and the FedAvg-D3QN server is summarized as follows:
[0182] 1) Local model update: To obtain its local model, the FedAvg-D3QN server generates the parameters of the global model at the current time t And the agent rebuilds its local model parameters FedAvg-D3QN global model parameters using the following command. The local model is updated through gradient calculation.
[0183] 2) Upload: After local training, the selected agent will upload the parameters w obtained after training (t+1) Sent to FedAvg-D3QN server.
[0184] 3) Aggregation and feedback: After receiving all uploaded local gradients, the FedAvg-D3QN server calculates the weighted average of the local model, obtains new gradients, and updates the global model accordingly. The above steps are repeated until the FedAvg-D3QN global model converges.
[0185] Corresponding to the above method, an embodiment of the present invention further provides a resource allocation system for a densely deployed NTN Internet of Things network, including a communication model construction module, a hypergraph interference model construction module, an optimization problem construction module, and a resource allocation module; the communication model construction module, the hypergraph interference model construction module, the optimization problem construction module, and the resource allocation module are respectively used to execute steps S1, S2, S3, and S4 in the above method.
[0186] The simulation and analysis are carried out below.
[0187] This embodiment conducts some experiments to test the effectiveness of the proposed FedAvg-D3QN algorithm through numerical simulation, and analyzes the simulation results to verify the effectiveness of the proposed scheme. The FedAvg-D3QN algorithm is compared with three benchmark algorithms: a greedy network resource allocation algorithm (GA algorithm), a random network resource allocation algorithm (RM algorithm), and a resource allocation method based on maximum node degree (MND). The main simulation parameters are shown in Table 2.
[0188] Table 2 Simulation parameters
[0189]
[0190] Figure 8The cumulative rewards R obtained by different proportions of agents participating in the aggregation during the training process of the proposed Fedavg-D3QN algorithm are illustrated. When DL is set to 20, the horizontal axis represents the number of FL training rounds and the vertical axis represents the cumulative rewards obtained. The three curves change with the increase in the number of training rounds, and finally stabilize after 700 iterations and converge to a relatively stable value. In addition, it is observed that the rewards R for the proportions 0.2 and 0.25 are relatively small, which may be due to the small data sets used by the agents at these proportions, indicating that the updated information may not be comprehensive enough. Therefore, based on the simulation results, this paper sets the proportion of agents participating in the aggregation to 0.3.
[0191] Fig. 9 The algorithm performance of the proposed FedAvg-D3QN algorithm when different numbers of aggregation rounds are selected during training is illustrated. When DL is set to 20, the horizontal axis represents the number of iterations of FL training, and the vertical axis represents the cumulative reward obtained. The loss function of the FedAvg-D3QN algorithm decreases with the increase in the number of iterations, and all three curves show an upward trend. After 700 iterations, the cumulative reward R of the three curves fluctuates between 300 and 350. In addition, it is obvious that the cumulative reward R reaches the maximum when the number of aggregation rounds is set to 15. Therefore, for subsequent simulations, a reasonable choice is to set the number of aggregation rounds to 15.
[0192] Fig.10 The maximum network throughput for different numbers of DLs in a densely deployed NTN IoT network using different algorithms is illustrated. As the number of DLs increases, the number of available communication channels in the system also increases, resulting in an overall upward trend in the maximum network throughput of the four algorithms. When the NTN IoT network has 20 DLs, the FedAvg-D3QN algorithm achieves a maximum network throughput of over 90Mb / s, while all other compared algorithms are below 90Mb / s. When the NTN IoT network has 40 DLs, the maximum network throughput achieved by the FedAvg-D3QN algorithm ranges from 190Mb / s, while the MND algorithm ranges from 180Mb / s to 190Mb / s. In summary, according to Fig.10 , the FedAvg-D3QN algorithm outperforms other algorithms.
[0193] Fig.11The average network throughput for different numbers of DLs in a densely deployed NTN IoT network using different algorithms is shown. As the number of DLs increases, the network throughput of the four algorithms shows an upward trend. When the NTN IoT network has 25 DLs, the FedAvg-D3QN algorithm reaches more than 120Mb / s, while the GA algorithm and the RM algorithm remain relatively constant. The MND algorithm can achieve between 110Mb / s and 120Mb / s. When the NTN IoT network has 40 DLs, both the Fedavg-D3QN algorithm and the MND algorithm achieve an average throughput of 180Mb / s to 200Mb / s. But the Fedavg-D3QN algorithm has a higher average throughput. In summary, Fig.11 It shows that the FedAvg-D3QN algorithm outperforms the other three algorithms and has a significant advantage in average network throughput in densely deployed NTN IoT networks.
[0194] Fig.12 The average resource reuse ratio in a densely deployed NTN IoT network using the proposed algorithm and three other comparison algorithms is described. When the NTN IoT network exceeds 30 DLs, the average resource reuse ratio using the MND algorithm, GA algorithm, and FedAvg-D3QN algorithm begins to decrease. In addition, as the number of DLs increases, the overall system stability tends to decrease, resulting in a decrease in the average network resource efficiency.
[0195] In summary, the resource allocation method and system for densely deployed NTN Internet of Things networks provided by the embodiments of the present invention use graph theory to quantify conflicts between DLs, and study conflict-free resource allocation in densely deployed NTN Internet of Things networks. Using the maximum clique and hypergraph theory, the conflict graph is converted into a conflict hypergraph to simplify deep learning conflicts in the network. By imposing constraints on the conflict hypergraph model, the conflict-free resource allocation problem can be converted into a node coloring problem of the hypergraph, that is, an NP-hard optimization problem. In order to solve this problem, an MDP model that considers a wider range of continuous value state spaces is constructed. Subsequently, the FedAvg-D3QN algorithm is designed to train the DRL model. In order to improve the model performance and speed up the training process, a conflict-free resource allocation method based on the FedAvg-D3QN algorithm is introduced. The algorithm aims to achieve conflict-free results while maximizing throughput and resource reuse rate. The experimental results verify the effectiveness of the FedAvg-D3QN algorithm, proving that it can enhance resource allocation in densely deployed NTN Internet of Things networks, thereby improving network performance.
[0196] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A resource allocation method for densely deployed NTN Internet of Things networks, characterized in that: Includes steps: S1. Build a densely deployed NTN IoT network model; The densely deployed NTN IoT network model includes N IoT devices randomly distributed on the ground, namely IoTDs, L drones parked at predetermined locations, M D2D channels, namely DLs, and cloud servers. The D2D channels communicate through a specified spectrum, which is allocated for communication between IoTDs. The spectrum resources are evenly distributed in K available resource blocks, namely RBs. Drones act as non-ground base stations to assist IoTDs in sending collected data to cloud servers for aggregation. The cloud servers then feed back the results of RB allocation to IoTDs. IoTDs use the D2D communication mode to establish a self-organizing network. S2, build a hypergraph interference model based on the channel conflict relationship of the densely deployed NTN IoT network model; S3, based on the densely deployed NTN IoT network model and the hypergraph interference model, with zero channel conflict as the constraint and the goal of maximizing the model throughput, constructs an optimization problem; S4. Solve the optimization problem and obtain a resource allocation plan; The step S4 is specifically as follows: Formulate the optimization problem as a Markov decision problem; Treat each DL as an independent intelligent agent, use deep reinforcement learning algorithm for Markov decision problems, and enable the intelligent agent to acquire the ability to design the best resource allocation strategy through interaction with the environment and iterative experiments, so as to allocate resources; In the Markov decision problem, each agent interacts with the environment, observes all states S at time t, and makes a decision based on the current state s t ∈S and strategy π, select the best action a in the action space A t , get the next state s t+1 , and receive reward R t ; Through continuous interaction with the environment, at each time t, the agent accumulates {s t ,a t ,R t ,s t+1 } and store these experiences in the Q table, which acts as a repository for the agent's learning. By utilizing the Q table, the state-action mapping function is gradually improved through continuous interaction; the optimal strategy is achieved by maximizing the action value function Q π (s,a) yields: Among them, γ∈(0,1) is the attenuation factor, Indicates that from the current state s t To the next state s t+1 The transition probability, represents the reward obtained immediately after executing action a in state s, Indicates that from the next state s t+1 Start by selecting action a using strategy π t+1 Q-value function of Optimal Action The selection strategy is expressed as: Among them, Q(s t ,a t ) means in state s t Select action a t Q value; The Q table is continuously updated to learn the optimal strategy and record the optimal Q value Optimal Q value Defined as: Among them, Q π (s t ,a t ) means that in state s under the optimal strategy t Select action a t Q value; At time t, the Q value update process is as follows: Q (t+1) (s′,a′)←Q (t) (s,a)+β·L t , Among them, Q (t+1) (s′, a′) represents the updated Q value of the next state s′ and the next action a′ corresponding to the next time t+1. (t) (s,a) represents the Q value corresponding to the current state s and the current action a before the update, i.e., the current time t. β represents the learning rate, L t It represents the time difference error, that is, the difference between the predicted value and the target value at time t; L t Calculated by the following formula: in, represents the predicted Q value at time t, represents the target value, r represents the reward obtained by executing action a in the current state s, and Q t (s,a) represents the Q value of action a when the state is s at time t, max a′ Q t (s′,a′) represents the maximum expected cumulative reward that can be obtained by selecting action a with the largest Q value starting from the next state s.
2. The resource allocation method for densely deployed NTN Internet of Things network according to claim 1 is characterized in that: In step S3, the optimization problem is constructed as: stc=0 Among them, max means maximization, st means what needs to be satisfied, λ1 and λ2 are the first weight coefficient and the second weight coefficient respectively, B is the channel bandwidth, is the SINR value of the mth DL at the allocated kth RB, where SINR represents the signal-to-interference-plus-noise ratio. is the number of RBs used at time t, is the transmission rate of the mth DL at time t, is the minimum transmission rate of the mth DL, c is the conflict degree of the hypergraph interference model, c is defined as the number of nodes sharing the same color in the hypergraph interference model, K RB It is the RB set.
3. The resource allocation method for densely deployed NTN Internet of Things network according to claim 2 is characterized in that: Calculated by the following formula: Among them, P m [k] represents the transmit power of the mth DL on the kth RB allocated, h m [k] represents the channel power gain of the m-th DL on the allocated k-th RB, P n [k] represents the channel power gain of the nth IoTD on the allocated kth RB, h n,m [k] represents the interference power gain of the m-th DL from the n-th IoTD on the allocated k-th RB, N m represents the IoTD set of IoTDs interfered by the m-th DL on the k-th RB, σ 2 is a constant noise power.
4. The resource allocation method for densely deployed NTN Internet of Things network according to claim 3 is characterized in that: The step S2 specifically includes the following steps: S21. Based on graph theory, the densely deployed NTN IoT network model is modeled as a graph Represents a node set consisting of N IoTDs. Represents a set of M DLs; S22. Based on the definition of direct conflict and indirect conflict, all DLs with direct conflict relationship are connected to obtain a direct conflict graph, and all DLs with indirect conflict relationship are connected to obtain an indirect conflict graph. If two D2D pairs share the same IoTD, the two D2D pairs are in direct conflict. If each of the two D2D pairs has an IoTD within the communication range of each other, the two D2D pairs are in indirect conflict. S23, combining the direct conflict graph and the indirect conflict graph to obtain a conflict graph of a densely deployed NTN Internet of Things network model; S24. Use clique theory and hypergraph theory to simplify the conflict graph and obtain the conflict hypergraph, i.e., the hypergraph interference model.
5. The resource allocation method for densely deployed NTN Internet of Things network according to claim 4 is characterized in that: The step S24 specifically includes the following steps: S241. Find all maximal groups in the conflict graph; S242. Construct each calculated maximal clique into a hyperedge to obtain a conflict hypergraph.
6. The resource allocation method for densely deployed NTN Internet of Things network according to claim 1 is characterized in that: When DL is regarded as an agent, each agent has an observable state space S at time t. t It is expressed as: in, represents the set of interference conditions of all DL at time t, represents the incidence matrix of the interference hypergraph at time t, represents the SINR set of all DL at time t, represents the RB allocation set of all DLs at time t, Represents the minimum rate requirement set at time t; When DL receives a service request, it observes the current state and makes corresponding RB selection actions. The reward R(s,a;t) obtained by performing action t in state s at time t is defined as: Among them, λ3,λ4∈(0,1) are the third and fourth weight coefficients, respectively, representing the contribution of different parts of the reward to the total reward; is the network throughput, which represents the sum of the transmission rates of all nodes at time t. is the transmission rate of the mth node; is the SINR of the mth node at time t, represents the minimum SINR of the mth node.
7. The resource allocation method for densely deployed NTN Internet of Things network according to claim 6 is characterized in that: The deep reinforcement learning algorithm used is the Duel Dual Deep Q Network algorithm. The Duel Dual Deep Q Network algorithm uses the Duel Dual Deep Q Network as the basic network architecture. The Duel Dual Deep Q Network includes a target network and an online network. The online network is used to calculate the Q value in the current state, and its parameters are updated according to the loss function in each iteration; the target network is mainly used to calculate the target Q value, and its parameters are updated regularly. The loss function of the dueling dual-depth Q network is: Where η is the discount factor, J(w; b) represents the loss calculation for a single experience sample b, E represents the experience pool, and D represents the number of samples; The dueling dual-depth Q network is trained using a federated learning architecture, specifically: The server maintains the global model and uses the pre-trained model as the global model for the first round. In the next round of training, a given proportion of agents will be selected to transmit the global model, and the dueling dual-depth Q network algorithm will be used to train and update the model. During training, the agent uses its local mini-batch samples to minimize the loss function. At the end of each round of training, the trained local model parameters are weighted averaged to obtain the global model parameters, and the global model is updated accordingly. The training is iterated until the global model converges.
8. Resource allocation system for densely deployed NTN IoT networks, characterized by: It includes a communication model construction module, a hypergraph interference model construction module, an optimization problem construction module, and a resource allocation module; the communication model construction module, the hypergraph interference model construction module, the optimization problem construction module, and the resource allocation module are respectively used to execute steps S1, S2, S3, and S4 described in any one of claims 1 to 7.
