Method and system for processing abnormal disconnection of wireless network

By conducting real-time wireless network abnormality judgment on the energy storage management terminal, and performing multiple repair operations on the abnormal terminal before restarting the wireless network, the problem of restarting the restart strategy in the existing technology affecting normal terminal communications and improving the online rate of the terminal and operation and maintenance efficiency.

CN119402894APending Publication Date: 2025-02-07XUCHANG XJ SOFTWARE TECHNOLOGIES LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411425006.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

When the restart strategy is directly adopted in the prior art, it will affect the network communication of other normal energy storage management terminals in the wireless network, resulting in a low online rate.

Method used

By judging real-time wireless network abnormality for each terminal, repair operations such as re-dial and wireless network reset are performed only for abnormal terminals, and the wireless network restart is not performed until all repair operations are invalid.

Benefits of technology

It effectively reduces the impact on normal wireless network terminals, improves the online rate of the terminal, and reduces operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402894A_ABST
    Figure CN119402894A_ABST
Patent Text Reader

Abstract

The invention relates to a method and a system for processing abnormal disconnection of a wireless network, and belongs to the technical field of wireless networks. The method comprises the following steps of: respectively judging whether a wireless network is abnormal or not for each terminal in real time, resetting the reset and redial count of the terminal which is not abnormal, re-timing the time interval between the reset and the last restart, continuing to judge, and carrying out a first process on the terminal which is abnormal; the first process comprises the following steps: if the redialing count reaches a redialing set value greater than 0, performing a second process, otherwise, redialing the terminal and increasing the redialing count, and continuing to judge; the second process comprises the steps that if the reset count reaches a reset set value larger than 0, the third process is carried out, otherwise, the terminal is reset, the reset count is increased, the reset count is reset, and judgment is continued; the third process comprises the following steps: if the time interval with the last restart reaches the set time, performing restart, zero-clearing reset and redial counting on the wireless network, and continuing to judge; otherwise, resetting, re-dialing, resetting and counting, and continuing to judge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of wireless network, and in particular relates to a method and system for processing abnormal disconnection of a wireless network. Background Art

[0002] The effective access of energy storage equipment effectively prevents the waste of electricity on the power generation side during the off-peak period and alleviates the power shortage during the peak period. Energy storage management terminals are mostly located near the user side. The energy storage management terminals are scattered and far apart. Wireless (such as 4G wireless network) is often used to transmit data to the cloud platform. Therefore, ensuring the online rate of energy storage management terminals is crucial for background data monitoring and energy scheduling.

[0003] At present, any abnormal network disconnection of individual or all energy storage management terminals caused by network congestion or device vibration will make it impossible for the energy storage management terminal data to be sent to the cloud platform, seriously affecting the power dispatch on the user side and increasing the troubleshooting cost of power operation and maintenance personnel. In order to promptly solve the problems caused by abnormal wireless network disconnection, the existing technology usually directly restarts the network after detecting that the energy storage management terminal has a wireless network disconnection, so that the disconnected energy storage management terminal can reconnect to the wireless network, but each restart will affect the normal network communication of other normal energy storage management terminals in the wireless network, resulting in a low online rate of the energy storage management terminal. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for processing abnormal disconnection of a wireless network, so as to solve the problem in the prior art that directly adopting a restart strategy affects the originally normal network communication of other normal energy storage management terminals in the wireless network, resulting in a low online rate of the energy storage management terminal.

[0005] In order to solve the above technical problems, the present invention provides a method for processing abnormal disconnection of a wireless network, the method comprising: performing real-time judgment on each terminal whether an abnormality occurs in the wireless network, clearing the reset and redial counts of the terminal without abnormality, re-counting the time interval with the last restart, continuing the judgment, and performing the first process on the terminal with abnormality; The first process includes: if the redial count reaches a redial setting value greater than 0, then the second process is performed, otherwise the terminal is redialed and the redial count is increased, and the judgment is continued; The second process includes: if the reset count reaches a reset setting value greater than 0, the third process is performed, otherwise the terminal is reset and the reset count is increased, the redial count is cleared and the judgment is continued; The third process includes: if the time interval from the last restart reaches the set time, restarting the wireless network, clearing the reset and redial counts and continuing the judgment; otherwise, clearing the redial and reset counts and continuing the judgment.

[0006] Furthermore, the set time length increases according to the number of restart times, and when the set time length increases to reach the corresponding set upper limit value, it will no longer increase.

[0007] Furthermore, the method of performing real-time judgment on each terminal as to whether there is an abnormality in the wireless network includes: if the real-time detection of whether the wireless network of a terminal is abnormal shows a wireless network abnormality for a set number of consecutive times, it is determined that there is an abnormality in the wireless network of the terminal; the set number is greater than or equal to 2.

