Fanet network communication simulation method and device

By optimizing the communication link establishment process between terminal nodes and control stations in the simulated container network environment of the FANET model, the problems of high communication latency and high resource consumption in the existing technology are solved, and more efficient communication effect and resource utilization are achieved.

CN117729577BActive Publication Date: 2026-05-19BEIJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING UNIV OF POSTS & TELECOMM
Filing Date
2023-12-26
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing FANET network communication simulation technology, the initial communication latency between the terminal node and the control station is high, the communication effect is poor, and the communication link resources are consumed excessively.

Method used

By selecting target mobile terminal nodes in a simulated container network environment built using the FANET model, constructing virtual communication links based on available virtual device interfaces, and optimizing communication address acquisition through ARP cache management, communication latency and resource consumption are reduced.

Benefits of technology

It effectively reduces the communication latency between terminal nodes and control stations, improves simulation accuracy, and saves virtual communication link resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117729577B_ABST
    Figure CN117729577B_ABST
Patent Text Reader

Abstract

The application provides a FANET network communication simulation method and device, the method comprises the following steps: selecting a target mobile terminal node from preset mobile terminal nodes; for the target mobile terminal node, a simulation link establishment step is executed in a simulation container network environment constructed in advance based on a FANET model; if it is detected that there is an available virtual device interface at a current link construction start time point of the target mobile terminal node, the minimum link end time point corresponding to a next mobile terminal node is acquired based on a link construction end time point of the target mobile terminal node; one of the current available virtual device interfaces is selected as a target virtual device interface, and a virtual communication link between the target mobile terminal node and a target control station node is constructed based on the target virtual device interface. The application can effectively reduce the communication delay of the terminal node and the control station, thereby improving the simulation accuracy, and can effectively save the virtual communication link resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and in particular to a FANET network communication simulation method and apparatus. Background Technology

[0002] Mobile ad hoc networks (MANETs) are network systems interconnected by communication nodes through distributed protocols in the absence of fixed infrastructure. They are characterized by decentralization, peer-to-peer nodes, and multi-hop capabilities, enabling the automatic and rapid deployment of independent communication networks or the effective extension of existing networks. They have broad application prospects in both civilian and military fields. Flying Ad Hoc Networks (FANETs), also known as drone swarm ad hoc networks, are the foundation and prerequisite for coordinated adjustment among drone swarms. Their performance directly determines whether drones can achieve coordinated adjustment. FANETs can be seen as a special case of MANETs. Drones, as nodes in the network, do not entirely depend on ground control stations or other communication facilities for control. Nodes can exchange control commands, situational awareness, and intelligence gathering, thus establishing an ad-hoc network. Virtual testbeds can improve the problems of FANETs in a low-cost and efficient manner. Research organizations have established "Core Swarm Sprint" experiments focusing on drone swarms in mobile ad hoc networks, combining virtual and physical testbeds to improve swarm architecture and tactics. Therefore, in order to conduct rapid and efficient experiments on the key technologies and architecture of FANET and support large-scale, end-to-end experimental verification, simulation studies are needed.

[0003] In existing simulation technologies, the initial communication between multiple terminal nodes and the control station requires addressing based on the ARP protocol, resulting in high communication latency and poor communication performance. On the other hand, if the control station establishes a communication link with each terminal node, it will consume too many communication link resources and put a lot of pressure on communication. Summary of the Invention

[0004] In view of this, embodiments of this application provide a FANET network communication simulation method and apparatus to eliminate or improve one or more defects existing in the prior art.

[0005] The first aspect of this application provides a FANET network communication simulation method, the method comprising:

[0006] Select the current target mobile terminal node from the preset mobile terminal nodes;

[0007] For the target mobile terminal node, a preset simulation link establishment step is performed in a simulated container network environment pre-built based on the FANET model;

[0008] The simulation link establishment step includes:

