Dynamic speed limiting method, device and equipment for terminal application
By judging signal quality in a wireless communication environment and dynamic speed limiting is solved according to the application level and traffic proportion, the problem that the speed limiting solution in the existing technology cannot guarantee the operation of key services and improve operation and maintenance efficiency at the same time, and efficient terminal application speed limiting processing is achieved.
Patent Information
- Application Number
- CN202311279571.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
AI Technical Summary
The speed limiting scheme in the prior art cannot effectively identify and process key application services within the terminal while ensuring the normal operation of key services. Especially under the bandwidth limitation of wireless networks, it cannot effectively identify and process key application services within the terminal.
By determining whether the signal quality of the wireless communication environment is less than the preset threshold, dynamic speed limit processing is performed on different applications of the terminal equipment based on the application level and traffic proportion. The specific steps include: determining the signal quality, comparing the signal quality with the threshold, and if it is lower than the threshold, speed limiting is performed according to the application level and traffic proportion.
It realizes dynamic speed limit for terminal applications, ensures the normal use of key services, does not require manual intervention, and improves operation and maintenance efficiency.
Smart Images

Figure CN119729582A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a dynamic speed limiting method, device and equipment for terminal applications. Background Art
[0002] Currently, a wireless service set is usually composed of one or more ACs (Access Controllers), multiple APs (Access Points), and multiple STAs (Stations, user workstations, generally referred to as terminals).
[0003] Wireless service set, that is, the WIFI (Wireless Fidelity) signal that people connect to. When STA (which can be a mobile phone, computer or other device that can connect to WIFI) associates with AP, STA can perform network transmission through AP. During the network transmission process, STA will use multiple applications. When different applications are using wireless network to transmit data, and the transmission data of some applications is relatively large, other applications will also be affected due to the limitation of the bandwidth of the wireless network itself.
[0004] In the related technical solutions, priority is set based on message flow. If the wireless network channel utilization rate is too high, it is difficult to achieve the ideal effect; speed limiting the terminal cannot identify the key application services inside the terminal; speed limiting the application based on a pre-set speed limit strategy is cumbersome to adjust and inefficient.
[0005] Therefore, the speed limiting solutions in related technologies cannot improve operation and maintenance efficiency while ensuring the normal operation of key businesses. Summary of the invention
[0006] The purpose of this application is to provide a dynamic speed limiting method, device and equipment for terminal applications, so as to solve the problem that the speed limiting scheme in the related art cannot improve the operation and maintenance efficiency while ensuring the normal operation of key businesses.
[0007] In a first aspect, the present application provides a dynamic rate limiting method for a terminal application, which is applied to an access control point AP, and the method includes:
[0008] comparing the signal quality of the wireless communication environment with a preset signal quality threshold;
[0009] If the signal quality of the wireless communication environment is less than the signal quality threshold, speed limiting is performed on different applications of the terminal device based on the application levels and traffic proportions of different applications.
[0010] In a possible implementation, the method further includes:
[0011] Determine the signal quality of the wireless communication environment based on the quality factor information and the weight corresponding to the quality factor information;
[0012] The quality factor information includes part or all of the following:
[0013] Channel utilization;
[0014] Wireless packet loss rate;
[0015] Wireless retransmission rate;
[0016] The signal strength of each terminal device under the AP.
[0017] In a possible implementation manner, the application level of each application in the terminal device is determined in the following manner:
[0018] In response to the application level configuration instruction, determining the application level of each application in the terminal device; or,
[0019] An application level of each application in the terminal device is determined according to a usage frequency of each application in the terminal device.
[0020] In a possible implementation, application levels of the applications in the terminal device are divided into a first level, a second level, and a third level.
[0021] In a possible implementation, the speed limiting processing of different applications of the terminal device based on traffic proportions of different applications includes:
[0022] When the traffic proportion of the first-level applications is less than the traffic proportion threshold, the second-level applications and the third-level applications are speed-limited according to the preset speed limit ratio;
[0023] When the traffic proportion of the first-level applications is greater than or equal to the traffic proportion threshold, the first-level applications, the second-level applications and the third-level applications are speed limited respectively according to their corresponding speed limit ratios.
[0024] In a possible implementation, the flow rate ratio threshold is determined in the following manner:
[0025] Determining a flow ratio threshold value according to the flow ratio of the second-level applications and the flow ratio of the third-level applications;
[0026] Alternatively, in response to a traffic proportion threshold configuration instruction, a traffic proportion threshold is determined.
[0027] In a possible implementation, the performing speed limit processing on the first-level application, the second-level application, and the third-level application respectively according to the speed limit ratios corresponding to the first-level application, the second-level application, and the third-level application respectively includes:
[0028] For any application, do the following:
[0029] The speed limit factor ratio corresponding to the application is multiplied by the preset speed limit ratio to obtain the speed limit ratio difference corresponding to the application; the speed limit factor ratio is used to adjust the speed limit degree of the application;
[0030] Subtracting the preset speed limit ratio from the speed limit ratio difference corresponding to the application to obtain the speed limit ratio corresponding to the application;
[0031] Based on the speed limit ratio corresponding to the application, speed limit processing is performed on the application.
[0032] In a second aspect, the present application provides a dynamic speed limiting device for terminal applications, which is applied to an access control point AP, and the device includes:
[0033] A signal quality determination module, configured to compare the signal quality of the wireless communication environment with a preset signal quality threshold;
[0034] The speed limit processing module is configured to perform speed limit processing on different applications of the terminal device based on the application level and traffic proportion of different applications if the signal quality of the wireless communication environment is less than the signal quality threshold.
[0035] In a possible implementation, the device further includes:
[0036] A signal quality determination module, configured to determine the signal quality of the wireless communication environment based on the quality factor information and the weight corresponding to the quality factor information;
[0037] The quality factor information includes part or all of the following:
[0038] Channel utilization;
[0039] Wireless packet loss rate;
[0040] Wireless retransmission rate;
[0041] The signal strength of each terminal device under the AP.
[0042] In a possible implementation manner, the rate limit processing module is configured to determine the application level of each application in the terminal device in the following manner:
[0043] In response to a user application level configuration instruction, determining the application level of each application configuration in the terminal device; or,
[0044] An application level of each application in the terminal device is determined according to a usage frequency of each application in the terminal device.
[0045] In a possible implementation, application levels of the applications in the terminal device are divided into a first level, a second level, and a third level.
[0046] In a possible implementation, the speed limiting processing of different applications of the terminal device based on the traffic proportion of different applications is performed, and the speed limiting processing module is configured as follows:
[0047] When the traffic proportion of the first-level applications is less than the traffic proportion threshold, the second-level applications and the third-level applications are speed-limited according to the preset speed limit ratio;
[0048] When the traffic proportion of the first-level applications is greater than or equal to the traffic proportion threshold, the first-level applications, the second-level applications and the third-level applications are speed limited respectively according to their corresponding speed limit ratios.
[0049] In a possible implementation manner, the rate limit processing module is configured to determine the flow rate proportion threshold in the following manner:
[0050] Determining a flow ratio threshold value according to the flow ratio of the second-level applications and the flow ratio of the third-level applications;
[0051] Alternatively, in response to a traffic proportion threshold configuration instruction, a traffic proportion threshold is determined.
[0052] In a possible implementation, the speed limit ratios corresponding to the first-level application, the second-level application, and the third-level application are executed, and the speed limit processing is performed on the first-level application, the second-level application, and the third-level application respectively, and the speed limit processing module is configured as follows:
[0053] For any application, do the following:
[0054] The speed limit factor ratio corresponding to the application is multiplied by the preset speed limit ratio to obtain the speed limit ratio difference corresponding to the application; the speed limit factor ratio is used to adjust the speed limit degree of the application;
[0055] Subtracting the preset speed limit ratio from the speed limit ratio difference corresponding to the application to obtain the speed limit ratio corresponding to the application;
[0056] Based on the speed limit ratio corresponding to the application, speed limit processing is performed on the application.
[0057] In a third aspect, the present application provides an electronic device, including:
[0058] Processor and memory;
[0059] The memory is used to store executable instructions of the processor;
[0060] The processor is used to execute the executable instructions to implement the dynamic speed limiting method for terminal applications as described in the first aspect above.
[0061] In a fourth aspect, the present application provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the dynamic speed limiting method for terminal applications as described in the first aspect above.
[0062] In a fifth aspect, the present application provides a computer program product, including a computer program:
[0063] When the computer program is executed by the processor, the method for dynamic speed limiting of terminal applications as described in the first aspect above is implemented.
[0064] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0065] In the embodiment of the present application, by judging whether the signal quality of the wireless communication environment is less than the preset signal quality threshold, if the signal quality is less than the preset signal quality threshold, it is determined that the signal quality is poor, and based on the application level and traffic proportion of different applications, speed limit processing is performed on different applications of the terminal device. Dynamic speed limit of terminal applications is achieved, ensuring the normal use of key services, without manual intervention, and with high efficiency.
[0066] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings introduced below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0068] Figure 1 A schematic diagram of the overall process of the dynamic speed limiting method for terminal applications provided in an embodiment of the present application;
[0069] Figure 2 Another schematic diagram of a process of a dynamic speed limiting method for a terminal application provided in an embodiment of the present application;
[0070] Figure 3 Another schematic diagram of a process of a dynamic speed limiting method for a terminal application provided in an embodiment of the present application;
[0071] Figure 4 A schematic diagram of the structure of a dynamic speed limiting device 400 for a terminal application provided in an embodiment of the present application;
[0072] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Among them, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0074] Furthermore, in the description of the embodiments of the present application, unless otherwise specified, “ / ” means or. For example, A / B can mean A or B. The “and / or” in the text is merely a description of 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. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0075] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more.
[0076] Currently, a wireless service set is usually composed of one or more ACs (access controllers), multiple APs (access control points), and multiple STAs (user workstations, generally referred to as terminals).
[0077] Wireless service set, that is, the WIFI signal that people connect to. When STA (which can be a mobile phone, computer or other device that can connect to WIFI) associates with AP, STA can perform network transmission through AP. During the network transmission process, STA will use multiple applications. When different applications are using wireless network to transmit data, and the transmission data of some applications is relatively large, other applications will also be affected due to the limitation of the bandwidth of the wireless network itself.
[0078] In order to ensure that the data transmission of key applications is not affected, the existing technical solutions are as follows:
[0079] 1. Priority setting based on message flow
[0080] The 802.11 protocol is used to modify the WMMAC of packets, increase the competitiveness of flows, and protect key services.
[0081] 2. Terminal speed limit
[0082] By limiting the speed of the terminal, the purpose of optimizing the wireless network can be achieved, which can improve the key business experience to a certain extent.
[0083] 3. Apply speed limit
[0084] By pre-setting the application speed limit threshold, the speed of the application is limited when it reaches the speed limit threshold. In this way, the threshold of key business can be set very high, leaving sufficient bandwidth for key business.
[0085] In the above technical solution, priority is set based on message flow. If the wireless network channel utilization rate is too high, it is difficult to achieve the ideal effect; speed limiting the terminal cannot identify the key application services inside the terminal; speed limiting the application based on a pre-set speed limit strategy is cumbersome to adjust and inefficient.
[0086] Therefore, the speed limiting solutions in related technologies cannot improve operation and maintenance efficiency while ensuring the normal operation of key businesses.
[0087] In view of this, the present application provides a method, device and equipment for dynamic speed limiting of terminal applications, so as to solve the problem that the speed limiting scheme in the related art cannot improve the operation and maintenance efficiency while ensuring the normal operation of key services. The inventive concept of the present application can be summarized as follows: first, determine whether the signal quality of the wireless communication environment is less than the preset signal quality threshold, and finally, when the signal quality is less than the preset signal quality threshold, determine that the signal quality is poor, and perform speed limiting processing on different applications of the terminal device based on the application level and traffic proportion of different applications. The embodiment of the present application determines whether the signal quality of the wireless communication environment is less than the preset signal quality threshold, and when the signal quality is less than the preset signal quality threshold, determines that the signal quality is poor, and performs speed limiting processing on different applications of the terminal device based on the application level and traffic proportion of different applications. Dynamic speed limiting of terminal applications is achieved, which ensures the normal use of key services without manual intervention and with high efficiency.
[0088] After introducing the main inventive ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0089] In order to facilitate understanding of the dynamic speed limiting method for terminal applications provided in the embodiment of the present application, it is further explained below with reference to the accompanying drawings.
[0090] In a possible implementation, the present application provides a method for dynamic speed limiting of terminal applications, which is applied to an access control point AP, and the process is as follows: Figure 1 As shown, including the following:
[0091] In step 101, the signal quality of the wireless communication environment is compared with a preset signal quality threshold.
[0092] In a possible implementation, before comparing the signal quality of the wireless communication environment with a preset signal quality threshold, the access controller AC sends a function configuration instruction to the access control point AP, triggering the access control point to configure a dynamic speed limit function for the terminal device connected to the AP at the access control point, which is equivalent to turning on the dynamic speed limit function configuration switch. The AP will automatically collect information such as channel utilization, wireless retransmission rate, wireless packet loss rate, and signal strength of the terminal device.
[0093] In a possible implementation, before comparing the signal quality of the wireless communication environment with a preset signal quality threshold, the embodiment of the present application determines the signal quality of the wireless communication environment based on the quality factor information and the weight corresponding to the quality factor information.
[0094] The quality factor information includes some or all of the following:
[0095] Channel utilization;
[0096] Wireless packet loss rate;
[0097] Wireless retransmission rate;
[0098] The signal strength of each terminal device under the AP.
[0099] For example, when the quality factor information includes all four quality factors mentioned above, the embodiment of the present application will assign different weights to the four quality factors, and the weight ratio is 4:2:2:2, that is, the weights are 40%, 20%, 20%, and 20%, respectively. According to the 100-point mechanism, the sum of the channel utilization score, the wireless packet loss rate score, the wireless retransmission rate score, and the terminal signal strength score under the AP is used as the signal quality of the wireless communication environment. The full score is equal to 100 points. A score below 60 is considered to have poor communication quality, 60-80 points, average communication quality, and above 80 points, excellent communication quality. No dynamic speed limit processing is performed for average and excellent communication quality, and dynamic speed limit processing is performed when the communication quality is poor. The score calculation formula for each quality factor is as follows:
[0100] Channel utilization score = 100*4 / (4+2+2+2)*(1-current channel utilization);
[0101] Wireless packet loss rate score = 100*2 / (4+2+2+2)*((1-current wireless packet loss rate)*scaling factor);
[0102] Wireless retransmission rate score = 100*2 / (4+2+2+2)*((1-current wireless retransmission rate)*scaling factor);
[0103] Terminal signal strength score under AP:
[0104] When (1-(the absolute value of the sum of the signal strengths of each terminal device / (65*the total number of terminal devices))) is less than or equal to 0, 0 points are awarded;
[0105] When (1-(the absolute value of the sum of the signal strengths of each terminal device / (65*the total number of terminal devices))) is greater than 0, the scores are as follows:
[0106] 100*2 / (4+2+2+2)*(1-(the absolute value of the sum of the signal strengths of each terminal device / (65*the total number of terminal devices)));
[0107] Based on the score calculation formulas of the above four quality factors, the embodiment of the present application can determine the signal quality of the wireless communication environment.
[0108] It should be added that the quality factors in the embodiments of the present application are not limited to the above four quality factors and can be set independently according to user needs; the scaling factors corresponding to the wireless packet loss rate and the wireless retransmission rate are used to compensate for the wireless packet loss rate score and the wireless retransmission rate score, and the scaling factors can also be set independently according to user needs.
[0109] In step 102, if the signal quality of the wireless communication environment is less than the signal quality threshold, different applications of the terminal device are speed-limited based on the application level and traffic proportion of different applications; the application level of each application in the terminal device is specified by the user.
[0110] In a possible implementation, in order to ensure the user experience of key services and achieve good network usage effects, the embodiment of the present application divides the application levels of applications in the terminal device into the first level, the second level and the third level. The first level application is the key application, the second level application is the suppressed application, and the third level application is the ordinary application. Through the above steps of dividing the application into different levels, the distinction of key applications is achieved. The applications of different levels and their meanings are shown in Table 1 below:
[0111] Table 1
[0112] Application rating meaning Key applications Applications that need to be protected, such as frequently used applications, special office software, etc. Suppression Application Applications that need to be suppressed, such as applications that cannot be used during working hours Common applications Applications not marked as critical or suppressed are normal applications.
[0113] It should be added that in addition to being divided into three levels, application levels can also be divided into multiple levels and can be set independently according to user needs.
[0114] In a possible implementation, the embodiment of the present application can determine the application level of each application in the terminal device in response to the application level configuration instruction. For example, the application level configuration instruction indicates that the application level of application A is the first level and the application level of application B is the second level, thereby determining the application level of each application in the terminal device.
[0115] Alternatively, the application level of each application in the terminal device is determined according to the usage frequency of each application in the terminal device. For example, the usage frequencies of each application in the terminal device are ranked from high to low as application A, application B, and application C, and the application levels of application A, application B, and application C are determined to be the first level, the second level, and the third level, respectively.
[0116] In a possible implementation, different applications of the terminal device are speed-limited based on the traffic proportion of different applications. The process is as follows: Figure 2 As shown, including the following:
[0117] In step 201, when the traffic proportion of the first-level applications is less than the traffic proportion threshold, the second-level applications and the third-level applications are speed-limited according to a preset speed-limit ratio.
[0118] In step 202, when the traffic proportion of the first-level application is greater than or equal to the traffic proportion threshold, the first-level application, the second-level application and the third-level application are speed-limited according to the speed limit ratios corresponding to the first-level application, the second-level application and the third-level application respectively.
[0119] In a possible implementation, the embodiment of the present application can determine the flow ratio threshold value according to the flow ratio of the second-level application and the flow ratio of the third-level application. For example, the flow ratio threshold value can be set to twice the sum of the flow ratio of the second-level application and the flow ratio of the third-level application, that is, when the flow ratio of the first-level application is less than twice the sum of the flow ratio of the second-level application and the flow ratio of the third-level application, the second-level application and the third-level application are speed-limited according to the preset speed limit ratio; when the flow ratio of the first-level application is greater than or equal to twice the sum of the flow ratio of the second-level application and the flow ratio of the third-level application, the first-level application, the second-level application and the third-level application are speed-limited according to the speed limit factor ratios corresponding to the first-level application, the second-level application and the third-level application.
[0120] For example, the traffic proportion of second-level applications is 15%, and the traffic proportion of third-level applications is 15%. The traffic proportion threshold is determined to be 60%, and the preset speed limit ratio is 20%, that is, the application is speed-limited by reducing the current actual rate by 20%; if the traffic proportion of first-level applications is 50%, and 50% is less than 60%, then the embodiment of the present application will limit the speed of second-level applications and third-level applications by 20%; if the traffic proportion of first-level applications is 70%, and 70% is greater than 60%, then the embodiment of the present application will limit the speed of first-level applications, second-level applications, and third-level applications respectively according to the speed limit factor proportions corresponding to the first-level applications, the second-level applications, and the third-level applications, respectively.
[0121] In another possible implementation, the embodiment of the present application can also determine the flow rate threshold in response to a flow rate threshold configuration instruction. For example, the flow rate threshold configuration instruction indicates that the flow rate threshold is 80%.
[0122] In a possible implementation, in step 202, according to the speed limit ratios corresponding to the first-level applications, the second-level applications, and the third-level applications, speed limit processing is performed on the first-level applications, the second-level applications, and the third-level applications, respectively. The process is as follows: Figure 3 As shown, it can be implemented as:
[0123] For any application, do the following:
[0124] In step 301, the speed limit factor ratio corresponding to the application is multiplied by the preset speed limit ratio to obtain the speed limit ratio difference corresponding to the application. The speed limit factor ratio is used to adjust the speed limit degree of the application.
[0125] In step 302, the preset speed limit ratio is subtracted from the speed limit ratio difference corresponding to the application to obtain the speed limit ratio corresponding to the application.
[0126] In step 303, the application is speed-limited based on the speed-limit ratio corresponding to the application.
[0127] For example, the preset speed limit ratio is 20%, that is, the application is speed-limited by reducing the current actual rate by 20%. When the ratio of the speed limit factors of the first-level applications, the second-level applications, and the third-level applications is 2:1:1, that is, the ratio of the speed limit factors of key applications, common applications, and suppressed applications is 2:1:1, then the speed limit factors of the first-level applications, the second-level applications, and the third-level applications account for 50%, 25%, and 25% respectively. The speed limit ratio calculation formula for applications of each level is as follows:
[0128] The speed limit ratio corresponding to key applications is: (20%-20%*(2 / 2+1+1))=10%;
[0129] The speed limit ratio corresponding to the suppression application is: (20%-20%*(1 / 2+1+1))=15%;
[0130] The speed limit ratio for common applications is: (20%-20%*(1 / 2+1+1))=15%;
[0131] Based on the speed limit ratio calculation of the above-mentioned applications of each level, the speed limit ratios of critical applications, suppressed applications, and ordinary applications are 10%, 15%, and 15%, respectively. In the embodiment of the present application, the speed limit of critical applications will be limited by 10%, the speed limit of suppressed applications will be limited by 15%, and the speed limit of ordinary applications will be limited by 15%.
[0132] It should be added that the ratio of the above-mentioned speed limiting factors is not limited to the above-mentioned 2:1:1, and the ratio of the speed limiting factors of the first-level applications, the second-level applications and the third-level applications is not limited to 50%, 25%, and 25%. Different speed limiting factor ratios can be configured for different APs in different scenarios according to the user's scenario needs.
[0133] In summary, the embodiment of the present application determines whether the signal quality of the wireless communication environment is less than the preset signal quality threshold. If the signal quality is less than the preset signal quality threshold, it determines that the signal quality is poor, and performs speed limit processing on different applications of the terminal device based on the application level and traffic proportion of different applications. Dynamic speed limit for terminal applications is achieved, ensuring the normal use of key services without manual intervention and with high efficiency.
[0134] Based on the same inventive concept, the present application also provides a dynamic speed limiting device for terminal applications, which is applied to an access control point AP, such as Figure 4 As shown, the device 400 includes:
[0135] The signal quality determination module 401 is configured to compare the signal quality of the wireless communication environment with a preset signal quality threshold;
[0136] The rate limit processing module 402 is configured to perform rate limit processing on different applications of the terminal device based on the application level and traffic proportion of different applications if the signal quality of the wireless communication environment is less than the signal quality threshold.
[0137] In a possible implementation, the device further includes:
[0138] A signal quality determination module, configured to determine the signal quality of the wireless communication environment based on the quality factor information and the weight corresponding to the quality factor information;
[0139] The quality factor information includes part or all of the following:
[0140] Channel utilization;
[0141] Wireless packet loss rate;
[0142] Wireless retransmission rate;
[0143] The signal strength of each terminal device under the AP.
[0144] In a possible implementation manner, the rate limit processing module is configured to determine the application level of each application in the terminal device in the following manner:
[0145] In response to a user application level configuration instruction, determining the application level of each application configuration in the terminal device; or,
[0146] An application level of each application in the terminal device is determined according to a usage frequency of each application in the terminal device.
[0147] In a possible implementation, application levels of the applications in the terminal device are divided into a first level, a second level, and a third level.
[0148] In a possible implementation, the speed limiting processing of different applications of the terminal device based on the traffic proportion of different applications is performed, and the speed limiting processing module is configured as follows:
[0149] When the traffic proportion of the first-level applications is less than the traffic proportion threshold, the second-level applications and the third-level applications are speed-limited according to the preset speed limit ratio;
[0150] When the traffic proportion of the first-level applications is greater than or equal to the traffic proportion threshold, the first-level applications, the second-level applications and the third-level applications are speed limited respectively according to their corresponding speed limit ratios.
[0151] In a possible implementation manner, the rate limit processing module is configured to determine the flow rate proportion threshold in the following manner:
[0152] Determining a flow ratio threshold value according to the flow ratio of the second-level applications and the flow ratio of the third-level applications;
[0153] Alternatively, in response to a traffic proportion threshold configuration instruction, a traffic proportion threshold is determined.
[0154] In a possible implementation, the speed limit processing is performed on the first-level application, the second-level application, and the third-level application respectively according to the speed limit factor proportions corresponding to the first-level application, the second-level application, and the third-level application, and the speed limit processing module is configured as follows:
[0155] For any application, do the following:
[0156] The speed limit factor ratio corresponding to the application is multiplied by the preset speed limit ratio to obtain the speed limit ratio difference corresponding to the application; the speed limit factor ratio is used to adjust the speed limit degree of the application;
[0157] Subtracting the preset speed limit ratio from the speed limit ratio difference corresponding to the application to obtain the speed limit ratio corresponding to the application;
[0158] Based on the speed limit ratio corresponding to the application, speed limit processing is performed on the application.
[0159] like Figure 5As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).
[0160] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
[0161] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .
[0162] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0163] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0164] In an exemplary embodiment, the present application further provides a computer-readable storage medium including instructions, such as a memory 132 including instructions, and the above instructions can be executed by a processor 131 of an electronic device 130 to complete the above-mentioned dynamic speed limiting method for terminal applications. Optionally, the computer-readable storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0165] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by the processor 131, the dynamic speed limiting method for terminal applications provided in the present application is implemented.
[0166] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0167] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0168] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0170] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A dynamic speed limiting method for terminal applications, characterized in that: Applied to an access control point AP, the method comprises: comparing the signal quality of the wireless communication environment with a preset signal quality threshold; If the signal quality of the wireless communication environment is less than the signal quality threshold, speed limiting is performed on different applications of the terminal device based on the application levels and traffic proportions of different applications.
2. The method according to claim 1, characterized in that The method further comprises: Determine the signal quality of the wireless communication environment based on the quality factor information and the weight corresponding to the quality factor information; The quality factor information includes part or all of the following: Channel utilization; Wireless packet loss rate; Wireless retransmission rate; The signal strength of each terminal device under the AP.
3. The method according to claim 1, characterized in that The application level of each application in the terminal device is determined in the following manner: In response to the application level configuration instruction, determining the application level of each application in the terminal device; or, An application level of each application in the terminal device is determined according to a usage frequency of each application in the terminal device.
4. The method according to claim 1, characterized in that The application levels of the applications in the terminal device are divided into a first level, a second level and a third level.
5. The method according to claim 4, characterized in that The speed limiting processing of different applications of the terminal device based on the traffic proportion of different applications includes: When the traffic proportion of the first-level applications is less than the traffic proportion threshold, the second-level applications and the third-level applications are speed-limited according to the preset speed limit ratio; When the traffic proportion of the first-level applications is greater than or equal to the traffic proportion threshold, the first-level applications, the second-level applications and the third-level applications are speed limited respectively according to their corresponding speed limit ratios.
6. The method according to claim 5, characterized in that The traffic percentage threshold is determined as follows: Determining a flow ratio threshold value according to the flow ratio of the second-level applications and the flow ratio of the third-level applications; Alternatively, in response to a traffic proportion threshold configuration instruction, a traffic proportion threshold is determined.
7. The method according to claim 5, characterized in that The performing speed limit processing on the first-level application, the second-level application, and the third-level application respectively according to the speed limit ratios respectively corresponding to the first-level application, the second-level application, and the third-level application, comprises: For any application, do the following: The speed limit factor ratio corresponding to the application is multiplied by the preset speed limit ratio to obtain the speed limit ratio difference corresponding to the application; the speed limit factor ratio is used to adjust the speed limit degree of the application; Subtracting the preset speed limit ratio from the speed limit ratio difference corresponding to the application to obtain the speed limit ratio corresponding to the application; Based on the speed limit ratio corresponding to the application, speed limit processing is performed on the application.
8. A dynamic speed limiting device for terminal applications, characterized in that: Applied to an access control point AP, the device comprises: A signal quality determination module, configured to compare the signal quality of the wireless communication environment with a preset signal quality threshold; The speed limit processing module is configured to perform speed limit processing on different applications of the terminal device based on the application level and traffic proportion of different applications if the signal quality of the wireless communication environment is less than the signal quality threshold.
9. A device, characterized in that: include: Processor and memory; The memory is used to store the processor executable instructions; The processor is configured to execute the instructions to implement the dynamic speed limiting method for a terminal application according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a device, the device is enabled to execute the dynamic speed limiting method for terminal applications according to any one of claims 1 to 7.
Citation Information
Cited By
Application rate-limiting method and apparatus for terminal device, and device
EP4561160A1