Quantum encryption device and method based on drone communication and flight control data

CN122932982APending Publication Date: 2026-10-16YIXUNTONG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611215664.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-12
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

[0006]本申请的目的在于提供基于无人机通信及飞控数据的量子加密装置和方法,可以通过环境参数驱动多模块动态协同,解决无人机高速移动及复杂环境下量子密钥误码率激增与通信中断问题

Benefits of technology

[0017] As can be seen from the above, the quantum encryption device and method based on UAV communication and flight control data provided in this application collect flight environment parameters and link status parameters through the device's environmental perception module. The quantum key generation module dynamically adjusts the pulse coding strategy according to the environmental parameters to generate a quantum key sequence with joint time and phase encoding. The dynamic compensation module calculates the changes in environmental parameters and outputs a calibrated key distribution instruction. The key management module verifies the key validity, triggers key updates and distributes valid keys based on the communication error rate. The multi-mode communication execution module transmits the key through free space when the communication error rate is below a threshold, and switches to the terahertz channel to transmit encrypted data when it exceeds the threshold. The flight control data and communication data are encrypted using the valid key. This achieves dynamic collaboration of multiple modules driven by environmental parameters, solving the problems of quantum key error rate surges and communication interruptions in high-speed movement and complex environments of UAVs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122932982A_ABST
    Figure CN122932982A_ABST
Patent Text Reader

Abstract

The application provides a quantum encryption device and method based on unmanned aerial vehicle communication and flight control data, and relates to the technical field of unmanned aerial vehicle communication.The environment sensing module of the device collects flight environment parameters and link state parameters, the quantum key generation module dynamically adjusts the pulse coding strategy according to the environment parameters, generates a quantum key sequence with time-phase joint coding, the dynamic compensation module calculates the change amount of the environment parameters and outputs a calibrated key distribution instruction, the key management module verifies the validity of the key, triggers key update and distributes valid keys according to the communication error code rate, the multi-mode communication execution module transmits the key through free space when the communication error code rate is lower than the threshold value, switches to the terahertz channel to transmit encrypted data when the threshold value is exceeded, and encrypts the flight control data and the communication data according to the valid key; the multi-module dynamic cooperation driven by the environment parameters is realized, and the problem of rapid increase of quantum key error code rate and communication interruption under the conditions of high-speed movement and complex environment of the unmanned aerial vehicle is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of unmanned aerial vehicle (UAV) communication technology, and more specifically, to a quantum encryption device and method based on UAV communication and flight control data. Background Technology

[0002] The UAV communication system establishes a stable connection with the ground control unit through a wireless transmission protocol to transmit flight control data, including attitude, position, and speed information, which is collected in real time by airborne sensors. The flight control data processing unit parses this information and generates control commands to adjust the UAV's flight status, thereby supporting autonomous navigation and collaborative operation. Its reliability depends on the real-time performance and integrity of the communication link to avoid data loss or delays that could affect flight safety.

[0003] Quantum encryption utilizes the principles of quantum mechanics to achieve secure information transmission. Its core is based on the no-cloning theorem and the property of quantum superposition. In the quantum key distribution process, the sender encodes the key into the quantum state of a photon and transmits it to the receiver. Any eavesdropping by a third party will alter the original quantum state due to the wave function collapse caused by quantum measurement, thus being detected by both communicating parties and causing them to discard the key. This mechanism gives the key distribution process inherent physical security, ultimately achieving unbreakable encrypted communication through a one-time pad method.

[0004] Existing UAV communication and flight control technologies suffer from the following technical pain points: 1. Static architecture design prevents quantum encryption systems from responding to dynamic environmental changes, leading to key security failure and communication interruption. The existing technology "CN115361123A A UAV Control System Based on Quantum Encryption Technology" adopts a rigid architecture with fixed parameters and discrete modules. In complex scenarios such as high-speed UAV movement, atmospheric turbulence, or electromagnetic interference, the quantum key generation module continuously outputs keys with high error rates due to the lack of an environmental perception linkage mechanism. At the same time, the key management module cannot adjust the key strategy in real time according to the link status, causing the stored invalid keys to be used for encrypted transmission. Ultimately, this leads to the malicious decryption of real-time image data during reconnaissance missions and the loss of command instructions during emergency rescue and disaster relief due to quantum link interruption. 2. The generation parameters, distribution strategy, and update cycle of quantum keys remain fixed independently of environmental changes. The key generation module lacks the ability to sense and respond to dynamic environmental changes, thus failing to solve the problem of quantum key security failure caused by the high-speed movement of drones and drastic fluctuations in channel conditions. The existing technology "CN118215022A A method, system and storage medium for encryption of drone group communication based on quantum communication" determines the communication mode of each drone based on the distance between each drone and the base station and the communication environment information. Although communication environment information is introduced for group communication mode selection, its environment perception mechanism only serves the decision-making level of network communication mode and does not feed back the environment information to the quantum key distribution and key management layer. 3. In scenarios involving high-speed maneuvering of drones and drastic fluctuations in atmospheric channel conditions, the lack of real-time perception of environmental changes and dynamic adjustment of key strategies makes it difficult to autonomously trigger key refresh or protocol degradation protection when the link status deteriorates, thus compromising the continuous reliability of quantum encrypted communication. The existing technology "CN119653358A, a quantum-encrypted networked drone control system," utilizes quantum encryption technology to encrypt and protect the control commands and transmitted data of networked drones, focusing on identity authentication and encrypted transmission at the control level. However, its quantum encryption module operates with a preset fixed strategy, and the key generation, distribution, and management processes lack a closed-loop collaborative mechanism of "environmental perception—link evaluation—key strategy adjustment."

[0005] In summary, there is an urgent need for a technology that can enable dynamic and coordinated responses between quantum encryption systems and the flight environment. Summary of the Invention

[0006] The purpose of this application is to provide a quantum encryption device and method based on UAV communication and flight control data, which can drive the dynamic collaboration of multiple modules through environmental parameters to solve the problems of soaring quantum key error rate and communication interruption in high-speed movement and complex environments of UAVs.

[0007] The first aspect of this application provides a quantum encryption device based on UAV communication and flight control data, including: The environmental perception module is used to collect flight environment parameters and link status parameters. Flight environment parameters include atmospheric turbulence intensity and flight attitude angle, while link status parameters include electromagnetic interference intensity and communication bit error rate. The flight environment parameters and link status parameters are sent to the quantum key generation module and the dynamic compensation module. The quantum key generation module is used to receive flight environment parameters and link status parameters sent by the environment sensing module, dynamically adjust the pulse coding strategy, generate a time-phase jointly encoded quantum key sequence, and send it to the dynamic compensation module. The dynamic compensation module is used to receive flight environment parameters and link status parameters sent by the environment perception module and quantum key sequence sent by the quantum key generation module, calculate the change in environmental parameters and compensation factor based on the flight environment parameters, output the calibrated key distribution instruction, and send it to the key management module. The key management module is used to receive the key distribution instruction sent by the dynamic compensation module, verify the key validity and mark the invalid key, trigger the key update according to the communication bit error rate in the link status parameters, and distribute the valid key to the multi-mode communication execution module. The multi-mode communication execution module is used to receive the valid key distributed by the key management module. When the communication error rate in the link state parameters is lower than a set threshold, the valid key is transmitted through free space. When the communication error rate is greater than or equal to the set threshold, the module switches to the terahertz channel to transmit encrypted data. The module performs quantum key stream encryption on the flight control data and communication data according to the valid key.

[0008] Optionally, in the quantum encryption device based on UAV communication and flight control data described in this application, the quantum key generation module includes: The time modulation unit is used to generate time bin sequences with intervals of 10-15 ns and send them to the phase encoding unit; The phase encoding unit is used to receive the time bin sequence sent by the time modulation unit, perform phase correlation on the pulses in the time bin sequence, associate the early pulse with phase 0 and the late pulse with phase π, and send the phase-encoded pulse sequence to the three-state optical switch. The three-state optical switch is used to receive the phase-encoded pulse sequence sent by the phase encoding unit, and output signal state, decoy state and vacuum state pulses according to the received environmental turbulence intensity data and the ratio of environmental turbulence intensity.

[0009] Optionally, in the quantum encryption device based on UAV communication and flight control data described in this application, the key management module includes: The hierarchical storage unit is used to store the core key in the physical encryption chip, store the session key in the encrypted memory, and provide the stored core key and session key data to the real-time verification unit; The real-time verification unit is used to receive the core key and session key data provided by the hierarchical storage unit, perform hash verification on the session key data, detect key tampering status, output the verification result and send it to the access control unit. The access control unit is used to receive the verification result sent by the real-time verification unit and assign key operation permissions in combination with the user role.

[0010] Optionally, in the quantum encryption device based on UAV communication and flight control data described in this application, the dynamic compensation module includes: Perform time synchronization compensation operation, and calibrate time bin alignment by using Kalman filtering based on the received IMU angular velocity data and GPS second pulse, and output time synchronization signal; The phase drift suppression operation is performed by receiving the time synchronization signal and the phase detector feedback signal, and adjusting the bias voltage according to the phase detector feedback signal to suppress the phase error to within π / 10.