[0008] Further, the redial setting value is greater than or equal to a value reached by the redial count after being increased twice.

[0009] Further, the reset setting value is greater than or equal to a value reached by the reset count after being increased twice.

[0010] Furthermore, the reset and redial counts of the terminals without abnormalities are cleared, and the duration of the interval with the last restart is re-calculated. The method of continuing the judgment includes: clearing the reset and redial counts of the terminals without abnormalities, and re-calculating the duration of the interval with the last restart, and then starting the judgment after setting the judgment duration.

[0011] Furthermore, after redialing and increasing the redial count, the method of continuing the judgment includes: after redialing and increasing the redial count, setting the redial duration at intervals and then starting the judgment.

[0012] Furthermore, the method of resetting and increasing the reset count, clearing the redial count and continuing the judgment includes: resetting and increasing the reset count, clearing the redial count and then starting the judgment after setting the reset time interval.

[0013] To solve the above technical problem, the present invention further provides a system for processing abnormal disconnection of a wireless network, including a processor, wherein the processor is used to execute a computer program to implement the steps of a method for processing abnormal disconnection of a wireless network.

[0014] The beneficial effect of the above technical solution is as follows: the present invention provides a new method for handling abnormal network disconnection. After determining that an abnormality has occurred in the network where a terminal exists, the method only attempts to repair the network status of the abnormal terminal by redialing, resetting the wireless network and other repair operations that do not affect the normal network communication of other normal energy storage management terminals. Only when each repair operation has been tried and indeed fails to take effect, the entire wireless network is restarted, thereby minimizing the impact on terminals in the normal wireless network as much as possible, thereby solving the problem of low terminal online rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 The present invention is a flowchart of a method for processing abnormal disconnection of a wireless network according to an embodiment of the method for processing abnormal disconnection of a wireless network. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings and embodiments.

[0017] Embodiment of a method for handling abnormal disconnection of a wireless network: A method for processing abnormal disconnection of a wireless network in this embodiment specifically comprises the following steps: performing real-time judgment on each terminal as to whether an abnormality occurs in the wireless network; continuing to judge and clearing previous repair operation records for terminals with no abnormality in the wireless network; and attempting various repair operations that do not affect the originally normal network communication of other normal energy storage management terminals for terminals with abnormal wireless networks; and restarting the wireless network only when none of these operations can restore the terminal with abnormal wireless network to a normal state. This can effectively avoid network interruptions caused by network congestion, terminal vibration, etc., greatly improve the online rate of the terminal, ensure power dispatching, and save operation and maintenance time and costs.

[0018] The method for handling abnormal disconnection of a wireless network specifically includes: Perform real-time judgment on each terminal to determine whether the wireless network is abnormal, reset and redial counts of the terminals without abnormalities, re-count the time interval with the last restart, continue to judge, and perform the first process on the terminals with abnormalities; The first process includes: if the redial count reaches a redial setting value greater than 0, the second process is performed, otherwise the terminal is redialed and the redial count is increased, and the judgment is continued; The second process includes: if the reset count reaches a reset setting value greater than 0, the third process is performed, otherwise the terminal is reset and the reset count is increased, the redial count is cleared and the judgment is continued; The third process includes: if the time interval from the last restart reaches the set time, the wireless network is restarted, the reset and redial counts are cleared and the judgment is continued; otherwise, the redial and reset counts are cleared and the judgment is continued.

[0019] After determining that an abnormality has occurred in the network where a terminal exists, the present invention attempts to repair the network status of only the abnormal terminal by redialing, resetting the wireless network and other repair operations that do not affect the originally normal network communications of other normal energy storage management terminals. Only when each repair operation has been tried and indeed fails to take effect, the entire wireless network is restarted, thereby minimizing the impact on terminals in the normal wireless network and solving the problem of low terminal online rate.

[0020] Specifically, the terminal mentioned in this embodiment is the energy storage management terminal; the method of performing real-time judgment on each terminal whether the wireless network is abnormal includes: if the real-time detection of whether the wireless network is abnormal for a certain terminal shows a detection result of wireless network abnormality for a set number of consecutive times, it is determined that the wireless network of the terminal is abnormal; the set number is greater than or equal to 2. Therefore, it is equivalent to determining that the wireless network of the terminal is abnormal only when the wireless network abnormality of a certain terminal is detected for multiple consecutive times, which avoids the temporary disconnection of the terminal's wireless network due to temporary fluctuations in the wireless network being misjudged as a wireless network abnormality; in this embodiment, Figure 1 As shown, the set number is 3; in other embodiments, other numbers greater than or equal to 2 can be used according to actual needs.

