Unmanned aerial vehicle data secure transmission method and device, equipment and storage medium

By defining instruction messages and authentication identifiers in the drone system, and matching and parsing and verification during data transmission, the problem of drone data transmission security is solved, ensuring the security of data transmission and the drone's Normal control.

CN118764264APending Publication Date: 2024-10-11LIVEFAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410922845.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

During the data transmission of drone, data insecurity may lead to drone control errors, loss of contact or endanger personal safety, and the existing open source data transmission protocol increases transmission risks.

Method used

By defining instruction messages and corresponding authentication identifiers in the UAV system firmware, the ground software encapsulates the data packet and performs authentication identifier matching and parsing verification on the receiving end to ensure the security of the data packet.

Benefits of technology

It effectively avoids data interception or modification, ensures security during the data transmission of drones, and prevents drone control errors and security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764264A_ABST
    Figure CN118764264A_ABST
Patent Text Reader

Abstract

The invention relates to the field of unmanned aerial vehicles, and discloses an unmanned aerial vehicle data secure transmission method and device, equipment and a storage medium. The method comprises the following steps: acquiring a data packet sent by ground software; judging whether the authentication identifier exists in unmanned aerial vehicle system firmware or not; if the authentication identifier exists in the unmanned aerial vehicle system firmware, querying a corresponding message identifier through the unmanned aerial vehicle system firmware according to the authentication identifier to judge whether the message identifier is matched with the authentication identifier; and if the message identifier is matched with the authentication identifier, analyzing and verifying the data packet, and executing a corresponding instruction contained in the data packet after the verification is passed. In the embodiment of the invention, the data can be prevented from being intercepted and modified by people in the use process of the unmanned aerial vehicle, and the security of the data in the transmission process is effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of unmanned aerial vehicles, and in particular to a method, device, equipment and storage medium for secure transmission of unmanned aerial vehicle data. Background Art

[0002] In the past decade, due to the rapid development of society, various Internet products have also developed rapidly, and many unmanned devices have also begun to develop rapidly, especially drone equipment, which has been widely used in many fields. Drone control is mainly through data transmission protocol, and the remote control commands are encapsulated and sent to the drone flight control board through ground software or remote control, so as to achieve the purpose of controlling the drone.

[0003] During the data transmission process, if the data transmission is not secure, the data may be intercepted and then sent to the drone again after the data instruction is modified. This will cause the data received by the drone to be different from the data sent during the remote control, which will cause the drone to explode or fly randomly. In the worst case, the drone will be damaged or lose connection, and in the worst case, it will endanger personal safety. Therefore, in the process of using drones, it is necessary to ensure the security of the transmission of ground data to drones. At present, most drones use open source data transmission protocols, which increases the risk in the data transmission process, so a method for secure data transmission on drones is needed. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem of secure transmission of drone data.

[0005] A first aspect of the present invention provides a method for securely transmitting drone data, the method comprising:

[0006] Acquire a data packet sent by the ground software, wherein the data packet carries an authentication identifier and is obtained by encapsulating a command message by the ground software;

[0007] Determining whether the authentication identifier exists in the drone system firmware;

[0008] If the authentication identifier exists in the drone system firmware, querying the corresponding message identifier through the drone system firmware according to the authentication identifier to determine whether the message identifier matches the authentication identifier;

[0009] If the message identifier matches the authentication identifier, the data packet is parsed and verified, and after the verification passes, the corresponding instruction contained in the data packet is executed.

[0010] Optionally, in a first implementation of the first aspect of the present invention, before obtaining the instruction message sent by the ground software, the method further includes:

[0011] Defining a command message in the UAV system firmware and defining a corresponding message identifier for the command message;

[0012] Binding the corresponding authentication identifier to the message identifier;

[0013] The message identifier and the authentication identifier are stored as a file, and the file is placed in the ground software and the UAV system firmware.

[0014] Optionally, in a second implementation manner of the first aspect of the present invention, if the message identifier matches the authentication identifier, parsing and verifying the data packet, and after the verification passes, executing a corresponding instruction contained in the data packet includes:

[0015] If the message identifier matches the authentication identifier, the data packet is parsed to obtain the instruction character, and it is determined whether the instruction character exists in the database;

[0016] If so, calculate verification data according to the data packet, and determine whether the verification data is consistent with the verification data in the data packet;

[0017] If the verification data is consistent with the verification data in the data packet, then the data length is calculated according to the data packet, and it is determined whether the data length is consistent with the data length in the data packet;

[0018] If the data length is consistent with the verification data in the data packet, the data packet is verified successfully. After the verification is successful, the corresponding instruction contained in the data packet is executed.

[0019] Optionally, in a third implementation of the first aspect of the present invention, the method further includes:

[0020] If the instruction character does not exist in the database, or the verification data is inconsistent with the verification data in the data packet, or the data length is inconsistent with the verification data in the data packet, the data packet verification fails.

[0021] Optionally, in a fourth implementation of the first aspect of the present invention, the data packet is encapsulated by the ground software on the instruction message to obtain:

[0022] The ground software performs base64 encoding on the command message;

[0023] Calculate the data length and verification data of the data packet according to the encoded instruction message;

[0024] Generate a packet header and a packet tail, and encapsulate the packet header, the packet tail, the encoded instruction message, the data length of the data packet, and verification data.

[0025] Optionally, in a fifth implementation manner of the first aspect of the present invention, calculating the data length and verification data of the data packet according to the encoded instruction message includes:

[0026] Calculate the data length of the data packet according to the encoded instruction message, and convert the data length of the data packet into hexadecimal;

[0027] The verification data of the data packet is obtained by calculation according to the encoded instruction message.

[0028] Optionally, in a sixth implementation manner of the first aspect of the present invention, the calculating, according to the encoded instruction message, verification data of the data packet includes:

[0029] Defining corresponding instruction characters for the encoded instruction message, and converting the instruction characters into hexadecimal;

[0030] Adding the converted instruction character, the encoded instruction message, and the data length of the data packet to obtain added data;

[0031] The added data is divided by preset data, and the remainder is obtained to obtain verification data of the data packet.

[0032] A second aspect of the present invention provides a drone data security transmission device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the drone data security transmission device executes the above-mentioned drone data security transmission method.

[0033] A third aspect of the present invention provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned method for secure transmission of drone data.

[0034] In an embodiment of the present invention, a data packet sent by ground software is obtained, the data packet carries an authentication identifier, and the data packet is obtained by encapsulating a command message through the ground software; it is determined whether the authentication identifier exists in the drone system firmware; if the authentication identifier exists in the drone system firmware, then according to the authentication identifier, the corresponding message identifier is queried through the drone system firmware to determine whether the message identifier matches the authentication identifier; if the message identifier matches the authentication identifier, the data packet is parsed and verified, and after the verification is passed, the corresponding instruction contained in the data packet is executed. In the present invention, by identifying and judging the authentication identifier and the message identifier, and parsing and verifying the data packet, it is possible to prevent the data from being intercepted or modified by people during the use of the drone, and can effectively ensure the security of the data during transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of an embodiment of a method for securely transmitting data from a drone in an embodiment of the present invention;

[0036] Figure 2 A schematic diagram of a data transmission process in an embodiment of the present invention;

[0037] Figure 3 This is a schematic diagram of an embodiment of a device for securely transmitting data from a drone in an embodiment of the present invention;

[0038] Figure 4 Schematic diagram of an embodiment of a drone data security transmission device in an embodiment of the present invention. DETAILED DESCRIPTION

[0039] Embodiments of the present invention provide a method, device, equipment and storage medium for secure transmission of drone data.

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

[0041] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0042] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the method for securely transmitting drone data in an embodiment of the present invention includes:

[0043] S100, obtaining a data packet sent by the ground software.

[0044] In this embodiment, first, the drone creates the instructions in the drone firmware, generates a message id and a corresponding authentication id, and then sends the authentication id to the ground software. The authentication id is added to the ground software. The ground software encapsulates the instruction message to be sent to the drone to obtain a data packet. The ground software then sends the encapsulated data packet to the drone's flight control system through a data transmission protocol. At the same time, the ground software sends the authentication id corresponding to the instruction message to the drone.

