Unmanned aerial vehicle safety communication method and device, equipment and storage medium

By using ground base stations to generate and encrypt verification codes in inter-UAV communication, verify the identity of the drone and dynamically change the host identity, the problems of security and fast power consumption between drone communication are solved, and safe and reliable drone networking and data transmission.

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

Patent Information

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

AI Technical Summary

Technical Problem

There are security risks in existing communications between drones, especially during the drone networking process, the host is prone to consume fast power and lacks a secure transmission channel, which may lead to malicious information intrusion and affect the communication security of drone groups.

Method used

Receive the request message of the drone to be connected through the ground base station, randomly generates verification code and encrypts it and forwards it to the drone to be connected. After decrypting and verifying the drone to be connected, it is connected to the network group and dynamically replaces the host. Identity, avoid overloading of fixed host addresses and malicious messages.

Benefits of technology

It improves the security of communication between drones, prevents host attacks and power consumption too quickly, ensures that the drones connected to the network are safe and reliable, and encrypts data during transmission, enhancing the security of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119028182A_ABST
    Figure CN119028182A_ABST
Patent Text Reader

Abstract

The invention relates to the field of unmanned aerial vehicles, and discloses an unmanned aerial vehicle safety communication method and device, equipment and a storage medium. The method comprises the following steps: receiving a request message sent by a to-be-connected unmanned aerial vehicle; randomly generating a verification code, encrypting the verification code, and forwarding the encrypted verification code to the to-be-connected unmanned aerial vehicle through the ground base station, so that the to-be-connected unmanned aerial vehicle decrypts the verification code; receiving the decrypted verification code sent by the to-be-connected unmanned aerial vehicle, and verifying the decrypted verification code; and if the verification is passed, connecting the to-be-connected unmanned aerial vehicle to the networking group where the connected unmanned aerial vehicle is located, and setting the to-be-connected unmanned aerial vehicle as a new host of the networking group. In the embodiment of the invention, the security of communication between the unmanned aerial vehicles can be ensured through a dynamic host mode.
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 communication of unmanned aerial vehicles. Background Art

[0002] In the past ten years, due to the rapid development of society, various Internet products have also developed rapidly, and many unmanned equipment have also begun to develop rapidly, especially drone equipment, which has been widely used in many fields. Therefore, the data communication security of drones is becoming more and more important. Not only do ground remote control equipment and drones need to communicate, but drones also need to communicate and transmit data. Communication between drones can realize the collaborative work between drones and cooperate to complete some complex tasks, such as search and rescue, search and arrest, surveillance, etc. However, communication between drones must be safe and reliable. There are also many scenarios that use communication between drones, such as some drone formation performances, which involve communication between drones. During the communication process, the security of data communication must be guaranteed, otherwise someone may maliciously use some additional drones to send some malicious information, which will cause the drone to receive incorrect information, thereby causing some problems that endanger the drone.

[0003] Currently, the most commonly used method of communication between drones on the market is to use one drone as the host, and then multiple drones are networked based on the host. This method is indeed very efficient, but first, the drone acting as the host needs to relay messages, which may cause the drone to consume power quickly. Second, there is no secure transmission channel for direct communication between drones, and other additional drones may also enter the self-organizing network to receive and send messages, which poses a great risk to the communication of the drone group, so a better method of secure communication between drones is needed. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem of how to improve the security of communication between drones.

[0005] A first aspect of the present invention provides a method for secure communication of an unmanned aerial vehicle, the method comprising:

[0006] Receive a request message sent by a drone to be connected, wherein the request message carries a drone code to be connected, and the drone code is used by the ground base station to forward the request message to the drone to be connected, and the drone to be connected is the host of the networking group;

[0007] Randomly generate a verification code, encrypt the verification code, and forward the encrypted verification code to the to-be-connected drone through the ground base station, so that the to-be-connected drone decrypts the verification code;

[0008] Receiving the decrypted verification code sent by the drone to be connected, and verifying the decrypted verification code;

[0009] If the verification is successful, the drone to be connected is connected to the networking group where the connected drone is located, and the drone to be connected is set as the new host of the networking group.

[0010] Optionally, in a first implementation manner of the first aspect of the present invention, the ground base station forwarding the request message to the connected drone includes:

[0011] The ground base station obtains a request message sent by the drone to be connected, wherein the request message also carries an information type;

