Networking monitoring method and apparatus, electronic device, and computer-readable storage medium

By acquiring network connectivity information and cumulative offline counts of smart devices, the system proactively monitors and automatically repairs abnormal connections, resolving the issue of abnormal connections between smart home appliances and routers, and improving the timeliness of repairs and user experience.

WO2026045645A1PCT designated stage Publication Date: 2026-03-05MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/106049
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-29
Filing Date
2025-06-30
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

There are often problems with the Wi-Fi connection between smart home appliances and routers, which leads to untimely repairs and affects the user experience.

Method used

By acquiring network connectivity information and cumulative offline counts of smart devices, the system proactively monitors the connection status between devices and routers, identifies abnormal devices, and uses over-the-air (OTA) technology for automatic repair.

Benefits of technology

It enabled timely repair of connectivity issues between smart devices and routers, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025106049_05032026_PF_FP_ABST
    Figure CN2025106049_05032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of device networking control, and discloses a networking monitoring method and apparatus, an electronic device, and a computer-readable storage medium. The method comprises: acquiring networking information of each smart device connected to a target router, and the cumulative offline count of each smart device within a preset period; on the basis of the networking information and the cumulative offline count of each smart device, determining whether any abnormal device is present among the smart devices, wherein the abnormal device refers to a smart device having an abnormal connection to the target router; and if so, performing connection-abnormality repair processing on each abnormal device.
Need to check novelty before this filing date? Find Prior Art

Description

Networked monitoring methods, devices, electronic equipment and computer-readable storage media

[0001] Related applications

[0002] This application claims priority to Chinese patent application No. 202411205741.3, filed on August 29, 2024, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of device networking control technology, and in particular to a network monitoring method, device, electronic device and computer-readable storage medium. Background Technology

[0004] With the rise of smart homes and the increasing popularity of smart technologies, a plethora of home appliances on the market are equipped with Wi-Fi (Wireless Fidelity) functionality. However, due to the unique, diverse, random, and complex nature of Wi-Fi network communication, as well as the rapid pace of router product updates, connection problems frequently arise between Wi-Fi modules in smart home appliances and routers.

[0005] Currently, it is usually only after receiving customer complaints that the abnormal connection between smart home appliances and routers is realized. Only then can the customer complaint be fixed in a targeted manner. This not only results in poor timeliness of the fix, but also affects the user experience. Summary of the Invention

[0006] The main purpose of this application is to provide a network monitoring method, device, electronic device, and computer-readable storage medium, which aims to ensure the timely repair of abnormal connection problems between smart devices and routers and improve the user experience.

[0007] To achieve the above objectives, this application provides a network monitoring method, the method comprising:

[0008] Obtain network connectivity information and cumulative offline counts of each smart device connected to the target router within a preset period;

[0009] Based on the network connectivity information and cumulative offline count of each smart device, determine whether there are any abnormal devices among the smart devices; the abnormal device refers to a smart device whose connection with the target router is abnormal;

[0010] If present, the connection anomaly of each of the aforementioned abnormal devices will be repaired.

[0011] In one embodiment, the step of determining whether there are any abnormal devices among the smart devices based on the network connectivity information and cumulative offline counts of each smart device includes:

[0012] Based on the network information and cumulative offline count of each smart device, determine whether each smart device is in an abnormal network state, and count the number of smart devices in an abnormal network state to obtain the total number of abnormal devices.

[0013] If the total number of anomalies is greater than or equal to a preset threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is greater than or equal to a preset ratio threshold, then it is determined that there are abnormal devices among the smart devices, and each abnormal device is a smart device in an abnormal network state.

[0014] If the total number of anomalies is less than the preset threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is less than the preset ratio threshold, then it is determined that there are no abnormal devices among the smart devices.

[0015] In one embodiment, the network information includes signal strength, and the step of determining whether each of the smart devices is in an abnormal network state based on the network information and cumulative offline count of each smart device includes:

[0016] For any smart device, if the signal strength of the smart device is greater than or equal to a preset strength threshold, and the cumulative number of offline times in each preset period is greater than a preset number of times within a consecutive preset number of preset periods, then the smart device is determined to be in an abnormal network state.

[0017] If the signal strength of the smart device is less than the preset strength threshold, and / or the cumulative number of offline times of the smart device in each preset number of consecutive preset periods is not greater than the preset number of times threshold, then the smart device is determined to be in a normal network connection state.

[0018] In one embodiment, the step of repairing the connection anomaly of each of the abnormal devices includes:

[0019] Obtain the connection data between each of the abnormal devices and the target router;

[0020] Analyze the connection data to determine the cause of the abnormality in the connection between the target router and each of the abnormal devices;

[0021] Based on the stated cause of the anomaly, generate the target repair package;

[0022] Each of the abnormal devices is controlled to upgrade its over-the-air technology according to the target repair package in order to repair the connection abnormality of each of the abnormal devices.

[0023] In one embodiment, the step of analyzing the connection data to determine the cause of the abnormality in the connection between the target router and each of the abnormal devices includes:

[0024] Based on the connection data, the common connection feature information between the target router and each of the abnormal devices is determined;

[0025] The cause of the anomaly is determined based on the shared connection feature information.

[0026] In one embodiment, the step of determining the cause of the anomaly based on the shared connection feature information includes:

[0027] If the shared connection feature information is a connection channel, then the cause of the anomaly is determined to be a channel anomaly.

[0028] If the shared connection feature information is encrypted, then the cause of the anomaly is determined to be an encryption anomaly.

[0029] In one embodiment, the step of generating a target repair package based on the cause of the anomaly includes:

[0030] Based on the preset mapping relationship between abnormal causes and repair packages, the repair package corresponding to the abnormal cause is obtained as the target repair package.

[0031] Furthermore, to achieve the above objectives, this application also provides a networked monitoring device, the device comprising:

[0032] The data acquisition module is used to acquire network information of each smart device connected to the target router and the cumulative number of offline times within a preset period.

[0033] The data processing module is used to determine whether there are any abnormal devices among the smart devices based on the network information and cumulative offline count of each smart device; the abnormal device refers to a smart device whose connection with the target router is abnormal; if there is, the abnormal device is repaired by performing connection abnormality repair processing.

[0034] In addition, to achieve the above objectives, this application also provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the network monitoring method described above.

[0035] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the network monitoring method described above.

[0036] In addition, to achieve the above objectives, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the network monitoring method described above.

[0037] This application provides a network monitoring method. First, it obtains the network information of each smart device connected to the target router and the cumulative number of offline times within a preset period. Then, based on the network information and cumulative number of offline times of each smart device, it determines whether there are any abnormal devices among the smart devices. Abnormal devices refer to smart devices whose connection with the target router is abnormal. If they exist, the abnormal devices are repaired by performing connection abnormality repair processing.

[0038] Therefore, this application proactively monitors the connection status between each smart device and the target router by utilizing the network connectivity information and cumulative offline counts of each smart device connected to the target router. This eliminates the need for passive customer feedback, allowing for timely determination of the connection status between each smart device and the target router. Consequently, once abnormal devices are identified, timely remediation of connection anomalies can be performed on each abnormal device. Therefore, this application ensures timely resolution of abnormal connection issues between smart devices and the router, and improves the user experience. Attached Figure Description

[0039] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0040] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 is a flowchart illustrating the network monitoring method provided in the first embodiment of this application;

[0042] Figure 2 is a flowchart illustrating the network monitoring method provided in the second embodiment of this application;

[0043] Figure 3 is a flowchart illustrating the overall implementation of the network monitoring method provided in the embodiments of this application.

[0044] Figure 4 is a schematic diagram of the module structure of the network monitoring device provided in the embodiment of this application;

[0045] Figure 5 is a schematic diagram of the hardware operating environment involved in the embodiments of this application;

[0046] Figure 6 is a flowchart illustrating a network monitoring method provided in an embodiment of this application;

