A method, system and application for reconnecting and re-online configuration of wifi for formation aircraft

By obtaining the wireless communication signal status in stages and adjusting abnormal signals, the problem that formation aircraft cannot be connected and launched at one time is solved, the aircraft is quickly launched and status information is returned, and the efficiency of flight performance is improved.

CN115529681BActive Publication Date: 2024-12-24YIFEI INTELLIGENT CONTROL (HAINAN) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211077590.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-05
Publication Date
2024-12-24
Estimated Expiration
2042-09-05

AI Technical Summary

Technical Problem

In the prior art, formation aircraft cannot connect to the ground station server at one time after powering on, resulting in low efficiency in flight performance. The prior art relies on the disconnection and reconnection mechanism of the wifi module itself, resulting in too long waiting time and some aircraft need to be re-mounted. electricity.

Method used

By obtaining the wireless communication signal status in stages, determining whether the wireless communication module is restarted, adjusting the abnormal signals of individual aircraft, realizing that the group of aircraft is launched as a whole within a specified time, and returning the status information in real time. The specific steps include obtaining the wifi signal strength, restarting the wifi module driver, obtaining the gateway, ping the default gateway and the ground station server, and ensuring network connection.

Benefits of technology

It improves the overall online rate of fleet aircraft, reduces the reconnection time when network abnormalities are found, and improves the efficiency of formation aircraft performance and mission completion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529681B_ABST
    Figure CN115529681B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of unmanned aerial vehicles, and discloses a method, system and application for reconnecting and re-online configuration of wifi for formation aircraft. The method comprises: periodically acquiring the communication status of wireless communication signals, judging whether to restart the wireless communication module based on the communication status, and adjusting the abnormal wireless communication signals that appear in individual aircraft in the formation aircraft, so that the fleet aircraft can be online as a whole within a certain period of time, and the real-time status information of the formation aircraft is transmitted back to the ground station. The present invention solves the problem that the prior art relies on the disconnection and reconnection mechanism of the wifi module itself. During the power-on period of the aircraft, if no wifi is found or the ip address is not reasonably applied for, there will be a long waiting time, and the overall online of the fleet aircraft cannot be realized, and some aircraft need to be re-powered, so that the completion efficiency of the formation aircraft performance or other tasks is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of unmanned aerial vehicles (UAVs), and in particular relates to a method, system and application for reconnecting and re-online WiFi configuration of formation aircraft. Background Art

[0002] During formation aircraft flight performances, some aircraft were unable to connect to the ground station server immediately after being powered on. This resulted in an inability to complete overall control and a full-scale flight performance in a short period of time. The waiting process for restarting the aircraft was long, and operational needs were not met. Designing a solution to ensure that the Wi-Fi configuration of the fleet aircraft could be reconnected and put back online became a technical problem that needed to be solved.

[0003] Through the above analysis, the problems and defects of the existing technology are as follows: the existing technology relies on the disconnection and reconnection mechanism of the WiFi module itself. During the power-on period of the aircraft, if no WiFi is found or the IP address is not reasonably applied for, there will be a long waiting time, and the entire fleet of aircraft cannot be online. Some aircraft need to be repowered, which affects the efficiency of completing formation aircraft performances or performing other tasks. Summary of the Invention

[0004] To overcome the problems existing in the related art, the embodiments disclosed in the present invention provide a method, system and application for reconnecting and getting back online via Wi-Fi configuration of a formation of aircraft.

[0005] The technical solution is as follows: A method for reconnecting and re-online WiFi configuration of a formation aircraft includes:

[0006] The communication status of the wireless communication signal is obtained in stages, and based on the communication status, it is determined whether to restart the wireless communication module. The abnormal wireless communication signals of individual aircraft in the formation are adjusted so that the aircraft in the formation can be online as a whole within a certain period of time, and the real-time status information of the formation aircraft is transmitted back to the ground station.

[0007] In one embodiment, the method for reconnecting and re-online wifi configuration of the formation aircraft includes the following steps:

[0008] S1: After the aircraft is powered on, the application starts running to obtain the current Wi-Fi signal strength;

[0009] S2: If the Wi-Fi signal strength is sufficient, proceed to the next step; if the Wi-Fi signal strength is insufficient, and the cumulative duration exceeds 15s to 30s, preferably 15s, restart the Wi-Fi module driver;