[0009] If an available virtual device interface is detected at the start time of link construction of the current target mobile terminal node, the minimum link end time corresponding to the next mobile terminal node is obtained based on the end time of link construction of the target mobile terminal node.

[0010] Select one of the currently available virtual device interfaces as the target virtual device interface, and construct a virtual communication link between the target mobile terminal node and the preset target control station node based on the target virtual device interface.

[0011] In some embodiments of this application, the simulation link establishment step further includes:

[0012] If no available virtual device interface is detected at the current link construction start time of the target mobile terminal node, then it is determined whether the link end time of the target mobile terminal node is later than the current minimum link end time.

[0013] If so, the link establishment start time of the target mobile terminal node is updated based on the current minimum link end time, so that the simulated link establishment step is executed again for the target mobile terminal node when the updated link establishment start time arrives.

[0014] In some embodiments of this application, the simulation link establishment step further includes:

[0015] If it is determined that the link termination time of the current target mobile terminal node is earlier than or equal to the current minimum link termination time, then the next mobile terminal node is used as the new target mobile terminal node to execute the simulated link establishment step.

[0016] In some embodiments of this application, obtaining the minimum link termination time corresponding to the next mobile terminal node based on the link construction termination time of the target mobile terminal node includes:

[0017] Determine whether the link termination time of the target mobile terminal node is later than the current minimum link termination time.

[0018] If so, the current minimum link termination time is determined as the minimum link termination time corresponding to the next mobile terminal node;

[0019] If not, the link termination time of the target mobile terminal node is determined as the minimum link termination time of the next mobile terminal node.

[0020] In some embodiments of this application, before selecting the current target mobile terminal node from a preset pool of mobile terminal nodes, the method further includes:

[0021] Based on the FANET model, establish the target control station node and multiple mobile terminal nodes;

[0022] In the simulated container network, a corresponding number of virtual device interfaces are set for the maximum number of communication node connections of the target control station node to obtain a preset virtual device interface queue.

[0023] The simulation container network is established based on the target control station node, each of the mobile terminal nodes, and each of the virtual device interfaces.

[0024] In some embodiments of this application, after establishing the simulated container network based on the target control station node, each of the mobile terminal nodes, and each of the virtual device interfaces, and before selecting the current target mobile terminal node from the preset mobile terminal nodes, the method further includes:

[0025] Store the control station MAC address and terminal MAC address corresponding to each virtual device interface into the local database;

[0026] Based on the motion patterns of each terminal node, the link establishment time and link termination time corresponding to each terminal node are obtained.

[0027] In some embodiments of this application, the step of constructing a virtual communication link between the target mobile terminal node and a preset target control station node based on the target virtual device interface includes:

[0028] Based on the target mobile terminal node and the target virtual device interface, obtain the control station MAC address and terminal MAC address corresponding to the target virtual device interface from the local database;

[0029] The MAC address of the control station is stored in the local ARP cache of the target control station node; the MAC address of the terminal is stored in the local ARP cache of the target mobile terminal node;

[0030] Obtain the control station MAC address and the terminal MAC address from the local ARP cache of the target mobile terminal node and the ARP cache of the target control station node;

[0031] A virtual communication link is established between the target mobile terminal node and the target control station node based on the control station MAC address and the terminal MAC address.

[0032] In some embodiments of this application, it also includes:

[0033] After the virtual communication link communication ends, the terminal MAC address in the local ARP cache of the target mobile terminal node and the control station MAC address in the ARP cache of the target control station node are cleared.

[0034] Disconnect the virtual communication link between the target mobile terminal node and the target control station node;

[0035] The target virtual device interface is stored in the virtual device interface queue.

[0036] In some embodiments of this application, it also includes:

[0037] Store the IP addresses corresponding to each mobile terminal node and the target control station node in the local database;

[0038] If, among the mobile terminal nodes, after both the first mobile terminal node and the second mobile terminal node have established a communication link with the target control station node, the IP address of the first mobile terminal node and the IP address of the second mobile terminal node are obtained from the local database.