[0047] Figure 7 is a flowchart illustrating a network monitoring method provided in an embodiment of this application.

[0048] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Embodiments of the present invention

[0049] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0050] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0051] With the rise of smart homes and the increasing popularity of smart technologies, a plethora of home appliances on the market are equipped with Wi-Fi (Wireless Fidelity) functionality. However, due to the unique, diverse, random, and complex nature of Wi-Fi network communication, as well as the rapid pace of router product updates, connection problems frequently arise between Wi-Fi modules in smart home appliances and routers.

[0052] Currently, it is usually only after receiving customer complaints that the abnormal connection between smart home appliances and routers is realized. Only then can the customer complaint be fixed in a targeted manner. This not only results in poor timeliness of the fix, but also affects the user experience.

[0053] Based on this, this application provides a network monitoring method, which first obtains the network information of each smart device connected to the target router and the cumulative number of offline times within a preset period; then, based on the network information and cumulative number of offline times of each smart device, it determines whether there are any abnormal devices among the smart devices; abnormal devices refer to smart devices whose connection with the target router is abnormal; if they exist, the abnormal devices are repaired by performing connection abnormality repair processing.

[0054] Therefore, this application proactively monitors the connection status between each smart device and the target router by utilizing the network connectivity information and cumulative offline counts of each smart device connected to the target router. This eliminates the need for passive customer feedback, allowing for timely determination of the connection status between each smart device and the target router. Consequently, once abnormal devices are identified, timely remediation of connection anomalies can be performed on each abnormal device. Therefore, this application ensures timely resolution of abnormal connection issues between smart devices and the router, and improves the user experience.

[0055] The entity executing the network monitoring method of this application can be a cloud server, or an electronic device with data processing, network communication and program execution functions, such as a mobile phone, tablet computer, computer, etc.; or a control device, control system, control circuit, etc. that can realize data processing, network communication and program execution functions. This embodiment does not specifically limit it in this regard.

[0056] The following description uses a cloud server as the execution entity to illustrate the various embodiments.

[0057] Based on this, this application proposes a network monitoring method according to a first embodiment. Referring to Figure 1, the network monitoring method includes steps S10 to S30:

[0058] Step S10: Obtain the network connection information of each smart device connected to the target router and the cumulative number of offline times within a preset period;

[0059] It should be noted that the target router, as the monitored router, will have its connection status with each connected smart device monitored by the cloud. Smart devices are home appliances with Wi-Fi capability. Network information may include, but is not limited to, BSSID (Basic Service Set Identifier) ​​and signal strength. The preset period can be a default period, such as one day (24 hours); it can also be flexibly set by the user according to actual needs, and this embodiment does not impose specific limitations on this. Offline count refers to the number of times the smart device disconnects from the cloud.

[0060] Step S20: Based on the network connection information and cumulative offline count of each smart device, determine whether there are any abnormal devices among the smart devices; abnormal devices refer to smart devices whose connection with the target router is abnormal.

[0061] It should be noted that the connection anomaly between the smart device and the target router actually refers to a connection compatibility issue between the smart device and the target router, that is, the configuration of the target router is not well compatible with the configuration parameters supported by the firmware burned into the Wi-Fi module on the smart device.

[0062] In one embodiment, referring to FIG6, step S20 includes steps S21 to S23:

[0063] Step S21: Based on the network information and cumulative offline count of each smart device, determine whether each smart device is in an abnormal network state, and count the number of smart devices in an abnormal network state to obtain the total number of abnormal devices.

[0064] In one embodiment, the network information may include signal strength, and step S21 includes:

[0065] For any smart device, if the signal strength of the smart device is greater than or equal to a preset strength threshold, and the cumulative number of offline times in each preset period is greater than a preset number of times within a consecutive preset number of preset periods, then the smart device is determined to be in an abnormal network state.

