Process method and system for network connection optimization of formation performance fleet
Through layer-by-layer detection and continuous reconnection, the problem of excessive network communication load during formation flight was solved, a stable connection between the aircraft and the ground station was achieved, and the normal performance was ensured.
Patent Information
- Application Number
- CN202410949063.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-11
AI Technical Summary
During formation flying, the excessive number of aircraft leads to excessive communication load on the communication equipment network and channel congestion delays, resulting in a high communication failure rate between the aircraft and the ground station, making it impossible to quickly confirm the network status, and affecting the normal performance of the performance.
Through layer-by-layer detection of network communication capabilities, including TCP communication packet detection, WPA status monitoring and IP address detection, network status monitoring and reconnection are continuously performed to ensure a stable network connection between the aircraft and the ground station.
It realizes fast and efficient network connection and reconnection between aircraft and ground stations, reduces the communication failure rate and ensures the normal operation of formation performances.
Smart Images

Figure CN118764840A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned aerial vehicles, and in particular relates to a process method and system for optimizing network connections of a formation performance fleet. Background Art
[0002] At present, in the process of networking and communication for large-scale formation flights, there are network connection problems due to too many aircraft, too heavy AC load during the network communication of communication equipment, too many APs, and channel congestion and delay. When the number of aircraft exceeds a certain threshold, the communication failure rate between the aircraft and the ground station is high, and the fleet aircraft cannot quickly confirm the current problems in the network, resulting in excessive operational pressure during the actual performance and the inability to complete the performance needs. Designing a solution for optimizing the network connection of formation performance fleets has become a technical problem that needs to be solved.
[0003] Through the above analysis, the problems and defects of the existing technology are as follows: During the current formation performance flight, network communication mostly relies on the reconnection capabilities of WPA and TCP itself. It can achieve connection in some simple network environments, but the reconnection speed is relatively average. In the face of a more complex network environment, it is unable to provide a fast and efficient disconnection reconnection effect, and it is unable to continuously provide network communication detection capabilities. When the network suddenly becomes abnormal, it is difficult to quickly confirm the network status and make corresponding processing strategies. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the disclosed embodiments of the present invention provide a process method and system for optimizing the network connection of a formation performance fleet.
[0005] The technical solution is as follows: a process method for optimizing network connection of a formation performance fleet, the method comprising:
[0006] S1, set up the network environment required for the formation flight performance, and power on all aircraft in the fleet;
[0007] S2, the fleet aircraft initializes the network and connects to the ground station;
[0008] S3, aircraft network detection: Through the network communication of formation flight, the communication capabilities of the driver layer and the protocol layer are detected layer by layer, and continuous testing is carried out. When network anomalies are found, reconnection is carried out to complete the network communication status during the formation group communication process.
[0009] Furthermore, in step S3, the aircraft network detection includes:
[0010] S301, the TCP communication packet is tested once, and if the test is normal, the next test is continued;
[0011] S302, if the TCP communication data packet is abnormal, read the current status in linux wpa through software;
[0012] S303, if the current TCP status is COMPLETED, continue to the next process, if the current status is other, start timeout detection;
[0013] S304, after the timeout, if the state has not been switched to COMPLETED, it is considered that the Wi-Fi is abnormal and the script is run;
[0014] S305, performing software reset and reconnection of WPA;
[0015] S306, if WPA reset is performed, wait for the WiFi to reconnect, then return to WPA status judgment and continue running;
[0016] S307, after passing the COMPLETED state detection, start IP address detection;
[0017] S308, when the IP meets the detection requirements, the wifi quality is read. If the RSSI is greater than -80dbm, it is considered to meet the requirements and enter the TCP connection detection phase;
[0018] S309, the TCP connection is disconnected, and then a secondary connection is made. After the connection is completed, communication is carried out with the ground station. If the communication is successful, the next network status detection is waited for;
[0019] S310, if TCP communication fails, continue to reset TCP and reconnect;
[0020] S311, continuous testing is carried out throughout the entire process until the end of the performance.
[0021] Furthermore, in step S301, the TCP communication packet is tested once every 10 seconds. If the test is normal, the test is continued for the next 10 seconds.
[0022] Furthermore, in step S303, in the timeout detection, the timeout period is 10s.
[0023] Furthermore, in step S305, if the state is switched to COMPLETED, the next step S306 process detection is started.
[0024] Furthermore, in step S306, the waiting time is 40S for the wifi to be reconnected.
[0025] Furthermore, in step S307, if the IP address is 169.254.xx, the current state is in the intranet connection state, wait for 10S, if it still remains, perform the above-mentioned WPA reset and wifi reconnection operations.
[0026] Furthermore, in step S308, if the RSSI is lower than -80dbm, the WPA software reset script is run to reconnect to the wifi.
[0027] Furthermore, in step S310, if the TCP communication fails, wait for 20 seconds and continue to reset TCP.
[0028] Another object of the present invention is to provide a system for optimizing network connections of a formation performance fleet, comprising:
[0029] The network environment and power-on system are used to set up the network environment required for formation flight performances, and all aircraft in the fleet are powered on;
[0030] Ground station connection system, used for fleet aircraft to initialize the network and connect to the ground station;
[0031] The aircraft network detection system is used to detect the communication capabilities of the driver layer and protocol layer layer by layer through the network communication of formation flight, and conduct continuous testing. After discovering network anomalies, it reconnects to complete the network communication status during the formation group communication process.
[0032] In combination with all the above technical solutions, the beneficial effects of the present invention are as follows:
[0033] The present invention provides a process method for optimizing the network connection of a formation performance fleet, and through reasonable design and verification of the communication capability of the fleet aircraft and the ground station, the formation fleet aircraft can reasonably and scientifically reconnect to the network through software reset. The problem of abnormal small-batch connection between the fleet and the formation ground station caused by too many fleet aircraft at the operation performance site, too large AC load, too many APs, and complex network environment is solved, and the technical effect of enabling the formation performance to be easily and simply operated is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure;
[0035] Figure 1 It is a flow chart of a process method for optimizing network connection of a formation performance fleet provided by an embodiment of the present invention;
[0036] Figure 2 is a flowchart of aircraft network detection provided by an embodiment of the present invention;
[0037] Figure 3 It is a schematic diagram of a process method for optimizing network connection of a formation performance fleet provided by an embodiment of the present invention;
[0038] Figure 4It is a schematic diagram of a network connection optimization system for a formation performance aircraft group provided by an embodiment of the present invention;
[0039] Figure 5 It is a wifi status monitoring diagram provided by an embodiment of the present invention;
[0040] Figure 6 is a WPA status acquisition diagram provided by an embodiment of the present invention;
[0041] In the figure: 1. Network environment and power-on system; 2. Ground station connection system; 3. Aircraft network detection system. DETAILED DESCRIPTION
[0042] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific implementation disclosed below.
[0043] The innovation of the present invention is that the present invention optimizes the network reconnection of a formation aircraft group through the detection, reconnection, and control of the communication connection status of two parts. In the wifi stage, the WPA status is relied on for judgment and the internal control of the wifi driver is used for reconnection. In the tcp detection stage, the reconnection detection is mainly carried out by means of heartbeat packets, etc. The two parts are combined to realize the network connection optimization control of the formation aircraft.
[0044] The present invention provides a method for continuously detecting the communication capabilities of a driver layer and a protocol layer when a fleet of aircraft in formation is connected to a ground station through a network, and for quickly reconnecting after an abnormality, so as to ensure the network communication status during formation flight.
[0045] Embodiment 1, as Figure 1 As shown, the process method for optimizing the network connection of a formation performance fleet provided by an embodiment of the present invention includes:
[0046] S1, the ground station computer is turned on, the network environment required for the formation flight performance is set up, and all the aircraft in the fleet are powered on;
[0047] S2, the fleet aircraft initializes the network and starts connecting to the ground station;
[0048] S3, aircraft network detection, such as Figure 2 As shown, including:
[0049] S301, the TCP communication packet is tested once every 10 seconds. If the test is normal, the test will continue for the next 10 seconds;
[0050] S302, if the TCP communication data packet is abnormal, start reading the current status in linux wpa through software;
[0051] S303, if the current TCP status is COMPLETED, continue to the next process, if the current status is other, start timeout detection, the timeout period is 10s;
[0052] S304, when the timeout has expired, if the state has not been switched to COMPLETED, it is considered that the wifi is abnormal and the script needs to be run;
[0053] S305, perform software reset and reconnection of WPA; if switched to COMPLETED state, start the next process detection;
[0054] S306, if WPA reset is performed, wait for wifi to reconnect for 40 seconds, then return to WPA status judgment and continue running;
[0055] S307, after passing the COMPLETED state detection, start IP address detection. If the IP address is "169.254.xx", it is currently in the intranet connection state. Wait for 10 seconds. If it still remains, perform the above-mentioned WPA reset and wifi reconnection operations;
[0056] S308, when the IP meets the detection, the wifi quality is read. If the RSSI is greater than -80dbm, it is considered to meet the requirements and enter the TCP connection detection phase. If it is lower than this threshold, the WPA software reset script is run to reconnect the wifi;
[0057] S309, the TCP connection is disconnected, and then a secondary connection is made. After the connection is completed, communication is carried out with the ground station. If the communication is successful, the next network status detection is waited for;
[0058] S310, if TCP communication fails, wait for 20 seconds, continue to reset TCP, and reconnect;
[0059] S311, continuous testing is carried out throughout the entire process until the end of the performance.
[0060] like Figure 3 As shown, the process method principle of optimizing the network connection of a formation performance fleet provided by an embodiment of the present invention.
[0061] Embodiment 2, as Figure 4 As shown, an embodiment of the present invention provides a system for optimizing network connections of a formation performance fleet, the system comprising:
[0062] The network environment is in the power-on system 1, which is used to set up the network environment required for the formation flight performance, and all the aircraft in the fleet are powered on;
[0063] Ground station connection system 2, used for initializing the network of fleet aircraft and connecting to the ground station;
[0064] The aircraft network detection system 3 is used to detect the communication capabilities of the driver layer and the protocol layer layer by layer through the network communication of formation flight, and conduct continuous testing. After discovering network anomalies, it reconnects to complete the network communication status during the formation group communication process.
[0065] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0066] Since the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention, their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0067] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment.
[0068] An embodiment of the present invention further provides a computer device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps in any of the above-mentioned method embodiments when executing the computer program.
[0069] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0070] An embodiment of the present invention further provides an information data processing terminal, which, when executed on an electronic device, provides a user input interface to implement the steps in the above method embodiments. The information data processing terminal is not limited to mobile phones, computers, and switches.
[0071] An embodiment of the present invention further provides a server, which is used to provide a user input interface to implement the steps in the above method embodiments when executed on an electronic device.
[0072] An embodiment of the present invention provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0073] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0074] To further illustrate the effects of the embodiments of the present invention, the following experiments are performed: Figure 5 It shows some monitoring of the wifi status, showing the current RSSI value of wifi, etc. Figure 6 Shows how to get WPA status, including ip address, wpa status and other information.
[0075] It can be seen from the above embodiments that the present invention detects the communication capabilities of the driver layer and the protocol layer layer by layer through the network communication of formation flying, performs continuous testing, and quickly reconnects after discovering network anomalies, thereby greatly improving the network connection effect during formation flight communication and ensuring stable and reliable network communication.
[0076] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principles of the present invention should be covered within the protection scope of the present invention.
Claims
1. A process method for optimizing network connection of a formation performance fleet, characterized in that: The method includes: S1, set up the network environment required for the formation flight performance, and power on all aircraft in the fleet; S2, the fleet aircraft initializes the network and connects to the ground station; S3, aircraft network detection: Through the network communication of formation flight, the communication capabilities of the driver layer and the protocol layer are detected layer by layer, and continuous testing is carried out. When network anomalies are found, reconnection is carried out to complete the network communication status during the formation group communication process.
2. The process method for optimizing network connection of formation performance aircraft group according to claim 1, characterized in that: In step S3, aircraft network detection includes: S301, the TCP communication packet is tested once, and if the test is normal, the next test is continued; S302, if the TCP communication data packet is abnormal, read the current status in linux wpa through software; S303, if the current TCP status is COMPLETED, continue to the next process, if the current status is other, start timeout detection; S304, after the timeout, if the state has not been switched to COMPLETED, it is considered that the Wi-Fi is abnormal and the script is run; S305, performing software reset and reconnection of WPA; S306, if WPA reset is performed, wait for the WiFi to reconnect, then return to WPA status judgment and continue running; S307, after passing the COMPLETED state detection, start IP address detection; S308, when the IP meets the detection requirements, the wifi quality is read. If the RSSI is greater than -80dbm, it is considered to meet the requirements and enter the TCP connection detection phase; S309, the TCP connection is disconnected, and then a secondary connection is made. After the connection is completed, communication is carried out with the ground station. If the communication is successful, the next network status detection is waited for; S310, if TCP communication fails, continue to reset TCP and reconnect; S311, continuous testing is carried out throughout the entire process until the end of the performance.
3. The process method for optimizing network connection of formation performance aircraft group according to claim 2, characterized in that: In step S301, the TCP communication packet is tested once every 10 seconds. If the test is normal, the test is continued for the next 10 seconds.
4. The process method for optimizing network connection of formation performance aircraft group according to claim 2, characterized in that: In step S303, in the timeout detection, the timeout period is 10s.
5. The process method for optimizing network connection of formation performance aircraft group according to claim 2, characterized in that: In step S305, if the state is switched to COMPLETED, the next step S306 process detection starts.
6. The process method for optimizing network connection of formation performance aircraft group according to claim 2, characterized in that: In step S306, the waiting time is 40S for the WiFi to be reconnected.
7. The process method for optimizing network connection of formation performance aircraft group according to claim 2, characterized in that: In step S307, if the IP address is 169.254.xx, it is currently in the intranet connection state, wait for 10S, if it still remains, perform the above-mentioned WPA reset and wifi reconnection operations.
8. The process method for optimizing network connection of formation performance aircraft group according to claim 2, characterized in that: In step S308, if the RSSI is lower than -80dbm, the WPA software reset script is run to reconnect to the wifi.
9. The process method for optimizing network connection of formation performance aircraft group according to claim 2, characterized in that: In step S310, if TCP communication fails, wait for 20 seconds and continue to reset TCP.
10. A system for optimizing network connection of a formation performance fleet, characterized in that: The system is implemented by the process method for optimizing network connection of a formation performance aircraft group according to any one of claims 1 to 9, and the system includes: The network environment and power-on system (1) are used to set up the network environment required for the formation flight performance, and all the aircraft in the fleet are powered on; A ground station connection system (2), used for initializing the network of fleet aircraft and connecting to the ground station; The aircraft network detection system (3) is used to detect the communication capabilities of the driver layer and the protocol layer layer by layer through the network communication of the formation flight, and conduct continuous testing. After discovering network anomalies, it reconnects to complete the network communication status during the formation flight communication process.
