A method and device for virtual-real interconnection of a drone

By establishing a virtual data transmission channel through a virtual switch, the problem of long-distance connection failure between drone equipment and the security testing network was solved, enabling the access of various security testing tools and improving the efficiency of security network testing for drone equipment.

CN115955689BActive Publication Date: 2025-12-05FIFTH ELECTRONICS RES INST OF MINIST OF IND & INFORMATION TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211523227.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-12-05
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

The drone failed to connect to the professional security testing network over long distances and could not connect to multiple types of security testing tools simultaneously, resulting in low efficiency in cybersecurity testing.

Method used

By establishing a virtual data transmission channel through a virtual switch, the drone equipment is connected to the security testing network, ensuring that the drone equipment can access a variety of different security network testing tools and achieve long-distance connection.

Benefits of technology

It enables long-distance connections between drone equipment and security testing networks, improving the efficiency of security network testing and supporting the access of various security testing tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115955689B_ABST
    Figure CN115955689B_ABST
Patent Text Reader

Abstract

A method and device for virtual-real interconnection of a UAV, the method comprising: in response to the UAV device meeting a first preset condition, determining a first virtual switch associated with the UAV device and a second virtual switch associated with a security test network corresponding to the UAV device, extracting first switch information of the first virtual switch and second switch information of the second virtual switch, establishing a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information, and connecting the UAV device with the security test network based on the virtual data transmission channel. Through the above method, the UAV device is connected with the security test network through a virtual-real interconnection server, ensuring that the UAV device can access various different security network test tools and improving the security network test efficiency of the UAV device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of unmanned aerial vehicle (UAV) security technology, and in particular to a method and apparatus for UAV virtual-real interconnection. Background Technology

[0002] With the development of drone technology, the safety of drones during use has received increasing attention. In order to ensure the safety of drones during use, it is usually necessary to conduct safety tests on drones. Due to the significant differences between the network system of drones and other application systems, it is not possible to connect drones to professional safety testing networks via traditional wired networks. Therefore, a virtual-physical interconnection device has been developed to connect drones to professional safety testing networks through virtual machines.

[0003] To ensure network security testing of drones, the common approach is to directly connect a PC and the drone via a wireless network card, thereby enabling the drone to connect to a professional security testing network. However, since the connection between the PC and the wireless network card is only valid within a preset distance, the connection between the drone and the wireless network card fails when the distance between the PC and the wireless network card exceeds the preset distance.

[0004] In addition, the safety testing of drones requires the use of various types of tools and professional equipment. Since wireless network cards cannot connect to multiple types of tools or professional safety testing equipment at the same time, the efficiency of drone safety network testing will be low.

[0005] In summary, meeting the connectivity needs of diverse cybersecurity testing tools for drones has become a problem that needs to be solved. Summary of the Invention

[0006] This application provides a method and apparatus for virtual-real interconnection of unmanned aerial vehicles (UAVs). By connecting UAV devices to a security testing network through a virtual-real interconnection server, the UAV devices can access a variety of different security network testing tools, thereby improving the efficiency of security network testing for UAV devices.

[0007] Firstly, this application provides a method for virtual-real interconnection of unmanned aerial vehicles (UAVs), the method comprising:

[0008] In response to the drone device meeting the first preset condition, a first virtual switch associated with the drone device and a second virtual switch associated with the security test network corresponding to the drone device are determined, wherein the security test network can access at least one security test tool;

[0009] Extract the first switch information of the first virtual switch and the second switch information of the second virtual switch;

[0010] A virtual data transmission channel is established between the first virtual switch and the second virtual switch based on the first switch information and the second switch information;

[0011] The drone device is connected to the security testing network via the virtual data transmission channel.

[0012] By using the above method, the drone equipment and the security testing network are connected through a virtual data transmission channel, which solves the problem of connecting the drone equipment and the security testing network over long distances. Furthermore, it enables the drone equipment to access a variety of different security network testing tools, thereby improving the efficiency of security network testing for drone equipment.

[0013] In one possible design, in response to the drone device meeting a first preset condition, including:

[0014] The device identifier and first key of the drone device are determined, wherein the device identifier includes at least the Basic Service Set Identifier (BSSID) of the drone device;

[0015] The system detects whether the device identifier matches a preset device identifier and whether the first key matches a second key, wherein the second key is the key of the virtual machine interconnection server;

[0016] When it is determined that the device identifier is consistent with the preset device identifier, and the first key matches the second key, it is determined that the drone device meets the first preset condition.

[0017] By using the above method, drone devices that meet the first preset conditions are identified, preventing any drone device from connecting to the virtual-to-physical interconnection server and ensuring that secure network testing can be performed on the specified drone devices.

[0018] In one possible design, a first virtual switch associated with the drone device and a second virtual switch associated with the security test network corresponding to the drone device are identified, including:

[0019] The wireless network card corresponding to the drone device is identified, and the virtual switch bound to the wireless network card is designated as the first virtual switch corresponding to the drone device; and

[0020] Identify the physical network interface card (NIC) corresponding to the security test network, extract the security test network bound to the physical NIC, and designate the virtual switch to which the security test network belongs as the second virtual switch.

[0021] By using the methods described above, the virtual switches corresponding to the drone equipment and the security testing network can be identified, which is beneficial for establishing a connection between the drone equipment and the security testing network.

[0022] In one possible design, the first switch information of the first virtual switch and the second switch information of the second virtual switch are extracted, including:

[0023] Extract the first IP address and the first virtual switch name corresponding to the first virtual switch, and use the first IP address and the first virtual switch name as the first switch information of the first virtual switch; and

[0024] Extract the second IP address and the second virtual switch name corresponding to the second virtual switch, and use the second IP address and the second virtual switch name as the second switch information of the second virtual switch.

[0025] Using the above method, the switch information corresponding to the drone equipment and the security test network is determined, enabling the first virtual switch on the drone equipment side to establish a connection with the second virtual switch on the security network test side.

[0026] In one possible design, the first switch information of the first virtual switch and the second switch information of the second virtual switch are extracted, including:

[0027] Extract the first preset channel type and the first preset channel authentication method corresponding to the first virtual switch, and use the first preset channel type and the first preset channel authentication method as the first switch information of the first virtual switch; and

[0028] Extract the second preset channel type and the second preset channel authentication method corresponding to the second virtual switch, and use the second preset channel type and the second preset channel authentication method as the second switch information of the first virtual switch.

[0029] By using the above method, the preset channel type and preset channel name corresponding to the first virtual switch and the second virtual switch are determined, which is beneficial for the first virtual switch and the second virtual switch to establish a connection.

[0030] In one possible design, a virtual data transmission channel between the first virtual switch and the second virtual switch is established based on the first switch information and the second switch information, including:

[0031] Detect whether the information of the first switch matches the information of the second switch;

[0032] In response to the matching of the first switch information and the second switch information, a virtual data transmission channel is established between the first virtual switch and the second virtual switch.

[0033] By using the above method, the information of the first switch and the information of the second switch are verified to avoid erroneous connections between the first virtual switch or the second virtual switch and other virtual switches, thus ensuring the accuracy of the connection established between the first virtual switch and the second virtual switch.

[0034] In one possible design, establishing a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information further includes:

[0035] When the number of drone devices exceeds a first preset number, or the number of security test networks exceeds a second preset number, the channel data of the data transmission channel is extracted, wherein the channel data is used to establish other virtual data transmission channels;

[0036] Based on the channel data, other virtual data transmission channels are established that are consistent with the first preset number or the second preset number.

[0037] Using the above method, when the number of drone devices or security testing networks exceeds the preset number, other virtual data transmission channels can be replicated based on the established virtual data transmission channels. This ensures that drone devices and security testing networks can still connect over long distances, and also ensures that multiple security testing networks can be used to conduct security network tests on drone devices.

[0038] Secondly, this application provides a drone virtual-real interconnection device, the device comprising:

[0039] The determination module is used to determine, in response to the drone device meeting the first preset condition, a first virtual switch associated with the drone device and a second virtual switch associated with the security test network corresponding to the drone device.