[0066] It should be noted that the preset strength threshold refers to the minimum signal strength value that the smart device should report to the router under normal circumstances after connecting to the router. The preset strength threshold can be a default value or can be flexibly set by the user according to actual conditions; this embodiment does not impose a specific limitation on it. The preset quantity is a positive integer, with a minimum of 1. The preset quantity can be a default value or can be flexibly set by the user according to actual conditions; this embodiment does not impose a specific limitation on it. The preset number of times threshold refers to the maximum number of times the smart device will go offline under normal circumstances within a preset period; the preset number of times threshold can be a default value or can be flexibly set by the user according to actual conditions; this embodiment does not impose a specific limitation on it.

[0067] For example, assuming the preset strength threshold is -65dBm, the preset quantity is 3, the preset period is one day, and the preset number of times threshold is 10, and the signal strength reported by smart device A is -45dBm, and the cumulative number of offline times of smart device A for 3 consecutive days exceeds 10, then it can be determined that smart device A is in an abnormal network state.

[0068] In one embodiment, step S21 includes: if the signal strength of the smart device is less than a preset strength threshold, and / or the cumulative number of offline times of the smart device in each preset period is not greater than a preset number threshold, then it is determined that the smart device is in a normal network connection state.

[0069] If the signal strength of a smart device is greater than or equal to a preset strength threshold, and the number of offline visits does not meet the abnormal network conditions (i.e., the cumulative number of offline visits in each preset period is not greater than the preset threshold within a consecutive preset number of preset periods), it indicates that the smart device has not experienced frequent offline visits after connecting to the target router, and therefore the smart device can be determined to be in a normal network connection state. If only the number of offline visits meets the abnormal network conditions, but the signal strength is less than the preset strength threshold, i.e., the signal strength does not meet the abnormal network conditions, it is possible that the smart device is being interfered with by external factors, causing the reported signal strength of the router to be unstable, thus causing the smart device to frequently go offline. In this case, the smart device is actually in a normal network connection state. Therefore, to accurately determine whether a smart device is in an abnormal network connection state, both signal strength and the number of offline visits need to be considered simultaneously. Only when both signal strength and the number of offline visits meet the abnormal network conditions should the smart device be determined to be in an abnormal network connection state.

[0070] This embodiment does not specifically limit the implementation of step S21. In other embodiments, other data and cumulative offline counts contained in the network information can be used to determine whether each smart device is in an abnormal network state.

[0071] Step S22: If the total number of anomalies is greater than or equal to a preset quantity threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is greater than or equal to a preset ratio threshold, then it is determined that there are abnormal devices among the smart devices, and each abnormal device is a smart device in an abnormal network state.

[0072] It should be noted that both the preset quantity threshold and the preset ratio threshold can be a default value, or they can be flexibly set by the user according to the actual situation. This embodiment does not impose any specific limitations on this.

[0073] Step S23: If the total number of anomalies is less than a preset threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is less than a preset ratio threshold, then it is determined that there are no abnormal devices among the smart devices.

[0074] Since external interference can also cause smart devices to be in an abnormal network connection state, determining that a smart device is in an abnormal network connection state does not necessarily mean that the connection between that smart device and the router is abnormal. Therefore, this implementation method limits the determination to an abnormal device only if multiple smart devices connected to the target router are in an abnormal network connection state, thus ensuring the accuracy of the identification of abnormal devices.

[0075] Step S30: If the problem exists, repair the connection anomaly for each abnormal device.

[0076] In one implementation, before repairing the connection anomalies of each malfunctioning device, a report recording the malfunctioning devices can be generated and sent to the relevant repair personnel. The repair personnel can then use the received report to identify the connection problems of the smart devices and analyze the causes of these problems. Next, based on the causes, a repair plan is determined and sent to the cloud as a repair package. The cloud can then control each malfunctioning device to perform an Over-the-Air (OTA) upgrade based on the repair package, thereby repairing the connection anomalies. During the OTA upgrade process, if the user selects automatic upgrade, the upgrade will proceed automatically; otherwise, an upgrade task can be pushed to the user for manual upgrade.