[0010] S3: Get the Wi-Fi gateway. If the acquisition fails for more than 15s to 30s, preferably 15s, then restart the Wi-Fi driver. If the acquisition succeeds, proceed to the next step.

[0011] S4: Ping the default gateway. If more than 3 packets can be pinged, proceed to the next step. Otherwise, if the ping time exceeds 15s to 30s (preferably 15s), restart the driver.

[0012] S5: Ping the static URL of the ground station server. If the ping is successful, the network connection is considered normal and the signal is sent back to the ground station. Test again after 5 to 10 seconds. 5 seconds is preferred.

[0013] In one embodiment, in step S1, obtaining the current WiFi signal strength includes: obtaining system WiFi signal related information through the Linux system wpa_cli status command.

[0014] In one embodiment, in step S3 of obtaining the Wi-Fi gateway, the system Wi-Fi signal related information including gateway information and signal strength is obtained through the wpa_cli status command.

[0015] In one embodiment, pinging the default gateway in step S4 includes:

[0016] Under Linux, get the relevant information command: ping-c3-qAI wlan0;

[0017] Just type and get relevant results.

[0018] In the present invention, ping is a command under Windows, Unix and Linux systems. Ping is also a communication protocol and is part of the TCP / IP protocol. The "ping" command can be used to check whether the network is connected, which can be very helpful in analyzing and determining network failures.

[0019] In one embodiment, the pinging in step S5 includes the following steps:

[0020] Command: ping 172.168.0.201;

[0021] The MCU responds to the message:

[0022] PING 172.168.0.201(172.168.0.201)56(84)bytes of data.

[0023] 64bytes from 172.168.0.201:icmp_seq=1ttl=62time=9.36ms

[0024] 64bytes from 172.168.0.201:icmp_seq=2ttl=62time=5.50ms

[0025] 64bytes from 172.168.0.201:icmp_seq=3ttl=62time=4.50ms

[0026] ---172.168.0.201ping statistics---

[0027] 3packets transmitted, 3received, 0% packet loss, time 8013ms

[0028] rtt min / avg / max / mdev=4.509 / 10.089 / 22.208 / 5.854ms.

[0029] Another object of the present invention is to provide a formation aircraft WiFi configuration reconnection and re-online system comprising:

[0030] The current signal strength acquisition module is used to obtain the current Wi-Fi signal strength after the aircraft is powered on and the application starts running;

[0031] The signal strength judgment module is used to proceed to the next step if the WiFi signal strength is sufficient; if the WiFi signal strength is insufficient and exceeds 15s to 30s, the WiFi module driver is restarted;

[0032] The gateway acquisition module is used to obtain the Wi-Fi gateway. If the acquisition fails for more than 15s to 30s, preferably 15s, the Wi-Fi driver will be restarted. If the acquisition succeeds, proceed to the next step.

[0033] The default gateway module is used to ping the default gateway. If more than 3 packets can be pinged, proceed to the next step; otherwise, the cumulative ping time exceeds 15s to 30s, preferably 15s, and the driver is restarted.

[0034] The static URL judgment module is used to ping the static URL of the ground station server. If it can be pinged, it is considered that the network connection is normal and the test will be carried out again after 5s to 10s.

[0035] Another object of the present invention is to provide an information data processing terminal, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method for reconnecting and re-online configuration of the formation aircraft WiFi.

[0036] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to execute the method for reconnecting and re-online configuration of the Wi-Fi of the formation aircraft.

[0037] Another object of the present invention is to provide a formation aircraft, which is equipped with the formation aircraft WiFi configuration reconnection and re-online system.

[0038] Combining all the above technical solutions, the advantages and positive effects of the present invention are as follows:

[0039] First, in view of the technical problems existing in the above-mentioned prior art and the difficulty of solving the problems, this paper closely combines the technical solutions to be protected by the present invention and the results and data during the research and development process, and analyzes in detail and in depth how the technical solutions of the present invention solve the technical problems, and some creative technical effects brought about by solving the problems, which are specifically described as follows:

[0040] The present invention solves the problem that the existing technology relies on the disconnection and reconnection mechanism of the Wi-Fi module itself. During the power-on period of the aircraft, if no Wi-Fi is found or no IP address is reasonably applied for, there will be a long waiting time, and the entire fleet of aircraft cannot be online, and some aircraft need to be repowered. This improves the efficiency of completing formation aircraft performances or performing other tasks.