[0011] Optionally, in the quantum encryption device based on UAV communication and flight control data described in this application, the multi-mode communication execution module includes: The quantum channel unit is used to perform optical transmission and reception using a Cassegrain antenna when the communication bit error rate in the link state parameters is lower than a set threshold. It maintains pointing accuracy through a coarse aiming system and a fine aiming system to achieve free space quantum key transmission. The terahertz channel unit is used to adaptively adjust the subcarrier allocation based on the channel attenuation data sent by the received environment sensing module when the communication bit error rate in the link state parameters exceeds a set threshold, thereby completing the encrypted data transmission of the terahertz channel. The channel switching control unit is used to monitor the communication bit error rate in the link status parameters. When the communication bit error rate is lower than a set threshold, the quantum channel unit is activated, and when the communication bit error rate is higher than the set threshold, the terahertz channel unit is activated.

[0012] Optionally, in the quantum encryption device based on UAV communication and flight control data described in this application, the key management module further includes, when triggering a key update: The key replacement unit is used to generate a new key and replace the invalid key marked by the key management module, and send the updated key data to the key distribution unit; The key distribution unit is used to receive the updated key data sent by the key replacement unit, apply a digital signature, and distribute the signed key to the multi-mode communication execution module. The audit log unit is used to record key update time, operator identity information, and key distribution status, and generate audit logs.

[0013] Optionally, in the quantum encryption device based on UAV communication and flight control data described in this application, the dynamic compensation module further includes: An electromagnetic interference intensity time series matrix is ​​constructed, and an adaptive Kalman filter algorithm is used to predict the trend of electromagnetic interference intensity changes based on the electromagnetic interference intensity data sent by the environmental sensing module. When the predicted value exceeds 5 dBm, multi-algorithm collaborative decision-making is activated, including: A genetic algorithm is used to optimize the channel handover threshold and generate a set of candidate handover strategies. The particle swarm optimization algorithm is used to calculate the key update triggering time and generate a key update parameter set. Perform cross-validation by inputting the candidate switching strategy set and key update parameter set into a pre-trained neural network validation model and outputting a validation score. When the verification score exceeds the trust threshold, a channel switching command is generated and sent to the multi-mode communication execution module, and a key update trigger command is generated and sent to the key management module. The neural network verification model is obtained by adversarial training using channel state data collected by the multi-mode communication execution module and key update records generated by the key management module.

[0014] Secondly, this application provides a quantum encryption method based on UAV communication and flight control data, applied to the quantum encryption device based on UAV communication and flight control data as described above, including the following steps: The flight environment parameters and link status parameters are collected. The flight environment parameters include atmospheric turbulence intensity and flight attitude angle. The link status parameters include electromagnetic interference intensity and communication bit error rate. The system receives the flight environment parameters and link status parameters, dynamically adjusts the pulse transmission power based on the atmospheric turbulence intensity, optimizes the time phase coding parameters based on the flight attitude angle, and generates a quantum key sequence with joint time and phase coding. Calculate the change in the flight environment parameters, calculate the compensation factor based on the change, and output the calibrated key distribution command. Receive the calibrated key distribution instruction, verify the key validity and mark the invalid key, trigger key update according to the communication bit error rate, and distribute the valid key; When the communication error rate is lower than a set threshold, the effective key is transmitted through free space. When the communication error rate is greater than the set threshold, the transmission is switched to a terahertz channel to transmit encrypted data. The effective key is used to perform quantum key stream encryption on the flight control data and communication data.

[0015] Optionally, in the quantum encryption method based on UAV communication and flight control data described in this application, the step of dynamically adjusting the pulse transmission power according to the atmospheric turbulence intensity further includes: Generate a time bin sequence with an interval of 10-15ns, perform phase correlation on the pulses in the time bin sequence, and associate the early pulse with phase 0 and the late pulse with phase π; Based on the atmospheric turbulence intensity, signal state, decoy state, and vacuum state pulses are output proportionally, and the proportion of decoy state pulses is increased when the atmospheric turbulence intensity increases.

[0016] Optionally, in the quantum encryption method based on UAV communication and flight control data described in this application, the key distribution instruction further includes: Based on the IMU angular velocity data and the GPS second pulse, the time bin is aligned by Kalman filtering, and a time synchronization signal is output. The system receives the time synchronization signal and the phase detector feedback signal, and adjusts the bias voltage according to the phase detector feedback signal to suppress the phase error to within π / 10. An electromagnetic interference intensity time series matrix is ​​constructed, and an adaptive Kalman filter algorithm is used to predict the trend of electromagnetic interference intensity changes. When the predicted value exceeds 5dBm, a multi-algorithm collaborative decision-making mechanism is activated to generate channel switching instructions and key update trigger instructions.

[0017] As can be seen from the above, the quantum encryption device and method based on UAV communication and flight control data provided in this application collect flight environment parameters and link status parameters through the device's environmental perception module. The quantum key generation module dynamically adjusts the pulse coding strategy according to the environmental parameters to generate a quantum key sequence with joint time and phase encoding. The dynamic compensation module calculates the changes in environmental parameters and outputs a calibrated key distribution instruction. The key management module verifies the key validity, triggers key updates and distributes valid keys based on the communication error rate. The multi-mode communication execution module transmits the key through free space when the communication error rate is below a threshold, and switches to the terahertz channel to transmit encrypted data when it exceeds the threshold. The flight control data and communication data are encrypted using the valid key. This achieves dynamic collaboration of multiple modules driven by environmental parameters, solving the problems of quantum key error rate surges and communication interruptions in high-speed movement and complex environments of UAVs.

[0018] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing embodiments of this application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A system architecture diagram of a quantum encryption device based on UAV communication and flight control data provided in this application embodiment; Figure 2 A flowchart illustrating the multi-algorithm collaborative decision-making process of a quantum encryption device based on UAV communication and flight control data, provided in an embodiment of this application. Figure 3 A logic flowchart for optimizing the motion state pulse parameters of a quantum encryption device based on UAV communication and flight control data provided in this application embodiment; Figure 4 A flowchart illustrating the quantum encryption method based on UAV communication and flight control data provided in this application embodiment. Detailed Implementation

[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0022] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0023] Firstly, please refer to Figure 1 , Figure 1 This is a system architecture diagram of a quantum encryption device based on UAV communication and flight control data according to some embodiments of this application. The quantum encryption device based on UAV communication and flight control data is installed in a control terminal device, such as a computer terminal. The quantum encryption device based on UAV communication and flight control data includes: The environmental perception module is used to collect flight environment parameters and link status parameters. Flight environment parameters include atmospheric turbulence intensity and flight attitude angle, while link status parameters include electromagnetic interference intensity and communication bit error rate. The flight environment parameters and link status parameters are sent to the quantum key generation module and the dynamic compensation module. The quantum key generation module is used to receive flight environment parameters and link status parameters sent by the environment sensing module, dynamically adjust the pulse coding strategy, generate a time-phase jointly encoded quantum key sequence, and send it to the dynamic compensation module. The dynamic compensation module is used to receive flight environment parameters and link status parameters sent by the environment perception module and quantum key sequence sent by the quantum key generation module, calculate the change in environmental parameters and compensation factor based on the flight environment parameters, output the calibrated key distribution instruction, and send it to the key management module. The key management module is used to receive the key distribution instruction sent by the dynamic compensation module, verify the key validity and mark the invalid key, trigger the key update according to the communication bit error rate in the link status parameters, and distribute the valid key to the multi-mode communication execution module. The multi-mode communication execution module is used to receive the valid key distributed by the key management module. When the communication error rate in the link state parameters is lower than a set threshold, the valid key is transmitted through free space. When the communication error rate is greater than or equal to the set threshold, the module switches to the terahertz channel to transmit encrypted data. The module performs quantum key stream encryption on the flight control data and communication data according to the valid key.

