Control method for automatic recovery of 5G equipment network fault

By setting up multiple parallel routing devices in the 5G communication network and monitoring the status of the WAN port in real time, and using POE reset commands to automatically restore the network outage problem, the network interruption problem caused by 5G equipment crashes is solved, and network stability and bandwidth usage efficiency are improved.

CN119521285APending Publication Date: 2025-02-25HUIZHOU CHUANGJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411561089.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the field of 5G communication, 5G routing devices cannot automatically recover when they crash or the network is disconnected. They usually require manual restart, which is inconvenient to use.

Method used

By setting up multiple parallel 5G routing devices and using load tools to balance the load, the status of each WAN port is monitored in real time. When a network is detected, the POE reset command is used to reset the corresponding WAN port to restore the networking.

Benefits of technology

It realizes automatic recovery of network failures of 5G equipment, avoids the overall network outage caused by crashes in a single device, improves the stability of network connections, and maintains the system stability while increasing bandwidth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521285A_ABST
    Figure CN119521285A_ABST
Patent Text Reader

Abstract

The invention discloses a control method for automatic recovery of a 5G equipment network fault, and belongs to the field of 5G communication. Comprising the following steps: S1, setting a plurality of parallel 5G routing devices on a network for network connection; s2, carrying out load balancing among the plurality of 5G routing devices by using a load tool; and S3, monitoring the WAN port of each 5G routing device in real time, respectively detecting each WAN port, and performing POE reset on the POE port of the corresponding WAN port by adopting a POE instruction when the WAN port is detected to be in an off-network state so as to complete restarting and networking recovery of the 5G routing device. According to the technical scheme of the present invention, by setting a plurality of 5G routing devices, the overall flow of Internet access is averagely distributed to the plurality of 5G routing devices, and when it is detected that the WAN ports are in the off-network state, the POE instructions are adopted to perform POE resetting on the POE ports of the corresponding WAN ports, so that the restart and networking recovery of the 5G routing devices are completed, the bandwidth is increased, and the overall off-network problem caused by the accidental crash of a single 5G device can be avoided at the same time. And the stability of network connection of the whole system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of 5G communications, and in particular relates to a control method for automatic recovery of network failures of 5G devices. Background Art

[0002] In the field of 5G communications, if a routing device freezes or experiences network failures during use, it will not only cause network interruption, but will also fail to recover automatically. It is usually necessary to manually restart the device to restore networking, which is inconvenient to use. Summary of the invention

[0003] To solve the above problems, the purpose of the present invention is to provide a control method for automatic recovery of 5G device network failures, which can increase the bandwidth while avoiding the overall network disconnection problem caused by the accidental crash of a single 5G device, thereby improving the stability of the network connection of the entire system.

[0004] To achieve the above object, the technical solution of the present invention is as follows:

[0005] The present invention provides a control method for automatic recovery of a 5G device network failure, comprising the following steps:

[0006] S1: Set up multiple parallel 5G routing devices on the network for network connection;

[0007] S2: Use load balancing tools to balance loads among multiple 5G routing devices;

[0008] S3: Monitor the WAN ports of each 5G routing device in real time, and test each WAN port separately. When it is detected that the WAN port is disconnected, use the POE command to reset the POE port of the corresponding WAN port to restart the 5G routing device and restore the network.

[0009] Furthermore, in step S1, the 5G routing device includes a 5G router and a switch.

[0010] Furthermore, in step S2, mwan3 uses Linux policy routing to balance outbound traffic on the WAN connections of multiple 5G routing devices. Linux outbound network traffic load balancing is performed with a single IP connection as the smallest unit, not channel bonding (channel-bonding, using multiple WAN connections simultaneously in a connection (such as a single download)). Such load balancing can help speed up multiple different download processes, or let different PCs send traffic from different WAN interfaces, but it will not speed up a single PC's single download speed (unless the download process is divided into multiple independent IP streams by the downloader).

[0011] Further, in step S3, the POE instruction is "poe single-class enable".

[0012] Furthermore, the POE resetting method is: the POE port is powered off for 2 to 5 seconds and then powered on again.

[0013] Further, step S3 comprises the steps of:

[0014] S31: For each WAN port, set the power failure count variable ret, and set the network failure timer variable count in minutes;

[0015] S32: Check once a minute whether the WAN port is disconnected from the network. If the detection result is no, the corresponding ret is reset to 0, the network disconnection timer is reset to 0, and the process returns to re-execute step S32; if the detection result is yes, proceed to step S33;

[0016] S33: Determine the value of variable ret. When the WAN port is disconnected and ret=0, immediately reset POE, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret=1, POE reset is performed after 3 minutes of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret=2, POE reset is performed after 10 minutes of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret>2, POE reset is performed after 2 hours of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32.

