A method and system for processing abnormal power failure of a WIFI router

By monitoring the connection status and usage priorities of WiFi routers in real time, the order of network interruption is automatically formulated, which solves the complexity of abnormal power outage processing of WiFi routers and realizes user-friendly automated processing.

CN119450542BActive Publication Date: 2025-05-09CHENGDU TIANRUAN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510020038.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-05-09
Estimated Expiration
2045-01-07

AI Technical Summary

Technical Problem

WiFi routers are prone to power outages under abnormal load conditions, and the existing technology is difficult to deal with effectively, resulting in users needing to manually disconnect the equipment, affecting their usage needs.

Method used

By monitoring the connection status of the WiFi router in real time, determining the cause of abnormal power outage, and formulating the order of network interruption processing based on the usage priority of the connected device, generating a list of network interruptions, sending it to the user, and final network interruption processing is carried out based on user feedback.

Benefits of technology

It realizes automated handling of abnormal power outage of WiFi routers, reducing the complexity of user manual operations, ensuring the normal operation of connected devices and user usage needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450542B_ABST
    Figure CN119450542B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of abnormal power-off processing of routers, and specifically, to a method and system for processing abnormal power-off of WIFI routers. The method includes collecting the usage status of historical connection devices, dividing the operation level of each connection device, and formulating the use priority of each connection device according to the operation level; formulating the abnormal network disconnection processing order according to the use priority of the connection device, generating the network disconnection order of the WIFI router connection device after the abnormal power off, and sending it to the user. The present invention monitors the number of connection devices before the abnormal power off of the WIFI router, determines the impact of the connection overload, locates the power off time point, and updates the network disconnection list after restart for the user in real time. At the same time, combined with the control relationship of each connection device, different types of connection devices are divided, and the best network disconnection order is planned for the user, which not only ensures the normal use of conventional connection devices, but also avoids the user's arbitrary network disconnection and affects the normal operation of other connection devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of abnormal power-off processing of routers, and in particular to a method and system for processing abnormal power-off of a WIFI router. Background Art

[0002] A WiFi router is a device used to create a wireless network. It allows users to connect to the Internet wirelessly and establish a network information transmission channel.

[0003] Nowadays, with the increasing popularity of smart homes, more and more homes are automatically controlled through wireless network connections, which leads to more and more connected devices for WiFi routers and increasing load pressure. Although the performance of current WiFi routers has been improved and can provide network connections for multiple connected devices at the same time, the number of intelligently controlled devices is increasing, and the number of other mobile devices used by users is also expanding, such as smart phones, tablets, and desktop computers. Especially during peak operating hours, such as after getting home from get off work, the simultaneous operation of smart devices can easily lead to abnormal load on WIFI routers. The most common is abnormal power failure of WIFI routers. The occurrence of this situation is mainly divided into external factors and internal device connection influences. The most common external factors include overheating of the device operating area and signal interference from other operating devices, which lead to abnormal power failure of WIFI routers. The internal device connection influence is the connection overload mentioned above.

[0004] The existing processing method mainly informs the user of the reason for the power outage after the power is off and restarted. When the operation is overloaded, the user is required to automatically plan which connected devices need to be disconnected. However, there is a control relationship between the various operating devices. Automatic selection by the user will cause some connected devices to be unable to operate independently, affecting the user's usage needs.

[0005] In order to address the above problems, a method and system for handling abnormal power failure of a WIFI router is urgently needed. Summary of the invention

[0006] The object of the present invention is to provide a method and system for processing abnormal power failure of a WIFI router to solve the problems raised in the above background technology.

[0007] To achieve the above object, one of the objects of the present invention is to provide a method for handling abnormal power failure of a WIFI router, comprising the following steps:

[0008] S1. Real-time monitoring of the connection status of the WIFI router, and obtaining the number of devices connected to the WIFI router after abnormal power failure and the bandwidth occupied;

[0009] S2. Combined with the operating standards of the current model of WIFI router, obtain the overload of connected devices under normal conditions and overload bandwidth;