[0024] It should be noted that the overall architecture of the device of this invention includes five core modules: an environmental perception module, a quantum key generation module, a dynamic compensation module, a key management module, and a multi-mode communication execution module. The core technology lies in constructing a dynamic collaborative architecture driven by environmental parameters, deeply integrating UAV flight environment perception with the quantum encryption process to achieve closed-loop control across the entire link from key generation, dynamic compensation, key management to multi-mode transmission. The environmental perception module is the sensing foundation of the entire device, collecting two types of data: flight environment parameters and link status parameters. Flight environment parameters include atmospheric turbulence intensity and flight attitude angle. The atmospheric turbulence intensity is obtained by measuring the atmospheric refractive index structure constant Cn² using a laser turbulence meter, reflecting the degree of atmospheric disturbance to the quantum optical signal transmission. The flight attitude angle is determined by an inertial measurement unit (IMU). The three-axis angular velocity integrals, including pitch, roll, and yaw angles, are collected by the IMU (Integrated Unit). Link status parameters include electromagnetic interference intensity and communication bit error rate (BER). Electromagnetic interference intensity is monitored in real time using a spectrum analyzer in the UAV's communication frequency band, and the BER is generated statistically from the data packet verification results of the communication protocol stack parsing layer. These four-dimensional parameters are synchronously transmitted to the quantum key generation module and the dynamic compensation module, providing the basis for the system's environmental state perception. The quantum key generation module receives the flight environment parameters and link status parameters transmitted by the environmental perception module. It dynamically adjusts the optical pulse transmission power and encoding strategy based on the atmospheric turbulence intensity, optimizes the time-phase encoding parameters based on the flight attitude angle changes, and adaptively selects the quantum state modulation method in conjunction with the electromagnetic interference intensity data. This module performs a joint time-phase encoding operation to generate a quantum key sequence including time bin intervals and phase information, which is then sent to the dynamic compensation module. The dynamic compensation module receives the quantum key sequence and environmental parameters, first calculating the changes in environmental parameters, including the atmospheric turbulence intensity gradient and flight attitude. The module calculates a dynamic compensation factor based on the change in angular acceleration. This factor includes time synchronization offset and phase drift. The module outputs a calibrated key distribution command, containing compensated quantum key distribution timing parameters, which is then transmitted to the key management module. The key management module receives the calibrated key distribution command, verifies the validity of the quantum key, uses a hash verification algorithm to check key integrity, securely marks and isolates invalid keys, and triggers a key update process when the communication error rate exceeds a fault tolerance threshold. The valid key is then securely distributed to the multi-mode communication execution module using a quantum key encapsulation protocol. When the communication error rate is below a set threshold, the multi-mode communication execution module transmits the valid key through a free-space quantum channel, using a Cassegrain optical antenna for quantum signal transmission and reception. When the communication error rate exceeds the set threshold, it automatically switches to a terahertz communication channel, using orthogonal frequency division multiplexing (OFDM) technology to transmit encrypted data. This module uses the valid key to perform quantum key stream encryption, performing bit-by-bit XOR encryption on flight control data and communication data to generate a ciphertext data stream resistant to quantum computing attacks.According to an embodiment of the present invention, when the UAV is performing a reconnaissance mission, the flight speed reaches 12 m / s and the atmospheric turbulence intensity Cn² = 1.5 × 10; - ¹ 4 m - With an electromagnetic interference intensity of 3.2 dBm and a communication error rate of 4.5%, the environmental perception module synchronously transmits four-dimensional parameters to the quantum key generation module and the dynamic compensation module. The quantum key generation module adjusts the pulse transmission power to 1.3 times the original value according to the turbulence intensity. The dynamic compensation module calculates the time synchronization offset of 0.8 ns and the phase drift of 0.12 rad, and outputs the calibrated key distribution command. The key management module verifies the key validity and distributes the valid key. Because the error rate of 4.5% is lower than the threshold of 5%, the multi-mode communication execution module transmits the key through the free space quantum channel and performs quantum key stream encryption. By using the environmental parameters driven by this invention to dynamically coordinate multiple modules, compared with the existing static architecture system, the quantum key error rate is effectively reduced, the key generation efficiency is improved, and the communication interruption recovery time is shortened, effectively ensuring the communication security of UAVs in high-speed moving scenarios.

[0025] According to an embodiment of the present invention, the quantum key generation module includes: The time modulation unit is used to generate time bin sequences with intervals of 10-15 ns and send them to the phase encoding unit; The phase encoding unit is used to receive the time bin sequence sent by the time modulation unit, perform phase correlation on the pulses in the time bin sequence, associate the early pulse with phase 0 and the late pulse with phase π, and send the phase-encoded pulse sequence to the three-state optical switch. The three-state optical switch is used to receive the phase-encoded pulse sequence sent by the phase encoding unit, and output signal state, decoy state and vacuum state pulses according to the received environmental turbulence intensity data and the ratio of environmental turbulence intensity.

[0026] It should be noted that the quantum key generation module employs a three-level processing structure consisting of a time modulation unit, a phase encoding unit, and a three-state optical switch. This structure realizes a complete quantum key carrier generation chain, encompassing time bin sequence generation, phase correlation encoding, and dynamic allocation of pulse state ratios. First, the time modulation unit generates initial laser pulses using a semiconductor mode-locked laser. An electro-optic modulator then divides the continuous pulses into fixed-interval optical pulse sequences. The interval range of the time bin sequences is set to 10 to 15 nanoseconds, with the specific interval dynamically adjusted based on environmental turbulence intensity data. This unit transmits the generated time bin sequences to the phase encoding unit. The phase encoding unit uses a Mach-Zehnder interferometer structure to encode each pulse in the time bin sequence. A phase loading operation is performed, with the earlier pulse loading phase 0 and the later pulse loading phase π, forming a binary phase code. The temperature control system maintains the stability of the interferometer's optical path length and suppresses phase drift caused by ambient temperature fluctuations. The pulse sequence with completed phase encoding is sent to a three-state optical switch. The three-state optical switch includes an acousto-optic modulator array, which adjusts the light attenuation coefficient according to the real-time received environmental turbulence intensity data, and outputs three pulse states—signal state, decoy state, and vacuum state—according to the turbulence intensity ratio. The signal state corresponds to normal communication intensity, the decoy state is used for anti-eavesdropping detection, and the vacuum state is used for security verification. The proportion of output pulse states is dynamically adjusted as the turbulence intensity increases. According to an embodiment of the present invention, when the atmospheric turbulence intensity Cn² = 2.0 × 10⁻⁶, ... - ¹ 4 m - At Cn² / ³ (moderate turbulence), the time modulation unit sets the time bin interval to 12 ns, the phase encoding unit loads 0 / π phase for each pulse, and the three-state optical switch outputs proportionally according to the turbulence intensity: signal state 60%, decoy state 30%, and vacuum state 10%. When the turbulence intensity increases to Cn² = 5.0 × 10⁻³, the output becomes more stable. - ¹ 4 m - At 2 / 3 (strong turbulence), the proportion of decoy states is increased to 40% to enhance eavesdropping detection capability, while the proportion of signal states is reduced to 50%. Through a three-level processing structure, the quantum key carrier and environmental parameters are adaptively matched. Compared with fixed parameter encoding schemes, the key generation rate is improved in moderate turbulence environment, while the bit error rate is effectively reduced in strong turbulence environment. The dynamic adjustment of the proportion of decoy states significantly improves the detection rate of photon number separation attacks.

[0027] According to an embodiment of the present invention, the key management module includes: The hierarchical storage unit is used to store the core key in the physical encryption chip, store the session key in the encrypted memory, and provide the stored core key and session key data to the real-time verification unit; The real-time verification unit is used to receive the core key and session key data provided by the hierarchical storage unit, perform hash verification on the session key data, detect key tampering status, output the verification result and send it to the access control unit. The access control unit is used to receive the verification result sent by the real-time verification unit and assign key operation permissions in combination with the user role.

[0028] It should be noted that the key management module includes a hierarchical storage unit, a real-time verification unit, and an access control unit, constructing a secure management chain for hierarchical key storage, integrity verification, and role-based access control. The hierarchical storage unit performs hierarchical key storage operations, storing the core key in an encryption chip with physical protection mechanisms. This encryption chip integrates a true random number generator and a hardware encryption engine, supporting hardware acceleration of cryptographic algorithms such as SM2 and RSA. A physical anti-tampering mechanism triggers key self-destruction. Session keys are stored in an independent encrypted memory area, protected by dynamic key encryption technology. The hierarchical storage unit provides key data to the real-time verification unit via a secure bus, using a bus encryption protocol to prevent man-in-the-middle attacks during data transmission. The real-time verification unit receives the key data transmitted from the hierarchical storage unit, calculates the key data digest value using a collision-resistant hash algorithm, and detects whether the key has been tampered with by comparing the real-time calculated digest value with a pre-stored baseline value. The verification result, including a key integrity status flag, is sent to the access control unit. The access control unit maintains a user role database, including definitions for three roles: operator, administrator, and auditor, based on... The key integrity status in the verification result is combined with user role information to execute access control policies. When the key is intact and the user is an operator, session key access is granted; when the key is intact and the user is an administrator, core key configuration permissions are granted; and when the user is an auditor, only audit log reading permissions are granted. According to this embodiment of the invention, when an operator user logs into the system and requests to encrypt flight control data using a session key, the real-time verification unit first performs SHA-256 hash verification on the session key in the encrypted memory, calculates the digest value, compares it with the pre-stored baseline value, confirms that the key has not been tampered with, and the permission control unit queries the role database. The operator permission mask enables the session key reading bit, allowing the operator to access the session key through the encrypted memory interface to perform encryption operations, but masks the core key access bit, preventing the operator from accessing the core key in the physical encryption chip. The hierarchical storage mechanism achieves physical isolation between the core key and the session key, hardware protection blocks unauthorized cross-domain access, real-time hash verification reduces the key tampering detection time from minutes to milliseconds, and role-based permission control achieves fine-grained access management. Compared with a unified permission scheme, unauthorized access events are significantly reduced.