[0039] A communication link is established between the first mobile terminal node and the second mobile terminal node based on the target control station node, the IP address of the first mobile terminal node, and the IP address of the second mobile terminal node, so that the first mobile terminal node and the second mobile terminal node can communicate.

[0040] A second aspect of this application provides a network communication simulation device based on the FANET model, the device comprising:

[0041] The terminal selection module is used to select the current target mobile terminal node from a preset number of mobile terminal nodes.

[0042] The communication establishment module is used to perform a preset simulation link establishment step for the current target mobile terminal node in a simulated container network environment pre-built based on the FANET model. The simulation link establishment step includes: if an available virtual device interface is detected at the link construction start time of the current target mobile terminal node, then the minimum link end time corresponding to the next mobile terminal node is obtained based on the link construction end time of the target mobile terminal node; one of the currently available virtual device interfaces is selected as the target virtual device interface, and a virtual communication link between the target mobile terminal node and the preset target control station node is built based on the target virtual device interface.

[0043] A third aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the FANET network communication simulation method described in the first aspect above.

[0044] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the FANET network communication simulation method described in the first aspect above.

[0045] The FANET network communication simulation method and apparatus described in this application include: selecting a current target mobile terminal node from a set of preset mobile terminal nodes; for the current target mobile terminal node, performing a preset simulation link establishment step in a simulation container network environment pre-constructed based on the FANET model; wherein the simulation link establishment step includes: if an available virtual device interface is detected at the start time of the link construction of the current target mobile terminal node, obtaining the minimum link end time corresponding to the next mobile terminal node based on the end time of the link construction of the target mobile terminal node; selecting one of the currently available virtual device interfaces as the target virtual device interface, and constructing a virtual communication link between the target mobile terminal node and a preset target control station node based on the target virtual device interface. This application can effectively reduce the communication latency between the terminal node and the control station, thereby improving simulation accuracy, and can effectively save virtual communication link resources.

[0046] Additional advantages, objectives, and features of this application will be set forth in part in the description which follows, and will in part become apparent to those skilled in the art upon review of the following description, or may be learned by practice of the application. The objectives and other advantages of this application can be realized and obtained by means of the structures specifically pointed out in the specification and drawings.

[0047] Those skilled in the art will understand that the purposes and advantages that can be achieved with this application are not limited to those specifically described above, and that the above and other purposes that this application can achieve will be more clearly understood from the following detailed description. Attached Figure Description

[0048] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, do not constitute a limitation thereof. The components in the drawings are not drawn to scale but are merely for illustrating the principles of this application. For ease of illustration and description of certain parts of this application, corresponding portions in the drawings may be enlarged, i.e., may appear larger relative to other components in an exemplary device actually manufactured according to this application. In the drawings:

[0049] Figure 1This is a flowchart illustrating the FANET network communication simulation method in one embodiment of this application.

[0050] Figure 2 This is a schematic diagram of the structure of a network communication simulation device based on the FANET model in another embodiment of this application.

[0051] Figure 3 This is a schematic diagram of the link switching logic of the FANET network communication simulation method in another embodiment of this application. Detailed Implementation

[0052] 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 embodiments and accompanying drawings. Here, the illustrative embodiments and their descriptions are used to explain this application, but are not intended to limit it.

[0053] It should also be noted that, in order to avoid obscuring this application with unnecessary details, only the structures and / or processing steps closely related to the solution according to this application are shown in the accompanying drawings, while other details that are not closely related to this application are omitted.

[0054] It should be emphasized that the term "including / comprises" as used herein refers to the presence of a feature, element, step, or component, but does not exclude the presence or addition of one or more other features, elements, steps, or components.

[0055] It should also be noted that, unless otherwise specified, the term "connection" in this article can refer not only to a direct connection, but also to an indirect connection involving an intermediary.