[0010] S3. Compare the number of connected devices Overload of equipment ;

[0011] When the number of connected devices ≤ Equipment overload When the WIFI router is abnormally powered off, it is determined that the WIFI router is affected by external conditions;

[0012] When the number of connected devices >Equipment overload When the WIFI router that is abnormally powered off is determined to be affected by connection overload;

[0013] S4. Collect the usage status of historical connected devices, classify the operation level of each connected device, and set the usage priority of each connected device according to the operation level;

[0014] S5. Formulate an abnormal network disconnection processing sequence according to the usage priority of the connected devices, generate a network disconnection sequence for the WIFI router connected devices after the abnormal power failure, and send it to the user;

[0015] S6. Obtain the user's network disconnection feedback, generate a final network disconnection list of connected devices, and perform network disconnection processing according to the network disconnection list.

[0016] As a further improvement of the technical solution, the number of connected devices of the WIFI router after abnormal power failure is obtained in S1 and the method for calculating the occupied bandwidth comprises the following steps:

[0017] S1.1. Retrieve the WIFI router background connection information on the client and obtain the connection status;

[0018] S1.2. Distinguish each connected device according to its IP address, MAC address and device name;

[0019] S1.3. Based on the connection status of each device, monitor the bandwidth changes of each connected device in real time.

[0020] As a further improvement of the technical solution, the connection status of each device in S1.3 includes the connection start time point , Connection end time , bandwidth peak point , bandwidth wave low point And the bandwidth waveform, where:

[0021] The connection start time point The regular start time for different connected devices to connect to the WIFI router during the monitoring period;

[0022] The connection end time point The regular disconnection time of different connected devices from the WIFI router during the monitoring period;

[0023] The bandwidth peak point The time point when the bandwidth usage of different connected devices reaches its peak during the monitoring period;

[0024] The bandwidth wave lows The time point when the bandwidth usage of different connected devices reaches the lowest point during the monitoring period;

[0025] The bandwidth waveform diagram shows the change in bandwidth usage status within the monitoring period.

[0026] As a further improvement of the technical solution, the method of dividing the operation levels of each connected device in S4 includes the following steps:

[0027] S4.1. Combine the historical usage status of the connected devices to obtain the connection control relationship of each connected device and mark each connected device as an active control connected device and passive control of connected devices ;

[0028] S4.2. Bind active control connected devices Connect with corresponding passive control device ;

[0029] S4.3. Actively control connected devices Mark as continuous start, connect the corresponding passive control device Marked as slave indirect start;

[0030] S4.4. Connect devices according to passive control The connection start time And the connection end time , obtain the connection time period;

[0031] S4.5, combined bandwidth peak point and bandwidth wave lows , divide the active control connection devices in the same connection time period and passive control of connected devices operating level.

[0032] As a further improvement of the technical solution, the method of dividing the operation levels of the same connection time period in S4.5 includes the following steps:

[0033] S4.5.1. Obtain the time when the WIFI router is abnormally powered off , compare each passive control connection device Bandwidth waveform diagram of

[0034] S4.5.2. The operation levels are divided according to the corresponding relationship of the bandwidth waveform diagram, where:

[0035] When abnormal power outage occurs Connecting devices with passive controls The bandwidth peak point coincides, the passive control connected device And the bound active control connection device Marked as Class I starting equipment;

[0036] When abnormal power outage occurs In the rising trend range of the bandwidth waveform, connect the passive control device And the bound active control connection device Marked as Class II starting equipment;

[0037] When abnormal power outage occurs In the downward trend range of the bandwidth waveform, connect the passive control device And the bound active control connection device Marked as Class III starting equipment;

[0038] When abnormal power outage occurs Connecting devices with passive controls Bandwidth wave low point coincides, the passive control connected device And the bound active control connection device Marked as Class IV starting device.

[0039] As a further improvement of the technical solution, the method for generating the disconnection sequence of the WIFI router connection device after abnormal power failure in S5 includes the following steps:

[0040] S5.1. Combined with the overload of the connected device in S2 And the number of devices connected to the WIFI router after the abnormal power outage in S1 , get the ideal number of connected devices after power failure and reconnection ;

[0041] S5.2. Combine the power-off time point to obtain the usage priority of each connected device before the power-off, obtain the power-off sequence of each connected device before the power-off according to the usage priority, and mark the passive control connected devices. And the bound active control connection device ;

[0042] S5.3. Combine the ideal number of connected devices in S5.1 Calculate the required power outage amount.

[0043] The second object of the present invention is to provide a system for implementing a method for processing abnormal power failure of a WIFI router, including a router connection device monitoring module, an operation overload type determination module, a usage priority evaluation module, a network failure processing sequence planning module, and a user feedback information acquisition module;

[0044] The router connection device monitoring module is used to monitor the connection status of the WIFI router and obtain the number of connected devices of the WIFI router after abnormal power failure. , bandwidth used, and the amount of connected devices overloaded under normal conditions and overload bandwidth;

[0045] The operation overload type determination module is used to compare the amount of connected equipment Overload of equipment , determine the impact conditions of the current abnormal power outage of the WIFI router;

[0046] The usage priority evaluation module is used to collect the usage status of historical connection devices, divide the operation level of each connection device, and formulate the usage priority of each connection device according to the operation level;

[0047] The network disconnection processing sequence planning module formulates the abnormal network disconnection processing sequence according to the usage priority of the connected device, generates the network disconnection sequence of the WIFI router connected device after the abnormal power failure, and sends it to the user;

[0048] The user feedback information acquisition module is used to obtain network disconnection feedback from users, generate a final network disconnection list of connected devices, and send the final network disconnection list of connected devices to the network disconnection processing sequence planning module, which is fed back to the control terminal through the network disconnection processing sequence planning module. The control terminal restarts the router for network disconnection processing according to the network disconnection processing sequence.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] In the method and system for processing abnormal power failure of a WIFI router, the number of connected devices before the abnormal power failure of the WIFI router is monitored to determine the impact of connection overload, and the power failure time point is located to update the disconnection list after restart for the user in real time. At the same time, combined with the control relationship of each connected device, different types of connected devices are divided to plan the best disconnection sequence for the user, which not only ensures the normal use of conventional connected devices, but also avoids the user's arbitrary disconnection from the network and affects the normal operation of other connected devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 is a flow chart of the overall method of the present invention;

[0052] Figure 2 A method step diagram of obtaining the number of connected devices and the occupied bandwidth of a WIFI router after an abnormal power outage according to the present invention;

[0053] Figure 3 A diagram showing the steps of a method for dividing the operation levels of various connected devices according to the present invention;

[0054] Figure 4 A step diagram of a method for dividing operation levels of the same connection time period of the present invention;

[0055] Figure 5 This is a first schematic diagram of waveform simulation of a connection device of the present invention;

[0056] Figure 6 This is the second waveform simulation diagram of the connection device of the present invention;

[0057] Figure 7 The third schematic diagram of waveform simulation of the connection device of the present invention;

[0058] Figure 8 The fourth schematic diagram of waveform simulation of the connection device of the present invention;

[0059] Fig. 9 A method step diagram of generating a disconnection sequence of a WIFI router connecting device after an abnormal power failure according to the present invention;

[0060] Fig.10 It is a block diagram of the overall system structure of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] See also Figure 1 As shown, one of the purposes of the present invention is to provide a method for handling abnormal power failure of a WIFI router, comprising the following steps:

[0063] S1. Real-time monitoring of the connection status of the WIFI router, and obtaining the number of devices connected to the WIFI router after abnormal power failure and the bandwidth occupied;

[0064] S2. Combined with the operating standards of the current model of WIFI router, obtain the overload of connected devices under normal conditions and overload bandwidth;

[0065] S3. Compare the number of connected devices Overload of equipment ;