[0045] S200, determining whether the authentication identifier exists in the drone system firmware.

[0046] In this embodiment, it is verified whether the sent command message exists in the drone system firmware. The purpose of such verification is to prevent malicious sending of a large number of messages to the drone system. If it is not verified whether the command message exists in the drone system, when a large number of messages are sent to the drone, the drone system needs to identify the message instructions one by one, which will take up a large amount of system resources and cause the drone to crash during flight. Specifically, when the drone system receives a command message, it first compares whether the authentication ID exists in the drone system firmware.

[0047] S300, if the authentication identifier exists in the drone system firmware, query the corresponding message identifier through the drone system firmware according to the authentication identifier to determine whether there is a message identifier that matches the authentication identifier.

[0048] In this embodiment, when sending a command message, the authentication id is first verified. If the message id corresponding to the authentication id does exist, it means that the command message is generated by the drone system firmware and the message can be sent safely. Specifically, first determine whether the authentication id exists in the drone system firmware. If the authentication id exists in the drone system firmware, then query the message id corresponding to the authentication id through the drone system firmware. If the corresponding message id can be queried, it means that there is a message id that matches the authentication id.

[0049] S400: If the message identifier matches the authentication identifier, the data packet is parsed and verified. After the verification is passed, the corresponding instruction contained in the data packet is executed.

[0050] In this embodiment, if the message identifier matches the authentication identifier, the drone will parse and verify the data packet. After the verification is passed, the flight control system will perform corresponding actions according to the command message, such as take-off, rotation, landing, etc.

[0051] In an optional implementation manner of the first aspect of the present invention, before obtaining the instruction message sent by the ground software, the method further includes:

[0052] Define the command message in the UAV system firmware, and define the corresponding message identifier for the command message; bind the corresponding authentication identifier to the message identifier; store the message identifier and the authentication identifier into a file, and put the file into the ground software and the UAV system firmware.

[0053] In this embodiment, first, the command message is defined in the drone system firmware, and then a message id is defined for the command message, and an authentication id is bound to the message id. The command message, message id, and authentication id are uniquely bound. Then all message ids and authentication ids are stored as files and put into the ground station software and the drone system firmware. When the command message starts to be sent, it is necessary to first query the command in the file of the ground station software to obtain the corresponding authentication id. Then, when the drone system receives a certain command, it first compares whether the authentication id exists in the system. If so, the command is executed. The purpose of this authentication is to discard useless messages that are not defined in the system to ensure smooth system operation.

[0054] In an optional implementation of the first aspect of the present invention, if the message identifier matches the authentication identifier, the data packet is parsed and verified, and after the verification passes, the corresponding instruction contained in the data packet is executed, including:

[0055] If the message identifier matches the authentication identifier, the data packet is parsed to obtain the instruction character, and it is determined whether the instruction character exists in the database; if it does, the verification data is calculated based on the data packet, and it is determined whether the verification data is consistent with the verification data in the data packet; if the verification data is consistent with the verification data in the data packet, the data length is calculated based on the data packet, and it is determined whether the data length is consistent with the data length in the data packet; if the data length is consistent with the data length in the data packet, the data packet verification passes, and after the verification passes, the corresponding instruction contained in the data packet is executed.

[0056] In this embodiment, if the message id matches the authentication id, the function data in the data packet is taken out, the hexadecimal conversion of the function data is used to obtain the corresponding instruction character, and the system database is queried to see whether the instruction character exists. If it exists, the verification data is calculated and obtained by the UAV system according to the data packet during the verification process. It is determined whether the verification data is consistent with the verification data in the data packet. If they are consistent, the data length is calculated and obtained. The data length refers to the data length corresponding to the instruction calculated by the UAV system according to the data packet during the verification process. It is determined whether the data length is consistent with the data length in the data packet. If they are consistent, it indicates that the data packet verification has passed.

