A fault detection method, device and electronic device for a home network
The method allows users to diagnose network faults in their home WiFi networks by measuring gateway speeds, reducing the need for manual inspections and lowering costs by identifying user-purchased equipment as the cause of issues.
Patent Information
- Application Number
- CN202210941180.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2042-08-05
AI Technical Summary
In the prior art, when the home network is abnormal, the user cannot determine the root cause of the failure, resulting in frequent reports of failures to the broadband provider, increasing the cost of manual detection.
By submitting a detection request on the user side, the speed measurement interface of the broadband provider is called to measure the speed of the first gateway in the home network. If the network speed matches, the second network speed of the user side is obtained. If the preset requirements are not met, the second gateway is determined as a fault node and prompts the user to process.
Self-service fault detection is realized, reducing the frequency of manual door-to-door detection, saving network fault detection costs, accurately distinguishing abnormalities caused by users' own equipment purchases, and avoiding unnecessary door-to-door handling.
Smart Images

Figure CN115426670B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of network technology, and particularly relates to a method, device and electronic device for detecting faults in a home network. Background Art
[0002] With the continuous development of network technology, more and more families are accessing the broadband network provided by the broadband network provider to use the wireless (Wireless Fidelity, WiFi) network within the family. Although the access bandwidth of the broadband network in the user's home is advancing from 100 Mbps to 1 Gbps, the actual usage experience of the user still mainly depends on the WiFi network inside the home.
[0003] In the prior art, when a user perceives an abnormality in the WiFi network during use, since the root cause of the network abnormality cannot be determined. Therefore, the user often directly reports the fault to the broadband provider, and the personnel of the broadband provider will come to the door for fault detection. In this way, due to the need for on-site detection and reporting the network abnormality as soon as it is perceived, the frequency of on-site detection by personnel is relatively high, resulting in a relatively large cost for network fault detection. Summary of the Invention
[0004] The present invention provides a method, device and electronic device for detecting faults in a home network to solve the technical problem of relatively large cost for network fault detection.
[0005] In a first aspect, the present invention provides a method for detecting faults in a home network, which is applied to a detection end, and the method includes:
[0006] In response to a detection request submitted by a user end, a preset speed measurement interface is called to measure the speed of a first gateway in the home network to obtain a first network speed; the first gateway is a device provided by the broadband provider;
[0007] If the first network speed matches the standard network speed, when the home gateway used in the home network is a second gateway, obtain a second network speed at a speed measurement point within the home range of the user end; the second gateway is connected to the first gateway, and the second gateway is other gateway devices except the device provided by the broadband provider;
[0008] If the second network speed does not meet the preset network speed requirement, determine the second gateway as a fault node and return a first prompt message to the user end; the first prompt message is used to prompt the user to process the second gateway.
[0009] In a second aspect, the present invention provides a device for detecting faults in a home network, which is applied to a detection end, and the device includes:
[0010] A first call module, configured to call a preset speed measurement interface to measure the speed of a first gateway in the home network in response to a detection request submitted by a client, so as to obtain a first network speed; the first gateway is a device provided by a broadband provider.
[0011] A first acquisition module, configured to, if the first network speed matches a standard network speed, obtain a second network speed of a speed measurement point within the home range of the client when the home gateway used in the home network is a second gateway; the second gateway is connected to the first gateway, and the second gateway is another gateway device other than the device provided by the broadband provider.
[0012] A first return module, configured to, if the second network speed does not meet a preset network speed requirement, determine the second gateway as a faulty node, and return a first prompt message to the client; the first prompt message is used to prompt the client to process the second gateway.
[0013] In a third aspect, the present invention provides an electronic device, including: a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor implements the above-mentioned home network fault detection method when executing the program.
[0014] In a fourth aspect, the present invention provides a readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enabling the electronic device to execute the above-mentioned home network fault detection method.
[0015] In an embodiment of the present invention, in response to a detection request submitted by a client, a preset speed measurement interface is called to measure the speed of a first gateway in the home network, so as to obtain a first network speed; the first gateway is a device provided by a broadband provider. If the first network speed matches the standard network speed, when the home gateway used in the home network is a second gateway, the second network speed of the speed measurement point within the home range of the client is obtained; the second gateway is connected to the first gateway, and the second gateway is another gateway device other than the device provided by the broadband provider. If the second network speed does not meet the preset network speed requirement, the second gateway is determined as a faulty node, and a first prompt message is returned to the client; the first prompt message is used to prompt the client to process the second gateway. In this way, the user only needs to submit a detection request from the client to the detection end, and then can control the detection end to perform network detection, realizing self-service fault detection. Compared with the method of directly reporting a fault and notifying a technician to come to the door for fault detection, the frequency of on-site detection can be reduced to a certain extent, saving labor costs, and thus reducing the cost of network fault detection to a certain extent.
[0016] Moreover, by obtaining the second network speed at the speed measurement points within the home range of the user terminal, it is determined whether the devices not provided by the broadband provider are normal based on the second network speed. In this way, even when the user purchases equipment by themselves and does not use the gateway device provided by the broadband provider as the gateway, the actual situation of the user's home network can be accurately understood, and then it can be more accurately determined whether the network anomaly is caused by the user's self-purchased equipment, so as to avoid reporting faults that do not belong to the broadband provider to the broadband provider, avoid unnecessary on-site processing, and save labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0018] Figure 1 is a flowchart of the steps of a method for detecting faults in a home network provided by an embodiment of the present invention;
[0019] Figure 2 is a schematic diagram of a scenario provided by an embodiment of the present invention;
[0020] Figure 3 is a schematic diagram of a processing flow provided by an embodiment of the present invention;
[0021] Figure 4 is a structural diagram of a device for detecting faults in a home network provided by an embodiment of the present invention;
[0022] Figure 5 is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0024] Figure 1 is a flowchart of the steps of a method for detecting faults in a home network provided by an embodiment of the present invention. This method can be applied to a detection end, such as Figure 1 As shown, the method may include:
[0025] Step 101: In response to a detection request submitted by the user terminal, call a preset speed measurement interface to measure the speed of the first gateway in the home network to obtain the first network speed; the first gateway is a device provided by the broadband provider.
[0026] In the embodiment of the present invention, the detection request may be a network anomaly detection request submitted by the user terminal to the detection end when the user perceives that the home network has an anomaly. For the user, the home network is the home internal network of the user's family. Among them, the user terminal may be devices such as the mobile phone or computer used by the user, and the detection end may be a platform for network detection of the home network. For example, the detection end may be a server deployed with a detection system. Network detection of the home network can be understood as quality detection of the home internal network.
[0027] Further, the first gateway in the home network may specifically refer to the gateway device provided by the broadband provider in the network link of the home network. Exemplarily, the first gateway may be an optical modem, that is, the first gateway may be an optical cat. The preset speed measurement interface may be a speed measurement interface provided by the broadband provider. Among them, the broadband provider may refer to the operator of the home network, and the home network is the broadband network used by the family. Since the first gateway is a gateway device provided by the broadband provider, the preset speed measurement interface provided by the broadband provider has the ability to detect the transmission rate of the first gateway. Exemplarily, the detection end may call the one-key speed measurement ability interface of the broadband provider's home network to remotely measure the speed of the first gateway and obtain the speed measurement result, that is, obtain the first network speed. Among them, the one-key speed measurement ability interface of the home network may be provided by the first platform of the broadband provider, and the first platform may be the group atomic ability platform. The first network speed refers to the actual transmission rate of the first gateway. Specifically, the detection end may send a speed measurement request to the preset speed measurement interface, and then receive the first network speed obtained by the preset speed measurement interface in response to the speed measurement request after measuring the speed of the first gateway.
[0028] Step 102: If the first network speed matches the standard network speed, when the home gateway used in the home network is the second gateway, obtain the second network speed of the speed measurement point within the home range of the user terminal; the second gateway is connected to the first gateway, and the second gateway is other gateway devices except the devices provided by the broadband provider.
[0029] In the embodiments of the present invention, the second gateway refers to other gateway devices except for the devices provided by the broadband provider, that is, the second gateway does not belong to the devices provided by the broadband provider. The home gateway used in the home network refers to the device that actually acts as a gateway in the home network. In the actual application scenario, the broadband provider provides the first gateway to the user for use as the home gateway. However, in actual operation, the user may use the first gateway as the home gateway, that is, in the routing mode, using the optical network terminal as the home gateway. It is also possible that the first gateway is only used for signal conversion, and a device purchased by the user other than the device provided by the broadband provider is connected to the first gateway, and the device purchased by the user other than the device provided by the broadband provider acts as the gateway, that is, in the bridging mode, bridging the second gateway purchased by the user other than the device provided by the broadband provider with the optical network terminal, and using the second gateway as the home gateway. That is to say, the home gateway may actually be the first gateway or the second gateway.
[0030] The second gateway may be a routing device connected to the first gateway. For example, the second gateway may be a router of other manufacturers purchased by the user. That is to say, the second gateway is not a device provided by the broadband provider, and the broadband provider lacks means to control the user's home WiFi, that is, the broadband provider cannot directly detect the second gateway, and cannot directly detect the second gateway through the function interface provided by the broadband provider to understand the actual situation of the user's home internal network usage. Therefore, in this step, the second network speed of the speed measurement point within the home range of the user terminal can be obtained, and based on the second network speed, it can be determined whether the second gateway acting as the home gateway is normal. Specifically, if the second gateway is normal, then the second network speed will meet the preset network speed requirements. On the contrary, if the second gateway is abnormal, then the second network speed does not meet the preset network speed requirements.
[0031] Further, the subscribed rate corresponding to the user's assets can be queried from the open platform of the broadband provider based on the broadband account of the home network, that is, the network speed required to be achieved corresponding to the first gateway is queried to obtain the standard network speed. The matching of the first network speed and the standard network speed may refer to that the error between the first network speed and the standard network speed is within the preset error range. For example, the error is not greater than 10%. The non-matching of the first network speed and the standard network speed may refer to that the error between the first network speed and the standard network speed is not within the preset error range. For example, the error is greater than 10%. Specifically, the ratio of the difference obtained by subtracting the first network speed from the standard network speed to the standard network speed can be used as the error.
[0032] If the first network speed matches the standard network speed, it can be determined that there is no abnormality in the device of the broadband provider. Therefore, the second network speed of the speed measurement point within the home range of the user terminal can be further obtained, and based on the second network speed, it can be determined whether the second gateway acting as the home gateway is normal.
[0033] The speed measurement point within the home range can refer to the detection point within the coverage of the home network, and the second network speed can characterize the network rate when the user terminal uses the home network at this detection point.
[0034] Step 103, if the second network speed does not meet the preset network speed requirement, then determine the second gateway as a faulty node, and return a first prompt message to the user terminal; the first prompt message is used to prompt the user to process the second gateway.
[0035] That the second network speed does not meet the preset network speed requirement can mean that the error between the second network speed and the network speed required by the home network is not within the preset error range. For example, the error is greater than 10%. Specifically, the ratio of the difference obtained by subtracting the second network speed from the network speed required by the home network to the standard network speed can be used as this error. The network speed required by the home network is the subscribed rate of the home network.
[0036] Furthermore, if the second network speed does not meet the preset network speed requirement, it can be determined that there is an abnormality in the second gateway device purchased by the user himself. This second gateway is the root cause of the network abnormality. And since the second gateway is purchased by the user himself and does not belong to the equipment provided by the broadband provider, that is to say, the abnormality of the second gateway is not a fault that the broadband provider needs to handle. Therefore, a first prompt message can be returned to the user terminal to prompt the user to process the second gateway. The prompt message can be a fault handling prompt message. Exemplarily, the user terminal can display the first prompt message. For example, the first prompt message can be: The routing device is abnormal, please make adjustments. Correspondingly, the user can make adjustments by himself, or contact the equipment manufacturer for handling.
[0037] In summary, the home network fault detection method provided by the embodiments of the present invention, in response to a detection request submitted by the user terminal, calls a preset speed measurement interface to measure the speed of the first gateway in the home network to obtain the first network speed; the first gateway is the equipment provided by the broadband provider. If the first network speed matches the standard network speed, then when the home gateway used in the home network is the second gateway, obtain the second network speed of the user terminal at the speed measurement point within the home range; the second gateway is connected to the first gateway, and the second gateway is other gateway equipment except the equipment provided by the broadband provider. If the second network speed does not meet the preset network speed requirement, then determine the second gateway as a faulty node, and return a first prompt message to the user terminal; the first prompt message is used to prompt the user to process the second gateway. In this way, the user only needs to submit a detection request to the detection end through the user terminal to control the detection end to perform network detection, realizing self-service fault detection. Compared with the method of directly reporting faults and notifying manual on-site fault detection, the frequency of on-site detection can be reduced to a certain extent, saving labor costs, and thus reducing the cost of network fault detection to a certain extent.
[0038] Moreover, by obtaining the second network speed of the speed measurement points within the home range of the user terminal, it is determined whether the device not provided by the broadband provider is normal based on the second network speed. In this way, even when the user purchases the device by himself / herself and does not use the gateway device provided by the broadband provider as the gateway, the actual situation of the user's home network can be accurately understood, and then it can be more accurately determined whether the network anomaly is caused by the device purchased by the user himself / herself, so as to avoid reporting a fault not belonging to the broadband provider to the broadband provider, avoid unnecessary on-site processing, and save labor costs.
[0039] Optionally, the embodiments of the present invention may further include the following steps:
[0040] Step A1: When the home gateway is the first gateway, call a preset query interface to obtain the device information of the first gateway.
[0041] Step A2: If the device information indicates that the first gateway does not support the standard network speed, return a first fault result for indicating that the first gateway has a first abnormal problem to the user terminal, and send a first fault handling task to the broadband provider; the first fault handling task is used to instruct the broadband provider to handle the first abnormal problem.
[0042] For the above steps A1 to A2, further, if the device information indicates that the first gateway supports the standard network speed, the step of obtaining the second network speed of the speed measurement points within the home range of the user terminal and the subsequent steps of this step can be executed.
[0043] The preset query interface may be a query interface provided by the broadband provider. When the home gateway is the first gateway, since the first gateway is a device provided by the broadband provider, the device information of the first gateway can be obtained through the function interface provided by the broadband provider, so as to further determine whether the first gateway has an anomaly based on the device information.
[0044] The device information of the first gateway may be the gateway model information of the first gateway. Exemplarily, the gateway model information can be obtained by using the binding information query interface of the first platform. Based on the preset gateway model and the corresponding supported network speed, it is determined whether the gateway model of the first gateway supports the standard network speed. For example, the supported network speed corresponding to the gateway model of the first gateway can be determined first. If the supported network speed is not less than the standard network speed, it can be determined that the first gateway supports the standard network speed. On the contrary, if the supported network speed is less than the standard network speed, it can be determined that the first gateway does not support the standard network speed.
[0045] The fact that the first gateway does not support the standard network speed is often due to the old and outdated equipment. Therefore, the first anomaly problem can be determined as the old and outdated home gateway equipment. Specifically, since the first gateway is the equipment of the broadband provider, a first fault handling task can be sent to the broadband provider based on the fault reporting module to indicate that there is a problem with the old and outdated home gateway equipment in this home network. Accordingly, the broadband provider can notify the maintenance personnel to come to the door for replacement. Further, the first fault result can be used to prompt the user that the current network anomaly is caused by the old and outdated home gateway equipment of the broadband provider, and this fault has been reported accordingly, so that the user can know the reason in time and then wait for the repair.
[0046] If the device information indicates that the first gateway supports the standard network speed, it can be determined that there is no problem with the old and outdated equipment of the first gateway. Therefore, the factor of the old and outdated first gateway equipment can be excluded, and further network speed detection can be performed on the first gateway. Among them, the network speed detection of the first gateway can specifically include: obtaining the third network speed of the speed measurement point within the home range of the user terminal, and determining whether there is an anomaly in the first gateway based on this third network speed. Specifically, the implementation method of obtaining the third network speed of the speed measurement point within the home range of the user terminal and determining whether there is an anomaly in the first gateway based on this third network speed can refer to the implementation method of obtaining the second network speed of the speed measurement point within the home range of the user terminal and determining whether there is an anomaly in the second gateway based on this second network speed. Of course, if the first gateway in the home network topology also includes subordinate devices, the subordinate devices can be further detected.
[0047] Among them, the data structure of the speed measurement result for the gateway can be shown in the following table:
[0048] Field Name Field Description Data Format Length downSpeed Download Rate String 20 upSpeed Upload Rate String 20 gatewayId Gateway ID Integer 10 mac Device Network Identifier String 30
[0049] Further, the data structure of the subscribed rate of the gateway can be shown in the following table:
[0050] Field Name Field Description Data Format Length rate Subscription Rate String 20 gatewayId Gateway ID Integer 10
[0051] It should be noted that the above steps A1 to A2 can be specifically executed when the first network speed matches the standard network speed and the home gateway is the first gateway, or can also be executed when the first network speed does not match the standard network speed and the home gateway is the first gateway.
[0052] In the embodiment of the present invention, when the home gateway is the first gateway, the query interface provided by the broadband provider is called to obtain the device information of the first gateway. When the device information indicates that the first gateway does not support the standard network speed, a first fault result indicating that the first gateway has a first abnormal problem is returned to the user side, and a first fault handling task is sent to the broadband provider; the first fault handling task is used to instruct the broadband provider to handle the first abnormal problem. In this way, by automatically reporting the first abnormal problem that needs to be handled by the broadband provider, the operations that the user needs to perform can be reduced to a certain extent, thereby improving the processing efficiency.
[0053] It should be noted that in the embodiment of the present invention, when the first network speed matches the standard network speed, it can be detected whether the home network is the first gateway or the second gateway. Specifically, the home network topology structure information can be obtained. For example, the home network topology structure is obtained by using the home network topology information acquisition interface of the first platform. The device address information of the user side is obtained. The device address information refers to a unique network identifier that each device in the network has. For example, the media access control Address (mac) information is obtained. Specifically, a device address information acquisition request can be sent to the user side, and then the device address information returned by the user side is received.
[0054] If the device address information exists in the home network topology structure information, it is determined that the home gateway is the first gateway. If the device address information does not exist in the home network topology structure information, it is determined that the home gateway is the second gateway purchased by the user. The data structure of the home network topology structure information can be as shown in the following table:
[0055] Field Name Field Description Data Format Length data Device Record Set List / parentType Superior Type Integer 10 parentMac Superior Mac String 30 parentId Upper-Level ID Integer 10 mac Current Device mac String 30 contentType Access Type Integer 10 devType Device Type String 10 model Device Model String 100 ip Device IP String 30 brand Device Brand String 30 os Device Operating System String 30 logo Device Logo String 100 gatewayId Gateway ID Integer 10 accSpeed Terminal Negotiation Rate String 30
[0056] Among them, the device record set can include gateways, the devices connected under the gateway (such as terminal devices, WiFi devices), and the terminal devices connected under the WiFi. When the access type is 0, it indicates wired access, and when the access type is 1, it indicates wireless access. The data length of the device record set can be unrestricted, or it can also be set to a fixed length according to actual needs.
[0057] Further, taking the user side as a mobile phone as an example, the data structure of the device address information can be as shown in the following table:
[0058]
[0059]
[0060] Optionally, before step 101, the embodiment of the present invention may further include the following steps:
[0061] Step B1: Detect the network access status of the home network.
[0062] Correspondingly, the above-mentioned calling of the preset speed measurement interface to measure the speed of the first gateway in the home network includes: Step 1011: When the network access status is accessible and the home network is connected smoothly, call the preset speed measurement interface to measure the speed of the first gateway.
[0063] Regarding the above Step B1 and Step 1011, the network access status can include two types: accessible and inaccessible. Determine whether the home network can be accessed by obtaining the network access status of the home network. The anomalies perceived by users in the home network can be divided into two cases. The first case is that the home network cannot be accessed, and the second case is that although the home network can be accessed, the network speed is very slow during actual use. Therefore, in the embodiments of the present invention, the network access status of the home network can be detected first to determine the current actual situation.
[0064] Specifically, inquiry information can be sent to the user terminal to confirm with the user the network access situation, whether it is in the home WiFi environment, that is, to confirm whether the network access status of the home network is accessible. If it is accessible, it can be further confirmed whether the home network is connected smoothly. For example, the inquiry information can include asking to confirm whether the home WiFi can be accessed, and the user clicks the yes button or the no button according to the actual situation. Further, it can also include asking to confirm whether the home network is connected smoothly, and the user clicks the yes button or the no button according to the actual situation. For example, click the yes button when the home WiFi can be used. It should be noted that if the home WiFi cannot be accessed or the connection is not smooth, the user terminal can switch to the 4G / 5G cellular mobile data scenario to interact with the detection terminal. Specifically, the detection terminal can, in the case of a non-smooth connection, prompt the user that the network cannot be accessed normally and ask to switch to 4G / 5G cellular mobile data to re-access.
[0065] Further, if it is accessible and the home network is connected smoothly, it can be determined that the entire network link is not disconnected, and the anomaly perceived by the user belongs to the second case. Otherwise, it can be determined that the anomaly perceived by the user belongs to the first case.
[0066] In the embodiments of the present invention, by detecting the network access status of the home network. Only when the network access status is accessible and the home network is connected smoothly, the preset speed measurement interface is called to measure the speed of the first gateway. In this way, it is possible to avoid the problem of wasting processing resources by performing unnecessary speed measurement operations when the home network is disconnected.
[0067] Optionally, after detecting the network access status of the home network, the embodiments of the present invention may further include the following steps:
[0068] Step C1: When the network access status is "unable to access" or the network access status is "able to access" but the home network connection is not smooth, call a preset status interface to detect the network connection status between the access network provided by the broadband provider and the first gateway.
[0069] Step C2: When the network connection status is "not normally connected", return a second fault result indicating that there is a second abnormal problem with the first gateway to the user terminal, and send a second fault handling task to the broadband provider; the second fault handling task is used to instruct the broadband provider to handle the second abnormal problem.
[0070] Regarding the above steps C1 to C2, if the network access status is "unable to access", or the network access status is "able to access" but the home network connection is not smooth, then it can be determined that there is a problem with the network link of the home network. For example, a certain part of the network link may be disconnected. Therefore, it is possible to detect whether the connection between the access network and the first gateway is normal, that is, to detect the line connectivity of the user's home gateway.
[0071] The gateway status interface provided by the broadband provider can be called to detect the network connection status between the access network provided by the broadband provider and the first gateway. Specifically, the gateway status capability interface provided by the first platform of the broadband provider can be used to obtain the network connection status to determine the line connectivity from the access network to the first gateway. If the result is normal, it can be prompted to the user that the network connection between the access network provided by the broadband provider and the first gateway is normal, that is, the link from the home network to the user's home gateway is normal, and it is prompted to the user that the fault node is on the user's home WiFi router and the user is requested to solve it by himself.
[0072] Among them, the second abnormal problem may refer to an abnormal gateway link. The access network provided by the broadband provider may refer to the network upstream of the first gateway in the entire network link. The access network provided by the broadband provider may include network element devices upstream of the first gateway in the entire network link. These upstream network element devices all belong to the devices provided by the broadband provider, and the first gateway itself also belongs to the devices provided by the broadband provider. Therefore, if the network connection status is "not normally connected", the current fault causing the network abnormality belongs to the category that needs to be handled by the broadband provider. Therefore, based on the fault reporting module, a second fault handling task can be sent to the broadband provider to indicate that there is a problem with the gateway link of this home network. Correspondingly, the broadband provider can notify the maintenance personnel to come to the door for corresponding handling. Further, the second fault result can be used to prompt the user that the current network abnormality is caused by the abnormal gateway link of the broadband provider, and this fault has been reported correspondingly, so that the user can timely learn the current fault cause and then the network can be repaired.
[0073] In an embodiment of the present invention, when the network access state is non-accessible or the network access state is accessible but the home network connection is not smooth, a preset status interface is called to detect the network connection status between the access network provided by the broadband provider and the first gateway. When the network connection status is not normally connected, a second fault result indicating that there is a second abnormal problem with the first gateway is returned to the user side, and a second fault handling task is sent to the broadband provider; the second fault handling task is used to instruct the broadband provider to handle the second abnormal problem. In this way, when the home network cannot be connected and the network is not accessible, it is detected whether the access network provided by the broadband provider and the first gateway are normally connected to achieve fault location, and to a certain extent, the applicable scenarios of fault location can be improved. And by automatically reporting the second abnormal problem that needs to be handled by the broadband provider, the operations that the user needs to perform can be reduced to a certain extent, thereby improving the processing efficiency.
[0074] Optionally, after detecting the network connection status between the access network provided by the broadband provider and the first gateway, the embodiment of the present invention may further include the following steps:
[0075] Step D1: When the network connection status is normally connected, determine the subordinate network device connected to the first gateway as a fault node, and return a second prompt message to the user side; the second prompt message is used to prompt the user to handle the subordinate network device.
[0076] In this step, the subordinate network device connected to the first gateway may be a device hung under the first gateway, including a router connected to the first gateway. It should be noted that in the embodiment of the present invention, step D1 may be specifically executed when the network connection status is normally connected and the home gateway is the second gateway. Correspondingly, if the network connection status is normally connected, it means that there is no abnormality in the part responsible by the broadband provider. Therefore, a second prompt message can be returned to prompt the user to handle the subordinate network device, that is, to prompt the user that the fault node is on the user's home WiFi router and ask the user to solve it by himself. Or, the speed of the subordinate network device can be further measured, and when the speed does not meet the standard, the second prompt message is returned to prompt the user to solve it by himself.
[0077] When there is no subordinate network device connected to the first gateway, that is, when the user directly uses the first gateway as the home gateway for routing, if the network connection status is normally connected, it can be determined that it may be due to other factors, such as the Internet access device of the user connecting to the home WiFi, for example, a mobile phone or a computer has a problem, or the first gateway itself has a problem. Therefore, a fault handling task can be sent to the broadband provider to instruct the broadband provider to conduct an on-site investigation.
[0078] In the embodiment of the present invention, when the network connection status is a normal connection, the subordinate devices connected to the first gateway are determined as faulty nodes, and a second prompt message is returned to the user side to prompt the user to process the subordinate devices. In this way, by timely reminding the user that the subordinate devices connected to the first gateway are faulty nodes and need to be processed by the user, to a certain extent, it can avoid unnecessary fault complaint reporting operations by the user to the broadband provider, thereby reducing the operations required by the user, reducing the on-site work of personnel, reducing the complaint rate of the user, and making the failure rate statistically by the broadband provider more realistic and reasonable.
[0079] Optionally, after measuring the speed of the first gateway in the home network to obtain the first network speed, the embodiment of the present invention may further include the following steps:
[0080] Step E1: If the first network speed does not match the standard network speed, then detect the first network speed again.
[0081] Step E2: If the first network speed detected again does not match the standard network speed, then return a third fault result indicating that the first gateway has a third abnormal problem to the user side, and send a third fault handling task to the broadband provider; the third fault handling task is used to instruct the broadband provider to handle the third abnormal problem.
[0082] Regarding the above steps E1 to E2, the third abnormal problem may include that the first gateway causes the home gateway link to be abnormal, that is, although the home network can be connected and the network can be connected, the network speed does not meet the standard. Therefore, it can be determined that the current network abnormality belongs to the scope that needs to be handled by the broadband provider, and a third fault handling task can be sent to the broadband provider based on the fault reporting module. Correspondingly, the broadband provider can notify the maintenance personnel to go to the site for corresponding handling. Further, the third fault result can be used to prompt the user that the current network abnormality belongs to the scope that needs to be handled by the broadband provider, and the fault has been reported accordingly, so that the user can timely know the current fault reason and wait for the network to be repaired.
[0083] Further, the operation of detecting the first network speed again can refer to the relevant content about detecting the first network speed above, which will not be elaborated here. The operation of detecting again can be performed when it is first detected in this abnormal detection process that the first network speed does not match the standard network speed. If the first network speed detected again still does not match the standard network speed, it can be determined that the first gateway indeed has a problem, and then a third fault result indicating that the first gateway has a third abnormal problem can be returned.
[0084] In the embodiments of the present invention, when the first network speed does not match the standard network speed, the first network speed is detected again. When the first network speed detected again does not match the standard network speed, a third failure result indicating that there is a third abnormal problem with the first gateway is returned to the user side, and a third failure handling task is sent to the broadband provider. In this way, through multiple detections, the problem of inaccurate fault location caused by deviation in single detection can be avoided.
[0085] It should be noted that, alternatively, when it is first detected that the first network speed does not match the standard network speed, the third failure result can be directly returned to the user side, and a third failure handling task can be sent to the broadband provider to improve the overall processing efficiency. Further, if the first network speed detected again matches the standard network speed, the step of determining whether the home gateway used for the home network is the first gateway or the second gateway can be entered. When the home gateway is the second gateway, the process of obtaining the second network speed of the speed measurement point within the home range of the user side is entered. When the home gateway is the first gateway, the process of calling a preset query interface to obtain the device information of the first gateway is entered.
[0086] Optionally, in one implementation, the embodiments of the present invention can first obtain the device operation parameters of the first gateway. Correspondingly, the step of detecting the first network speed again specifically may include: when there are abnormal parameters in the device operation parameters, restart the first network speed, and detect the first network speed again after the restart. Specifically, the device operation parameters can be set according to actual needs. For example, the device operation parameters may include the continuous operation time, the occupancy rate of the central processing unit (CPU), the memory occupancy rate, the received optical power, etc. The device operation parameters can be obtained by using the first platform of the broadband provider. If the result is abnormal, that is, there is at least one abnormal parameter in the device operation parameters, the gateway restart and key parameter ability reset interface is continuously called to restart the first gateway to modify the first gateway. When the first gateway completes the restart and returns to normal, the first network speed is detected again. Specifically, the first network speed can be directly detected again, or after the first gateway completes the restart, the processing flow of network anomaly detection can be started from the beginning to re-detect the first network speed again.
[0087] In the embodiments of the present invention, by obtaining the device operation parameters of the first gateway, when there are abnormal parameters in the device operation parameters, the first network speed is restarted, and the first network speed is detected again after the restart. In this way, to a certain extent, the factors causing deviation in detection are excluded by restarting first, and then the accuracy of the re-detection can be improved when detecting again. And restarting is only performed when there are abnormal parameters in the device operation parameters, which can avoid performing unnecessary restart operations.
[0088] Optionally, the embodiments of the present invention may further include the following steps:
[0089] Step F1: Receive the progress query request sent by the client.
[0090] Step F2: In response to the progress query request, query the processing progress of the target fault handling task from the broadband provider; the target fault handling task is the fault handling task indicated by the progress query request.
[0091] Step F3: Return the processing progress to the client.
[0092] For the above steps F1 to F3, the progress query request can be used to query the current processing progress of the target fault handling task submitted to the broadband provider from the detection end. Among them, the target fault handling task may include the fault handling tasks involved above. For example, the first fault handling task, the second fault handling task, and the third fault handling task. The above steps F1 to F3 can be executed after submitting the fault handling task to the broadband provider.
[0093] The fault handling task can be submitted to the broadband provider in the form of a fault work order. For example, it can be specifically submitted to the network operation department for relevant departments to solve. The user can submit a fault work order query request through the client to query the acceptance situation and progress of the fault work order. Specifically, the detection end can query the construction situation of the fault work order from the second platform of the broadband provider in response to the fault work order query request and return it to the client. Among them, the second platform can be a telecom capability development platform. The construction situation can represent the current processing progress. In the embodiments of the present invention, by querying the processing progress of the target fault handling task from the broadband provider and returning it to the client, while realizing automatic anomaly detection, the user can conveniently master the fault handling situation, thereby avoiding the problem that the user is not clear about the processing progress and reporting the fault again.
[0094] It should be noted that the user can also submit a fault work order to the detection end based on the client, and then the detection end submits the fault work order to the broadband provider. Figure 2 This is a schematic diagram of a scenario provided by the embodiments of the present invention, as Figure 2As shown, multiple execution entities can collaborate in the entire interaction process. Specifically, the entities participating in the interaction can include a user terminal, a detection system, a first platform, and a second platform. The detection system represents the detection end, and the first platform and the second platform represent the platforms provided by the broadband provider. The user terminal can send a network quality detection request, that is, the above detection request. The detection system can respond to the network quality detection request and measure the speed of the gateway based on the first platform to obtain the gateway speed measurement result. That is, the above first network speed is obtained. Then, the subscribed rate, that is, the above standard network speed, can be queried from the second platform to determine whether the first network speed matches the standard network speed. The user terminal can also submit a fault work order to the detection system or query a fault work order. Correspondingly, the detection system can also submit the fault work order to the second platform and query the processing progress of the fault work order from the second platform. Further, the user terminal can sequentially initiate a speed measurement request for the room to control the detection system to perform speed measurement, and then obtain the room speed measurement result. It should be noted that Figure 2 Only part of the interaction logic is shown. In actual applications, there can be other interaction logics between these multiple entities, which will not be elaborated here.
[0095] Optionally, the step of determining the second gateway as a fault node and returning a first prompt message to the user terminal may specifically include:
[0096] Step 1031: Obtain the quality difference label of the second gateway.
[0097] Step 1032: When the quality difference label is successfully obtained, return a first sub-prompt message to the user terminal, and the first sub-prompt message is used to indicate that the second gateway has a fourth abnormal problem.
[0098] Step 1033: Obtain the network frequency band of the home network. When the network frequency band is a specified frequency band, return a second sub-prompt message to the user terminal, and the second sub-prompt message is used to indicate that the second gateway does not meet the specified bandwidth requirement.
[0099] Regarding the above steps 1031 to 1033, the quality difference label therein is a user portrait generated for the gateway based on big data analysis. The existence of this quality difference label indicates that the user's network environment may be poor. Specifically, it may be due to incorrect network port insertion, non-compliant network cables, etc., which affect the user's Internet experience. The quality difference label can be pre-generated. For example, the quality difference label of the user can be obtained through the home network quality difference label interface of the group atomic capability platform. If the second gateway has a quality difference label, the operation of obtaining the quality difference label of the second gateway can successfully obtain the quality difference label. On the contrary, if the second gateway does not have a quality difference label, the operation of obtaining the quality difference label of the second gateway cannot successfully obtain the quality difference label. Further, if the second gateway has a quality difference label, it indicates that there is an abnormality in the second gateway, indicating that there is a fourth abnormality problem in the connected gateway. Therefore, if the quality difference label is successfully obtained, the first sub-prompt message indicating the existence of the fourth abnormality problem in the second gateway can be returned to the user terminal. Among them, the fourth abnormality problem may include connection errors. For example, the network cable is inserted into the gigabit port of the router, resulting in the router not being correctly connected to the gigabit port of the first gateway. Whether the network cable specification meets the standard, for example, the actually inserted network cable is a hundred-megabit network cable, which does not meet the gigabit requirement, or the home wired network is old or the wiring is not standardized.
[0100] Further, the hotspot information connected by the user terminal can be obtained. For example, the hotspot information connected by the mobile phone, the information of the hotspots searched by the mobile phone (for example, the information of the nearest hotspot that can be searched), and the network frequency band of the home network can be detected. The network frequency band of the home network can be the network frequency band of the WiFi signal provided by the second gateway. The specified frequency band can be the frequency band required to support the currently subscribed Internet speed of the home network. For example, the specified frequency band can be the 5.0 frequency band. If the network frequency band of the home network does not reach the specified frequency band, for example, the network frequency band of the home network is the 2.4 frequency band, it may not meet the gigabit requirement. Then it can be determined that the second gateway cannot meet the specified bandwidth requirement, that is, the router cannot exert its bandwidth performance, and then the second sub-prompt message can be returned. In the embodiments of the present invention, by specifically returning the first sub-prompt message or the second sub-prompt message, it is convenient for the user to locate the problem.
[0101] It should be noted that in the embodiments of the present invention, the network frequency band can be further detected according to the speed measurement results, such as the first Internet speed, the second Internet speed, and the version information of the gateway, etc., to ensure accuracy. Further, in the case of bandwidth matching and no coverage difference, the abnormality problem can be determined as: the co-channel interference of Wi-Fi devices is relatively large.
[0102] Optionally, in the embodiments of the present invention, one of the speed measurement points can correspond to a room in the home. The operation of obtaining the second Internet speed of the speed measurement point of the user terminal within the home range may specifically include: Step 1021, obtaining the second Internet speed of the user terminal in each of the rooms.
[0103] Correspondingly, the embodiment of the present invention may further include: Step G1, if the room network speeds in all rooms do not meet the preset network speed requirements, it is determined that the second network speed does not meet the preset network speed requirements.
[0104] Regarding the above Step 1021 and Step G1. The user can select multiple speed measurement points in different rooms on the page displayed on the user side. Of course, speed measurement points in the same room can also be selected. Among them, the page displayed on the user side can be a mini-program page, a web page, etc. In this way, by providing a simple and easy-to-use visual management web page or mini-program, the user can complete the network fault diagnosis in a self-service manner. And it enables the user to realize network anomaly detection without specifically downloading a client, with a low usage threshold, no need for installation and maintenance personnel to visit, and a high acceptance degree by users. The page displayed on the user side can be constructed based on HyperText Markup Language 5 (HTML5).
[0105] Furthermore, if the room network speed in at least one room meets the preset network speed requirements, a third fault prompt message can be returned to the user. The third fault prompt message can be used to indicate that there are dead corners in the WiFi coverage of the second gateway. Suppose the user selects three speed measurement points, namely speed measurement point X1, speed measurement point X2, and speed measurement point X3. Among them, speed measurement point X1, speed measurement point X2, and speed measurement point X3 correspond to 3 rooms respectively. Then, the speed measurement result 1 of X1, the speed measurement result 2 of X2, and the speed measurement result 3 of X3 can be obtained in sequence. Correspondingly, the speed measurement results 1, 2, and 3 can be respectively compared with the subscribed rate (i.e., the network speed required for the home network). If the error of any one of the speed measurement results 1, 2, and 3 is within 10%, it means that the user's broadband speed is normal, and it is prompted that there is a problem with the connection between the user side and the home WiFi router in the room where the error is greater than 10%, and it is not covered by the home WiFi. If the errors of the speed measurement results 1, 2, and 3 are all greater than 10%, it can be determined that the second network speed does not meet the preset network speed requirements. If the errors of the speed measurement results 1, 2, and 3 are all less than 10%, it is prompted that the home network environment is normal, that is, there is no network anomaly.
[0106] Among them, the testing of the room network speed at the speed measurement points inside the room can be achieved by prompting the user on the front-end page to place the user device at each speed measurement point inside the room, thereby realizing the speed measurement of the room. Or, when there are wireless access point (AP) devices in each room, the speed measurement can also be directly performed based on the AP devices in the room. Correspondingly, the third prompt message can also be used to characterize the abnormality of the AP in the room. Exemplarily, the room network speed in each room can be obtained based on a preset user asset interface and the speed measurement service of the intranet quality detection system. Exemplarily, after the user device selects the speed measurement point of the room, the detection end can initiate a request for room WiFi speed measurement when it determines that the user device is connected to the WiFi. Correspondingly, the intranet quality detection system can complete the room WiFi speed measurement and generate the speed measurement result of the room.
[0107] In one implementation, the data structure of the speed measurement result for the room can be as shown in the following table:
[0108] Field Name Field Description Data Format Length down Download Rate String 20 upward Upload Rate String 20 unitTypeId Room Id Long 10 userId User Id Long 10 gatewayId Gateway Id Long 10 dalay Average Delay Time Double 10 jitter Average Jitter Double 10 mobileMac Mobile mac String 30 unitName Room Name String 100
[0109] Optionally, in the embodiments of the present invention, a graphical room network speed result can also be generated according to the room network speed in each of the rooms; and the room network speed result can be returned to the user device. Among them, the room network speed result can characterize the home intranet quality assessment result. The operation of measuring the room speed can be implemented based on the intranet quality diagnosis service. The user device can also enable the detection system to create a home intranet quality detection service to complete the home intranet quality detection work for smart home services and give corresponding optimization solutions. Specifically, the quality assessment result can be visually and vividly displayed to the user in the form of a network topology diagram or the like. In the embodiments of the present invention, from the perspective of the user's perception, the quantifiable home network quality assessment result is presented in a graphical manner, so as to facilitate the user to conveniently obtain the assessment result and more accurately understand the network quality of the user's home intranet. At the same time, it can assist subsequent work such as whole-house networking.
[0110] Next, an application scenario related to the embodiments of the present invention will be described. Currently, users often use self-purchased routing devices. Since users cannot diagnose the cause of the failure, that is, they cannot determine whether the failure is caused by the self-purchased routing device or the operator's broadband failure. Therefore, in the case of a network anomaly caused by the self-purchased device, the user will directly assume that it is a problem with the broadband network, and then report the failure to the broadband provider for complaint, which will lead to unnecessary on-site manual processing subsequently.
[0111] Figure 3 is a schematic diagram of a processing flow provided by the embodiments of the present invention. As Figure 3As shown, it is possible to first determine whether the home network can be accessed. If it cannot be accessed, it is possible to determine whether the home gateway link is normal, that is, to determine whether there is a normal connection between the access network provided by the broadband provider of the home network access status and the first gateway. Specifically, it can also be to determine whether the home gateway link is normal when the home network can be accessed and the home network connection is not smooth. If the home gateway link is not normal, a trouble ticket can be submitted for the broadband provider to resolve. If the home gateway link is normal, the user can be prompted to resolve it by themselves, that is, a second prompt message is returned to the user side to prompt the user to process.
[0112] Furthermore, if it can be accessed, the first gateway can be speed-tested. Specifically, the first gateway can be speed-tested when it can be accessed and the connection is smooth. Furthermore, when the speed test result of the first gateway matches the standard network speed and the home gateway is the first gateway, it is possible to detect whether the first gateway supports the standard network speed according to the device information of the first gateway. If it does not support, the user can be prompted that the home gateway device is old, that is, a first fault result indicating that there is a first abnormal problem with the first gateway is returned to the user side, and a first fault handling task is sent to the broadband provider. When the speed test result of the first gateway matches the standard network speed and the home gateway is the second gateway, speed test points in multiple rooms can be selected to perform speed tests in sequence. After the speed tests of all speed test points are completed, the room network speed results are generated.
[0113] It should be noted that if the speed test result of the first gateway does not match the standard network speed, the first gateway can be repaired when it does not match for the first time. If the speed test result of the first gateway still does not match the standard network speed after repair, it can be determined that the home gateway link is not normal and a trouble ticket is submitted.
[0114] In the embodiment of the present invention, in the case where the user uses self-purchased equipment, it is not limited by the model of the self-purchased equipment, and there is no need to specifically use the management tool of the home WiFi that requires the broadband provider to support a specific protocol. It is not limited to the operator's own WiFi, and has better universality and a wider application range. In the embodiment of the present invention, combined with the broadband diagnosis ability of the broadband provider itself, and with the help of the user's mobile phone, through end-to-end segmented verification of the home gateway, router, and WiFi conditions, the fault judgment is more accurate.
[0115] Figure 4 It is a structural diagram of a home network fault detection device provided by an embodiment of the present invention, which is applied to the detection end. The device 20 may include:
[0116] The first calling module 201 is configured to call a preset speed measurement interface to measure the speed of the first gateway in the home network in response to a detection request submitted by the user terminal, so as to obtain the first network speed; the first gateway is a device provided by the broadband provider.
[0117] The first obtaining module 202 is configured to, if the first network speed matches the standard network speed and the home gateway used in the home network is the second gateway, obtain the second network speed of the speed measurement point within the home range of the user terminal; the second gateway is connected to the first gateway, and the second gateway is other gateway devices except the device provided by the broadband provider.
[0118] The first returning module 203 is configured to, if the second network speed does not meet the preset network speed requirement, determine the second gateway as a faulty node and return a first prompt message to the user terminal; the first prompt message is used to prompt the user to process the second gateway.
[0119] Optionally, the device 20 further includes:
[0120] The second calling module is configured to call a preset query interface to obtain the device information of the first gateway when the home gateway is the first gateway.
[0121] The second returning module is configured to, if the device information indicates that the first gateway does not support the standard network speed, return a first fault result indicating that there is a first abnormal problem with the first gateway to the user terminal, and send a first fault handling task to the broadband provider; the first fault handling task is used to instruct the broadband provider to handle the first abnormal problem.
[0122] Optionally, the device 20 further includes:
[0123] The first detection module is configured to detect the network access status of the home network.
[0124] The first calling module 201 is specifically configured to:
[0125] Call the preset speed measurement interface to measure the speed of the first gateway when the network access status is accessible and the home network connection is smooth.
[0126] Optionally, the device 20 further includes:
[0127] The third calling module is configured to call a preset status interface to detect the network connection status between the access network provided by the broadband provider and the first gateway when the network access status is inaccessible or the network access status is accessible and the home network connection is not smooth.
[0128] A first sending module, configured to, when the network connection status is not normally connected, return a second fault result to the user side, which is used to characterize that there is a second abnormal problem with the first gateway, and send a second fault handling task to the broadband provider; the second fault handling task is used to instruct the broadband provider to handle the second abnormal problem.
[0129] Optionally, the device 20 further includes:
[0130] A third return module, configured to, when the network connection status is normally connected, determine the subordinate network device connected to the first gateway as a fault node, and return second prompt information to the user side; the second prompt information is used to prompt the user to process the subordinate network device.
[0131] Optionally, the device 20 further includes:
[0132] A second detection module, configured to, if the first network speed does not match the standard network speed, detect the first network speed again;
[0133] A second sending module, configured to, if the first network speed detected again does not match the standard network speed, return a third fault result to the user side, which is used to characterize that there is a third abnormal problem with the first gateway, and send a third fault handling task to the broadband provider; the third fault handling task is used to instruct the broadband provider to handle the third abnormal problem.
[0134] Optionally, the device 20 further includes:
[0135] A second acquisition module, configured to acquire the device operation parameters of the first gateway;
[0136] The step of detecting the first network speed again includes: when there are abnormal parameters in the device operation parameters, restart the first network speed, and detect the first network speed again after the restart.
[0137] Optionally, the device 20 further includes:
[0138] A receiving module, configured to receive a progress query request sent by the user side;
[0139] A query module, configured to, in response to the progress query request, query the processing progress of the target fault handling task from the broadband provider; the target fault handling task is the fault handling task indicated by the progress query request;
[0140] A fourth return module, configured to return the processing progress to the user side.
[0141] Optionally, the first return module 203 is specifically configured to:
[0142] Obtain the quality difference label of the second gateway;
[0143] In the case where the quality difference label is successfully obtained, return a first sub-prompt message to the client, where the first sub-prompt message is used to indicate that the second gateway has a fourth abnormal problem;
[0144] Obtain the network frequency band of the home network. In the case where the network frequency band is a specified frequency band, return a second sub-prompt message to the client, where the second sub-prompt message is used to indicate that the second gateway does not meet the specified bandwidth requirement.
[0145] Optionally, one speed measurement point corresponds to a room in the home; the first acquisition module 202 is specifically configured to: acquire the room network speed of the client in each room;
[0146] The device further includes: a determination module, configured to determine that the second network speed does not meet the preset network speed requirement if the room network speeds in all rooms do not meet the preset network speed requirement.
[0147] In summary, the home network fault detection device provided by the embodiment of the present invention responds to a detection request submitted by a client, calls a preset speed measurement interface to measure the speed of the first gateway in the home network, and obtains the first network speed; the first gateway is a device provided by the broadband provider. If the first network speed matches the standard network speed, when the home gateway used in the home network is the second gateway, obtain the second network speed of the speed measurement point within the home range of the client; the second gateway is connected to the first gateway, and the second gateway does not belong to the device provided by the broadband provider. If the second network speed does not meet the preset network speed requirement, determine the second gateway as a fault node and return a first prompt message to the client; the first prompt message is used to prompt the user to process the second gateway. In this way, the user only needs to submit a detection request to the detection end through the client to control the detection end to perform network detection and achieve self-service fault detection. Compared with the method of directly reporting faults and notifying manual on-site fault detection, the frequency of on-site detection can be reduced to a certain extent, saving labor costs, and thus reducing the cost of network fault detection to a certain extent.
[0148] Moreover, by obtaining the second network speed of the speed measurement points within the home range of the user terminal, it is determined whether the devices not provided by the broadband provider are normal based on the second network speed. In this way, even when the user purchases equipment by themselves and does not use the gateway device provided by the broadband provider as the gateway, the actual situation of the user's home network can be accurately understood, and then it can be more accurately determined whether the network anomaly is caused by the equipment purchased by the user, so as to avoid reporting faults that do not belong to the broadband provider to the broadband provider, avoid unnecessary on-site processing, and save labor costs.
[0149] The present invention also provides an electronic device. Refer to Figure 5 , including: a processor 901, a memory 902, and a computer program 9021 stored on the memory and executable on the processor. When the processor executes the program, it implements the fault detection method for the home network in the foregoing embodiments.
[0150] The present invention also provides a readable storage medium. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the fault detection method for the home network in the foregoing embodiments.
[0151] The present invention also provides a fault detection system for a home network. The system includes the foregoing user terminal and the foregoing detection terminal.
[0152] For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiments.
[0153] It should be noted that all kinds of information and data obtained in the embodiments of the present invention are obtained under the authorization of the information / data holder.
[0154] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The structure required to construct such systems is obvious from the above description. In addition, the present invention is not directed to any particular programming language. It should be understood that the content of the present invention described herein can be implemented using various programming languages, and the description of the specific language above is to disclose the best mode of the present invention.
[0155] In the specification provided herein, a large number of specific details are set forth. However, it can be understood that the embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures, and technologies have not been shown in detail so as not to obscure the understanding of this specification.
[0156] Similarly, it should be understood that, in order to streamline the present invention and assist in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, the inventive aspects lie in less than all the features of the single embodiments disclosed previously. Thus, the claims following the detailed description are hereby expressly incorporated into the detailed description, where each claim itself serves as a separate embodiment of the present invention.
[0157] Those skilled in the art can understand that the modules in the devices in the embodiments can be adaptively changed and disposed in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all the features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all the processes or units of any method or device so disclosed. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) can be replaced by an alternative feature that provides the same, equivalent, or similar purpose.
[0158] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the sorting device according to the present invention. The present invention can also be implemented as a device or apparatus program for performing part or all of the methods described herein. Such a program for implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or in any other form.
[0159] It should be noted that the above embodiments are illustrative of the present invention rather than restrictive of the present invention, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in the claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim listing several devices, several of these devices may be embodied by the same item of hardware. The use of the words first, second, and third, etc. does not denote any order. These words may be interpreted as names.
[0160] The user information (including but not limited to the user's device information, user personal information, etc.) and related data involved in the present invention are all information authorized by the user or authorized by all parties.
[0161] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0162] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0163] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present invention, and all of them should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A fault detection method for a home network, characterized in that, Applied to the detection end, the method includes: In response to a detection request submitted by the user end, call a preset speed measurement interface to measure the speed of the first gateway in the home network to obtain the first network speed; the first gateway is a device provided by the broadband provider; If the first network speed matches the standard network speed, when the home gateway used in the home network is the second gateway, obtain the second network speed of the speed measurement point within the home range of the user end; the second gateway is connected to the first gateway, and the second gateway is other gateway devices except the devices provided by the broadband provider; If the second network speed does not meet the preset network speed requirement, determine the second gateway as a faulty node and return a first prompt message to the user end; the first prompt message is used to prompt the user end to process the second gateway.
2. The method according to claim 1, wherein The method further includes: When the home gateway is the first gateway, call a preset query interface to obtain the device information of the first gateway; If the device information indicates that the first gateway does not support the standard network speed, return a first fault result indicating that the first gateway has a first abnormal problem to the user end, and send a first fault handling task to the broadband provider; the first fault handling task is used to instruct the broadband provider to handle the first abnormal problem.
3. The method according to claim 1, characterized in that, Before calling the preset speed measurement interface to measure the speed of the first gateway in the home network, the method further includes: Detect the network access status of the home network; The calling of the preset speed measurement interface to measure the speed of the first gateway in the home network includes: When the network access status is accessible and the home network is connected smoothly, call the preset speed measurement interface to measure the speed of the first gateway.
4. The method according to claim 3, wherein The method further includes: When the network access status is inaccessible or the network access status is accessible and the home network is not connected smoothly, call a preset status interface to detect the network connection status between the access network provided by the broadband provider and the first gateway; When the network connection status is not normally connected, return a second fault result indicating that the first gateway has a second abnormal problem to the user end, and send a second fault handling task to the broadband provider; the second fault handling task is used to instruct the broadband provider to handle the second abnormal problem.
5. The method according to claim 4, characterized in that, The method further includes: When the network connection status is normally connected, determine the subordinate network device connected to the first gateway as a faulty node and return a second prompt message to the user end; the second prompt message is used to prompt the user to process the subordinate network device.
6. The method according to claim 1, wherein The method further includes: If the first network speed does not match the standard network speed, detect the first network speed again; If the first network speed detected again does not match the standard network speed, a third failure result indicating that there is a third abnormal problem with the first gateway is returned to the client, and a third failure handling task is sent to the broadband provider; the third failure handling task is used to instruct the broadband provider to handle the third abnormal problem.
7. The method according to claim 6, characterized in that, Before re-detecting the first network speed, the method further includes: Obtaining the device operation parameters of the first gateway; The re-detection of the first network speed includes: when there are abnormal parameters in the device operation parameters, calling the gateway restart and key parameter ability reset interface to restart the first gateway, and re-detecting the first network speed after the restart.
8. The method according to any one of claims 1-7, characterized in that, The method further includes: Receiving a progress query request sent by the client; In response to the progress query request, querying the processing progress of the target failure handling task from the broadband provider; the target failure handling task is the failure handling task indicated by the progress query request; Returning the processing progress to the client.
9. The method according to claim 1, characterized in that The determining the second gateway as a failure node and returning a first prompt message to the client includes: Obtaining the poor quality label of the second gateway; When the poor quality label is successfully obtained, returning a first sub-prompt message to the client, the first sub-prompt message being used to indicate that there is a fourth abnormal problem with the second gateway; Obtaining the network frequency band of the home network, and when the network frequency band is the specified frequency band, returning a second sub-prompt message to the client, the second sub-prompt message being used to indicate that the second gateway does not meet the specified bandwidth requirement.
10. The method according to claim 1, characterized in that, One speed measurement point corresponds to one room in the home; the obtaining of the second network speed of the speed measurement point of the client within the home range includes: obtaining the room network speed of the client in each room; The method further includes: if the room network speeds in all rooms do not meet the preset network speed requirement, determining that the second network speed does not meet the preset network speed requirement.
11. A fault detection device for a home network, characterized in that, Applied to a detection end, the device includes: A first calling module, configured to call a preset speed measurement interface to measure the speed of the first gateway in the home network in response to a detection request submitted by the client, and obtain a first network speed; the first gateway is a device provided by the broadband provider; A first obtaining module, configured to, if the first network speed matches the standard network speed, obtain the second network speed of the speed measurement point of the client within the home range when the home gateway used in the home network is the second gateway; the second gateway is connected to the first gateway, and the second gateway is other gateway devices except the devices provided by the broadband provider; A first returning module, configured to, if the second network speed does not meet the preset network speed requirement, determine the second gateway as a failure node and return a first prompt message to the client; the first prompt message is used to prompt the client to process the second gateway.
12. An electronic device, characterized in that, Includes: A processor, a memory, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1-10 is implemented.
13. A readable storage medium, characterized in that, When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1-10.
Citation Information
Patent Citations
Internet-surfing assistant system and method for assisting client side user in solving encountered faults
CN102447572A
Gateway recovery method and device for smart home system
CN113014459A