[0066] When the number of connected devices ≤ Equipment overload When the WIFI router is abnormally powered off, it is determined that the WIFI router is affected by external conditions;

[0067] When the number of connected devices >Equipment overload When the WIFI router that is abnormally powered off is determined to be affected by connection overload;

[0068] S4. Collect the usage status of historical connected devices, classify the operation level of each connected device, and set the usage priority of each connected device according to the operation level;

[0069] S5. Formulate an abnormal network disconnection processing sequence according to the usage priority of the connected devices, generate a network disconnection sequence for the WIFI router connected devices after the abnormal power failure, and send it to the user;

[0070] S6. Obtain the user's network disconnection feedback, generate a final network disconnection list of connected devices, and perform network disconnection processing according to the network disconnection list.

[0071] In specific use, during the abnormal power outage processing of the WIFI router, since the devices connected to the WIFI router at different times are different, in order to determine the status of the connected devices before the abnormal power outage, it is necessary to monitor the connection status of the WIFI router in real time in advance and obtain the number of connected devices of the WIFI router after the abnormal power outage. And the bandwidth used, which will be used as the numerical basis for later comparison and judgment of connection overload;

[0072] Different models of WIFI routers allow different connected devices, so it is necessary to combine the operating standards of the current model of WIFI router to obtain the connected device overload under normal conditions. and overload bandwidth, and compare the number of connected devices Overload of equipment ;

[0073] When the number of connected devices ≤ Equipment overload When the abnormal power failure of the WIFI router is detected, it is determined that the external conditions may affect the WIFI router, including abnormal temperature and signal interference from external devices. At this time, the temperature of the WIFI router and the surrounding influencing devices must be checked to determine the specific external conditions.

[0074] When the number of connected devices >Equipment overload When the WIFI router that is abnormally powered off is determined to be affected by connection overload;

[0075] When it is determined to be affected by connection overload, in order to later formulate the disconnection order of the connected devices, select the essential connected devices and the control relationship between the connected devices, it is necessary to combine the historical usage status of the connected devices, divide the operation level of each connected device, and formulate the use priority of each connected device according to the operation level. For example, the main function of the smart control terminal is to control the start and stop of other home appliances according to the read language instructions. Therefore, if the smart terminal is disconnected and stopped by the user, the home appliances controlled by it will be unusable. Therefore, in the actual processing process, not only the usage frequency of each connected device should be considered, but also the connection control relationship of each connected device;

[0076] The abnormal network disconnection processing order is formulated according to the usage priority of the connected devices. The higher the priority, the later the corresponding network disconnection processing order is. The network disconnection order of the WIFI router connected devices after the abnormal power outage is generated and sent to the user. This is because different users have different usage requirements and different usage periods will also affect the user's usage requirements. At this time, the user needs to make his own judgment, but the control relationship of each connected device needs to be informed to the user in advance to provide the user with a network disconnection reference. Finally, the network disconnection feedback of the user is obtained to generate the final network disconnection list of the connected devices, and the network disconnection processing is performed according to the network disconnection list.

[0077] In addition, if Figure 2 As shown, the number of devices connected to the WIFI router after abnormal power failure is obtained in S1 and the method for calculating the occupied bandwidth comprises the following steps:

[0078] S1.1. Retrieve the WIFI router background connection information on the client and obtain the connection status;

[0079] S1.2. Distinguish each connected device according to its IP address, MAC address and device name;

[0080] S1.3. Based on the connection status of each device, monitor the bandwidth changes of each connected device in real time.

[0081] Furthermore, the connection status of each device in S1.3 includes the connection start time point , Connection end time , bandwidth peak point , bandwidth wave low point And the bandwidth waveform, where:

[0082] Connection start time The regular start time for different connected devices to connect to the WIFI router during the monitoring period;

[0083] Connection end time The regular disconnection time of different connected devices from the WIFI router during the monitoring period;

[0084] Bandwidth peak point The time point when the bandwidth usage of different connected devices reaches its peak during the monitoring period;