[0041] Second, considering the technical solution as a whole or from the perspective of the product, the technical effects and advantages of the technical solution to be protected by the present invention are described in detail as follows:

[0042] The present invention provides a method for reconnecting and re-online WiFi configuration of formation aircraft. By designing a scheme for periodically obtaining WiFi status and then deciding whether to restart the WiFi module, the method enables rapid online completion of the entire fleet of aircraft and the transmission of status information back to the ground station within a specified time.

[0043] The present invention improves the overall online rate of a formation aircraft group and can effectively reconnect and restore the network when an aircraft network anomaly occurs.

[0044] Compared with the existing technology, the advantages of the present invention further include: the present invention uses multiple detection mechanisms to determine the reasons why aircraft fail to go online normally, and then performs corresponding solutions and processing one by one, thereby ensuring the overall online rate of the fleet's aircraft in a short time. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0046] Figure 1 This is a flow chart of a method for reconnecting and getting back online to a Wi-Fi configuration for a formation of aircraft provided by an embodiment of the present invention;

[0047] Figure 2 This is a schematic diagram of a method for reconnecting and getting back online to a Wi-Fi configuration for a formation of aircraft provided by an embodiment of the present invention;

[0048] Figure 3 Schematic diagram of a Wi-Fi configuration reconnection and re-online system for a formation aircraft provided by an embodiment of the present invention;

[0049] Figure 4 The RSSI provided by the embodiment of the present invention is the WiFi signal quality, and the signal quality is between 40 and 60;

[0050] In the figure: 1. Current signal strength acquisition module; 2. Signal strength judgment module; 3. Gateway acquisition module; 4. Gateway default module; 5. Static URL judgment module. DETAILED DESCRIPTION

[0051] To make the above-mentioned objects, features, and advantages of the present invention more readily apparent, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings. The following description sets forth numerous specific details to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways than those described herein, and those skilled in the art may make similar modifications without departing from the scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0052] 1. Explanation of the embodiment:

[0053] The method for reconnecting and re-online WiFi configuration of formation aircraft provided in an embodiment of the present invention periodically obtains the communication status of wireless communication signals, determines whether to restart the wireless communication module based on the communication status, and adjusts abnormal wireless communication signals that occur in individual aircraft in the formation aircraft, so that the aircraft in the formation can be online as a whole within a certain period of time, and transmits real-time status information of the formation aircraft back to the ground station.

[0054] Example 1

[0055] like Figure 1 As shown, the method for reconnecting and getting back online to the Wi-Fi configuration of a formation aircraft provided by an embodiment of the present invention includes the following steps:

[0056] S101, after the aircraft is powered on, the application starts running to obtain the current Wi-Fi signal strength;

[0057] S102: If the Wi-Fi signal strength is sufficient, proceed to the next step; if the Wi-Fi signal strength is insufficient, and the cumulative duration exceeds 15s to 30s, preferably 15s, restart the Wi-Fi module driver;

[0058] S103, obtain the Wi-Fi gateway. If the acquisition fails for more than 15s to 30s, preferably 15s, restart the Wi-Fi driver. If the acquisition succeeds, proceed to the next step.

[0059] S104: Ping the default gateway. If the ping succeeds for more than 3 packets, proceed to the next step. Otherwise, if the ping fails for more than 15 seconds, restart the driver.

[0060] S105, ping the static URL of the ground station server. If the ping is successful, the network connection is considered normal and the test is repeated after 5s to 10s, preferably 5s.

[0061] Example 2

[0062] Based on the method for reconnecting and getting back online the wifi configuration of the formation aircraft provided in Example 1, further, in step S101, obtaining the current wifi signal strength includes: obtaining system wifi signal related information through the linux system wpa_cli status command (a built-in function of the linux system).

[0063] Example 3

[0064] Based on the method for reconnecting and re-online of the Wi-Fi configuration of the formation aircraft provided in Example 1, further,

[0065] In step S102, it is determined whether the Wi-Fi signal strength meets the communication requirements based on the different Wi-Fi modules and Wi-Fi antenna characteristics used.

[0066] In step S103, the wifi gateway is obtained and the system wifi signal related information including gateway information, signal strength, etc. can be obtained through the wpa_cli status command.

[0067] Example 4

[0068] Based on the method for reconnecting and re-online of the Wi-Fi configuration of the formation aircraft provided in Example 1, further,