[0017] Compared with the prior art, the present invention distributes the overall Internet traffic evenly to multiple 5G devices by setting up multiple 5G routing devices, and detects the WAN port of each 5G device separately. When it is detected that the WAN port is in a disconnected state, the POE command is used to perform a POE reset on the POE port of the corresponding WAN port to complete the restart of the 5G routing device and restore the network connection. While increasing the bandwidth, it can avoid the overall network disconnection problem caused by the accidental crash of a single 5G device, thereby improving the stability of the network connection of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a control flow chart of the control method.

[0019] Figure 2 This is the judgment flow chart of step S3. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0021] To achieve the above object, the technical solution of the present invention is as follows:

[0022] See also Figure 1-2 As shown, this embodiment provides a control method for automatic recovery of a 5G device network failure, including the following steps:

[0023] S1: Set up multiple parallel 5G routing devices on the network for network connection;

[0024] S2: Use load balancing tools to balance loads among multiple 5G routing devices;

[0025] S3: Monitor the WAN ports of each 5G routing device in real time, and test each WAN port separately. When it is detected that the WAN port is disconnected, use the POE command to reset the POE port of the corresponding WAN port to restart the 5G routing device and restore the network.

[0026] Furthermore, in step S1, the 5G routing device includes a 5G router and a switch.

[0027] Furthermore, in step S2, mwan3 uses Linux policy routing to balance outbound traffic on the WAN connections of multiple 5G routing devices. Linux outbound network traffic load balancing is performed with a single IP connection as the smallest unit, not channel bonding (channel-bonding, using multiple WAN connections simultaneously in a connection (such as a single download)). Such load balancing can help speed up multiple different download processes, or let different PCs send traffic from different WAN interfaces, but it will not speed up a single PC's single download speed (unless the download process is divided into multiple independent IP streams by the downloader).

[0028] Further, in step S3, the POE instruction is "poe single-class enable".

[0029] Furthermore, the POE resetting method is: the POE port is powered off for 2 to 5 seconds and then powered on again.

[0030] Further, step S3 comprises the steps of:

[0031] S31: For each WAN port, set the power failure count variable ret, and set the network failure timer variable count in minutes;

[0032] S32: Check once a minute whether the WAN port is disconnected from the network. If the detection result is no, the corresponding ret is reset to 0, the network disconnection timer is reset to 0, and the process returns to re-execute step S32; if the detection result is yes, proceed to step S33;

[0033] S33: Determine the value of variable ret. When the WAN port is disconnected and ret=0, immediately reset POE, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret=1, POE reset is performed after 3 minutes of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret=2, POE reset is performed after 10 minutes of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret>2, POE reset is performed after 2 hours of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32.

[0034] Compared with the prior art, this embodiment sets up multiple 5G routing devices to evenly distribute the overall Internet traffic to multiple 5G devices, and detects the WAN port of each 5G device separately. When it is detected that the WAN port is in a disconnected state, the POE command is used to perform a POE reset on the POE port of the corresponding WAN port to complete the restart of the 5G routing device and restore the network connection. While increasing the bandwidth, it can avoid the overall network disconnection problem caused by the accidental crash of a single 5G device, thereby improving the stability of the network connection of the entire system.

[0035] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A control method for automatic recovery of 5G device network failure, characterized in that: The following steps are involved: S1: Set up multiple parallel 5G routing devices on the network for network connection; S2: Use load balancing tools to balance loads among multiple 5G routing devices; S3: Monitor the WAN ports of each 5G routing device in real time, and test each WAN port separately. When it is detected that the WAN port is disconnected, use the POE command to reset the POE port of the corresponding WAN port to restart the 5G routing device and restore the network.

2. A control method for automatic recovery of a 5G device network failure as claimed in claim 1, characterized in that: In step S2, mwan3 uses Linux policy routing to balance outbound traffic on the WAN connections of multiple 5G routing devices.

3. A control method for automatic recovery of a 5G device network failure as claimed in claim 1, characterized in that: The POE reset method is: the POE port is powered off for 2 to 5 seconds and then powered on again.

4. A control method for automatic recovery of a 5G device network failure as claimed in claim 1, characterized in that: Step S3 includes the steps of: S31: For each WAN port, set the power failure count variable ret, and set the network failure timer variable count in minutes; S32: Check once a minute whether the WAN port is disconnected from the network. If the detection result is no, the corresponding ret is reset to 0, the network disconnection timer is reset to 0, and the process returns to re-execute step S32; if the detection result is yes, proceed to step S33; S33: Determine the value of variable ret. When the WAN port is disconnected and ret=0, immediately reset POE, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret=1, POE reset is performed after 3 minutes of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret=2, POE reset is performed after 10 minutes of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32; when the WAN port status is always disconnected and ret>2, POE reset is performed after 2 hours of disconnection timing, corresponding to ret+1, then count+1 and return to re-execute step S32.