[0085] Bandwidth Wave Lows The time point when the bandwidth usage of different connected devices reaches the lowest point during the monitoring period;

[0086] The bandwidth waveform shows the changes in bandwidth usage status during the monitoring period.

[0087] In specific use, in order to classify the operation level later, In the process of obtaining the occupied bandwidth, you first need to retrieve the background connection information of the WIFI router on the client and obtain the connection status. For example, you can output the acquisition command in Windows to retrieve the background connection information of the connected WIFI router, including the IP address, MAC address and device name, and monitor the connection status of each connected device, including the connection start time point. , Connection end time , bandwidth peak point , bandwidth wave low point And the bandwidth waveform, that is, check the background management of the WIFI router on the client, select the traffic monitoring or bandwidth monitoring option, obtain the monitoring waveform of the bandwidth used by each connected device, directly read the connection start time, disconnection time, peak corresponding time point and low corresponding time point through the monitoring waveform, and set the monitoring time period, and obtain the connection start time, disconnection time, peak corresponding time point and low corresponding time point with the highest probability through statistics, and mark it as the connection start time point corresponding to the current connected device , Connection end time , bandwidth peak point and bandwidth wave lows For example, in a month (30 days), the connection start time of device A is 18:00 in the evening for 15 days, 17:00 in the evening for 7 days, and 19:00 in the evening for 8 days. At this time, the probability of the connection start time being 18:00 in the evening is the highest, that is, 18:00 in the evening is marked as the connection start time point corresponding to the current connected device .

[0088] like Figure 3 As shown, further, the method of dividing the operation level of each connected device in S4 includes the following steps:

[0089] S4.1. Combine the historical usage status of the connected devices to obtain the connection control relationship of each connected device and mark each connected device as an active control connected device and passive control of connected devices ;

[0090] S4.2. Bind active control connected devices Connect with corresponding passive control device ;

[0091] S4.3. Actively control connected devices Mark as continuous start, connect the corresponding passive control device Marked as slave indirect start;

[0092] S4.4. Connect devices according to passive control The connection start time And the connection end time , obtain the connection time period;

[0093] S4.5, combined bandwidth peak point and bandwidth wave lows , divide the active control connection devices in the same connection time period and passive control of connected devices operating level.

[0094] like Figure 4 As shown, specifically, the method for dividing the operation levels of the same connection time period in S4.5 includes the following steps:

[0095] S4.5.1. Obtain the time when the WIFI router is abnormally powered off , compare each passive control connection device Bandwidth waveform diagram of

[0096] S4.5.2. The operation levels are divided according to the corresponding relationship of the bandwidth waveform diagram, where:

[0097] When abnormal power outage occurs Connecting devices with passive controls The bandwidth peak point coincides, the passive control connected device And the bound active control connection device Marked as Class I starting equipment;

[0098] When abnormal power outage occurs In the rising trend range of the bandwidth waveform, connect the passive control device And the bound active control connection device Marked as Class II starting equipment;

[0099] When abnormal power outage occurs In the downward trend range of the bandwidth waveform, connect the passive control device And the bound active control connection device Marked as Class III starting equipment;

[0100] When abnormal power outage occurs Connecting devices with passive controls Bandwidth wave low point coincides, the passive control connected device And the bound active control connection device Marked as Class IV starting device.

[0101] In specific use, due to the different actual usage needs of different users and the different frequencies of using connected devices in different time periods, in order to adapt to the usage needs of different users, in the process of operating level division, first combine the usage status of historical connected devices, obtain the connection control relationship of each connected device, and mark each connected device as an actively controlled connected device. and passive control of connected devices , for example, connecting device B as the connecting device , Connect devices And connected devices The control terminal needs to respond to control the corresponding connected device through the connected device B , Connect devices And connected devices Control is performed, and at this time, the connected device B is the active control connected device , and the corresponding connection device , Connect devices And connected devices All are passive control connection devices ;