[0056] In the following description, embodiments of the present application will be illustrated with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar parts, or the same or similar steps.

[0057] The following examples will provide a detailed description.

[0058] This application provides a FANET network communication simulation method that can be executed by a network communication simulation device or client device based on the FANET model. See [link to relevant documentation]. Figure 1 The FANET network communication simulation method specifically includes the following:

[0059] Step 110: Select the current target mobile terminal node from the preset mobile terminal nodes.

[0060] Step 120: For the current target mobile terminal node, execute a preset simulation link establishment step in a simulated container network environment pre-built based on the FANET model; wherein, the simulation link establishment step includes: if an available virtual device interface is detected at the link construction start time of the current target mobile terminal node, obtain the minimum link end time corresponding to the next mobile terminal node based on the link construction end time of the target mobile terminal node; select one of the currently available virtual device interfaces as the target virtual device interface, and build a virtual communication link between the target mobile terminal node and the preset target control station node based on the target virtual device interface.

[0061] Specifically, see Figure 3 The client device first selects the current target mobile terminal node from a preset list of mobile terminal nodes; for the current target mobile terminal node, it executes a preset simulation link establishment step in a simulated container network environment pre-built based on the FANET model; wherein, the simulation link establishment step includes: if an available virtual device interface (i.e., ...) is detected at the start time of link establishment of the current target mobile terminal node... Figure 3 N in f >0 is true, N f (This represents the number of idle virtual device interfaces in the virtual device interface queue). Then, based on the link construction completion time of the target mobile terminal node, the minimum link completion time corresponding to the next mobile terminal node is obtained (i.e.,...). Figure 3 Update T in min_finish T min_finish (Represents the end time of the earliest terminal that has communicated with the control station node); Select one of the currently available virtual device interfaces as the target virtual device interface, and construct a virtual communication link between the target mobile terminal node and the preset target control station node based on the target virtual device interface.

[0062] Among them, the mobile terminal can be a terminal device such as a drone or a satellite; the control station can be a communication base station; and the virtual device interface is the Veth Pair virtual network port.

[0063] To further reduce the communication latency between the terminal node and the control station, thereby improving simulation accuracy, the simulation link establishment step in step 120 also includes:

[0064] If no available virtual device interface is detected at the current link construction start time of the target mobile terminal node, then it is determined whether the link end time of the target mobile terminal node is later than the current minimum link end time.

[0065] If so, the link establishment start time of the target mobile terminal node is updated based on the current minimum link end time, so that the simulated link establishment step is executed again for the target mobile terminal node when the updated link establishment start time arrives.

[0066] If it is determined that the link termination time of the current target mobile terminal node is earlier than or equal to the current minimum link termination time, then the next mobile terminal node is used as the new target mobile terminal node to execute the simulated link establishment step.