[0040] The extraction module is used to extract the first switch information of the first virtual switch and the second switch information of the second virtual switch.

[0041] A module is established to establish a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information;

[0042] A connection module is used to connect the UAV device to the security test network based on the virtual data transmission channel.

[0043] In one possible design, the determining module is specifically used to determine the device identifier and the first key of the drone device, wherein the device identifier includes at least the Basic Service Set Identifier (BSSID) of the drone device, detect whether the device identifier is consistent with a preset device identifier, and whether the first key matches a second key, wherein the second key is the key of the virtual machine interconnect server, and determine that the drone device meets the first preset condition when the device identifier is consistent with the preset device identifier and the first key matches the second key.

[0044] In one possible design, the determining module is further configured to determine the wireless network card corresponding to the drone device, and designate the virtual switch bound to the wireless network card as the first virtual switch corresponding to the drone device; and to determine the physical network card corresponding to the security test network, and extract the security test network bound to the physical network card, and designate the virtual switch to which the security test network belongs as the second virtual switch.

[0045] In one possible design, the extraction module is specifically used to extract the first IP address and the first virtual switch name corresponding to the first virtual switch, and use the first IP address and the first virtual switch name as the first switch information of the first virtual switch; and to extract the second IP address and the second virtual switch name corresponding to the second virtual switch, and use the second IP address and the second virtual switch name as the second switch information of the second virtual switch.

[0046] In one possible design, the extraction module is further configured to extract the first preset channel type and the first preset channel authentication method corresponding to the first virtual switch, and use the first preset channel type and the first preset channel authentication method as the first switch information of the first virtual switch; and to extract the second preset channel type and the second preset channel authentication method corresponding to the second virtual switch, and use the second preset channel type and the second preset channel authentication method as the second switch information of the first virtual switch.

[0047] In one possible design, the establishment module is specifically used to detect whether the first switch information matches the second switch information, and in response to the first switch information matching the second switch information, to establish a virtual data transmission channel between the first virtual switch and the second virtual switch.

[0048] In one possible design, the connection module is specifically used to extract channel data of the data transmission channel when the number of drone devices exceeds a first preset number or the number of security test networks exceeds a second preset number. The channel data is used to establish other virtual data transmission channels, and other virtual data transmission channels consistent with the first preset number or the second preset number are established based on the channel data.

[0049] Thirdly, a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method steps for virtual-real interconnection of a drone.

[0050] For details on each aspect of the first to third aspects mentioned above, as well as the technical effects that each aspect may achieve, please refer to the above description of the technical effects that can be achieved for the first aspect or the various possible solutions in the first aspect. These details will not be repeated here. Attached Figure Description

[0051] Figure 1 This is a schematic diagram illustrating the security testing of unmanned aerial vehicle (UAV) equipment using a PC, as provided in this application.

[0052] Figure 2 A flowchart of the steps of a method for interconnecting virtual and real systems using unmanned aerial vehicles (UAVs) is provided in this application;

[0053] Figure 3 A schematic diagram of the virtual-physical interconnection structure of the unmanned aerial vehicle equipment and safety testing tools provided in this application;

[0054] Figure 4 A schematic diagram illustrating the connection between the drone equipment provided in this application and multiple security testing networks;

[0055] Figure 5 A schematic diagram illustrating the connection between multiple unmanned aerial vehicle devices and the security network test network provided in this application;

[0056] Figure 6 This is a schematic diagram of the structure of a virtual-real interconnection device for unmanned aerial vehicles (UAVs) provided in this application. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The specific operational methods in the method embodiments can also be applied to the device embodiments or system embodiments. It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. A connected to B can represent: A and B directly connected, and A and B connected through C. Furthermore, in the description of this application, terms such as "first" and "second" are used only for distinguishing the purpose of description and should not be construed as indicating or implying relative importance or order.

[0058] In previous technologies, to ensure cybersecurity testing of drone equipment, a diagram illustrating PC-based security testing of drone equipment was shown below. Figure 1 As shown, in Figure 1 In this method, the drone connects to a PC via a wireless network card, and network security testing is performed on the drone based on the PC. However, the connection between the PC and the wireless network card is only valid within a preset distance. When the distance between the PC and the wireless network card exceeds the preset distance, the connection between the drone and the wireless network card fails. Furthermore, network security testing of drones based on a PC cannot meet the diverse needs of security testing tools.