[0069] In step S104, pinging the default gateway includes:

[0070] Under Linux, get the relevant information command: ping-c3-qAI wlan0;

[0071] Just type and get relevant results.

[0072] Example 5

[0073] Based on the method for reconnecting and re-online of the Wi-Fi configuration of the formation aircraft provided in Example 1, further,

[0074] In step S105, the pinging process includes the following steps:

[0075] The pinging in step S5 includes the following steps:

[0076] Command: ping 172.168.0.201;

[0077] The MCU responds to the message:

[0078] PING 172.168.0.201(172.168.0.201)56(84)bytes of data.

[0079] 64bytes from 172.168.0.201:icmp_seq=1ttl=62time=9.36ms

[0080] 64bytes from 172.168.0.201:icmp_seq=2ttl=62time=5.50ms

[0081] 64bytes from 172.168.0.201:icmp_seq=3ttl=62time=4.50ms

[0082] ---172.168.0.201ping statistics---

[0083] 3packets transmitted, 3received, 0% packet loss, time 8013ms

[0084] rtt min / avg / max / mdev=4.509 / 10.089 / 22.208 / 5.854ms.

[0085] Example 6

[0086] like Figure 2 As shown, the method for reconnecting and getting back online to the Wi-Fi configuration of a formation aircraft provided by an embodiment of the present invention includes the following steps:

[0087] Step 1: Power on the fleet aircraft and check the Wi-Fi connection status;

[0088] Step 2: Get the Wi-Fi signal strength. If the Wi-Fi signal strength is normal, proceed to the next step. If the Wi-Fi signal strength is abnormal, skip to steps 3, 4, 5, and 6 to check whether it exceeds 15 seconds.

[0089] Step 3: Get the Wi-Fi gateway. If it is normal, proceed to the next step. If it is abnormal, jump to step 4, step 5, and step 6 to perform the step of checking whether it exceeds 15s to 30s; 15s is preferred.

[0090] Step 4: Ping the default gateway. If normal, proceed to the next step. If abnormal, skip to steps 5 and 6 to check whether the ping time exceeds 15 seconds.

[0091] Step 5: Ping the static URL. If the network connection is normal, proceed to the next step. If not, skip to step 6 and check whether it exceeds 15 seconds.

[0092] Step 6: Perform the test again after 5 seconds.

[0093] In the embodiment of the present invention, in steps 2 to 6, when the step of detecting whether it exceeds 15 seconds is performed, if it does not exceed 15 seconds, step 1 is executed; if it exceeds 15 seconds, the wifi driver is reset, and after waiting for 60 seconds, step 1 is executed.

[0094] Example 7

[0095] like Figure 3 As shown, the formation aircraft Wi-Fi configuration reconnection and re-online system provided by the embodiment of the present invention includes:

[0096] Current signal strength acquisition module 1 is used to obtain the current Wi-Fi signal strength after the aircraft is powered on and the application starts running;

[0097] Signal strength judgment module 2 is used to proceed to the next step if the WiFi signal strength is sufficient; if the WiFi signal strength is insufficient and the cumulative time exceeds 15 seconds, the WiFi module driver is restarted;

[0098] Gateway acquisition module 3 is used to obtain the WiFi gateway. If the acquisition fails for more than 15 seconds, the WiFi driver will be restarted. If the acquisition succeeds, proceed to the next step.

[0099] Gateway default module 4 is used to ping the default gateway. If more than 3 packets can be pinged, proceed to the next step; otherwise, if the cumulative ping time exceeds 15 seconds, restart the driver.

[0100] The static website address judgment module 5 is used to ping the static website address of the ground station server. If the ping is successful, it is considered that the network connection is normal and another test is performed after 5 seconds.

[0101] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0102] The information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and 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 embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into 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, and will not be repeated here.

[0104] 2. Application Examples

[0105] An embodiment of the present invention also 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 of any of the above-mentioned method embodiments when executing the computer program.

[0106] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0107] An embodiment of the present invention also provides an information data processing terminal, which is used to provide a user input interface to implement the steps in the above-mentioned method embodiments when executed on an electronic device. The information data processing terminal is not limited to mobile phones, computers, and switches.

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

[0109] An embodiment of the present invention provides a computer program product. When the computer program product is run on an electronic device, the electronic device can implement the steps of the above-mentioned method embodiments when executing the computer program product.

