Self-adaptive frequency hopping anti-interference method and device based on federal learning and electronic equipment

Through federated learning and dual deep Q network models, it solves the problems of overestimation and poor adaptability in existing intelligent anti-interference technology, achieves efficient communication in a variety of interference environments, and is suitable for multi-device environments.

CN118869005AActive Publication Date: 2024-10-29BEIJING UNIV OF POSTS & TELECOMM +1

Patent Information

Application Number
CN202410943450.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-29
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing intelligent anti-interference technologies, especially algorithms based on reinforcement learning, are prone to overestimation problems and cannot adapt to different interference environments. They have poor versatility and insufficient resource sharing in multi-device environments, resulting in low communication efficiency.

Method used

The adaptive frequency hopping anti-interference method based on federated learning is adopted. Through collaborative learning of UAV equipment and base station equipment, the dual deep Q network model is used to train a preset frequency hopping anti-interference model, which reduces Q value overestimation and adapts to multiple interference environment and integrate information from multiple UAV devices to improve the versatility of anti-interference strategies.

Benefits of technology

It effectively reduces the problem of Q value overestimation, improves the adaptability and versatility of the anti-interference algorithm, enhances communication efficiency and reliability in complex interference environments, and is suitable for multiple interference types and multi-device environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869005A_ABST
    Figure CN118869005A_ABST
Patent Text Reader

Abstract

The invention provides an adaptive frequency hopping anti-interference method and device based on federated learning, and electronic equipment, the method is applied to each unmanned aerial vehicle equipment in a flight ad hoc network, and the method uses a preset frequency hopping anti-interference model to determine a target frequency hopping strategy based on a communication environment where the unmanned aerial vehicle equipment is located, and sends the target frequency hopping strategy to the unmanned aerial vehicle equipment. And executing the target frequency hopping strategy. According to the embodiment of the invention, the preset frequency hopping anti-interference model adopts the dual deep Q network, so that the problem of over-estimation of an existing intelligent anti-interference algorithm can be effectively reduced; according to the invention, the selected carrier frequencies and obtained instant reward conditions of different unmanned aerial vehicle devices in different environments can be obtained, and the dual deep Q network obtained through training not only can reduce the problem of over-estimation, but also can be suitable for different anti-interference environments, and is higher in universality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an adaptive frequency hopping anti-interference method, device and electronic equipment based on federated learning. Background Art

[0002] Communication anti-interference technology is an important technology to ensure the quality of communication. Traditional communication anti-interference technology includes two categories: spread spectrum technology and non-spread spectrum technology. Among them, spread spectrum technology is to improve the anti-interference ability of communication by expanding the information bandwidth for data transmission. Non-spread spectrum technology is to enhance the anti-interference ability of communication system through adaptive filtering, interference notch, adaptive frequency selection and other technical means without expanding the signal spectrum. Practice has proved that the comprehensive use of spread spectrum and non-spread frequency technology can achieve better anti-interference effect. However, with the complexity of electromagnetic environment and the improvement of interference technology, the shortcomings of traditional anti-interference technology have gradually emerged. Therefore, intelligent anti-interference technology has become a research hotspot in the field of anti-interference technology.

[0003] Common intelligent anti-interference technologies currently include: anti-interference algorithms based on reinforcement learning. Among them, existing intelligent anti-interference algorithms are prone to being unable to adapt to different interference environments and have poor versatility. Summary of the invention

[0004] In view of this, an embodiment of the present application provides an adaptive frequency hopping anti-interference method, device and electronic device based on federated learning to provide an adaptive anti-interference strategy for diverse interference environments.

[0005] In a first aspect, an embodiment of the present application provides an adaptive frequency hopping anti-interference method based on federated learning, wherein the method is applied to each drone device in a flight self-organizing network system, and the method includes:

[0006] Using a preset frequency hopping anti-interference model, based on the communication environment in which the UAV device is located, a target frequency hopping strategy is determined, and the target frequency hopping strategy is executed;

[0007] The flight self-organizing network system further includes: a base station device, and the preset frequency hopping anti-interference model is trained by the following steps:

[0008] The drone device trains a preset initial dual deep Q network model based on the initial network parameters combined with the interaction information between the drone device and the environment, wherein the interaction information between the drone device and the environment includes: its own communication state information, actions taken, instant rewards obtained, and new state information, wherein the actions taken are the carrier frequency selected under the existing state information;

[0009] The UAV device uploads the model parameters of the trained dual deep Q network model to the base station device;

[0010] The base station device generates an aggregate network model based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm, and sends the aggregate network model to each of the drone devices;

[0011] The UAV device receives the aggregate network model sent by the base station device, performs secondary learning training on the dual deep Q network model based on the aggregate network model, and determines the dual deep Q network model obtained by the secondary learning training as the preset frequency hopping anti-interference model.

[0012] Optionally, the dual deep Q network model includes: a behavior network and a target Q value generation network, wherein the behavior network is used to select an action to be taken, and the target Q value generation network is used to generate a Q value according to the action selected by the behavior network; the drone device trains the preset initial dual deep Q network model based on the initialization network parameters combined with the interaction information between the drone device and the environment, including:

[0013] Acquire training sample data from a preset experience playback pool, where the training sample data is the interaction information between the drone device and the environment in which it is located, which is collected historically;

[0014] Inputting the training sample data into the preset initial dual deep Q network model, the behavior network selects different carrier frequencies under different state information, and the target Q value generation network outputs a predicted Q value based on the carrier frequency selected by the behavior network;

[0015] The weight of the behavior network is updated according to the error between the predicted Q value and the Q value label until the error between the predicted Q value and the Q value label converges, wherein the Q value label is a training label of the dual deep network model.

[0016] Optionally, updating the weight of the behavior network according to the error between the predicted Q value and the Q value label includes:

[0017] According to the error between the predicted Q value and the Q value label, the weight of the behavior network is updated in combination with the following weight update equation:

[0018] Q(s,a)←Q(s,a)+α[r+γmax a′ Q(s ′ ,a ′ )-Q(s,a)]

[0019] Among them, Q(s ′,a ′ ) is the predicted Q value, Q(s,a) is the Q value label, s is the current channel state of the drone device, a is the frequency point taken by the drone device in the current state s, α is the learning rate of the model, γ is the discount factor used to measure the importance of the reward, s ′ is the channel state of the UAV device in the next time slot, a ′ is the frequency point selected for the next time slot, r is the frequency point selected for the next time slot, and r is the frequency point selected for the next time slot. ′ The instant reward obtained.

[0020] Optionally, the training of a preset initial dual deep Q network model by the drone device based on the initialization network parameters combined with the interaction information between the drone device and the environment also includes:

[0021] According to the preset training rounds, the parameters of the target Q value generation network are updated according to the updated parameters of the behavior network.