[0059] To address the aforementioned problems, this application provides a virtual interconnection method for unmanned aerial vehicles (UAVs) to meet the diverse connectivity needs of UAV network security testing tools, thereby improving the efficiency of UAV network security testing. The methods and apparatus described in this application are based on the same technical concept. Since the principles by which the methods and apparatus solve the problems are similar, embodiments of the apparatus and methods can be referred to interchangeably, and repeated details will not be elaborated further.

[0060] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0061] Reference Figure 2 This application provides a method for virtual-physical interconnection of unmanned aerial vehicles (UAVs). This method can ensure the connection between UAV equipment and multiple security testing tools, thereby improving the efficiency of UAV equipment security testing. The implementation process of this method is as follows:

[0062] Step S21: In response to the drone device meeting the first preset condition, determine the first virtual switch associated with the drone device and the second virtual switch associated with the security test network corresponding to the drone device.

[0063] This application aims to enable unmanned aerial vehicle (UAV) devices to connect with multiple safety testing tools, achieving virtual-physical interconnection between the UAV devices and these tools. A schematic diagram of this virtual-physical interconnection structure is shown below. Figure 3 As shown, in Figure 3 In the process, the drone device connects to the drone device terminal via a wireless network card. The drone device terminal contains a first virtual switch. The security test network connects to the security test terminal via a physical network card. The security test terminal contains a second virtual switch.

[0064] Furthermore, the wireless network card corresponding to the drone device is bound to a virtual switch, and the virtual switch bound to the wireless network card is designated as the first virtual switch; the security test network corresponds to the physical network card, and the virtual switch to which the security test network bound to the physical network card belongs is designated as the second virtual switch. When the drone device connects to the first virtual switch, the drone device will save the drone device information, as shown in Table 1:

[0065]

[0066] Table 1

[0067] Table 1 above records various drone equipment information, including descriptions for each field. Table 1 is just an example of drone equipment information; other drone equipment information can be found in Table 1, but will not be elaborated on here.

[0068] In addition, after the security testing tool is connected to the second virtual switch, the second virtual switch will store the security testing tool information, as shown in Table 2:

[0069]

[0070] Table 2

[0071] Table 2 above records the meanings of various fields in the security testing tool. This security testing tool can be a security testing device. The explanations of each field in Table 2 are just examples. For explanations of other fields corresponding to the security testing device, please refer to Table 2 above. They will not be elaborated on here.

[0072] In order to conduct security testing on drone devices, the virtual-physical interconnection server needs to determine the device identifier and the first key of the drone device. The device identifier includes the Basic Service Set Identifier (BSSID) of the drone device. The BSSID is a unique identifier for the drone device. Therefore, the drone device can be identified based on the device identifier. The specific process for identifying the drone device is as follows:

[0073] After determining the device identifier of the drone, it is necessary to check whether the device identifier is consistent with the preset device identifier and whether the first key and the second key match. The second key is the key of the virtual-physical interconnection server. When the device identifier is consistent with the preset device identifier and the first key and the second key match, it can be determined that the drone meets the first preset condition.

[0074] It should be noted that during the security testing of drone devices, the number of drone devices must be at least one, and the number of security testing tools must also be at least one. Since the process of security testing of drone devices based on security testing tools is the same, this application embodiment will be described with one drone device and one security testing network. The security testing network can connect to at least one security testing tool. The process of security network testing of multiple drone devices is the same as the process of security network testing of one drone device.

[0075] By using the above method, the drone device is connected to the security test network through the first virtual switch and the security test network is connected through the second virtual switch, thereby enabling the drone device to connect to the security test network and avoiding the problem of security test failure caused by connection failure between the drone device and the security test network.

[0076] Step S22: Extract the first switch information of the first virtual switch and the second switch information of the second virtual switch.