[0029] According to an embodiment of the present invention, the dynamic compensation module includes: Perform time synchronization compensation operation, and calibrate the time bins by using Kalman filtering to align the received IMU angular velocity data and the Global Positioning System (GPS) second pulse, and output a time synchronization signal; The phase drift suppression operation is performed by receiving the time synchronization signal and the phase detector feedback signal, and adjusting the bias voltage according to the phase detector feedback signal to suppress the phase error to within π / 10.

[0030] It should be noted that the dynamic compensation module has a dual compensation mechanism, performing time synchronization compensation and phase drift suppression, forming a dual closed-loop control system. This can solve the problems of quantum signal timing offset and phase distortion caused by the high-speed movement of the UAV. The time synchronization compensation operation integrates multi-source sensor data. The dynamic compensation module receives IMU angular velocity data and GPS second pulse signals transmitted from the environmental perception module. It uses a Kalman filter algorithm to estimate the motion state of the UAV's trajectory. The prediction stage calculates the trajectory based on the IMU angular velocity, and the update stage introduces the GPS second pulse absolute time reference to correct accumulated errors. Sensor noise is eliminated through the prediction correction mechanism. The time bin alignment offset is calculated based on the motion state estimate, generating a time synchronization calibration signal, which is output to the phase drift suppression unit and the quantum key generation module. The phase drift suppression operation receives the time synchronization signal and the phase detector feedback signal. The phase detector monitors the phase change in the quantum channel in real time, generating phase drift feedback data. The dynamic compensation module compares the time-domain characteristic differences between the time synchronization signal and the phase drift feedback signal, calculates the phase drift compensation value, and then applies the compensation... The system generates a bias voltage adjustment command to drive the electro-optic modulator to adjust the phase modulation depth, suppressing the quantum signal phase error within the accuracy range of π / 10. According to an embodiment of the invention, a UAV flies at 15 m / s and performs a turning maneuver. The IMU detects a yaw rate of 5° / s. The Kalman filter algorithm fuses IMU data and GPS second pulses to calculate the time bin alignment offset as 1.2 ns, outputting a time synchronization calibration signal. The phase detector feedback signal shows a current phase drift of 0.25 rad. The dynamic compensation module calculates a compensation value of 0.25 rad, generates a bias voltage adjustment command to drive the electro-optic modulator, and suppresses the phase error from 0.25 rad to 0.08 rad (less than π / 10 ≈ 0.314 rad), ensuring the phase encoding accuracy of quantum key transmission. Through dual closed-loop control, the time synchronization accuracy reaches the sub-nanosecond level, significantly reducing the time bin alignment error compared to the uncompensated scheme. Phase drift suppression controls the phase error within π / 10, significantly reducing phase noise compared to the open-loop system, thus improving the stability of quantum signal transmission and the key generation rate in high-speed mobile environments.

[0031] According to an embodiment of the present invention, the multi-mode communication execution module includes: The quantum channel unit is used to perform optical transmission and reception using a Cassegrain antenna when the communication bit error rate in the link state parameters is lower than a set threshold. It maintains pointing accuracy through a coarse aiming system and a fine aiming system to achieve free space quantum key transmission. The terahertz channel unit is used to adaptively adjust the subcarrier allocation based on the channel attenuation data sent by the received environment sensing module when the communication bit error rate in the link state parameters exceeds a set threshold, thereby completing the encrypted data transmission of the terahertz channel. The channel switching control unit is used to monitor the communication bit error rate in the link status parameters. When the communication bit error rate is lower than a set threshold, the quantum channel unit is activated, and when the communication bit error rate is higher than the set threshold, the terahertz channel unit is activated.

[0032] It should be noted that the multi-mode communication execution module includes a quantum channel unit, a terahertz channel unit, and a channel switching control unit, constructing a dual-channel intelligent switching architecture to achieve seamless switching between free-space quantum transmission and terahertz channel encrypted transmission. The quantum channel unit activates when the communication error rate is below a set threshold. This unit uses a Cassegrain optical antenna structure for quantum signal transmission and reception. The primary reflector converges the incident beam, and the secondary reflector reflects it a second time to the focal detector. The coarse aiming system achieves initial alignment based on GPS positioning and inertial navigation data, while the fine aiming system uses a fast-control reflector and a four-quadrant detector to form a closed-loop tracking system, correcting beam pointing deviations in real time to maintain the optical axis alignment accuracy required for free-space quantum key transmission. A decoy state protocol is used to enhance security during quantum key transmission. The terahertz channel unit activates when the communication error rate exceeds a set threshold. This unit operates within an atmospheric window frequency band, using a Gunn diode as the terahertz signal source and orthogonal frequency division multiplexing modulation. The data stream is divided into multiple orthogonal subcarriers for parallel transmission. Based on channel attenuation data transmitted in real-time by the environmental perception module, including atmospheric absorptivity and rain attenuation parameters, subcarrier power and modulation order are dynamically allocated to improve bandwidth utilization and resistance to frequency-selective fading. The channel switching control unit continuously monitors the communication bit error rate and maintains a dual-threshold decision mechanism. When the communication bit error rate remains below the first threshold, the quantum channel remains active; when the communication bit error rate exceeds the second threshold, a hard handover is triggered. The channel switching process performs protocol adaptation operations, including data frame format conversion and forward error correction coding synchronization. According to an embodiment of the present invention, when a UAV encounters strong electromagnetic interference while performing emergency rescue missions, the communication bit error rate suddenly rises from 3% to 8% (exceeding the set threshold of 5%). The channel switching control unit triggers a hard handover, the quantum channel unit suspends free-space transmission, the terahertz channel unit is activated, and the terahertz channel unit selects the 340GHz atmospheric window band for orthogonal frequency division multiplexing (Orthogonal Frequency Division Multiplexing). Frequency Division Multiplexing (OFDM) modulation distributes the encrypted data stream across 256 orthogonal subcarriers. Power allocation for each subcarrier is dynamically adjusted based on channel attenuation data, with strong attenuation subcarriers having reduced power and weak attenuation subcarriers having increased power. Quantum keystream encryption operations maintain continuity during channel switching, ensuring uninterrupted encryption of flight control commands. The dual-channel switching architecture enhances communication availability. OFDM adaptive subcarrier allocation significantly improves throughput in terahertz channels under strong interference environments compared to fixed allocation schemes, while channel switching latency is controlled within 50ms, achieving seamless communication continuity.

[0033] According to an embodiment of the present invention, when the key management module triggers a key update, it further includes: The key replacement unit is used to generate a new key and replace the invalid key marked by the key management module, and send the updated key data to the key distribution unit; The key distribution unit is used to receive the updated key data sent by the key replacement unit, apply a digital signature, and distribute the signed key to the multi-mode communication execution module. The audit log unit is used to record key update time, operator identity information, and key distribution status, and generate audit logs.

[0034] It should be noted that the key management module includes a key replacement unit, a key distribution unit, and an audit record unit, constructing a secure mechanism for key replacement, secure distribution, and audit traceability. When a key update is triggered, the key replacement unit uses a quantum random number generator to produce a truly random sequence and generates an asymmetric key pair conforming to the X.509 standard based on a post-quantum cryptography algorithm. The new key replaces the marked invalid key through a secure write operation, performing an atomic-level key overwrite process to prevent data residue. The updated key data is encapsulated in ASN.1 encoding format and transmitted to the key distribution unit through a secure channel. The key distribution unit applies a digital signature operation based on the Elliptic Curve Digital Signature Algorithm (ECDSA) to the key data, using data stored in the hardware security module. The root certificate private key of the SecurityModule (HSM) is used to generate the signature. The signed key data is then packaged using a key encapsulation mechanism and sent to the key negotiation interface of the multi-mode communication execution module via an authenticated encrypted transmission protocol. The key distribution process follows the zero-trust security principle and implements two-way authentication: the distributor verifies the receiver's device certificate, and the receiver verifies the distributor's digital signature. The audit recording unit synchronously records the entire key update cycle, capturing three core data types: key update timestamp, operator digital identity certificate information, and key distribution status code. After time source authentication, the audit event data is written to the append-only log storage area, and a Merkle tree structure is used to generate an anti-tampering audit log, which is then output to the blockchain evidence storage system for distributed evidence storage. According to this embodiment, if the communication error rate exceeds the fault tolerance threshold for 3 consecutive seconds, the key management module triggers a key update. The key replacement unit calls a quantum random number generator to generate a 256-bit true random sequence and generates a new key pair based on the lattice cryptography algorithm, replacing the expired session key marked in the encrypted memory. The key distribution unit uses the root certificate private key in the HSM to perform ECDSA signing on the new key and uses RSA Optimal Asymmetric encryption padding. EncryptionPadding (RSA-OAEP) key encapsulation mechanism distributes the keys via a TLS 1.3 channel after they are packaged. The audit log unit records the update timestamp, operator digital certificate, and distribution status code, and writes them into the Merkle tree log and submits them to the blockchain for evidence storage. A quantum random number generator provides an information-theoretically secure entropy source, which reduces the predictability of the key to zero compared to a pseudo-random number generator. The zero-trust distribution mechanism significantly reduces the success rate of man-in-the-middle attacks. The Merkle tree audit log enables efficient integrity verification of millions of log entries, and the blockchain evidence storage provides an immutable chain of operational evidence.