[0022] Optionally, the generating of the aggregated network model by the base station device based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm includes:

[0023] Receive the model parameters uploaded by each of the drone devices, and input the received model parameters into the following aggregation equation to generate the aggregation network model:

[0024]

[0025] Among them, ω is the weight parameter of the model, t is the time slot, N is the total number of drone devices, k1 is each drone device in the first interference environment, k2 is each drone device in the second interference environment, and n k1 is the number of UAV devices in the first interference environment, n k2 is the number of UAV devices in the second interference environment, 1k is the model parameter of the UAV device in the first interference environment, 2k is the model parameter of the UAV device in the second interference environment, is the weight parameter of the model in the first interference environment at time slot t+1, is the weight parameter of the model in the second interference environment at time slot t+1.

[0026] Optionally, the receiving, by the drone device, the aggregate network model sent by the base station device, and performing secondary learning training on the dual deep Q network model based on the aggregate network model includes:

[0027] Using the global model parameters of the aggregated network model as initial model parameters of a dual deep Q network model trained by secondary learning;

[0028] Based on the initial model parameters and in combination with the interaction information with the environment, the dual deep Q network model is trained until the carrier frequency output by the dual deep Q network model meets a preset anti-interference condition, wherein the preset anti-interference condition is determined according to the environment.

[0029] In a second aspect, the present application provides an adaptive frequency hopping anti-interference device based on federated learning, which is applied to each drone device in a flight self-organizing network system, and the device includes:

[0030] A hopping strategy determination module, used to determine a target frequency hopping strategy based on the communication environment in which the UAV device is located by using a preset frequency hopping anti-interference model;

[0031] An anti-interference module, used for executing the target frequency hopping strategy;

[0032] The flight self-organizing network system further includes: a base station device, and the preset frequency hopping anti-interference model is trained by the following steps:

[0033] The drone device trains a preset initial dual deep Q network model based on the initial network parameters combined with the interaction information between the drone device and the environment, wherein the interaction information between the drone device and the environment includes: its own communication state information, actions taken, instant rewards obtained, and new state information, wherein the actions taken are the carrier frequency selected under the existing state information;

[0034] The UAV device uploads the model parameters of the trained dual deep Q network model to the base station device;

[0035] The base station device generates an aggregate network model based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm, and sends the aggregate network model to each of the drone devices;

[0036] The UAV device receives the aggregate network model sent by the base station device, performs secondary learning training on the dual deep Q network model based on the aggregate network model, and determines the dual deep Q network model obtained by the secondary learning training as the preset frequency hopping anti-interference model.

[0037] Optionally, the dual deep Q network model includes: a behavior network and a target Q value generation network, wherein the behavior network is used to select an action to be taken, and the target Q value generation network is used to generate a Q value according to the action selected by the behavior network; the drone device trains the preset initial dual deep Q network model based on the initialization network parameters combined with the interaction information between the drone device and the environment, including:

[0038] Acquire training sample data from a preset experience playback pool, where the training sample data is the interaction information between the drone device and the environment in which it is located, which is collected historically;

[0039] Inputting the training sample data into the preset initial dual deep Q network model, the behavior network selects different carrier frequencies under different state information, and the target Q value generation network outputs a predicted Q value based on the carrier frequency selected by the behavior network;

[0040] The weight of the behavior network is updated according to the error between the predicted Q value and the Q value label until the error between the predicted Q value and the Q value label converges, wherein the Q value label is a training label of the dual deep network model.

[0041] Optionally, updating the weight of the behavior network according to the error between the predicted Q value and the Q value label includes:

[0042] According to the error between the predicted Q value and the Q value label, the weight of the behavior network is updated in combination with the following weight update equation:

[0043] Q(s,a)←Q(s,a)+α[r+γmax a′ Q(s ′ ,a ′ )-Q(s,a)]

[0044] Among them, Q(s ′ ,a ′ ) is the predicted Q value, Q(s,a) is the Q value label, s is the current channel state of the drone device, a is the frequency point taken by the drone device in the current state s, α is the learning rate of the model, γ is the discount factor used to measure the importance of the reward, s ′ is the channel state of the UAV device in the next time slot, a ′ is the frequency point selected for the next time slot, r is the frequency point selected for the next time slot, and r is the frequency point selected for the next time slot. ′ The instant reward obtained.

[0045] Optionally, the training of a preset initial dual deep Q network model by the drone device based on the initialization network parameters combined with the interaction information between the drone device and the environment also includes:

[0046] According to the preset training rounds, the parameters of the target Q value generation network are updated according to the updated parameters of the behavior network.

[0047] Optionally, the generating of the aggregated network model by the base station device based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm includes:

[0048] Receive the model parameters uploaded by each of the drone devices, and input the received model parameters into the following aggregation equation to generate the aggregation network model:

[0049]

[0050] Among them, ω is the weight parameter of the model, t is the time slot, N is the total number of drone devices, k1 is each drone device in the first interference environment, k2 is each drone device in the second interference environment, and n k1 is the number of UAV devices in the first interference environment, n k2 is the number of UAV devices in the second interference environment, 1k is the model parameter of the UAV device in the first interference environment, 2k is the model parameter of the UAV device in the second interference environment, is the weight parameter of the model in the first interference environment at time slot t+1, is the weight parameter of the model in the second interference environment at time slot t+1.

[0051] Optionally, the receiving, by the drone device, the aggregate network model sent by the base station device, and performing secondary learning training on the dual deep Q network model based on the aggregate network model includes:

[0052] Using the global model parameters of the aggregated network model as initial model parameters of a dual deep Q network model trained by secondary learning;

[0053] Based on the initial model parameters and in combination with the interaction information with the environment, the dual deep Q network model is trained until the carrier frequency output by the dual deep Q network model meets a preset anti-interference condition, wherein the preset anti-interference condition is determined according to the environment.

[0054] In a third aspect, an embodiment of the present application provides an electronic device, wherein the electronic device includes:

[0055] Processor; and

[0056] Memory for storing programs,

[0057] The program includes instructions, which, when executed by the processor, enable the processor to execute the adaptive frequency hopping anti-interference method based on federated learning described in the first aspect.

[0058] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, characterized in that the computer instructions are used to enable a computer to execute the adaptive frequency hopping anti-interference method based on federated learning described in the first aspect.

[0059] Beneficial effects of this application:

[0060] The present application provides an adaptive frequency hopping anti-interference method, device and electronic device based on federated learning, wherein the method is applied to each drone device in a flying self-organizing network. The method uses a preset frequency hopping anti-interference model to determine a target frequency hopping strategy based on the communication environment in which the drone device is located, and executes the target frequency hopping strategy.

