Wi-fi network service quality processing method, apparatus and device
By acquiring the set of access signal strengths of Wi-Fi devices, the quality of Wi-Fi network service is determined, solving the problem of inaccurate analysis results in existing technologies and achieving accurate analysis under scenarios of changing signal strength.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNITED NETWORK COMM GRP CO LTD
- Filing Date
- 2021-10-26
- Publication Date
- 2026-05-29
Smart Images

Figure CN116056131B_ABST
Abstract
Description
Technical Field
[0001] This application relates to communication technology, and more particularly to a method, apparatus, and device for processing Wi-Fi network quality of service. Background Technology
[0002] The quality of Wi-Fi networks significantly impacts user experience. Analyzing Wi-Fi network quality helps determine user experience, allowing for timely improvements to the network for those experiencing poor performance, thus enhancing the overall user experience.
[0003] Currently, Wi-Fi network quality analysis mostly focuses on download speed, access signal strength, and interference. Among these, the analysis of access signal strength uses the range of the terminal device's access signal strength as a criterion. For example, an access signal strength between -50dBm and 0dBm is considered excellent, resulting in a good user experience; an access signal strength between -70dBm and -50dBm is considered good, with a slightly weaker user experience but no significant impact on internet browsing; and an access signal strength below -70dBm is considered poor, resulting in a poor user experience.
[0004] However, existing technologies have low accuracy in analyzing scenarios where users do not use services in environments with strong access signals, but use services when they move to environments with weak access signals. Summary of the Invention
[0005] This application provides a Wi-Fi network service quality processing method, apparatus, and device to solve the problem in the prior art that the accuracy of the analysis results is low when users do not use services in an environment with good access signal strength, but use services when they move to an environment with poor access signal strength.
[0006] In a first aspect, this application provides a method for processing Wi-Fi network service quality, comprising: acquiring a set of access signal strengths of a Wi-Fi device, the set of access signal strengths comprising: M access signal strengths obtained by the Wi-Fi device sampling M access signals of the terminal device accessing the Wi-Fi network when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, wherein M is an integer greater than or equal to 1; determining the number of access signal strengths among the M access signal strengths that are located within each preset access signal strength interval according to the set of access signal strengths; determining the service quality of the Wi-Fi network according to the number of access signal strengths among the M access signal strengths that are located within X preset access signal strength intervals, wherein X is an integer greater than or equal to 2; and outputting indication information, the indication information being used to indicate the service quality of the Wi-Fi network.
[0007] Secondly, this application provides a Wi-Fi network service quality processing method, comprising: when a terminal device transmits data through a Wi-Fi network provided by a Wi-Fi device during a preset time period, sampling the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval; wherein N is an integer greater than or equal to 2; obtaining a time set according to the preset time period, the time set including multiple sub-time periods located within the preset time period, wherein the terminal device continuously uses the Wi-Fi network to transmit data in each sub-time period; obtaining M access signal strengths belonging to each of the sub-time periods from the N access signal strengths to obtain an access signal strength set; wherein M is a positive integer less than or equal to N; sending the access signal strength set to a monitoring device, wherein the monitoring device is used to determine the service quality of the Wi-Fi network based on the access signal strength set.
[0008] Thirdly, this application provides a Wi-Fi network service quality processing apparatus, comprising: an acquisition module, configured to acquire a set of access signal strengths of a Wi-Fi device, the set of access signal strengths including: M access signal strengths obtained by the Wi-Fi device sampling M access signals of the terminal device accessing the Wi-Fi network when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, wherein M is an integer greater than or equal to 1; a determination module, configured to determine, based on the set of access signal strengths, the number of access signal strengths among the M access signal strengths that fall within each preset access signal strength interval; the determination module is further configured to determine the service quality of the Wi-Fi network based on the number of access signal strengths among the M access signal strengths that fall within X preset access signal strength intervals, wherein X is an integer greater than or equal to 2; and an output module, configured to output indication information, the indication information being used to indicate the service quality of the Wi-Fi network.
[0009] Fourthly, this application provides a Wi-Fi network service quality processing apparatus, comprising: a sampling module, configured to sample the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device during the preset time period; wherein N is an integer greater than or equal to 2; an acquisition module, configured to acquire a time set according to the preset time period, the time set including multiple sub-time periods located within the preset time period, wherein the terminal device continuously uses the Wi-Fi network to transmit data in each sub-time period; the acquisition module, configured to acquire M access signal strengths belonging to each of the sub-time periods from the N access signal strengths, thereby obtaining an access signal strength set; wherein M is a positive integer less than or equal to N; and a sending module, configured to send the access signal strength set to a monitoring device, wherein the monitoring device determines the service quality of the Wi-Fi network based on the access signal strength set.
[0010] Fifthly, this application provides an electronic device, including: 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 as described in the first or second aspect.
[0011] In a sixth aspect, this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method described in the first or second aspect.
[0012] The Wi-Fi network service quality processing method, apparatus, and device provided in this application obtain a set of access signal strengths from a Wi-Fi device. This set of access signal strengths includes: when a terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, the Wi-Fi device samples M access signals from the terminal device's access to the Wi-Fi network, obtaining M access signal strengths, where M is an integer greater than or equal to 1; based on the set of access signal strengths, determining the number of access signal strengths among the M access signal strengths that fall within each preset access signal strength interval; based on the number of access signal strengths among the M access signal strengths that fall within X preset access signal strength intervals, determining the service quality of the Wi-Fi network, where X is an integer greater than or equal to 2; and outputting indication information, which is used to indicate the service quality of the Wi-Fi network. Since the M access signal strengths in the access signal strength set are obtained by the Wi-Fi device sampling the M access signals when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, and the service quality of the Wi-Fi network is analyzed based on the access signal strength of the M access signals, it is equivalent to analyzing the service quality of the Wi-Fi network based on the access signal strength of the terminal device during the time period when it transmits data through the Wi-Fi network provided by the Wi-Fi device. Therefore, for scenarios where users do not use services in environments with good access signal strength, but use services when they move to environments with poor access signal strength, the accuracy of the service quality analysis of the Wi-Fi network can be improved. Attached Figure Description
[0013] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0014] Figure 1 Application scenario diagrams provided for embodiments of this application;
[0015] Figure 2 A flowchart of the Wi-Fi network service quality processing method provided in Embodiment 1 of this application;
[0016] Figure 3 A flowchart of the Wi-Fi network service quality processing method provided in Embodiment 2 of this application;
[0017] Figure 4 This is a schematic diagram of the structure of the Wi-Fi network service quality processing device provided in the embodiments of this application;
[0018] Figure 5 This is a schematic diagram of the structure of the Wi-Fi network service quality processing device provided in the embodiments of this application;
[0019] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0020] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0021] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0022] Wi-Fi offers numerous advantages. For example, Wi-Fi-enabled phones can access the internet via Wi-Fi networks when a signal is available, thus saving data usage compared to mobile data. Therefore, Wi-Fi has become the most widely used wireless network technology, with almost all smartphones, tablets, and laptops supporting Wi-Fi internet access.
[0023] Related technologies analyze the quality of service (QoS) of Wi-Fi networks from the perspective of the access signal strength. However, the access signal strength of Wi-Fi devices is affected by the location and environment of the user's terminal device when accessing the Wi-Fi network. That is, the access signal strength will change as the location and environment of the terminal device change when accessing the Wi-Fi network. But users only perceive this when transmitting data through the Wi-Fi network, such as when using internet services. When not using internet services, even if the access signal strength is poor, it is meaningless to the user.
[0024] To address the aforementioned technical problems, this application proposes a Wi-Fi network service quality processing method. This method determines the Wi-Fi service quality by acquiring the Wi-Fi access signal strength of the terminal device when it transmits data through the Wi-Fi network provided by the Wi-Fi device. This ensures that the determined Wi-Fi service quality reflects the service quality of the terminal device during data transmission, improving the accuracy of Wi-Fi service quality analysis. Furthermore, the method can also combine the acquisition of the terminal device's Wi-Fi access signal strength when transmitting data for different types of services through the Wi-Fi network provided by the Wi-Fi device to determine the Wi-Fi service quality for different types of services, thereby further improving the accuracy of Wi-Fi service quality analysis for different types of services.
[0025] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0026] Figure 1 The diagram illustrates an application scenario provided for an embodiment of this application. For example... Figure 1 As shown, this application scenario includes: terminal device 11, Wi-Fi device 12, and monitoring device 13. Terminal device 11 includes personal computers, game consoles, MP3 players, smartphones, tablets, printers, laptops, and other devices capable of wireless internet access. Wi-Fi device 12 is a device that can provide Wi-Fi service, such as a router. In some scenarios, Wi-Fi device 12 can also be a Wi-Fi hotspot device; for example, if a smartphone acts as a Wi-Fi hotspot, then the smartphone is a Wi-Fi device. Monitoring device 13 can be a desktop computer, laptop, mobile phone, server, or other device with data processing capabilities.
[0027] Terminal device 11 is connected to Wi-Fi device 12 via Wi-Fi, and Wi-Fi device 12 is connected to monitoring device 13 via communication.
[0028] The following is based on Figure 1 The application scenarios shown in this application provide a detailed description of the Wi-Fi network service quality processing method provided in this embodiment:
[0029] Figure 2 A flowchart of the Wi-Fi network service quality processing method provided in Embodiment 1 of this application is shown below. Figure 2 As shown, the Wi-Fi network service quality processing method of this embodiment includes the following steps:
[0030] Step 201: Obtain the set of access signal strengths of the Wi-Fi device. The set of access signal strengths includes: when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, the Wi-Fi device samples M access signals of the terminal device accessing the Wi-Fi network, and obtains M access signal strengths, where M is an integer greater than or equal to 1.
[0031] The execution subject of this embodiment can be, for example, as follows: Figure 1 The monitoring equipment shown.
[0032] In some scenarios, Wi-Fi devices can provide Wi-Fi networks to the outside world. Terminal devices can access the internet by connecting to this network, allowing users to search for information, chat, watch videos, and so on. This can all be considered a user's experience using the service. During this process, the terminal device transmits data through the Wi-Fi network provided by the device, and the Wi-Fi device can obtain the signal strength data of the terminal device accessing the network.
[0033] Specifically, obtaining the set of access signal strengths of Wi-Fi devices can include at least the following two implementation methods:
[0034] In one optional implementation, step 201 includes receiving a set of access signal strengths sent by the Wi-Fi device. Correspondingly, the Wi-Fi device needs to perform the following steps:
[0035] Step a1: When the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device during a preset time period, the Wi-Fi device samples the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval, where N is an integer greater than or equal to 2.
[0036] In this step, the access signal strengths of N access signals are obtained by continuous sampling within a preset time period based on a preset sampling interval. This can be understood as the preset time period divided by the preset sampling interval equals N.
[0037] This can be achieved by setting the same preset time period for different users, setting a preset time period for each user based on their online behavior habits, or setting a preset time period for a user group based on the user group's online behavior habits.
[0038] For example, for user A, the preset time period can be set to the peak internet access time of user A each day. For instance, if user A habitually accesses the internet between 20:00 and 24:00 every day, then 20:00 to 24:00 can be set as the preset time period. This step then samples the access signal strength of N access signals of the terminal device connecting to the Wi-Fi network at a preset sampling interval during this time period from 20:00 to 24:00 each day. Assuming the preset sampling interval is 5 seconds, the access signal strength of ((24:00-20:00)*60*60)s / 5s = 2880 access signals can be sampled.
[0039] Step a2: The Wi-Fi device obtains a time set according to a preset time period. The time set includes multiple sub-time periods within the preset time period. In each sub-time period, the terminal device continuously uses the Wi-Fi network to transmit data.
[0040] Within a preset time period, a user may not be online continuously, but rather in segments. Each segment of online activity is considered a sub-time period, and all sub-time periods within the preset time period constitute a time set.
[0041] Using the example from step a1 again, suppose a user is online continuously between 20:00 and 20:30, and also between 21:20 and 22:00. The time period between 20:00 and 20:30 is one sub-time period, and the time period between 21:20 and 22:00 is another sub-time period.
[0042] Step a3: The Wi-Fi device obtains M access signal strengths belonging to each sub-time period from N access signal strengths to obtain the access signal strength set, where M is a positive integer less than or equal to N.
[0043] Specifically, each of the N access signal strengths corresponds to a sampling time. Based on the sampling time of each of the N access signal strengths, the access signal strengths belonging to each sub-time period are selected to obtain the access signal strengths of the M access signals.
[0044] Using the examples from steps a1 and a2 as examples, this step involves filtering out the access signal strengths of access signals from the 2880 access signal strengths that fall within the time period between 20:00 and 20:30, and the time period between 21:20 and 22:00.
[0045] Step a4: The Wi-Fi device sends an access signal strength set to the monitoring device, which uses the access signal strength set to determine the quality of service of the Wi-Fi network.
[0046] In this process, the Wi-Fi device sends an access signal strength set to the monitoring device via a communication network. The monitoring device receives the access signal strength set and executes steps 202 to 204.
[0047] In another alternative implementation, obtaining the set of access signal strengths of Wi-Fi devices includes:
[0048] Step b1: When the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device during a preset time period, the Wi-Fi device samples the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval, where N is an integer greater than or equal to 2.
[0049] For a detailed description of the implementation of step b1, please refer to the description of step a1, which will not be repeated here.
[0050] Step b2: The Wi-Fi device obtains a time set according to a preset time period. The time set includes multiple sub-time periods within the preset time period. In each sub-time period, the terminal device continuously uses the Wi-Fi network to transmit data.
[0051] For a detailed description of the implementation of step b2, please refer to the description of step a2, which will not be repeated here.
[0052] Step b3: The Wi-Fi device will sample the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to the preset sampling interval, and send the obtained time set to the monitoring device.
[0053] Step b4: The monitoring device obtains M access signal strengths belonging to each sub-time period from N access signal strengths to obtain the access signal strength set, where M is a positive integer less than or equal to N.
[0054] Specifically, the implementation of step b4 is similar to that of step a3. For details, please refer to the description of the implementation of step a3, which will not be repeated here.
[0055] The implementation methods of steps b1 to b4 differ from those of steps a1 to a4 in that, in the implementation methods of steps a1 to a4, the Wi-Fi device determines M access signal strengths based on N access signal strength and time sets before sending them to the monitoring device, while in the implementation methods of steps b1 to b4, the Wi-Fi device obtains N access signal strengths and time sets and sends them to the monitoring device, which then determines the M access signal strengths based on the N access signal strengths and time sets.
[0056] Step 202: Based on the set of access signal strengths, determine the number of access signal strengths that are located within each preset access signal strength interval among the M access signal strengths.
[0057] Before performing this step, it is necessary to pre-divide the access signal strength range of the Wi-Fi device into multiple access signal strength intervals. Then, this step, based on the access signal strength of each of the M access signals, assigns each access signal to a preset access signal strength interval, thus obtaining the number of access signal strengths among the M access signal strengths that fall within each preset access signal strength interval.
[0058] In some embodiments, the access signal strength range of a Wi-Fi device can be divided into a first access signal strength range, a second access signal strength range, a third access signal strength range, and a fourth access signal strength range.
[0059] For example, assuming the access signal strength range of a Wi-Fi device is [0, -y dBm), then [0, -y dBm) can be divided into [0, -70 dBm), [-70 dBm, -75 dBm), [-75 dBm, -80 dBm), and access signal strengths less than or equal to -80 dBm. Wherein, [0, -70 dBm), [-70 dBm, -75 dBm), [-75 dBm, -80 dBm), and access signal strengths less than or equal to -80 dBm are respectively the first access signal strength interval, the second access signal strength interval, the third access signal strength interval, and the fourth access signal strength interval. Therefore, this step, based on the access signal strength of each of the M access signals, divides each access signal into the first access signal strength interval, the second access signal strength interval, the third access signal strength interval, or the fourth access signal strength interval, thus obtaining the number of access signal strengths among the M access signal strengths that fall within each preset access signal strength interval.
[0060] Step 203: Determine the quality of service of the Wi-Fi network based on the number of access signal strengths that fall within X preset access signal strength intervals out of M access signal strengths, where X is an integer greater than or equal to 2.
[0061] Specifically, step 203 includes:
[0062] Step c1: Multiply the first quantity by the preset coefficient and add it to the second quantity to obtain the first value. The first quantity is the number of access signal strengths in the Xth access signal strength interval among the M access signal strengths, and the second quantity is the number of access signal strengths in the (X-1)th access signal strength interval among the M access signal strengths.
[0063] Among the X preset access signal strength intervals, the lower limit of the i-th access signal strength interval is greater than the upper limit of the (i-1)-th access signal strength interval, and i is an integer greater than or equal to 2 and less than or equal to X.
[0064] Step c2: Multiply the third quantity by the preset coefficient, and add it to the first quantity, the second quantity and the fourth quantity to obtain the second value. The third quantity is the number of access signal strengths in the (X-3)th access signal strength interval among the M access signal strengths, and the fourth quantity is the number of access signal strengths in the (X-2)th access signal strength interval among the M access signal strengths.
[0065] Step c3: Divide the first value by the second value to obtain the first parameter value. The first parameter value is used to characterize the service quality of the Wi-Fi network, and the first parameter value is positively correlated with the service quality.
[0066] Let the first parameter value be denoted as QA-S, the first quantity as C1-NO.S, the second quantity as C2-NO.S, the third quantity as C3-NO.S, and the fourth quantity as C4-NO.S. Then the implementation process of steps c1 to c3 can be expressed as the following formula (1):
[0067]
[0068] Step 204: Output indication information, which is used to indicate the quality of service of the Wi-Fi network.
[0069] Following step c3, this embodiment may further include: step c4, comparing the first parameter value with a preset threshold. Then, output indication information, including: if the first parameter value is less than the preset threshold, output indication information, which is also used to indicate improvements to the user's Wi-Fi network service quality.
[0070] Different operators can set preset thresholds based on their criteria for judging the service quality of Wi-Fi networks. For example, if operator A considers the first parameter value to be less than 20%, then the service quality of the Wi-Fi network is poor and needs improvement, then 20% can be set as the preset threshold. In other words, the preset threshold in this embodiment can be flexibly set.
[0071] This embodiment obtains a set of access signal strengths from a Wi-Fi device. This set includes: M access signal strengths obtained by the Wi-Fi device sampling M access signals when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, where M is an integer greater than or equal to 1; based on the set of access signal strengths, determining the number of access signal strengths within each preset access signal strength interval from the M access signal strengths; determining the quality of service (QoS) of the Wi-Fi network based on the number of access signal strengths within X preset access signal strength intervals from the M access signal strengths, where X is an integer greater than or equal to 2; and outputting indication information to indicate the QoS of the Wi-Fi network. Since the M access signal strengths in the access signal strength set are obtained by the Wi-Fi device sampling the M access signals when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, and the service quality of the Wi-Fi network is analyzed based on the access signal strength of the M access signals, it is equivalent to analyzing the service quality of the Wi-Fi network based on the access signal strength of the terminal device during the time period when it transmits data through the Wi-Fi network provided by the Wi-Fi device. Therefore, for scenarios where users do not use services in environments with good access signal strength, but use services when they move to environments with poor access signal strength, the accuracy of the service quality analysis of the Wi-Fi network can be improved.
[0072] As described in the above embodiments, the terminal device can access the Internet by connecting to the Wi-Fi network provided by the Wi-Fi device. That is, the user can access the Internet by operating the terminal device and perform information searches and queries (including chatting, watching videos, etc.) on the Internet. Therefore, the terminal device transmitting data through the Wi-Fi network provided by the Wi-Fi device can be understood as the terminal device transmitting data of different types of services through the Wi-Fi network provided by the Wi-Fi device.
[0073] The different types of business can include at least the following:
[0074] a. First type of business; First type of business mainly includes video and download services in streaming media, such as video services, peer-to-peer (P2P) downloads, file transfer protocol (FTP) downloads, etc.
[0075] b. Second type of business; The second type of business mainly includes user access to the website and instant messaging services, such as web page access and instant messaging services.
[0076] c. Third type of business; the third type of business mainly includes online game business.
[0077] It should be understood that the above classification of business types is illustrative and does not limit this application. Those skilled in the art can make other forms of classification according to business needs.
[0078] In addition to adding the dimension of service type, this application can also provide another embodiment of the Wi-Fi network service quality processing method. The following will describe this embodiment of the Wi-Fi network service quality processing method in detail with reference to the accompanying drawings:
[0079] Figure 3 This is a flowchart illustrating the Wi-Fi network service quality processing method provided in Embodiment 2 of this application. Figure 3 As shown, the Wi-Fi network service quality processing method includes the following steps:
[0080] Step 301: Obtain the access signal strength set of the Wi-Fi device. The access signal strength set includes M access signals of the terminal device when it transmits data of the target type service through the Wi-Fi network provided by the Wi-Fi device.
[0081] The data for the target type of business can be any one of the first type of business, the second type of business, and the third type of business mentioned above.
[0082] For the first type of service, the access signal strength set includes M access signals sampled by the Wi-Fi device when the terminal device transmits data for the first type of service through the Wi-Fi network provided by the Wi-Fi device. These signals can be represented as {Sh0, Sh1, Sh2, ..., ShM}.
[0083] Based on the second type of service, the access signal strength set includes M access signals sampled by the Wi-Fi device when the terminal device transmits data of the second type of service through the Wi-Fi network provided by the Wi-Fi device, which can be represented as {Sl0, Sl1, Sl2, ..., SlM}.
[0084] Based on the third type of service, the access signal strength set includes M access signals sampled by the Wi-Fi device when the terminal device transmits data of the third type of service through the Wi-Fi network provided by the Wi-Fi device, which can be represented as {Sg0, Sg1, Sg2, ..., SgM}.
[0085] Specifically, step 301 may include at least the following two implementation methods:
[0086] In one optional implementation, obtaining the set of access signal strengths of the Wi-Fi device includes: receiving the set of access signal strengths sent by the Wi-Fi device. Correspondingly, the Wi-Fi device needs to perform the following steps:
[0087] Step d1: When the terminal device transmits data of the target type service through the Wi-Fi network provided by the Wi-Fi device within a preset time period, the Wi-Fi device samples the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval, where N is an integer greater than or equal to 2.
[0088] Step d2: The Wi-Fi device obtains a time set according to a preset time period. The time set includes multiple sub-time periods within the preset time period. In each sub-time period, the terminal device continuously uses the Wi-Fi network to transmit data of the target type of service.
[0089] Within a preset time period, users may not continuously access the internet to transmit data for the target type of service, but rather browse the internet in segments. Each segment of internet access time is a sub-time period, and all sub-time periods within the preset time period constitute a time set.
[0090] For the first type of business, the time set of this step can be denoted as {(Th0-b, Th0-e), (Th1-b, Th1-e), ..., (Thn-b, Thn-e)}.
[0091] For the second type of business, the time set of this step can be denoted as {(Tl0-b, Tl0-e), (Tl1-b, Tl1-e), ..., (Tln-b, Tln-e)}.
[0092] For the third type of business, the time set of this step can be denoted as {(Tg0-b, Tg0-e), (Tg1-b, Tg1-e), ..., (Tgn-b, Tgn-e)}.
[0093] In the time sets of the three types of services mentioned above, the first item in each set of parentheses indicates the start time of the terminal device continuously using the Wi-Fi network to transmit data for that type of service, and the second item indicates the end time of the terminal device continuously using the Wi-Fi network to transmit data for that type of service. There is a time interval between the second item in the first set of parentheses and the first item in the second set of parentheses.
[0094] Step d3: The Wi-Fi device obtains M access signal strengths belonging to the target type of service in each sub-time period from N access signal strengths, and obtains the access signal strength set, where M is a positive integer less than or equal to N.
[0095] Specifically, before step d3, the method in this embodiment further includes: when the terminal device transmits data of the target type service through the Wi-Fi network provided by the Wi-Fi device within a preset time period, sampling the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval.
[0096] This step involves retrieving M access signal strengths from the N access signal strengths within each sub-time period of the target type service from the time set, thus obtaining the access signal strength set. This is the access signal strength set {Sh0, Sh1, Sh2, ..., ShM}, {Sl0, Sl1, Sl2, ..., SlM}, or {Sg0, Sg1, Sg2, ..., SgM} described above.
[0097] Step d4: The Wi-Fi device sends an access signal strength set to the monitoring device, which uses the access signal strength set to determine the quality of service of the Wi-Fi network for the target type of service.
[0098] In this process, the Wi-Fi device sends a set of access signal strength data to the monitoring device via a communication network. The monitoring device receives the set of access signal strength data and executes steps 302 to 304.
[0099] In another alternative implementation, obtaining the set of access signal strengths of Wi-Fi devices includes:
[0100] Step e1: When the terminal device transmits data of the target type service through the Wi-Fi network provided by the Wi-Fi device within a preset time period, the Wi-Fi device samples the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval, where N is an integer greater than or equal to 2.
[0101] For details on the specific implementation of step e1, please refer to the description of step d1.
[0102] Step e2: The Wi-Fi device obtains a time set according to a preset time period. The time set includes multiple sub-time periods within the preset time period. In each sub-time period, the terminal device continuously uses the Wi-Fi network to transmit data of the target type of service.
[0103] For details on the specific implementation of step e2, please refer to the description of step d2.
[0104] Step e3: The Wi-Fi device will sample the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to the preset sampling interval, and send the obtained time set to the monitoring device.
[0105] Step e4: The monitoring device obtains M access signal strengths belonging to the target type of service in each sub-time period from N access signal strengths, and obtains the access signal strength set, where M is a positive integer less than or equal to N.
[0106] Specifically, the implementation of step e4 is similar to that of step d3. For details, please refer to the description of the implementation of step d3. It will not be repeated here.
[0107] The implementation methods of steps e1 to e4 differ from those of steps d1 to d4 in that, in the implementation methods of steps d1 to d4, the Wi-Fi device determines M access signal strengths based on N access signal strength and time sets before sending them to the monitoring device, while in the implementation methods of steps e1 to e4, the Wi-Fi device obtains N access signal strengths and time sets and sends them to the monitoring device, which then determines the M access signal strengths based on the N access signal strengths and time sets.
[0108] Step 302: Based on the set of access signal strengths, determine the number of access signal strengths among the M access signal strengths that are located within each preset access signal strength interval of the target type service.
[0109] As described above, each preset access signal strength interval includes a first sub-access signal strength interval, a second sub-access signal strength interval, a third sub-access signal strength interval, and a fourth sub-access signal strength interval. In this embodiment, the preset access signal strength intervals corresponding to different types of services are different.
[0110] Specifically as follows:
[0111] For example, for the first type of service, the signal strength range of the first sub-access signal strength interval is [0 to -50 dBm], the signal strength range of the second sub-access signal strength interval is [-50 dBm to -70 dBm], the signal strength range of the third sub-access signal strength interval is [-70 dBm to -80 dBm], and the signal strength range of the fourth sub-access signal strength interval is less than or equal to -80 dBm. The number of access signal strengths in each preset access signal strength interval can be denoted as C1-N0.Sh, C2-N0.Sh, C3-N0.Sh, and C4-N0.Sh, respectively.
[0112] For the second type of service, the signal strength range of the first sub-access signal strength interval is [0 to -70 dBm], the signal strength range of the second sub-access signal strength interval is [-70 dBm to -75 dBm], the signal strength range of the third sub-access signal strength interval is [-75 dBm to -80 dBm], and the signal strength range of the fourth sub-access signal strength interval is less than or equal to -80 dBm. The number of access signal strengths within each preset access signal strength interval can be denoted as C1-N0.Sl, C2-N0.Sl, C3-N0.Sl, and C4-N0.Sl, respectively.
[0113] For the third type of service, the signal strength range of the first sub-access signal strength interval is [0 to -50 dBm], the signal strength range of the second sub-access signal strength interval is [-50 dBm to -60 dBm], the signal strength range of the third sub-access signal strength interval is [-60 dBm to -70 dBm], and the signal strength range of the fourth sub-access signal strength interval is less than or equal to -70 dBm. The number of access signal strengths within each preset access signal strength interval can be denoted as C1-N0.Sg, C2-N0.Sg, C3-N0.Sg, and C4-N0.Sg, respectively.
[0114] Step 303: Determine the quality of service of the Wi-Fi network for the target type of service based on the number of access signal strengths that are located within the X preset access signal strength ranges of the target type of service from among the M access signal strengths, where X is an integer greater than or equal to 2.
[0115] Step 303 includes step A, step B, or step C:
[0116] Step A: Determine the quality of service of the Wi-Fi network for the first type of service based on the number of access signal strengths that fall within the X preset access signal strength ranges of the first type of service from among the M access signal strengths, where X is an integer greater than or equal to 2.
[0117] Step B: Determine the quality of service of the Wi-Fi network for the second type of service based on the number of access signal strengths that fall within the X preset access signal strength ranges of the second type of service from among the M access signal strengths, where X is an integer greater than or equal to 2.
[0118] Step C: Determine the quality of service of the Wi-Fi network for the third type of service based on the number of access signal strengths that fall within the X preset access signal strength ranges of the third type of service from among the M access signal strengths, where X is an integer greater than or equal to 2.
[0119] Specifically, step 303 includes:
[0120] Step f1: Multiply the first quantity of the target type service by the preset coefficient and add it to the second quantity of the target type service to obtain the first value of the target type service. The first quantity of the target type service is the number of access signal strengths in the Xth access signal strength interval of the target type service among the M access signal strengths. The second quantity of the target type service is the number of access signal strengths in the (X-1)th access signal strength interval of the target type service among the M access signal strengths.
[0121] Among them, the lower limit of the i-th access signal strength interval in the X preset access signal strength intervals of the target type service is greater than the upper limit of the (i-1)-th access signal strength interval, where i is an integer greater than or equal to 2 and less than or equal to X.
[0122] Step f2: Multiply the third quantity of the target type service by the preset coefficient, and add it to the first quantity, the second quantity, and the fourth quantity of the target type service to obtain the second value of the target type service. The third quantity of the target type service is the number of access signal strengths in the (X-3)th access signal strength interval of the target type service among the M access signal strengths, and the fourth quantity is the number of access signal strengths in the (X-2)th access signal strength interval of the target type service among the M access signal strengths.
[0123] Step f3: Divide the first value of the target type service by the second value of the target type service to obtain the first parameter value of the target type service. The first parameter value of the target type service is used to characterize the service quality of the Wi-Fi network for the target type service. The first parameter value of the target type service is positively correlated with the service quality of the target type service.
[0124] For the first type of service, the first parameter value corresponding to the first type of service can be denoted as QA-Sh, the first quantity corresponding to the first type of service can be denoted as C1-NO.Sh, the second quantity corresponding to the first type of service can be denoted as C2-NO.Sh, the third quantity corresponding to the first type of service can be denoted as C3-NO.Sh, and the fourth quantity corresponding to the first type of service can be denoted as C4-NO.Sh. The implementation process from step c1 to step c3 can then be expressed as the following formula (2):
[0125]
[0126] For the second type of business, the first parameter value corresponding to the second type of business can be denoted as QA-Sl, the first quantity corresponding to the second type of business can be denoted as C1-NO.Sl, the second quantity corresponding to the second type of business can be denoted as C2-NO.Sl, the third quantity corresponding to the second type of business can be denoted as C3-NO.Sl, and the fourth quantity corresponding to the second type of business can be denoted as C4-NO.Sl. Then the implementation process of steps c1 to c3 can be expressed as the following formula (3):
[0127]
[0128] For the third type of business, the first parameter value corresponding to the third type of business can be denoted as QA-Sg, the first quantity corresponding to the third type of business can be denoted as C1-NO.Sg, the second quantity corresponding to the third type of business can be denoted as C2-NO.Sg, the third quantity corresponding to the third type of business can be denoted as C3-NO.Sg, and the fourth quantity corresponding to the third type of business can be denoted as C4-NO.Sg. Then the implementation process of steps c1 to c3 can be expressed as the following formula (4):
[0129]
[0130] Step 304: Output indication information. The indication information is used to indicate the quality of service of the Wi-Fi network for the target type of service.
[0131] After step f3, this embodiment may further include: step f4, comparing the first parameter value corresponding to the target type service with a preset threshold; if the first parameter value corresponding to the target type service is less than the preset threshold, then outputting indication information, which is also used to instruct the user's Wi-Fi network to improve the service quality for the target type service.
[0132] It should be understood that the terminal device can simultaneously perform the steps of the Wi-Fi network service quality processing method for at least two types of services, including the first type of service, the second type of service, and the third type of service.
[0133] This embodiment improves the accuracy of Wi-Fi network service quality analysis for target type services by performing service quality analysis on the Wi-Fi network.
[0134] Based on the above method embodiments, Figure 4 This is a schematic diagram of the structure of the Wi-Fi network service quality processing device provided in an embodiment of this application. Figure 4 As shown, the device includes: an acquisition module 41, a determination module 42, and an output module 43;
[0135] The acquisition module 41 is used to acquire a set of access signal strengths of the Wi-Fi device. The set of access signal strengths includes: when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, the Wi-Fi device samples M access signals of the terminal device accessing the Wi-Fi network, and obtains M access signal strengths, where M is an integer greater than or equal to 1.
[0136] The determining module 42 is used to determine, based on the set of access signal strengths, the number of access signal strengths that are located within each preset access signal strength interval among the M access signal strengths;
[0137] The determining module 42 is further configured to determine the quality of service of the Wi-Fi network based on the number of access signal strengths among the M access signal strengths that are located within X preset access signal strength intervals, where X is an integer greater than or equal to 2;
[0138] Output module 43 is used to output indication information, which is used to indicate the quality of service of the Wi-Fi network.
[0139] In some embodiments, the lower limit of the i-th access signal strength interval among the X preset access signal strength intervals is greater than the upper limit of the (i-1)-th access signal strength interval; i is an integer greater than or equal to 2 and less than or equal to X; the determining module 42 is specifically used to: multiply a first quantity by a preset coefficient and add it to a second quantity to obtain a first value; the first quantity is the number of access signal strengths located in the X-th access signal strength interval among the M access signal strengths; the second quantity is the number of access signal strengths located in the (X-1)-th access signal strength interval among the M access signal strengths; multiply a third quantity by a preset coefficient and add it to the first quantity, the second quantity, and a fourth quantity to obtain a second value; the third quantity is the number of access signal strengths located in the (X-3)-th access signal strength interval among the M access signal strengths, and the fourth quantity is the number of access signal strengths located in the (X-2)-th access signal strength interval among the M access signal strengths; divide the first value by the second value to obtain a first parameter value, the first parameter value being used to characterize the service quality of the Wi-Fi network, and the first parameter value being positively correlated with the service quality.
[0140] In some embodiments, the device further includes: a comparison module 44, configured to compare the first parameter value with a preset threshold; and an output module 43, specifically configured to: output the indication information if the first parameter value is less than the preset threshold; the indication information is also used to indicate improvements to the service quality of the user's Wi-Fi network.
[0141] In some embodiments, the acquisition module 41 is specifically used to: receive a set of access signal strengths sent by the Wi-Fi device.
[0142] In some embodiments, the access signal strength set includes M access signals sampled by the Wi-Fi device when the terminal device transmits data of a target type service through the Wi-Fi network provided by the Wi-Fi device; the quality of service of the Wi-Fi network is the quality of service of the Wi-Fi network for the target type service.
[0143] Based on the above method embodiments, Figure 5 This is a schematic diagram of the structure of the Wi-Fi network service quality processing device provided in an embodiment of this application. Figure 5 As shown, the device includes: a sampling module 51, an acquisition module 52, and a transmission module 53;
[0144] The sampling module 51 is used to sample the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device during the preset time period; where N is an integer greater than or equal to 2.
[0145] The acquisition module 52 is used to acquire a time set according to the preset time period, the time set including multiple sub-time periods located within the preset time period, and in each sub-time period, the terminal device continuously uses the Wi-Fi network to transmit data;
[0146] The acquisition module 52 is further configured to acquire M access signal strengths belonging to each of the sub-time periods from the N access signal strengths, thereby obtaining an access signal strength set; wherein M is a positive integer less than or equal to N;
[0147] The sending module 53 is used to send the access signal strength set to the monitoring device, and the monitoring device is used to determine the quality of service of the Wi-Fi network based on the access signal strength set.
[0148] In some embodiments, the access signal strength set includes M access signals sampled by the Wi-Fi device when the terminal device transmits data of a target type service through the Wi-Fi network provided by the Wi-Fi device; the quality of service of the Wi-Fi network is the quality of service of the Wi-Fi network for the target type service.
[0149] In some embodiments, the sampling module 51 is further configured to: when the terminal device transmits data of a target type service through the Wi-Fi network provided by the Wi-Fi device during the preset time period, sample the access signal strength of N access signals of the terminal device accessing the Wi-Fi network according to a preset sampling interval.
[0150] The Wi-Fi network service quality processing device provided in this application embodiment can be used to execute the technical solution of the Wi-Fi network service quality processing method in the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0151] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, module 42 can be a separate processing element, or it can be integrated into a chip in the above device. Alternatively, it can be stored as program code in the memory of the above device, and its function can be called and executed by a processing element of the device. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.
[0152] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device may include: a transceiver 61, a processor 62, and a memory 63.
[0153] Processor 62 executes computer execution instructions stored in memory, causing processor 62 to perform the scheme in the above embodiments. Processor 62 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0154] The memory 63 is connected to the processor 62 via the system bus and completes communication between them. The memory 63 is used to store computer program instructions.
[0155] Transceiver 61 can be used to transmit access signal strength sets.
[0156] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.
[0157] The electronic device provided in this application embodiment can be the Wi-Fi device or monitoring device described in the above embodiments.
[0158] This application also provides a chip for executing instructions, which is used to execute the technical solution of the Wi-Fi network service quality processing method in the above embodiments.
[0159] This application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on a computer, the computer performs the technical solution of the Wi-Fi network service quality processing method described in the above embodiments.
[0160] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, it can implement the technical solution of the Wi-Fi network service quality processing method in the above embodiments.
[0161] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0162] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
[0163] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0164] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for processing Wi-Fi network service quality, characterized in that, include: A set of access signal strengths for a Wi-Fi device is obtained. This set includes M access signal strengths obtained by the Wi-Fi device sampling M access signals when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, where M is an integer greater than or equal to 1. The M access signal strengths in this set are obtained by the Wi-Fi device sampling during sub-time periods when the terminal device continuously transmits data using the Wi-Fi network. These sub-time periods are selected from a preset time period and represent the time periods during which the terminal device continuously transmits data. Based on the set of access signal strengths, determine the number of access signal strengths among the M access signal strengths that fall within each preset access signal strength interval; The quality of service of the Wi-Fi network is determined based on the number of access signal strengths that fall within X preset access signal strength intervals out of the M access signal strengths, where X is an integer greater than or equal to 2. Output indication information, which is used to indicate the quality of service of the Wi-Fi network; The lower limit of the i-th access signal strength interval among the X preset access signal strength intervals is greater than the upper limit of the (i-1)-th access signal strength interval; where i is an integer greater than or equal to 2 and less than or equal to X. Determining the quality of service of the Wi-Fi network based on the number of access signal strengths among the M access signal strengths that fall within X preset access signal strength intervals includes: Multiply the first quantity by a preset coefficient and add it to the second quantity to obtain a first value; the first quantity is the number of access signal strengths among the M access signal strengths that are located in the Xth access signal strength interval; the second quantity is the number of access signal strengths among the M access signal strengths that are located in the (X-1)th access signal strength interval. Multiply the third quantity by the preset coefficient, and add it to the first quantity, the second quantity and the fourth quantity to obtain the second value. The third quantity is the number of access signal strengths in the (X-3)th access signal strength interval among the M access signal strengths, and the fourth quantity is the number of access signal strengths in the (X-2)th access signal strength interval among the M access signal strengths. Divide the first value by the second value to obtain the first parameter value. The first parameter value is used to characterize the service quality of the Wi-Fi network and is positively correlated with the service quality.
2. The method according to claim 1, characterized in that, After obtaining the first parameter value, the method further includes: Compare the first parameter value with a preset threshold; The output indication information includes: If the value of the first parameter is less than a preset threshold, the indication information is output; the indication information is also used to indicate how to improve the service quality of the Wi-Fi network.
3. The method according to any one of claims 1-2, characterized in that, The set of access signal strengths of the obtained Wi-Fi devices includes: Receive the set of access signal strengths sent by the Wi-Fi device.
4. The method according to claim 3, characterized in that, The access signal strength set includes M access signals sampled by the Wi-Fi device when the terminal device transmits data of a target type service through the Wi-Fi network provided by the Wi-Fi device; The quality of service of the Wi-Fi network refers to the quality of service of the Wi-Fi network for the target type of service.
5. A method for processing Wi-Fi network service quality, characterized in that, The method includes: When a terminal device transmits data through a Wi-Fi network provided by a Wi-Fi device within a preset time period, the access signal strength of N access signals of the terminal device accessing the Wi-Fi network is sampled according to a preset sampling interval; where N is an integer greater than or equal to 2. According to the preset time period, a time set is obtained, the time set including multiple sub-time periods located within the preset time period, and in each sub-time period, the terminal device continuously uses the Wi-Fi network to transmit data; From the N access signal strengths, obtain M access signal strengths belonging to each of the sub-time periods to obtain an access signal strength set; where M is a positive integer less than or equal to N; The system sends the set of access signal strengths to a monitoring device, which then determines the number of access signal strengths within each preset access signal strength interval from the M access signal strengths. Based on the number of access signal strengths within X preset access signal strength intervals from the M access signal strengths, the monitoring device determines the quality of service (QoS) of the Wi-Fi network, where X is an integer greater than or equal to 2. It outputs indication information, which indicates the QoS of the Wi-Fi network. The lower limit of the i-th access signal strength interval among the X preset access signal strength intervals is greater than the upper limit of the (i-1)-th access signal strength interval; i is an integer greater than or equal to 2 and less than or equal to X. The determination of the QoS of the Wi-Fi network based on the number of access signal strengths within the X preset access signal strength intervals from the M access signal strengths includes... The first quantity is multiplied by a preset coefficient and added to a second quantity to obtain a first value; the first quantity is the number of access signal strengths within the Xth access signal strength interval among the M access signal strengths; the second quantity is the number of access signal strengths within the (X-1)th access signal strength interval among the M access signal strengths; the third quantity is multiplied by a preset coefficient and added to the first, second, and fourth quantities to obtain a second value; the third quantity is the number of access signal strengths within the (X-3)th access signal strength interval among the M access signal strengths, and the fourth quantity is the number of access signal strengths within the (X-2)th access signal strength interval among the M access signal strengths; the first value is divided by the second value to obtain a first parameter value, which characterizes the service quality of the Wi-Fi network and is positively correlated with the service quality.
6. The method according to claim 5, characterized in that, The access signal strength set includes M access signals sampled by the Wi-Fi device when the terminal device transmits data of a target type service through the Wi-Fi network provided by the Wi-Fi device; The quality of service of the Wi-Fi network refers to the quality of service of the Wi-Fi network for the target type of service.
7. The method according to claim 6, characterized in that, Before obtaining the set of access signal strengths by acquiring M access signal strengths belonging to each of the N access signal strengths within each of the sub-time periods, the method further includes: When a terminal device transmits data of a target type service through a Wi-Fi network provided by a Wi-Fi device during the preset time period, the access signal strength of N access signals of the terminal device accessing the Wi-Fi network is sampled according to a preset sampling interval.
8. A Wi-Fi network service quality processing device, characterized in that, include: The acquisition module is used to acquire a set of access signal strengths of a Wi-Fi device. The set of access signal strengths includes: M access signal strengths obtained by the Wi-Fi device sampling M access signals of the terminal device when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device, where M is an integer greater than or equal to 1; the M access signal strengths in the set of access signal strengths are obtained by the Wi-Fi device sampling during each sub-time period when the terminal device continuously uses the Wi-Fi network to transmit data, and the sub-time period is a time period during which the terminal device continuously transmits data, selected from a preset time period. The determining module is used to determine, based on the set of access signal strengths, the number of access signal strengths that fall within each preset access signal strength interval among the M access signal strengths; The determining module is further configured to determine the quality of service of the Wi-Fi network based on the number of access signal strengths among the M access signal strengths that fall within X preset access signal strength intervals, where X is an integer greater than or equal to 2; An output module is used to output indication information, which is used to indicate the quality of service of the Wi-Fi network; The lower limit of the i-th access signal strength interval among the X preset access signal strength intervals is greater than the upper limit of the (i-1)-th access signal strength interval; where i is an integer greater than or equal to 2 and less than or equal to X. The determining module is specifically used to multiply a first quantity by a preset coefficient and add it to a second quantity to obtain a first value; the first quantity is the number of access signal strengths located in the Xth access signal strength interval among the M access signal strengths; the second quantity is the number of access signal strengths located in the (X-1)th access signal strength interval among the M access signal strengths; multiply a third quantity by a preset coefficient and add it to the first quantity, the second quantity, and a fourth quantity to obtain a second value; the third quantity is the number of access signal strengths located in the (X-3)th access signal strength interval among the M access signal strengths, and the fourth quantity is the number of access signal strengths located in the (X-2)th access signal strength interval among the M access signal strengths; divide the first value by the second value to obtain a first parameter value, the first parameter value being used to characterize the service quality of the Wi-Fi network, and the first parameter value being positively correlated with the service quality.
9. A Wi-Fi network service quality processing device, characterized in that, include: The sampling module is used to sample the access signal strength of N access signals of the terminal device accessing the Wi-Fi network at a preset sampling interval when the terminal device transmits data through the Wi-Fi network provided by the Wi-Fi device within a preset time period; where N is an integer greater than or equal to 2. The acquisition module is used to acquire a time set according to the preset time period. The time set includes multiple sub-time periods located within the preset time period. In each sub-time period, the terminal device continuously uses the Wi-Fi network to transmit data. The acquisition module is used to acquire M access signal strengths belonging to each of the N access signal strengths within each of the sub-time periods, to obtain a set of access signal strengths; where M is a positive integer less than or equal to N; A sending module is configured to send the access signal strength set to a monitoring device. The monitoring device is configured to determine, based on the access signal strength set, the number of access signal strengths among the M access signal strengths that fall within each preset access signal strength interval; determine the quality of service (QoS) of the Wi-Fi network based on the number of access signal strengths among the M access signal strengths that fall within X preset access signal strength intervals, where X is an integer greater than or equal to 2; output indication information, which indicates the QoS of the Wi-Fi network; wherein the lower limit of the i-th access signal strength interval among the X preset access signal strength intervals is greater than the upper limit of the (i-1)-th access signal strength interval; where i is an integer greater than or equal to 2 and less than or equal to X; and determine the QoS of the Wi-Fi network based on the number of access signal strengths among the M access signal strengths that fall within the X preset access signal strength intervals. The calculation includes: multiplying a first quantity by a preset coefficient and adding it to a second quantity to obtain a first value; the first quantity is the number of access signal strengths located in the Xth access signal strength interval among the M access signal strengths; the second quantity is the number of access signal strengths located in the (X-1)th access signal strength interval among the M access signal strengths; multiplying a third quantity by a preset coefficient and adding it to the first quantity, the second quantity, and a fourth quantity to obtain a second value; the third quantity is the number of access signal strengths located in the (X-3)th access signal strength interval among the M access signal strengths, and the fourth quantity is the number of access signal strengths located in the (X-2)th access signal strength interval among the M access signal strengths; and dividing the first value by the second value to obtain a first parameter value, wherein the first parameter value is used to characterize the service quality of the Wi-Fi network and is positively correlated with the service quality.
10. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-7.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.