[0102] When multiple passive control connection devices are activated at the same time At this time, it is necessary to further connect these passive control devices that are started simultaneously Classify the operation level, that is, connect the equipment according to passive control The connection start time And the connection end time , get the connection time period. This step is to count the trend of users using multiple connected devices in different time periods, and then combine the bandwidth peak point and bandwidth wave lows , divide the active control connection devices in the same connection time period and passive control of connected devices The operating level is determined by the bandwidth change waveform, for example, in a certain period of time. A total of four passive control connected devices Connected to the WIFI router, get the corresponding power-off time point, and combine the current power-off time point to control the above four passive connection devices Bandwidth change trend;

[0103] like Figure 5 As shown, when the abnormal power failure time point Connecting devices with passive controls The bandwidth peak point coincides, the passive control connected device And the bound active control connection device Marked as Class I starting equipment;

[0104] like Figure 6 , when the abnormal power outage time point In the rising trend range of the bandwidth waveform, connect the passive control device And the bound active control connection device Marked as Class II starting equipment;

[0105] like Figure 7 , when the abnormal power outage time point In the downward trend range of the bandwidth waveform, connect the passive control device And the bound active control connection device Marked as Class III starting equipment;

[0106] like Figure 8 , when the abnormal power outage time point Connecting devices with passive controls Bandwidth wave low point coincides, the passive control connected device And the bound active control connection device Marked as Class IV starting equipment;

[0107] The final usage priority is proportional to the operating level of different connected devices. The higher the operating level, the higher the startup priority, that is, the corresponding priority is level I startup device > level II startup device > level III startup device > level IV startup device;

[0108] It is worth noting that when two passive control devices are connected At the same operating level, the abnormal power-off time point The higher the value, the higher the priority.

[0109] In addition, if Fig. 9 As shown, the method for generating the disconnection sequence of the WIFI router connection device after abnormal power failure in S5 includes the following steps:

[0110] S5.1, combined with the connected device overload in S2 And the number of devices connected to the WIFI router after the abnormal power outage in S1 , get the ideal number of connected devices after power failure and reconnection ;

[0111] S5.2. Combine the power-off time point to obtain the usage priority of each connected device before the power-off, obtain the power-off sequence of each connected device before the power-off according to the usage priority, and mark the passive control connected devices. And the bound active control connection device ;

[0112] S5.3, combined with the ideal number of connected devices in S5.1 Calculate the required power outage.

[0113] When using it, in the process of planning the disconnection sequence, in order to prevent a second power outage after restarting the WIFI router, it is necessary to control the number of connected devices before restarting. Although the user's demand for each connected device at the current power outage time can be predicted according to the user's historical usage, there will still be errors, that is, users have different usage ideas in different time periods and will be affected by different conditions. Therefore, the final disconnection sequence is only a reference for users to prevent users from disconnecting at will, resulting in passive control of connected devices. Connect and corresponding active control connected devices Not connected, resulting in the current passive control of the connected device Therefore, in order to deal with the above problem, we first need to combine the connected device overload in step S2 And the number of devices connected to the WIFI router after the abnormal power failure in step S1 , get the ideal number of connected devices after power failure and reconnection , that is, it can meet the user's usage needs while ensuring that the current WIFI router will not be fully loaded and cause a second power outage. Then, combined with the power outage time point, the usage priority of each connected device before the power outage is obtained, and the power-off order of each connected device before the power outage is obtained according to the usage priority, and the passive control connection devices are marked. And the bound active control connection device , and finally combined with the ideal number of connected devices in step S5.1 Calculate the required power outage, that is, the number of devices connected to the WIFI router after the abnormal power outage The number of connected devices that need to be disconnected from the network during restart. The later the order, the higher the probability of disconnection after restart.

[0114] It is worth noting that although active control of connected devices It is not recommended that users restart and disconnect the network, but when an active control connected device All passive control connected devices bound Because they are in the later order, they are considered as the priority to be disconnected from the network, and the ideal number of connected devices has not yet been reached. , then the active control connection device It can also be used as an object for disconnection.