[0061] Since the preset frequency hopping anti-interference model is pre-trained by the UAV device in cooperation with the base station device, specifically, the UAV device trains the initial dual deep Q network model based on the initialized network parameters and the interaction information between the environment in which the UAV device is located, and then uploads the model parameters of the trained dual deep Q network model to the base station device. The base station device generates an aggregate network model based on the federal averaging algorithm based on the model parameters uploaded by each UAV device, and then sends the aggregate network model to each UAV device. The UAV device performs secondary learning training on the dual deep Q network model to obtain the preset frequency hopping anti-interference model.

[0062] Since the preset frequency hopping anti-interference model in the embodiment of the present application adopts a dual deep Q network, the dual deep Q network itself can reduce the over-estimation of the generated Q value, which can effectively reduce the over-estimation problem of the existing intelligent anti-interference algorithm. In addition, the embodiment of the present application can obtain the carrier frequencies selected by different drone devices in different environments and the instant rewards obtained through federated learning between drone devices and base station devices. The dual deep Q network trained in this way can not only reduce the over-estimation problem, but also can be applied to different anti-interference environments, and has higher versatility. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Further details, features and advantages of the present application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0064] Figure 1 A schematic diagram of a flow chart of an adaptive frequency hopping anti-interference method based on federated learning provided in an embodiment of the present application is shown;

[0065] Figure 2 A schematic diagram of a training process of a frequency hopping anti-interference model provided in an embodiment of the present application is shown;

[0066] Figure 3 A schematic diagram of mixed interference in tracking interference using a comb interference model provided by the prior art is shown;

[0067] Figure 4A schematic diagram of mixed interference in comb interference of a tracking interference model provided by the prior art is shown;

[0068] Figure 5 A schematic diagram of mixed interference in tracking interference using a dynamic probabilistic interference model provided by the prior art is shown;

[0069] Figure 6 A schematic diagram of mixed interference in dynamic probability interference of a tracking interference model provided by the prior art is shown;

[0070] Figure 7 A schematic diagram showing the accuracy of the combination of comb interference and tracking interference provided in an embodiment of the present application is shown;

[0071] Figure 8 A schematic diagram of the effect of the comb interference model provided in an embodiment of the present application is shown;

[0072] Fig. 9 A schematic diagram of the tracking interference model effect provided by an embodiment of the present application is shown;

[0073] Fig.10 A schematic diagram showing the effect of the combined interference model provided in an embodiment of the present application is shown;

[0074] Fig.11 A schematic diagram showing the accuracy of the combined effect of dynamic probability interference and tracking interference provided by an embodiment of the present application is shown;

[0075] Fig.12 A schematic diagram of the effect of the dynamic probability interference model provided by an embodiment of the present application is shown;

[0076] Fig.13 A schematic diagram of the tracking interference model effect provided by an embodiment of the present application is shown;

[0077] Fig.14 A schematic diagram showing the effect of the combined interference model provided in an embodiment of the present application is shown;

[0078] Fig.15 A schematic diagram of the accuracy of the global model effect provided by an embodiment of the present application is shown;

[0079] Fig.16 A schematic diagram of the logical structure of an adaptive frequency hopping anti-interference device based on federated learning provided in an embodiment of the present application is shown;

[0080] Fig.17 A schematic diagram of a logical structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0081] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0082] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0083] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0084] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0085] As described in the background technology, common intelligent anti-interference technologies include: anti-interference algorithms based on reinforcement learning. Among them, anti-interference algorithms based on reinforcement learning have been widely used and studied due to their natural fit with anti-interference scenarios. Among them, the existing reinforcement learning model is prone to the following problems:

[0086] Problem 1: Overestimation problem. This problem is prone to occur especially when using Q-learning and its variants (such as deep Q networks). Among them, the Deep Q-Network (DQN) algorithm uses the same neural network to simultaneously estimate the Q value of the current state and the target Q value (Q value refers to the value of the dynamic value function), which can easily lead to an overoptimistic estimate of the target Q value, resulting in an overestimation problem. Based on this, overestimation means that when the Q learning model estimates the expected return, it often chooses the largest Q value, which can easily lead to the value of certain behaviors being systematically overestimated, which can also lead to poor stability in the learning process and affect the application effect of the anti-interference strategy ultimately given by the model. Specifically, overestimation will cause the model to tend to choose behaviors that are overestimated during the learning process, and may ignore other strategies that are better or more suitable for the current environment, thereby reducing the versatility and adaptability of the algorithm.

[0087] Problem 2: Inability to adapt to environmental changes, resulting in low communication efficiency. Specifically, most existing reinforcement learning models can only effectively handle one type of interference, such as comb interference or tracking interference. For some practical application scenarios, such as flight self-organizing network application scenarios (such as drone self-organizing networks), communication equipment usually moves at a fast speed, changes position quickly, and is susceptible to dynamic interference and static interference. The complex interaction of different types of interference types will greatly affect the reliability of communication. When faced with multiple complex interferences, models with a single interference handling strategy cannot effectively adapt to environmental changes, resulting in low communication efficiency and even failure to complete the task in some cases.

[0088] Problem 3: There is a problem of ignoring resource sharing among multiple communication devices. Current intelligent anti-interference frequency modulation technologies mostly focus on the communication of a single node or a few nodes, which easily ignores the problem of resource sharing among multiple communication devices, especially in a flying self-organizing network, which contains multiple drones. The interaction between these devices will significantly affect the overall performance of the system. Existing models may not be effectively implemented in such a multi-device environment.

[0089] In view of this, the present application provides an adaptive frequency hopping anti-interference method, device and electronic device based on federated learning to provide an adaptive anti-interference strategy for complex interference environments. In the first aspect, the present application provides an adaptive frequency hopping anti-interference method based on federated learning, which is applied to any electronic device with anti-interference function, including but not limited to personal mobile terminals, computers or servers. As a preferred embodiment, the method can be applied to drone equipment in a flying self-organizing network.

[0090] In some embodiments, Figure 1As shown, the method comprises the following steps:

[0091] S11, using a preset frequency hopping anti-interference model, based on the communication environment in which the UAV device is located, determining a target frequency hopping strategy;

[0092] S12: Execute the target frequency hopping strategy.

[0093] Among them, the flight self-organizing network system includes not only various drone devices, but also base station devices, which in some embodiments can be as follows Figure 2 As shown, the preset frequency hopping anti-interference model is pre-trained through the following steps:

[0094] S21, the UAV device trains a preset initial dual deep Q network model based on the initialization network parameters combined with the interaction information between the UAV device and the environment;

[0095] The interactive information with the environment includes: its own communication status information, actions taken, instant rewards obtained and new status information, and the actions taken are the carrier frequency selected under the existing status information;

[0096] S22, the drone device uploads the model parameters of the trained dual deep Q network model to the base station device;

[0097] S23, the base station device generates an aggregate network model based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm, and sends the aggregate network model to each of the drone devices;