[0067] Specifically, if no available virtual device interface is detected at the start time of link construction of the current target mobile terminal node (i.e. Figure 3 N in f If >0 is not true, then the client device determines whether the link termination time of the target mobile terminal node is later than the current minimum link termination time (i.e., ...). Figure 3 T in current_end >T min_finish T current_end (Indicates the link termination time of the target mobile terminal node); if so, update the link establishment start time of the target mobile terminal node based on the current minimum link termination time (i.e., Figure 3 T in current_start =T min_finish When the updated link establishment start time is reached, the simulated link establishment step will be executed again for the target mobile terminal node. If it is determined that the current target mobile terminal node's link end time is earlier than or equal to the current minimum link end time, then the next mobile terminal node will be used as the new target mobile terminal node to execute the simulated link establishment step (i.e., Figure 3 (The next event is handled within the process).

[0068] To ensure the stability of subsequent terminal access, step 120, which involves obtaining the minimum link termination time corresponding to the next mobile terminal node based on the link construction termination time of the target mobile terminal node, includes:

[0069] Determine whether the link termination time of the target mobile terminal node is later than the current minimum link termination time.

[0070] If so, the current minimum link termination time is determined as the minimum link termination time corresponding to the next mobile terminal node;

[0071] If not, the link termination time of the target mobile terminal node is determined as the minimum link termination time of the next mobile terminal node.

[0072] Specifically, referring to Equation 1, the client device determines whether the link end time of the target mobile terminal node is later than the current minimum link end time. If so, the current minimum link end time is determined as the minimum link end time of the next mobile terminal node. If not, the link end time of the target mobile terminal node is determined as the minimum link end time of the next mobile terminal node, thereby ensuring the stability of subsequent terminal access.

[0073]

[0074] T current_end T represents the link termination time of the target mobile terminal node. min_finish This represents the end time of the earliest terminal that has finished communicating with the control station node.

[0075] To effectively construct a network simulation environment, the following steps are included before step 110:

[0076] Based on the FANET model, establish the target control station node and multiple mobile terminal nodes;

[0077] In the simulated container network, a corresponding number of virtual device interfaces are set for the maximum number of communication node connections of the target control station node to obtain a preset virtual device interface queue.

[0078] The simulation container network is established based on the target control station node, each of the mobile terminal nodes, and each of the virtual device interfaces.

[0079] Specifically, the client device establishes a target control station node and multiple mobile terminal nodes based on the FANET (Flying Ad Hoc Network) model; then, in the simulation container network, a corresponding number of virtual device interfaces are set for the maximum number of communication node connections of the target control station node to obtain a preset virtual device interface queue; finally, a simulation container network is established based on the target control station node, each mobile terminal node, and each virtual device interface, thereby effectively constructing a network simulation environment.

[0080] To effectively obtain the communication address, the link establishment time of the terminal, and the link termination time, after establishing the simulated container network based on the target control station node, each of the mobile terminal nodes, and each of the virtual device interfaces, and before step 110, the method further includes:

[0081] Store the control station MAC address and terminal MAC address corresponding to each virtual device interface into the local database;

[0082] Based on the motion patterns of each terminal node, the link establishment time and link termination time corresponding to each terminal node are obtained.

[0083] Specifically, the client device stores the control station MAC address and terminal MAC address corresponding to each virtual device interface in the local database; then, based on the movement patterns of each terminal node, it obtains the link establishment time and link termination time of each terminal node, thereby effectively obtaining the communication address, the link establishment time and link termination time of the terminal.

[0084] Table 1 IP Address Table

[0085] Terminal node number Access Node Number IP address Q1 G1 A1 Q2 G1 A2 …… …… ……

[0086] To improve the efficiency of constructing the communication link, step 120, which involves constructing a virtual communication link between the target mobile terminal node and a preset target control station node based on the target virtual device interface, includes:

[0087] Based on the target mobile terminal node and the target virtual device interface, obtain the control station MAC address and terminal MAC address corresponding to the target virtual device interface from the local database;

[0088] The MAC address of the control station is stored in the local ARP cache of the target control station node; the MAC address of the terminal is stored in the local ARP cache of the target mobile terminal node;

[0089] Obtain the control station MAC address and the terminal MAC address from the local ARP cache of the target mobile terminal node and the ARP cache of the target control station node;

[0090] A virtual communication link is established between the target mobile terminal node and the target control station node based on the control station MAC address and the terminal MAC address.

[0091] Specifically, the client device obtains the control station MAC address and terminal MAC address corresponding to the target virtual device interface from the local database based on the target mobile terminal node and the target virtual device interface; stores the control station MAC address in the local ARP cache of the target control station node; stores the terminal MAC address in the local ARP cache of the target mobile terminal node; obtains the control station MAC address and terminal MAC address from the local ARP cache of the target mobile terminal node and the ARP cache of the target control station node; and establishes a virtual communication link between the target mobile terminal node and the target control station node based on the control station MAC address and the terminal MAC address. This saves ARP addressing time based on the local ARP cache, thereby effectively reducing the communication latency between the terminal node and the control station, and thus improving the simulation accuracy.

[0092] To ensure timely release of communication link resources, the following step after step 120 is also included:

[0093] After the virtual communication link communication ends, the terminal MAC address in the local ARP cache of the target mobile terminal node and the control station MAC address in the ARP cache of the target control station node are cleared.

[0094] Disconnect the virtual communication link between the target mobile terminal node and the target control station node;

[0095] The target virtual device interface is stored in the virtual device interface queue.

[0096] Specifically, after the virtual communication link communication ends, the client device clears the terminal MAC address from the local ARP cache of the target mobile terminal node and the control station MAC address from the ARP cache of the target control station node; then it disconnects the virtual communication link between the target mobile terminal node and the target control station node; finally, it stores the target virtual device interface in the virtual device interface queue, thereby releasing communication link resources in a timely manner.

[0097] To establish communication between terminals, the aforementioned FANET network communication simulation method also includes:

[0098] Store the IP addresses corresponding to each mobile terminal node and the target control station node in the local database;

[0099] If, among the mobile terminal nodes, after both the first mobile terminal node and the second mobile terminal node have established a communication link with the target control station node, the IP address of the first mobile terminal node and the IP address of the second mobile terminal node are obtained from the local database.

[0100] A communication link is established between the first mobile terminal node and the second mobile terminal node based on the target control station node, the IP address of the first mobile terminal node, and the IP address of the second mobile terminal node, so that the first mobile terminal node and the second mobile terminal node can communicate.

[0101] Specifically, the client device stores the IP addresses corresponding to each mobile terminal node and the target control station node in its local database (see Table 2). Then, if both the first and second mobile terminal nodes have established communication links with the target control station node, the client device retrieves the IP addresses of the first and second mobile terminal nodes from the local database. Based on the IP addresses of the target control station node, the first mobile terminal node, and the second mobile terminal node, a communication link is established between the first and second mobile terminal nodes to enable communication between them, thereby establishing communication between the terminals.

[0102] Table 2 MAC Address Table

[0103]

[0104] From a software perspective, this application also provides a network communication simulation device based on the FANET model for executing all or part of the FANET network communication simulation method described above. See [link to relevant documentation]. Figure 2 The network communication simulation device based on the FANET model specifically includes the following components:

[0105] The terminal selection module 10 is used to select the current target mobile terminal node from a preset range of mobile terminal nodes.

[0106] The communication establishment module 20 is used to perform a preset simulation link establishment step for the current target mobile terminal node in a simulated container network environment pre-built based on the FANET model; wherein, the simulation link establishment step includes: if an available virtual device interface is detected at the link construction start time of the current target mobile terminal node, then the minimum link end time corresponding to the next mobile terminal node is obtained based on the link construction end time of the target mobile terminal node; one of the currently available virtual device interfaces is selected as the target virtual device interface, and a virtual communication link between the target mobile terminal node and the preset target control station node is built based on the target virtual device interface.

[0107] The embodiments of the network communication simulation device based on the FANET model provided in this application can be used to execute the processing flow of the embodiments of the FANET network communication simulation method described above. Its functions will not be repeated here, but can be referred to the detailed description of the embodiments of the FANET network communication simulation method described above.

[0108] This application provides a FANET network communication simulation device. The method performed by this device includes: selecting a current target mobile terminal node from a preset pool of mobile terminal nodes; for the current target mobile terminal node, performing a preset simulation link establishment step in a simulation container network environment pre-constructed based on the FANET model; wherein the simulation link establishment step includes: if an available virtual device interface is detected at the start time of link construction of the current target mobile terminal node, obtaining the minimum link end time corresponding to the next mobile terminal node based on the end time of link construction of the target mobile terminal node; selecting one of the currently available virtual device interfaces as the target virtual device interface, and constructing a virtual communication link between the target mobile terminal node and a preset target control station node based on the target virtual device interface. This application can effectively reduce the communication latency between the terminal node and the control station, thereby improving communication performance, and can effectively save virtual communication link resources.

[0109] This application also provides an electronic device, such as a central server, which may include a processor, a memory, a receiver, and a transmitter. The processor is used to execute the FANET network communication simulation method mentioned in the above embodiments. The processor and memory can be connected via a bus or other means, taking a bus connection as an example. The receiver can be connected to the processor and memory via wired or wireless means.

[0110] The processor can be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above types of chips.

[0111] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the FANET network communication simulation method in the embodiments of this application. The processor executes various functional applications and data processing by running the non-transitory software programs, instructions, and modules stored in the memory, thereby implementing the FANET network communication simulation method in the above method embodiments.

[0112] The memory may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the processor, etc. Furthermore, the memory may include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, which can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0113] The one or more modules are stored in the memory, and when executed by the processor, they perform the FANET network communication simulation method in the embodiment.

[0114] In some embodiments of this application, the user equipment may include a processor, a memory, and a transceiver unit. The transceiver unit may include a receiver and a transmitter. The processor, memory, receiver, and transmitter may be connected via a bus system. The memory is used to store computer instructions, and the processor is used to execute the computer instructions stored in the memory to control the transceiver unit to send and receive signals.

[0115] As one implementation method, the functions of the receiver and transmitter in this application can be implemented by transceiver circuits or dedicated transceiver chips, and the processor can be implemented by dedicated processing chips, processing circuits or general-purpose chips.

[0116] As another implementation approach, the server provided in this application embodiment can be implemented using a general-purpose computer. That is, the program code implementing the processor, receiver, and transmitter functions is stored in memory, and the general-purpose processor implements the processor, receiver, and transmitter functions by executing the code in memory.

[0117] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the aforementioned FANET network communication simulation method. The computer-readable storage medium can be a tangible storage medium, such as random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, floppy disks, hard disks, removable storage disks, CD-ROMs, or any other form of storage medium known in the art.

[0118] Those skilled in the art will understand that the exemplary components, systems, and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software, or a combination of both. Whether implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application. When implemented in hardware, it can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. The programs or code segments can be stored in a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave.

[0119] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0120] In this application, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or in place of features of other embodiments.

