Network quality parameter determination method and device, equipment, medium and product
By obtaining the configuration parameters of the terminal device and determining the application scenario requirements, the network quality parameters are parsed and processed to solve the problem of low efficiency in obtaining AP network quality parameters in the existing technology, and efficient network quality assessment is achieved in specific scenarios.
Patent Information
- Application Number
- CN202410339517.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2025-09-23
AI Technical Summary
The existing technology for obtaining wireless access point (AP) network quality parameters is inefficient and cannot meet the needs of obtaining and analyzing network quality parameters without interfering with the internal operation of the device under test and without accessing the network.
By obtaining the configuration parameters of the network devices scanned by the terminal device, the application scenario requirements of the terminal device are determined, and the configuration parameters are parsed and processed based on the application scenario requirements to obtain the network quality parameters that meet the application scenario. The efficient communication mechanism of NetLink and the IW tool are used to obtain AP information elements, thereby improving the efficiency of obtaining network quality parameters.
It realizes the targeted acquisition of network quality parameters for different application scenarios, improves the accuracy and efficiency of network quality assessment, and meets the network quality assessment needs in specific application scenarios.
Smart Images

Figure CN120692568A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a method, apparatus, device, medium, and product for determining network quality parameters. Background Art
[0002] In a wireless local area network (WLAN), a wireless access point (AP) provides wireless terminals with wireless fidelity (Wi-Fi) access channels, enabling them to communicate. Therefore, evaluating AP performance is crucial, and AP performance evaluation typically requires obtaining AP network quality parameters.
[0003] In the existing technology, a Wi-Fi hardware module that supports monitor mode can be used to capture air interface data packets to uniformly obtain AP network quality parameters.
[0004] However, the above method is less efficient in obtaining AP network quality parameters. Summary of the Invention
[0005] The present application provides a method, apparatus, device, medium and product for determining network quality parameters, which are used to solve the problem of poor efficiency in obtaining AP network quality parameters in the existing method.
[0006] In a first aspect, the present application provides a method for determining a network quality parameter, the method comprising:
[0007] Acquire configuration parameters of a network device scanned by a terminal device; the configuration parameters include at least one type of information element;
[0008] Determining the application scenario requirements of the terminal device;
[0009] The configuration parameters are parsed and processed based on the application scenario requirements to obtain network quality parameters, which are used to evaluate the network quality under the application scenario requirements.
[0010] Optionally, the method is applied to a terminal device, the configuration parameters include wireless access point (AP) information elements, and obtaining the configuration parameters of the network device scanned by the terminal device includes:
[0011] The AP information element of the network device scanned by the terminal device is acquired based on the wireless extension interface; the wireless extension interface is provided after the terminal device establishes a socket connection with the kernel.
[0012] Optionally, the method is applied to a terminal device, the configuration parameters include wireless access point (AP) information elements, and obtaining the configuration parameters of the network device scanned by the terminal device includes:
[0013] The wireless network interface configuration IW tool obtains the AP information element of the network device scanned by the terminal device from the kernel of the terminal device.
[0014] Optionally, the application scenario requirements include first scenario requirements, second scenario requirements, third scenario requirements and fourth scenario requirements; the first scenario requirement is that the penetration of the AP signal is greater than the first threshold, and the coverage range of the AP signal is greater than the second threshold; the second scenario requirement is that the bandwidth of the channel where the AP is located is greater than the third threshold, the AP signal transmission delay is less than the fourth threshold, and the occupancy rate of the channel where the AP is located is greater than the fifth threshold; the third scenario requirement is that the number of access terminal devices supported by the AP in the preset area is greater than the sixth threshold; the fourth scenario requirement is that the security level achieved by the AP is greater than the seventh threshold.
[0015] Optionally, the network quality parameters include: frequency band, supported wireless LAN protocol, signal strength-transmission power index, channel quality, number of multiple-input and multiple-output MIMO antennas, channel width, supported physical rate, channel occupancy, supported wireless encryption protocol, encryption algorithm, and at least one of supported authentication technology; the signal strength-transmission power index is determined based on signal strength and transmission power.
[0016] Optionally, parsing and processing the configuration parameters based on the application scenario requirements to obtain network quality parameters includes:
[0017] Determining target parameters from the configuration parameters based on the application scenario requirements;
[0018] The target parameters are standardized to obtain network quality parameters.
[0019] Optionally, the target parameters include bandwidth range, bandwidth range overlap, and signal strength; and the standardizing the target parameters to obtain network quality parameters includes:
[0020] For each target AP scanned by the terminal device, obtaining at least one first AP having an overlapping area with the target AP in the bandwidth range;
[0021] Determining, from the at least one first AP, a second AP having a bandwidth range completely identical to that of the target AP, and calculating a first signal interference degree based on signal strengths of the second AP and the target AP;
[0022] Determining, from the at least one first AP, a third AP having a bandwidth range that is partially the same as that of the target AP, and calculating a second signal interference degree based on signal strengths of the third AP and the target AP and an overlap of bandwidth ranges;
[0023] Based on the first signal interference degree and the second signal interference degree, a channel estimated interference degree is calculated using a predefined formula, and the channel estimated interference degree is normalized to obtain channel quality.
[0024] Optionally, the predefined formula is:
[0025]
[0026] Among them, SIij = APj signal strength / APi signal strength; SIij' = (APj' signal strength / APi signal strength) * (APij' bandwidth range overlap / APi bandwidth range); SIij represents the first signal interference degree; SIij' represents the second signal interference degree; APj represents the j-th second AP, APj' represents the j-th third AP, APi represents the i-th target AP; APij' represents the j-th third AP and the i-th target AP; SIin represents the channel estimated interference degree of the i-th target AP, and n is the sum of the number of target APs and the first AP.
[0027] Optionally, the method further includes:
[0028] For each network quality parameter, obtain the evaluation standard score and weight value of the network quality parameter;
[0029] Based on the evaluation standard scores and weight values, the network quality of the network device is evaluated to obtain an evaluation result.
[0030] Optionally, the method further includes:
[0031] Based on the evaluation result, a network quality improvement suggestion for the network device is generated.
[0032] In a second aspect, the present application provides a device for determining a network quality parameter, the device comprising:
[0033] An acquisition module, configured to acquire configuration parameters of a network device scanned by a terminal device; the configuration parameters include at least one type of information element;
[0034] A determination module, configured to determine the application scenario requirements of the terminal device;
[0035] The processing module is used to parse and process the configuration parameters based on the application scenario requirements to obtain network quality parameters, and the network quality parameters are used to evaluate the network quality under the application scenario requirements.
[0036] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0037] The memory stores computer-executable instructions;
[0038] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions, when executed by a processor, are used to implement the method as described in any one of the first aspects.
[0040] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method as described in any one of the first aspects.
[0041] In summary, the present application provides a method, apparatus, equipment, medium and product for determining network quality parameters, which can determine corresponding network quality parameters for different application scenarios, and then evaluate the network quality based on the determined network quality parameters, which can greatly improve the accuracy of the evaluation. Specifically, by obtaining the configuration parameters of the network device scanned by the terminal device and determining the application scenario requirements of the terminal device, the configuration parameters are parsed and processed based on the application scenario requirements to obtain network quality parameters that meet the application scenario requirements. By obtaining network quality parameters in such a targeted manner, the efficiency of obtaining network quality parameters is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0043] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0044] Figure 2 A flowchart of a method for determining network quality parameters provided in an embodiment of the present application;
[0045] Figure 3 A flowchart of an AP performance evaluation method provided in an embodiment of the present application;
[0046] Figure 4A schematic diagram of the structure of a device for determining network quality parameters provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0048] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0049] To facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first device and the second device are merely used to distinguish between different devices and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity or execution order, and words such as "first" and "second" do not necessarily mean that they are different.
[0050] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0051] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0052] One possible implementation involves using dedicated wireless packet capture tools and hardware devices, such as Wireshark, Omnipeek, AirPcap, and Libpcap. By switching the Wi-Fi module to monitor mode to capture air interface data packets, this allows for unified access point (AP) network quality parameters to be analyzed to form a summary of AP performance evaluation conclusions.
[0053] However, no matter which application scenario the above method is applicable to, it is necessary to uniformly obtain the network quality parameters of all APs, resulting in poor efficiency in obtaining the AP network quality parameters.
[0054] It should be noted that the above process of obtaining AP network quality parameters also requires scanning and switching between various channels. However, scanning and switching take a corresponding amount of time, and if the functions of real-time parameter acquisition and real-time parameter analysis are to be realized, the popularity on terminal devices is poor.
[0055] In another possible implementation, the collection point can be embedded in the internal structure of the physical device of each key node in the communication link, and then the network quality parameters of the actual network connectivity of the running business can be collected and the quality assessment can be performed based on the actual network access method.
[0056] However, the above method cannot meet the needs of obtaining and analyzing network quality parameters without interfering with the internal operation of the device under test and without accessing the network environment, as well as the independent evaluation of AP performance, resulting in limitations in the collection of network quality parameters.
[0057] In another possible implementation, the AP performance evaluation method is to simply list the collected AP network quality parameters or provide a general description of the network quality parameters. This is a balanced evaluation method that does not distinguish the importance of each network quality parameter in a specific application scenario.
[0058] Thus, the above evaluation method is applicable to general scenarios, or to preliminary evaluation and assessment in the absence of specific demand information, and the accuracy of the evaluation is poor.
[0059] In response to the above problems, the present application provides a method for determining network quality parameters, which can determine corresponding network quality parameters for different application scenarios, and then evaluate the network quality based on the determined network quality parameters, which can greatly improve the accuracy of the evaluation. Specifically, by obtaining the configuration parameters of the network device scanned by the terminal device and determining the application scenario requirements of the terminal device, the configuration parameters are parsed and processed based on the application scenario requirements to obtain network quality parameters that meet the application scenario requirements. By obtaining network quality parameters in this targeted manner, the efficiency of obtaining network quality parameters is improved.
[0060] For example, Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the application scenario can be applied to a terminal device. Taking the network device as an AP as an example, the application scenario includes: a terminal device 101, a first wireless access point (AP) 102, a second AP 103 and a third AP 104.
[0061] The terminal device 101 can utilize the efficient communication mechanism of NetLink so that the terminal device 101 can directly interact with the kernel to obtain the configuration parameters of the first AP102, such as obtaining information elements related to the first AP102, and determining the application scenario requirements of the terminal device 101. For example, if the application scenario requirements of the terminal device 101 are high-penetration and large-coverage application scenarios, the network quality parameters such as the frequency band supported by the first AP102, the supported wireless LAN protocol, the signal strength-transmission power index, the channel quality, and the number of multiple-input multiple-output (MIMO) antennas can be parsed through an analysis algorithm in the high-penetration and large-coverage application scenario.
[0062] Optionally, a performance evaluation of the first AP 102 may be performed in the high-penetration, large-coverage application scenario based on the network quality parameters obtained through the above analysis to evaluate the network quality of the first AP 102 .
[0063] It should be noted that the method by which the terminal device 101 determines the network quality parameters related to the second AP103 and the third AP104 is similar to the method by which the terminal device 101 determines the network quality parameters of the first AP102. It will not be repeated here. For details, please refer to the method for determining the network quality parameters of the first AP102.
[0064] Optionally, the application scenario requirements can also be high-density application scenarios, high-security application scenarios, etc. The embodiments of the present application do not specifically limit the types of application scenario requirements. The application scenario requirements can be set manually or determined based on the actual application scenario of the terminal device. The embodiments of the present application do not specifically limit this.
[0065] It is understandable that different application scenario requirements may correspond to different types and quantities of network quality parameters, and the embodiments of the present application do not specifically limit this.
[0066] Optionally, the terminal device (terminal) can be a wireless terminal or a wired terminal. A wireless terminal can be a device that provides voice and / or other service data connectivity to a user, a handheld device with wireless connection capabilities, or other processing devices connected to a wireless modem. A wireless terminal can communicate with one or more core network devices via a Radio Access Network (RAN). A wireless terminal can be a mobile terminal, such as a mobile phone (also known as a "cellular" phone) and a computer with a mobile terminal. For example, it can be a portable, pocket-sized, handheld, computer-built-in, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network. For another example, a wireless terminal can also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), or other devices. A wireless terminal may also be referred to as a system, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, access terminal, user terminal, user agent, or user device or user equipment, without limitation herein. Optionally, the terminal device may be a smartphone, tablet computer, or other device.
[0067] It should be noted that the terminal device may refer to any type of device with a network connection function, and the embodiments of the present application do not specifically limit the type of the terminal device.
[0068] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0069] Figure 2 A flow chart of a method for determining network quality parameters provided in an embodiment of the present application is shown, taking application to a terminal device as an example. Figure 2 As shown, the network quality parameter determination method includes the following steps:
[0070] S201. Acquire configuration parameters of a network device scanned by a terminal device; the configuration parameters include at least one type of information element.
[0071] In an embodiment of the present application, the network device may be a base station, AP, or other dedicated hardware device that constitutes an information communication network. The embodiment of the present application does not specifically limit the type and quantity of the network device. For example, the configuration parameters of at least one network device scanned by the terminal device are obtained.
[0072] Optionally, the configuration parameters may include AP information elements and Beacon frame information elements. The embodiment of the present application does not specifically limit the types and categories of the information elements included in the configuration parameters.
[0073] It should be noted that in the Linux operating system, Netlink is a communication mechanism between the kernel and user space processes, used to achieve efficient data exchange between kernel-mode and user-mode programs. Therefore, this application does not rely on special hardware devices to collect configuration parameters. Instead, it collects information elements of air access points (APs) on mobile terminals equipped with ordinary Wi-Fi modules.
[0074] S202: Determine the application scenario requirements of the terminal device.
[0075] In the embodiments of the present application, for different application scenarios, when evaluating the network quality, the importance of different network quality parameters in affecting it varies. Therefore, providing targeted acquisition of network quality parameters can more accurately evaluate the applicability and performance of network equipment in specific application scenarios, thereby meeting the evaluation needs of actual application scenarios with different requirements.
[0076] In this way, it is very important to determine the application scenario requirements of the terminal device, and the application scenario requirements can be determined based on the actual application scenario of the terminal device. For example, if high bandwidth is required in video streaming, high-definition video, and VR (Virtual Reality) application environments, the application scenario requirements can be determined as high-bandwidth application scenarios. The application scenario requirements can also be modified through manual settings. For example, the user sets the application scenario requirements to high-security application scenarios. The embodiments of the present application do not specifically limit the type and determination method of the application scenario requirements.
[0077] S203: Analyze and process the configuration parameters based on the application scenario requirements to obtain network quality parameters, where the network quality parameters are used to evaluate the network quality under the application scenario requirements.
[0078] In the embodiment of the present application, since the sizes and forms of the configuration parameters vary, the configuration parameters can be parsed and processed so that the parsed configuration parameters can be directly used to evaluate the network quality, thereby improving the accuracy of the network quality evaluation.
[0079] In some embodiments, the AP information elements can be parsed and processed, and the network quality parameters obtained after parsing provide a backup for performance evaluation. Optionally, the network quality parameters may include: service set identifier (SSID), frequency band, bandwidth range (freq Width), signal strength, channel occupancy, security policy, number of access terminals, number of MIMO antennas, theoretically supported physical rate, transmission power, supported wireless LAN protocol (802.11), signal protection interval, etc.
[0080] It should be noted that the embodiments of the present application do not specifically limit the types and quantities of network quality parameters. They are determined based on the application scenario requirements, and different application scenario requirements correspond to different types and quantities of network quality parameters.
[0081] Therefore, the embodiment of the present application provides a method for determining network quality parameters, which can determine the required network quality parameters in a targeted manner according to the requirements of different application scenarios, and then use them to perform network quality evaluation, greatly improving the efficiency of obtaining network quality parameters without having to uniformly obtain all network quality parameters for network quality evaluation. In this way, the network quality parameters required by the requirements of each application scenario can be used for network quality evaluation, which can also improve the rationality and accuracy of the network evaluation.
[0082] It should be noted that the above-mentioned network quality parameter determination method can be applied not only to the terminal device side, but also to the network device side, that is, any of the above steps S201-S203 can be implemented on the network device. Optionally, the network device can obtain data for executing the step based on interaction or communication with the terminal device to execute the corresponding step.
[0083] It should be noted that the specific implementation principles and effects of the application of this application on network devices are similar to those of the application on network devices, except that there is an additional interactive process. The specific implementation principles and effects can be found in the relevant descriptions and effects corresponding to the embodiments of this application, and no further details will be given here.
[0084] Optionally, the method is applied to a terminal device, the configuration parameters include wireless access point (AP) information elements, and obtaining the configuration parameters of the network device scanned by the terminal device includes:
[0085] The AP information element of the network device scanned by the terminal device is acquired based on the wireless extension interface; the wireless extension interface is provided after the terminal device establishes a socket connection with the kernel.
[0086] In the embodiment of the present application, the socket connection refers to the socket connection created with Netlink. The socket connection is an important communication mechanism that allows two programs to communicate in real time on different computers and realizes data transmission through the creation and use of sockets.
[0087] In this step, users only need to install the corresponding application on the mobile terminal to scan and obtain AP information elements without the need for additional hardware equipment or complex configuration. This makes the acquisition of AP information elements portable and easy to use, allowing users to evaluate network quality anytime and anywhere.
[0088] Exemplarily, the terminal device may use a socket to obtain the configuration parameters of the network device through the Wireless Extension interface (wireless extension interface) in the kernel.
[0089] In this way, by utilizing NetLink's efficient communication mechanism, AP information elements can be collected without relying on other special hardware devices, which improves the convenience and ease of use of obtaining AP information elements.
[0090] Optionally, the method is applied to a terminal device, the configuration parameters include wireless access point (AP) information elements, and obtaining the configuration parameters of the network device scanned by the terminal device includes:
[0091] The wireless network interface configuration IW tool obtains the AP information element of the network device scanned by the terminal device from the kernel of the terminal device.
[0092] In the embodiment of the present application, the collection of AP information elements is not limited to the wireless extension interface. Depending on the actual application scenario and technical requirements, the IW (wireless network interface configuration) tool can also be used to directly request AP information elements from the kernel through the Netlink mechanism.
[0093] Among them, the IW tool is a wireless configuration tool in the Linux system, which is used to configure and manage the parameters and functions of the wireless network card. It can be used to obtain the SSID, encryption method, frequency, power and other parameters of the wireless network, and can also scan, connect, disconnect and monitor the wireless network.
[0094] It should be noted that the support for the latest protocol in the embodiment of the present application is limited to the version released by the IW tool. The IW tool is used to establish a socket connection between the terminal device and the kernel so that the terminal device can request AP information elements from the kernel.
[0095] Therefore, the embodiment of the present application can also realize the collection of AP information elements through the IW tool, thereby improving the flexibility of AP information element collection.
[0096] Optionally, the application scenario requirements include first scenario requirements, second scenario requirements, third scenario requirements and fourth scenario requirements; the first scenario requirement is that the penetration of the AP signal is greater than the first threshold, and the coverage range of the AP signal is greater than the second threshold; the second scenario requirement is that the bandwidth of the channel where the AP is located is greater than the third threshold, the AP signal transmission delay is less than the fourth threshold, and the occupancy rate of the channel where the AP is located is greater than the fifth threshold; the third scenario requirement is that the number of access terminal devices supported by the AP in the preset area is greater than the sixth threshold; the fourth scenario requirement is that the security level achieved by the AP is greater than the seventh threshold.
[0097] In the embodiments of the present application, the first scenario requirement may refer to a high-penetration and large-coverage application scenario, the second scenario requirement may refer to a high-bandwidth, high-concurrency and low-latency application scenario, the third scenario requirement may refer to a high-density application scenario, and the fourth scenario requirement may refer to a high-security application scenario. It can be understood that the application scenario requirements may also include other types of application scenarios, and the embodiments of the present application do not specifically limit this.
[0098] Among them, high bandwidth may refer to the need for larger channel bandwidth, and multi-antenna technology, large bandwidth range, and 5G technology can effectively improve high bandwidth; high concurrency means that multiple users' terminal devices communicate on the same channel at the same time, and multiple terminal devices need to share limited channel resources, and the application of excellent multi-carrier transmission technology can improve the quality of high concurrency; lower latency requires data to be transmitted at a faster speed to reduce the queuing and waiting time for data transmission.
[0099] It should be noted that the first threshold may refer to a threshold set in advance for determining that the AP signal has a higher penetration, the second threshold may refer to a threshold set in advance for determining that the AP signal has a larger coverage range, the third threshold may refer to a threshold set in advance for determining that the channel bandwidth of the AP is higher, the fourth threshold may refer to a threshold set in advance for determining that the AP signal transmission delay is lower, the fifth threshold may refer to a threshold set in advance for determining that the channel occupancy rate of the AP is higher, the sixth threshold may refer to a threshold set in advance for determining that the number of access terminal devices supported by the AP in a preset area is larger, and the seventh threshold may refer to a threshold set in advance for determining that the security level achieved by the AP is higher.
[0100] Therefore, the embodiments of the present application do not limit the specific numerical values corresponding to the first threshold, the second threshold, the third threshold, the fourth threshold, the fifth threshold, the sixth threshold and the seventh threshold, which can be based on actual application scenarios or manually set.
[0101] It should be noted that different application scenario requirements correspond to different network quality parameters. Therefore, after determining which type of application scenario requirement it belongs to, the embodiment of the present application can determine the corresponding quantity and type of network quality parameters in a targeted manner to improve the accuracy of the determination of the network quality parameters.
[0102] Among them, each application scenario requirement has a corresponding quantity and type of network quality parameters. The correspondence between the two can be preset and stored in advance, which is convenient for direct call when used. It can also be determined when determining the application scenario requirements. The corresponding quantity and type of network quality parameters can be manually determined. The embodiment of this application does not make specific limitations on this.
[0103] Optionally, the network quality parameters include: frequency band, supported wireless LAN protocol, signal strength-transmission power index, channel quality, number of multiple-input and multiple-output MIMO antennas, channel width, supported physical rate, channel occupancy, supported wireless encryption protocol, encryption algorithm, and at least one of supported authentication technology; the signal strength-transmission power index is determined based on signal strength and transmission power.
[0104] In some embodiments, taking the network quality parameters of the AP as an example, the factors affecting penetration and signal coverage range include the wireless LAN protocol supported by the AP, the frequency band, signal strength, channel quality, number of MIMO antennas, signal strength-transmission power indicators, etc.
[0105] The signal strength-transmit power index is called the SIRP (Signal Intensity-Transmit Power Index). The transmit power of the AP signal is a setting parameter of the AP. A higher transmit power can provide a longer transmission distance and better penetration capability. The signal strength refers to the actual strength of the AP transmit signal at the test location. A comprehensive evaluation of the signal strength and transmit power values can effectively offset some of the effects introduced by the test environment and provide more comprehensive wireless network performance test indicators.
[0106] Support for wireless LAN protocols refers to the highest supported wireless LAN protocol, because the highest wireless LAN protocol supported by the AP, in addition to limiting the frequency band in which the AP is located, also provides different technical support in terms of modulation methods, channel utilization efficiency, and improved network quality, thereby affecting the penetration and coverage range of the AP signal.
[0107] Channel width is a direct influencing factor of high bandwidth. The wider the channel, the greater the amount of information the communication system can transmit per unit time.
[0108] The number of MIMO antennas refers to the number of antennas that allow simultaneous transmission and reception and can distinguish between signals sent to or from different spatial directions. Based on technologies such as spatial division multiplexing and spatial diversity, the number of antennas is a direct factor affecting high bandwidth. Increasing the number of antennas is equivalent to physically increasing the channel width, coverage range, and signal-to-noise ratio.
[0109] In some embodiments, achieving the goals of high bandwidth, high concurrency and low latency is determined by multiple interrelated and complex network quality parameters and factors. However, meeting the characteristics of high bandwidth, high concurrency and low latency is different from meeting the goal of high penetration, and there are no particularly obvious decisive network quality parameters. Optionally, in high bandwidth, high concurrency and low latency application scenarios, the network quality parameters that can be determined include frequency band, signal strength, channel quality, number of MIMO antennas, signal strength-transmission power index, support for wireless LAN protocols, support for physical rate, channel occupancy, etc.
[0110] Among them, the supported physical rate indicates the highest wireless signal transmission rate that the AP configuration can theoretically achieve. It is the most direct indicator feedback of high bandwidth. It can be determined by the frequency band, bandwidth, number of antennas, modulation method (QPSK, QAM, etc.), transmission scheduling mechanism (Orthogonal Frequency Division Multiplexing (OFDM), Orthogonal Frequency Division Multiple Access (OFDMA), etc.), guard interval, and coding rate.
[0111] Different wireless LAN protocols correspond to different physical rates, as shown in Table 1:
[0112] Table 1
[0113]
[0114] It should be noted that MCS (Modulation and Coding Scheme) has been introduced since the 802.11n protocol, and a rate set is identified by an MCS Index (Modulation and Coding Scheme Index).
[0115] In the embodiment of the present application, the physical rate of an AP whose highest protocol is 802.11n, 802.11ac, or 802.11ax can be obtained by obtaining the AP's MCS Index value, the AP's highest protocol type, bandwidth, guard interval, and other information from the kernel, then retrieving the corresponding parameters from the HT-VHT-HE MCS rate set table, and then calculating the result using Formula 1.
[0116] For example, the partial table content corresponding to the HT-VHT-HE MCS rate set table is shown in Table 2. For the complete content of the HT-VHT-HE MCS rate set table, reference may be made to the description of the prior art.
[0117] Table 2
[0118]
[0119]
[0120] Where NSD represents the number of subcarriers, NBPSCS represents the number of coded bits on a single subcarrier in a single spatial stream, R represents the coding rate, NSS represents the number of spatial streams, TDFT represents the signal transmission time, and TGI represents the guard interval.
[0121] Furthermore, the physical rate Data Rate is calculated using Formula 1.
[0122]
[0123] It should be noted that different wireless LAN protocols support different modulation modes and transmission scheduling technologies. As protocols are upgraded and corresponding technologies are introduced, channel utilization, spatial multiplexing, and single spatial stream data throughput are significantly improved. For example, 802.11ax introduces OFDMA technology, which increases the average rate of a single terminal and reduces latency compared to 802.11ac's OFDM technology. Therefore, in high-bandwidth, high-concurrency, and low-latency application scenarios, AP support for wireless LAN protocols is also necessary.
[0124] Channel Utilization Rate (CUR) refers to the proportion of a given channel bandwidth actually used for data transmission. If the channel occupancy rate is too high, channel resources will become more scarce, the possibility of conflicts and interference will increase, and concurrency will be affected.
[0125] In some embodiments, a high-density application scenario refers to a scenario where a large number of user devices need to simultaneously connect to and use the wireless network within a relatively small area. The configuration evaluation of APs (access points) in high-density application scenarios primarily examines indicators such as AP support for high throughput, support for multi-antenna technology, channel selection, and signal interference estimation. Therefore, in high-density application scenarios, the determined network quality parameters may include frequency band, signal strength, channel quality, number of MIMO antennas, signal strength-transmit power indicator, supported wireless LAN protocols, supported physical rate, and channel occupancy.
[0126] High throughput support refers to the ability of an AP to handle large amounts of data traffic when a large number of user devices are connected to the AP simultaneously. This can be achieved through new Wi-Fi standards (such as 802.11ac or 802.11ax), 5G frequency bands, and large bandwidths.
[0127] Multi-antenna technology (MIMO, MU-MIMO) can provide better signal coverage and capacity, and better handle concurrent connection requirements in high-density environments. MU-MIMO can support communication with multiple devices at the same time, providing higher throughput and lower latency.
[0128] In high-density environments, AP deployment and spectrum management are crucial. APs should be strategically positioned and laid out to ensure coverage overlap and balanced signal quality, avoiding signal overlap and interference. APs can also select optimal channels and channel widths to minimize interference.
[0129] In some embodiments, the security of an AP is reflected in protecting the wireless network from unauthorized access, data leakage, and network attacks. For this purpose, security strategies that can be adopted include, but are not limited to, encryption technology, access control, strong password policies, firewalls, etc. In the embodiments of the present application, for high-security application scenarios, the wireless encryption protocol, encryption algorithm, authentication technology, supported wireless LAN protocols, and some indicators that affect network stability set by the AP are evaluated. Therefore, in high-security application scenarios, the determined network quality parameters may include wireless encryption protocol, encryption algorithm, authentication technology, supported wireless LAN protocols, signal strength-transmission power indicator, channel quality, etc.
[0130] It's important to note that the maximum security level an AP can achieve is directly related to the highest wireless LAN protocol it supports. The higher the security level an AP possesses, the higher the level of wireless LAN protocol it supports. Higher-level wireless LAN protocols also support better multi-carrier transmission technologies, higher-order modulation schemes, better collision avoidance strategies, and higher-order multi-antenna technology, thus ensuring secure data transmission in terms of network connection stability, data transmission security, and network quality.
[0131] In this way, under different application scenario requirements, the determined network quality parameters are different, so that under different application scenario requirements, the network quality is evaluated based on the determined network quality parameters, which greatly improves the applicability and accuracy of the evaluation in a specific application scenario.
[0132] Optionally, parsing and processing the configuration parameters based on the application scenario requirements to obtain network quality parameters includes:
[0133] Determining target parameters from the configuration parameters based on the application scenario requirements;
[0134] The target parameters are standardized to obtain network quality parameters.
[0135] In an embodiment of the present application, the target parameter may refer to an AP information element based on the requirements of the application scenario directly obtained by the terminal device from the kernel or network device. Due to the inconsistency of the form or data, the target parameter may not be directly used for network quality evaluation. Therefore, it is necessary to standardize the target parameter to obtain a network quality parameter that can be directly used for network quality evaluation.
[0136] It should be noted that the embodiments of the present application do not make specific limitations on the target parameters determined under the requirements of different application scenarios. For example, the target parameters may be the channel where the AP is located, the bandwidth range, the overlap of the bandwidth range, the signal strength, the transmission power, the frequency band, the supported wireless LAN protocol, the number of MIMO antennas, etc. For example, the channel quality cannot be obtained directly. Therefore, the network quality parameter of the channel quality can be determined based on the standardized processing of the target parameters such as the channel where the AP is located, the bandwidth range, the overlap of the bandwidth range and the signal strength.
[0137] It is understandable that other network quality parameters such as physical rate, signal strength-transmission power index, etc. are also obtained after processing the target parameters. The embodiments of this application will not be repeated here. For details, please refer to the description of the relevant embodiments in this application.
[0138] Therefore, the embodiment of the present application can obtain network quality parameters that meet the requirements of the application scenario by standardizing the target parameters, which is convenient for subsequent network quality evaluation and can further improve the processing rate.
[0139] Optionally, the target parameters include bandwidth range, bandwidth range overlap, and signal strength; and the standardizing the target parameters to obtain network quality parameters includes:
[0140] For each target AP scanned by the terminal device, obtaining at least one first AP having an overlapping area with the target AP in the bandwidth range;
[0141] Determining, from the at least one first AP, a second AP having a bandwidth range completely identical to that of the target AP, and calculating a first signal interference degree based on signal strengths of the second AP and the target AP;
[0142] Determining, from the at least one first AP, a third AP having a bandwidth range that is partially the same as that of the target AP, and calculating a second signal interference degree based on signal strengths of the third AP and the target AP and an overlap of bandwidth ranges;
[0143] Based on the first signal interference degree and the second signal interference degree, a channel estimated interference degree is calculated using a predefined formula, and the channel estimated interference degree is normalized to obtain channel quality.
[0144] In the embodiments of the present application, AP channel quality can be determined by comprehensively evaluating four factors: the AP's channel, the AP's bandwidth coverage, the overlap of AP bandwidths, and the AP's signal strength. Because channel quality is a relative concept, APs within the space where the terminal device resides can be compared to assess the theoretical quality of each AP's transmission channel.
[0145] Specifically, the first APj that overlaps with the target APi in all bandwidth ranges of the space can be traversed and compared with the target APi. Since the signal strength of the first APj to the target APi at the same test position is considered to be interference to the target APi, the interference caused by this signal can be divided into the following two cases:
[0146] Case 1: The channel is the same as the target APi and the bandwidth range is fully covered, and the channel is different from the target APi and the bandwidth range is fully covered. The first signal interference degree can be calculated in the following way.
[0147] The first signal interference SIij=APj signal strength / APi signal strength.
[0148] Case 2: The channel is the same as the target APi and the bandwidth range is partially covered, and the channel is different from the target APi and the bandwidth range is partially covered. The second signal interference degree can be calculated in the following way.
[0149] Second signal interference SIij'=(APj' signal strength / APi signal strength)*(overlap degree of APij' bandwidth range / APi bandwidth range).
[0150] Among them, APj represents the jth second AP, APj' represents the jth third AP, APi represents the i-th target AP; APij' represents the j-th third AP and the i-th target AP; SIin represents the channel estimated interference degree of the i-th target AP, and n is the sum of the number of target APs and the first AP.
[0151] Furthermore, the estimated interference degree of all first APj with overlapping bandwidth with the target APi to the target APi is calculated. Furthermore, the calculated estimated interference degree is standardized to obtain the channel quality, which is used as a prediction indicator for the AP channel. The lower the indicator, the better the channel estimation quality.
[0152] In this way, through the above-mentioned processing, a channel quality that meets the requirements can be obtained, and the channel quality can better predict the quality of the AP channel, thereby improving the accuracy of determining the channel quality.
[0153] Optionally, the predefined formula is:
[0154]
[0155] Among them, SIij = APj signal strength / APi signal strength; SIij' = (APj' signal strength / APi signal strength) * (APij' bandwidth range overlap / APi bandwidth range); SIij represents the first signal interference degree; SIij' represents the second signal interference degree; APj represents the j-th second AP, APj' represents the j-th third AP, APi represents the i-th target AP; APij' represents the j-th third AP and the i-th target AP; SIin represents the channel estimated interference degree of the i-th target AP, and n is the sum of the number of target APs and the first AP.
[0156] For example, assume that the target AP is on channel 6 with a signal strength of -37dBm. Three first APs are detected on channel 6. Two of the first APs have a bandwidth of 20MHz, a center frequency of 2437MHz, a bandwidth range of 2427 to 2447MHz, and full bandwidth coverage, with signal strengths of -41dBm and -51dBm, respectively. Another first AP is on channel 1 with a bandwidth of 40MHz, a center frequency of 2460MHz, a bandwidth range of 2402 to 2442MHz, and partial bandwidth coverage, with a signal strength of -55dBm. The estimated channel interference level of the target AP at the test location is:
[0157] SI=(0.00007943 / 0.0001995+0.0000079 / 0.000199+0.0000079 / 0.000199* (2442-2427) / 20) / (4-1)≈(0.398+0.0397+0.0397+0.029775) / 3≈0.155825.
[0158] Furthermore, all target APs in the space are traversed to obtain the channel estimated interference (SI) of each target AP. The Min-Max Scaling algorithm is used to linearly convert the SI to the range [0, 10]. The normalization formula is as follows:
[0159] SI=10*(SI-min(SI)) / (max(SI)-min(SI)).
[0160] It should be noted that the embodiment of the present application does not specifically limit the algorithm for performing standardization (normalization) processing. The above is only an example, and the signal strength must be calculated using the formula: Power (mW) = 10^(dBm / 10) to convert dBm into mW.
[0161] In this way, the channel estimated interference degree is calculated using the above predefined formula, which greatly improves the calculation rate.
[0162] Optionally, the method further includes:
[0163] For each network quality parameter, obtain the evaluation standard score and weight value of the network quality parameter;
[0164] Based on the evaluation standard scores and weight values, the network quality of the network device is evaluated to obtain an evaluation result.
[0165] In the embodiments of the present application, a more targeted network quality assessment is achieved by rationally assigning weights to network quality parameters in response to different application scenario requirements. The importance of network quality parameters varies under different application scenario requirements. To reflect this difference, a vertical score level can be set for each network quality parameter to accurately assess its performance level. Furthermore, by applying appropriate weights to each network quality parameter, a comprehensive assessment is performed to obtain the most accurate assessment result. In this way, the applicability and performance of network equipment under specific application scenario requirements can be more accurately assessed to meet actual application scenarios with different requirements.
[0166] For example, Figure 3 A flow chart of an AP performance evaluation method provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the network quality parameters under the application scenario requirements are determined based on the AP information element collection module, and further, the network quality is evaluated using the AP performance evaluation method to generate the AP performance evaluation results.
[0167] For example, when evaluating the network quality of an AP for high bandwidth requirements, higher weights can be assigned to network quality parameters such as channel width, number of MIMO antennas, and channel occupancy based on their impact on high bandwidth, thereby deriving an evaluation result of the access performance of each AP in a space with high bandwidth requirements.
[0168] In some embodiments, when performing network quality evaluation on an AP in a high-penetration, large-coverage application scenario, the evaluation strategy used is as shown in Table 3.
[0169] Table 3
[0170]
[0171] Due to the characteristics of the 5 GHz frequency band, it performs worse than the 2.4 GHz band in penetrating obstacles and has a relatively small coverage range. In high-penetration and wide-coverage application scenarios, the frequency band where the AP is located is the most critical evaluation indicator. Therefore, it has the largest evaluation score ratio, with an allocated weight of 40%. 2.4 GHz is scored 10 points, and 5 GHz is scored 0 points.
[0172] Because the wireless LAN protocols supported by an AP affect the penetration and coverage of the AP signal, the scores for protocols 802.11ax (2.4G), 802.11n (2.4G), 802.11g, 802.11b, 802.11ax (5G), 802.11ac, 802.11n (5G), and 802.11a are 8, 7, 6, 5, 4, 3, 2, and 1, respectively. Furthermore, the min-max normalization algorithm is used to linearly convert the data to the range [0, 10]. The normalization formula is as follows:
[0173] x'=10*(x-min(x)) / (max(x)-min(x)).
[0174] Here, x represents the score, so the weight assigned to the supported wireless LAN protocols is 10%. In terms of high penetration and wide coverage, 802.11ax (2.4G) is currently the best choice.
[0175] In some embodiments, the signal strength-transmission power comprehensive indicator evaluation strategy is shown in Table 4.
[0176] Table 4
[0177]
[0178] Furthermore, the evaluation standard score is calculated using the signal strength-transmission power comprehensive indicator data normalization model, that is, the evaluation standard score of the SIRP indicator = (RatingSI*0.5+RatingRP*0.5) / 10.
[0179] It should be noted that the accuracy of the signal strength score (RatingSI) can be 2 points / dBm; the accuracy of the transmit power score (RatingRP) is divided according to the power segment, which is not specifically limited in the embodiment of the present application.
[0180] For example, taking the 2.4 GHz frequency band, the signal strength is -61 dBm, and the transmission power is 19 dBm, the SIRP evaluation standard score = 42*0.5+88*0.5 / 10 = 6.5 points.
[0181] It should be noted that the SIRP score serves as the basis for evaluating the penetration, coverage, and reachability of the target AP at the test point, and contributes to the overall evaluation of penetration and coverage performance. Therefore, the SIRP score is assigned a weight of 30%.
[0182] Optionally, the channel quality score may be calculated using Formula 2, that is, the estimated channel interference levels SI′ after normalization are arranged in ascending order, and then the channel quality evaluation standard score CQ is calculated based on Formula 2.
[0183] CQ = 10 - SI' (Formula 2)
[0184] Furthermore, since the evaluation standard score of channel quality has little impact on penetration and coverage, the weight value allocated to channel quality is 5%.
[0185] In some embodiments, the number of MIMO antennas can support multi-antenna transmission for APs that support 802.11n and above protocols. Therefore, the number of MIMO antennas is scored according to the number of antennas, that is, 8 points for 8*8 antennas, 3 points for 3*3 antennas, and 4 points for 4*4 antennas. Furthermore, the minimum-maximum normalization (normalization formula) is used to linearly convert the data to between [0, 10]. Furthermore, a weight value of 5% is assigned to the number of antennas in the penetration and coverage application scenarios.
[0186] In combination with the above embodiments, when evaluating the network quality of an AP in a high-penetration, large-coverage application scenario, the given network quality parameters can be evaluated according to the above evaluation strategy, and combined with the comprehensive score of the weight value, the evaluation results of the AP performance for high-penetration, large-coverage requirements can be calculated.
[0187] Optionally, the evaluation results can also provide targeted scoring and ranking of APs, as well as detailed evaluation conclusions of each AP's network quality parameters in terms of high penetration and wide coverage, for users' reference.
[0188] Optionally, for high-bandwidth, high-concurrency, and low-latency application scenarios, since there are no particularly obvious decisive indicators in this application scenario, the weight values of network quality parameters under multi-dimensional technologies are relatively balanced. Therefore, the evaluation strategy used is shown in Table 5.
[0189] Table 5
[0190]
[0191]
[0192] The 5G band supports a greater bandwidth than the 2.4G band, and some protocols adopt more advanced Multi-User Multiple Input Multiple Output (MU-MIMO) and Massive MIMO technologies, as well as higher-level air interface technologies, resulting in lower transmission time intervals and transmission delays. Therefore, in high-bandwidth, high-concurrency, and low-latency application scenarios, a weight value of 10% is assigned to the band, with the 5G band scoring 10 points and the 2.4G band scoring 5 points.
[0193] Channel width directly influences high bandwidth. Therefore, a weight of 20% is assigned to channel width. The evaluation strategy is shown in Table 5. It can be understood that a low channel width score indicates that the bandwidth range is too low. Therefore, the AP bandwidth setting can be appropriately increased to improve the channel width.
[0194] The number of antennas directly influences high bandwidth. Therefore, increasing the number of antennas is equivalent to physically increasing channel width, coverage, and signal-to-noise ratio. Therefore, a weight of 20% is assigned to the number of antennas. The evaluation strategy is shown in Table 5. If the score for the number of MIMO antennas is too low, it indicates poor support for multi-antenna technology.
[0195] In some embodiments, after the AP's physical rate is calculated based on Formula 1, the physical rate can be subjected to minimum-maximum normalization, and the data can be linearly converted to [0, 10] to obtain the standardized physical rate, and then a weight value of 25% can be assigned to the physical rate.
[0196] In the embodiment of the present application, the 802.11ax, ac, n, a, g, and b protocols can be scored based on factors such as the supported transmission scheduling mechanism, modulation mode, and the maximum number of supported antennas, with scores of 10 points, 8 points, 6 points, 4 points, 2 points, and 1 point respectively. Because the highest protocol supported by the AP is involved in the evaluation process of the physical rate indicator, when it is used as an independent indicator alone, the score accounts for a small proportion, and a weight value of 5% is assigned to the supported wireless LAN protocol.
[0197] It should be noted that a low score for the supported wireless LAN protocols indicates that the highest wireless LAN protocol supported by the AP is too low, which is limited by advanced data transmission scheduling technology and low-order modulation mode restrictions.
[0198] It should be noted that in high-bandwidth, high-concurrency, and low-latency application scenarios, the method for determining the signal strength-transmission power comprehensive index is similar to the above embodiment and will not be repeated here. Signal strength and transmission power play a great role in ensuring the stability of connection transmission, improving network quality, enhancing penetration, and expanding coverage. They can ensure the integrity and arrival rate of data transmission. Therefore, a weight value of 10% is assigned to the signal strength-transmission power comprehensive index.
[0199] The method for determining channel quality is similar to the above embodiment and will not be repeated here. The quality of the selected channel determines the quality of network connectivity. Therefore, in high bandwidth, high concurrency, and low latency application scenarios, a weight value of 5% is assigned to the channel quality.
[0200] In some embodiments, the idle state of the channel can be evaluated by monitoring the channel occupancy rate to indicate the ability of the channel to accommodate data transmission during the evaluation. Accordingly, the monitored channel occupancy rate can be subjected to minimum-maximum normalization processing, and the data can be linearly converted to between [0, 10], that is, calculated by the following formula y'=10*(y-min(y)) / (max(y)-min(y)).
[0201] Wherein, y represents the scoring value. Furthermore, NCUR is used to represent the evaluation standard score of the normalized channel occupancy rate: NCUR = 10 - y' (Formula 3), and a weight value of 5% can be assigned to the channel occupancy rate.
[0202] In combination with the above embodiments, for the evaluation of the network quality of APs in high-bandwidth, high-concurrency, and low-latency application scenarios, the network quality parameters can be evaluated according to the above evaluation strategy, and combined with the comprehensive score of the weight value, the AP performance evaluation results for high bandwidth, high concurrency, and low latency requirements can be calculated.
[0203] Optionally, the evaluation results can also provide targeted scoring and ranking of APs, and provide users with detailed evaluation conclusions on each AP's network quality parameters in the directions of high bandwidth, high concurrency, and low latency for reference.
[0204] Optionally, for high-density application scenarios, the corresponding evaluation strategies are shown in Table 6.
[0205] Table 6
[0206]
[0207]
[0208] It should be noted that the evaluation method for network quality in high-density application scenarios is similar to that for high-bandwidth, high-concurrency, and low-latency application scenarios. Only the weight values assigned to each network quality parameter are different. For details, please refer to the description of the above embodiment and will not be repeated here.
[0209] Optionally, for high-security application scenarios, the corresponding evaluation strategies are shown in Table 7.
[0210] Table 7
[0211]
[0212] The wireless encryption protocol is a commonly used network quality parameter. For example, WEP (Wired Equivalent Privacy), one of the earliest wireless network encryption protocols, is considered insecure and is not recommended for use. Therefore, it receives a score of 0. WPA (Wi-Fi Protected Access), an improved version of WEP, introduces stronger encryption algorithms (such as TKIP) and dynamic key generation, providing improved security. It receives a score of 4. WPA2 (Wi-Fi Protected Access 2), a further improvement on WPA, uses stronger encryption algorithms (such as AES) and enhanced security configuration options. It is the most commonly used wireless network encryption protocol and receives a score of 6. WPA3 (Wi-Fi Protected Access 3), which introduces SAE (Simultaneous Authentication of Equals) authentication technology and has stronger password policies to prevent password guessing and provide protection, receives a score of 10. Therefore, the choice of wireless encryption protocol is a key indicator affecting AP security, and is therefore assigned a weight of 25%.
[0213] In some embodiments, encryption algorithms are also commonly used network quality parameters. For example, RC4 (Rivest Cipher 4), commonly used in the WEP protocol and deprecated, is scored 0; TKIP (Temporal Key Integrity Protocol), commonly used in the WPA protocol and also deprecated, is scored 2; AES (Advanced Encryption Standard), commonly used as the primary encryption algorithm in the WPA2 and WPA3 protocols, is scored 6; CCMP (Counter Mode with Cipher Block Chaining Message Authentication Code Protocol), commonly used as an alternative encryption algorithm in the WPA2 and WPA3 protocols, is scored 8; GCMP (Galois / Counter Mode Protocol), commonly used in the WPA3 protocol and offering higher security, is scored 10. Therefore, the choice of encryption algorithm is a key indicator affecting AP security, and a weight of 25% is assigned to the encryption algorithm.
[0214] Authentication technology is also an optional, commonly used network quality parameter. For example, in an open network without authentication, devices can connect to the AP without authentication and are scored 0 points. Pre-Shared Key (PSK) refers to a pre-shared key used for authentication in WPA and WPA2 and is scored 5 points. Extensible Authentication Protocol (EAP) is a framework for flexible authentication in enterprise networks and can include EAP-TLS, EAP-TTLS, and PEAP, with a score of 7 points. 802.1X is a network access control protocol that provides a high level of security for identifying, authenticating, and authorizing access to the network and is scored 8 points. Simultaneous Authentication of Equals (SAE) is a new authentication technology introduced in WPA3 that replaces PSK in WPA2 and is one of the more secure wireless authentication and key exchange protocols, with a score of 10 points. Therefore, the choice of authentication technology is also a key indicator of AP security, and is weighted 20% for authentication technology.
[0215] In the embodiment of the present application, the supported wireless LAN protocols are directly related to the highest security level that the AP can achieve. Therefore, a weight value of 20% is assigned to the supported wireless LAN protocols. The evaluation strategy is shown in Table 7.
[0216] It should be noted that in high-security application scenarios, the method for determining the signal strength-transmission power comprehensive index and channel quality is similar to the above-mentioned embodiment and will not be repeated here. The evaluation of the signal strength-transmission power comprehensive index and channel quality is to evaluate security from the perspective of network connectivity quality, stability and data transmission integrity. Therefore, for high-security application scenarios, a weight value of 5% is assigned to the SIRP index and a weight value of 5% is assigned to the channel quality.
[0217] In combination with the above embodiments, for the evaluation of the network quality of APs in high-security application scenarios, the network quality parameters can be evaluated according to the above evaluation strategy, and the comprehensive score of the weight value can be combined to calculate the performance evaluation results of APs in high-security application scenarios.
[0218] Optionally, the evaluation results can also provide targeted scoring and ranking of APs, and provide users with detailed evaluation conclusions on various network quality parameters for each AP in the direction of high-security applications for reference.
[0219] It should be noted that the embodiments of the present application do not specifically limit the numerical values of the scores of each network quality parameter, the obtained evaluation standard scores, and the assigned weight values in the above embodiments. The above is only an example description. It can be determined artificially based on actual conditions, or it can be set randomly, or it can be determined based on a machine algorithm, or a new algorithm can be defined for setting.
[0220] In this way, the embodiment of the present application can conduct targeted evaluation of network quality based on the evaluation method of allocating weights to network quality parameters according to the requirements of different application scenarios, and can more accurately evaluate the applicability and performance of network equipment in specific application scenarios, meet the evaluation requirements of different application scenarios, and improve user satisfaction.
[0221] Optionally, the method further includes:
[0222] Based on the evaluation result, a network quality improvement suggestion for the network device is generated.
[0223] In an embodiment of the present application, different network quality parameters can be determined under different application scenario requirements, and different corresponding network quality improvement suggestions can be generated for each network quality parameter. Therefore, the evaluation results may include comprehensive evaluation results under the requirements of each application scenario, and may also include evaluation results of each network quality parameter.
[0224] For example, a signal strength of >60 is considered excellent, a signal strength between 40 and 60 is considered good, and a signal strength of <60 is considered poor. A 2.4G transmission power of >20dBm, or 90 or more, is considered strong, a transmission power between 10dBm and 20dBm, or 50 or more, is considered moderate, and a transmission power of <10dBm, or less than 50, is considered weak. Based on the actual test signal strength and transmission power, the following three situations can be analyzed and classified:
[0225] Case 1: Strong signal strength and high transmit power (signal strength > 60 points, transmit power > 20dBm): indicates good signal coverage and penetration capability. The signal is still strong at a longer distance and can overcome the influence of obstacles.
[0226] Case 2: Strong signal strength and low transmit power (signal strength > 60 points, transmit power < 10dBm): Indicates that the signal strength is still good at a shorter distance, providing a reliable connection even with low transmit power. This may be due to an ideal signal propagation environment with less interference and obstacles.
[0227] Case 3: Weak signal strength and high transmit power (signal strength <60 points, transmit power >20dBm): This indicates that the signal encountered more interference and obstacles during transmission, resulting in weak signal strength. Therefore, the transmit power is increased to try to overcome these obstacles, but there are still limitations on coverage and penetration.
[0228] Based on the above considerations, in high-penetration and wide-coverage application scenarios, based on the evaluation of the comprehensive indicator of signal strength and transmit power, for those falling outside the above three situations, network quality improvement suggestions can be given, such as modifying the AP transmit power (for example, on some routers, this can be presented in the form of modifying signal strength, setting wall penetration, energy saving modes, etc.), changing the AP display position, etc.
[0229] In some embodiments, a ranking of channel selections can be given based on the channel quality evaluation, and channel selection recommendations can be given based on the evaluation. If the channel quality score is too low, modification suggestions for the best target channel can be given based on the comprehensive evaluation.
[0230] In other embodiments, if the physical rate score is too low, network quality improvement suggestions can be generated for the signal protection interval, modulation mode and other setting items based on the obtained relevant parameters, and suggestive prompts can be given, such as setting the shortest protection interval, using a high-order modulation mode, etc.
[0231] It is understandable that for APs with low channel quality scores, the best recommended channel can be given based on the channel coverage of each AP in the comprehensive space; for the evaluation of network quality parameters such as wireless encryption protocols, encryption algorithms, and supported authentication technologies, improvement suggestions for enhancing security can also be given based on the evaluation results and combined with the wireless LAN protocols supported by the AP.
[0232] For example, based on the actual configuration of the detected AP and the LAN protocols supported by the AP, corresponding security enhancement configuration suggestions can be given. Specifically, the 802.11ax protocol supports WPA3, AES, and SAE; the 802.11ac protocol supports WPA2, AES, 802.1X, and PSK; the 802.11n protocol supports WPA2, AES, TKIP, 802.1X, and PSK; the 802.11g protocol supports WAP, TKIP, WEP, 802.1X, and PSK; the 802.11a protocol supports WAP, TKIP, WEP, 802.1X, and PSK; and the 802.11b protocol supports WEP, RC4, PSK, and Open Network.
[0233] Furthermore, the embodiment of the present application no longer describes how to generate corresponding network quality improvement suggestions based on each network quality parameter, and the corresponding processes are similar.
[0234] It should be noted that the content of the network quality improvement suggestion can be determined based on the type of application scenario requirements, the type of network quality parameters, the evaluation standard score, etc., and the embodiments of the present application do not specifically limit this.
[0235] Optionally, after the network quality improvement suggestions are generated, they can be visually displayed on the terminal device to remind the user to adjust the network equipment.
[0236] Therefore, the embodiment of the present application can generate different network quality improvement suggestions based on the evaluation results to remind users to adjust network equipment in a targeted manner so that the network equipment has good network quality, thereby satisfying the user's usage needs and improving the user's usage satisfaction.
[0237] In the aforementioned embodiments, the network quality parameter determination method provided in the embodiments of the present application is introduced. In order to implement the various functions of the method provided in the above embodiments of the present application, the electronic device as the execution subject may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether a particular function of the above functions is implemented in the form of a hardware structure, a software module, or a hardware structure and a software module depends on the specific application and design constraints of the technical solution.
[0238] For example, Figure 4 A schematic diagram of a network quality parameter determination device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the apparatus 400 includes: an acquisition module 401, configured to acquire configuration parameters of a network device scanned by a terminal device; the configuration parameters include at least one type of information element;
[0239] Determination module 402, used to determine the application scenario requirements of the terminal device;
[0240] The processing module 403 is configured to parse and process the configuration parameters based on the application scenario requirements to obtain network quality parameters, which are used to evaluate the network quality under the application scenario requirements.
[0241] Optionally, the apparatus 400 is applied to a terminal device, and the configuration parameter includes a wireless access point AP information element; and the acquisition module 401 is specifically configured to:
[0242] The AP information element of the network device scanned by the terminal device is acquired based on the wireless extension interface; the wireless extension interface is provided after the terminal device establishes a socket connection with the kernel.
[0243] Optionally, the apparatus 400 is applied to a terminal device, and the configuration parameter includes a wireless access point AP information element; and the acquisition module 401 is specifically configured to:
[0244] The wireless network interface configuration IW tool obtains the AP information element of the network device scanned by the terminal device from the kernel of the terminal device.
[0245] Optionally, the application scenario requirements include first scenario requirements, second scenario requirements, third scenario requirements and fourth scenario requirements; the first scenario requirement is that the penetration of the AP signal is greater than the first threshold, and the coverage range of the AP signal is greater than the second threshold; the second scenario requirement is that the bandwidth of the channel where the AP is located is greater than the third threshold, the AP signal transmission delay is less than the fourth threshold, and the occupancy rate of the channel where the AP is located is greater than the fifth threshold; the third scenario requirement is that the number of access terminal devices supported by the AP in the preset area is greater than the sixth threshold; the fourth scenario requirement is that the security level achieved by the AP is greater than the seventh threshold.
[0246] Optionally, the network quality parameters include: frequency band, supported wireless LAN protocol, signal strength-transmission power index, channel quality, number of multiple-input and multiple-output MIMO antennas, channel width, supported physical rate, channel occupancy, supported wireless encryption protocol, encryption algorithm, and at least one of supported authentication technology; the signal strength-transmission power index is determined based on signal strength and transmission power.
[0247] Optionally, the processing module 403 includes a determination unit and a processing unit;
[0248] The determining unit is configured to determine target parameters from the configuration parameters based on the application scenario requirements;
[0249] The processing unit is used to perform standardization processing on the target parameter to obtain a network quality parameter.
[0250] Optionally, the target parameters include bandwidth range, overlap of bandwidth ranges, and signal strength; and the processing unit is specifically configured to:
[0251] For each target AP scanned by the terminal device, obtaining at least one first AP having an overlapping area with the target AP in the bandwidth range;
[0252] Determining, from the at least one first AP, a second AP having a bandwidth range completely identical to that of the target AP, and calculating a first signal interference degree based on signal strengths of the second AP and the target AP;
[0253] Determining, from the at least one first AP, a third AP having a bandwidth range that is partially the same as that of the target AP, and calculating a second signal interference degree based on signal strengths of the third AP and the target AP and an overlap of bandwidth ranges;
[0254] Based on the first signal interference degree and the second signal interference degree, a channel estimated interference degree is calculated using a predefined formula, and the channel estimated interference degree is normalized to obtain channel quality.
[0255] Optionally, the predefined formula is:
[0256]
[0257] Among them, SIij = APj signal strength / APi signal strength; SIij' = (APj' signal strength / APi signal strength) * (APij' bandwidth range overlap / APi bandwidth range); SIij represents the first signal interference degree; SIij' represents the second signal interference degree; APj represents the j-th second AP, APj' represents the j-th third AP, APi represents the i-th target AP; APij' represents the j-th third AP and the i-th target AP; SIin represents the channel estimated interference degree of the i-th target AP, and n is the sum of the number of target APs and the first AP.
[0258] Optionally, the apparatus 400 further includes an evaluation module, wherein the evaluation module is configured to:
[0259] For each network quality parameter, obtain the evaluation standard score and weight value of the network quality parameter;
[0260] Based on the evaluation standard scores and weight values, the network quality of the network device is evaluated to obtain an evaluation result.
[0261] Optionally, the apparatus 400 further includes a generating module, wherein the generating module is configured to:
[0262] Based on the evaluation result, a network quality improvement suggestion for the network device is generated.
[0263] It should be noted that the specific implementation principles and effects of the above-mentioned network quality parameter determination device can be found in the relevant descriptions and effects corresponding to the above-mentioned embodiments, and will not be elaborated here.
[0264] The embodiment of the present application also provides a structural diagram of an electronic device, Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5As shown, the electronic device may include: a processor 501 and a memory 502 communicatively connected to the processor; the memory 502 stores a computer program; the processor 501 executes the computer program stored in the memory 502, so that the processor 501 executes the method described in any of the above embodiments.
[0265] The memory 502 and the processor 501 may be connected via a bus 503 .
[0266] An embodiment of the present application further provides a computer-readable storage medium, which stores computer program execution instructions. When the computer program execution instructions are executed by a processor, they are used to implement the method described in any of the aforementioned embodiments of the present application.
[0267] An embodiment of the present application further provides a chip for executing instructions, which is used to execute the method in any of the aforementioned embodiments as executed by an electronic device in any of the aforementioned embodiments of the present application.
[0268] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it can implement the method described in any of the aforementioned embodiments of the present application executed by an electronic device.
[0269] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0270] Modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, that is, they may be located in one place or distributed across multiple network elements. Some or all of these modules may be selected to implement the solution of this embodiment based on actual needs.
[0271] In addition, the functional modules in the various embodiments of the present application may be integrated into a single processing unit, or each module may exist physically separately, or two or more modules may be integrated into a single unit. The above-mentioned modules may be implemented in the form of hardware or hardware plus software functional units.
[0272] The above-mentioned integrated module implemented in the form of a software functional module can be stored in a computer-readable storage medium. The above-mentioned software functional module is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.
[0273] It should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), or application-specific integrated circuits (ASICs). A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly executed by a hardware processor or by a combination of hardware and software modules in the processor.
[0274] The memory may include high-speed random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk.
[0275] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0276] The storage medium may 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 storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0277] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.
[0278] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all optional embodiments, and the actions and modules involved are not necessarily required by this application.
[0279] It should be further noted that, although the various steps in the flowchart are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps may be performed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. The execution order of these sub-steps or stages is not necessarily to be performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0280] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a particular embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined in any way. To keep the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0281] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present application are indicated by the claims.
[0282] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for determining network quality parameters, characterized in that: The method comprises: Acquire configuration parameters of a network device scanned by a terminal device; the configuration parameters include at least one type of information element; Determining the application scenario requirements of the terminal device; The configuration parameters are parsed and processed based on the application scenario requirements to obtain network quality parameters, which are used to evaluate the network quality under the application scenario requirements.
2. The method according to claim 1, characterized in that The method is applied to a terminal device, and the configuration parameters include wireless access point AP information elements; The obtaining of the configuration parameters of the network device scanned by the terminal device includes: Acquire, based on the wireless extension interface, an AP information element of the network device scanned by the terminal device; The wireless extension interface is provided after the terminal device establishes a socket connection with the kernel.
3. The method according to claim 1, characterized in that The method is applied to a terminal device, and the configuration parameters include wireless access point AP information elements; The obtaining of the configuration parameters of the network device scanned by the terminal device includes: The wireless network interface configuration IW tool obtains the AP information element of the network device scanned by the terminal device from the kernel of the terminal device.
4. The method according to claim 1, wherein The application scenario requirements include first scenario requirements, second scenario requirements, third scenario requirements and fourth scenario requirements; the first scenario requirement is that the penetration of the AP signal is greater than the first threshold, and the coverage range of the AP signal is greater than the second threshold; the second scenario requirement is that the bandwidth of the channel where the AP is located is greater than the third threshold, the AP signal transmission delay is less than the fourth threshold, and the occupancy rate of the channel where the AP is located is greater than the fifth threshold; the third scenario requirement is that the number of access terminal devices supported by the AP in the preset area is greater than the sixth threshold; the fourth scenario requirement is that the security level achieved by the AP is greater than the seventh threshold.
5. The method according to claim 1, wherein The network quality parameters include: frequency band, supported wireless LAN protocol, signal strength-transmission power index, channel quality, number of multiple-input and multiple-output MIMO antennas, channel width, supported physical rate, channel occupancy, supported wireless encryption protocol, encryption algorithm, and at least one of supported authentication technology; the signal strength-transmission power index is determined based on signal strength and transmission power.
6. The method according to claim 1, wherein The parsing and processing of the configuration parameters based on the application scenario requirements to obtain network quality parameters includes: Determining target parameters from the configuration parameters based on the application scenario requirements; The target parameters are standardized to obtain network quality parameters.
7. The method according to claim 6, characterized in that The target parameters include bandwidth range, bandwidth overlap, and signal strength; the target parameters are normalized to obtain network quality parameters, including: For each target AP scanned by the terminal device, obtaining at least one first AP having an overlapping area with the target AP in the bandwidth range; Determining, from the at least one first AP, a second AP having a bandwidth range completely identical to that of the target AP, and calculating a first signal interference degree based on signal strengths of the second AP and the target AP; Determining, from the at least one first AP, a third AP having a bandwidth range that is partially the same as that of the target AP, and calculating a second signal interference degree based on signal strengths of the third AP and the target AP and an overlap of bandwidth ranges; Based on the first signal interference degree and the second signal interference degree, a channel estimated interference degree is calculated using a predefined formula, and the channel estimated interference degree is normalized to obtain channel quality.
8. The method according to claim 7, characterized in that The predefined formula is: Among them, SI ij =AP j Signal strength / AP i Signal strength; SI ij '=(AP j Signal strength / AP i Signal strength)*(AP ij 'Bandwidth range overlap / AP i Bandwidth range); SI ij Indicates the first signal interference; SI ij ' represents the second signal interference degree; AP j Indicates the jth second AP, AP j ' represents the jth third AP, AP i represents the i-th target AP; AP ij ' represents the jth third AP and the ith target AP; SI in represents the estimated channel interference of the i-th target AP, and n is the sum of the number of target APs and the first AP.
9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: For each network quality parameter, obtain the evaluation standard score and weight value of the network quality parameter; Based on the evaluation standard scores and weight values, the network quality of the network device is evaluated to obtain an evaluation result.
10. The method according to claim 9, characterized in that The method further comprises: Based on the evaluation result, a network quality improvement suggestion for the network device is generated.
11. A device for determining network quality parameters, characterized in that: The device comprises: An acquisition module, configured to acquire configuration parameters of a network device scanned by a terminal device; the configuration parameters include at least one type of information element; A determination module, configured to determine the application scenario requirements of the terminal device; The processing module is used to parse and process the configuration parameters based on the application scenario requirements to obtain network quality parameters, and the network quality parameters are used to evaluate the network quality under the application scenario requirements.
12. An electronic device, characterized in that: include: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 10 when executed by a processor.
14. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 10 when being executed by a processor.