[0098] S24. The UAV device receives the aggregate network model sent by the base station device, and performs secondary learning and training on the dual deep Q network model based on the aggregate network model, and determines the dual deep Q network model obtained by the secondary learning and training as the preset frequency hopping anti-interference model.

[0099] As an implementation method, the double deep Q network model can be pre-deployed in each drone device. Among them, the double deep Q network model (Double Deep Q-Network, DDQN) is an improved version of the Q learning algorithm. In some embodiments, the double deep Q network model includes: a behavior network, a target Q value generation network, wherein the behavior network is used to select the action to be taken, and the target Q value generation network is used to generate a Q value according to the action selected by the behavior network. This double deep Q network model adopts a separate network architecture, one network is used for action selection, and the other network is used to generate a target Q value based on the selected action. Among them, the target Q value refers to: the value of performing the selected action in a certain specific state, usually calculated with the help of a Q function (i.e., Q(s,a) function, where s represents a certain specific state and a represents the selected action), which characterizes the "quality" of performing an action in a specific state.

[0100] This structure helps to separate the action selection and the generation of the target Q value, so that the action value can be estimated more accurately, which enhances the applicability of the algorithm. The action value refers to the frequency hopping strategy selected by the drone device in the current environment, including the carrier frequency selected by the drone device in the current environment. By changing the carrier frequency of each communication through the selected frequency hopping strategy, it can help avoid interference channels and continue communication.

[0101] In the embodiment of the present application, the difference between the dual-depth Q network model and the ordinary Q network model is that: in the embodiment of the present application, the action with the highest Q value is selected through the behavior network, and then the target Q value generation network is used to calculate the Q value of the action based on the action, which helps to reduce the common problem of Q value overestimation in the traditional single network model. Based on this, the dual-depth Q network model provided by the embodiment of the present application can more accurately give the value of the selected frequency hopping strategy according to the state of the drone equipment and the selected frequency hopping strategy, and then can more accurately judge the available value of the selected frequency hopping strategy, so as to reduce the influence of the simple Q network model mentioned in the previous question 1 that tends to select overestimated actions. The dual-depth Q network can provide more stable and reliable learning performance, thereby enhancing the response capability of the trained frequency hopping anti-interference model in complex environments.

[0102] Based on this, the above step S21 can be specifically implemented in the following manner:

[0103] S21-1, obtaining training sample data from a preset experience playback pool, wherein the training sample data is interaction information between the drone device and the environment in which it is located, which is collected historically;

[0104] S21-2, inputting the training sample data into the preset initial dual deep Q network model, allowing the behavior network to select different carrier frequencies under different state information, and allowing the target Q value generation network to output a predicted Q value based on the carrier frequency selected by the behavior network;

[0105] S21-3. Update the weight of the behavior network according to the error between the predicted Q value and the Q value label until the error between the predicted Q value and the Q value label converges, wherein the Q value label is a training label of the dual deep network model.

[0106] Among them, a client can be preset in each drone device, and the preset initial dual deep Q network model is pre-deployed in the client, and the client is specifically used to train the preset initial dual deep Q network model. As an implementation method, before training the preset initial dual deep Q network model, the client initializes the network parameters to obtain initialized network parameters. Among them, the initialized network parameters can be an initial value of a network parameter, which can be an initial value set at the factory, or can be obtained based on historical data settings. As an implementation method, when the dual deep Q network model is trained for the second time, the client can also perform secondary network parameter initialization processing based on the network parameters sent by the base station, and initialize the network parameters of the drone device to be the same as the network parameters sent by the base station. As another implementation method, the initialized network parameters can be randomly set, and the specific values ​​can be selected at will.

[0107] Since the drone device will continuously interact with the environment in which it is located during the execution of the flight mission, the various types of information generated by the interaction between the drone device and the environment in the embodiment of the present application are collectively referred to as: interaction information between the drone device and the environment. The interaction information between the drone device and the environment may specifically include: the state information of the drone device at each interaction, the action taken at each interaction (i.e., the communication carrier frequency selected at each interaction), the instant reward obtained at each interaction, and the new state information.

[0108] The state information of the drone device at each interaction specifically includes the frequency information of the current time slot, and the new state information specifically refers to the frequency information of the next time slot. The frequency information of the time slot refers to the sub-band with a fixed frequency range divided within a specific bandwidth.

[0109] The instant reward obtained at each interaction specifically refers to the output of an evaluation value based on whether the selected frequency point is correct and whether the frequency point has changed after the frequency point selection is made in the current time slot. The evaluation value is the instant reward obtained. Among them, a mapping function relationship can be constructed by taking the selected frequency point, whether the frequency point is correct, and whether the frequency point has changed as independent variables and the evaluation value as the dependent variable. When obtaining the instant reward at each interaction, the corresponding instant reward can be directly calculated through the mapping function relationship.

[0110] As an implementation method, the interaction information between the drone device and the environment generated each time it interacts can be stored in the experience replay pool. As another implementation method, various data generated by each interaction of the drone device can be stored in the experience replay pool, so as to obtain sufficient training sample data in the subsequent training process and help improve learning efficiency. In an embodiment of the present application, by randomly setting the initial network parameters of the dual-depth Q network model and combining sufficient historical data in the experience replay pool, the dual-depth Q network model can learn from historical experience and break the time correlation of the data. The use of random sampling to obtain training sample data can balance the training of data of various interference types.

[0111] During the training process of the dual deep Q network model, the drone device will randomly extract a batch of data from the experience replay pool as training samples. These sample data contain data of the drone device in various states and the corresponding rewards. This helps the dual deep Q network model learn to predict the optimal actions under different states.

[0112] In some embodiments, updating the weight of the behavior network according to the error between the predicted Q value and the Q value label includes:

[0113] According to the error between the predicted Q value and the Q value label, the weight of the behavior network is updated in combination with the following weight update equation:

[0114] Q(s,a)←Q(s,a)+α[r+γmax a′ Q(s ′ ,a ′ )-Q(s,a)]

[0115] Among them, Q(s ′ ,a ′) is the predicted Q value, Q(s,a) is the Q value label, s is the current state of the drone device, which can be the channel state of the drone device in the communication time slot selected for the current communication, a is the action taken by the drone device in the current state s (specifically the carrier frequency taken), that is, the frequency point selected by the drone device in the current state s, α is the learning rate, γ is the discount factor, which is used to measure the importance of the reward, s ′ is the channel state of the UAV device in the next communication time slot, a ′ For drone equipment in s ′ The frequency point selected in the state r refers to the UAV device in the state s ′ The instant reward obtained.