[0057] In an optional implementation of the first aspect of the present invention, the method further includes:

[0058] If the instruction character does not exist in the database, or the verification data is inconsistent with the verification data in the data packet, or the data length is inconsistent with the verification data in the data packet, the data packet verification fails.

[0059] In this embodiment, during the data verification process, three judgments are performed, including: judging whether the instruction character exists in the database, judging whether the verification data is consistent with the verification data in the data packet, and judging whether the data length is consistent with the data length in the data packet. If one of the three judgments fails, the drone system will not execute the instruction.

[0060] In an optional implementation manner of the first aspect of the present invention, the data packet encapsulates the instruction message through the ground software to obtain the data packet including:

[0061] The ground software encodes the command message in base64; calculates the data length and verification data of the data packet based on the encoded command message; generates a packet header and a packet tail, and encapsulates the packet header, packet tail, the encoded command message, the data length and verification data of the data packet.

[0062] In this embodiment, the data instruction is encapsulated into a data packet, which includes a packet header, data length, function data, verification data, actual data, and a packet tail.

[0063] The entire data structure:

[0064] Header Data Length Function Data Data Verification Data Packet Tail

[0065] The header / tail is the starting position of the entire data. This is to distinguish the integrity of each message data when multiple messages are sent continuously. It is generally marked with specific characters, such as <>, {}, (), etc. The actual data is the data of the sent command. For example, the data contained in the take-off command may be: take-off altitude, take-off speed, longitude and latitude at take-off, etc. The data is stored in a list, base64-encoded, and then put into the data packet. Specifically, the command message is base64-encoded, and then the data length and verification data are calculated based on the encoding.

[0066] In an optional implementation of the first aspect of the present invention, calculating the data length and verification data of the data packet according to the encoded instruction message includes:

[0067] According to the encoded instruction message, the data length of the data packet is calculated and converted into hexadecimal; according to the encoded instruction message, the verification data of the data packet is calculated.

[0068] In this embodiment, the data length is the length of the actual data recorded. The data length is converted into hexadecimal in order to verify the integrity of the data after the data is obtained.

[0069] In an optional implementation of the first aspect of the present invention, calculating verification data of the data packet according to the encoded instruction message includes:

[0070] Define corresponding instruction characters for the encoded instruction message, and convert the instruction characters into hexadecimal; add the converted instruction characters, the encoded instruction message, and the data length of the data packet to obtain the added data; divide the added data with the preset data, and take the remainder to obtain the verification data of the data packet.

[0071] In this embodiment, the function data in the data packet specifies an instruction with a specific character, and then converts the character into hexadecimal and adds it to the data packet. For example, the take-off instruction is marked with the character D, which is converted into hexadecimal 44, so the function data of the take-off instruction is 0x44; the verification data is obtained by converting the data of other fields in the data packet except the three fields of the header, the tail, and the data verification into hexadecimal, adding them together, and then adding 64. For example, the data instruction is to turn, and Z is used to indicate that the data is to turn left 90 degrees. The whole data packet data acquisition process is as follows:

[0072] 1. Data: Turn left 90 degrees -> after base64 encoding, it becomes 5bem6L2sOTDluqY=

[0073] 2. Data length: 5bem6L2sOTDluqY=-> length is 16-> converted to hexadecimal 0x10

[0074] 3. Function data: Z converted to hexadecimal -> 0x5a

[0075] 4. Verify data: Data verification requires the addition of the length of the data, data length, and data function (instruction function) (all characters are converted to decimal and added, and only the length of the data body is counted)

[0076] That is, the data body is 5bem6L2sOTDluqY=, and the length is 16

[0077] The data length is 0x10 converted to decimal 16

[0078] The data function 0x5a is converted to decimal 90

[0079] The sum is 122, the remainder is 64, the quotient is 1, and the remainder is 58

[0080] That is, the final verification data is 58 in decimal, which is converted to 0x3A in hexadecimal.