[0021] Each time each terminal is started (maybe normally or restarted), the reset count and redial count are set to 0; the abnormal restart interval (that is, the set duration) is read. If there is no abnormal restart interval, the abnormal restart interval is regarded as 0, and the startup time is recorded (for calculating the restart time when restarting); Check whether the wireless network of each terminal is normal (by pinging the specified IP of each terminal to determine whether the wireless network of each terminal is normal). If it is not normal, re-check and the detection count will increase; if it is normal, continue to check and the detection count will be cleared; If the wireless network status of a terminal is determined to be abnormal (i.e. abnormal) according to the detection results, a replay (i.e. redial) is performed. After the redial count increases, a real-time judgment is made on whether the wireless network of the terminal is abnormal (by pinging the specified IP of the terminal to determine whether the wireless network of the terminal is normal).

[0022] If the wireless network status of the terminal is still abnormal after the number of redial times reaches the redial setting value (by pinging the specified IP of the terminal to determine whether the terminal's wireless network is normal), reset the wireless module of the terminal (that is, control the wireless module of the terminal to power on again to reset the terminal) and increase the reset count, clear the redial count and re-detect the wireless network status.

[0023] If the wireless network status is still abnormal after the number of times the terminal resets the wireless module reaches the reset setting value, it is determined whether the set duration corresponding to the restart interval has been reached. If not, the restart flag is set (set to TRUE), and the reset count and redial count are reset (equivalent to continuing to try if the redial and reset attempts are completed but the restart time has not been reached), and a real-time judgment is made on whether the wireless network of the terminal is abnormal; if the restart interval setting duration is reached, the restart interval duration is recorded, and after the wireless network is restarted, a real-time judgment is made on whether the wireless network of the terminal is abnormal.

[0024] In this embodiment, the set time length increases according to the number of restart times, and when the set time length increases to reach the corresponding set upper limit value, it will no longer increase.

[0025] Specifically, the above-mentioned method of increasing the set time corresponding to the abnormal restart interval is used to prevent restarts from being too frequent. The restart interval is gradually lengthened, and the restart intervals are: 0 seconds, 5 minutes, 10 minutes, 15 minutes, 30 minutes, 60 minutes, 2 hours, and 4 hours. To prevent temporary disconnection due to equipment maintenance for a period of time, resulting in a long recovery time, it is fixed at 4 hours after reaching 4 hours and will not be increased.

[0026] In this embodiment, the redial setting value is greater than or equal to the value reached by the redial count after two increases; and the reset setting value is greater than or equal to the value reached by the reset count after two increases. In fact, as long as the redial setting value ensures that the terminal can redial more than twice and the reset setting value ensures that the terminal can reset more than twice, it will be sufficient.

[0027] Specifically, the redial setting value and the reset setting value are inherent values ​​of the terminal, and can also be set by the terminal. The redial setting value is used to compare with the redial count to determine whether the wireless module needs to be reset. The reset setting value is used to compare with the reset count to determine whether the network needs to be restarted.

[0028] The count after redialing and resetting is not necessarily fixed to increase by 1, and can be set as needed. When increasing the redial count and reset count, it is not necessary to increase by a fixed number. Each increase value can be any of several set values ​​greater than 0. On this basis, the redial setting value and the reset setting value can be set as needed. In this embodiment, each time a redial is performed, the redial count is increased by 1, and the redial setting value is 3; similarly, each time a reset is performed, the reset count is increased by 1, and the reset setting value is 3.

[0029] Furthermore, if the real-time detection of whether the wireless network of a terminal is abnormal is detected a set number of times continuously and a detection result of wireless network abnormality appears, then the method for determining that the wireless network of the terminal is abnormal includes: if the real-time detection of whether the wireless network of a terminal is abnormal is detected a set number of times continuously and a detection result of wireless network abnormality appears, then it is determined that the wireless network of the terminal is abnormal.

[0030] Specifically, the real-time detection of whether the wireless network of a terminal is abnormal is actually a periodic real-time detection. Once the real-time judgment of whether the wireless network of each terminal is abnormal is started, the periodic real-time detection of whether the wireless network of a terminal is abnormal is started; for example, when the period is 10s (i.e. Figure 1 , check whether the wireless network of each terminal is normal (by pinging the specified IP of each terminal to determine whether the wireless network of each terminal is normal). If the test result is normal, the reset and redial counts are cleared, the restart interval is restarted and delayed for 10 seconds before continuing to check whether the wireless network of each terminal is normal next time; as long as the test result is normal, it will delay for 10 seconds before continuing to check the wireless network of each terminal next time; once the test result is abnormal and it occurs for the set number of consecutive times, it is determined that the wireless network of the terminal is abnormal, and the first process is entered.

[0031] Specifically, it is detected whether the wireless network of the terminal is normal (by pinging the designated IP of each different terminal to determine whether the wireless network of each different terminal is normal). If it is not normal, the wireless network status of the terminal is re-detected after a delay of 10 seconds.

[0032] In this embodiment, after redialing and increasing the redial count, the method of continuing to judge includes: after redialing and increasing the redial count, setting the redial time interval and then starting to judge.

[0033] Specifically, after dialing, a delay of m seconds is performed (the value of m is determined according to the dialing duration and is set to 20 by default), and after the delay, the wireless network status of the terminal is re-detected (by pinging the designated IP of each different terminal to determine whether the wireless network of each different terminal is normal).

[0034] In this embodiment, the method of resetting and increasing the reset count, clearing the redial count and continuing to judge includes: resetting and increasing the reset count, clearing the redial count and then setting the reset time interval and then starting to judge.

[0035] Specifically, after resetting, a delay of n seconds (the value of n is determined according to the reset duration, and is set to 30 by default) is performed to clear the redial count, and the wireless network status of the terminal is re-detected after the delay.

[0036] An embodiment of a system for processing abnormal disconnection of a wireless network: This embodiment also provides a processing system for abnormal disconnection of a wireless network, including a processor, the processor is used to execute a computer program to implement the steps of the processing method for abnormal disconnection of a wireless network. The specific process, principle and effect of the processing system for abnormal disconnection of a wireless network have been described in detail in the embodiment of the processing method for abnormal disconnection of a wireless network, and will not be repeated here.

[0037] Specific implementation methods are given above, but the present invention is not limited to the described implementation methods. The basic idea of ​​the present invention lies in the above basic scheme. For ordinary technicians in this field, it does not take creative work to design various deformed models, formulas, and parameters according to the teachings of the present invention. Changes, modifications, substitutions, and variations of the implementation methods without departing from the principles and spirit of the present invention still fall within the scope of protection of the present invention.

Claims

1. A method for processing abnormal disconnection of a wireless network, characterized in that: The method comprises: performing real-time judgment on each terminal whether an abnormality occurs in the wireless network, clearing the reset and redial counts of the terminal without abnormality, re-counting the time interval with the last restart, continuing the judgment, and performing the first process on the terminal with abnormality; The first process includes: if the redial count reaches a redial setting value greater than 0, then the second process is performed, otherwise the terminal is redialed and the redial count is increased, and the judgment is continued; The second process includes: if the reset count reaches a reset setting value greater than 0, the third process is performed, otherwise the terminal is reset and the reset count is increased, the redial count is cleared and the judgment is continued; The third process includes: if the time interval from the last restart reaches the set time, restarting the wireless network, clearing the reset and redial counts and continuing the judgment; otherwise, clearing the redial and reset counts and continuing the judgment.

2. The method for processing abnormal disconnection of a wireless network according to claim 1, characterized in that: The set time length increases according to the number of restarts, and when the set time length increases to reach the corresponding set upper limit value, it will no longer increase.

3. The method for processing abnormal disconnection of a wireless network according to claim 1 or 2, characterized in that: The method of performing real-time judgment on each terminal whether the wireless network is abnormal includes: if the real-time detection of whether the wireless network is abnormal for a terminal shows a wireless network abnormality for a set number of consecutive times, it is determined that the wireless network of the terminal is abnormal; the set number is greater than or equal to 2.

4. The method for processing abnormal disconnection of a wireless network according to claim 1 or 2, characterized in that: The redial setting value is greater than or equal to a value reached when the redial count is increased twice.

5. The method for processing abnormal disconnection of a wireless network according to claim 1 or 2, characterized in that: The reset setting value is greater than or equal to a value reached when the reset count is increased twice.

6. The method for processing abnormal disconnection of a wireless network according to claim 1 or 2, characterized in that: The reset and redial counts of the terminals without abnormalities are cleared, and the duration of the interval with the last restart is re-calculated, and the method of continuing the judgment includes: clearing the reset and redial counts of the terminals without abnormalities, and the duration of the interval with the last restart is re-calculated, and the judgment duration is set at an interval before starting the judgment.

7. The method for processing abnormal disconnection of a wireless network according to claim 1 or 2, characterized in that: The method of continuing the judgment after redialing and increasing the redial count includes: after redialing and increasing the redial count, setting the redial time interval and then starting the judgment.

8. The method for processing abnormal disconnection of a wireless network according to claim 1 or 2, characterized in that: The method of resetting and increasing the reset count, clearing the redial count and continuing the judgment includes: resetting and increasing the reset count, clearing the redial count and then setting the reset time interval and then starting the judgment.

9. A system for processing abnormal disconnection of a wireless network, comprising a processor, characterized in that: The processor is used to execute a computer program to implement the steps of the method for processing abnormal disconnection of a wireless network as described in any one of claims 1 to 8.