[0077] For example, suppose there are abnormal devices among the smart devices connected to the target router. After investigation, the repair team discovers that the problem is caused by the target router's ARP timeout requirement for smart device logins. Specifically, if a smart device logs into the target router but there is no data interaction for an extended period, the target router will actively disconnect the smart device, leading to frequent online / offline cycles. To address this abnormal connection issue, the repair team suggests adding a timed ARP report to the target router (e.g., every 30 seconds). This solution can then be used to perform OTA (Over-The-Air) deployment on existing modules to fix the abnormal connection issues between the abnormal devices and the target router, thereby improving the online stability of the smart devices connected to the target router.

[0078] This embodiment provides a network monitoring method. First, it obtains the network information of each smart device connected to the target router and the cumulative number of offline times within a preset period. Then, based on the network information and cumulative number of offline times of each smart device, it determines whether there are any abnormal devices among the smart devices. Abnormal devices refer to smart devices whose connection with the target router is abnormal. If they exist, the abnormal devices are repaired by performing connection abnormality repair processing.

[0079] Therefore, this embodiment proactively monitors the connection status between each smart device and the target router by utilizing the network information and cumulative offline counts of each smart device connected to the target router. This eliminates the need for passive customer feedback, allowing for timely determination of the connection status between each smart device and the target router. Consequently, once abnormal devices are identified, timely repairs can be performed on these abnormal devices. Therefore, this embodiment ensures timely repair of abnormal connection problems between smart devices and the router, and improves the user experience.

[0080] Based on the first embodiment described above, a second embodiment of the network monitoring method of this application is proposed. In the second embodiment, please refer to Figure 2. Step S30 includes steps S31 to S34:

[0081] Step S31: Obtain the connection data between each abnormal device and the target router;

[0082] It should be noted that connection data may include, but is not limited to, the channel (i.e., connection channel), encryption method, and connection duration used when the abnormal device connects to the target router.

[0083] Step S32: Analyze each connection data to determine the cause of the abnormality in the connection between the target router and each abnormal device;

[0084] It should be noted that the cause of the anomaly refers to the reason for the abnormal connection problem between each abnormal device and the target router. Generally speaking, the causes of anomalies are the same for each abnormal device connected to the same router.

[0085] In one embodiment, referring to FIG7, step S32 includes steps S321 to S322:

[0086] Step S321: Based on each connection data, determine the common connection characteristic information between the target router and each abnormal device;

[0087] It should be noted that shared connection characteristics refer to some common features or attributes that various abnormal devices share when establishing a connection with the target router. Shared connection characteristics can include connection channel, encryption method, network protocol, network address, or security policy, etc.

[0088] Step S322: Determine the cause of the anomaly based on the shared connection feature information.

[0089] In one embodiment, step S322 includes: if the shared connection feature information is a connection channel, then the cause of the anomaly is determined to be a channel anomaly;

[0090] If the shared connection characteristic information is the connection channel, it means that the connection channels between each abnormal device and the target router are the same. That is, the channels used by each abnormal device to connect to the target router are the same. Therefore, it can be determined that the abnormality in the connection between each abnormal device and the target router is caused by this channel, and the cause of the abnormality can be determined to be a channel abnormality.

[0091] In one embodiment, step S322 includes: if the shared connection feature information is encrypted, then the cause of the anomaly is determined to be an encryption anomaly.

[0092] If the shared connection feature information is encrypted, it means that the encryption methods of each abnormal device and the target router are the same. Therefore, it can be determined that the abnormal connection between each abnormal device and the target router is caused by this encryption method, and the cause of the abnormality can be determined to be an encryption abnormality.

[0093] Step S33: Generate the target repair package based on the cause of the anomaly;

[0094] It should be noted that the target repair package is used to fix abnormal connection problems between various faulty devices and the target router.

[0095] In one embodiment, step S33 includes: obtaining the repair package corresponding to the abnormal cause as the target repair package according to the preset mapping relationship between abnormal causes and repair packages.