[0035] Please refer to Figure 2 , Figure 2This is a flowchart illustrating the multi-algorithm collaborative decision-making process of a quantum encryption device based on UAV communication and flight control data in some embodiments of this application. According to an embodiment of the present invention, the dynamic compensation module further includes: An electromagnetic interference intensity time series matrix is ​​constructed, and an adaptive Kalman filter algorithm is used to predict the trend of electromagnetic interference intensity changes based on the electromagnetic interference intensity data sent by the environmental sensing module. When the predicted value exceeds 5 dBm, multi-algorithm collaborative decision-making is activated, including: A genetic algorithm is used to optimize the channel handover threshold and generate a set of candidate handover strategies. The particle swarm optimization algorithm is used to calculate the key update triggering time and generate a key update parameter set. Perform cross-validation by inputting the candidate switching strategy set and key update parameter set into a pre-trained neural network validation model and outputting a validation score. When the verification score exceeds the trust threshold, a channel switching command is generated and sent to the multi-mode communication execution module, and a key update trigger command is generated and sent to the key management module. The neural network verification model is obtained by adversarial training using channel state data collected by the multi-mode communication execution module and key update records generated by the key management module.

[0036] It should be noted that the dynamic compensation module upgrades from passive response to active prediction through electromagnetic interference prediction and a multi-algorithm collaborative decision-making mechanism, ensuring the continuous availability of communication links in strong electromagnetic interference environments. First, the dynamic compensation module constructs a time-series matrix of electromagnetic interference intensity. It receives real-time electromagnetic interference intensity data transmitted from the environmental sensing module, constructs a multi-dimensional feature matrix along the time dimension, processes the time-series matrix using an adaptive Kalman filter algorithm, and optimizes the prediction model parameters by dynamically adjusting the process noise covariance. It then outputs a predicted value of the electromagnetic interference intensity change trend, including predictions of extreme interference intensity values ​​within future time windows. When the electromagnetic interference intensity prediction... When the value exceeds 5dBm, a multi-algorithm collaborative decision-making mechanism is activated. A genetic algorithm optimizes the channel handover threshold, initializing the population with multiple handover threshold schemes. A fitness function comprehensively evaluates channel utilization and handover success rate. A tournament selection strategy and a uniform crossover operator are used to generate a candidate handover strategy set. A particle swarm optimization algorithm simultaneously calculates the key update trigger timing. Particle position vectors encode the key update timing and update amount parameters, while velocity vectors control the parameter search direction. The optimal parameter combination is iteratively approximated using the position update formula, generating a key update parameter set. Cross-validation inputs the candidate handover strategy set and the key update parameter set into the pre-trained neural network. The network verification model employs a convolutional long short-term memory (LSTM) network architecture. Convolutional layers extract the spatial correlation of policy features, LSM units capture the temporal dependencies of parameters, and fully connected layers fuse spatiotemporal features to output a verification score. When the verification score exceeds a confidence threshold, a channel switching command and a key update trigger command are generated and sent to the multi-mode communication execution module and the key management module, respectively. The neural network verification model is constructed through an adversarial training mechanism. Within the generative adversarial network framework, the generator synthesizes complex interference scenario data, and the discriminator distinguishes between real and synthetic data. Adversarial game theory enhances the model's generalization ability. Training data includes data collected by the multi-mode communication execution module. Channel state data and key update operation records from the key management module; according to an embodiment of the present invention, when the environmental perception module detects that the electromagnetic interference intensity gradually increases from 2dBm to 4.2dBm, the adaptive Kalman filter algorithm predicts that the interference intensity will reach 6.5dBm (exceeding the 5dBm threshold) after 5 seconds. The genetic algorithm initializes 50 candidate switching threshold schemes, and after 100 generations of evolution, outputs the optimal switching threshold as 5.5dBm. After 200 iterations, the particle swarm optimization algorithm outputs the optimal key update timing as 1.2 seconds after the predicted interference exceeds the limit. The convolutional neural network-long short-term memory (CNN-LSTM) verification model performs cross-validation on the dual outputs, with a verification score of 0.87 (exceeding the confidence threshold of 0.75), and the system advances by 3.The system generates channel switching and key update commands within 8 seconds, completing switching preparations before actual interference exceeds limits. Electromagnetic interference prediction upgrades the system from passive response to proactive prediction. A cross-validation mechanism using multi-algorithm collaborative decision-making significantly improves decision accuracy compared to a single algorithm. The adversarial training validation model reduces generalization error in unknown interference scenarios, effectively ensuring communication continuity under strong interference conditions.

[0037] Please refer to Figure 3 , Figure 3 This is a logic flowchart of the motion state pulse parameter optimization of a quantum encryption device based on UAV communication and flight control data in some embodiments of this application. Further, according to an embodiment of the present invention, the time modulation unit includes: A flight attitude angle and velocity mapping model is constructed. Based on the flight attitude angle data sent by the received environment perception module, the extended Kalman filter algorithm is used to estimate the three-dimensional motion trajectory of the UAV in real time. Based on the rate of change of curvature of the motion trajectory, a multimodal pulse parameter optimization mechanism is initiated: A Bayesian optimization algorithm is used to dynamically calculate the time bin interval and generate anti-turbulence pulse sequence parameters. A deep reinforcement learning algorithm is used to determine the proportion of decoy state impulses and generate an anti-interception security strategy. Perform quantum channel capacity verification by inputting pulse sequence parameters and security policies into the quantum bit error rate prediction model and outputting a channel capacity assessment value. When the channel capacity assessment value is lower than the set threshold, a parameter re-optimization loop is triggered. When the drone's flight speed exceeds 10 m / s and the channel capacity assessment value is not lower than the set threshold, the time bin interval is extended to 15 ns, and the decoy state pulse transmission ratio is set to 40%. The quantum bit error rate prediction model is obtained by adversarial training using quantum channel characteristic data collected by the multi-mode communication execution module and pulse sequence data generated by the phase coding unit.

[0038] It should be noted that the time modulation unit achieves adaptive matching between quantum key encoding parameters and the UAV's motion state. The time modulation unit constructs a flight attitude angle and velocity mapping model, receives real-time flight attitude angle data (pitch, roll, and yaw angles) transmitted from the environmental perception module, processes the attitude angle data using an extended Kalman filter algorithm, fuses IMU angular velocity data through a state prediction equation, incorporates GPS positioning data to correct accumulated errors in the measurement update stage, linearizes the attitude angle differential equation using a nonlinear system model, and ensures estimation accuracy in dynamic environments through real-time updates of the covariance matrix, outputting a real-time estimate of the UAV's three-dimensional motion trajectory. Then, based on the motion trajectory curvature change rate index, a multimodal pulse parameter optimization mechanism is initiated. A Bayesian optimization algorithm performs dynamic calculations at time bin intervals, constructs a surrogate objective function model based on Gaussian process regression, explores and utilizes the parameter space through the acquisition function balance, and iteratively outputs an anti-turbulence pulse sequence. The parameter proxy model avoids direct computation of complex physical models, improving optimization efficiency in high-speed maneuvering environments. The deep reinforcement learning algorithm uses a Q-learning framework to determine the proportion of decoy state pulses. The state space includes dimensions such as channel bit error rate and attack characteristics, while the action space defines the decoy state proportion scheme. The reward function quantifies the balance between security gain and throughput loss. The policy network is trained using historical attack data to output the optimal anti-interception policy. Quantum channel capacity verification inputs the pulse sequence parameters and security policy into the quantum bit error rate prediction model, calculating the weighted evaluation value of Shannon capacity and quantum capacity. When the channel capacity evaluation value is lower than a set threshold, a parameter re-optimization loop is triggered. When the UAV's flight speed exceeds 10 m / s and the channel capacity evaluation value is not lower than the set threshold, the time bin interval is extended to 15 ns, and the decoy state pulse transmission ratio is set to 40%. The quantum bit error rate prediction model uses a generative adversarial network (GAN). Adversarial Network (GAN) adversarial training is used to construct the generator to synthesize pulse distortion data, and the discriminator distinguishes between real quantum error characteristics and synthesized characteristics. Prediction robustness is improved through minimax game theory. According to an embodiment of the invention, if a UAV flies at a speed of 12 m / s, and the curvature change rate of its trajectory is 0.08 rad / m (exceeding the dynamic threshold of 0.05 rad / m), multimodal pulse parameter optimization is triggered. The Bayesian optimization algorithm outputs an optimal time bin interval of 14 ns after 20 iterations. The Q-learning policy network outputs a decoy state ratio of 38%, and the quantum error rate prediction model evaluates the channel capacity to be 0.82 bits / photon (higher than the threshold of 0.5). Parameter verification is successful. Because the flight speed of 12 m / s > 10 m / s and the channel capacity meets the standard, the time bin interval is extended to 15 ns, and the decoy state ratio is adjusted to 40%. The parameter adjustment command is sent to the pulse generator control register in real time. The motion trajectory estimation using the extended Kalman filter algorithm controls the three-dimensional position error to ±0.Within 5 meters, precise motion state input is provided for pulse parameter optimization. Bayesian optimization improves the computational efficiency of time bin intervals by 100 times compared to grid search, reducing optimization time from seconds to milliseconds. The decoy state ratio of Q-learning decision-making reduces the success rate of interception attacks. Parameter re-optimization loops ensure continuous iterative optimization when channel capacity is insufficient, guaranteeing the quality of quantum key transmission.