[0116] Among them, Q(s,a) on the left refers to the weight of the updated behavior network, and Q(s,a) on the right refers to the weight of the behavior network before the update, specifically, using the Q value on the right to correct the Q value on the left. At each time step (a time step refers to the time interval between one observation point and the next observation point in the sequence data, or it can refer to the continuous observation points input into the model), the model selects an action a (carrier frequency) based on the current state s and Q value. After executing action a, the model will transfer to the next state s ′ And get the instantaneous reward r. Then the model will update the Q value corresponding to the current state and action according to the above equation to make it close to the optimal Q value. This process continues until the Q value function converges to the optimal value.

[0117] In order to ensure the stability of the dual deep Q network model during the learning process, the parameters of the target Q value generation network model are not updated with each step of training. In some embodiments, the drone device trains the preset initial dual deep Q network model based on the initialization network parameters combined with the interaction information between the drone device and the environment, and also includes:

[0118] According to the preset training rounds, the parameters of the target Q value generation network are updated according to the updated parameters of the behavior network.

[0119] Specifically, after the preset training rounds are reached, the network model parameters can be copied from the updated behavior network, and then the parameters of the target Q value generation network can be updated based on the copied network model parameters. The preset training rounds can be set according to the results of multiple trainings, and this application does not strictly limit it.

[0120] In the embodiment of the present application, this delayed update strategy helps to stabilize the learning process and reduce the training fluctuations caused by the changing targets. Through the above learning process, the drone device can predict the long-term return of each possible action based on the current network status, interference type and other environmental factors. In this way, the action with the highest expected return is selected as the best frequency hopping strategy, which can optimize the communication efficiency and reliability of the frequency hopping strategy in a dynamic and complex wireless communication environment.

[0121] In some embodiments, the base station device generates an aggregate network model based on a federated average algorithm based on the model parameters uploaded by each of the drone devices, including:

[0122] Receive the model parameters uploaded by each of the drone devices, and input the received model parameters into the following aggregation equation to generate the aggregation network model:

[0123]

[0124] Among them, ω is the model weight parameter, t is the time slot, N is the total number of drones, k1 is each drone in the first interference environment, k2 is each drone in the second interference environment, and n k1 is the number of UAVs in the first interference environment, n k2 is the number of drones in the second interference environment, 1k is the model parameter of each drone device in the first interference environment, 2k is the model parameter of each drone device in the second interference environment, is the weight parameter of the model in the first interference environment at time slot t+1, is the weight parameter of the model in the second interference environment at time slot t+1.

[0125] Among them, the base station device receives the model parameters uploaded by each drone device, and the central server model of the base station device can aggregate the model parameters of each drone according to the proportion of the number of drones in each interference environment as a weight to obtain the latest global model. Specifically, in an embodiment of the present application, after the drone device client completes the training of the local dual-depth Q network model, it uploads the parameters of the trained dual-depth Q network model to the central server model in the base station device. The central server model generates an aggregated network model based on the above formula. This process is the key to the collaborative work of the entire flight self-organizing network system. The base station device collects learning results from the clients of each drone device, and aggregates data and models in the central server to obtain a global optimization model (i.e., the aggregated network model).

[0126] The core of this process is to effectively integrate the local optimization results of multiple clients to achieve global communication strategy optimization. The central server aggregates the model parameters uploaded by each drone, realizing knowledge transfer and optimization from local to global, greatly enhancing the adaptability and anti-interference ability of the entire network. In addition, through the federated learning method of drone equipment and base station equipment, not only the selection of anti-interference strategy of drone equipment is optimized, but also technical support is provided for the cooperation and collaboration of drone equipment in the flight self-organizing network system.

[0127] In some embodiments, the receiving, by the drone device, the aggregate network model sent by the base station device, and performing secondary learning training on the dual deep Q network model based on the aggregate network model includes:

[0128] Using the global model parameters of the aggregated network model as initial model parameters of a dual deep Q network model trained by secondary learning;

[0129] Based on the initial model parameters and in combination with the interaction information with the environment, the dual deep Q network model is trained until the carrier frequency output by the dual deep Q network model meets a preset anti-interference condition, wherein the preset anti-interference condition is determined according to the environment.

[0130] In the embodiment of the present application, after the central server of the base station device performs federated learning, an aggregated network model, or a global model, is generated. At this time, the base station device sends the global network model obtained by the aggregation and optimization process to the client of each drone device. In this way, the model can be iteratively updated and all drone devices can maintain the output optimal hopping frequency in the new environment.

[0131] In the embodiment of the present application, the model parameters of the updated global model will be used as the initial model parameters for the secondary learning training of the drone device, which is equivalent to the secondary initialization of the model parameters of the dual deep Q network model in the drone device, and the drone device will reinitialize the dual deep Q network model according to these new network model parameters. Among them, the dual deep Q network model is a network model deployed in the drone device, and the aggregate network model is used to aggregate and generate the parameters of the new dual deep Q network model based on the model parameters uploaded by each drone device, thereby improving the adaptability of the dual deep Q network model deployed in each drone device to different environments.

[0132] In this way, the latest global model obtained (corresponding to the dual-depth Q network model after the model parameters are updated based on the aggregate network model) has the ability to face other interferences in the environment. Even if the drone device moves to other interference environments, it can still take corresponding frequency hopping actions based on the optimal frequency hopping strategy obtained by other drone devices in the interference environment in history, and then have corresponding anti-interference capabilities for different environments. Although the aggregate network model has been optimized, each drone device still needs to perform a small amount of local training for its specific environment to further fine-tune and optimize the frequency hopping strategy that can be taken for the environment. This method of local secondary training helps the trained frequency hopping interference model to better adapt to the respective operating conditions and interference conditions, and enhances the anti-interference ability and communication efficiency of the entire flight self-organizing network system. In this way, the defects mentioned in Problem 2 and Problem 3 of the prior art mentioned above can be overcome.

[0133] Based on this, when executing step S11, the drone device can directly use the trained frequency hopping interference model preset locally to determine the target frequency hopping strategy based on the current communication environment of the drone device. That is, based on the type of interference existing in the current communication environment, the corresponding anti-interference carrier frequency is determined, and then step S12 is executed to execute the hopping strategy and perform the next communication interaction based on the determined carrier frequency. In this way, the problem of low communication efficiency caused by the inability to adapt to environmental changes in the above-mentioned problem 2 can be overcome.

[0134] The following will be combined Figure 3 to Figure 15 The actual application effect of the frequency hopping interference model obtained by training the frequency hopping interference model training method provided in this application is verified:

[0135] Among them, the embodiment of the present application can be applied to three interference environments: comb interference, dynamic probability interference and tracking interference. Among them, comb interference and dynamic probability interference both have a relatively fixed frequency structure. Therefore, these two interferences can be combined with tracking interference to obtain mixed interference, and then the mixed interference is used to test the anti-interference ability of the frequency hopping interference model trained by the present application.