[0096] In one embodiment, a relational table can be used to record the mapping relationship between the cause of the anomaly and the repair package. Thus, the step "obtaining the repair package corresponding to the cause of the anomaly as the target repair package according to the preset mapping relationship between the cause of the anomaly and the repair package" includes: using the cause of the anomaly as an index, searching in the preset relational table to find the repair package corresponding to the cause of the anomaly as the target repair package.

[0097] This embodiment does not specifically limit the implementation of the step "obtaining the repair package corresponding to the abnormal cause as the target repair package based on the preset mapping relationship between abnormal causes and repair packages". For example, in other embodiments, a key-value storage system (such as Redis or Memcached) can be used to record the mapping relationship between abnormal causes and repair packages, where the abnormal cause is the key and the repair package is the value.

[0098] Step S34: Control each abnormal device to perform an over-the-air download technology upgrade based on the target repair package in order to repair the connection abnormality of each abnormal device.

[0099] In one embodiment, by acquiring and analyzing the connection data between each abnormal device and the target router, the cause of the abnormality in the connection between the target router and each abnormal device is determined; then, by using the determined cause of the abnormality, a target repair package is generated; subsequently, by controlling each abnormal device to perform an over-the-air (OTA) upgrade based on the target repair package, the connection abnormality of each abnormal device can be repaired.

[0100] Therefore, this embodiment provides a method for automatically repairing abnormal connection problems between smart devices and routers. The determination of the cause of the anomaly, the generation of the repair package, and the execution of the repair process are all performed automatically, requiring no manual intervention throughout, greatly improving the efficiency and timeliness of anomaly repair.

[0101] For example, to help understand the implementation flow of the network monitoring method obtained by combining the above embodiments, taking the network monitoring flow of smart device A as an example, please refer to Figure 3, specifically:

[0102] First, smart device A reports its network information, such as the BSSID and signal strength of the connected router, to the cloud. Then, the cloud monitors the cumulative number of times smart device A goes offline within a preset period. Next, the cloud uses the received network information from smart device A, the monitored cumulative number of offline events, and the connection status of other Wi-Fi modules (i.e., other smart devices) connected to the router to analyze whether smart device A has an abnormal connection with the connected router. If so, the cloud analyzes the cause of the abnormal connection problem to determine the target repair package for fixing smart device A. Finally, by controlling smart device A to perform an OTA upgrade based on the target repair package, the connection anomaly of smart device A can be repaired.

[0103] It should be noted that this example is only for the purpose of assisting in understanding this application and does not constitute a limitation on the network monitoring method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0104] This application embodiment also provides a network monitoring device. Please refer to FIG4. The network monitoring device includes:

[0105] Data acquisition module 10 is used to acquire network information of each smart device connected to the target router and the cumulative number of offline times within a preset period;

[0106] The data processing module 20 is used to determine whether there are any abnormal devices among the smart devices based on the network information and cumulative offline count of each smart device. Abnormal devices refer to smart devices whose connection with the target router is abnormal. If they exist, the abnormal devices are repaired for connection abnormalities.

[0107] In one embodiment, the data processing module 20 is further configured to:

[0108] Based on the network connectivity information and cumulative offline count of each smart device, determine whether each smart device is in an abnormal network connectivity state, and count the number of smart devices in an abnormal network connectivity state to obtain the total number of abnormal devices.

[0109] If the total number of anomalies is greater than or equal to a preset threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is greater than or equal to a preset ratio threshold, then it is determined that there are abnormal devices among the smart devices, and each abnormal device is a smart device in an abnormal network state.

[0110] If the total number of anomalies is less than a preset threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is less than a preset ratio threshold, then it is determined that there are no abnormal devices among the smart devices.

[0111] In one embodiment, the network information includes signal strength, and the data processing module 20 is further used for:

[0112] For any smart device, if the signal strength of the smart device is greater than or equal to a preset strength threshold, and the cumulative number of offline times in each preset period is greater than a preset number of times within a consecutive preset number of preset periods, then the smart device is determined to be in an abnormal network state.