[0081] The present invention is mainly used for secure data transmission between ground station software and UAV systems, such as Figure 2 As shown, first you need to define the message in the drone system and bind a unique message id and authentication id, then synchronize the message data to the ground station software. When you need to send a message, you need to first query the ground station software to see if the message id and authentication id exist, and the drone system also needs to query the message id and authentication id when receiving the message. If the message id and authentication id do not exist, the receiving data will be abandoned. This is to avoid malicious sending of a large number of messages through the frequency band causing the drone system to crash. Then, when sending data, the ground station software needs to encapsulate the data packet to be sent, and also needs to mark the length of the data body, and verify the valid data in the packet. Finally, it is encapsulated into a data packet and sent to the drone system. The system will gradually analyze and determine the respective fields in the data packet, determine whether the data is valid, and execute valid instruction data.

[0082] See also Figure 3 According to a second aspect of the present invention, there is provided a device for securely transmitting data from a drone, the device comprising:

[0083] The data packet acquisition module 100 is used to acquire the data packet sent by the ground software, the data packet carries the authentication identifier, and the data packet is obtained by encapsulating the command message through the ground software;

[0084] The authentication mark determination module 200 is used to determine whether the authentication mark exists in the UAV system firmware;

[0085] The message identifier matching module 300 is used to query the corresponding message identifier through the drone system firmware according to the authentication identifier if the authentication identifier exists in the drone system firmware to determine whether there is a message identifier that matches the authentication identifier;

[0086] The data packet verification module 400 is used to parse and verify the data packet if a message identifier matches an authentication identifier, and execute the corresponding instructions contained in the data packet after the verification passes.

[0087] In an optional implementation of the second aspect of the present invention, the drone data secure transmission device further includes:

[0088] The identification binding module is used to define the command message in the UAV system firmware and define the corresponding message identification for the command message; bind the corresponding authentication identification to the message identification; store the message identification and the authentication identification into a file, and put the file into the ground software and the UAV system firmware.

[0089] In an optional implementation of the second aspect of the present invention, the data packet verification module 400 is also used to parse the data packet if a message identifier matches the authentication identifier, obtain instruction characters, and determine whether the instruction characters exist in the database; if so, calculate verification data based on the data packet, and determine whether the verification data is consistent with the verification data in the data packet; if the verification data is consistent with the verification data in the data packet, calculate the data length based on the data packet, and determine whether the data length is consistent with the data length in the data packet; if the data length is consistent with the verification data in the data packet, the data packet verification passes, and after the verification passes, execute the corresponding instructions contained in the data packet.

[0090] In an optional implementation of the second aspect of the present invention, the data packet verification module 400 is also used to fail the data packet verification if the instruction character does not exist in the database, or the verification data is inconsistent with the verification data in the data packet, or the data length is inconsistent with the verification data in the data packet.

[0091] In an optional implementation of the second aspect of the present invention, the data packet acquisition module 100 is also used by the ground software to base64 encode the instruction message; calculate the data length and verification data of the data packet based on the encoded instruction message; generate a packet header and a packet tail, and encapsulate the packet header, packet tail, the encoded instruction message, the data length and verification data of the data packet.

[0092] In an optional implementation of the second aspect of the present invention, the data packet acquisition module 100 is also used to calculate the data length of the data packet based on the encoded instruction message, and convert the data length of the data packet into hexadecimal; and calculate the verification data of the data packet based on the encoded instruction message.

[0093] In an optional implementation of the second aspect of the present invention, the data packet acquisition module 100 is also used to define corresponding instruction characters for the encoded instruction message and convert the instruction characters into hexadecimal; add the converted instruction characters, the encoded instruction message, and the data length of the data packet to obtain the added data; divide the added data by the preset data and take the remainder to obtain the verification data of the data packet.

[0094] Figure 4 : is a schematic diagram of the structure of a drone data security transmission device provided by an embodiment of the present invention. The drone data security transmission device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the drone data security transmission device 500. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the drone data security transmission device 500.

[0095] The drone-based data security transmission device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. Those skilled in the art will appreciate that Figure 4The structure of the drone data security transmission device shown does not constitute a limitation on the drone data security transmission device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0096] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for securely transmitting drone data.

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