[0012] Determining, according to the information type, whether the request message is a connection request;

[0013] If so, the ground base station forwards the request message to the connected drone according to the drone code to be connected.

[0014] Optionally, in a second implementation manner of the first aspect of the present invention, the randomly generating a verification code, encrypting the verification code, and forwarding the encrypted verification code to the to-be-connected drone through the ground base station, so that the to-be-connected drone decrypts the verification code includes:

[0015] Randomly generate a verification code, and encode the verification code through base64 to obtain an encoded string;

[0016] The encoded character strings are grouped according to a preset number of characters, and the grouped character strings are arranged and exchanged to obtain an encrypted verification code;

[0017] The encrypted verification code is forwarded to the unmanned aerial vehicle to be connected through the ground base station, so that the unmanned aerial vehicle to be connected decrypts the verification code.

[0018] Optionally, in a third implementation of the first aspect of the present invention, grouping the encoded character strings according to a preset number of characters, and arranging and exchanging the grouped character strings to obtain the encrypted verification code includes:

[0019] Grouping the encoded character strings according to a preset number of characters;

[0020] Arranging the grouped character strings according to the order of characters in the encoded character strings;

[0021] Exchange the character string groups at odd positions to obtain the encrypted verification code.

[0022] Optionally, in a fourth implementation manner of the first aspect of the present invention, the randomly generating a verification code, encrypting the verification code, and forwarding the encrypted verification code to the to-be-connected drone through the ground base station, so that the to-be-connected drone decrypts the verification code, further comprising:

[0023] When the connected drone receives the request message sent by the drone to be connected, query the system identifier corresponding to the connected drone;

[0024] Determining whether the connected drone itself is a host according to the system identifier corresponding to the connected drone;

[0025] If yes, the step of randomly generating a verification code and encrypting the verification code is performed.

[0026] Optionally, in a fifth implementation of the first aspect of the present invention, the request message also carries a code of the drone to be connected;

[0027] If the verification is passed, the drone to be connected is connected to the networking group where the connected drone is located, and the drone to be connected is set as the new host of the networking group, which includes:

[0028] If the verification is successful, the communication address of the drone in the networking group where the connected drone is located is forwarded to the drone to be connected according to the code of the drone to be connected, and the communication address of the drone to be connected is sent to the drones in the networking group where the connected drone is located, so that the drone to be connected is connected to the networking group where the connected drone is located;

[0029] The system identifier of the drone to be connected is modified to the host, so that the drone to be connected becomes the new host of the networking group.

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

[0031] When a drone in the networking group sends a group message or an individual message, the communication address of the drone to which the drone is to send the message is read and obtained, and the communication address to which the message is to be sent is stored in the drone;

[0032] According to the communication address of the drone to which the message is to be sent, the group message or the individual message is sent to the corresponding drone in the networking group.

[0033] A second aspect of the present invention provides a drone safety communication 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 safety communication device executes the above-mentioned drone safety communication method.

[0034] 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, it enables the computer to execute the above-mentioned drone security communication method.

[0035] In an embodiment of the present invention, a request message sent by a drone to be connected is received, the request message carries a drone code to be connected, the drone code is used by a ground base station to forward the request message to the drone to be connected, and the drone to be connected is the host of the networking group; a verification code is randomly generated, the verification code is encrypted, and the encrypted verification code is forwarded to the drone to be connected through the ground base station, so that the drone to be connected decrypts the verification code; the decrypted verification code sent by the drone to be connected is received, and the decrypted verification code is verified; if the verification is passed, the drone to be connected is connected to the networking group where the drone to be connected is located, and the drone to be connected is set as the new host of the networking group. In the present invention, by means of a dynamic host, it is possible to prevent the host from being attacked or the power consumption is too fast due to too much message volume, etc., and verification is required during the process of connecting the network, which can ensure that the drones connected to the networking group are safe and reliable. In addition, data is encrypted during the transmission process, which further ensures the security of communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of an embodiment of a method for secure communication of a drone in an embodiment of the present invention;

[0037] Figure 2 This is a schematic diagram of an embodiment of a safety communication device for a drone in an embodiment of the present invention;

[0038] Figure 3 Schematic diagram of an embodiment of a UAV safety communication 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 communication of an unmanned aerial vehicle.