[0136] in, Figure 3 This is a schematic diagram of the Q network model trained in the comb interference environment of the prior art, and the anti-interference situation in the tracking interference environment, where the horizontal axis step represents each time slot, and the vertical axis Chosen Action represents the action selected by the drone device in different time slots. In the figure, x represents the interfered frequency point, and o represents the frequency point selected by the model. In the figure, x and o do not overlap, indicating that the drone device cannot select the correct frequency hopping strategy in the comb interference environment, and the square block indicates that the selected frequency point is interfered.

[0137] in, Figure 4 The figure is a schematic diagram of the anti-interference situation of the Q network model trained in the tracking interference environment in the prior art in the comb interference environment, where the horizontal axis step represents each time slot, and the vertical axis Frequency represents the selected frequency hopping carrier frequency. In the figure, x represents the interfered frequency point, and o represents the frequency point selected by the model. There is no overlap between x and o in the figure, indicating that the drone device cannot select the correct frequency hopping strategy in the comb interference environment. The square block indicates that the selected frequency point is interfered.

[0138] in, Figure 5 The figure is a schematic diagram of the anti-interference situation of the Q network model trained in the dynamic probabilistic interference environment in the existing technology in the tracking interference environment, where the horizontal axis step represents: each time slot, and the vertical axis Frequency represents the selected frequency hopping carrier frequency. In the figure, x represents the interfered frequency point, and o represents the frequency point selected by the model. In the figure, x and o do not overlap, indicating that the drone equipment cannot select the correct frequency hopping strategy in the comb interference environment. The square block indicates that the selected frequency point is interfered.

[0139] in, Figure 6 This is a schematic diagram of the anti-interference effect of the Q network model trained in the tracking interference environment in the prior art in the dynamic probability interference environment. The broken lines in the figure have no specific physical meaning, but only connect each selection point to facilitate viewing the results. The horizontal axis represents: each time slot, and the vertical axis represents: the frequency point in the environment. The darker the color of the block in the figure, the greater the probability of interference. Figure 6 It can be seen that the frequency points selected by the Q network model obtained by training in the prior art have black squares, and the correct frequency hopping strategy cannot be given.

[0140] in, Figure 7 The dual deep Q network model trained in a comb interference environment is a schematic diagram of the anti-interference effect in a tracking interference environment, where the horizontal axis represents the number of training rounds, that is, how many rounds of model training have been completed. The vertical axis represents the average accuracy of each round of training. It can be seen that the dual deep Q network model is stable after 100 rounds of training, and the accuracy can reach 100%.

[0141] In order to further verify the anti-interference effect of the model, the trained frequency hopping interference model (i.e. the trained dual deep Q network model) was used to conduct actual tests in the mixed interference environment of tracking interference and comb interference. Figure 8 As shown, Figure 8A dual deep Q network model obtained by training in a comb interference environment using the model training method provided in an embodiment of the present application is shown, and a schematic diagram of the anti-interference situation in a tracking interference environment is shown, wherein x in the figure represents the interfered frequency point, o represents the frequency point selected by the model, and there is no overlap between x and o in the figure, indicating that the drone device can select the correct frequency hopping strategy in the comb interference environment.

[0142] like Fig. 9 As shown in the figure, x represents the interfered frequency, and o represents the frequency selected by the model. There is no overlap between x and o in the figure, which means that the UAV device can select the correct frequency hopping strategy in the tracking interference environment. Fig.10 As shown, in the figure, x represents the interfered frequency, o represents the frequency selected by the model, and there is no overlap between x and o in the figure, indicating that the UAV equipment can select the correct frequency hopping strategy in a mixed interference environment where comb interference and tracking interference are mixed.

[0143] Among them, Fig.11 As shown in the figure, the frequency hopping anti-interference model trained in the UAV equipment can be tested in a mixed interference environment of dynamic probability interference and tracking interference. The horizontal axis represents the number of training rounds, that is, how many rounds of model training have been completed. The vertical axis represents the average accuracy of each round of training results. It can be seen that the accuracy of the model tends to be stable after 450 training times, which can be stabilized at about 92%.

[0144] in, Fig.12 The figure shows the anti-interference effect of the frequency hopping interference model against dynamic probability interference. The darker the color of the square, the greater the probability of interference. Among them, the horizontal axis represents: each time slot, and the vertical axis represents: the frequency point in the environment. Among them, the horizontal axis represents: each time slot, and the vertical axis represents: the frequency point in the environment. If the square on the frequency point selected by the corresponding time slot in the figure is completely black, it means that it is completely interfered. The lighter the color, the lower the probability of interference. It can be seen from the figure that the model almost always selects the frequency point of the light-colored square. Among them, Figure 6 , Fig.12 , Fig.14 The points on the midline are the frequency points selected by the model in different time slots. The darker the color, the higher the probability of being interfered with. Correspondingly, the darker the color of the block where the frequency point is located, the higher the probability of being interfered with.

[0145] Fig.13 The figure shows the anti-interference effect of the frequency hopping interference model against tracking interference. The horizontal axis step represents: each time slot, and the vertical axis Frequency represents the selected frequency hopping carrier frequency. In the figure, x represents the interfered frequency point, and o represents the frequency point selected by the model. There is no overlap between x and o in the figure, which means that the drone device can select the correct frequency hopping strategy in the tracking interference environment.

[0146] Fig.14The anti-interference effect of the frequency hopping interference model in a mixed interference environment of dynamic probability interference and tracking interference is shown. The horizontal axis represents each time slot, and the vertical axis represents the frequency point in the environment. If the square on the frequency point selected by the corresponding time slot in the figure is completely black, it means that it is completely interfered. The lighter the color, the lower the probability of being interfered. It can be seen from the figure that the model almost always selects the frequency point of the light-colored square.

[0147] Fig.15 The anti-interference effects corresponding to the dual-depth Q network model, the global model, and the initialized dual-depth Q network model obtained by the training method of the frequency hopping anti-interference model provided by the present application are shown, wherein the horizontal axis is the training round, the vertical axis is the anti-interference accuracy, and the curves from top to bottom are: the anti-interference effect curve corresponding to the global model, the anti-interference effect curve corresponding to the dual-depth Q network model, and the anti-interference effect curve corresponding to the initial dual-depth Q network model. It can be seen that the convergence speed of the global model is significantly higher than the convergence speed of the other two models. This shows that compared with the dual-depth Q network model trained in a single environment, the use of federated learning can make accurate decisions for more complex interference environments with higher accuracy.

[0148] in, Fig.15 The horizontal axis and Figure 7 , Fig.11 The horizontal axis is different. Figure 7 , Fig.11 The horizontal axis refers to the number of rounds of federated learning training, and Fig.15 The horizontal axis in refers to the number of times a single model is trained.