[0098] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0099] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for secure transmission of drone data, characterized in that: The method for securely transmitting drone data includes: Acquire a data packet sent by the ground software, wherein the data packet carries an authentication identifier and is obtained by encapsulating a command message by the ground software; Determining whether the authentication identifier exists in the drone system firmware; If the authentication identifier exists in the drone system firmware, querying the corresponding message identifier through the drone system firmware according to the authentication identifier to determine whether the message identifier matches the authentication identifier; If the message identifier matches the authentication identifier, the data packet is parsed and verified, and after the verification passes, the corresponding instruction contained in the data packet is executed.

2. The method for secure transmission of drone data according to claim 1, characterized in that: Before obtaining the instruction message sent by the ground software, the method further includes: Defining a command message in the UAV system firmware and defining a corresponding message identifier for the command message; Binding the corresponding authentication identifier to the message identifier; The message identifier and the authentication identifier are stored as a file, and the file is placed in the ground software and the UAV system firmware.

3. The method for secure transmission of drone data according to claim 1, characterized in that: If the message identifier matches the authentication identifier, the data packet is parsed and verified, and after the verification passes, the corresponding instruction contained in the data packet is executed, including: If the message identifier matches the authentication identifier, the data packet is parsed to obtain the instruction character, and it is determined whether the instruction character exists in the database; If so, calculate verification data according to the data packet, and determine whether the verification data is consistent with the verification data in the data packet; If the verification data is consistent with the verification data in the data packet, then the data length is calculated according to the data packet, and it is determined whether the data length is consistent with the data length in the data packet; If the data length is consistent with the verification data in the data packet, the data packet is verified successfully. After the verification is successful, the corresponding instruction contained in the data packet is executed.

4. The method for secure transmission of drone data according to claim 3, characterized in that: Also includes: If the instruction character does not exist in the database, or the verification data is inconsistent with the verification data in the data packet, or the data length is inconsistent with the verification data in the data packet, the data packet verification fails.

5. The method for secure transmission of drone data according to claim 1, characterized in that: The data packet is obtained by encapsulating the command message through the ground software, including: The ground software performs base64 encoding on the command message; Calculate the data length and verification data of the data packet according to the encoded instruction message; Generate a packet header and a packet tail, and encapsulate the packet header, the packet tail, the encoded instruction message, the data length of the data packet, and the verification data.

6. The method for secure transmission of drone data according to claim 5, characterized in that: The step of calculating the data length and verification data of the data packet according to the encoded instruction message comprises: Calculate the data length of the data packet according to the encoded instruction message, and convert the data length of the data packet into hexadecimal; The verification data of the data packet is obtained by calculation according to the encoded instruction message.

7. The method for secure transmission of drone data according to claim 6, characterized in that: The step of calculating the verification data of the data packet according to the encoded instruction message comprises: Defining corresponding instruction characters for the encoded instruction message, and converting the instruction characters into hexadecimal; Adding the converted instruction character, the encoded instruction message, and the data length of the data packet to obtain added data; The added data is divided by preset data, and the remainder is obtained to obtain verification data of the data packet.

8. A drone data security transmission device, characterized in that: The drone data security transmission device comprises: A data packet acquisition module, used to acquire a data packet sent by the ground software, wherein the data packet carries an authentication identifier and is obtained by encapsulating a command message through the ground software; An authentication mark determination module, used to determine whether the authentication mark exists in the UAV system firmware; A message identifier matching module, configured to, if the authentication identifier exists in the drone system firmware, query the corresponding message identifier through the drone system firmware according to the authentication identifier to determine whether the message identifier matches the authentication identifier; The data packet verification module is used to parse and verify the data packet if the message identifier matches the authentication identifier, and execute the corresponding instructions contained in the data packet after the verification is passed.

9. A drone data security transmission device, characterized in that: The drone data security transmission device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory so that the drone data security transmission device executes the drone data security transmission method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for securely transmitting drone data according to any one of claims 1 to 7 is implemented.