[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 drone security communication method in the embodiment of the present invention includes:

[0043] S100, receiving a request message sent by the drone to be connected.

[0044] In this embodiment, when multiple drones take off to perform tasks or form a formation, they need to communicate. The present invention optimizes traditional networking communication and encrypts the communication to ensure the security of drones communicating with each other, and can also prevent other drones from connecting to the drone group. Since the connection process is one-to-one after the optimization of the network, it is only necessary to verify the drone to be connected. First, the drone to be connected will send a request message to the base station. Because the drone cannot send messages to other drones when it is not networked, it is necessary to forward the message through the ground base station, where the ground base station can be a message forwarding device such as a server. Since the ground base station is only a message forwarding device, as long as it can connect to the ground base station, it can send a message. The request message carries the drone code to be connected. The drone code is unique. This drone code is input by the ground remote control device. Because only the user can know which drone to connect to, the user sends the drone number to be connected to the drone to be connected through the ground remote control device. When the ground base station receives the request message, it will forward it to the corresponding drone according to the drone number to be connected in the request message.

[0045] S200, randomly generate a verification code, encrypt the verification code, and forward the encrypted verification code to the unmanned aerial vehicle to be connected through the ground base station, so that the unmanned aerial vehicle to be connected decrypts the verification code.

[0046] In this embodiment, when the connected drone receives the request message sent by the drone to be connected, the system will generate a random verification code and encrypt the verification code to ensure the security of the verification code during transmission and prevent the verification code from being stolen by others. Then, the connected drone sends the encrypted verification code to the ground base station, and the ground base station forwards the encrypted verification code to the drone to be connected. When the drone to be connected receives the encrypted verification code, it needs to decrypt it, and then forward the decrypted verification code to the connected drone through the ground base station.

[0047] S300, receiving the decrypted verification code sent by the drone to be connected, and verifying the decrypted verification code.

[0048] In this embodiment, after the connected drone receives the decrypted verification code sent by the drone to be connected, it will verify the decrypted verification code to ensure that the drone joining the networking group connection is safe.

[0049] S400, if the verification is successful, the drone to be connected is connected to the networking group where the connected drone is located, and the drone to be connected is set as the new host of the networking group.

[0050] In this embodiment, after the connected drone passes the verification code verification, the drone to be connected will be connected to the networking group where the connected drone is located, and the newly connected drone will become the new host of the networking group. This method changes the original networking method from a fixed networking host to a dynamic host method, and the networking is carried out in accordance with the post-connection host method, and the host address is dynamically changed (changing the host is equivalent to changing the host address). This can avoid the fixed host address from being queried, and avoid the host crashing by sending a large number of malicious messages.

[0051] The present invention is mainly used in the communication of multiple drones. The specific process is: first, a drone is used as a networking host. Then, when each drone connects to the host, it is necessary to verify the newly connected drone. After the verification is passed, the newly connected drone is used as a new networking host, and the first drone becomes a drone in the networking group until the networking is completed. At this time, the last drone is the networking host. Then, during the communication process, the drone receiving data will assume the role of the host. The advantage is that the communication pressure is shared among the drone group, which will not lead to fixing a drone as the host, so that the communication transfer of the drone as the host is too large, resulting in excessive power consumption. In addition, during the connection process, only the drone to be connected can know which drone is the host. The connection process is one-to-one, so only the drone to be connected knows who to connect to, which avoids the risk of the host being fixed and malicious drones constantly sending connection requests to the host.

[0052] In an optional implementation of the first aspect of the present invention, the ground base station forwarding the request message to the connected drone includes:

[0053] The ground base station obtains the request message sent by the drone to be connected, which also carries the information type; based on the information type, it determines whether the request message is a request for connection; if so, the ground base station forwards the request message to the drone to be connected based on the drone code to be connected.

[0054] In this embodiment, the request message also carries the message type. Because the ground base station will forward many messages, the ground base station needs to determine whether the request message is a connection request based on the message type in the request message sent by the drone to be connected. If so, the request message will be forwarded to the corresponding drone based on the drone code in the request message.

[0055] In an optional implementation of the first aspect of the present invention, randomly generating a verification code, encrypting the verification code, and forwarding the encrypted verification code to the to-be-connected drone through a ground base station, so that the to-be-connected drone decrypts the verification code includes:

[0056] A verification code is randomly generated and encoded through base64 to obtain an encoded string; the encoded string is grouped according to a preset number of characters, and the grouped strings are arranged and exchanged to obtain an encrypted verification code; the encrypted verification code is forwarded to the drone to be connected through a ground base station, so that the drone to be connected decrypts the verification code.

[0057] In this embodiment, the purpose of encrypting the verification code is to ensure the security of the verification code during transmission. The specific encryption process is as follows: first, the verification code is encoded by base64 to obtain an encoded string, and the encoded string is grouped according to a preset number of characters. For example, 5 characters can be grouped together. If the number of characters in the last group is less than the preset number of characters, 0 is added. For example, if the number of characters in the last group is 3 digits and the preset number of characters is 5 digits, the last two digits of the last group of characters are added with 0. Then, the grouped strings are arranged and exchanged to obtain the encrypted verification code, and then the connected drone forwards the encrypted verification code to the drone to be connected through the ground base station.

[0058] In an optional implementation of the first aspect of the present invention, the encoded character strings are grouped according to a preset number of characters, and the grouped character strings are arranged and exchanged to obtain an encrypted verification code, which includes:

[0059] The encoded character strings are grouped according to the preset number of characters; the grouped character strings are arranged according to the order of characters in the encoded character strings; the character string groups at odd positions are exchanged to obtain the encrypted verification code.

[0060] In this embodiment, the encoded character strings are grouped according to the preset number of characters, and then the grouped character strings are arranged, and the character string groups at odd positions are exchanged. When the drone to be connected receives the encrypted data, the verification code before encryption can be obtained by directly exchanging the character strings at odd positions. For example, the verification code: {This is a message},

[0061] First base64 encode:

[0062] {This is a message}->e+i / meaYr+S4gOadoea2iOaBr30=

[0063] The characters are grouped into groups of 5 characters, and the last group with less than 10 characters is padded with 0s:

[0064] e+i / m

[0065] eaYr+

[0066] S4j

[0067] doea2

[0068] iGO

[0069] 30=00

[0070] Then interleave the string groups in odd positions (1 and 3 swap positions, 5 and 7 swap positions... the last group does not need to be swapped):

[0071] S4j

[0072] eaYr+

[0073] e+i / m

[0074] doea2

[0075] iGO

[0076] 30=00

[0077] The final data combination is S4gOaeaYr+e+i / mdoea2iOaBr30=00, and this combined data is the encrypted verification code.

[0078] In an optional implementation of the first aspect of the present invention, a verification code is randomly generated, the verification code is encrypted, and the encrypted verification code is forwarded to the to-be-connected drone through a ground base station, so that the to-be-connected drone decrypts the verification code, and the method further includes:

[0079] When the connected drone receives the request message sent by the drone to be connected, it queries the system identifier corresponding to the connected drone; based on the system identifier corresponding to the connected drone, it determines whether the connected drone itself is the host; if so, it enters the step of randomly generating a verification code and encrypting the verification code.

[0080] In this embodiment, after a drone in a networking group becomes a host, it will mark itself as a host in the system. When the connected drone receives a request message sent by the drone to be connected, it will first determine whether it is the host. Specifically, the connected drone will first query the corresponding system identifier, and then determine whether it is the host based on the system identifier. If so, it will enter the step of randomly generating a verification code and encrypting the verification code.

[0081] In an optional implementation of the first aspect of the present invention, if the verification is successful, the drone to be connected is connected to the networking group where the drone to be connected is located, and the drone to be connected is set as a new host of the networking group, including:

[0082] If the verification is successful, the communication address of the drone in the networking group where the connected drone is located is forwarded to the drone to be connected according to the code of the drone to be connected, and the communication address of the drone to be connected is sent to the drone in the networking group where the connected drone is located, so that the drone to be connected is connected to the networking group where the connected drone is located; the system identifier of the drone to be connected is modified to the host, so that the drone to be connected becomes the new host of the networking group.

[0083] In this embodiment, the request message also carries the code of the drone to be connected, which is also unique. When the connected drone verifies the verification code, the communication address of the drone in the networking group will be sent to the newly connected drone. In addition, the connected drone will send a notification to other drones in the group, send the communication address of the newly connected drone to other drones, and modify the system identifier to the group machine. After receiving the notification, the newly connected drone will modify the system identifier to the host and save the received communication address so as to send messages to other drones. In this way, the drone is successfully connected to the group.

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

[0085] When a drone in a networking group sends a group message or an individual message, the communication address of the drone to which the drone wants to send the message is read and stored in the drone; according to the communication address of the drone to which the message is to be sent, the group message or the individual message is sent to the corresponding drone in the networking group.

[0086] In this embodiment, when the network is successfully established, when a certain drone needs to send a group message or an individual message, it needs to read the saved communication address and send the message through all communication addresses or a single communication address.

[0087] See also Figure 2 According to a second aspect of the present invention, there is provided a drone safety communication device, the drone safety communication device comprising:

[0088] The request message receiving module 100 is used to receive a request message sent by a drone to be connected. The request message carries a code of the drone to be connected. The drone code is used by the ground base station to forward the request message to the drone to be connected. The drone to be connected is the host of the networking group.

[0089] The verification code encryption module 200 is used to randomly generate a verification code, encrypt the verification code, and forward the encrypted verification code to the unmanned aerial vehicle to be connected through the ground base station, so that the unmanned aerial vehicle to be connected decrypts the verification code;

[0090] The verification code verification module 300 is used to receive the decrypted verification code sent by the drone to be connected, and verify the decrypted verification code;

[0091] The drone connection module 400 is used to connect the drone to be connected to the networking group where the connected drone is located if the verification is passed, and set the drone to be connected as the new host of the networking group.

[0092] In an optional implementation of the second aspect of the present invention, the request message receiving module 100 is also used by the ground base station to obtain the request message sent by the drone to be connected, and the request message also carries the information type; according to the information type, it is determined whether the request message is a request for connection; if so, the ground base station forwards the request message to the connected drone according to the drone code to be connected.

[0093] In an optional implementation of the second aspect of the present invention, the verification code encryption module 200 is also used to randomly generate a verification code, and encode the verification code through base64 to obtain an encoded string; group the encoded string according to a preset number of characters, and arrange and exchange the grouped strings to obtain an encrypted verification code; forward the encrypted verification code to the drone to be connected through the ground base station, so that the drone to be connected decrypts the verification code.

[0094] In an optional implementation of the second aspect of the present invention, the verification code encryption module 200 is also used to group the encoded character strings according to a preset number of characters; arrange the grouped character strings according to the order of characters in the encoded character strings; and exchange the character string groups in odd positions to obtain the encrypted verification code.

[0095] In an optional implementation of the second aspect of the present invention, the drone safety communication device further includes:

[0096] The host judgment module is used to query the system identifier corresponding to the connected drone after the connected drone receives the request message sent by the drone to be connected; according to the system identifier corresponding to the connected drone, it is judged whether the connected drone itself is the host; if so, it enters the step of randomly generating a verification code and encrypting the verification code.

[0097] In an optional implementation of the second aspect of the present invention, the drone connection module 400 is also used for verification. If the verification is successful, the communication address of the drone in the networking group where the drone to be connected is located is forwarded to the drone to be connected according to the code of the drone to be connected, and the communication address of the drone to be connected is sent to the drone in the networking group where the drone to be connected is located, so that the drone to be connected is connected to the networking group where the drone to be connected is located; the system identifier of the drone to be connected is modified to the host, so that the drone to be connected becomes the new host of the networking group.

[0098] In an optional implementation of the second aspect of the present invention, the drone safety communication device further includes:

[0099] The message sending module is used to read the communication address of the drone to which the drone wants to send the message when the drone in the networking group sends a group message or a single message. The communication address to which the message is to be sent is stored in the drone; according to the communication address of the drone to which the message is to be sent, the group message or the single message is sent to the corresponding drone in the networking group.

[0100] Figure 3is a schematic diagram of the structure of a drone safety communication device provided by an embodiment of the present invention. The drone safety communication 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 safety communication 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 safety communication device 500.

[0101] The drone-based secure communication 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 3 The structure of the drone safety communication device shown does not constitute a limitation on the drone-based safety communication 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.

[0102] 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 drone security communication method.

[0103] 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.

[0104] 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.

[0105] 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 communication of an unmanned aerial vehicle, characterized in that: The unmanned aerial vehicle secure communication method comprises: Receive a request message sent by a drone to be connected, wherein the request message carries a drone code to be connected, and the drone code is used by the ground base station to forward the request message to the drone to be connected, and the drone to be connected is the host of the networking group; Randomly generate a verification code, encrypt the verification code, and forward the encrypted verification code to the to-be-connected drone through the ground base station, so that the to-be-connected drone decrypts the verification code; Receiving the decrypted verification code sent by the drone to be connected, and verifying the decrypted verification code; If the verification is successful, the drone to be connected is connected to the networking group where the connected drone is located, and the drone to be connected is set as the new host of the networking group.

2. The drone secure communication method according to claim 1, characterized in that: The ground base station forwarding the request message to the connected drone includes: The ground base station obtains a request message sent by the drone to be connected, wherein the request message also carries an information type; Determining, according to the information type, whether the request message is a connection request; If so, the ground base station forwards the request message to the connected drone according to the drone code to be connected.

3. The drone secure communication method according to claim 1, characterized in that: The randomly generating a verification code, encrypting the verification code, and forwarding the encrypted verification code to the to-be-connected UAV through the ground base station, so that the to-be-connected UAV decrypts the verification code, comprises: Randomly generate a verification code, and encode the verification code through base64 to obtain an encoded string; The encoded character strings are grouped according to a preset number of characters, and the grouped character strings are arranged and exchanged to obtain an encrypted verification code; The encrypted verification code is forwarded to the unmanned aerial vehicle to be connected through the ground base station, so that the unmanned aerial vehicle to be connected decrypts the verification code.

4. The drone secure communication method according to claim 3, characterized in that: The step of grouping the encoded character strings according to a preset number of characters and arranging and exchanging the grouped character strings to obtain the encrypted verification code comprises: Grouping the encoded character strings according to a preset number of characters; Arranging the grouped character strings according to the order of characters in the encoded character strings; Exchange the character string groups at odd positions to obtain the encrypted verification code.

5. The drone secure communication method according to claim 1, characterized in that: The randomly generated verification code, encrypting the verification code, and forwarding the encrypted verification code to the to-be-connected UAV through the ground base station so that the to-be-connected UAV decrypts the verification code, further comprising: When the connected drone receives the request message sent by the drone to be connected, query the system identifier corresponding to the connected drone; Determining whether the connected drone itself is a host according to the system identifier corresponding to the connected drone; If yes, the step of randomly generating a verification code and encrypting the verification code is performed.

6. The drone secure communication method according to claim 1, characterized in that: The request message also carries the code of the drone to be connected; If the verification is passed, the drone to be connected is connected to the networking group where the connected drone is located, and the drone to be connected is set as the new host of the networking group, which includes: If the verification is successful, the communication address of the drone in the networking group where the connected drone is located is forwarded to the drone to be connected according to the code of the drone to be connected, and the communication address of the drone to be connected is sent to the drones in the networking group where the connected drone is located, so that the drone to be connected is connected to the networking group where the connected drone is located; The system identifier of the drone to be connected is modified to the host, so that the drone to be connected becomes the new host of the networking group.

7. The drone secure communication method according to claim 1, characterized in that: Also includes: When a drone in the networking group sends a group message or an individual message, the communication address of the drone to which the drone is to send the message is read and obtained, and the communication address to which the message is to be sent is stored in the drone; According to the communication address of the drone to which the message is to be sent, the group message or the individual message is sent to the corresponding drone in the networking group.

8. A drone safety communication device, characterized in that: The unmanned aerial vehicle safety communication device comprises: A request message receiving module, used to receive a request message sent by a drone to be connected, wherein the request message carries a code of the drone to be connected, and the code of the drone is used by the ground base station to forward the request message to the drone to be connected, and the drone to be connected is the host of the networking group; A verification code encryption module, used to randomly generate a verification code, encrypt the verification code, and forward the encrypted verification code to the to-be-connected UAV through the ground base station, so that the to-be-connected UAV decrypts the verification code; A verification code verification module, used to receive the decrypted verification code sent by the drone to be connected, and verify the decrypted verification code; The drone connection module is used to connect the drone to be connected to the networking group where the connected drone is located if the verification is passed, and set the drone to be connected as the new host of the networking group.

9. A drone safety communication device, characterized in that: The drone safety communication 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 instructions in the memory so that the drone safety communication device executes the drone safety communication 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 drone security communication method according to any one of claims 1 to 7 is implemented.