[0077] In order to establish a connection between the drone device and the secure network test terminal, it is necessary to extract the first switch information of the first virtual switch and the second switch information of the second virtual switch. The first switch information includes the first IP address and the first virtual switch name, and the second switch information includes the second IP address and the second virtual switch name.

[0078] Furthermore, the aforementioned first switch information also includes the first preset channel type and the first preset channel authentication method corresponding to the first virtual switch, and the second switch information also includes the second preset channel type and the second preset channel authentication method. The first preset channel authentication method and the second preset channel authentication method can be key verification or identifier authentication. Since the specific verification method is not the focus of this application embodiment, it will not be elaborated on here.

[0079] Step S23: Establish a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information.

[0080] The information of the first switch and the second switch has been determined above. In order to establish a connection between the first virtual switch and the second virtual switch, the information of the first switch and the second switch will be checked for matching. When the information of the first switch and the second switch do not match, the connection between the first virtual switch and the second virtual switch cannot be established. When the information of the first switch and the second switch match, a virtual data transmission channel will be established between the first virtual switch and the second virtual switch. This virtual data transmission channel can be a virtual network channel based on a Layer 3 network. Since the establishment of the virtual data transmission channel is well known to those skilled in the art, it will not be elaborated on here.

[0081] Specifically, the establishment of a virtual data transmission channel requires virtual data transmission channel connection information, which is shown in Table 3:

[0082]

[0083]

[0084] Table 3

[0085] The connection information for the virtual data transmission channel in Table 3 above is used to establish the virtual data transmission channel. The fields in Table 3 above and their corresponding descriptions are for illustrative purposes only. For other fields used to establish the virtual data transmission channel and their corresponding descriptions, please refer to Table 3 above. They will not be explained in detail here.

[0086] Furthermore, after the virtual data transmission channel is established, the first virtual switch and the second virtual switch will transmit data through the virtual data transmission channel. The test data packets used by the security network test terminal to detect the drone equipment will also be transmitted to the first virtual switch on the drone equipment side through the virtual data transmission channel. The first virtual switch will then send the test data packets to the drone equipment via the wireless network card, thereby achieving virtual-physical interconnection between the drone equipment and the security test network.

[0087] By using the above method, the drone equipment and the security testing network are connected through a virtual-physical interconnection server, thereby enabling the access of multiple security testing tools through the security testing network, which in turn improves the security testing of drone equipment.

[0088] Step S24: Connect the UAV device to the security test network based on the virtual data transmission channel.

[0089] When the number of drone devices exceeds the first preset number or the number of security test networks exceeds the second preset number, the first preset number and the second preset number can be 1. Channel data of the data transmission channel will be extracted, and this channel data will be used to replicate other virtual data transmission channels.

[0090] When the number of security test networks exceeds one, the established virtual data transmission channel will be used as the master node, and other subsequently connected security test networks will be used as slave nodes. The slave nodes will be managed by the master node, which will manage the slave nodes based on the node management table, as shown in Table 4.

[0091]

[0092]

[0093] Table 4

[0094] Table 4 above records various information about the slave nodes. The master node can control the slave nodes based on the node management information in Table 4 above, which will not be explained in detail here.

[0095] Specifically, the connection diagram between the drone equipment and multiple security testing networks is as follows: Figure 4 As shown, in Figure 4 In the process, the established virtual data transmission channel is located at the first position. If it is necessary to conduct security network tests on the drone equipment using the security test networks at the second and third positions, the virtual data transmission channel already established at the first position needs to be replicated. After replication, the physical network cards and virtual switches at the second and third positions are the same as those at the first position. At the same time, the user has no password in the initial state of the slave node. After the master node remotely controls the slave node for the first time, it can set a password for the slave node and record the password.

[0096] When the number of drone devices is not one, the virtual switches corresponding to each drone device are connected to the same virtual switch to reuse the virtual data transmission channel. This virtual data transmission channel can be the virtual switch corresponding to the first drone device connected. A connection diagram of multiple drone devices and the security network test network is shown below. Figure 5 As shown, in Figure 5 In this process, UAV device 1 and UAV device 2 are connected to the same virtual switch through their respective wireless network cards. This virtual switch is then connected to the virtual switch of the security test terminal. Thus, security testing of UAV device 1 and UAV device 2 is achieved based on the security test network. This avoids the need for each UAV device to have its own virtual switch and to establish an independent virtual data transmission channel, thereby reducing the number of virtual data transmission channels to be established.

