Remote diagnosis method and device for network abnormity and medium
Through the remote diagnosis method, the user-side fault description information is used to automatically match test items and generate detection instructions, which solves the problem that ordinary users have difficulty in locating network anomalies by themselves, achieves fast and accurate network status detection and optimization, and reduces professional maintenance costs.
Patent Information
- Application Number
- CN202410753750.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-12
AI Technical Summary
When ordinary users face network anomalies, it is difficult to quickly locate the cause of the anomaly and optimize it on their own. Existing methods require professional knowledge and installation and maintenance personnel to come to detect, resulting in high time and cost.
Provides a remote diagnosis method that realizes automated network status detection and optimization by receiving user-side fault description information, matching preset test items, determining the test item sequence of the equipment to be detected, generating network detection instructions, performing diagnosis and obtaining optimization strategies.
It improves the accuracy and reliability of testing, reduces unnecessary waste of testing resources, reduces the time and labor costs of professionals on-site maintenance, and helps users complete network quality optimization by themselves.
Smart Images

Figure CN118540206A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network maintenance technology, and in particular to a remote diagnosis method, device and medium for network anomalies. Background Art
[0002] With the development of 5G networks and the popularization of home Wi-Fi networks, users' demands for network quality are constantly increasing, and the requirements for network quality are getting higher and higher. Therefore, it is very urgent for ordinary users to quickly understand the current network status. Since the factors affecting network quality are relatively complex, it may be user device configuration or device abnormality, or it may be operator network node abnormality. When the network is disconnected, the network speed is slow, or the video is stuck, the most urgent thing for ordinary users is to understand the possible factors that may cause the situation and how to repair or optimize it.
[0003] At present, when ordinary users face network anomalies, they usually contact the operator's installation and maintenance personnel for on-site inspection. The existing network quality diagnosis method requires professional network installation and maintenance tools to detect factors that affect network quality, which makes it difficult to quickly locate the cause of the anomaly, and the detection results require certain network knowledge to understand. This method that requires network knowledge to determine the anomaly is difficult for ordinary users to repair minor anomalies by themselves, so there is a need for a method that can quickly locate the cause of the anomaly and provide practical and guiding optimization suggestions for these anomalies, helping users to optimize network quality without the need for installation and maintenance personnel to visit and without network-related professional knowledge. Summary of the invention
[0004] In order to solve the above technical problems, one or more embodiments of this specification provide a remote diagnosis method, device and medium for network anomalies.
[0005] One or more embodiments of this specification adopt the following technical solutions:
[0006] One or more embodiments of the present invention provide a remote diagnosis method for network abnormality, the method comprising:
[0007] Receiving multiple types of fault description information uploaded by a user terminal, and determining one or more first test items of the network device to be detected based on a matching result between the fault description information and the fault description corresponding to the preset test items;
[0008] Based on the address of the network device to be detected and the network topology corresponding to the network device to be detected, determine the network resource data of the network device to be detected in a preset time period and the routing interface corresponding to the network device to be detected;
[0009] Determining abnormal network resource data of the network device to be detected based on the negotiation link data corresponding to the routing interface and the network resource data;
[0010] Supplementing the first test item with the second test item corresponding to the abnormal network resource to obtain a to-be-tested item, and determining a test order of each of the to-be-tested items based on a dependency relationship between the network service type corresponding to the to-be-tested network device and each of the test items, to obtain a to-be-tested item sequence;
[0011] Based on the sequence of items to be tested and the address of the network device to be tested, a corresponding network detection instruction is generated, and the network detection instruction is sent to a preset network quality diagnosis node, so that the network detection instruction is executed based on the preset network quality diagnosis node to obtain a diagnosis result of the network device to be tested, so as to obtain an optimization strategy corresponding to the diagnosis result.
[0012] Optionally, in one or more embodiments of the present specification, receiving multiple types of fault description information uploaded by a user terminal to determine one or more first test items of the network device to be detected based on a matching result between the fault description information and the fault description corresponding to the preset test item specifically includes:
[0013] Receiving multiple types of fault description information uploaded by a user terminal, converting the multiple types of fault description information based on information formats corresponding to the multiple types of fault description information and conversion strategies corresponding to the information formats, and obtaining fault description text data corresponding to the multiple types of fault description information;
[0014] Performing data cleaning on the fault description text data to obtain processed fault description text data, and performing word segmentation processing on the processed fault description text data based on a preset character length to obtain fault description word segmentation data;
[0015] All the fault description word segmentation data are organized into a vocabulary, and the occurrence frequency of each of the fault description word segmentation data is determined based on the vocabulary, and the fault feature description corresponding to the fault description information is determined based on the occurrence frequency and the part-of-speech data corresponding to each of the fault description analysis data;
[0016] Acquire historical diagnostic data corresponding to each of the preset test items and effect description data corresponding to the preset test items, and determine the fault description corresponding to each of the preset test items based on the historical diagnostic data and the effect description data;
[0017] The fault feature description is matched with the fault description to determine one or more test items of the network device to be detected based on the matching result.
[0018] Optionally, in one or more embodiments of the present specification, determining the abnormal network resource data of the network device to be detected based on the negotiation link data corresponding to the routing interface and the network resource data specifically includes:
[0019] Determine the network resource data currently allocated by the network device to be detected based on the routing interface, and obtain the negotiation link data corresponding to the routing interface;
[0020] Compare the negotiated link data with the network resource data, and determine abnormal data in the network resource data as abnormal network resource data of the network device to be detected; wherein the abnormal network resource data is used to reflect the network quality between the network device to be detected and the service target device corresponding to the network device to be detected.
[0021] Optionally, in one or more embodiments of the present specification, determining the test order of each of the items to be tested based on the dependency relationship between the network service type corresponding to the network device to be detected and each of the test items to obtain the sequence of items to be tested specifically includes:
[0022] Acquire the network service type corresponding to the network device to be detected, so as to determine the network connectivity relationship of the network connection object corresponding to the network device to be detected based on the network service type;
[0023] Based on the network connectivity relationship, determine the preferred network connection object of the network device to be detected, and determine the first weight value of the test items corresponding to each type of network quality based on the preferred network connection object; wherein the network connection object includes: network quality diagnosis node, service target node, intermediate routing node;
[0024] Determine whether there are test cases for each test item, and if so, determine the initial dependency relationship based on the logical relationship of the test cases;
[0025] If not, based on the inclusion relationship between the test objects corresponding to the test items, the initial dependency relationship is supplemented to obtain the dependency relationship of each test item in the sequence of items to be tested, so as to determine the test order of each of the items to be tested based on the dependency relationship and obtain the sequence of items to be tested.
[0026] Optionally, in one or more embodiments of the present specification, sending the network detection instruction to a preset network quality diagnosis node, so as to execute the network detection instruction based on the preset network quality diagnosis node to obtain a diagnosis result of the network device to be detected, specifically includes:
[0027] Acquire the task load of each network quality diagnosis node, and filter the network quality diagnosis nodes based on the task load to obtain an initial network quality diagnosis node;
[0028] Acquire performance parameters of each of the initial network quality diagnosis nodes, determine performance weights corresponding to each of the performance parameters based on an expert experience model, weight the performance parameters of each of the initial network quality diagnosis nodes, and obtain performance weights of each of the initial network quality diagnosis nodes;
[0029] A preset network quality diagnosis node is determined based on the performance weight of each of the initial network quality diagnosis nodes, and the network detection instruction is sent to the preset network quality diagnosis node, so as to execute the network detection instruction based on the preset network quality diagnosis node to obtain any one or more of the following diagnosis results: network connectivity diagnosis result, network environment diagnosis result, network quality diagnosis result, and equipment diagnosis result.
[0030] Optionally, in one or more embodiments of the present specification, the network detection instruction is executed based on the preset network quality diagnosis node to obtain any one or more of the following diagnosis results: network connectivity diagnosis result, network environment diagnosis result, network quality diagnosis result, device diagnosis result, specifically including:
[0031] Establishing an HTTP connection between the network device to be detected and the preset network quality diagnosis node based on the network detection instruction, and determining a network connectivity detection result of the network device to be detected based on the HTTP connection;
[0032] If it is determined that the network connectivity diagnosis result is passed, then determining the current network type of the network device to be detected based on the network detection instruction, so as to execute corresponding detection information based on the current network type and determine the network environment diagnosis result of the network device to be detected;
[0033] If it is determined that the network environment diagnosis result is obtained, the current network contracted bandwidth under each working state of the network device to be detected is determined, so as to detect the influencing factors corresponding to the current network contracted bandwidth based on the difference between the current network contracted bandwidth and the preset contracted bandwidth, and obtain the network quality diagnosis result;
[0034] If it is determined that the network quality diagnosis result is obtained, the device diagnosis result is determined based on the device operation data and the device standard operation data.
[0035] Optionally, in one or more embodiments of the present specification, obtaining an optimization strategy corresponding to the diagnosis result specifically includes:
[0036] Performing a database query based on the diagnosis result to determine the basic optimization strategy corresponding to the network device to be detected and transmitting it to the user terminal;
[0037] receiving the processing result uploaded by the user terminal, and if it is determined based on the processing result that the abnormality of the network device to be detected has not been resolved, obtaining the abnormality type corresponding to the diagnosis result;
[0038] Determine a maintenance node within a preset range based on the abnormality type and the location information of the network device to be detected, and send maintenance information to the maintenance node based on the diagnosis result, so that the maintenance node determines a device optimization strategy for the network device to be detected in response to the maintenance information;
[0039] The basic optimization strategy is updated based on the equipment optimization strategy to obtain an optimization strategy corresponding to the diagnosis result.
[0040] Optionally, in one or more embodiments of the present specification, before determining the network resource data of the network device to be detected in a preset time period and the routing interface corresponding to the network device to be detected based on the address of the network device to be detected and the network topology corresponding to the network device to be detected, the method further includes:
[0041] Acquire the connected device information of the user terminal, and if it is determined based on the connected device information that the network device to be detected exists, acquire the address of the network device to be detected based on the connected device information;
[0042] If it is determined based on the connected device information that the network device to be detected is not connected to the user terminal, querying the interactive device to which the network device to be detected is connected;
[0043] Based on the connection list corresponding to the interactive device, the address of the network device to be detected is queried and determined.
[0044] One or more embodiments of the present specification provide a remote diagnosis device for network anomalies, the device comprising:
[0045] at least one processor; and,
[0046] a memory communicatively connected to the at least one processor; wherein,
[0047] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute any of the above-mentioned methods.
[0048] One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute any of the above-described methods.
[0049] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0050] Based on the matching result of the fault description information and the fault description corresponding to the preset test items, one or more first test items of the network device to be detected are determined, and the test items are supplemented to the first test items based on the second test items corresponding to the abnormal network resource data. The test can be conducted more targeted, the accuracy and reliability of the test can be improved, and the waste of time and resources caused by unnecessary test items can be reduced. At the same time, the subsequent test item determination process based only on the description information uploaded by the user is avoided, which easily causes the problem of missing test items. According to the test items and the address of the device to be detected, a network detection instruction is generated to perform remote network testing, and multiple diagnoses such as network connectivity, network environment, network quality and equipment diagnosis are performed. The status of the network device to be detected can be fully understood to automatically diagnose network anomalies, which solves the problem that the current users lack professional knowledge, which makes it difficult to conduct network diagnosis and network optimization in a timely manner, and reduces the time cost and labor cost caused by professional personnel on-site maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0052] Figure 1 A flowchart of a remote diagnosis method for network anomalies provided in an embodiment of this specification;
[0053] Figure 2 A flowchart of a remote diagnosis project for network anomalies provided in an embodiment of this specification;
[0054] Figure 3 A schematic diagram of the internal structure of a remote diagnosis device for network anomalies provided in an embodiment of this specification;
[0055] Figure 4 A schematic diagram of the internal structure of a non-volatile storage medium provided in an embodiment of this specification. DETAILED DESCRIPTION
[0056] The embodiments of this specification provide a remote diagnosis method, device and medium for network anomalies.
[0057] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0058] like Figure 1 As shown, the embodiment of this specification provides a remote diagnosis method for network abnormalities, the method comprising:
[0059] S101: receiving multiple types of fault description information uploaded by a user terminal, and determining one or more first test items of a network device to be detected based on a matching result between the fault description information and a fault description corresponding to a preset test item.
[0060] In order to be able to conduct tests more targeted, improve the accuracy and reliability of tests, and reduce the waste of time and resources caused by unnecessary test items. In an embodiment of this specification, multiple types of fault description information uploaded by the user end is received to determine one or more first test items of the network device to be detected based on the matching results of the fault description information and the fault description corresponding to the preset test items. Specifically, in one or more embodiments of this specification, multiple types of fault description information uploaded by the user end is received to determine one or more first test items of the network device to be detected based on the matching results of the fault description information and the fault description corresponding to the preset test items, which specifically includes the following process:
[0061] First, multiple types of fault description information uploaded by the user end are received, and the multiple types of fault description information are converted based on the information format corresponding to the multiple types of fault description information and the conversion strategy corresponding to the information format, so as to obtain the fault description text data corresponding to the multiple types of fault description information. Then, in order to filter duplicate data and invalid data, the fault description text data needs to be cleaned to obtain the processed fault description text data, and the processed fault description text data is segmented based on the character length to obtain the fault description segmentation data. Then, in order to better reflect the fault characteristics, all the fault description segmentation data are formed into a vocabulary, and the occurrence frequency of each fault description segmentation data is determined based on the vocabulary, and the fault feature description corresponding to the fault description information is determined according to the occurrence frequency and the part of speech data corresponding to each fault description analysis data. Then, the historical diagnosis data corresponding to each preset test item and the effect description data corresponding to the preset test item are obtained, and the fault description corresponding to each preset test item is determined based on the historical diagnosis data and the effect description data. The fault feature description is matched with the fault description to determine one or more test items of the network device to be detected based on the matching result. By determining the items to be tested by matching based on the fault description, targeted testing of network problems of the equipment to be tested is achieved, reducing the testing cost.
[0062] S102: Based on the address of the network device to be detected and the network topology corresponding to the network device to be detected, determine the network resource data of the network device to be detected in a preset time period and the routing interface corresponding to the network device to be detected.
[0063] In order to avoid the process of determining the items to be tested based only on artificial description information, which is prone to the problem of missed detection, a more comprehensive network monitoring is achieved. In the embodiment of this specification, the network resource data of the network device to be detected in a preset time period and the routing interface corresponding to the network device to be detected are determined according to the address of the network device to be detected and the network topology corresponding to the network device to be detected. By obtaining the address of the network device to be detected and the corresponding network topology, the location and connection status of the device in the network can be determined. By obtaining the network resource data and routing interface information of the preset time period, the resource usage and traffic trend of the device in the network can be more comprehensively understood. By analyzing the network resource data and routing interface information, the faults and abnormalities of the network device can be more accurately detected. For example, it can help to detect network congestion, interface errors, equipment failures and other problems in the future, and take corresponding measures to repair them.
[0064] Further, in one or more embodiments of the present specification, in order to determine the address of the network device to be detected, based on the address of the network device to be detected and the network topology corresponding to the network device to be detected, before determining the network resource data of the network device to be detected in a preset time period and the routing interface corresponding to the network device to be detected, the method further includes the following process:
[0065] First, the connected device information of the user end is obtained. If it is determined that there is a network device to be detected according to the connected device information, the address of the network device to be detected is obtained according to the connected device information. If it is determined that the network device to be detected is not connected to the user end according to the connected device information, the interactive device connected to the network device to be detected is queried. The address of the network device to be detected is queried and determined through the connection list corresponding to the interactive device.
[0066] S103: Determine the abnormal network resource data of the network device to be detected based on the negotiation link data corresponding to the routing interface and the network resource data.
[0067] In order to be able to further obtain potential anomalies, avoid the problem of missing test items that may easily occur if the subsequent test item determination process is based only on the description information uploaded by the user. In the embodiments of this specification, the abnormal network resource data of the network device to be detected is determined based on the negotiated link data and network resource data corresponding to the routing interface. Among them, it should be noted that the negotiated link data usually provides data such as bandwidth allocation, link quality, and traffic of the contract scope assigned to the current routing interface by the operator, while the network resource data is the data currently existing in the device to be detected that corresponds to the negotiated link data, and the abnormal network resource data is determined more accurately by comparison. Specifically, in one or more embodiments of the present specification, the abnormal network resource data of the network device to be detected is determined based on the negotiated link data and network resource data corresponding to the routing interface, which specifically includes the following processes:
[0068] Determine the network resource data currently allocated to the network device to be detected according to the routing interface, and obtain the negotiation link data corresponding to the routing interface. Then, compare the negotiation link data with the network resource data, and determine the abnormal data in the network resource data as the abnormal network resource data of the network device to be detected; wherein, it can be understood that the abnormal network resource data is used to reflect the network quality between the network device to be detected and the business target device corresponding to the network device to be detected. By comparing the negotiation link data with the actual network resource data, the abnormal data in the network resource data can be accurately determined. This can avoid misjudgment and missed judgment, and improve the accuracy of anomaly detection. Perform anomaly detection on the network quality between the network device to be detected and the business target device. This helps to accurately understand the problems of specific network connections so that more targeted measures can be taken to improve network quality.
[0069] S104: Supplement the first test item according to the second test item corresponding to the abnormal network resource to obtain the items to be tested, and determine the test order of each of the items to be tested based on the network service type corresponding to the network device to be detected and the dependency relationship between each test item to obtain a sequence of items to be tested.
[0070] The first test item is supplemented with the second test item corresponding to the abnormal network resource to obtain the item to be tested. By supplementing the first test item, the test scope of the network device can be more comprehensively covered to ensure the detection of various network resources and functions. Then, based on the network service type corresponding to the network device to be detected and the dependency relationship of various test items, the test order of each item to be tested is determined to obtain the sequence of items to be tested. The test order is determined based on the network service type and dependency relationship, and the test can be performed in a reasonable test order, which can avoid unnecessary repeated testing and waste of resources, improve test efficiency, and save time and cost.
[0071] Specifically, in one or more embodiments of the present specification, the test order of each item to be tested is determined based on the dependency relationship between the network service type corresponding to the network device to be detected and each test item, and a sequence of items to be tested is obtained;
[0072] First, the network service type corresponding to the network device to be detected is obtained to determine the network connectivity relationship of the network connection object corresponding to the network device to be detected based on the network service type. Then, based on the network connectivity relationship, the preferred network connection object of the network device to be detected is determined, and the first weight value of the test item corresponding to each type of network quality is determined based on the preferred network connection object. Among them, it should be noted that the network connection object includes: network quality diagnosis node, business target node, intermediate routing node, etc. Based on the network connectivity relationship, the preferred network connection object of the network device to be detected is determined, and the weight can be allocated to the connection object involved in the current business focus. That is to say, the first weight value of the test item corresponding to each type of network quality is determined according to the preferred network connection object, so that the importance of the test item is clearer, which helps to focus on key items during the test process. Then, it is determined whether there is a test case for each test item. If there is, then the initial dependency relationship is determined according to the logical relationship of the test case. If not, then according to the inclusion relationship between the test objects corresponding to the test items, the initial dependency relationship is supplemented to obtain the dependency relationship of each test item in the sequence of items to be tested, so as to determine the test order of each item to be tested based on the dependency relationship, and obtain the sequence of items to be tested.
[0073] S105: Generate a corresponding network detection instruction based on the sequence of items to be tested and the address of the network device to be detected, and send the network detection instruction to a preset network quality diagnosis node, so as to execute the network detection instruction based on the preset network quality diagnosis node to obtain a diagnosis result of the network device to be detected, so as to obtain an optimization strategy corresponding to the diagnosis result.
[0074] After obtaining the sequence of items to be tested based on the above steps, the corresponding network detection instructions are generated based on the sequence of items to be tested and the address of the network device to be tested. By generating the network detection instructions in this automated way, the test can be performed quickly and accurately, saving the time and labor cost of manually performing the test. Then, the network detection instruction is sent to the preset network quality diagnosis node, so that the network detection instruction is executed according to the preset network quality diagnosis node to obtain the diagnosis result of the network device to be tested, so as to obtain the optimization strategy corresponding to the diagnosis result. Based on this one-click start-up test process method, the problem that the current users have difficulty in timely network diagnosis and network optimization due to lack of professional knowledge is solved, and the time cost and labor cost caused by professional personnel on-site maintenance are reduced.
[0075] Specifically, in one or more embodiments of the present specification, a network detection instruction is sent to a preset network quality diagnosis node, so that the network detection instruction is executed based on the preset network quality diagnosis node to obtain a diagnosis result of the network device to be detected, which specifically includes the following process:
[0076] First, the task load of each network quality diagnosis node is obtained, and the network quality diagnosis nodes are filtered according to the task load to obtain the initial network quality diagnosis node. By obtaining the task load of each network quality diagnosis node and filtering the nodes based on the task load, it can be ensured that the diagnostic task will not be concentrated on the node with too high load, so as to achieve load balancing. Then, the performance parameters of each initial network quality diagnosis node are obtained, and the performance weight corresponding to each performance parameter is determined based on the expert experience model, and the performance parameters of each initial network quality diagnosis node are weighted to obtain the performance weight of each initial network quality diagnosis node. Based on the performance weight of each initial network quality diagnosis node, a preset network quality diagnosis node is determined, and a network detection instruction is sent to the preset network quality diagnosis node, so as to execute the network detection instruction based on the preset network quality diagnosis node to obtain any one or more of the following diagnostic results: network connectivity diagnosis result, network environment diagnosis result, network quality diagnosis result, and device diagnosis result. By sending the network detection instruction to the preset network quality diagnosis node, the acquisition of multiple diagnostic results is performed, including network connectivity, network environment, network quality, and device diagnosis results, so that the status of the network device to be detected can be fully understood. The diverse diagnostic results obtained provide strong support for subsequent network optimization, and can formulate targeted optimization strategies to improve network performance and quality.
[0077] Further, in one or more embodiments of the present specification, the network detection instruction is executed based on the preset network quality diagnosis node to obtain any one or more of the following diagnostic results: network connectivity diagnosis result, network environment diagnosis result, network quality diagnosis result, device diagnosis result, specifically including: first, according to the network detection instruction, an Http connection is established between the network device to be detected and the preset network quality diagnosis node, and then the network connectivity detection result of the network device to be detected is determined based on the Http connection. If it is determined that the network connectivity diagnosis result is passed, then the current network type of the network device to be detected is determined according to the network detection instruction, so as to perform corresponding detection information based on the current network type and determine the network environment diagnosis result of the network device to be detected. If it is determined that the network environment diagnosis result is obtained, then the current network contract bandwidth of the network device to be detected in each working state is obtained, so as to detect the influencing factors corresponding to the current network contract bandwidth based on the difference between the current network contract bandwidth and the preset contract bandwidth, and obtain the network quality diagnosis result. If it is determined that the network quality diagnosis result is obtained, the device diagnosis result is determined based on the device operation data and the device standard operation data. According to the network detection instruction, step-by-step diagnosis is performed, and each step has a clear basis and method, which helps to improve the accuracy of the diagnosis result. At the same time, by performing multiple diagnostics such as network connectivity, network environment, network quality and device diagnosis, you can fully understand the status of the network equipment to be tested, covering multiple aspects such as network connection, network type, contracted bandwidth, influencing factors and device operation.
[0078] In a certain application scenario of this manual, after the user starts the detection with one click, the network connectivity is detected first. By establishing an Http connection with the remote service node, it is detected whether the sending and receiving of information is abnormal. If the connected Wi-Fi network is first detected, the connectivity with the local gateway is detected by pinging the gateway address, and then an Http connection is established with the remote service node to detect the connectivity of the device to the Internet. There is at least one remote service node. The connectivity between the device side, the router, and the Internet is shown in a diagram. If connected, it is connected with a solid line, and if abnormal, it is marked with a dotted line "X" to indicate that it is not connected. The reason for detecting connectivity through Http here instead of pinging the remote service node IP is that the ping command is based on the icmp protocol and can detect link connectivity, but currently most interactions with the server are based on http connections. http can better reflect the user's real network status. There is a scenario where ping passes but the network cannot be used.
[0079] like Figure 2 After the network connectivity test is completed, if there is no abnormality, the network environment test will continue. The network environment test will first detect the current network type. If connected to a Wi-Fi network, the Wi-Fi protocol, signal strength, Wi-Fi frequency band, number of devices connected to the router, negotiated link speed, channel, channel bandwidth, gateway, DNS, Wi-Fi interference number, and encryption protocol will be tested in turn. If connected to a mobile network, the mobile network will detect signal strength, signal reception power, signal reception quality, and signal-to-noise ratio in turn. The above detection information will be judged as abnormal according to the corresponding threshold. The threshold is set according to the current communication industry standards or user experience practices. For example, if the Wi-Fi protocol is detected as 802.11ac, it means the current connection is Wi-Fi5, and the user can be prompted to change to a router that supports Wi-Fi6. The signal strength is set to thresholds f1 and f2. If it is higher than or equal to f1, it means the signal is strong, higher than or equal to f2 and lower than f1, it means the signal is average, and lower than f2 means the signal is weak. Weak or average signals can be combined with the Wi-Fi frequency band detection results to generate optimization suggestions. The 2.4G frequency band has low signal power but good wall penetration effect, and the 5G frequency band has high signal power but weaker wall penetration ability. At present, most routers on the market support frequency band switching, that is, manually switching the connected Wi-Fi. If the signal still does not meet expectations after switching the frequency band, the user is prompted to get closer to the router or adjust the router position. Other detection information will be judged by corresponding thresholds, and some detection results will be combined as the basis for generating optimization suggestions.
[0080] After the network environment detection is completed, the network quality detection will continue. If connected to a Wi-Fi network, the network quality detection will detect the current network contracted bandwidth when detecting upload, download, delay, jitter, instantaneous maximum upload speed, instantaneous maximum download speed, upload busy delay, download busy delay and other data. The detection of contracted bandwidth requires the operator to provide an interface. If the contracted bandwidth cannot be detected, the user will be prompted to manually enter the contracted bandwidth when the network quality detection is completed. The contracted bandwidth will be bound to the router mac and does not need to be entered again. If the contracted bandwidth changes, it can be manually modified. Comparing the download speed with the contracted broadband can determine whether the network speed meets the standard. The standard threshold is s1, and the standard speed is the contracted bandwidth * s1. Since there are many factors that affect the download speed, such as network cables, optical modems, routers, devices, etc., the router can obtain the router configuration information through the network environment detection, and the device can obtain the device status through the device status detection. Others such as network cables and optical modems can be judged through graphic tutorials, such as how to judge Category 6 network cables, optical modems, Gigabit LAN ports, etc. If you are connected to a mobile network, the download speed will be compared with the normal threshold of the 4G / 5G network speed. If it is below the threshold, optimization suggestions will be generated in combination with other mobile network detection items. Network quality detection also provides some more professional detection tools, which users with certain professional network knowledge may use, such as domain name resolution, route tracking, route segment detection, port detection, frequency query, Ping test, etc. These tools can help locate the cause of network abnormalities.
[0081] After the network quality test is completed, the device status test will continue. The device status test will detect the device battery status (power, temperature, charging information), memory, CPU (usage, temperature) and other information, and generate optimization suggestions based on the corresponding thresholds of the detection items. If the CPU temperature is higher than the threshold b1, it will prompt that the CPU temperature is too high and the running process needs to be reduced.
[0082] Furthermore, in one or more embodiments of the present specification, obtaining an optimization strategy corresponding to the diagnosis result specifically includes the following process:
[0083] First, a database query is performed based on the diagnosis result to determine the basic optimization strategy corresponding to the network device to be detected and transmit it to the user end. Then, the processing result uploaded by the user end is received. If it is determined according to the processing result that the abnormality of the network device to be detected has not been resolved, the abnormality type corresponding to the diagnosis result is obtained. According to the abnormality type and the location information of the network device to be detected, the maintenance node within the preset range is determined, and then the maintenance information is formed according to the diagnosis result and sent to the maintenance node, so that the maintenance node determines the device optimization strategy of the network device to be detected in response to the maintenance information. Then, based on the device optimization strategy, the basic optimization strategy is updated to obtain the optimization strategy corresponding to the diagnosis result, so as to make full use of the maintenance node resources within the preset range and improve the comprehensive benefits of network optimization.
[0084] like Figure 3 As shown, the embodiment of this specification provides a schematic diagram of the internal structure of a remote diagnosis device for network anomalies. Figure 3 It can be seen that in one or more embodiments of this specification, a remote diagnosis device for network abnormality includes:
[0085] at least one processor; and,
[0086] a memory communicatively connected to the at least one processor; wherein,
[0087] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute any of the above-mentioned methods.
[0088] like Figure 4 As shown, the embodiment of this specification provides a schematic diagram of the internal structure of a non-volatile storage medium. Figure 4 It can be seen that in one or more embodiments of this specification, a non-volatile storage medium stores computer executable instructions 401, and the computer executable instructions 401 can execute any of the methods described above.
[0089] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0090] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0091] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims
1. A remote diagnosis method for network anomalies, characterized in that: The method comprises: Receiving multiple types of fault description information uploaded by a user terminal, and determining one or more first test items of the network device to be detected based on a matching result between the fault description information and the fault description corresponding to the preset test items; Based on the address of the network device to be detected and the network topology corresponding to the network device to be detected, determine the network resource data of the network device to be detected in a preset time period and the routing interface corresponding to the network device to be detected; Determining abnormal network resource data of the network device to be detected based on the negotiation link data corresponding to the routing interface and the network resource data; Supplementing the first test item with the second test item corresponding to the abnormal network resource to obtain a to-be-tested item, and determining a test order of each of the to-be-tested items based on a dependency relationship between the network service type corresponding to the to-be-tested network device and each of the test items, to obtain a to-be-tested item sequence; Based on the sequence of items to be tested and the address of the network device to be tested, a corresponding network detection instruction is generated, and the network detection instruction is sent to a preset network quality diagnosis node, so that the network detection instruction is executed based on the preset network quality diagnosis node to obtain a diagnosis result of the network device to be tested, so as to obtain an optimization strategy corresponding to the diagnosis result.
2. A remote diagnosis method for network anomalies according to claim 1, characterized in that: The receiving of multiple types of fault description information uploaded by the user terminal to determine one or more first test items of the network device to be detected based on a matching result between the fault description information and the fault description corresponding to the preset test items specifically includes: Receiving multiple types of fault description information uploaded by a user terminal, converting the multiple types of fault description information based on information formats corresponding to the multiple types of fault description information and conversion strategies corresponding to the information formats, and obtaining fault description text data corresponding to the multiple types of fault description information; Performing data cleaning on the fault description text data to obtain processed fault description text data, and performing word segmentation processing on the processed fault description text data based on a preset character length to obtain fault description word segmentation data; All the fault description word segmentation data are organized into a vocabulary, and the occurrence frequency of each of the fault description word segmentation data is determined based on the vocabulary, and the fault feature description corresponding to the fault description information is determined based on the occurrence frequency and the part-of-speech data corresponding to each of the fault description analysis data; Acquire historical diagnostic data corresponding to each of the preset test items and effect description data corresponding to the preset test items, and determine the fault description corresponding to each of the preset test items based on the historical diagnostic data and the effect description data; The fault feature description is matched with the fault description to determine one or more test items of the network device to be detected based on the matching result.
3. A remote diagnosis method for network anomalies according to claim 1, characterized in that: Determining the abnormal network resource data of the network device to be detected based on the negotiation link data corresponding to the routing interface and the network resource data specifically includes: Determine the network resource data currently allocated by the network device to be detected based on the routing interface, and obtain the negotiation link data corresponding to the routing interface; Compare the negotiated link data with the network resource data, and determine abnormal data in the network resource data as abnormal network resource data of the network device to be detected; wherein the abnormal network resource data is used to reflect the network quality between the network device to be detected and the service target device corresponding to the network device to be detected.
4. A remote diagnosis method for network anomalies according to claim 1, characterized in that: Determining the test order of each of the items to be tested based on the dependency relationship between the network service type corresponding to the network device to be tested and each of the test items to obtain a sequence of items to be tested specifically includes: Acquire the network service type corresponding to the network device to be detected, so as to determine the network connectivity relationship of the network connection object corresponding to the network device to be detected based on the network service type; Based on the network connectivity relationship, determine the preferred network connection object of the network device to be detected, and determine the first weight value of the test items corresponding to each type of network quality based on the preferred network connection object; wherein the network connection object includes: network quality diagnosis node, service target node, intermediate routing node; Determine whether there are test cases for each test item, and if so, determine the initial dependency relationship based on the logical relationship of the test cases; If not, based on the inclusion relationship between the test objects corresponding to the test items, the initial dependency relationship is supplemented to obtain the dependency relationship of each test item in the sequence of items to be tested, so as to determine the test order of each of the items to be tested based on the dependency relationship and obtain the sequence of items to be tested.
5. A remote diagnosis method for network anomalies according to claim 1, characterized in that: Sending the network detection instruction to a preset network quality diagnosis node, so as to execute the network detection instruction based on the preset network quality diagnosis node to obtain a diagnosis result of the network device to be detected, specifically includes: Acquire the task load of each network quality diagnosis node, and filter the network quality diagnosis nodes based on the task load to obtain an initial network quality diagnosis node; Acquire performance parameters of each of the initial network quality diagnosis nodes, determine performance weights corresponding to each of the performance parameters based on an expert experience model, weight the performance parameters of each of the initial network quality diagnosis nodes, and obtain performance weights of each of the initial network quality diagnosis nodes; A preset network quality diagnosis node is determined based on the performance weight of each of the initial network quality diagnosis nodes, and the network detection instruction is sent to the preset network quality diagnosis node, so as to execute the network detection instruction based on the preset network quality diagnosis node to obtain any one or more of the following diagnosis results: network connectivity diagnosis result, network environment diagnosis result, network quality diagnosis result, and equipment diagnosis result.
6. A remote diagnosis method for network anomalies according to claim 1, characterized in that: Executing the network detection instruction based on the preset network quality diagnosis node obtains any one or more of the following diagnosis results: network connectivity diagnosis result, network environment diagnosis result, network quality diagnosis result, and device diagnosis result, specifically including: Establishing an HTTP connection between the network device to be detected and the preset network quality diagnosis node based on the network detection instruction, and determining a network connectivity detection result of the network device to be detected based on the HTTP connection; If it is determined that the network connectivity diagnosis result is passed, then determining the current network type of the network device to be detected based on the network detection instruction, so as to execute corresponding detection information based on the current network type and determine the network environment diagnosis result of the network device to be detected; If it is determined that the network environment diagnosis result is obtained, the current network contracted bandwidth under each working state of the network device to be detected is determined, so as to detect the influencing factors corresponding to the current network contracted bandwidth based on the difference between the current network contracted bandwidth and the preset contracted bandwidth, and obtain the network quality diagnosis result; If it is determined that the network quality diagnosis result is obtained, the device diagnosis result is determined based on the device operation data and the device standard operation data.
7. A remote diagnosis method for network anomalies according to claim 1, characterized in that: Obtaining an optimization strategy corresponding to the diagnosis result, specifically including: Performing a database query based on the diagnosis result to determine the basic optimization strategy corresponding to the network device to be detected and transmitting it to the user terminal; receiving the processing result uploaded by the user terminal, and if it is determined based on the processing result that the abnormality of the network device to be detected has not been resolved, obtaining the abnormality type corresponding to the diagnosis result; Determine a maintenance node within a preset range based on the abnormality type and the location information of the network device to be detected, and send maintenance information to the maintenance node based on the diagnosis result, so that the maintenance node determines a device optimization strategy for the network device to be detected in response to the maintenance information; The basic optimization strategy is updated based on the equipment optimization strategy to obtain an optimization strategy corresponding to the diagnosis result.
8. A remote diagnosis method for network anomalies according to claim 1, characterized in that: Before determining the network resource data of the network device to be detected in a preset time period and the routing interface corresponding to the network device to be detected based on the address of the network device to be detected and the network topology corresponding to the network device to be detected, the method further includes: Acquire the connected device information of the user terminal, and if it is determined based on the connected device information that the network device to be detected exists, acquire the address of the network device to be detected based on the connected device information; If it is determined based on the connected device information that the network device to be detected is not connected to the user terminal, querying the interactive device to which the network device to be detected is connected; Based on the connection list corresponding to the interactive device, the address of the network device to be detected is queried and determined.
9. A remote diagnostic device for network anomalies, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: execute any of the methods described in claims 1-8.
10. A non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions can: execute the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and system for analyzing multiple-network relation
CN103178991A
Fault detection method and apparatus of IP RAN network
CN107809336A
Network diagnosis processing method and device, network system and server
CN111277469A
Network diagnosis method and device, electronic equipment and storage medium
CN113259152A
Display device and network connection diagnosis result display method
CN113810771A