[0149] In the second aspect, the present application provides an adaptive frequency hopping anti-interference device based on federated learning, which is applied to each drone device in a flight self-organizing network system, such as Fig.16 As shown, the device 160 includes:

[0150] The hopping strategy determination module 1601 is used to determine a target frequency hopping strategy based on the communication environment in which the UAV device is located by using a preset frequency hopping anti-interference model;

[0151] The anti-interference module 1602 is used to execute the target frequency hopping strategy;

[0152] The flight self-organizing network system further includes: a base station device, and the preset frequency hopping anti-interference model is trained by the following steps:

[0153] The drone device trains a preset initial dual deep Q network model based on the initial network parameters combined with the interaction information between the drone device and the environment, wherein the interaction information between the drone device and the environment includes: its own communication state information, actions taken, instant rewards obtained, and new state information, wherein the actions taken are the carrier frequency selected under the existing state information;

[0154] The UAV device uploads the model parameters of the trained dual deep Q network model to the base station device;

[0155] The base station device generates an aggregate network model based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm, and sends the aggregate network model to each of the drone devices;

[0156] The UAV device receives the aggregate network model sent by the base station device, performs secondary learning training on the dual deep Q network model based on the aggregate network model, and determines the dual deep Q network model obtained by the secondary learning training as the preset frequency hopping anti-interference model.

[0157] Optionally, the dual deep Q network model includes: a behavior network and a target Q value generation network, wherein the behavior network is used to select an action to be taken, and the target Q value generation network is used to generate a Q value according to the action selected by the behavior network; the drone device trains the preset initial dual deep Q network model based on the initialization network parameters combined with the interaction information between the drone device and the environment, including:

[0158] Acquire training sample data from a preset experience playback pool, where the training sample data is the interaction information between the drone device and the environment in which it is located, which is collected historically;

[0159] Inputting the training sample data into the preset initial dual deep Q network model, the behavior network selects different carrier frequencies under different state information, and the target Q value generation network outputs a predicted Q value based on the carrier frequency selected by the behavior network;

[0160] The weight of the behavior network is updated according to the error between the predicted Q value and the Q value label until the error between the predicted Q value and the Q value label converges, wherein the Q value label is a training label of the dual deep network model.

[0161] Optionally, updating the weight of the behavior network according to the error between the predicted Q value and the Q value label includes:

[0162] According to the error between the predicted Q value and the Q value label, the weight of the behavior network is updated in combination with the following weight update equation:

[0163] Q(s,a)←Q(s,a)+α[r+γmax a′ Q(s ′ ,a ′ )-Q(s,a)]

[0164] Among them, Q(s ′ ,a ′ ) is the predicted Q value, Q(s,a) is the Q value label, s is the current channel state of the drone device, a is the frequency point taken by the drone device in the current state s, α is the learning rate of the model, γ is the discount factor used to measure the importance of the reward, s ′ is the channel state of the UAV device in the next time slot, a ′ is the frequency point selected for the next time slot, r is the frequency point selected for the next time slot, and r is the frequency point selected for the next time slot. ′ The instant reward obtained.

[0165] Optionally, the training of a preset initial dual deep Q network model by the drone device based on the initialization network parameters combined with the interaction information between the drone device and the environment also includes:

[0166] According to the preset training rounds, the parameters of the target Q value generation network are updated according to the updated parameters of the behavior network.

[0167] Optionally, the generating of the aggregated network model by the base station device based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm includes:

[0168] Receive the model parameters uploaded by each of the drone devices, and input the received model parameters into the following aggregation equation to generate the aggregation network model:

[0169]

[0170] Among them, ω is the weight parameter of the model, t is the time slot, N is the total number of drone devices, k1 is each drone device in the first interference environment, k2 is each drone device in the second interference environment, and n k1 is the number of UAV devices in the first interference environment, n k2 is the number of UAV devices in the second interference environment, 1k is the model parameter of the UAV device in the first interference environment, 2k is the model parameter of the UAV device in the second interference environment, is the weight parameter of the model in the first interference environment at time slot t+1, is the weight parameter of the model in the second interference environment at time slot t+1.

[0171] Optionally, the receiving, by the drone device, the aggregate network model sent by the base station device, and performing secondary learning training on the dual deep Q network model based on the aggregate network model includes:

[0172] Using the global model parameters of the aggregated network model as initial model parameters of a dual deep Q network model trained by secondary learning;

[0173] Based on the initial model parameters and in combination with the interaction information with the environment, the dual deep Q network model is trained until the carrier frequency output by the dual deep Q network model meets the preset anti-interference condition, wherein the preset anti-interference condition is determined according to the environment. The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this application shall comply with the provisions of relevant laws and regulations and shall not violate public order and good customs.

[0174] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0175] In a third aspect, the exemplary embodiments of the present application further provide an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to enable the electronic device to perform a method according to an embodiment of the present application when executed by the at least one processor.

[0176] The exemplary embodiment of the present application further provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform a method according to an embodiment of the present application.

[0177] The exemplary embodiments of the present application further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, it is used to enable the computer to execute the method according to the embodiment of the present application.

[0178] refer to Fig.17, the structural block diagram of the electronic device 1700 that can be used as the server or client of the present application will now be described, which is an example of a hardware device that can be applied to various aspects of the present application. The electronic device is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples, and are not intended to limit the implementation of the present application described and / or required herein.

[0179] like Fig.17 As shown, the electronic device 1700 includes a computing unit 1701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1702 or a computer program loaded from a storage unit 1708 into a random access memory (RAM) 1703. In the RAM 1703, various programs and data required for the operation of the electronic device 1700 can also be stored. The computing unit 1701, the ROM 1702, and the RAM 1703 are connected to each other via a bus 1704. An input / output (I / O) interface 1705 is also connected to the bus 1704.

[0180] Multiple components in the electronic device 1700 are connected to the I / O interface 1705, including: an input unit 1706, an output unit 1707, a storage unit 1708, and a communication unit 1709. The input unit 1706 can be any type of device that can input information to the electronic device 1700, and the input unit 1706 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 1707 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1708 can include but is not limited to a disk, an optical disk. The communication unit 1709 allows the electronic device 1700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth TM device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0181] The computing unit 1701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1701 performs the various methods and processes described above. For example, in some embodiments, the aforementioned adaptive frequency hopping anti-interference method based on federated learning may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1700 via the ROM 1702 and / or the communication unit 1709. In some embodiments, the computing unit 1701 may be configured to perform the aforementioned adaptive frequency hopping anti-interference method based on federated learning in any other appropriate manner (e.g., by means of firmware).

[0182] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0183] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0184] As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0185] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0186] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0187] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

Claims