[0115] The second object of the present invention is to provide a system for implementing a method for processing abnormal power failure of a WIFI router. Fig.10 As shown, it includes a router connection device monitoring module, an operation overload type determination module, a usage priority evaluation module, a network disconnection processing sequence planning module and a user feedback information acquisition module;

[0116] Among them, the router connection device monitoring module is used to monitor the connection status of the WIFI router and obtain the number of connected devices of the WIFI router after abnormal power failure. , bandwidth used, and the amount of connected devices overloaded under normal conditions and overload bandwidth;

[0117] Run the overload type determination module to compare the amount of connected equipment Overload of equipment , determine the impact conditions of the current abnormal power outage of the WIFI router;

[0118] The usage priority evaluation module is used to collect the usage status of historical connection devices, classify the operation level of each connection device, and formulate the usage priority of each connection device according to the operation level;

[0119] The network disconnection processing sequence planning module formulates the abnormal network disconnection processing sequence according to the usage priority of the connected devices, generates the network disconnection sequence of the WIFI router connected devices after the abnormal power outage, and sends it to the user;

[0120] The user feedback information acquisition module is used to obtain the network disconnection feedback from the user, generate the final network disconnection list of connected devices, and send the final network disconnection list of connected devices to the network disconnection processing sequence planning module, which is then fed back to the control terminal through the network disconnection processing sequence planning module. The control terminal restarts the router and performs network disconnection processing according to the network disconnection processing sequence.

[0121] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only preferred examples of the present invention, and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.

Claims

1. A method for handling abnormal power failure of a WIFI router, characterized in that: The steps include: S1. Real-time monitoring of the connection status of the WIFI router, and obtaining the number of connected devices Cod after abnormal power failure number and the bandwidth occupied; The number of connected devices Cod of the WIFI router after abnormal power failure is obtained in S1 number The method for calculating the occupied bandwidth comprises the following steps: S1.

1. Retrieve the WIFI router background connection information on the client and obtain the connection status; S1.

2. Distinguish each connected device according to its IP address, MAC address and device name; S1.3, combined with the connection status of each device, monitor the bandwidth changes of each connected device in real time; The connection status of each device in S1.3 includes the connection start time point Stp connection , Connection end time point Etp connection , bandwidth peak point Pe bandwidth 、Bandwidth wave low point Bw bandwidth And the bandwidth waveform, where: The connection start time point Stp connection The regular start time for different connected devices to connect to the WIFI router during the monitoring period; The connection end time point Etp commection The regular disconnection time of different connected devices from the WIFI router during the monitoring period; The bandwidth peak point Pe bandwidth The time point when the bandwidth usage of different connected devices reaches its peak during the monitoring period; The bandwidth wave low point Bw bandwidth The time point when the bandwidth usage of different connected devices reaches the lowest point during the monitoring period; The bandwidth waveform diagram is a change in bandwidth usage status within the monitoring time period; S2. Combined with the operating standards of the current model of WIFI router, obtain the overload value Cod of the connected device under normal conditions overload and overload bandwidth; S3. Compare the connected device quantity Cod number and equipment overload Cod overload ; When the connected device Cod number ≤ Equipment overload Cod overload When the WIFI router is abnormally powered off, it is determined that the WIFI router is affected by external conditions; When the connected device Cod number >Equipment overload Cod overload When the WIFI router that is abnormally powered off is determined to be affected by connection overload; S4. Collect the usage status of historical connected devices, classify the operation level of each connected device, and set the usage priority of each connected device according to the operation level; The method for dividing the operation levels of each connected device in S4 comprises the following steps: S4.

1. Combine the historical usage status of the connected devices to obtain the connection control relationship of each connected device, and mark each connected device as an active control connected device Pc devices And passive control connection device Pa devices ; S4.

2. Bind active control connection device PC devices Connect to the corresponding passive control device Pa devices ; S4.3, actively control the connected device Pc devices Mark as continuous start, and connect the corresponding passive control device Pa devices Marked as slave indirect start; S4.