[0110] If the integrated unit is implemented as 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 invention implements all or part of the process of the above-mentioned embodiment method by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium can at least include: any entity or device capable of carrying computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, mobile hard drive, magnetic disk, or optical disk.

[0111] III. Evidence of the relevant effects of the embodiments:

[0112] like Figure 4 As shown, RSSI is the WiFi signal quality. If the signal quality is between 40 and 60, it is considered to be good. Figure 4 The result of executing the ping command is also shown in the figure, and the WiFi status is normal.

[0113] The above description is only a preferred specific implementation method of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with this technical field within the technical scope disclosed by the present invention and within the spirit and principles of the present invention should be covered by the scope of protection of the present invention.

Claims

1. A method for reconnecting and re-online of WiFi configuration of a formation aircraft, characterized in that: The method for reconnecting and re-online configuration of the formation aircraft WiFi includes: Periodically obtain the communication status of the wireless communication signal, determine whether to restart the wireless communication module based on the communication status, and adjust the abnormal wireless communication signals of individual aircraft in the formation aircraft, so that the aircraft in the fleet can be online as a whole within a certain period of time, and transmit the real-time status information of the formation aircraft back to the ground station; The method for reconnecting and re-online configuration of the formation aircraft WiFi includes the following steps: S1, after the aircraft is powered on, the application starts running to obtain the current WiFi signal strength; S2, if the wifi signal strength is normal, proceed to the next step; if the wifi signal strength is abnormal and exceeds 15s cumulatively, restart the wifi module driver; S3, obtain the WiFi gateway. If the acquisition fails for more than 15 seconds, restart the WiFi driver. If the acquisition succeeds, proceed to the next step. S4, ping the default gateway. If the ping succeeds for more than 3 packets, proceed to the next step. Otherwise, if the ping fails for more than 15 seconds, restart the driver. S5, ping the static URL of the ground station server. If it can be pinged, it is considered that the network connection is normal, and the signal is sent back to the ground station. Then test again after 5 seconds.

2. The method for reconnecting and re-online of the wifi configuration of a formation aircraft according to claim 1, characterized in that: In step S1, obtaining the current signal strength of the wifi includes: obtaining system wifi signal related information through the linux system wpa_cli status command.

3. The method for reconnecting and re-online of the wifi configuration of a formation aircraft according to claim 1, characterized in that: In step S3, the wifi gateway is obtained, and the system wifi signal related information including gateway information and signal strength is obtained through the wpa_cli status command.

4. The method for reconnecting and re-online of the wifi configuration of a formation aircraft according to claim 1, characterized in that: Pinging the default gateway in step S4 includes: Under Linux, get the relevant information command: ping-c3-qAI wlan0; Just type and get relevant results.

5. The method for reconnecting and re-online of the wifi configuration of a formation aircraft according to claim 1, characterized in that: In step S5, the pinging process includes the following steps: Command: ping 172.168.0.201; The microcontroller replies to the message.

6. A fleet aircraft wifi configuration reconnection and re-online system, characterized in that: The fleet aircraft wifi configuration reconnection and re-online system includes: The current signal strength acquisition module (1) is used to obtain the current WiFi signal strength after the aircraft is powered on and the application starts running; The signal strength judgment module (2) is used to proceed to the next step if the wifi signal strength is normal; if the wifi signal strength is abnormal and the cumulative time exceeds 15 seconds, restart the wifi module driver; The gateway acquisition module (3) is used to acquire the WiFi gateway. If the acquisition fails for more than 15 seconds, the WiFi driver will be restarted. If the acquisition succeeds, the next step will be performed. The default gateway module (4) is used to ping the default gateway. If more than 3 packets can be pinged, proceed to the next step; otherwise, if the cumulative ping exceeds 15 seconds, restart the driver; The static website address judgment module (5) is used to ping the static website address of the ground station server. If the ping is successful, it is considered that the network connection is normal and the detection is performed again after 5 seconds.

7. An information data processing terminal, characterized in that: The information data processing terminal includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method for reconnecting and re-online configuration of the formation aircraft WiFi as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the method for reconnecting and re-online configuration of Wi-Fi of a formation of aircraft as claimed in any one of claims 1 to 5.

9. A formation aircraft, characterized in that: The formation aircraft is equipped with the formation aircraft wifi configuration reconnection and re-online system as described in claim 6.