1. An adaptive frequency hopping anti-interference method based on federated learning, characterized in that: The method is applied to each drone device in a flight self-organizing network system, and the method includes: Using a preset frequency hopping anti-interference model, based on the communication environment in which the UAV device is located, a target frequency hopping strategy is determined, and the target frequency hopping strategy is executed; The flight self-organizing network system further includes: a base station device, and the preset frequency hopping anti-interference model is trained by the following steps: The drone device trains a preset initial dual deep Q network model based on the initial network parameters combined with the interaction information between the drone device and the environment, wherein the interaction information between the drone device and the environment includes: its own communication state information, actions taken, instant rewards obtained, and new state information, wherein the actions taken are the carrier frequency selected under the existing state information; The UAV device uploads the model parameters of the trained dual deep Q network model to the base station device; The base station device generates an aggregate network model based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm, and sends the aggregate network model to each of the drone devices; The UAV device receives the aggregate network model sent by the base station device, performs secondary learning training on the dual deep Q network model based on the aggregate network model, and determines the dual deep Q network model obtained by the secondary learning training as the preset frequency hopping anti-interference model.

2. The method according to claim 1, characterized in that The dual deep Q network model includes: a behavior network and a target Q value generation network, wherein the behavior network is used to select an action to be taken, and the target Q value generation network is used to generate a Q value according to the action selected by the behavior network; the drone device trains the preset initial dual deep Q network model based on the initialization network parameters combined with the interaction information between the drone device and the environment, including: Acquire training sample data from a preset experience playback pool, where the training sample data is the interaction information between the drone device and the environment in which it is located, which is collected historically; Inputting the training sample data into the preset initial dual deep Q network model, the behavior network selects different carrier frequencies under different state information, and the target Q value generation network outputs a predicted Q value based on the carrier frequency selected by the behavior network; The weight of the behavior network is updated according to the error between the predicted Q value and the Q value label until the error between the predicted Q value and the Q value label converges, wherein the Q value label is a training label of the dual deep network model.

3. The method according to claim 2, characterized in that The updating of the weight of the behavior network according to the error between the predicted Q value and the Q value label includes: According to the error between the predicted Q value and the Q value label, the weight of the behavior network is updated in combination with the following weight update equation: Q(s,a)←Q(s,a)+α[r+γmax a′ Q(s ′ ,a ′ )-Q(s,a)] Among them, Q(s ′ ,a ′ ) is the predicted Q value, Q(s,a) is the Q value label, s is the current channel state of the drone device, a is the frequency point taken by the drone device in the current state s, α is the learning rate of the model, γ is the discount factor used to measure the importance of the reward, s ′ is the channel state of the UAV device in the next time slot, a ′ is the frequency point selected for the next time slot, r is the frequency point selected for the next time slot, and r is the frequency point selected for the next time slot. ′ The instant reward obtained.

4. The method according to claim 2, characterized in that: The UAV device trains the preset initial dual deep Q network model based on the initial network parameters combined with the interactive information between the UAV device and the environment, and further includes: According to the preset training rounds, the parameters of the target Q value generation network are updated according to the updated parameters of the behavior network.

5. The method according to claim 1, characterized in that The base station device generates an aggregate network model based on the model parameters uploaded by each of the drone devices and based on the federated average algorithm, including: Receive the model parameters uploaded by each of the drone devices, and input the received model parameters into the following aggregation equation to generate the aggregation network model: Among them, ω is the weight parameter of the model, t is the time slot, N is the total number of drone devices, k1 is each drone device in the first interference environment, k2 is each drone device in the second interference environment, and n k1 is the number of UAV devices in the first interference environment, n k2 is the number of UAV devices in the second interference environment, 1k is the model parameter of the UAV device in the first interference environment, 2k is the model parameter of the UAV device in the second interference environment, is the weight parameter of the model in the first interference environment at time slot t+1, is the weight parameter of the model in the second interference environment at time slot t+1.

6. The method according to claim 1, characterized in that The receiving, by the drone device, the aggregate network model sent by the base station device, and performing secondary learning training on the dual deep Q network model based on the aggregate network model includes: Using the global model parameters of the aggregated network model as initial model parameters of a dual deep Q network model trained by secondary learning; Based on the initial model parameters and in combination with the interaction information with the environment, the dual deep Q network model is trained until the carrier frequency output by the dual deep Q network model meets a preset anti-interference condition, wherein the preset anti-interference condition is determined according to the environment.

7. An adaptive frequency hopping anti-interference device based on federated learning, characterized in that: The device is applied to each unmanned aerial vehicle device in a flight self-organizing network system, and the device includes: A hopping strategy determination module, used to determine a target frequency hopping strategy based on the communication environment in which the UAV device is located by using a preset frequency hopping anti-interference model; An anti-interference module, used for executing the target frequency hopping strategy; The flight self-organizing network system further includes: a base station device, and the preset frequency hopping anti-interference model is trained by the following steps: The drone device trains a preset initial dual deep Q network model based on the initial network parameters combined with the interaction information between the drone device and the environment, wherein the interaction information between the drone device and the environment includes: its own communication state information, actions taken, instant rewards obtained, and new state information, wherein the actions taken are the carrier frequency selected under the existing state information; The UAV device uploads the model parameters of the trained dual deep Q network model to the base station device; The base station device generates an aggregate network model based on the model parameters uploaded by each of the drone devices and based on a federated average algorithm, and sends the aggregate network model to each of the drone devices; The UAV device receives the aggregate network model sent by the base station device, performs secondary learning training on the dual deep Q network model based on the aggregate network model, and determines the dual deep Q network model obtained by the secondary learning training as the preset frequency hopping anti-interference model.

8. The device according to claim 7, characterized in that The receiving, by the drone device, the aggregate network model sent by the base station device, and performing secondary learning training on the dual deep Q network model based on the aggregate network model includes: Using the global model parameters of the aggregated network model as initial model parameters of a dual deep Q network model trained by secondary learning; Based on the initial model parameters and in combination with the interaction information with the environment, the dual deep Q network model is trained until the carrier frequency output by the dual deep Q network model meets a preset anti-interference condition, wherein the preset anti-interference condition is determined according to the environment.

9. An electronic device, characterized in that: The electronic device comprises: Processor; and Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 6.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Federal learning-based ad hoc network frequency hopping anti-interference method and device special for unmanned aerial vehicle

    CN113890564A

  • Symbiotic radio intelligent anti-interference method based on deep reinforcement learning

    CN114793337A

  • Wireless network multi-channel spectrum access method based on federated learning

    CN115250156A

  • Frequency hopping intelligent anti-interference decision-making method based on depth deterministic strategy

    CN116073856A

  • Multi-jammer intelligent frequency domain interference decision-making method for networking radar confrontation

    CN116542317A

Cited By

  • Asynchronous federal learning acceleration method for heterogeneous unmanned aerial vehicle electric power inspection

    CN120075890A