[0113] If the signal strength of the smart device is less than the preset strength threshold, and / or the cumulative number of offline times in each preset period is not greater than the preset number of times within a consecutive preset number of preset periods, then the smart device is determined to be in a normal network connection state.

[0114] In one embodiment, the data processing module 20 is further configured to:

[0115] Obtain connection data between each abnormal device and the target router;

[0116] Analyze the connection data to determine the cause of the abnormal connection between the target router and each abnormal device;

[0117] Generate the target repair package based on the cause of the anomaly;

[0118] Control each abnormal device to perform an over-the-air upgrade based on the target repair package in order to repair the connection abnormalities of each abnormal device.

[0119] In one embodiment, the data processing module 20 is further configured to:

[0120] Based on the connection data, determine the common connection characteristics between the target router and each abnormal device;

[0121] The cause of the anomaly is determined based on the shared connection characteristics.

[0122] In one embodiment, the data processing module 20 is further configured to:

[0123] If the shared connection feature information is the connection channel, then the cause of the anomaly is determined to be a channel anomaly.

[0124] If the shared connection information is encrypted, then the cause of the anomaly is determined to be an encryption anomaly.

[0125] In one embodiment, the data processing module 20 is further configured to:

[0126] Based on the preset mapping relationship between abnormal causes and repair packages, obtain the repair package corresponding to the abnormal cause as the target repair package.

[0127] The network monitoring device provided in this application, employing the network monitoring method described in the above embodiments, can ensure the timely repair of abnormal connection problems between smart devices and routers, and improve the user experience. Compared with the prior art, the beneficial effects of the network monitoring device provided in this application are the same as those of the network monitoring method provided in the above embodiments, and will not be repeated here.

[0128] This application also provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the network monitoring method described in the above embodiments.

[0129] Referring now to FIG5, a schematic diagram of an electronic device suitable for implementing embodiments of the present application is shown. The electronic device shown in FIG5 is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present application.

[0130] As shown in Figure 5, the electronic device may include a processing unit 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 102 or a program loaded from storage device 103 into random access memory (RAM) 104. RAM 104 also stores various programs and data required for the operation of the electronic device. The processing unit 101, ROM 102, and RAM 104 are interconnected via bus 105. Input / output (I / O) interface 106 is also connected to the bus. Typically, the following systems can be connected to I / O interface 106: input devices 107 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 108 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 103 including, for example, magnetic tape, hard disks, etc.; and communication devices 109. Communication device 109 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although the diagrams show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0131] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 103, or installed from ROM 102. When the computer program is executed by processing device 101, it performs the functions defined in the methods of the embodiments of this application.

[0132] The electronic device provided in this application, employing the network monitoring method described in the above embodiments, can ensure the timely repair of abnormal connection problems between smart devices and routers, and improve the user experience. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the network monitoring method provided in the above embodiments, and other technical features of the electronic device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0133] It should be understood that various parts of the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0134] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the above claims.

[0135] This application also provides a computer-readable storage medium storing a computer program that can run on a processor, the computer program being used to execute the network monitoring method in the above embodiments.

[0136] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In one embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0137] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0138] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by an electronic device, the electronic device causes the electronic device to: obtain the network information of each smart device connected to the target router and the cumulative number of offline times within a preset period; determine whether there are any abnormal devices among the smart devices based on the network information and the cumulative number of offline times of each smart device; abnormal devices refer to smart devices whose connection with the target router is abnormal; if they exist, perform connection abnormality repair processing on each abnormal device.

[0139] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0140] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0141] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0142] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the above-described network monitoring method, which can ensure the timely repair of abnormal connection problems between smart devices and routers and improve the user experience. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the network monitoring method provided in the above embodiments, and will not be repeated here.

[0143] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the network monitoring method described above.

[0144] The computer program product provided in this application can ensure the timely repair of abnormal connection problems between smart devices and routers, and improve the user experience. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the network monitoring method provided in the above embodiments, and will not be repeated here.