[0121] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to the embodiments of this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A FANET network communication simulation method, characterized in that, include: Select the current target mobile terminal node from the preset mobile terminal nodes; For the target mobile terminal node, a preset simulation link establishment step is performed in a simulated container network environment pre-built based on the FANET model; The simulation link establishment step includes: If an available virtual device interface is detected at the start time of link construction of the current target mobile terminal node, the minimum link end time corresponding to the next mobile terminal node is obtained based on the end time of link construction of the target mobile terminal node. Select one of the currently available virtual device interfaces as the target virtual device interface, and construct a virtual communication link between the target mobile terminal node and the preset target control station node based on the target virtual device interface; The step of obtaining the minimum link termination time corresponding to the next mobile terminal node based on the link construction termination time of the target mobile terminal node includes: Determine whether the link termination time of the target mobile terminal node is later than the current minimum link termination time. If so, the current minimum link termination time is determined as the minimum link termination time corresponding to the next mobile terminal node; If not, the link termination time of the target mobile terminal node is determined as the minimum link termination time of the next mobile terminal node.

2. The FANET network communication simulation method according to claim 1, characterized in that, The simulation link establishment step also includes: If no available virtual device interface is detected at the current link construction start time of the target mobile terminal node, then it is determined whether the link end time of the target mobile terminal node is later than the current minimum link end time. If so, the link establishment start time of the target mobile terminal node is updated based on the current minimum link end time, so that the simulated link establishment step is executed again for the target mobile terminal node when the updated link establishment start time arrives.