[0039] Furthermore, according to an embodiment of the present invention, the access control unit includes: Implement access control based on user role type: When the user role is operator, access to the core key stored in the hierarchical storage unit is prohibited; only access to the session key stored in the hierarchical storage unit is allowed. When the user role is administrator, the core key policy in the hierarchical storage unit physical encryption chip can be configured; When a user's role is auditor, they are prohibited from modifying key data and are only allowed to view key operation logs.

[0040] It should be noted that the access control unit implements differentiated access management for three roles: operator, administrator, and auditor. It constructs a dual security linkage mechanism based on roles and key status. The access control unit executes access control policies based on a predefined user role database. The user role database stores the access configuration files for the three roles, including bitmask encoding of key operation permissions. When a user logs into the system through the authentication interface, the access control unit queries the role database to obtain the corresponding role's access configuration. For the operator role, the access control unit sets a core key access prohibition flag, only granting read permissions for session keys. Operators can access session key data through the encrypted memory interface to perform data encryption and decryption functions, but cannot access the core key in the physical encryption chip, and are prohibited from performing key export or policy modification operations. For the administrator role, the access control unit grants core key policy configuration permissions. Administrators can access the physical encryption chip through the secure configuration interface to perform operations such as setting key rotation cycles, modifying access control lists, and configuring encryption algorithm selection parameters. All configuration operations require two-factor authentication, and operation records are synchronized to the audit log unit in real time. For the auditor role, the access control unit sets a key data modification prohibition flag, and auditors only have audit log read permissions, and can query key generation timestamps and operation user information. Identity and key usage frequency statistics are used to prohibit any read / write operations on key data or policy configuration changes. The access control unit and real-time verification unit form a secure linkage; before assigning key operation permissions, the key integrity status is verified first. Only when the key integrity verification passes is the corresponding permission configuration activated according to the user role. During key operations, changes in user permission status are continuously monitored, and access control policies are dynamically adjusted. According to this embodiment, if an administrator user logs into the system via two-factor authentication (digital certificate + hardware token) and requests to modify the core key rotation cycle, the real-time verification unit performs SHA-256 hash verification on the core key in the physical encryption chip. Once the key is confirmed to be complete, the access control unit queries the role database. The administrator's access control mask activates the policy configuration bit, allowing the administrator to change the key rotation cycle from 24 hours to 12 hours. Operation records (timestamp, operator, operation type, policy modification, and changes related to the rotation cycle adjustment) are synchronized to the audit record unit in real time and written to the Merkle tree log. Atomic-level updates of permissions are achieved through role access control bitmasking, with access control latency of less than 1ms. The dual security linkage mechanism reduces unauthorized access events and lowers the success rate of privilege escalation attacks. Two-factor authentication significantly reduces the risk of administrator account misuse, while the auditor's read-only access ensures that operations are traceable and tamper-proof.

[0041] Furthermore, according to embodiments of the present invention, it also includes: The destruction execution module is used to receive expired key marking information sent by the key management module, perform multiple random data overwrite operations on the marked expired keys, and generate key destruction records. The audit log module is used to receive key operation records generated by the audit record unit and key destruction records sent by the destruction execution module, and integrate them to generate a key lifecycle operation log.

[0042] It should be noted that the destruction execution module and the audit log module construct a closed-loop management system for the entire key lifecycle, realizing a complete regulatory chain for keys from generation, use to destruction. The destruction execution module receives expired key marking information from the key management module, locates the expired key storage address in the hierarchical storage unit based on the marking information, and calls the hardware overwrite interface to execute the data destruction operation. The destruction process employs a multiple random data overwrite mechanism, generating a random filling sequence at a preset period to cyclically overwrite the key storage area. After each overwrite operation, a read verification is performed to confirm the irrecoverability of the key data. After the destruction operation is completed, a key destruction record is generated, including a destruction timestamp, operation status code, and storage address fingerprint. The audit log module receives key operation records from the audit log unit and key destruction records from the destruction execution module, performs a spatiotemporal alignment operation, integrates key generation, use, and destruction events along a timeline, and constructs a log digest using a Merkle tree structure. Leaf nodes store the hash value of a single log entry, non-leaf nodes store the combined hash values ​​of child nodes, and the root hash serves as the verification base point. Any log tampering will cause a change in the hash value of the path node, achieving efficient integrity verification. The integrated key lifecycle operation log is written to the tamper-proof storage area. The log entries include the core fields of event type, operation subject, and timestamp triplet. According to an embodiment of the present invention, a session key is marked as an invalid key due to exceeding the communication error rate limit. The destruction execution module locates the storage address in the encrypted memory, performs three random data overwrites, and reads and verifies the data after each overwrite to confirm that it is unrecoverable, generating a destruction record (including timestamp, status code, and address fingerprint). The audit log module integrates the key generation, use, and destruction events according to the timeline, constructs a Merkle tree and calculates the root hash, writes it to the tamper-proof storage area, and submits it to the blockchain for evidence storage. By using multiple random overwrites, the probability of key data recovery is reduced, achieving physical-level irreversible destruction. The Merkle tree log structure enables efficient integrity verification of millions of logs, with a tamper detection rate of 100%. The closed-loop management of the key lifecycle makes the key traceable from generation to destruction, improves audit compliance, and effectively blocks the risk of historical key leakage.

[0043] Please refer to Figure 4 , Figure 4This is a flowchart illustrating a quantum encryption method based on UAV communication and flight control data in some embodiments of this application. Secondly, this invention also discloses a quantum encryption method based on UAV communication and flight control data, which is applied in the aforementioned quantum encryption device based on UAV communication and flight control data. The method includes: S1. Collect flight environment parameters and link status parameters. The flight environment parameters include atmospheric turbulence intensity and flight attitude angle. The link status parameters include electromagnetic interference intensity and communication bit error rate. S2. Receive the flight environment parameters and link status parameters, dynamically adjust the pulse transmission power according to the atmospheric turbulence intensity, optimize the time phase coding parameters according to the flight attitude angle, and generate a quantum key sequence with joint time and phase coding; S3. Calculate the change in the flight environment parameters, calculate the compensation factor based on the change, and output the calibrated key distribution command. S4. Receive the calibrated key distribution instruction, verify the key validity and mark the invalid key, trigger key update according to the communication bit error rate, and distribute the valid key; S5. When the communication error rate is lower than the set threshold, the effective key is transmitted through free space. When the communication error rate is greater than the set threshold, the transmission of encrypted data is switched to the terahertz channel. The effective key is used to perform quantum key stream encryption on the flight control data and communication data.

[0044] It should be noted that this method is based on a device and translates the functions of each module of the device into method steps. Starting with environmental parameter acquisition, this method achieves full-link closed-loop control from environmental perception to encrypted transmission through four core stages: dynamic quantum key generation, environmental compensation calibration, key verification and distribution, and multi-mode communication encryption. Specifically, the first step is to acquire flight environment parameters and link status parameters. The system obtains atmospheric turbulence intensity by measuring the atmospheric refractive index structure constant Cn² using a laser turbulence meter, and acquires three-axis angular velocities through an inertial measurement unit (IMU) and integrates them to calculate flight attitude angles (pitch, roll, and yaw). The system monitors electromagnetic interference intensity in the communication band in real time using a spectrum analyzer, analyzes data packets to verify results and calculates the communication error rate using the communication protocol stack. Next, it performs a dynamic quantum key generation operation. The system receives the transmitted four-dimensional parameters and dynamically adjusts the optical pulse transmission power based on atmospheric turbulence intensity, increasing the transmission power to compensate for channel loss when turbulence intensifies. It optimizes the time-phase encoding parameters based on changes in flight attitude angles, extending the time bin interval to reduce alignment difficulty when the rate of attitude angle change increases. The system performs a joint time-phase encoding operation to generate a quantum key sequence containing time bin interval and phase information. Finally, it performs a dynamic compensation and calibration operation, calculating atmospheric... Turbulence intensity gradient and flight attitude angular acceleration are used as environmental parameter changes. Two types of compensation factors, time synchronization offset and phase drift, are calculated based on these changes to generate a calibrated key distribution instruction containing compensated quantum key distribution timing parameters. Then, key verification and distribution operations are performed. The system receives the calibrated key distribution instruction, uses a hash verification algorithm to check key integrity, securely marks and isolates invalid keys, and triggers a key update process when the communication error rate exceeds a fault tolerance threshold. The valid key is then securely distributed to the communication execution stage using a quantum key encapsulation protocol. Finally, multi-mode communication encryption is performed. The system operates when the communication error rate is below a set threshold. The system transmits the valid key through a free-space quantum channel and uses a Cassegrain optical antenna for quantum signal transmission and reception. When the communication error rate exceeds a set threshold, it automatically switches to a terahertz communication channel to transmit encrypted data. The system uses the valid key to perform quantum key stream encryption, performing bit-by-bit XOR encryption on the flight control data and communication data to generate a ciphertext data stream resistant to quantum computing attacks. This invention achieves full-link closed-loop control driven by environmental parameters. Compared with existing static parameter methods, the quantum key error rate is reduced, the key generation efficiency is significantly improved, and the communication interruption recovery time is greatly improved, effectively ensuring the communication security of UAVs in high-speed movement scenarios.