4. Connect the device Pa according to the passive control devices The connection start time point Stp connection And the connection end time Etp connection , obtain the connection time period; S4.5, combined bandwidth peak point Pe bandwidth and bandwidth wave low point Bw bandwidth , divide the active control connection devices Pc in the same connection time period devies And passive control connection device Pa devices The operating level; The method for dividing the operation levels of the same connection time period in S4.5 comprises the following steps: S4.5.

1. Obtain the abnormal power-off time point Ap of the WIFI router point , compare each passive control connection device Pa devices Bandwidth waveform diagram of S4.5.

2. The operation levels are divided according to the corresponding relationship of the bandwidth waveform diagram, where: When the abnormal power failure time point Ap point Connecting equipment Pa with passive control devices The bandwidth peak point Pe bandwidth coincides, the passive control connection device Pa devices And the bound active control connection device PC devices Marked as Class I starting equipment; When the abnormal power failure time point Ap point In the upward trend range of the bandwidth waveform, the passive control connection device Pa devices And the bound active control connection device PC devices Marked as Class II starting equipment; When the abnormal power failure time point Ap point In the downward trend range of the bandwidth waveform, the passive control connection device Pa devices And the bound active control connection device PC devices Marked as Class III starting equipment; When the abnormal power failure time point Ap point Connecting equipment Pa with passive control devices Bandwidth wave low point Bw bandwidth coincides, the passive control connection device Pa devices And the bound active control connection device PC devices Marked as Class IV starting equipment; S5. Formulate an abnormal network disconnection processing sequence according to the usage priority of the connected devices, generate a network disconnection sequence for the WIFI router connected devices after the abnormal power failure, and send it to the user; The method for generating the disconnection sequence of the WIFI router connection device after abnormal power failure in S5 comprises the following steps: S5.

1. Combined with the connected device overload Cod in S2 overload And the number of connected devices Cod of the WIFI router after the abnormal power failure in S1 number , get the ideal connected device ID after power failure and reconnection number ; S5.

2. Combine the power-off time point to obtain the use priority of each connected device before the power-off, obtain the power-off sequence of each connected device before the power-off according to the use priority, and mark the passive control connected device Pa devices And the bound active control connection device PC devices ; S5.3, combined with the ideal connected device quantity Id in S5.1 number Calculate the required power outage; S6. Obtain the user's network disconnection feedback, generate a final network disconnection list of connected devices, and perform network disconnection processing according to the network disconnection list.

2. A system for implementing the method for handling abnormal power failure of a WIFI router according to claim 1, characterized in that: It includes a router connection device monitoring module, an operation overload type determination module, a usage priority evaluation module, a network disconnection processing sequence planning module, and a user feedback information acquisition module; The router connection device monitoring module is used to monitor the connection status of the WIFI router and obtain the number of connected devices Cod of the WIFI router after abnormal power failure. number , occupied bandwidth, and the amount of connected device overload Cod under normal conditions overload and overload bandwidth; The operation overload type determination module is used to compare the connection device quantity CDod number and equipment overload Cod overload , determine the impact conditions of the current abnormal power outage of the WIFI router; The usage priority evaluation module is used to collect the usage status of historical connection devices, divide the operation level of each connection device, and formulate the usage priority of each connection device according to the operation level; The network disconnection processing sequence planning module formulates the abnormal network disconnection processing sequence according to the usage priority of the connected device, generates the network disconnection sequence of the WIFI router connected device after the abnormal power failure, and sends it to the user; The user feedback information acquisition module is used to obtain network disconnection feedback from users, generate a final network disconnection list of connected devices, and send the final network disconnection list of connected devices to the network disconnection processing sequence planning module, which is fed back to the control terminal through the network disconnection processing sequence planning module. The control terminal restarts the router for network disconnection processing according to the network disconnection processing sequence.

Citation Information

Patent Citations

  • Networking management method and networking management device based on router

    CN108848009A

  • Dynamic bandwidth allocation method, router and computer readable storage medium

    CN115150282A