[0097] By using the above method, the drone equipment and the security testing network are connected through a virtual-physical interconnection server, enabling the drone equipment to connect with a variety of security network testing tools. This solves the problem that drone equipment can only connect to PCs, and allows for long-distance security testing of drone equipment based on the security testing network, thus improving the efficiency of security network testing of drone equipment.

[0098] Based on the same inventive concept, this application also provides a thread binding device, which implements the function of a thread binding method, see reference. Figure 6 The device includes:

[0099] The determination module 601 is used to determine, in response to the drone device meeting the first preset condition, a first virtual switch associated with the drone device and a second virtual switch associated with the security test network corresponding to the drone device.

[0100] Extraction module 602 is used to extract the first switch information of the first virtual switch and the second switch information of the second virtual switch;

[0101] Module 603 is used to establish a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information;

[0102] The connection module 604 is used to connect the UAV device to the security test network based on the virtual data transmission channel.

[0103] In one possible design, the determining module 601 is specifically used to determine the device identifier and the first key of the drone device, wherein the device identifier includes at least the Basic Service Set Identifier (BSSID) of the drone device, detect whether the device identifier is consistent with a preset device identifier, and whether the first key matches a second key, wherein the second key is the key of the virtual machine interconnect server, and determine that the drone device meets the first preset condition when the device identifier is consistent with the preset device identifier and the first key matches the second key.

[0104] In one possible design, the determining module 601 is further configured to determine the wireless network card corresponding to the drone device, and designate the virtual switch bound to the wireless network card as the first virtual switch corresponding to the drone device, and to determine the physical network card corresponding to the security test network, and to extract the security test network bound to the physical network card, and designate the virtual switch to which the security test network belongs as the second virtual switch.

[0105] In one possible design, the extraction module 602 is specifically used to extract the first IP address and the first virtual switch name corresponding to the first virtual switch, and use the first IP address and the first virtual switch name as the first switch information of the first virtual switch; and to extract the second IP address and the second virtual switch name corresponding to the second virtual switch, and use the second IP address and the second virtual switch name as the second switch information of the second virtual switch.

[0106] In one possible design, the extraction module 602 is further configured to extract the first preset channel type and the first preset channel authentication method corresponding to the first virtual switch, and use the first preset channel type and the first preset channel authentication method as the first switch information of the first virtual switch; and to extract the second preset channel type and the second preset channel authentication method corresponding to the second virtual switch, and use the second preset channel type and the second preset channel authentication method as the second switch information of the first virtual switch.

[0107] In one possible design, the establishment module 603 is specifically used to detect whether the first switch information and the second switch information match, and in response to the first switch information and the second switch information matching, to establish a virtual data transmission channel between the first virtual switch and the second virtual switch.

[0108] In one possible design, the connection module 604 is specifically used to extract channel data of the data transmission channel when the number of the drone devices exceeds a first preset number or the number of the security test network exceeds a second preset number. The channel data is used to establish other virtual data transmission channels, and other virtual data transmission channels consistent with the first preset number or the second preset number are established based on the channel data.

[0109] Based on the same inventive concept, this application also provides a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform a method for interconnecting virtual and real drones as described above.

[0110] In some possible implementations, various aspects of the method for virtual-real interconnection of a drone provided by this application can also be implemented in the form of a program product, which includes program code. When the program product is run on a device, the program code is used to cause the control device to perform the steps in the method for virtual-real interconnection of a drone according to various exemplary embodiments of this application described above.

