Network quality detection method, electronic device, storage medium, and program product
By working together with terminal devices and detection servers, network quality data and location information are acquired and analyzed, solving the problems of accuracy and coverage in existing network quality detection technologies and achieving efficient network quality detection in different scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA UNITED NETWORK COMM GRP CO LTD
- Filing Date
- 2024-12-18
- Publication Date
- 2026-06-19
AI Technical Summary
Existing network quality testing technologies cannot obtain accurate network quality test results under different scenarios, cannot respond to network quality information in a timely manner, and cannot automatically support network quality testing.
When a terminal device detects a network quality anomaly, it acquires network quality data and location information, generates network quality information, and sends it to the detection server. Based on the location information and network quality data from multiple terminal devices, the detection server detects the network quality of the target detection area and uses indicators such as signal strength, latency, packet loss rate, and data throughput to perform scoring and cluster analysis to identify the causes of the network quality anomaly.
It improves the accuracy and efficiency of network quality data testing, expands the scenario coverage of network quality testing, and can provide accurate network quality testing results in different scenarios.
Smart Images

Figure CN122247884A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a network quality detection method, electronic device, storage medium, and program product. Background Technology
[0002] Network quality refers to the overall performance of a network connection, including stability, speed, and reliability, and it directly affects the user's online experience.
[0003] In existing network quality testing technologies, mobile terminals typically receive test commands from the network side to analyze and process the current network quality; or they determine network quality based on communication data collected by a front-end device.
[0004] However, existing network quality testing technologies cannot provide accurate results for network quality testing under different scenarios. Summary of the Invention
[0005] This application provides a network quality detection method, electronic device, storage medium, and program product to obtain accurate network quality detection results under different scenarios.
[0006] In a first aspect, embodiments of this application provide a network quality detection method, applied to a detection server, comprising:
[0007] The network quality information sent by multiple terminal devices is acquired, including network quality data and location information.
[0008] Based on the location information of the multiple terminal devices, multiple target terminal devices located within the target detection area are determined from the multiple terminal devices.
[0009] The network quality of the target detection area is detected based on network quality data from multiple target terminal devices.
[0010] In one possible implementation, the network quality data includes: signal strength, latency, packet loss rate, and data throughput. The detection of network quality in the target detection area based on the network quality data from multiple target terminal devices includes:
[0011] For any one of the multiple target terminal devices, a network quality score for the target terminal device is determined based on the signal strength, latency, packet loss rate, and data throughput of the target terminal device.
[0012] Based on the network quality scores of multiple target terminal devices and the network quality indicators of the target detection area, the network quality detection result of the target detection area is determined, and the network quality detection result is used to indicate the cause of network quality anomalies in the target detection area.
[0013] In one possible implementation, determining the network quality detection result of the target detection area based on the network quality scores of multiple target terminal devices and the network quality indicators of the target detection area includes:
[0014] For any one of the multiple target terminal devices, determine whether the network quality score of the target terminal device is greater than a preset score;
[0015] If the network quality score of the target terminal device is not greater than the preset score, the target terminal device will be regarded as an abnormal device.
[0016] Based on the signal strength, latency, packet loss rate, and data throughput of at least one abnormal device, as well as the network quality indicators of the target detection area, the cause of the network quality anomaly in the target detection area is determined. The network quality indicators include: signal strength indicator, latency indicator, packet loss rate indicator, and data throughput indicator.
[0017] In one possible implementation, the network quality information further includes: motion state; before determining the cause of network quality anomalies in the target detection area based on the signal strength, latency data, packet loss rate, and data throughput of at least one anomalous device, and the network quality indicators of the target detection area, the method further includes:
[0018] According to the motion state, the multiple target terminal devices are clustered, and based on the clustering results, the communication scenario of the target detection area is determined.
[0019] Based on the communication scenario, the network quality index of the target detection area is determined, wherein different communication scenarios correspond to different network quality indices.
[0020] Secondly, embodiments of this application provide a network quality detection method, applied to a terminal device, comprising:
[0021] If an anomaly is detected in the network quality, network quality data is determined, and the location information of the terminal device is obtained.
[0022] Network quality information is generated based on the network quality data and the location information;
[0023] The network quality information is sent to the detection server so that the detection server can detect the network quality of the target detection area corresponding to the location information based on the network quality information.
[0024] In one possible implementation, the method further includes:
[0025] The motion state of the terminal device is obtained, and the motion state is determined based on the motion speed of the terminal device;
[0026] The process of generating network quality information based on the network quality data and the location information includes:
[0027] Network quality information is generated based on the network quality data, the motion state, and the location information.
[0028] In one possible implementation, the terminal device includes: application software, a network quality feedback module, and an operating system. The step of generating network quality information based on the network quality data and the location information includes:
[0029] The network quality feedback module calls the operating system to obtain the location information of the terminal device, and packages the network quality data and the location information to obtain the network quality information.
[0030] The network quality data is sent by the application software to the network quality feedback module when it determines that the network quality is abnormal.
[0031] Thirdly, this application provides a network quality detection device for use on a detection server, the device comprising:
[0032] The acquisition module is used to acquire network quality information sent by multiple terminal devices, the network quality information including: network quality data and location information;
[0033] The processing module is used to determine, based on the location information of the multiple terminal devices, multiple target terminal devices that are located within the target detection area;
[0034] The processing module is also used to detect the network quality of the target detection area based on the network quality data of multiple target terminal devices.
[0035] In one possible implementation, the processing module is further configured to, for any one of the plurality of target terminal devices, determine a network quality score for the target terminal device based on the signal strength, latency, packet loss rate, and data throughput of the target terminal device; and, based on the network quality scores of the plurality of target terminal devices and the network quality indicators of the target detection area, determine a network quality detection result for the target detection area, wherein the network quality detection result is used to indicate the cause of network quality anomalies in the target detection area.
[0036] In one possible implementation, the processing module is further configured to, for any one of the plurality of target terminal devices, determine whether the network quality score of the target terminal device is greater than a preset score; if the network quality score of the target terminal device is not greater than the preset score, classify the target terminal device as an abnormal device; and, based on the signal strength, latency, packet loss rate, and data throughput of at least one abnormal device, and the network quality indicators of the target detection area, determine the cause of the network quality anomaly in the target detection area, wherein the network quality indicators include: signal strength indicator, latency indicator, packet loss rate indicator, and data throughput indicator.
[0037] In one possible implementation, the processing module is further configured to perform clustering processing on multiple target terminal devices according to the motion state, and determine the communication scenario of the target detection area based on the clustering results; and determine the network quality index of the target detection area based on the communication scenario, wherein different communication scenarios correspond to different network quality indices.
[0038] Fourthly, this application provides a network quality detection device for use in terminal equipment, the device comprising:
[0039] The processing module is used to determine network quality data and obtain the location information of the terminal device when it is determined that there is an anomaly in network quality.
[0040] The processing module is further configured to generate network quality information based on the network quality data and the location information;
[0041] The sending module is used to send the network quality information to the detection server, so that the detection server can detect the network quality of the target detection area corresponding to the location information based on the network quality information.
[0042] In one possible implementation, the apparatus further includes: an acquisition module;
[0043] The acquisition module is used to acquire the motion state of the terminal device, which is determined based on the motion speed of the terminal device.
[0044] The processing module is also used to generate network quality information based on the network quality data, the motion state, and the location information.
[0045] In one possible implementation, the processing module is further configured to call the operating system to obtain the location information of the terminal device, and package the network quality data and the location information to obtain the network quality information.
[0046] The network quality data is sent by the application software to the network quality feedback module when it determines that the network quality is abnormal.
[0047] Fifthly, this application provides a network quality testing device, which includes:
[0048] A processor, and a memory communicatively connected to the processor;
[0049] The memory stores computer-executed instructions;
[0050] The processor executes computer execution instructions stored in the memory to implement the network quality detection method according to any one of the first aspects or any one of the second aspects.
[0051] In a sixth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the network quality detection method of any one of the first aspects or any one of the second aspects.
[0052] In a seventh aspect, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the network quality detection method according to any one of the first aspects or any one of the second aspects.
[0053] The network quality detection method, electronic device, storage medium, and program product provided in this application embodiment determine network quality data and acquire the location information of the terminal device when an anomaly is detected in the network quality. The terminal device generates network quality information based on the network quality data and the location information. The terminal device sends the network quality information to a detection server. The detection server acquires the network quality information sent by multiple terminal devices. Based on the location information of the multiple terminal devices, the detection server identifies multiple target terminal devices located within a target detection area. The detection server then detects the network quality of the target detection area based on the network quality data of the multiple target terminal devices. This method detects the network quality data of multiple terminal devices, improving the accuracy and efficiency of network quality data testing. Attached Figure Description
[0054] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0055] Figure 1 A scenario illustration of a network quality detection method provided in this application. Figure 1 ;
[0056] Figure 2 An interactive schematic diagram of a network quality detection method provided in this application;
[0057] Figure 3 A flowchart illustrating a network quality detection method provided in this application;
[0058] Figure 4 A schematic diagram of the structure of a network quality detection device provided in this application. Figure 1 ;
[0059] Figure 5 A schematic diagram of the structure of a network quality detection device provided in this application. Figure 2 ;
[0060] Figure 6 This is a schematic diagram of the structure of a network quality testing device provided in this application.
[0061] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0062] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.
[0063] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, products, or apparatus.
[0064] In this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0065] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0066] Network quality refers to the overall performance of a network connection, including its stability, speed, and reliability. It directly affects the user's online experience, encompassing various network activities.
[0067] Network quality testing technology is a real-time network performance detection and statistical technique. It assesses network performance and quality by monitoring and analyzing key indicators such as response time and packet loss rate.
[0068] In existing network quality detection technologies, network quality detection commands are typically sent from the network side to the terminal device. Upon receiving the command, the terminal device performs the quality detection and reports the results back to the network side. Alternatively, network quality detection can be achieved using communication data collected by a front-end processor.
[0069] However, existing network quality testing technologies require specialized quality testing processing at the network layer and network-side devices, which cannot automatically support network quality testing, resulting in an inability to respond promptly to network quality information in the area. Furthermore, the method of using communication data collected by the front-end machine to achieve network quality testing is only applicable to front-end machine and server scenarios, and cannot meet the requirement of obtaining accurate network quality testing results in different scenarios.
[0070] To address the aforementioned issues, this application provides a network quality detection method. Figure 1 A scenario illustration of a network quality detection method provided in this application. Figure 1 .like Figure 1 As shown, the scenario includes a detection server 1, an application server 2, and N terminal devices; each terminal device includes: application software, a communication module, a network quality feedback module, and an operating system.
[0071] In this scenario, all N terminal devices can access the application server through application software and interact with the detection server through the communication module.
[0072] In this scenario diagram, the functions of the application software, communication module, network quality feedback module, operating system, application server, and detection server are as follows:
[0073] Application software: It needs to access the application server. If it determines that the network quality of its own terminal is poor, it calls the network quality feedback module to report the original network quality information.
[0074] The information includes the following elements: communication type: voice, data (media type can be added, such as live video, video streaming, mixed text and image web pages, etc.); network indicators that the application considers normal; actual network indicators.
[0075] Communication module: Used to connect to detection server 1 and upload network quality information.
[0076] Network quality feedback module: Located between the operating system and the application, it receives raw network quality information from the application software, and then calls the operating system to obtain the following information: which SIM card is currently being used, and the network type; stationary or moving status; latitude and longitude and signal strength at the time of reporting the information.
[0077] The information provided by the application software and the information obtained from the operating system are packaged and sent to the network quality detection server.
[0078] Operating system: It can identify the type of network currently in use and can accept, process, and apply requests for sending and receiving data from the network quality feedback module.
[0079] Application server: Terminal devices need to interact with the application server via the Internet to perform business functions, and the effectiveness of the interaction depends on the quality of the communication network.
[0080] The detection server receives network quality information from N terminal devices, analyzes and processes it, and outputs network optimization suggestions. Based on the received information, the detection server comprehensively judges the network quality of the corresponding type under different conditions such as the location, scene, and motion state of the terminal devices, and outputs a network quality report.
[0081] The network quality detection method provided in this application involves a terminal device determining network quality data and acquiring the location information of the terminal device when an anomaly is detected. The terminal device generates network quality information based on the network quality data and the location information. The terminal device then sends the network quality information to a detection server. The detection server acquires network quality information sent by multiple terminal devices. Based on the location information of the multiple terminal devices, the detection server identifies multiple target terminal devices located within a target detection area. Finally, the detection server detects the network quality of the target detection area based on the network quality data of the multiple target terminal devices. This method analyzes and processes the network quality information of multiple terminal devices within the target detection area, improving the accuracy of network quality data testing.
[0082] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0083] Figure 2 Interactive network quality detection method provided in this application Figure 1 .like Figure 2As shown in the diagram, the interactive subjects of the network quality detection method provided in this embodiment are a detection server and a terminal device. The terminal device shown in this embodiment can be, for example, a detection server and a terminal device. Figure 1 In this embodiment, any one of the N terminal devices can be used as the detection server, for example, it can be... Figure 1 The detection server 1 described in the embodiment. For example... Figure 2 As shown, the network quality detection method provided in this embodiment includes:
[0084] S201. When the terminal device determines that there is an abnormality in the network quality, it determines the network quality data and obtains the location information of the terminal device.
[0085] The network quality data refers to various indicators reflecting network performance, stability, and reliability. When a terminal device detects an abnormal network quality, it collects this data for subsequent analysis and processing, typically including data such as packet loss rate and signal strength. The location information of the terminal device is used to locate areas where network quality is abnormal, improving the efficiency of problem-solving.
[0086] In this step, the terminal device determines network quality data, for example, by collecting it in real time through the sensors and communication modules built into the terminal device; the location information of the terminal device can be obtained through methods such as the Global Positioning System and base station positioning, and there are no restrictions here.
[0087] The terminal device determines whether there is an abnormality in network quality based on preset conditions, which are customizable.
[0088] In one possible implementation, the terminal device can determine whether there is an abnormality in network quality based on preset conditions through the following method:
[0089] Terminal devices can interact with application servers based on application software. During the interaction, the terminal device can detect the transmission duration of data and determine whether there are any abnormalities in the current network quality based on this transmission duration and a preset duration.
[0090] For example, the process could be as follows: the terminal device determines whether the transmission time is greater than the preset time; if the transmission time is greater than the preset time, then the current network quality is abnormal; if the transmission time is less than the preset time, then the current network quality is normal.
[0091] S202. The terminal device generates network quality information based on the network quality data and the location information.
[0092] The terminal device packages the network quality data and the location information to generate network quality information.
[0093] In this step, the terminal device packages the network quality data and the location information through the network quality feedback module. The data defeat function and scenario illustration of the network quality feedback module are also provided. Figure 1 The network quality feedback module in the previous version has a similar function, so it will not be described in detail here.
[0094] In one possible implementation, network quality information can be generated using the following method:
[0095] The motion state and network quality data of the terminal device are acquired, wherein the motion state is determined based on the motion speed of the terminal device;
[0096] The terminal device includes: application software, a network quality feedback module, and an operating system.
[0097] The terminal device obtains its location information by calling the operating system through the network quality feedback module.
[0098] The functions and scenarios of the network quality feedback module and the operating system are illustrated below. Figure 1 The network quality feedback module in the system functions similarly to that in the operating system, so it will not be described in detail here.
[0099] The network quality feedback module packages the network quality data, the motion state, and the location information to obtain the network quality information.
[0100] S203. The terminal device sends the network quality information to the detection server.
[0101] The detection server detects the network quality of the target detection area corresponding to the location information based on the network quality information.
[0102] In this step, before the terminal device sends the network quality information to the detection server, it determines the detection server corresponding to the terminal device and establishes a communication link to ensure that the network quality information is sent to the detection server completely and accurately. The establishment of the communication link depends on the network infrastructure and communication protocol available to the terminal device and the detection server.
[0103] S204. The detection server obtains network quality information sent by multiple terminal devices.
[0104] Among them, the multiple terminal devices are terminal devices that detect abnormal network quality within the detection area.
[0105] In this step, the detection server may receive network quality information sent by the multiple terminal devices within a certain time period, without limitation.
[0106] S205. The detection server determines multiple target terminal devices within the target detection area from among the multiple terminal devices based on the location information of the multiple terminal devices.
[0107] The multiple target terminal devices within the target detection area are determined based on the aggregation degree of the multiple terminal devices within the target area; the aggregation degree is used to represent the distribution of the multiple terminal devices within the target area.
[0108] Understandably, the distribution of the multiple terminal devices within the target area is different, and the higher the degree of aggregation, the greater the impact on the network quality.
[0109] In one possible implementation, determining multiple target terminal devices within the target detection area from among the multiple terminal devices can be achieved in the following way:
[0110] Based on the location information of multiple terminal devices within the target area, the multiple terminal devices are divided, and the corresponding clustering degree is obtained based on the division result;
[0111] When there is a significant difference in the aggregation degree of multiple terminal devices within the target area, the multiple terminal devices with the highest aggregation degree are selected as the multiple target terminal devices;
[0112] When there is no significant difference in the clustering degree of multiple terminal devices within the target area, a clustering degree threshold is set, and multiple terminal devices with a clustering degree greater than the minimum clustering degree threshold are regarded as the multiple target terminal devices. The clustering degree threshold is customized according to the target area.
[0113] S206. The detection server detects the network quality of the target detection area based on the network quality data of multiple target terminal devices.
[0114] The detection server detects the network quality of the target detection area and obtains the reasons for the network quality anomalies in the target detection area.
[0115] The network quality detection method provided in this embodiment involves a terminal device determining network quality data and acquiring its location information when an anomaly is detected. The terminal device generates network quality information based on the network quality data and location information. The terminal device then sends the network quality information to a detection server. The detection server acquires the network quality information sent by multiple terminal devices. Based on the location information of the multiple terminal devices, the detection server identifies multiple target terminal devices located within a target detection area. Finally, the detection server detects the network quality of the target detection area based on the network quality data of the multiple target terminal devices. This method detects the network quality data of multiple terminal devices, improving the accuracy and efficiency of network quality data testing.
[0116] Figure 3 A flowchart illustrating a network quality detection method provided in this application. The executing entity in this embodiment could be, for example, a... Figure 1 or Figure 2 The detection server 1 described in this embodiment. In this embodiment, the network quality data includes: signal strength, latency, packet loss rate, and data throughput. The network quality information also includes: motion status. This embodiment... Figure 2 Based on the embodiments, a possible implementation of the method for the detection server to detect network quality during the interaction between the detection server and the terminal device is explained. For example... Figure 3 As shown, the network quality detection method provided in this embodiment includes:
[0117] S301. Obtain network quality information sent by multiple terminal devices, wherein the network quality information includes network quality data and location information.
[0118] Step S301 is similar to step S204 above, and will not be described again here.
[0119] S302. Based on the location information of the multiple terminal devices, determine the multiple target terminal devices that are located within the target detection area from the multiple terminal devices.
[0120] Step S302 is similar to step S205 above, and will not be described again here.
[0121] S303. For any one of the multiple target terminal devices, determine the network quality score of the target terminal device based on the signal strength, latency, packet loss rate, and data throughput of the target terminal device.
[0122] The signal strength mentioned here usually refers to the strength of the received radio waves, which reflects the clarity and reliability of the received signal.
[0123] The latency data refers to the time required for data to travel from the sending end to the receiving end. In terminal devices, latency data usually refers to the time it takes for a user's operation or request to reach the server and receive a response.
[0124] The packet loss rate refers to the percentage of data packets lost during network transmission. The lower the packet loss rate, the higher the data transmission efficiency. A high packet loss rate may lead to incomplete data or transmission failure, affecting the normal operation of applications.
[0125] Data throughput refers to the amount of data that a network, device, port, or other facility successfully transmits per unit of time; high throughput means that network devices can process more data in a short time, thereby improving network transmission efficiency.
[0126] The network quality score is used to reflect the quality of the network, and the factors affecting the network quality are analyzed based on the network quality score.
[0127] In one possible implementation, determining the network quality score of the target terminal device based on its signal strength, latency, packet loss rate, and data throughput can be achieved in the following way:
[0128] The signal strength, latency data, packet loss rate, and data throughput are input into the signal quality scoring model to obtain the network quality score of the target terminal device.
[0129] The signal quality scoring model is a tool for evaluating signal performance. It can quantify and score signals based on a series of indicators. The selected evaluation indicators will vary depending on the application scenario. The signal quality scoring model will score the signals based on the evaluation indicators using certain algorithms or formulas, which typically include weighted summation, analytic hierarchy process (AHP), statistical analysis, etc.
[0130] In this step, the signal quality scoring model calculates the network quality score based on the signal strength, latency, packet loss rate, and data throughput using a weighted summation method. The calculation formula for the weighted summation method is shown below:
[0131] in, To score network quality, For signal strength, For delayed data, The maximum threshold for delayed data. For packet loss rate, The maximum packet loss rate threshold. For data throughput, The maximum data throughput threshold. These are weighting coefficients, which are adjusted according to actual circumstances.
[0132] In the weighted summation calculation formula, when determining the maximum packet loss rate threshold, since the packet loss probability of the application layer is different from that of the network layer, the information dimension that can be detected by the application layer should be included according to the actual situation; when determining the maximum data throughput threshold, the detection server needs to make a comprehensive judgment based on the information of the same type of network reported by the terminals in the same area.
[0133] S304. For any one of the multiple target terminal devices, determine whether the network quality score of the target terminal device is greater than a preset score.
[0134] The preset score is a pre-set expected network quality evaluation standard based on factors such as network design goals, historical data, and service requirements, used to assess whether the network quality meets the expected performance standard.
[0135] In this step, it is determined whether the network quality score of the target terminal device is greater than a preset score, and abnormal devices in the target terminal device are identified.
[0136] S305. If the network quality score of the target terminal device is not greater than the preset score, the target terminal device is designated as an abnormal device.
[0137] The cause of the network quality anomaly can be analyzed based on the malfunctioning device.
[0138] S306. According to the motion state, cluster the multiple target terminal devices and determine the communication scenario of the target detection area based on the clustering results.
[0139] Clustering is the process of grouping similar data points together, ensuring that data points within the same group (or cluster) are similar to each other, while data points in different groups are significantly different. It divides a dataset into several groups based on the similarity or distance between data points, thereby revealing the inherent structure and distribution patterns of the data.
[0140] In this step, the motion state is obtained based on the built-in sensors of the target terminal device, the communication signals of the target terminal, etc., and there are no restrictions on this.
[0141] In one possible implementation, the communication scenario for determining the target detection region can be achieved through the following method:
[0142] The motion state data is preprocessed to ensure its accuracy and consistency;
[0143] Based on the characteristics of the motion state of the target terminal device, a suitable clustering algorithm is selected;
[0144] In this step, the K-means clustering algorithm is used to cluster multiple target terminal devices. The K-means clustering algorithm is a learning algorithm whose core purpose is to divide the dataset into K non-overlapping subsets (clusters), so that the data points within the same cluster are as similar as possible, while the data points between different clusters are as different as possible.
[0145] The selected clustering algorithm is used to cluster the motion state of the target terminal device to obtain several clusters, and the communication scenario of the target detection area is determined based on the several clusters.
[0146] S307. Based on the communication scenario, determine the network quality index of the target detection area, wherein different communication scenarios correspond to different network quality indices.
[0147] The network quality indicators are used to indicate the relevant communication messages in the communication scenario.
[0148] In one possible implementation, the network quality index of the target detection area, based on the communication scenario, can be determined by the following method:
[0149] Based on the communication scenario, relevant communication messages of the communication scenario are determined, and network quality indicators of the target detection area are generated based on the relevant communication messages.
[0150] In this step, the network quality indicators include network type, preset duration, and actual duration; the network type is used to indicate the type of SIM card currently used by the terminal device, and the preset duration and actual duration are similar to the preset duration and actual duration in step S201, and will not be described again here.
[0151] S308. Based on the signal strength, latency data, packet loss rate, and data throughput of at least one abnormal device, as well as the network quality indicators of the target detection area, determine the cause of the network quality abnormality in the target detection area.
[0152] Specifically, based on the signal strength, delay data, packet loss rate, data throughput, and network quality indicators of the target detection area, the causes of network quality anomalies in the corresponding communication scenario and improvement methods are determined.
[0153] In one possible implementation, the cause of network quality anomalies in the target detection area can be determined by the following method:
[0154] Based on the signal strength, latency data, packet loss rate, and data throughput, as well as the network quality indicators of the target detection area, the main causes affecting network quality anomalies are identified.
[0155] In this step, the main causes of network quality anomalies are analyzed using decision tree or random forest algorithms.
[0156] The decision tree algorithm is a method for approximating discrete function values. It uses inductive algorithms to generate readable rules and decision trees, and then uses these rules to analyze new data. The decision tree model has a tree structure, representing the process of classifying instances based on features in classification problems. The random forest algorithm is an ensemble learning algorithm that improves the accuracy and robustness of the model by constructing multiple decision trees. Each decision tree is trained based on randomly sampled data and features, and then they are integrated through voting or averaging, thereby reducing the risk of overfitting and improving the overall model performance.
[0157] By using feature importance scoring and based on the main reasons affecting network quality anomalies, root cause analysis is performed on the network quality anomalies in the target detection area.
[0158] The feature importance score is a method for scoring the input features of a machine learning model, which reveals the relative importance of each feature when making predictions.
[0159] In this step, when performing root cause analysis on the network quality, the categories of anomalies in the target detection area are first identified, and then the root causes affecting the network quality of the target detection area are determined based on the categories of anomalies.
[0160] Based on the analysis results, a corresponding analysis report is generated to show the network quality performance in different scenarios, as well as potential improvement suggestions.
[0161] The network quality detection method provided in this embodiment acquires network quality information sent by multiple terminal devices, the network quality information including network quality data and location information; based on the location information of the multiple terminal devices, it identifies multiple target terminal devices located within a target detection area; for any one of the target terminal devices, it determines a network quality score based on the target terminal device's signal strength, latency data, packet loss rate, and data throughput; for any one of the target terminal devices, it determines whether the target terminal device's network quality score is greater than a preset score; if the target terminal device's network quality score is not greater than the preset score, it identifies the target terminal device as an abnormal device; it performs clustering processing on the multiple target terminal devices according to their motion states, and determines the communication scenario of the target detection area based on the clustering results; based on the communication scenario, it determines the network quality index of the target detection area, wherein different communication scenarios correspond to different network quality indices; based on the signal strength, latency data, packet loss rate, and data throughput of at least one abnormal device, and the network quality index of the target detection area, it determines the cause of the network quality anomaly in the target detection area. This method identifies the causes of network quality anomalies in different scenarios, expands the scenarios for network quality detection, and improves the coverage of network quality detection.
[0162] Figure 4 This is a schematic diagram of the structure of a network quality detection device provided in this application. The execution subject of this embodiment can be, for example, a network quality detection device. Figure 1-3 The detection server 1 shown in any embodiment. For example... Figure 4 As shown, the network quality detection device 400 provided in this embodiment includes:
[0163] The acquisition module 401 is used to acquire network quality information sent by multiple terminal devices, wherein the network quality information includes network quality data and location information;
[0164] Processing module 402 is used to determine multiple target terminal devices that are located within the target detection area from among the multiple terminal devices based on the location information of the multiple terminal devices;
[0165] The processing module 402 is also used to detect the network quality of the target detection area based on the network quality data of the multiple target terminal devices.
[0166] In one possible implementation, the processing module 402 is further configured to, for any one of the plurality of target terminal devices, determine a network quality score for the target terminal device based on the signal strength, latency, packet loss rate, and data throughput of the target terminal device; and, based on the network quality scores of the plurality of target terminal devices and the network quality indicators of the target detection area, determine a network quality detection result for the target detection area, wherein the network quality detection result is used to indicate the cause of network quality anomalies in the target detection area.
[0167] In one possible implementation, the processing module 402 is further configured to: determine whether the network quality score of any one of the plurality of target terminal devices is greater than a preset score; if the network quality score of the target terminal device is not greater than the preset score, classify the target terminal device as an abnormal device; and determine the cause of the network quality anomaly in the target detection area based on the signal strength, latency, packet loss rate, and data throughput of at least one abnormal device, as well as the network quality indicators of the target detection area, wherein the network quality indicators include: signal strength indicator, latency indicator, packet loss rate indicator, and data throughput indicator.
[0168] In one possible implementation, the processing module 402 is further configured to perform clustering processing on the multiple target terminal devices according to the motion state, and determine the communication scenario of the target detection area based on the clustering results; and determine the network quality index of the target detection area based on the communication scenario, wherein different communication scenarios correspond to different network quality indices.
[0169] This embodiment provides a network quality detection device that can execute the network quality detection method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0170] Figure 5 This is a schematic diagram of the structure of a network quality detection device provided in this application. The execution entity in this embodiment can be, for example: Figure 1 or Figure 2 Any one of the N terminal devices shown in the embodiment. For example... Figure 5 As shown, the network quality detection device 500 provided in this embodiment includes:
[0171] The processing module 501 is used to determine network quality data and obtain the location information of the terminal device when it is determined that there is an anomaly in the network quality.
[0172] The processing module 501 is further configured to generate network quality information based on the network quality data and the location information;
[0173] The sending module 502 is used to send the network quality information to the detection server, so that the detection server can detect the network quality of the target detection area corresponding to the location information based on the network quality information.
[0174] In one possible implementation, the device further includes: an acquisition module 503;
[0175] The acquisition module 503 is used to acquire the motion state of the terminal device, the motion state being determined based on the motion speed of the terminal device;
[0176] The processing module 501 is further configured to generate network quality information based on the network quality data, the motion state, and the location information.
[0177] In one possible implementation, the processing module 501 is further configured to call the operating system to obtain the location information of the terminal device, and package the network quality data and the location information to obtain the network quality information.
[0178] The network quality data is sent by the application software to the network quality feedback module when it determines that the network quality is abnormal.
[0179] This embodiment provides a network quality detection device that can execute the network quality detection method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0180] Figure 6 This is a structural schematic diagram of a network quality testing device provided in this application. Figure 6 As shown, the network quality testing device 600 provided in this application includes: a receiver 601, a transmitter 602, a processor 603, and a memory 604.
[0181] Transmitter 602 is used to send commands and data;
[0182] Memory 604 is used to store instructions executed by the computer;
[0183] The processor 603 is used to execute computer execution instructions stored in the memory 604 to implement the various steps of the network quality detection method in the above embodiments. For details, please refer to the relevant descriptions in the foregoing embodiments of the network quality detection method.
[0184] Alternatively, the memory 604 can be either standalone or integrated with the processor 603.
[0185] When the memory 604 is set up independently, the electronic device also includes a bus for connecting the memory 604 and the processor 603.
[0186] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the network quality detection method performed by the network quality detection device described above.
[0187] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the various steps performed by the network quality detection method described above. For details, please refer to the relevant descriptions in the embodiments of the foregoing network quality detection method.
[0188] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0189] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0190] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0191] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0192] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0193] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0194] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0195] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0196] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0197] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0198] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A network quality detection method, characterized in that, Applications to detection servers include: The network quality information sent by multiple terminal devices is acquired, including network quality data and location information. Based on the location information of the multiple terminal devices, multiple target terminal devices located within the target detection area are determined from the multiple terminal devices. The network quality of the target detection area is detected based on network quality data from multiple target terminal devices.
2. The method according to claim 1, characterized in that, The network quality data includes: signal strength, latency, packet loss rate, and data throughput. The detection of network quality in the target detection area based on network quality data from multiple target terminal devices includes: For any one of the multiple target terminal devices, a network quality score for the target terminal device is determined based on the signal strength, latency, packet loss rate, and data throughput of the target terminal device. Based on the network quality scores of multiple target terminal devices and the network quality indicators of the target detection area, the network quality detection result of the target detection area is determined, and the network quality detection result is used to indicate the cause of network quality anomalies in the target detection area.
3. The method according to claim 2, characterized in that, The determination of the network quality detection result of the target detection area based on the network quality scores of multiple target terminal devices and the network quality indicators of the target detection area includes: For any one of the multiple target terminal devices, determine whether the network quality score of the target terminal device is greater than a preset score; If the network quality score of the target terminal device is not greater than the preset score, the target terminal device will be regarded as an abnormal device. Based on the signal strength, latency, packet loss rate, and data throughput of at least one abnormal device, as well as the network quality indicators of the target detection area, the cause of the network quality anomaly in the target detection area is determined. The network quality indicators include: signal strength indicator, latency indicator, packet loss rate indicator, and data throughput indicator.
4. The method according to claim 3, characterized in that, The network quality information further includes: motion status; before determining the cause of network quality anomalies in the target detection area based on the signal strength, latency data, packet loss rate, and data throughput of at least one abnormal device, and the network quality indicators of the target detection area, the method further includes: According to the motion state, the multiple target terminal devices are clustered, and based on the clustering results, the communication scenario of the target detection area is determined. Based on the communication scenario, the network quality index of the target detection area is determined, wherein different communication scenarios correspond to different network quality indices.
5. A network quality detection method, characterized in that, Applied to terminal devices, including: If an anomaly is detected in the network quality, network quality data is determined, and the location information of the terminal device is obtained. Network quality information is generated based on the network quality data and the location information; The network quality information is sent to the detection server so that the detection server can detect the network quality of the target detection area corresponding to the location information based on the network quality information.
6. The method according to claim 5, characterized in that, The method further includes: The motion state of the terminal device is obtained, and the motion state is determined based on the motion speed of the terminal device; The process of generating network quality information based on the network quality data and the location information includes: Network quality information is generated based on the network quality data, the motion state, and the location information.
7. The method according to claim 5, characterized in that, The terminal device includes: application software, a network quality feedback module, and an operating system. The step of generating network quality information based on the network quality data and the location information includes: The network quality feedback module calls the operating system to obtain the location information of the terminal device, and packages the network quality data and the location information to obtain the network quality information. The network quality data is sent by the application software to the network quality feedback module when it determines that the network quality is abnormal.
8. A network quality detection device, characterized in that, The device, applied to a detection server, includes: The acquisition module is used to acquire network quality information sent by multiple terminal devices, the network quality information including: network quality data and location information; The processing module is used to determine, based on the location information of the multiple terminal devices, multiple target terminal devices that are located within the target detection area; The processing module is also used to detect the network quality of the target detection area based on the network quality data of multiple target terminal devices.
9. A network quality detection device, characterized in that, Applied to a terminal device, the device includes: The processing module is used to determine network quality data and obtain the location information of the terminal device when it is determined that there is an anomaly in network quality. The processing module is further configured to generate network quality information based on the network quality data and the location information; The sending module is used to send the network quality information to the detection server, so that the detection server can detect the network quality of the target detection area corresponding to the location information based on the network quality information.
10. A network quality testing device, characterized in that, include: Memory; processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the network quality detection method as described in any one of claims 1-4 or 5-7.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the network quality detection method as described in any one of claims 1-4 or 5-7.
12. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the network quality detection method according to any one of claims 1-4 or 5-7.