3. The FANET network communication simulation method according to claim 2, characterized in that, The simulation link establishment step also includes: If it is determined that the link termination time of the current target mobile terminal node is earlier than or equal to the current minimum link termination time, then the next mobile terminal node is used as the new target mobile terminal node to execute the simulated link establishment step.

4. The FANET network communication simulation method according to claim 1, characterized in that, Before selecting the current target mobile terminal node from a preset pool of mobile terminal nodes, the method further includes: Based on the FANET model, establish the target control station node and multiple mobile terminal nodes; In the simulated container network, a corresponding number of virtual device interfaces are set for the maximum number of communication node connections of the target control station node to obtain a preset virtual device interface queue. The simulation container network is established based on the target control station node, each of the mobile terminal nodes, and each of the virtual device interfaces.

5. The FANET network communication simulation method according to claim 4, characterized in that, After establishing the simulation container network based on the target control station node, each of the mobile terminal nodes, and each of the virtual device interfaces, and before selecting the current target mobile terminal node from the preset mobile terminal nodes, the method further includes: Store the control station MAC address and terminal MAC address corresponding to each virtual device interface into the local database; Based on the motion patterns of each terminal node, the link establishment time and link termination time corresponding to each terminal node are obtained.

6. The FANET network communication simulation method according to claim 5, characterized in that, The construction of a virtual communication link between the target mobile terminal node and a preset target control station node based on the target virtual device interface includes: Based on the target mobile terminal node and the target virtual device interface, obtain the control station MAC address and terminal MAC address corresponding to the target virtual device interface from the local database; The MAC address of the control station is stored in the local ARP cache of the target control station node; the MAC address of the terminal is stored in the local ARP cache of the target mobile terminal node; Obtain the control station MAC address and the terminal MAC address from the local ARP cache of the target mobile terminal node and the ARP cache of the target control station node; A virtual communication link is established between the target mobile terminal node and the target control station node based on the control station MAC address and the terminal MAC address.