[0111] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0112] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0113] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0114] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0115] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for virtual-real interconnection of a UAV, characterized in that, The method comprises the steps of: in response to the unmanned aerial vehicle device meeting the first preset condition, determining a first virtual switch associated with the unmanned aerial vehicle device and a second virtual switch associated with a security test network corresponding to the unmanned aerial vehicle device, wherein the security test network can access at least one security test tool; extracting first switch information of the first virtual switch and second switch information of the second virtual switch; establishing a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information; connecting the unmanned aerial vehicle device with the security test network based on the virtual data transmission channel; wherein, in response to the unmanned aerial vehicle device meeting the first preset condition, the method comprises the steps of: determining a device identifier of the unmanned aerial vehicle device and a first key, wherein the device identifier comprises at least a basic service set identifier (BSSID) of the unmanned aerial vehicle device; detecting whether the device identifier is consistent with a preset device identifier and whether the first key matches a second key, wherein the second key is a key of a virtual machine interconnection server; when the device identifier is consistent with the preset device identifier and the first key matches the second key, determining that the unmanned aerial vehicle device meets the first preset condition.

2. The method of claim 1, wherein, determining a first virtual switch associated with the unmanned aerial vehicle device and a second virtual switch associated with a security test network corresponding to the unmanned aerial vehicle device, comprises the steps of: determining a wireless network card corresponding to the unmanned aerial vehicle device, and taking a virtual switch bound with the wireless network card as the first virtual switch corresponding to the unmanned aerial vehicle device; and determining a physical network card corresponding to the security test network, and extracting a security test network bound with the physical network card, and taking a virtual switch to which the security test network belongs as the second virtual switch.

3. The method of claim 1, wherein, extracting first switch information of the first virtual switch and second switch information of the second virtual switch, comprises the steps of: extracting a first IP address and a first virtual switch name corresponding to the first virtual switch, and taking the first IP address and the first virtual switch name as the first switch information of the first virtual switch; and extracting a second IP address and a second virtual switch name corresponding to the second virtual switch, and taking the second IP address and the second virtual switch name as the second switch information of the second virtual switch.

4. The method of claim 1, wherein, extracting first switch information of the first virtual switch and second switch information of the second virtual switch, comprises the steps of: extracting a first preset channel type and a first preset channel authentication mode corresponding to the first virtual switch, and taking the first preset channel type and the first preset channel authentication mode as the first switch information of the first virtual switch; and extract a second preset channel type and a second preset channel authentication mode corresponding to the second virtual switch, and use the second preset channel type and the second preset channel authentication mode as the second switch information of the first virtual switch.

5. The method of claim 1, wherein, establishing a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information, comprising: detecting whether the first switch information and the second switch information match; in response to the first switch information and the second switch information matching, establishing a virtual data transmission channel between the first virtual switch and the second virtual switch.

6. The method of claim 1, wherein, establishing a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information, further comprising: when the number of unmanned device exceeds a first preset number, or the number of security test network exceeds a second preset number, extracting channel data of the data transmission channel, wherein the channel data is used to establish other virtual data transmission channels; establishing other virtual data transmission channels consistent with the first preset number or the second preset number based on the channel data.

7. A device for virtual-real interconnection of a UAV, characterized in that, The device comprises: a determination module configured to determine a first virtual switch associated with an unmanned device and a second virtual switch associated with a security test network corresponding to the unmanned device in response to the unmanned device meeting a first preset condition; an extraction module configured to extract first switch information of the first virtual switch and second switch information of the second virtual switch; an establishment module configured to establish a virtual data transmission channel between the first virtual switch and the second virtual switch based on the first switch information and the second switch information; a connection module configured to connect the unmanned device and the security test network based on the virtual data transmission channel; wherein the determination module is specifically configured to: determine a device identifier of the unmanned device and a first key, wherein the device identifier at least includes a basic service set identifier (BSSID) of the unmanned device; detect whether the device identifier is consistent with a preset device identifier and whether the first key matches a second key, wherein the second key is a key of a virtual machine interconnection server; determine that the unmanned device meets the first preset condition when the device identifier is consistent with the preset device identifier and the first key matches the second key.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method steps of any one of claims 1-6. The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method steps of any one of claims 1-6.

Citation Information

Patent Citations

  • Simulation method for flexible and extensible fusion of virtual and actual networks

    CN108123818A

  • Evaluation method, device and system of unmanned system cluster and storage medium

    CN114185320A