[0045] According to an embodiment of the present invention, the step of dynamically adjusting the pulse transmission power based on the atmospheric turbulence intensity further includes: Generate a time bin sequence with an interval of 10-15ns, perform phase correlation on the pulses in the time bin sequence, and associate the early pulse with phase 0 and the late pulse with phase π; Based on the atmospheric turbulence intensity, signal state, decoy state, and vacuum state pulses are output proportionally, and the proportion of decoy state pulses is increased when the atmospheric turbulence intensity increases.

[0046] It should be noted that the three-level processing structure of the quantum key generation process is transformed into method steps, including time bin sequence generation, phase correlation encoding, and dynamic allocation of pulse state ratios. The time bin sequence generation sub-step uses a semiconductor mode-locked laser to generate initial laser pulses. An electro-optic modulator divides the continuous pulses into a fixed-interval optical pulse sequence, with the interval set between 10 and 15 nanoseconds. The specific interval value is dynamically adjusted based on atmospheric turbulence intensity data. When the turbulence intensity increases, the interval is appropriately extended to reduce the probability of crosstalk between adjacent pulses. The phase correlation encoding sub-step uses a Mach-Zehnder interferometer structure to perform a phase loading operation on each pulse in the time bin sequence. Early pulses are loaded with phase 0, and late pulses are loaded with phase π, forming a binary sequence. Phase encoding and a temperature control system maintain the stability of the interferometer's optical path length and suppress phase drift caused by ambient temperature fluctuations. The dynamic allocation sub-step of the pulse state ratio adjusts the optical attenuation coefficient based on atmospheric turbulence intensity data, outputting three pulse states proportionally: signal state, decoy state, and vacuum state. The signal state corresponds to normal communication intensity, the decoy state is used for anti-eavesdropping detection, and the vacuum state is used for security verification. When the turbulence intensity increases, the proportion of decoy state pulses is increased to enhance the detection capability of photon number separation attacks. Through a three-level processing step, the quantum key carrier and environmental parameters are adaptively matched. Compared with fixed parameter encoding methods, the key generation rate is significantly improved in moderate turbulence environments, and the bit error rate is effectively reduced in strong turbulence environments. The dynamic adjustment of the decoy state ratio significantly improves the detection rate of photon number separation attacks.

[0047] According to an embodiment of the present invention, the key distribution instruction further includes: Based on the IMU angular velocity data and the GPS second pulse, the time bin is aligned by Kalman filtering, and a time synchronization signal is output. The system receives the time synchronization signal and the phase detector feedback signal, and adjusts the bias voltage according to the phase detector feedback signal to suppress the phase error to within π / 10. An electromagnetic interference intensity time series matrix is ​​constructed, and an adaptive Kalman filter algorithm is used to predict the trend of electromagnetic interference intensity changes. When the predicted value exceeds 5dBm, a multi-algorithm collaborative decision-making mechanism is activated to generate channel switching instructions and key update trigger instructions.

[0048] It should be noted that the dual compensation mechanism and electromagnetic interference prediction function of the dynamic compensation module are transformed into methodological steps, including time synchronization compensation, phase drift suppression, and electromagnetic interference prediction. Time synchronization compensation integrates IMU angular velocity data and GPS second pulse signals, and uses a Kalman filter algorithm to estimate the UAV's motion trajectory. The prediction stage calculates the motion trajectory based on the IMU angular velocity, and the update stage introduces the GPS second pulse absolute time reference to correct accumulated errors. The time bin alignment offset is calculated based on the motion state estimate, and a time synchronization calibration signal is generated. Phase drift suppression receives the time synchronization signal and the phase detector feedback signal. The phase detector monitors the phase change in the quantum channel in real time. The system compares the time-domain characteristic differences between the time synchronization signal and the phase drift feedback signal, calculates the phase drift compensation value, generates a bias voltage adjustment command to drive the electro-optic modulator, and converts the quantum signal into phase. The position error is suppressed to within π / 10 (approximately 18°). Electromagnetic interference (EMC) prediction constructs an EMC intensity time series matrix, and an adaptive Kalman filter algorithm is used to process the time series data. The prediction model parameters are optimized by dynamically adjusting the process noise covariance, and the predicted value of the EMC intensity change trend is output. When the predicted value exceeds 5 dBm, a multi-algorithm collaborative decision-making mechanism is activated. The genetic algorithm optimizes the channel switching threshold, the particle swarm optimization algorithm calculates the key update triggering time, and the neural network verification model generates channel switching instructions and key update triggering instructions after cross-validation. Time synchronization compensation significantly reduces the time bin alignment error, and phase drift suppression controls the phase error to within π / 10, significantly reducing phase noise. EMC prediction achieves proactive prediction of lead time, and the accuracy of multi-algorithm collaborative decision-making is efficiently improved, effectively ensuring the stability of quantum communication in high-speed mobile and strong interference environments.

[0049] According to an embodiment of the present invention, the step of transmitting an effective key in free space when the communication bit error rate is lower than a set threshold, switching to a terahertz channel to transmit encrypted data when the communication bit error rate is greater than the set threshold, and using the effective key to perform quantum key stream encryption on the flight control data and communication data includes: The communication error rate is continuously monitored, and the quantum channel is kept active when the communication error rate is lower than the first threshold. A Cassegrain antenna is used for free-space quantum key transmission. When the communication bit error rate exceeds the second threshold, a hard channel handover is triggered. Orthogonal frequency division multiplexing modulation is adopted, and the subcarrier allocation is adaptively adjusted according to the channel attenuation data to complete the encrypted data transmission of the terahertz channel. During channel switching, the quantum key stream encryption operation is maintained, and bit-by-bit XOR encryption is performed on flight control data and communication data.

[0050] It should be noted that the dual-channel switching architecture of the multi-mode communication execution module is transformed into steps, including dual-threshold decision-making, quantum channel transmission, terahertz channel transmission, and encryption continuity maintenance. The dual-threshold decision-making continuously monitors the communication bit error rate and maintains the dual-threshold decision-making mechanism. The first threshold is a secure communication threshold, and the second threshold is a hard handover trigger threshold. When the communication bit error rate is consistently below the first threshold, the quantum channel remains active. When the communication bit error rate exceeds the second threshold, a hard channel handover is triggered. The dual-threshold design avoids the ping-pong handover phenomenon caused by frequent fluctuations in the bit error rate around a single threshold. Quantum channel transmission is activated when the communication error rate is below a threshold. It uses a Cassegrain optical antenna structure for quantum signal transmission and reception. The coarse aiming system achieves initial alignment based on GPS positioning and inertial navigation data. The fine aiming system uses a fast-control mirror and a four-quadrant detector to form a closed-loop tracking system to correct beam pointing deviation in real time. Quantum key transmission uses a decoy state protocol to enhance security. Terahertz channel transmission is activated when the communication error rate exceeds a threshold. It selects an atmospheric window frequency band to operate and uses orthogonal frequency division multiplexing (OFDM) modulation to divide the data stream into multiple orthogonal subcarriers for parallel transmission. The system dynamically allocates subcarrier power and modulation order based on channel attenuation data (atmospheric absorptivity and rain attenuation parameters), reducing the power of strongly attenuated subcarriers and increasing the power of weakly attenuated subcarriers to improve bandwidth utilization and resistance to frequency-selective fading. Encryption continuity is maintained by performing protocol adaptation operations during channel switching, including data frame format conversion and forward error correction coding synchronization. Quantum keystream encryption operations maintain continuity throughout the channel switching process, performing bit-by-bit XOR encryption on flight control data and communication data to ensure uninterrupted encryption. Channel switching delay is controlled within 50ms, achieving seamless communication continuity. Dual-threshold decision significantly improves communication availability. OFDM adaptive subcarrier allocation maintains high throughput in terahertz channels under strong interference environments, showing a significant improvement compared to fixed allocation schemes. Channel switching delay control is highly effective, and encryption continuity ensures zero-interruption transmission of flight control commands.

