A method for restoring 5G gateways in weak network disconnection in power industry applications
By implementing software detection and hierarchical ladder network residing and processing mechanisms on 5G gateways, the problem of weak network disconnection in the power industry is solved, and the rapid recovery and reliable and stable transmission of the network are achieved, reducing the failure loss of power services.
Patent Information
- Application Number
- CN202211488807.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2042-11-25
AI Technical Summary
In the application of the power industry, 5G gateways may experience weak network disconnection, resulting in unstable network and inability to recover on its own, affecting the reliability of power services.
Through software detection and hierarchical ladder network-based recovery processing mechanism, the rapid recovery capability of 5G gateways is achieved. Specific steps include link connectivity detection, signal strength detection, restarting the module protocol stack and 5G module, etc., to ensure that the network can be quickly recovered when the weak network is off the network.
It effectively avoids long-term network abnormalities, reduces the failure loss of power services, improves the self-restoration ability of the network, and ensures reliable and stable transmission guarantees of the network.
Smart Images

Figure CN115942366B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a recovery guarantee method for a 5G gateway in a weak network disconnection in the application of the electric power industry, and belongs to the technical field of electromechanical equipment installation. Background Art
[0002] In actual use, 5G wireless networks may be unstable, with signal drift and signal strength jitter changes, which may cause network instability or even disconnection and inability to recover. The application scenarios of 5G in the power industry are mainly divided into: control services, collection services, mobile application services, and multi-station integration services. Taking differential protection as an example, 5G+distribution network differential protection monitors the real-time current values of nodes at both ends of the distribution line through 5G gateways and 5G+distribution network differential protection terminals, and performs interactive comparison to determine whether the connection line is faulty. Once a fault is found, the faulty line is quickly located and cut off to complete fault isolation and avoid chain reactions. At the same time, the backup line can be started in real time to achieve fault recovery through line switching. These need to be based on the premise of 5G stable network and access. If the 5G gateway is unstable and cannot be restored, it will eventually lead to a long-term line failure that cannot be self-recovered. With the rapid development of 5G infrastructure construction and application in my country, 5G ToB networks have been continuously implemented in industries or fields such as power, smart factories, parks, security, cities, and live broadcasts, and have played a huge role. There are many control services and power services such as differential protection in the power industry. Once the network is disconnected for a long time, it may cause unpredictable consequences. In view of the needs of the special power industry, 5G networks are required to have high stability and high reliability, and be able to automatically restore the network and restore business links in the event of abnormal network disconnection to ensure the reliable operation of power services. There is no solution that can effectively solve this problem in the existing technology. Summary of the invention
[0003] In order to overcome the above problems, the present invention provides a recovery guarantee method for 5G gateway in weak network disconnection in the power industry application. The method detects and quickly processes through software to achieve the rapid recovery capability of 5G network when it is disconnected from the weak network, avoids the occurrence of long-term network anomalies, and reduces the failure loss of power business to a minimum, aiming to improve the network's self-recovery capability and ensure reliable and stable transmission of the network.
[0004] The technical solution of the present invention is as follows:
[0005] A method for restoring a 5G gateway in a weak network disconnection in an electric power industry application includes the following steps:
[0006] S1. After the terminal completes the first network stationing and obtains the IP address, it performs link connectivity detection and signal strength detection;
[0007] S2. If the detection result is that the task network is abnormal, restart the network search and network stay process, restore the link, increase the network search and network stay times by 1, and execute step S3; otherwise, set the network search and network stay times to 0, and execute step S1 after a preset time;
[0008] S3. Determine whether the number of network searches and network stays exceeds a preset value. If so, restart the 5G module and execute step S1.
[0009] Furthermore, the link connectivity detection and the signal strength detection are performed on multiple service addresses.
[0010] Furthermore, the link connectivity detection and signal strength detection specifically detect the packet loss rate and delay of the network through the packet sending time interval, packet sending timeout time and number of packets sent.
[0011] Furthermore, the recovery during a weak network disconnection specifically includes the following steps:
[0012] T1, let the number of restart module protocol stack be T, T=0, obtain the IP address of the 5G gateway, if the IP address does not exist, execute step T5;
[0013] T2, perform link connectivity detection and signal strength detection to determine whether the link is normal. If so, execute step T5, otherwise execute step T3;
[0014] T3. Search the network and stay on the network by restarting the module protocol stack, and determine whether the module is connected. If so, execute step T4, otherwise execute step T5;
[0015] T4, adding 1 to the number of times the module protocol stack is restarted T, and determining whether the number of times the module protocol stack is restarted exceeds a preset value. If so, completing the hard recovery action by restarting the 5G module, otherwise executing step T3;
[0016] T5. Execute step T1 after a preset time.
[0017] Furthermore, the preset time is 60 seconds, the preset number of times of restarting the module protocol stack is 3, and the interval between each restart of the module protocol stack is 3 seconds.
[0018] Furthermore, in step T4, if the number of times the module protocol stack is restarted does not exceed a preset value, step T3 is executed, further comprising:
[0019] Get the number of times the module protocol stack is restarted T;
[0020] If T=1, then execute step T3 after 120 seconds;
[0021] If T=2, then execute step T4 after 180 seconds.
[0022] Furthermore, the recovery guarantee sub-process for dial-up disconnection is:
[0023] Perform the following steps when the dial-up is disconnected:
[0024] G1, let the number of restart module protocol stack be T, T=0;
[0025] G2, determine whether the dialing is normal, if so, execute step G4, otherwise execute step G3;
[0026] G3, automatically dial and determine whether the dialing is successful, if so, execute step G4, otherwise end the process;
[0027] G4, determine whether the data link is normal, if so, end the process, otherwise execute step G5;
[0028] G5. Determine whether the number of times T of restarting the protocol stack exceeds the preset value. If so, restart the 5G module to complete the hard recovery action. Otherwise, restart the protocol stack, increase the number of times T of restarting the protocol stack by 1, and execute step G2.
[0029] Furthermore, the sub-process of dial-up recovery is:
[0030] Perform the following steps when the network is disconnected or the network is registered:
[0031] M1, let the number of times to restart the module protocol stack be T, T=0;
[0032] M2, determine whether the dialing is normal, if so, execute step M3, otherwise execute step M6;
[0033] M3, determine whether the data link is normal, if so, end the process, otherwise execute step M3;
[0034] M4. Add 1 to the number of times the module protocol stack is restarted T, and determine whether the number of times the module protocol stack is restarted exceeds a preset value. If so, complete the hard recovery action by restarting the 5G module and end the process. Otherwise, execute step M5.
[0035] M5. Restart the module protocol stack and execute step M2;
[0036] M6. Perform automatic dialing and end the process.
[0037] The present invention has the following beneficial effects:
[0038] The present invention uses autonomous detection and hierarchical and step-by-step network recovery processing mechanisms on the 5G gateway to maximize the wireless link of the 5G gateway, and can quickly detect and recover when the network is disconnected, ensuring the automatic recovery of the 5G wireless network, ensuring normal link transmission, and avoiding long-term link failures. Through software detection and rapid processing, the 5G network can achieve rapid recovery capabilities when the weak network is disconnected, avoiding long-term network anomalies, and reducing the failure losses of the power business to a minimum, aiming to improve the network's self-recovery capabilities and ensure reliable and stable transmission of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 Flow chart of the method of the present invention.
[0040] Figure 2 This is the sub-process for recovering when the dial-up is disconnected in the present invention.
[0041] Figure 3 This is the sub-process during dial-up recovery of the present invention.
[0042] Figure 4 This is a sub-process for periodic polling and checking of the present invention. DETAILED DESCRIPTION
[0043] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0044] A method for restoring a 5G gateway in a weak network disconnection in an electric power industry application includes the following steps:
[0045] S1. After the terminal completes the first network stationing and obtains the IP address, it performs link connectivity detection and signal strength detection;
[0046] S2. If the detection result is that the task network is abnormal, restart the network search and network stay process, restore the link, increase the network search and network stay times by 1, and execute step S3; otherwise, set the network search and network stay times to 0, and execute step S1 after a preset time;
[0047] S3. Determine whether the number of network searches and network stays exceeds a preset value. If so, restart the 5G module and execute step S1.
[0048] Furthermore, the link connectivity detection and the signal strength detection are performed on multiple service addresses.
[0049] Furthermore, the link connectivity detection and signal strength detection specifically detect the packet loss rate and delay of the network through the packet sending time interval, packet sending timeout time and number of packets sent.
[0050] Furthermore, the recovery during a weak network disconnection specifically includes the following steps:
[0051] T1, let the number of restart module protocol stack be T, T=0, obtain the IP address of the 5G gateway, if the IP address does not exist, execute step T5;
[0052] T2, perform link connectivity detection and signal strength detection to determine whether the link is normal. If so, execute step T5, otherwise execute step T3;
[0053] T3. Search the network and stay on the network by restarting the module protocol stack, and determine whether the module is connected. If so, execute step T4, otherwise execute step T5;
[0054] T4, adding 1 to the number of times the module protocol stack is restarted T, and determining whether the number of times the module protocol stack is restarted exceeds a preset value. If so, completing the hard recovery action by restarting the 5G module, otherwise executing step T3;
[0055] T5. Execute step T1 after a preset time.
[0056] Furthermore, the preset time is 60 seconds, the preset number of times of restarting the module protocol stack is 3, and the interval between each restart of the module protocol stack is 3 seconds.
[0057] Furthermore, in step T4, if the number of times the module protocol stack is restarted does not exceed a preset value, step T3 is executed, further comprising:
[0058] Get the number of times the module protocol stack is restarted T;
[0059] If T=1, then execute step T3 after 120 seconds;
[0060] If T=2, then execute step T4 after 180 seconds.
[0061] Furthermore, the recovery guarantee sub-process for dial-up disconnection is:
[0062] Perform the following steps when the dial-up is disconnected:
[0063] G1, let the number of restart module protocol stack be T, T=0;
[0064] G2, determine whether the dialing is normal, if so, execute step G4, otherwise execute step G3;
[0065] G3, automatically dial and determine whether the dialing is successful, if so, execute step G4, otherwise end the process;
[0066] G4, determine whether the data link is normal, if so, end the process, otherwise execute step G5;
[0067] G5. Determine whether the number of times T of restarting the protocol stack exceeds the preset value. If so, restart the 5G module to complete the hard recovery action. Otherwise, restart the protocol stack, increase the number of times T of restarting the protocol stack by 1, and execute step G2.
[0068] Furthermore, the sub-process of dial-up recovery is:
[0069] Perform the following steps when the network is disconnected or the network is registered:
[0070] M1, let the number of times to restart the module protocol stack be T, T=0;
[0071] M2, determine whether the dialing is normal, if so, execute step M3, otherwise execute step M6;
[0072] M3, determine whether the data link is normal, if so, end the process, otherwise execute step M3;
[0073] M4. Add 1 to the number of times the module protocol stack is restarted T, and determine whether the number of times the module protocol stack is restarted exceeds a preset value. If so, complete the hard recovery action by restarting the 5G module and end the process. Otherwise, execute step M5.
[0074] M5. Restart the module protocol stack and execute step M2;
[0075] M6. Perform automatic dialing and end the process.
[0076] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure made using the contents of the present invention's specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for restoring a 5G gateway in a weak network disconnection in the power industry, characterized in that: The following steps are involved: S1. After the terminal completes the first network stationing and obtains the IP address, it performs link connectivity detection and signal strength detection; S2. If the detection result is that the task network is abnormal, restart the network search and network stay process, restore the link, increase the network search and network stay times by 1, and execute step S3; otherwise, set the network search and network stay times to 0, and execute step S1 after a preset time; S3. Determine whether the number of network searches and network stays exceeds a preset value. If so, restart the 5G module and execute step S1. Recovery during a weak network disconnection includes the following steps: T1, let the number of restart module protocol stack be T, T=0, obtain the IP address of the 5G gateway, if the IP address does not exist, execute step T5; T2, perform link connectivity detection and signal strength detection to determine whether the link is normal. If so, execute step T5, otherwise execute step T3; T3. Search the network and stay on the network by restarting the module protocol stack, and determine whether the module is connected. If so, execute step T4, otherwise execute step T5; T4, adding 1 to the number of times the module protocol stack is restarted T, and determining whether the number of times the module protocol stack is restarted exceeds a preset value. If so, completing the hard recovery action by restarting the 5G module, otherwise executing step T3; T5, executing step T1 after a preset time; The recovery guarantee sub-process for dial-up disconnection is: Perform the following steps when the dial-up is disconnected: G1, let the number of restart module protocol stack be T, T=0; G2, determine whether the dialing is normal, if so, execute step G4, otherwise execute step G3; G3, automatically dial and determine whether the dialing is successful, if so, execute step G4, otherwise end the process; G4, determine whether the data link is normal, if so, end the process, otherwise execute step G5; G5. Determine whether the number of times T of restarting the protocol stack exceeds a preset value. If so, restart the 5G module to complete the hard recovery action. Otherwise, restart the protocol stack, increase the number of times T of restarting the protocol stack by 1, and execute step G2. The sub-process of dial-up recovery is: Perform the following steps when the network is disconnected or the network is registered: M1, let the number of times to restart the module protocol stack be T, T=0; M2, determine whether the dialing is normal, if so, execute step M3, otherwise execute step M6; M3, determine whether the data link is normal, if so, end the process, otherwise execute step M3; M4. Add 1 to the number of times the module protocol stack is restarted T, and determine whether the number of times the module protocol stack is restarted exceeds a preset value. If so, complete the hard recovery action by restarting the 5G module and end the process. Otherwise, execute step M5. M5. Restart the module protocol stack and execute step M2; M6. Perform automatic dialing and end the process.
2. According to claim 1, the method for restoring and ensuring the 5G gateway in the weak network disconnection in the power industry application is characterized in that: The link connectivity detection and the signal strength detection are performed on multiple service addresses.
3. According to claim 1, the method for restoring and ensuring the 5G gateway in the weak network disconnection in the power industry application is characterized in that: The link connectivity detection and signal strength detection specifically detect the packet loss rate and delay of the network through the packet sending time interval, packet sending timeout time and number of packets sent.
4. According to claim 3, the method for restoring the 5G gateway in the weak network disconnection in the power industry application is characterized in that: The preset time is 60 seconds, the preset number of times to restart the module protocol stack is 3, and the interval between each restart of the module protocol stack is 3 seconds.
5. According to claim 4, the method for restoring and ensuring the 5G gateway in the weak network disconnection in the power industry application is characterized in that: In step T4, if the number of times the module protocol stack is restarted does not exceed the preset value, step T3 is executed, which also includes: Get the number of times the module protocol stack is restarted T; If T=1, then execute step T3 after 120 seconds; If T=2, then execute step T4 after 180 seconds.
Citation Information
Patent Citations
Data processing method and system for terminal equipment and equipment
CN108174400A
Network detection method and device and related equipment
CN111884879A