[0145] The above are merely embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A network monitoring method, wherein, The method includes: Obtain network connectivity information and cumulative offline counts of each smart device connected to the target router within a preset period; Based on the network connectivity information and cumulative offline count of each smart device, determine whether there are any abnormal devices among the smart devices; the abnormal device refers to a smart device whose connection with the target router is abnormal; If present, the connection anomaly of each of the aforementioned abnormal devices will be repaired.

2. The network monitoring method as described in claim 1, wherein, The step of determining whether there are any abnormal devices among the smart devices based on the network connection information and cumulative offline count of each smart device includes: Based on the network information and cumulative offline count of each smart device, determine whether each smart device is in an abnormal network state, and count the number of smart devices in an abnormal network state to obtain the total number of abnormal devices. If the total number of anomalies is greater than or equal to a preset threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is greater than or equal to a preset ratio threshold, then it is determined that there are abnormal devices among the smart devices, and each abnormal device is a smart device in an abnormal network state. If the total number of anomalies is less than the preset threshold, and / or the ratio of the total number of anomalies to the total number of smart devices connected to the target router is less than the preset ratio threshold, then it is determined that there are no abnormal devices among the smart devices.

3. The network monitoring method as described in claim 2, wherein, The network information includes signal strength. The step of determining whether each smart device is in an abnormal network state based on its network information and cumulative offline count includes: For any smart device, if the signal strength of the smart device is greater than or equal to a preset strength threshold, and the cumulative number of offline times in each preset period is greater than a preset number of times within a consecutive preset number of preset periods, then the smart device is determined to be in an abnormal network state. If the signal strength of the smart device is less than the preset strength threshold, and / or the cumulative number of offline times of the smart device in each preset number of consecutive preset periods is not greater than the preset number of times threshold, then the smart device is determined to be in a normal network connection state.

4. The network monitoring method as described in any one of claims 1 to 3, wherein, The steps for repairing connection anomalies in each of the aforementioned abnormal devices include: Obtain the connection data between each of the abnormal devices and the target router; Analyze the connection data to determine the cause of the abnormality in the connection between the target router and each of the abnormal devices; Based on the stated cause of the anomaly, generate the target repair package; Each of the abnormal devices is controlled to upgrade its over-the-air technology according to the target repair package in order to repair the connection abnormality of each of the abnormal devices.

5. The network monitoring method as described in claim 4, wherein, The step of analyzing the connection data to determine the cause of the abnormality in the connection between the target router and each of the abnormal devices includes: Based on the connection data, the common connection feature information between the target router and each of the abnormal devices is determined; The cause of the anomaly is determined based on the shared connection feature information.

6. The network monitoring method as described in claim 5, wherein, The step of determining the cause of the anomaly based on the shared connection feature information includes: If the shared connection feature information is a connection channel, then the cause of the anomaly is determined to be a channel anomaly. If the shared connection feature information is encrypted, then the cause of the anomaly is determined to be an encryption anomaly.

7. The network monitoring method as described in claim 4, wherein, The step of generating the target repair package based on the cause of the anomaly includes: Based on the preset mapping relationship between abnormal causes and repair packages, the repair package corresponding to the abnormal cause is obtained as the target repair package.

8. A networked monitoring device, wherein, The device includes: The data acquisition module is used to acquire network information of each smart device connected to the target router and the cumulative number of offline times within a preset period. The data processing module is used to determine whether there are any abnormal devices among the smart devices based on the network information and cumulative offline count of each smart device; the abnormal device refers to a smart device whose connection with the target router is abnormal; if there is, the abnormal device is repaired by performing connection abnormality repair processing.

9. An electronic device, wherein, The electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the network monitoring method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, wherein, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the network monitoring method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Network fault diagnosis method and device, network device and storage medium

    CN110380907A

  • Network repairing method and device for intelligent equipment and intelligent gateway

    CN113691404A

  • Screen projection service adjustment method and device and storage medium

    CN114040233A

  • Vehicle-mounted terminal program fault repairing method and device, vehicle, medium and product

    CN118394396A

  • Network event automatic remediation service

    US20200228430A1