[0051] This invention discloses a quantum encryption device and method based on UAV communication and flight control data. The device's environmental sensing module collects flight environment parameters and link status parameters. A quantum key generation module dynamically adjusts the pulse coding strategy based on the environmental parameters to generate a time-phase jointly encoded quantum key sequence. A dynamic compensation module calculates the changes in environmental parameters and outputs a calibrated key distribution command. A key management module verifies key validity, triggers key updates based on the communication error rate, and distributes valid keys. A multi-mode communication execution module transmits keys in free space when the communication error rate is below a threshold, and switches to a terahertz channel to transmit encrypted data when the threshold is exceeded. The valid key is used to encrypt both flight control data and communication data. This achieves dynamic collaboration of multiple modules driven by environmental parameters, solving the problems of soaring quantum key error rates and communication interruptions in high-speed UAV movement and complex environments.

[0052] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0053] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0054] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0055] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0056] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.

Claims

1. A quantum encryption device based on UAV communication and flight control data, characterized in that, include: The environmental perception module is used to collect flight environment parameters and link status parameters. Flight environment parameters include atmospheric turbulence intensity and flight attitude angle, while link status parameters include electromagnetic interference intensity and communication bit error rate. The flight environment parameters and link status parameters are sent to the quantum key generation module and the dynamic compensation module. The quantum key generation module is used to receive flight environment parameters and link status parameters sent by the environment sensing module, dynamically adjust the pulse coding strategy, generate a time-phase jointly encoded quantum key sequence, and send it to the dynamic compensation module. The dynamic compensation module is used to receive flight environment parameters and link status parameters sent by the environment perception module and quantum key sequence sent by the quantum key generation module, calculate the change in environmental parameters and compensation factor based on the flight environment parameters, output the calibrated key distribution instruction, and send it to the key management module. The key management module is used to receive the key distribution instruction sent by the dynamic compensation module, verify the key validity and mark the invalid key, trigger the key update according to the communication bit error rate in the link status parameters, and distribute the valid key to the multi-mode communication execution module. The multi-mode communication execution module is used to receive the valid key distributed by the key management module. When the communication error rate in the link state parameters is lower than a set threshold, the valid key is transmitted through free space. When the communication error rate is greater than or equal to the set threshold, the module switches to the terahertz channel to transmit encrypted data. The module performs quantum key stream encryption on the flight control data and communication data according to the valid key.

2. The quantum encryption device based on UAV communication and flight control data according to claim 1, characterized in that, The quantum key generation module includes: The time modulation unit is used to generate time bin sequences with intervals of 10-15 ns and send them to the phase encoding unit; The phase encoding unit is used to receive the time bin sequence sent by the time modulation unit, perform phase correlation on the pulses in the time bin sequence, associate the early pulse with phase 0 and the late pulse with phase π, and send the phase-encoded pulse sequence to the three-state optical switch. The three-state optical switch is used to receive the phase-encoded pulse sequence sent by the phase encoding unit, and output signal state, decoy state and vacuum state pulses according to the received environmental turbulence intensity data and the ratio of environmental turbulence intensity.

3. The quantum encryption device based on UAV communication and flight control data according to claim 1, characterized in that, The key management module includes: The hierarchical storage unit is used to store the core key in the physical encryption chip, store the session key in the encrypted memory, and provide the stored core key and session key data to the real-time verification unit; The real-time verification unit is used to receive the core key and session key data provided by the hierarchical storage unit, perform hash verification on the session key data, detect key tampering status, output the verification result and send it to the access control unit. The access control unit is used to receive the verification result sent by the real-time verification unit and assign key operation permissions in combination with the user role.

4. The quantum encryption device based on UAV communication and flight control data according to claim 1, characterized in that, The dynamic compensation module includes: Perform time synchronization compensation operation, and calibrate time bin alignment by using Kalman filtering based on the received IMU angular velocity data and GPS second pulse, and output time synchronization signal; The phase drift suppression operation is performed by receiving the time synchronization signal and the phase detector feedback signal, and adjusting the bias voltage according to the phase detector feedback signal to suppress the phase error to within π / 10.

5. The quantum encryption device based on UAV communication and flight control data according to claim 1, characterized in that, The multi-mode communication execution module includes: The quantum channel unit is used to perform optical transmission and reception using a Cassegrain antenna when the communication bit error rate in the link state parameters is lower than a set threshold. It maintains pointing accuracy through a coarse aiming system and a fine aiming system to achieve free space quantum key transmission. The terahertz channel unit is used to adaptively adjust the subcarrier allocation based on the channel attenuation data sent by the received environment sensing module when the communication bit error rate in the link state parameters exceeds a set threshold, thereby completing the encrypted data transmission of the terahertz channel. The channel switching control unit is used to monitor the communication bit error rate in the link status parameters. When the communication bit error rate is lower than a set threshold, the quantum channel unit is activated, and when the communication bit error rate is higher than the set threshold, the terahertz channel unit is activated.

6. The quantum encryption device based on UAV communication and flight control data according to claim 1, characterized in that, When a key update is triggered, the key management module further includes: The key replacement unit is used to generate a new key and replace the invalid key marked by the key management module, and send the updated key data to the key distribution unit; The key distribution unit is used to receive the updated key data sent by the key replacement unit, apply a digital signature, and distribute the signed key to the multi-mode communication execution module. The audit log unit is used to record key update time, operator identity information, and key distribution status, and generate audit logs.

7. The quantum encryption device based on UAV communication and flight control data according to claim 4, characterized in that, The dynamic compensation module also includes: An electromagnetic interference intensity time series matrix is ​​constructed, and an adaptive Kalman filter algorithm is used to predict the trend of electromagnetic interference intensity changes based on the electromagnetic interference intensity data sent by the environmental sensing module. When the predicted value exceeds 5 dBm, multi-algorithm collaborative decision-making is activated, including: A genetic algorithm is used to optimize the channel handover threshold and generate a set of candidate handover strategies. The particle swarm optimization algorithm is used to calculate the key update triggering time and generate a key update parameter set. Perform cross-validation by inputting the candidate switching strategy set and key update parameter set into a pre-trained neural network validation model and outputting a validation score. When the verification score exceeds the trust threshold, a channel switching command is generated and sent to the multi-mode communication execution module, and a key update trigger command is generated and sent to the key management module. The neural network verification model is obtained by adversarial training using channel state data collected by the multi-mode communication execution module and key update records generated by the key management module.

8. A quantum encryption method based on UAV communication and flight control data, applied to a quantum encryption device based on UAV communication and flight control data, characterized in that, Includes the following steps: The flight environment parameters and link status parameters are collected. The flight environment parameters include atmospheric turbulence intensity and flight attitude angle. The link status parameters include electromagnetic interference intensity and communication bit error rate. The system receives the flight environment parameters and link status parameters, dynamically adjusts the pulse transmission power based on the atmospheric turbulence intensity, optimizes the time phase coding parameters based on the flight attitude angle, and generates a quantum key sequence with joint time and phase coding. Calculate the change in the flight environment parameters, calculate the compensation factor based on the change, and output the calibrated key distribution command. Receive the calibrated key distribution instruction, verify the key validity and mark the invalid key, trigger key update according to the communication bit error rate, and distribute the valid key; When the communication error rate is lower than a set threshold, the effective key is transmitted through free space. When the communication error rate is greater than the set threshold, the transmission is switched to a terahertz channel to transmit encrypted data. The effective key is used to perform quantum key stream encryption on the flight control data and communication data.

9. The quantum encryption method based on UAV communication and flight control data according to claim 8, characterized in that, The method of dynamically adjusting the pulse transmission power based on the atmospheric turbulence intensity further includes: Generate a time bin sequence with an interval of 10-15ns, perform phase correlation on the pulses in the time bin sequence, and associate the early pulse with phase 0 and the late pulse with phase π; Based on the atmospheric turbulence intensity, signal state, decoy state, and vacuum state pulses are output proportionally, and the proportion of decoy state pulses is increased when the atmospheric turbulence intensity increases.

10. The quantum encryption method based on UAV communication and flight control data according to claim 8, characterized in that, The key distribution instruction also includes: Based on the IMU angular velocity data and the GPS second pulse, the time bin is aligned by Kalman filtering, and a time synchronization signal is output. The system receives the time synchronization signal and the phase detector feedback signal, and adjusts the bias voltage according to the phase detector feedback signal to suppress the phase error to within π / 10. An electromagnetic interference intensity time series matrix is ​​constructed, and an adaptive Kalman filter algorithm is used to predict the trend of electromagnetic interference intensity changes. When the predicted value exceeds 5dBm, a multi-algorithm collaborative decision-making mechanism is activated to generate channel switching instructions and key update trigger instructions.

Citation Information

Patent Citations

  • Unmanned aerial vehicle control system based on quantum encryption technology

    CN115361123A

  • Networked unmanned aerial vehicle management and control system with quantum encryption

    CN119653358A