7. The FANET network communication simulation method according to claim 6, characterized in that, Also includes: After the virtual communication link communication ends, the terminal MAC address in the local ARP cache of the target mobile terminal node and the control station MAC address in the ARP cache of the target control station node are cleared. Disconnect the virtual communication link between the target mobile terminal node and the target control station node; The target virtual device interface is stored in the virtual device interface queue.

8. The FANET network communication simulation method according to claim 1, characterized in that, Also includes: Store the IP addresses corresponding to each mobile terminal node and the target control station node in the local database; If, among the mobile terminal nodes, after both the first mobile terminal node and the second mobile terminal node have established a communication link with the target control station node, the IP address of the first mobile terminal node and the IP address of the second mobile terminal node are obtained from the local database. A communication link is established between the first mobile terminal node and the second mobile terminal node based on the target control station node, the IP address of the first mobile terminal node, and the IP address of the second mobile terminal node, so that the first mobile terminal node and the second mobile terminal node can communicate.

9. A network communication simulation device based on the FANET model, characterized in that, include: The terminal selection module is used to select the current target mobile terminal node from a preset number of mobile terminal nodes. A communication establishment module is used to perform a preset simulation link establishment step for the current target mobile terminal node in a simulated container network environment pre-built based on the FANET model; wherein, the simulation link establishment step includes: if an available virtual device interface is detected at the link construction start time of the current target mobile terminal node, then the minimum link end time corresponding to the next mobile terminal node is obtained based on the link construction end time of the target mobile terminal node; one of the currently available virtual device interfaces is selected as the target virtual device interface, and a virtual communication link between the target mobile terminal node and the preset target control station node is constructed based on the target virtual device interface; The step of obtaining the minimum link termination time corresponding to the next mobile terminal node based on the link construction termination time of the target mobile terminal node includes: Determine whether the link termination time of the target mobile terminal node is later than the current minimum link termination time. If so, the current minimum link termination time is determined as the minimum link termination time corresponding to the next mobile terminal node; If not, the link termination time of the target mobile terminal node is determined as the minimum link termination time of the next mobile terminal node.