Data communication encryption method and device of unmanned aerial vehicle, equipment and storage medium
By comparing and verifying the feature value in the UAV communication system, generating the target key set for encrypted communication, it solves the problem of complex authorization management in the existing inter-UAV cryptography technology, and reduces the complexity of data encryption and Ensures security.
Patent Information
- Application Number
- CN202411089971.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-12
AI Technical Summary
In the application of cryptographic technology between existing drones, the hardware design and the authorization management of the public key cryptography system are complex, resulting in high data encryption complexity and difficult to adapt to the requirements of large-scale deployment and portability.
In the UAV communication system, the characteristic value comparison between the data sending end and the receiving end is performed, the first integrity check, feasibility check and consistency check are performed, and the target key set is generated for encrypted communication. Reduce the complexity of data encryption.
It realizes matching between the data sending end and the receiving end, ensures data encryption security, and reduces the complexity of data encryption, and is suitable for large-scale deployment of drone systems.
Smart Images

Figure CN118944941A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of drone technology, in particular to the field of drone and cryptographic technology, and specifically to a method, device, equipment and storage medium for data communication encryption of a drone. Background Art
[0002] In the industrial field, especially in the power field, automatic inspection equipment such as drones are gradually replacing manual inspections and manual mapping, becoming the main equipment for outdoor inspections and mapping operations, greatly saving the manpower and time costs of enterprises, and becoming an effective way to improve enterprise production efficiency and protect production safety. The popular autonomous inspections by drones in recent years have further improved the inspection efficiency. In recent years, with the country's emphasis on the field of information security and the industry's increased requirements for information security, industry drones and drone inspection systems have generally begun to use cryptographic technology to protect inspection data.
[0003] At present, the application of cryptographic technology between drones mainly adopts the authentication and encryption communication system based on the airborne cryptographic chip, which is characterized by two-way authentication, hardware implementation of algorithms, hardware protection of keys and certificates, and authorization based on the authentication center system. Although this method has the advantages of strong performance, low latency, light weight, and low power consumption, the hardware design of the system and the authorization management of the public key cryptographic system are complex, and it is suitable for the field of micro and light drones with low portability requirements and large-scale deployment. Summary of the invention
[0004] The present application provides a data communication encryption method, device, equipment and storage medium for an unmanned aerial vehicle, so as to reduce the complexity of data encryption while ensuring the security of data encryption.
[0005] According to one aspect of the present application, a data communication encryption method for a drone is provided, the method being executed by a data sending end in a drone communication system; the system further comprising a device management end for performing a first integrity check on a candidate configuration file of the data sending end; the method comprising:
[0006] If the first integrity check passes, a feasibility check is performed on the candidate configuration file; the candidate configuration file includes a candidate key and a candidate feature value set;
[0007] When the feasibility check passes and a connection signal with the data receiving end is detected, obtaining a real-time binding feature value from the data receiving end, and performing a consistency check on the candidate feature value set and the real-time binding feature value;
[0008] When the consistency check passes, a target key set corresponding to the number of data communication channels of the data sending end is obtained based on the candidate feature value set, the real-time binding feature value and the candidate key, and the target communication data is encrypted based on the target key set.
[0009] According to another aspect of the present application, a data communication encryption device for a drone is provided, the device being configured at a data sending end in a drone communication system; the system further comprising a device management end for performing a first integrity check on a candidate configuration file of the data sending end; the device comprising:
[0010] A first verification module, when the first integrity check passes, performs a feasibility check on the candidate configuration file; the candidate configuration file includes a candidate key and a candidate feature value set;
[0011] A second verification module is used to obtain a real-time binding feature value from the data receiving end when the feasibility verification passes and a connection signal with the data receiving end is detected, and to perform a consistency check on the candidate feature value set and the real-time binding feature value;
[0012] A data encryption module is used to obtain a target key set corresponding to the number of data communication channels of the data sending end according to the candidate feature value set, the real-time binding feature value and the candidate key when the consistency check passes, and encrypt the target communication data according to the target key set.
[0013] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0014] one or more processors;
[0015] A memory for storing one or more programs;
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the drone data communication encryption methods provided in the embodiments of the present application.
[0017] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the data communication encryption method of any drone provided in the embodiments of the present application is implemented.
[0018] This application performs a feasibility check on the candidate configuration file when the first integrity check passes; the candidate configuration file includes a candidate key and a candidate feature value set; when the feasibility check passes and a connection signal with the data receiving end is detected, a real-time binding feature value is obtained from the data receiving end, and a consistency check is performed on the candidate feature value set and the real-time binding feature value; when the consistency check passes, a target key set corresponding to the number of data communication channels of the data sending end is obtained based on the candidate feature value set, the real-time binding feature value and the candidate key, and the target communication data is encrypted based on the target key set. The above technical solution achieves the matching between the data sending end and the data receiving end only by comparing the feature values, which can reduce the complexity of data encryption on the basis of ensuring the security of data encryption. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of a data communication encryption method for a drone provided according to Embodiment 1 of the present application;
[0020] Figure 2a is a flow chart of a data communication encryption method for a drone provided in accordance with Embodiment 2 of the present application;
[0021] Figure 2b is an architecture diagram of a drone communication system provided according to an embodiment of the present application;
[0022] Figure 3 It is a structural schematic diagram of a data communication encryption device for a drone provided according to Embodiment 3 of the present application;
[0023] Figure 4 It is a structural schematic diagram of an electronic device that implements the data communication encryption method for a drone of an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] In addition, it should be noted that in the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of relevant data such as candidate configuration files and candidate keys are in compliance with the relevant laws and regulations and do not violate public order and good morals.
[0027] Embodiment 1
[0028] Figure 1 This is a flow chart of a data communication encryption method for a drone provided in accordance with the first embodiment of the present application. This embodiment is applicable to the case of point-to-point authentication and encrypted communication between a drone and a ground station, and can be executed by a data communication encryption device of the drone. The data communication encryption device of the drone can be implemented in the form of hardware and / or software. The data communication encryption device of the drone can be configured in the data sending end of the drone communication system; the drone communication system also includes a device management end for performing the first integrity check on the candidate configuration files of the data sending end. Figure 1 As shown, the method includes:
[0029] S110. When the first integrity check passes, perform a feasibility check on the candidate configuration file; the candidate configuration file includes a candidate key and a candidate feature value set.
[0030] In the embodiment of the present application, the first integrity check refers to the check performed by the device management end on whether there is a candidate configuration file in the selected configuration file and whether the configuration file is valid. The candidate configuration file refers to the file used to store relevant data such as keys and characteristic values in the data sending end. The feasibility check refers to the check on whether the candidate configuration file can complete data encryption communication. The candidate key refers to the root key of the data sending end, which is the key initial key used to generate other keys. The candidate characteristic value set refers to the set of characteristic values used for encrypted communication in the data sending end; optionally, it can include at least one of the key characteristic values and standard binding characteristic values.
[0031] The key characteristic value refers to the host characteristic value stored locally by the data sending end, which can be in the form of a hash value. The standard binding characteristic value refers to the communication channel characteristic value between the data sending end and the data receiving end, which can be in the form of a hash value.
[0032] Exemplarily, the key characteristic value can be obtained by the device management end by performing a hash operation on the processor identifier, media access control address and physical layer interface identifier of the data sending end based on a cryptographic hash function. The communication channel characteristic value can be obtained by the device management end by performing a hash operation on the processor identifier, media access control address and physical layer interface identifier of the data receiving end based on a cryptographic hash function.
[0033] Among them, a cryptographic hash function refers to a special hash function that receives input data of arbitrary length and converts the input data into an output of fixed length by performing a series of deterministic mathematical operations, usually a bit string of fixed bits. A processor identifier refers to a unique identifier or identification code of a processor, which is used to identify the model, manufacturer, and some technical details of the processor. A media access control address refers to an address used to uniquely identify a network device (such as a network card or wireless adapter) in a local area network. It is usually preset in a network interface card by a hardware manufacturer and is used for addressing and identifying data frames at the physical layer. A physical layer interface identifier refers to a unique identifier of the physical layer interface of a network device, which is used to identify a specific network physical interface type or manufacturer.
[0034] Optionally, the data sending end includes a data authentication module, a secure communication module and a main control module; the secure communication module and the data authentication module are reliably hard-connected; and the main control module is reliably hard-connected to the secure communication module and the data authentication module respectively.
[0035] In the embodiment of the present application, the data sending end refers to the end that sends data in the drone communication system, which can be a drone, a ground station or a server, etc. The data authentication module refers to a module in the data sending end that is used to store the root key and has the functions of importing keys and their validity period, storing key sets, asymmetric encryption, key generation, and hash value generation. The secure communication module refers to a module in the data sending end that has a media access control security protocol to achieve lightweight trusted domain division, session key exchange, and encryption of drone network communication data. The main control module refers to the main control module of the data sending end, which generally refers to the source and destination of channel transmission data, including ground control, drone flight control, inspection module, server service, etc.
[0036] In an optional implementation, the device management end is also used to provide a standard configuration file for encryption services for the data sending end and the data receiving end in the data communication system; accordingly, after the device management end performs an initial integrity check on the candidate configuration file of the data sending end, if the initial integrity check fails, the candidate key and key validity period are imported to the data sending end through the device management end to obtain an initial configuration file; the key feature value and the standard binding feature value of the data receiving end are imported to the data sending end through the device management end to obtain a candidate feature value set, and the initial configuration file is updated according to the candidate feature value set to obtain a candidate configuration file.
[0037] Among them, the device management end refers to the external management device used to import key sets, hardware characteristic values, and validity periods. It is the core of the authentication system and needs to be properly kept and secured through disk encryption, strong passwords, and other means. The standard configuration file refers to the configuration file composed of data such as keys and characteristic values for encrypted communication between the data sender and the data receiver in the drone communication system. The key validity period refers to the timestamp used to describe the validity period of the key, which can include at least one of the authorization timestamp and expiration timestamp. The initial configuration file refers to the configuration file used to store candidate keys and their related data.
[0038] S120: When the feasibility check passes and a connection signal with the data receiving end is detected, a real-time binding feature value is obtained from the data receiving end, and a consistency check is performed on the candidate feature value set and the real-time binding feature value.
[0039] The connection signal refers to the incoming connection signal of the hardware interface of the data sending end. The real-time binding characteristic value refers to the communication channel characteristic value between the data sending end and the data receiving end obtained from the data receiving end, which can be in the form of a hash value.
[0040] Optionally, performing consistency check on the candidate feature value set and the real-time binding feature value may be performing consistency check on the standard binding feature value and the real-time binding feature value; when the standard binding feature value and the real-time binding feature value are the same, it is determined that the consistency check passes.
[0041] Furthermore, in the case where the consistency check fails, the data sending end refuses to send the data and feeds back to the user a notification to re-import the candidate configuration file through the device management end.
[0042] S130. When the consistency check passes, a target key set corresponding to the number of data communication channels of the data sending end is obtained according to the candidate feature value set, the real-time binding feature value and the candidate key, and the target communication data is encrypted according to the target key set.
[0043] In the embodiment of the present application, the number of data communication channels refers to the number of channels for data communication between a data transmitting end and a data receiving end. The target key refers to a key set used to encrypt the transmitted data.
[0044] Optionally, encrypting the target communication data according to the target key set may be performed by binding the target key set to a corresponding data communication channel, establishing a control security protocol connection on each data communication channel, and automatically performing domain division, session key negotiation and starting encrypted communication.
[0045] The data communication channel refers to the communication channel for data transmission between the data transmitter and the data receiver. The control security protocol is a standard for protecting the security of the Ethernet data link layer, providing data integrity verification, data confidentiality and data source authentication, and implementing these security features by applying encryption and identity authentication mechanisms on Ethernet frames.
[0046] The embodiment of the present application performs a feasibility check on the candidate configuration file when the first integrity check passes; the candidate configuration file includes a candidate key and a candidate feature value set; when the feasibility check passes and the connection signal with the data receiving end is detected, the real-time binding feature value is obtained from the data receiving end, and the candidate feature value set and the real-time binding feature value are checked for consistency; when the consistency check passes, the target key set corresponding to the number of data communication channels of the data sending end is obtained based on the candidate feature value set, the real-time binding feature value and the candidate key, and the target communication data is encrypted based on the target key set. The above technical solution achieves the matching between the data sending end and the data receiving end only by comparing the feature values, which can reduce the complexity of data encryption on the basis of ensuring the security of data encryption.
[0047] Embodiment 2
[0048] Figure 2aThis is a flow chart of a data communication encryption method for an unmanned aerial vehicle provided in accordance with the second embodiment of the present application. Based on the technical solutions of the above embodiments, this embodiment refines "performing a feasibility check on the candidate configuration file" into "sending a data integrity check instruction to the data authentication module through the main control module; upon receiving the data integrity check instruction, the data authentication module performs a secondary integrity check on the candidate configuration file; upon recognizing that the secondary integrity check has passed, the main control module obtains a key characteristic value from the secure communication module, and derives the candidate key and the key characteristic value to generate a temporary key; the main control module encrypts the key validity period of the candidate key according to the temporary key to obtain validity period encrypted data, and sends the validity period encrypted data to the main control module, so as to perform a feasibility check on the key validity period through the main control module". It should be noted that for the parts not described in detail in the embodiments of the present application, please refer to the relevant statements of other embodiments. Figure 2a As shown, the method includes:
[0049] S210. When the first integrity check passes, a data integrity check instruction is sent to the data authentication module through the main control module.
[0050] S220. When receiving the data integrity check instruction, the data authentication module performs a secondary integrity check on the candidate configuration file.
[0051] Among them, the data authentication module refers to the module used to store the root key in the data sending end, and has the functions of importing keys and their validity period, storing key sets, asymmetric encryption, key generation, and hash value generation. The main control module refers to the main control module of the data sending end, which generally refers to the source and destination of channel transmission data, including ground control, drone flight control, inspection module, server service, etc. The data integrity detection instruction refers to the instruction to verify the integrity of the candidate configuration file. The secondary integrity check refers to the integrity check of the candidate configuration file of the data authentication module.
[0052] Exemplarily, when the first integrity check passes, the main control module asks the data authentication module whether there is a candidate configuration file and whether there is a standard binding feature value in the candidate configuration file; if not, the user is prompted to re-import the candidate configuration file through the device management terminal.
[0053] S230. When the main control module identifies that the secondary integrity check has passed, the key characteristic value is obtained from the secure communication module, and a derivation operation is performed on the candidate key and the key characteristic value to generate a temporary key.
[0054] Among them, the secure communication module refers to the media access control security protocol in the data sending end, which realizes lightweight trusted domain division, session key exchange and encryption of drone network communication data. The temporary key refers to the key generated during the secure communication or encryption negotiation process and is only used to transmit the key validity period.
[0055] Optionally, before obtaining the key characteristic value from the secure communication module, the real-time communication characteristic value can also be transmitted to the data authentication module through the secure communication module; the communication characteristic value is hashed by the data authentication module to obtain a standard communication characteristic value; the standard communication characteristic value and the key characteristic value are checked for consistency to obtain a consistency check result, and the result is fed back to the main control module.
[0056] The real-time communication characteristic value refers to the local host characteristic value of the secure communication module, and the standard communication characteristic value refers to the communication characteristic value expressed in the form of a hash value.
[0057] S240. Encrypt the key validity period of the candidate key according to the temporary key through the main control module to obtain validity period encrypted data, and send the validity period encrypted data to the main control module to perform feasibility verification on the key validity period through the main control module.
[0058] The validity period encrypted data refers to the encrypted data obtained by encrypting the key validity period using a temporary key.
[0059] Optionally, the feasibility check of the key validity period can be performed by the main control module by performing a derivation operation on the candidate key and the key characteristic value through the main control module to generate a temporary key, and decrypting the encrypted data based on the temporary key to obtain the key validity period; the key validity period is compared with the current time through the main control module, and when the key validity period is greater than the current time, it is determined that the feasibility check of the key validity period has passed.
[0060] Optionally, when the feasibility check of the key validity period fails or the consistency check result is failed, the user is prompted to re-import the candidate configuration file through the device management terminal.
[0061] Furthermore, comparing the key validity period with the current time by the main control module may be comparing an expiration timestamp in the key validity period with the current time.
[0062] In an optional implementation, the target key set is rotated periodically according to the key validity period through the secure communication module.
[0063] Furthermore, the target key set can be rotated regularly according to the last digit of the local time value through the secure communication module. For example, the key is rotated once in the last ten minutes of each hour, or in the last hour of each day.
[0064] It can be understood that regularly rotating the keys in the target key set according to the last digit of the local time value can increase the security of the system and ensure that the keys used for a long time are not easily cracked or abused by attackers.
[0065] S250: When the feasibility check passes and a connection signal with the data receiving end is detected, a real-time binding feature value is obtained from the data receiving end, and a consistency check is performed on the candidate feature value set and the real-time binding feature value.
[0066] S260. When the consistency check passes, a target key set corresponding to the number of data communication channels of the data sending end is obtained according to the candidate feature value set, the real-time binding feature value and the candidate key, and the target communication data is encrypted according to the target key set.
[0067] In an alternative embodiment, see Figure 2b The UAV communication system, in which the data authentication module A and the data authentication module B, the security communication module A and the security communication module B, and the main control module A and the main control module B have the same functions, and only the carriers are different; the system can freely configure the following communication methods:
[0068] 1) Single channel between drone and ground station. Deploy data authentication module A and secure communication module A on the drone; deploy corresponding data authentication module B and secure communication module B on the ground station, and bind the channel key set; the device management end is independent and keeps it. At this time, the number of data communication channels is 1, corresponding to 1 target key set;
[0069] 2) Dual-channel redundant communication between the drone and the ground station. Deploy data authentication module A and security communication module A on the drone; deploy corresponding data authentication module B and security communication module B on the ground station; bind a key set to each channel; the device management end is independent and kept. At this time, the number of data communication channels is 2, corresponding to 2 target key sets;
[0070] 3) N drones communicate with the server. Deploy data authentication module A and security communication module A on each drone; deploy data authentication module B, security communication module B and device management terminal on the server; bind a key set to each channel between the drone and the server. At this time, if the N drones communicate with the server in a single channel, the number of data communication channels is N; if the N drones communicate with the server in dual channels, the number of data communication channels is 2N; if M of the N drones communicate with the server in a single channel and NM drones communicate in dual channels, the number of data communication channels is M+2*(NM);
[0071] 4) Single or dual-channel redundant communication between drone, server and ground station. Deploy data authentication module A and secure communication module A on the drone; deploy corresponding data authentication module B and secure communication module B on the ground station; the server only forwards but does not decrypt; module 3 is independent and kept.
[0072] In the embodiment of the present application, when the first integrity check passes, the main control module sends a data integrity check instruction to the data authentication module; when the data authentication module receives the data integrity check instruction, the candidate configuration file is subjected to a secondary integrity check; when the main control module recognizes that the secondary integrity check passes, the key characteristic value is obtained from the security communication module, and the candidate key and the key characteristic value are derived to generate a temporary key; the main control module encrypts the key validity period of the candidate key according to the temporary key to obtain validity period encrypted data, and sends the validity period encrypted data to the main control module, so as to perform a feasibility check on the key validity period through the main control module; the candidate configuration file includes a candidate key and a candidate characteristic value set; when the feasibility check passes and a connection signal with a data receiving end is detected, a real-time binding characteristic value is obtained from the data receiving end, and a consistency check is performed on the candidate characteristic value set and the real-time binding characteristic value; when the consistency check passes, a target key set corresponding to the number of data communication channels of the data sending end is obtained according to the candidate characteristic value set, the real-time binding characteristic value and the candidate key, and the target communication data is encrypted according to the target key set. The above technical solution achieves matching between the data sending end and the data receiving end only by comparing the characteristic values, which can reduce the complexity of data encryption while ensuring the security of data encryption.
[0073] Based on the above embodiment, continue to refer to Figure 2b The UAV communication system takes the UAV as the data transmitter and the ground station / server as the data receiver as an example; the UAV data communication encryption method can be implemented in the following ways:
[0074] 1) Importing the key and validity period. The device management end first checks whether the configuration file exists in the drone and ground station through wireless communication and whether it is valid. If it does not exist or is invalid, the root key and validity period are imported into the data authentication module and main control module of the drone and ground station respectively. Generate an initial configuration file for backup;
[0075] 2) Importing authorized feature values. Import the key feature value and the standard binding feature value of data authentication module B to data authentication module A through the device management terminal. Generate configuration file 2 for backup;
[0076] 3) Binding of key and characteristic value. Through the device management terminal, bind configuration file 2 with the initial configuration file, update the initial configuration file, and obtain the candidate configuration file;
[0077] 4) System power-on and initialization. The data authentication module A, the safety communication module A and the main control module A are powered on, the main control module A enters the monitoring mode and waits for the connection to be established, and the data authentication module A and the safety communication module A are initialized and self-checked for safety status.
[0078] 5) Check the configuration. The main control module A asks the data authentication module A whether there is a configuration file (timestamp, key, etc.) and whether there is a key feature value of the secure communication module A. If not, the user is prompted to flash the configuration file through the device management terminal.
[0079] 6) Read configuration. The secure communication module A transmits the communication characteristic value to the data authentication module A, which performs a hash operation and compares it with the internal value to determine whether the two are equal. The judgment result is a Boolean value and is returned to the main control module A.
[0080] 7) Check the configuration. If the Boolean value is true, the main control module A reads the key characteristic value of the secure communication module A, performs a derivation operation with the root key to form a temporary key, encrypts the key validity period and sends it to the data authentication module A. After receiving it, the data authentication module A uses the locally stored root key and key characteristic value to derive the temporary key, and after decryption, determines whether it is within the validity period. If it is not within the validity period or the Boolean value is false, the main control module A refuses to send data and prompts the user to flash the configuration file through the device management terminal.
[0081] 8) Wait for incoming connection. The secure communication module A monitors whether there is an incoming connection on the built-in hardware interface for processing Gigabit Ethernet data. If the secure communication module B is detected, the key characteristic value is sent to the secure communication module B, and the real-time binding characteristic value transmitted by the secure communication module B is monitored at the same time. After receiving the real-time binding characteristic value, it is transmitted to the data authentication module A. If it is the same as the standard binding characteristic value stored in the data authentication module A, the data authentication module A will derive the key characteristic value, the real-time binding characteristic value, and the root key, and generate one or more key sets according to the number of channels between the secure communication module A and the secure communication module B and send them to the secure communication module A, and command the secure communication module A to start encrypted communication. If it does not meet the requirements, the data authentication module A will order the main control module A to refuse to send data and prompt the user to flash the configuration file through the device management terminal.
[0082] 9) The secure communication module A activates the control security protocol. The secure communication module A receives the key set and binds it to the corresponding channel. At the same time, each channel establishes a control security protocol connection with the channel corresponding to the secure communication module B, automatically performs authentication domain division, session key negotiation, and starts encrypted communication.
[0083] 10) The secure communication module A periodically rotates the keys in the key set according to the last digit of the local time value. This process is relatively fast and only produces a low (millisecond level) delay without packet loss.
[0084] Embodiment 3
[0085] Figure 3 This is a structural diagram of a data communication encryption device for a drone provided in accordance with the third embodiment of the present application, which can be applied to the case of point-to-point authentication and encrypted communication between a drone and a ground station. The data communication encryption device for the drone can be implemented in the form of hardware and / or software. The data communication encryption device for the drone can be configured in the data sending end of the drone communication system; the drone communication system also includes a device management end for performing the first integrity check on the candidate configuration file of the data sending end. Figure 3 As shown, the device comprises:
[0086] The first verification module 310 performs a feasibility verification on the candidate configuration file when the first integrity verification passes; the candidate configuration file includes a candidate key and a candidate feature value set;
[0087] The second verification module 320 is used to obtain the real-time binding feature value from the data receiving end and perform consistency verification on the candidate feature value set and the real-time binding feature value when the feasibility verification passes and the connection signal with the data receiving end is detected;
[0088] The data encryption module 330 is used to obtain a target key set corresponding to the number of data communication channels of the data sending end according to the candidate feature value set, the real-time binding feature value and the candidate key when the consistency check passes, and encrypt the target communication data according to the target key set.
[0089] The embodiment of the present application performs a feasibility check on the candidate configuration file when the first integrity check passes; the candidate configuration file includes a candidate key and a candidate feature value set; when the feasibility check passes and the connection signal with the data receiving end is detected, the real-time binding feature value is obtained from the data receiving end, and the candidate feature value set and the real-time binding feature value are checked for consistency; when the consistency check passes, the target key set corresponding to the number of data communication channels of the data sending end is obtained based on the candidate feature value set, the real-time binding feature value and the candidate key, and the target communication data is encrypted based on the target key set. The above technical solution achieves the matching between the data sending end and the data receiving end only by comparing the feature values, which can reduce the complexity of data encryption on the basis of ensuring the security of data encryption.
[0090] Optionally, the data sending end includes a data authentication module, a secure communication module and a main control module; the candidate feature set includes a key feature value and a standard binding feature value; the first verification module 310 includes:
[0091] An instruction sending unit, used for sending a data integrity detection instruction to the data authentication module through the main control module;
[0092] The integrity checking unit is used to perform a secondary integrity check on the candidate configuration file when receiving the data integrity checking instruction through the data authentication module;
[0093] The key generation unit is used to obtain the key characteristic value from the security communication module through the main control module when the secondary integrity check is recognized to be passed, and to perform a derivation operation on the candidate key and the key characteristic value to generate a temporary key;
[0094] The feasibility verification unit is used to encrypt the key validity period of the candidate key according to the temporary key through the main control module, obtain the validity period encrypted data, and send the validity period encrypted data to the main control module to perform feasibility verification on the key validity period through the main control module.
[0095] Optional, feasibility verification unit, specifically used for:
[0096] The main control module performs a derivation operation on the candidate key and the key characteristic value to generate a temporary key, and decrypts the encrypted data based on the temporary key to obtain the key validity period;
[0097] The key validity period is compared with the current time through the main control module, and when the key validity period is greater than the current time, it is determined that the feasibility check of the key validity period has passed.
[0098] Optionally, the device further comprises a key set replacement module, which is used to periodically rotate the target key set according to the key validity period through the secure communication module.
[0099] Optionally, the second verification module 320 is specifically configured to:
[0100] Perform consistency check on standard binding feature values and real-time binding feature values;
[0101] When the standard binding characteristic value and the real-time binding characteristic value are the same, it is determined that the consistency check passes.
[0102] Optionally, the device management end is further used to provide a standard configuration file of encryption service for the data sending end and the data receiving end in the data communication system; the device also includes a file import module for:
[0103] After the device management end performs the first integrity check on the candidate configuration file of the data sending end, if the first integrity check fails, the device management end imports the candidate key and the key validity period to the data sending end to obtain the initial configuration file;
[0104] The device management end imports the key characteristic value and the standard binding characteristic value of the data receiving end to the data sending end to obtain a candidate characteristic value set, and updates the initial configuration file according to the candidate characteristic value set to obtain a candidate configuration file.
[0105] The data communication encryption device for the drone provided in the embodiment of the present application can execute the data communication encryption method for the drone provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing the data communication encryption method of each drone.
[0106] Embodiment 4
[0107] Figure 4 4 is a schematic diagram of the structure of an electronic device 410 that implements the data communication encryption method of the drone of the embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0108] like Figure 4 As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In RAM413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, ROM412 and RAM413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0109] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] Processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. Processor 411 performs the various methods and processes described above, such as a data communication encryption method for a drone.
[0111] In some embodiments, the data communication encryption method of the drone can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the data communication encryption method of the drone described above can be performed. Alternatively, in other embodiments, the processor 411 can be configured as the data communication encryption method of the drone in any other appropriate manner (for example, by means of firmware).
[0112] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0113] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable drone's data communication encryption device, so that when the computer program is executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0114] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0116] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0117] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0118] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
[0119] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A data communication encryption method for an unmanned aerial vehicle, characterized in that: The method is executed by a data sending end in a UAV communication system; the UAV communication system further comprises a device management end, which is used to perform a first integrity check on a candidate configuration file of the data sending end; the method comprises: If the first integrity check passes, a feasibility check is performed on the candidate configuration file; the candidate configuration file includes a candidate key and a candidate feature value set; When the feasibility check passes and a connection signal with the data receiving end is detected, obtaining a real-time binding feature value from the data receiving end, and performing a consistency check on the candidate feature value set and the real-time binding feature value; When the consistency check passes, a target key set corresponding to the number of data communication channels of the data sending end is obtained based on the candidate feature value set, the real-time binding feature value and the candidate key, and the target communication data is encrypted based on the target key set.
2. The method according to claim 1, characterized in that The data sending end includes a data authentication module, a secure communication module and a main control module; the candidate feature set includes a key feature value and a standard binding feature value; accordingly, the data sending end performs a feasibility check on the candidate configuration file, including: Sending a data integrity detection instruction to the data authentication module through the main control module; When receiving the data integrity detection instruction, the data authentication module performs a secondary integrity check on the candidate configuration file; When the main control module recognizes that the secondary integrity check passes, the key characteristic value is obtained from the secure communication module, and a derivation operation is performed on the candidate key and the key characteristic value to generate a temporary key; The main control module encrypts the key validity period of the candidate key according to the temporary key to obtain validity period encrypted data, and sends the validity period encrypted data to the main control module so as to perform feasibility verification on the key validity period through the main control module.
3. The method according to claim 2, characterized in that Performing feasibility verification on the validity period of the key by the main control module includes: The main control module performs a derivation operation on the candidate key and the key characteristic value to generate the temporary key, and decrypts the encrypted data according to the temporary key to obtain the key validity period; The key validity period is compared with the current time through the main control module, and when the key validity period is greater than the current time, it is determined that the feasibility check of the key validity period has passed.
4. The method according to claim 3, characterized in that The method further comprises: The target key set is rotated periodically according to the key validity period through the secure communication module.
5. The method according to claim 2, characterized in that: Performing consistency check on the candidate feature value set and the real-time binding feature value includes: Performing consistency check on the standard binding characteristic value and the real-time binding characteristic value; In the case where the standard binding characteristic value and the real-time binding characteristic value are the same, it is determined that the consistency check passes.
6. The method according to claim 1, characterized in that The device management end is also used to provide a standard configuration file of encryption service for the data sending end and the data receiving end in the data communication system; accordingly, after the device management end performs the first integrity check on the candidate configuration file of the data sending end, it also includes: If the first integrity check fails, the candidate key and the key validity period are imported to the data sending end through the device management end to obtain an initial configuration file; The device management end imports the key feature value and the standard binding feature value of the data receiving end to the data sending end to obtain a candidate feature value set, and updates the initial configuration file according to the candidate feature value set to obtain a candidate configuration file.
7. A data communication encryption device for an unmanned aerial vehicle, characterized in that: A data sending end configured in a drone communication system; the drone communication system also includes a device management end, which is used to perform a first integrity check on a candidate configuration file of the data sending end; the device includes: A first verification module, when the first integrity check passes, performs a feasibility check on the candidate configuration file; the candidate configuration file includes a candidate key and a candidate feature value set; A second verification module is used to obtain a real-time binding feature value from the data receiving end when the feasibility verification passes and a connection signal with the data receiving end is detected, and to perform a consistency check on the candidate feature value set and the real-time binding feature value; A data encryption module is used to obtain a target key set corresponding to the number of data communication channels of the data sending end according to the candidate feature value set, the real-time binding feature value and the candidate key when the consistency check passes, and encrypt the target communication data according to the target key set.
8. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data communication encryption method for the drone as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data communication encryption method for a drone as described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the data communication encryption method of the drone according to any one of claims 1 to 6.
