Adaptive steady-state networking method and device for heterogeneous unmanned platform clusters
Optimizing the cluster structure of heterogeneous unmanned platform clusters through density clustering and reinforcement learning solves the problem that traditional networks cannot adapt to complex task environments, improves the stability and reliability of the network, and enhances adaptability and dynamics.
Patent Information
- Application Number
- CN202410832884.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The existing heterogeneous unmanned platform cluster network cannot fully adapt to the requirements of task types in complex mission environments, resulting in poor network topology, low resource utilization, and traditional maintenance strategies that cannot dynamically adapt to environmental changes.
Density clustering algorithm and reinforcement learning strategy are used to perform clustering processing by obtaining node position and energy information, elect cluster heads, periodically optimize the cluster structure, and dynamically adjust the cluster structure to adapt to changes in the network environment.
It improves the stability and reliability of the heterogeneous unmanned platform cluster network, enhances the adaptability and dynamics to complex task environments, and improves resource utilization.
Smart Images

Figure CN118400788B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle communication technology, and in particular to an adaptive steady-state networking method and device for a heterogeneous unmanned platform cluster. Background Art
[0002] With the development of theories such as artificial intelligence, the performance of unmanned platforms has been further improved. Each unmanned platform has independent computing, execution, and decision-making capabilities. Using unmanned platforms (including unmanned vehicles, drones, etc.) to complete various tasks has become a future trend. Unmanned platforms perform tasks by equipping multiple unmanned platforms with different sensors so that they can obtain different capabilities and thus collaborate to complete various complex and changeable tasks. Usually, tasks require multiple capabilities of unmanned platforms, such as endurance time, reconnaissance radius, and material load. Unmanned platforms with a single function can no longer meet the requirements of complex tasks. It is necessary to use multiple unmanned platforms with different functions (i.e., equipped with different sensors) to collaborate to complete these given tasks. Heterogeneous unmanned platform collaboration will improve the capabilities of individual units and conduct group behavior control to achieve the expected task completion effect.
[0003] The Flying Ad-Hoc Network (FANET) used by the heterogeneous unmanned platform cluster is a typical application of the Mobile Ad Hoc Network (MANET) in the aviation field, which is composed of many heterogeneous unmanned platforms. With the development of intelligent, low-cost and miniaturized heterogeneous unmanned platforms, the application of heterogeneous unmanned platform clusters has become an extremely important research direction in collaborative reconnaissance, target monitoring, emergency communications, etc. Although FANET has great potential, it also faces many problems. Due to the high mobility and limited energy of heterogeneous unmanned platforms, the heterogeneous unmanned platform cluster network faces problems such as frequent topology changes, low link reliability, poor network connectivity, unbalanced network load and high node failure rate. Clustering FANET and then clustering management is one of the effective solutions to the above problems, such as Figure 1 The network architecture diagram of a heterogeneous unmanned platform cluster is shown in the figure. Any node in FANET can be a cluster head (CH) or a cluster member (CM). CM needs to fly according to the predetermined route and complete the tasks assigned to them (such as monitoring, military strikes, etc.). In addition to completing the same functions as CM, CH also needs to manage CMs in the cluster and serve as a communication relay for intra-cluster and inter-cluster communications. Solving the problem of data packet construction of FANET network in the highly dynamic environment of heterogeneous unmanned platforms mainly includes two stages, namely cluster establishment and cluster maintenance.
[0004] Clustering-based heterogeneous unmanned platform network clustering methods often consider simple mission environments. In complex mission environments, heterogeneous unmanned platforms may need to perform various types of tasks, such as reconnaissance, surveillance, communication relay, etc. Traditional methods often fail to fully consider the diversity of tasks, resulting in clustering results that cannot adapt well to the requirements of various mission types (the traditional cluster size is fixed and cannot adapt to the requirements of different mission types). The maintenance strategy of traditional FANET networks is often based on static rules and cannot dynamically adapt to changes in the network environment. This results in poor network topology after running for a period of time, resulting in low resource utilization. Summary of the invention
[0005] The purpose of the present invention is to provide an adaptive steady-state networking method and device for a heterogeneous unmanned platform cluster, so as to improve the stability and reliability of the network structure of the heterogeneous unmanned platform cluster.
[0006] In a first aspect, an embodiment of the present invention provides an adaptive steady-state networking method for a heterogeneous unmanned platform cluster, comprising:
[0007] Obtain the current node location information and current node energy information of the heterogeneous unmanned platform cluster;
[0008] Based on the current node position information and a preset density clustering algorithm, clustering the heterogeneous unmanned platform cluster is performed to obtain a clustering result;
[0009] Based on the current node energy information, a cluster head is elected for each cluster in the clustering result to obtain a current networking result;
[0010] Periodically obtaining observation data of the heterogeneous unmanned platform cluster under the current networking result; wherein the observation data includes network status information and node location information;
[0011] Based on the observation data, a reinforcement learning strategy is used to optimize the current networking result to obtain an optimized networking result.
[0012] Furthermore, clustering the heterogeneous unmanned platform cluster based on the current node position information and a preset density clustering algorithm to obtain a clustering result includes:
[0013] Based on the current node location information and preset clustering parameter information, the DBSCAN algorithm is used to perform clustering processing on the heterogeneous unmanned platform cluster to obtain a clustering result; wherein the clustering parameter information includes a cluster discovery radius and a minimum number of nodes in a cluster.
[0014] Furthermore, the step of performing cluster head election for each cluster in the clustering result based on the current node energy information to obtain the current networking result includes:
[0015] For each cluster in the clustering result, the fitness of each node in the cluster is calculated using node residual energy and node centrality as utility factors, and the node with the highest fitness in the cluster is determined as the cluster head of the cluster.
[0016] Furthermore, the fitness of each node in the cluster is calculated by taking the node residual energy and the node centrality as utility factors, including:
[0017] The fitness of each node in the cluster is calculated by the following formula:
[0018]
[0019]
[0020]
[0021] in, Representation Node The node residual energy utility factor is Representation Node exist t The node energy at the moment, Representation Node The initial energy, Representation Node The node centrality utility factor of Representation Node exist t The distance from the cluster center at that moment, N Indicates the number of nodes in the cluster. Representation Node The fitness of represents the weight of the node's remaining energy utility factor, Represents the weight of the node centrality utility factor.
[0022] Furthermore, based on the observation data, the current networking result is optimized by using a reinforcement learning strategy to obtain an optimized networking result, including:
[0023] The observation data is used as the observation space, the cluster discovery radius, the minimum number of nodes in the cluster and the maximum number of nodes in the cluster are used as the action space, and a cluster structure optimization strategy is generated through a trained reinforcement learning model;
[0024] The current networking result is optimized based on the cluster structure optimization strategy to obtain an optimized networking result.
[0025] Furthermore, the reinforcement learning model includes a feature extraction network, a policy network, a value network and an output layer, the output end of the feature extraction network is respectively connected to the input end of the policy network and the input end of the value network, and the output end of the policy network and the output end of the value network are respectively connected to the input end of the output layer; the cluster structure optimization strategy is generated by the trained reinforcement learning model using the observed data as the observation space, the cluster discovery radius, the minimum number of nodes in the cluster and the maximum number of nodes in the cluster as the action space, including:
[0026] Inputting the observed data into the feature extraction network for feature extraction, scoring the action strategies in the action space through the strategy network and the value network, and performing probability distribution conversion through the output layer to obtain probability score values corresponding to multiple action strategies;
[0027] The action strategy with the highest probability score value is determined as the cluster structure optimization strategy.
[0028] Furthermore, after optimizing the current networking result based on the cluster structure optimization strategy and obtaining the optimized networking result, the method further includes:
[0029] Receiving feedback data sent by the heterogeneous unmanned platform cluster under the optimized networking result; wherein the feedback data includes data measuring the performance and / or network structure stability of the heterogeneous unmanned platform cluster;
[0030] Based on the multiple pieces of feedback data obtained within a preset time period, the model parameters of the reinforcement learning model are updated.
[0031] In a second aspect, an embodiment of the present invention further provides an adaptive steady-state networking device for a heterogeneous unmanned platform cluster, comprising:
[0032] The first acquisition module is used to obtain the current node position information and current node energy information of the heterogeneous unmanned platform cluster;
[0033] A density clustering module, used to perform clustering processing on the heterogeneous unmanned platform cluster based on the current node position information and a preset density clustering algorithm to obtain a clustering result;
[0034] A cluster head election module, used to perform cluster head election for each cluster in the clustering result based on the current node energy information to obtain the current networking result;
[0035] A second acquisition module is used to periodically acquire observation data of the heterogeneous unmanned platform cluster under the current networking result; wherein the observation data includes network status information and node location information;
[0036] The network optimization module is used to optimize the current networking result based on the observation data by adopting a reinforcement learning strategy to obtain an optimized networking result.
[0037] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the adaptive steady-state networking method of the heterogeneous unmanned platform cluster described in the first aspect is implemented.
[0038] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the adaptive steady-state networking method for a heterogeneous unmanned platform cluster described in the first aspect is executed.
[0039] The adaptive steady-state networking method and device of the heterogeneous unmanned platform cluster provided by the embodiment of the present invention can obtain the current node position information and current node energy information of the heterogeneous unmanned platform cluster; based on the current node position information and the preset density clustering algorithm, the heterogeneous unmanned platform cluster is clustered to obtain the clustering result; based on the current node energy information, a cluster head is elected for each cluster in the clustering result to obtain the current networking result; the observation data of the heterogeneous unmanned platform cluster under the current networking result is periodically obtained; wherein the observation data includes network status information and node position information; based on the observation data, the current networking result is optimized by using a reinforcement learning strategy to obtain the optimized networking result. In this way, the heterogeneous unmanned platform cluster is clustered based on the density clustering algorithm, and the cluster structure is dynamically adjusted by using a dynamic maintenance strategy based on reinforcement learning, so that the heterogeneous unmanned platform cluster network has better adaptability and dynamics, thereby improving the stability and reliability of the heterogeneous unmanned platform cluster network structure. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 This is a network architecture diagram of a heterogeneous unmanned platform cluster;
[0042] Figure 2 A schematic diagram of a flow chart of an adaptive steady-state networking method for a heterogeneous unmanned platform cluster provided by an embodiment of the present invention;
[0043] Figure 3An initial heterogeneous unmanned platform cluster distribution and the result of clustering the heterogeneous unmanned platform clusters using the DBSCAN algorithm provided in an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of the working principle of a reinforcement learning model provided by an embodiment of the present invention;
[0045] Figure 5 A schematic diagram showing a comparison of the throughput of a heterogeneous unmanned platform cluster under a solution of the present embodiment and a traditional clustering algorithm K-Means solution provided in an embodiment of the present invention;
[0046] Figure 6 A schematic diagram of the structure of an adaptive steady-state networking device for a heterogeneous unmanned platform cluster provided by an embodiment of the present invention;
[0047] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] To facilitate understanding of this embodiment, an adaptive steady-state networking method for a heterogeneous unmanned platform cluster disclosed in an embodiment of the present invention is first introduced in detail.
[0050] The embodiment of the present invention provides an adaptive steady-state networking method for a heterogeneous unmanned platform cluster, which can be executed by an electronic device of a ground station. Figure 2 The flowchart of a method for adaptive steady-state networking of a heterogeneous unmanned platform cluster is shown, and the method mainly includes the following steps S210 to S250:
[0051] Step S210, obtaining current node position information and current node energy information of the heterogeneous unmanned platform cluster.
[0052] The heterogeneous unmanned platform cluster includes multiple nodes, each of which is a heterogeneous unmanned platform. The current node position information of the heterogeneous unmanned platform cluster may include the position coordinates of each node at the current moment, and the current node energy information may include the remaining energy of each node at the current moment.
[0053] Step S220, based on the current node position information and a preset density clustering algorithm, clustering is performed on the heterogeneous unmanned platform cluster to obtain a clustering result.
[0054] The density clustering algorithm mentioned above may be, but is not limited to, the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm. Based on this, in some possible embodiments, step S220 may be implemented as follows: based on the current node location information and the preset clustering parameter information, the DBSCAN algorithm is used to perform clustering processing on the heterogeneous unmanned platform cluster to obtain a clustering result; wherein the clustering parameter information includes the cluster discovery radius and the minimum number of nodes in the cluster. The specific clustering process based on the DBSCAN algorithm will be described in detail later.
[0055] Step S230: Based on the current node energy information, a cluster head is elected for each cluster in the clustering result to obtain the current networking result.
[0056] The CM nodes in each cluster can be evaluated by using the residual energy and node centrality of the CM nodes in the cluster as utility factors, and the CH nodes are selected based on the evaluation results, thereby obtaining the current networking result. Based on this, in some possible embodiments, step S230 can be implemented as follows: for each cluster in the clustering result, the fitness of each node in the cluster is calculated by using the node residual energy and node centrality as utility factors, and the node with the highest fitness in the cluster is determined as the cluster head of the cluster.
[0057] In a possible implementation, this embodiment also provides a specific method for calculating node fitness. Specifically, the fitness of each node in the cluster can be calculated by the following formula:
[0058]
[0059]
[0060]
[0061] in, Representation Node The node residual energy utility factor is Representation Node exist t The node energy at the moment, Representation Node The initial energy, Representation Node The node centrality utility factor of Representation Node exist t The distance from the cluster center at a certain moment, N Indicates the number of nodes in the cluster. Representation Node The fitness of represents the weight of the node's remaining energy utility factor, Represents the weight of the node centrality utility factor.
[0062] It should be noted that , All of them can be set according to actual needs and are not limited here.
[0063] When determining the cluster head of each cluster, the nodes in the cluster may be sorted according to the fitness, such as sorting them in descending order of fitness, and determining the node with the highest ranking as the cluster head of the cluster.
[0064] Step S240, periodically obtain observation data of the heterogeneous unmanned platform cluster under the current networking result; wherein the observation data includes network status information and node location information.
[0065] The cluster structure of the current networking result can be dynamically adjusted regularly through reinforcement learning. The dynamic adjustment needs to be based on the observation data of the heterogeneous unmanned platform cluster, so the observation data of the heterogeneous unmanned platform cluster needs to be obtained periodically. The optimization cycle can be set according to actual needs (such as the optimization cycle is 10 minutes, 1 hour or 1 day, etc.), and when the time point corresponding to the optimization cycle is reached, the observation data of the heterogeneous unmanned platform cluster is collected. The observation data includes network status information and node location information, among which the network status information can include network clustering and the connectivity of each node.
[0066] Step S250, based on the observed data, a reinforcement learning strategy is used to optimize the current networking result to obtain an optimized networking result.
[0067] Reinforcement learning is a type of unlabeled learning that uses a reward function to judge the quality of performing an action under a certain state. The learning process is to change the strategy of executing the action through reward signals. The final result is to form a strategy that maximizes the reward.
[0068] In some possible embodiments, step S250 can be implemented in the following manner: using the observed data as the observation space, the cluster discovery radius, the minimum number of nodes in the cluster, and the maximum number of nodes in the cluster as the action space, generating a cluster structure optimization strategy through a trained reinforcement learning model; optimizing the current networking result based on the cluster structure optimization strategy to obtain an optimized networking result.
[0069] For ease of understanding, this embodiment also provides a specific structure of a reinforcement learning model: the reinforcement learning model includes a feature extraction network, a policy network, a value network and an output layer, the output end of the feature extraction network is respectively connected to the input end of the policy network and the input end of the value network, the output end of the policy network and the output end of the value network are respectively connected to the input end of the output layer, wherein the output layer can be implemented by a softmax function, and the softmax function is used to convert the original output of the neural network into a probability distribution, so that the sum of the probability score values corresponding to all action strategies is 1. Based on this, the cluster structure optimization strategy can be determined by the following process: inputting the observed data into the feature extraction network for feature extraction, scoring the action strategies in the action space through the policy network and the value network, and converting the probability distribution through the output layer to obtain the probability score values corresponding to multiple action strategies; the action strategy with the highest probability score value is determined as the cluster structure optimization strategy.
[0070] The reinforcement learning model can dynamically adjust the cluster structure of heterogeneous unmanned platform clusters according to changes in the network environment, making the network more adaptable and dynamic, thereby improving the stability and reliability of the network.
[0071] The adaptive steady-state networking method of heterogeneous unmanned platform clusters provided in the embodiment of the present invention can obtain the current node position information and current node energy information of the heterogeneous unmanned platform clusters; based on the current node position information and the preset density clustering algorithm, the heterogeneous unmanned platform clusters are clustered to obtain clustering results; based on the current node energy information, cluster heads are elected for each cluster in the clustering results to obtain the current networking results; the observation data of the heterogeneous unmanned platform clusters under the current networking results are periodically obtained; wherein the observation data includes network status information and node position information; based on the observation data, the current networking results are optimized using a reinforcement learning strategy to obtain the optimized networking results. In this way, the heterogeneous unmanned platform clusters are clustered based on the density clustering algorithm, and the cluster structure is dynamically adjusted using a dynamic maintenance strategy based on reinforcement learning, so that the heterogeneous unmanned platform cluster network has better adaptability and dynamics, thereby improving the stability and reliability of the heterogeneous unmanned platform cluster network structure.
[0072] An embodiment of the present invention also provides a method for updating model parameters of a reinforcement learning model: receiving feedback data sent by a heterogeneous unmanned platform cluster under an optimized networking result; wherein the feedback data includes data for measuring the performance of the heterogeneous unmanned platform cluster and / or the stability of the network structure; and updating the model parameters of the reinforcement learning model based on multiple feedback data obtained within a preset time period.
[0073] When updating the model parameters, the reward value can be calculated based on the feedback data and the preset reward function, and then the loss value of the reinforcement learning model is calculated based on the reward value, and the model parameters of the reinforcement learning model are updated based on the loss value.
[0074] Each node in the heterogeneous unmanned platform cluster can periodically send feedback data, which can include throughput information and cluster change information. The throughput information can measure the performance of the heterogeneous unmanned platform cluster, and the cluster change information refers to whether the cluster of the node has changed. The cluster change information can measure the stability of the network structure.
[0075] In one possible implementation, the reward function reward Represents the stability of the cluster structure. The number of cluster changes per node within time t is used to measure the structural stability of the cluster to which it belongs. The reward value can be calculated based on multiple cluster change information obtained within a preset time period and the definition of the following reward function:
[0076]
[0077] in, Representation Node , count_role represents the number of times a node changes its cluster within a unit time t. If the number of times a node changes its cluster is less than a predefined threshold φ (φ=1 in the definition of the above reward function), the reward is 1, otherwise it is -1. It should be noted that the unit time t and the threshold φ can be set according to actual needs and are not limited here.
[0078] The model parameter update of the reinforcement learning model adopts the PPO (Proximal Policy Optimization) algorithm based on the Actor-Critic structure, which combines the policy network (Actor) and the value network (Critic) to learn the policy more stably and efficiently. At the same time, the Convolutional Neural Networks (CNN) is used as the feature extraction network to extract features from the observation space information to better update the policy network and value network.
[0079] Among them, the update of the policy network:
[0080] The policy network is used to decide the action to take in a given state. Its update is based on an objective function that limits the magnitude of the policy update to ensure the stability of the update process. The policy network parameter update formula (i.e., the policy network loss function) is as follows:
[0081]
[0082] in, represents the objective function (i.e., the policy network in terms of network parameters θ Loss function under ); represents the expectation of the time step; Represents the new strategy (network parameters θ ) and the old strategy (network parameters θ old ), that is, , Indicates the policy network in network parameters θ Lower input status s (the input corresponding to the observed data) when selecting an action strategy a The probability of Indicates the policy network in network parameters θ old Lower input status s When choosing an action strategy a The probability of; clip(⋅) function is a clipping function used to limit The value range is in the interval ; represents the advantage function, estimated by the value network.
[0083] Updates to the value network:
[0084] Value Network To predict a given state s In PPO, the value network helps estimate the advantage function of the strategy , thereby guiding the update of the policy network. The loss function of the value network It is usually defined as the mean squared error between the reward prediction and the actual reward, that is:
[0085]
[0086] in, is the prediction of the value network, is the accumulation of the reward function.
[0087] For ease of understanding, the following uses the DBSCAN algorithm as an example to introduce in detail the adaptive steady-state networking method of the above-mentioned heterogeneous unmanned platform cluster.
[0088] In this embodiment, the cluster establishment phase clusters the heterogeneous unmanned platform cluster network through a density-based clustering algorithm. The DBSCAN algorithm is a density-based clustering algorithm that determines its clustering according to the distance and density between the heterogeneous unmanned platform nodes in the FANET, and can identify low-density areas as noise. DBSCAN does not need to pre-specify the number of clusters, but determines the shape and number of clusters based on the density of data points. Since DBSCAN is based on density accessibility rather than distance thresholds, it has strong robustness to noise in the data and can discover clusters of arbitrary shapes. After the clustering is completed, CH selection is performed, and fitness evaluation and sorting are performed based on the residual energy of the CM nodes in the cluster and the node centrality, and the one with the highest fitness is elected as CH.
[0089] In a complex mission environment, FANET is composed of heterogeneous unmanned platforms of various mission types. Each node deploys different resources, with different resource consumption rates and flight routes. After the topology of FANET is built, it is necessary to dynamically maintain the network topology to maintain good network performance. Reinforcement learning is a machine learning paradigm that learns and improves its decision-making strategy during the interaction between the agent and the environment. The range and number of clusters are adjusted according to the movement mode and mission objectives of CMs in the maintenance phase through the reinforcement learning model. Considering the node task status, the topological relationship of the heterogeneous unmanned platform network, and the remaining energy of the node as input, the adjustment cluster structure scheme and reward value are obtained. Through continuous learning interaction, a strategy is finally learned to dynamically adjust the detection range of the cluster and the number of CMs in the cluster in a complex mission environment to optimize the stability of the FANET network topology.
[0090] Based on this, the specific scheme of the adaptive steady-state networking method of heterogeneous unmanned platform cluster provided by the embodiment of the present invention is as follows:
[0091] 1. DBSCAN clustering initialization
[0092] First, given a heterogeneous unmanned platform network node dataset , where each Represents a heterogeneous unmanned platform node. The distance metric used by the DBSCAN algorithm can be the Euclidean distance, and its formula is:
[0093]
[0094] in, d ij Represents a heterogeneous unmanned platform node u i With heterogeneous unmanned platform nodes u jThe location information of the nodes of the heterogeneous unmanned platform is provided by the GPS (Global Positioning System) module.
[0095] The core point definition of heterogeneous unmanned platform clusters: For a given heterogeneous unmanned platform cluster, the cluster discovery radius ε and the minimum number of heterogeneous unmanned platforms in the cluster (i.e., the minimum number of nodes in the cluster) MinPts, if a heterogeneous unmanned platform node u i If the range of ε contains at least MinPts nodes (including itself), then u i Considered as the core point.
[0096] Definition of boundary points of heterogeneous unmanned platform cluster: If a heterogeneous unmanned platform node u i If there are fewer than MinPts nodes within the ε range, but there are core points within its ε range, then u i are considered as boundary points.
[0097] Noise point definition: If a heterogeneous unmanned platform node is neither a core point nor a boundary point, it is considered a noise point.
[0098] Density reachability: For each core point, if they are within each other’s neighborhood (i.e., their ε range), then they are considered density reachable. This means that they belong to the same cluster.
[0099] Cluster expansion: For each core point, the cluster is expanded by density reachability, and all points in its neighborhood are added to the same cluster. u i is not a core point, but is located in the neighborhood of a core point, then u i The nodes of the remaining heterogeneous unmanned platform (i.e., noise points) that have not been clustered are clustered separately.
[0100] Figure 3 The initial heterogeneous unmanned platform cluster distribution and the results of clustering the heterogeneous unmanned platform clusters using the DBSCAN algorithm are shown. Figure 3 In the clustering results, the same cluster uses the same color, and different clusters use different colors.
[0101] 2. CH cluster head election
[0102] After clustering, each cluster will be selected as a CH, and the remaining energy and centrality of the CM nodes in the cluster will be used as the utility factor for evaluation. s1 , used to represent the remaining energy of the node:
[0103]
[0104] in, Representation Node The node residual energy utility factor is Representation Node exist t The node energy at the moment, Representation Node The initial energy.
[0105] The second utility factor s 2 , which is used to measure the centrality of nodes in the network:
[0106]
[0107] in, Representation Node The node centrality utility factor of Representation Node exist t The distance from the cluster center at a certain moment, N Indicates the number of nodes in the cluster.
[0108] The fitness is calculated according to the following formula, and the heterogeneous unmanned platform with the highest fitness is elected as the cluster head:
[0109]
[0110] in, represents the weight of the node's remaining energy utility factor, Represents the weight of the node centrality utility factor.
[0111] 3. FANET topology maintenance based on reinforcement learning
[0112] In order to ensure that FANET maintains a stable network topology in a dynamic and complex task environment, a reinforcement learning model based on PPO is used to adjust the optimal clustering strategy according to the current network state. In the reinforcement learning framework, the agent learns by interacting with the environment; at each step, the agent selects an action based on the current state of the environment, and then the environment will feedback a new state and a reward to the agent based on this action; the agent can be considered as a centralized controller. The ground station (GS) runs the reinforcement learning model as a clustering strategy adjustment server and broadcasts the latest optimal clustering strategy to all nodes at regular intervals. The heterogeneous unmanned platform nodes in the network will be reconstructed according to the received clustering strategy. In this method, the global network state and the position of each node are used as the observation space of the agent. The cluster discovery radius ε of each cluster, the minimum number of heterogeneous unmanned platforms in the cluster MinPts (i.e., the minimum number of nodes in the cluster) and the maximum number MaxPts (i.e., the maximum number of nodes in the cluster) are used as the action space to dynamically adjust the clustering strategy to achieve the goal of regularly maintaining the network topology structure; after the initial clustering, the initial clustering result needs to be adjusted based on the maximum number MaxPts. The agent update adopts the PPO algorithm based on the Actor-Critic structure, combining the policy network (Actor) and the value network (Critic) to learn the strategy more stably and efficiently; at the same time, the convolutional neural network (CNN) is used as the feature extraction network to extract features from the observation space to better update the policy network and the value network.
[0113] Figure 4 The figure shows a schematic diagram of the working principle of a reinforcement learning model. First, the ground base station (i.e., ground station) is used to gather information from various heterogeneous unmanned platforms, and the observation data is input into the CNN-based feature extraction network (i.e., feature extractor). The global network topology map and the information of each heterogeneous unmanned platform are embedded and feature extracted, and then input into the value network and the policy network. After that, the cluster structure optimization policy action action is generated and returned to the environment of the heterogeneous unmanned platform; the loss is calculated through the reward returned by the environment, and the network parameters of the policy network and the value network are adjusted. θ The update of θ Among them, the loss function of the policy network is based on the policy gradient design, and the value network (i.e., Q-network) is based on the Q-value training loss, which is the expected value of a long-term cumulative reward.
[0114] The output of the reinforcement learning model can be expressed as:
[0115]
[0116] in, sRepresents the state input in the environment, i.e., the network topology of FANET and the node locations of heterogeneous unmanned platforms; Indicates the policy network in network parameters θ Lower input status s When choosing an action strategy a The probability of action strategy a corresponding probability score value); a represents the action strategy output for adjusting each cluster structure, represents all action strategies; Represents the output of the policy network; the original output of the policy network is converted into a probability distribution through the softmax function so that the sum of the probabilities of all action strategies is 1.
[0117] In the clustering strategy adjustment model (i.e., reinforcement learning model), GS continuously receives feedback on the clustering results sent by all nodes in the network. The feedback will be regarded as a reward for the strategy used in the latest clustering process.
[0118] Reward Function reward Represents the stability of the clustering structure, and measures the structural stability of the cluster to which each node belongs by the number of cluster changes within time t. If the number of times a node changes its cluster is less than a predefined threshold φ, the reward is 1, otherwise -1:
[0119]
[0120] The policy network parameter update formula of the PPO algorithm is based on the policy gradient method, where the policy gradient function represents the policy update direction. In PPO, the advantage function is used as a reward signal to assist in policy updates. The expression of the policy gradient function is as follows:
[0121]
[0122] in, Represents the policy network parameters θ The policy gradient of is in state s t Select Action a t The subsequent advantage estimate is obtained by value network estimation.
[0123] The policy network parameter update formula in the PPO algorithm is based on the estimation of the advantage function, while limiting the magnitude of the policy update to ensure that the new policy is not too far from the old policy. The policy network parameter update formula of the PPO algorithm is (derived based on the above policy gradient function):
[0124]
[0125] in, Indicates the policy network in network parameters θ The loss function under represents the expectation of the time step; Represents the new strategy (network parameters θ ) and the old strategy (network parameters θ old ) between the probability ratio of the action strategy; the clip(⋅) function is a clipping function used to limit The value range is in the interval By limiting the update range of the heterogeneous unmanned platform strategy network parameters, the randomness of the heterogeneous unmanned platforms in the FANET environment can be combated.
[0126] This embodiment also provides the performance evaluation results of the algorithm, such as Figure 5 As shown, the performance indicator is the average cluster throughput, and the solution of this embodiment is better than the traditional clustering algorithm K-Means solution.
[0127] The key technical points of this embodiment include:
[0128] 1) The DBSCAN-based density clustering algorithm proposed in this embodiment identifies the cluster structure in the heterogeneous unmanned platform cluster by defining core points, boundary points, and noise points. The stability of the network structure is improved by performing extended clustering on the noise points.
[0129] 2) This embodiment proposes a cluster structure maintenance algorithm based on PPO. When solving the problem that the network structure of heterogeneous unmanned platforms in a highly dynamic unmanned cluster environment deteriorates over time, a dynamic maintenance strategy based on reinforcement learning is adopted. CH dynamically adjusts the cluster structure through the observation values of CM to maintain the stability of the network structure of the heterogeneous unmanned platforms.
[0130] Corresponding to the above-mentioned adaptive steady-state networking method for heterogeneous unmanned platform clusters, the embodiment of the present invention also provides an adaptive steady-state networking device for heterogeneous unmanned platform clusters, see Figure 6 The structure diagram of an adaptive steady-state networking device for a heterogeneous unmanned platform cluster is shown, and the device includes:
[0131] The first acquisition module 601 is used to acquire the current node position information and current node energy information of the heterogeneous unmanned platform cluster;
[0132] The density clustering module 602 is used to perform clustering processing on the heterogeneous unmanned platform cluster based on the current node position information and a preset density clustering algorithm to obtain a clustering result;
[0133] A cluster head election module 603 is used to perform cluster head election for each cluster in the clustering result based on the current node energy information to obtain a current networking result;
[0134] The second acquisition module 604 is used to periodically acquire the observation data of the heterogeneous unmanned platform cluster under the current networking result; wherein the observation data includes network status information and node location information;
[0135] The networking optimization module 605 is used to optimize the current networking result based on the observation data by adopting a reinforcement learning strategy to obtain an optimized networking result.
[0136] The adaptive steady-state networking device of the heterogeneous unmanned platform cluster provided by the embodiment of the present invention can obtain the current node position information and current node energy information of the heterogeneous unmanned platform cluster; based on the current node position information and the preset density clustering algorithm, the heterogeneous unmanned platform cluster is clustered to obtain the clustering result; based on the current node energy information, a cluster head is elected for each cluster in the clustering result to obtain the current networking result; the observation data of the heterogeneous unmanned platform cluster under the current networking result is periodically obtained; wherein the observation data includes network status information and node position information; based on the observation data, the current networking result is optimized by using a reinforcement learning strategy to obtain the optimized networking result. In this way, the heterogeneous unmanned platform cluster is clustered based on the density clustering algorithm, and the cluster structure is dynamically adjusted by using a dynamic maintenance strategy based on reinforcement learning, so that the heterogeneous unmanned platform cluster network has better adaptability and dynamics, thereby improving the stability and reliability of the heterogeneous unmanned platform cluster network structure.
[0137] Furthermore, the above-mentioned density clustering module 602 is also used to: based on the current node position information and preset clustering parameter information, use the DBSCAN algorithm to cluster the heterogeneous unmanned platform cluster to obtain a clustering result; wherein the clustering parameter information includes the cluster discovery radius and the minimum number of nodes in the cluster.
[0138] Furthermore, the cluster head election module 603 is also used to: for each cluster in the clustering result, calculate the fitness of each node in the cluster using node residual energy and node centrality as utility factors, and determine the node with the highest fitness in the cluster as the cluster head of the cluster.
[0139] Furthermore, the cluster head election module 603 is also used to calculate the fitness of each node in the cluster by the following formula:
[0140]
[0141]
[0142]
[0143] in, Representation Node The node residual energy utility factor is Representation Node exist t The node energy at the moment, Representation Node The initial energy, Representation Node The node centrality utility factor of Representation Node exist t The distance from the cluster center at that moment, N Indicates the number of nodes in the cluster. Representation Node The fitness of represents the weight of the node's remaining energy utility factor, Represents the weight of the node centrality utility factor.
[0144] Furthermore, the above-mentioned network optimization module 605 is also used to: use the observation data as the observation space, the cluster discovery radius, the minimum number of nodes in the cluster and the maximum number of nodes in the cluster as the action space, and generate a cluster structure optimization strategy through the trained reinforcement learning model; optimize the current networking result based on the cluster structure optimization strategy to obtain an optimized networking result.
[0145] Furthermore, the reinforcement learning model includes a feature extraction network, a policy network, a value network and an output layer, the output end of the feature extraction network is respectively connected to the input end of the policy network and the input end of the value network, and the output end of the policy network and the output end of the value network are respectively connected to the input end of the output layer; the above-mentioned networking optimization module 605 is also used to: input the observation data into the feature extraction network for feature extraction, score the action strategy in the action space through the policy network and the value network, and perform probability distribution conversion through the output layer to obtain probability score values corresponding to multiple action strategies; determine the action strategy with the highest probability score value as the cluster structure optimization strategy.
[0146] Furthermore, the above device also includes:
[0147] A parameter updating module is used to receive feedback data sent by the heterogeneous unmanned platform cluster under the optimized networking result; wherein the feedback data includes data for measuring the performance of the heterogeneous unmanned platform cluster and / or the stability of the network structure; based on multiple pieces of the feedback data obtained within a preset time period, the model parameters of the reinforcement learning model are updated.
[0148] The adaptive steady-state networking device for heterogeneous unmanned platform clusters provided in this embodiment has the same implementation principle and technical effects as those in the aforementioned adaptive steady-state networking method embodiment for heterogeneous unmanned platform clusters. For the sake of brief description, for matters not mentioned in the embodiment of the adaptive steady-state networking device for heterogeneous unmanned platform clusters, reference may be made to the corresponding contents in the aforementioned adaptive steady-state networking method embodiment for heterogeneous unmanned platform clusters.
[0149] like Figure 7 As shown, an electronic device 700 provided by an embodiment of the present invention includes: a processor 701, a memory 702 and a bus, the memory 702 stores a computer program that can be run on the processor 701, when the electronic device 700 is running, the processor 701 and the memory 702 communicate through the bus, and the processor 701 executes the computer program to realize the above-mentioned adaptive steady-state networking method of the heterogeneous unmanned platform cluster.
[0150] Specifically, the memory 702 and the processor 701 can be general-purpose memories and processors, which are not specifically limited here.
[0151] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the adaptive steady-state networking method of a heterogeneous unmanned platform cluster described in the previous method embodiment is executed. The computer-readable storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.
[0152] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0153] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.
[0154] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0155] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0156] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0157] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An adaptive steady-state networking method for heterogeneous unmanned platform clusters, characterized in that: include: Obtain the current node location information and current node energy information of the heterogeneous unmanned platform cluster; Based on the current node position information and a preset density clustering algorithm, clustering the heterogeneous unmanned platform cluster is performed to obtain a clustering result; Based on the current node energy information, a cluster head is elected for each cluster in the clustering result to obtain a current networking result; Periodically obtaining observation data of the heterogeneous unmanned platform cluster under the current networking result; wherein the observation data includes network status information and node location information; Based on the observation data, a reinforcement learning strategy is used to optimize the current networking result to obtain an optimized networking result; The step of performing cluster head election for each cluster in the clustering result based on the current node energy information to obtain the current networking result includes: For each cluster in the clustering result, taking the node residual energy and the node centrality as the utility factors, the fitness of each node in the cluster is calculated, and the node with the highest fitness in the cluster is determined as the cluster head of the cluster; The fitness of each node in the cluster is calculated by taking the node residual energy and the node centrality as the utility factors, including: The fitness of each node in the cluster is calculated by the following formula: in, Representation Node The node residual energy utility factor, Representation Node exist t The node energy at the moment, Representation Node The initial energy, Representation Node The node centrality utility factor of Representation Node exist t The distance from the cluster center at a certain moment, N Indicates the number of nodes in the cluster, Representation Node The fitness of represents the weight of the node's remaining energy utility factor, represents the weight of the node centrality utility factor; The step of optimizing the current networking result based on the observation data by using a reinforcement learning strategy to obtain an optimized networking result includes: The observation data is used as the observation space, the cluster discovery radius, the minimum number of nodes in the cluster and the maximum number of nodes in the cluster are used as the action space, and a cluster structure optimization strategy is generated through a trained reinforcement learning model; Optimizing the current networking result based on the cluster structure optimization strategy to obtain an optimized networking result; The reinforcement learning model includes a feature extraction network, a policy network, a value network and an output layer, wherein the output end of the feature extraction network is respectively connected to the input end of the policy network and the input end of the value network, and the output end of the policy network and the output end of the value network are respectively connected to the input end of the output layer; the cluster structure optimization strategy is generated by the trained reinforcement learning model using the observed data as the observation space, the cluster discovery radius, the minimum number of nodes in the cluster and the maximum number of nodes in the cluster as the action space, and comprising: Inputting the observed data into the feature extraction network for feature extraction, scoring the action strategies in the action space through the strategy network and the value network, and performing probability distribution conversion through the output layer to obtain probability score values corresponding to multiple action strategies; The action strategy with the highest probability score value is determined as the cluster structure optimization strategy.
2. The method according to claim 1, characterized in that The clustering process is performed on the heterogeneous unmanned platform cluster based on the current node position information and a preset density clustering algorithm to obtain a clustering result, including: Based on the current node location information and preset clustering parameter information, the DBSCAN algorithm is used to perform clustering processing on the heterogeneous unmanned platform cluster to obtain a clustering result; wherein the clustering parameter information includes a cluster discovery radius and a minimum number of nodes in a cluster.
3. The method according to claim 1, characterized in that After optimizing the current networking result based on the cluster structure optimization strategy to obtain the optimized networking result, the method further includes: Receiving feedback data sent by the heterogeneous unmanned platform cluster under the optimized networking result; wherein the feedback data includes data measuring the performance and / or network structure stability of the heterogeneous unmanned platform cluster; Based on the multiple pieces of feedback data obtained within a preset time period, the model parameters of the reinforcement learning model are updated.
4. An adaptive steady-state networking device for a heterogeneous unmanned platform cluster, characterized in that: include: The first acquisition module is used to obtain the current node position information and current node energy information of the heterogeneous unmanned platform cluster; A density clustering module, used to perform clustering processing on the heterogeneous unmanned platform cluster based on the current node position information and a preset density clustering algorithm to obtain a clustering result; A cluster head election module, configured to perform cluster head election for each cluster in the clustering result based on the current node energy information to obtain a current networking result; A second acquisition module is used to periodically acquire observation data of the heterogeneous unmanned platform cluster under the current networking result; wherein the observation data includes network status information and node location information; A networking optimization module, used to optimize the current networking result based on the observation data by adopting a reinforcement learning strategy to obtain an optimized networking result; The cluster head election module is also used to: for each cluster in the clustering result, calculate the fitness of each node in the cluster with node residual energy and node centrality as utility factors, and determine the node with the highest fitness in the cluster as the cluster head of the cluster; The cluster head election module is also used to calculate the fitness of each node in the cluster by the following formula: in, Representation Node The node residual energy utility factor, Representation Node exist t The node energy at the moment, Representation Node The initial energy, Representation Node The node centrality utility factor of Representation Node exist t The distance from the cluster center at a certain moment, N Indicates the number of nodes in the cluster, Representation Node The fitness of represents the weight of the node's remaining energy utility factor, represents the weight of the node centrality utility factor; The networking optimization module is further used to: use the observation data as the observation space, the cluster discovery radius, the minimum number of nodes in the cluster and the maximum number of nodes in the cluster as the action space, and generate a cluster structure optimization strategy through the trained reinforcement learning model; optimize the current networking result based on the cluster structure optimization strategy to obtain an optimized networking result; The reinforcement learning model includes a feature extraction network, a policy network, a value network and an output layer. The output end of the feature extraction network is respectively connected to the input end of the policy network and the input end of the value network, and the output end of the policy network and the output end of the value network are respectively connected to the input end of the output layer; the networking optimization module is also used to: input the observation data into the feature extraction network for feature extraction, score the action strategy in the action space through the policy network and the value network, and perform probability distribution conversion through the output layer to obtain probability score values corresponding to multiple action strategies; determine the action strategy with the highest probability score value as the cluster structure optimization strategy.
5. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the adaptive steady-state networking method for a heterogeneous unmanned platform cluster described in any one of claims 1-3 is implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the adaptive steady-state networking method for a heterogeneous unmanned platform cluster described in any one of claims 1 to 3 is executed.
