CN107276786B - Wireless speed limiting method and system based on wlan - Google Patents
Wireless speed limiting method and system based on wlan Download PDFInfo
- Publication number
- CN107276786B CN107276786B CN201710311640.8A CN201710311640A CN107276786B CN 107276786 B CN107276786 B CN 107276786B CN 201710311640 A CN201710311640 A CN 201710311640A CN 107276786 B CN107276786 B CN 107276786B
- Authority
- CN
- China
- Prior art keywords
- speed
- load
- air interface
- determining
- flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000006243 chemical reaction Methods 0.000 abstract description 3
- 230000000694 effects Effects 0.000 abstract description 3
- 238000012545 processing Methods 0.000 description 6
- 101100369915 Drosophila melanogaster stas gene Proteins 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/54—Store-and-forward switching systems
- H04L12/56—Packet switching systems
- H04L12/5601—Transfer mode dependent, e.g. ATM
- H04L2012/5629—Admission control
- H04L2012/5631—Resource management and allocation
- H04L2012/5632—Bandwidth allocation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a wireless speed limiting method and a wireless speed limiting system based on wlan, which are applied to the air interface load identification speed limitation of wireless access point AP equipment and comprise the following steps: determining the flow percentage corresponding to the vacant load quota of the air interface, and determining the flow threshold corresponding to the vacant load quota according to the flow percentage; acquiring the number of accessed terminals and a basic speed requirement value of each terminal; calculating a total rate requirement value according to the number of the accessed terminals and the basic rate requirement value of each terminal; and when the total speed required value is greater than the flow threshold corresponding to the vacant load amount, calculating an average dynamic speed limit value according to the flow threshold corresponding to the vacant load amount and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value. And dynamically adjusting the speed limit according to the load condition of the actual air interface and the packet forwarding rate pps conversion corresponding to the packet size condition of the message service, so as to ensure that the user obtains different effects at different moments.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a wireless speed limiting method and system based on wlan.
Background
With the rapid development of wireless communication network technology and the rapid growth of service expansion, the available spectrum resources are increasingly scarce. With the evolution of the 802.11 protocol, the channel has been extended from the original 20Mb to 40Mb, 80Mb, 120Mb, and these large bandwidths are formed by several 20Mb bonding, for example, 40Mb is formed by two 20Mb bonding, one 20Mb is the main channel, and the other is the auxiliary channel. If one AP works on the first channel and works with the bandwidth of 20Mb/40Mb, and the other AP works on the first channel and works with the bandwidth of 20Mb/40Mb/80Mb, the probability of collision between the AP and the STA in large-bandwidth transmission is increased, and the efficiency of large-bandwidth transmission is reduced.
The prior art scheme has a problem that most of the methods adopted by the AP for improving the actual experience of multiple users are mainly to perform air interface competition among speed-limiting balance users based on flow values so as to improve the actual experience of different compatible terminals among different users.
The statistics of the flow value is mainly based on the whole AP or the whole wlan, and from the practical use condition, the speed limit based on the whole AP and the whole wlan is designed to ensure the stability of the equipment and avoid the overhigh load, the key speed limit for improving the practical experience of the user is based on the speed limit of the user terminal, and the corresponding purpose is achieved by calculating the average flow speed and the burst flow speed of the corresponding terminal on the radio frequency card within a certain time to adjust and control.
The current general technical scheme in the market has a large loophole in that the corresponding adjustment of the air interface environment and the actual message service is lacked, and the effectiveness and the reasonability of the speed limit are lacked with better evaluation.
Disclosure of Invention
The embodiment of the invention provides a wireless speed limiting method and a wireless speed limiting system based on wlan, and the invention provides the following scheme: determining the flow percentage corresponding to the vacant load quota of the air interface, and determining the flow threshold corresponding to the vacant load quota according to the flow percentage;
acquiring the number of accessed terminals and a basic speed requirement value of each terminal;
calculating a total rate requirement value according to the number of the accessed terminals and the basic rate requirement value of each terminal;
and when the total speed required value is greater than the flow threshold corresponding to the vacant load amount, calculating an average air interface dynamic speed limit value according to the flow threshold corresponding to the vacant load amount and the number of terminals, and determining to limit the speed of the access terminal according to the average air interface dynamic speed limit value.
According to the method of the present invention, the calculating the average air interface dynamic speed limit value according to the traffic threshold and the number of terminals specifically includes:
determining the allocable total flow of the speed limit according to the flow threshold corresponding to the spare load limit;
and calculating an average air interface dynamic speed limit value according to the total allocable flow of the speed limit and the number of the terminals.
According to the method of the present invention, the determining of the traffic percentage corresponding to the empty load quota of the air interface includes: and before the flow percentage corresponding to the empty load quota of the air interface is obtained, the duty ratio of the air interface load is obtained, and the flow percentage corresponding to the empty load quota of the air interface is determined according to the duty ratio of the air interface load.
According to the above method of the present invention, the determining the traffic threshold corresponding to the free load quota according to the traffic percentage includes:
and determining a flow threshold corresponding to the vacant load quota according to the corresponding flow percentage when the current vacant load is close to the full load.
The method according to the present invention further includes: the speed limit of equipment load identification is carried out, and the speed limit method comprises the following steps:
for each sub-network environment in the whole network environment, identifying the sub-network environment according with the speed-limiting condition of the air interface load of the AP equipment of the wireless access point, and acquiring the total speed required value after the air interface speed limitation in the sub-network environment;
identifying the sub-network environment with speed-limiting conditions for the air interface load which does not conform to the AP equipment of the wireless access point, and directly acquiring the total speed required value without air interface speed limitation under the sub-network environment according to the number of the accessed terminals and the basic speed required value of each terminal;
acquiring a total speed required value under the whole network environment according to the total speed required value after air interface speed limiting under the sub-network environment and/or the total speed required value without air interface speed limiting under the sub-network environment;
determining a flow threshold corresponding to the equipment load in the whole network environment;
and when the total speed required value under the whole network environment is greater than the flow threshold corresponding to the equipment load, calculating an average dynamic speed limit value according to the flow threshold corresponding to the equipment load and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value.
According to the method of the present invention, the determining a traffic threshold corresponding to the device load in the entire network environment includes:
determining the maximum flow rate limit of the equipment by the product of the rate value bit/second bps of the average service capability of the equipment and the packet forwarding rate message number/second pps of the equipment;
determining a flow rate limit corresponding to a CPU occupied by a non-forwarding service on the equipment and a flow rate limit corresponding to a reserved vacant load;
and removing the flow rate limit corresponding to the CPU occupied by the non-forwarding service in the equipment and the flow rate limit corresponding to the reserved vacant load from the maximum flow rate limit to be used as a flow threshold corresponding to the equipment load.
According to another aspect of the present invention, there is also provided a wlan-based wireless speed limiting system, which is applied to air interface load identification speed limitation of AP devices in a wireless access point, and includes:
a determination module: the method comprises the steps of determining the flow percentage corresponding to the vacant load capacity of an air interface, and determining the flow threshold corresponding to the vacant load capacity according to the flow percentage;
an acquisition module: the method comprises the steps of obtaining the number of accessed terminals and a basic speed requirement value of each terminal;
a calculation module: for calculating a total rate requirement value according to the number of the accessed terminals and a basic rate requirement value of each terminal;
the speed limiting module: and when the total speed required value is greater than the flow threshold corresponding to the vacant load amount, calculating an average air interface dynamic speed limit value according to the flow threshold corresponding to the vacant load amount and the number of terminals, and determining to limit the speed of the access terminal according to the average air interface dynamic speed limit value.
According to another aspect of the present invention, the speed limit module is specifically configured to:
determining the allocable total flow of the speed limit according to the flow threshold corresponding to the spare load limit;
calculating an average air interface dynamic speed limit value according to the allocable total flow of the speed limit and the number of terminals;
and determining to limit the speed of the terminal according to the average dynamic speed limit value.
According to another aspect of the invention, the determining module is specifically configured to: and before the flow percentage corresponding to the empty load quota of the air interface is obtained, the duty ratio of the air interface load is obtained, and the flow percentage corresponding to the empty load quota of the air interface is determined according to the duty ratio of the air interface load.
According to another aspect of the invention, the determining module is specifically configured to: and determining a flow threshold corresponding to the vacant load quota according to the corresponding flow percentage when the current vacant load is close to the full load.
According to another aspect of the present invention, further comprising: the equipment load speed limit module:
the method is used for identifying the sub-network environment according with the speed-limiting condition of the air interface load of the wireless access point AP equipment for each sub-network environment in the whole network environment, and acquiring the total speed required value after the air interface speed limitation in the sub-network environment;
identifying the sub-network environment with speed-limiting conditions for the air interface load which does not conform to the AP equipment of the wireless access point, and directly acquiring the total speed required value without air interface speed limitation under the sub-network environment according to the number of the accessed terminals and the basic speed required value of each terminal;
acquiring a total speed required value under the whole network environment according to the total speed required value after air interface speed limiting under the sub-network environment and/or the total speed required value without air interface speed limiting under the sub-network environment;
determining a flow threshold corresponding to the equipment load in the whole network environment;
and when the total speed required value under the whole network environment is greater than the flow threshold corresponding to the equipment load, calculating an average dynamic speed limit value according to the flow threshold corresponding to the equipment load and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value.
According to another aspect of the present invention, the device load identification speed limit module is specifically configured to:
determining the maximum flow rate limit of the equipment by the product of the rate value bit/second bps of the average service capability of the equipment and the packet forwarding rate message number/second pps of the equipment;
determining a flow rate limit corresponding to a CPU occupied by a non-forwarding service on the equipment and a flow rate limit corresponding to a reserved vacant load;
and removing the flow rate limit corresponding to the CPU occupied by the non-forwarding service in the equipment and the flow rate limit corresponding to the reserved vacant load from the maximum flow rate limit to be used as a flow threshold corresponding to the equipment load. As can be seen from the technical solutions provided by the embodiments of the present invention, the embodiments of the present invention provide a wlan-based wireless speed limiting method, which is applied to air interface load identification speed limitation of a wireless access point AP device, and includes: determining the flow percentage corresponding to the vacant load quota of the air interface, and determining the flow threshold corresponding to the vacant load quota according to the flow percentage; acquiring the number of accessed terminals and a basic speed requirement value of each terminal; calculating a total rate requirement value according to the number of the accessed terminals and the basic rate requirement value of each terminal; and when the total speed required value is greater than the flow threshold corresponding to the vacant load amount, calculating an average dynamic speed limit value according to the flow threshold corresponding to the vacant load amount and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value. And dynamically adjusting the speed limit according to the load condition of the actual air interface and the packet forwarding rate pps conversion corresponding to the packet size condition of the message service, so as to ensure that the user obtains different effects at different moments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a processing flow chart of a wlan-based wireless speed limiting method according to an embodiment of the present invention;
fig. 2 is a processing flow chart of a wlan-based wireless speed limiting method according to a second embodiment of the present invention;
fig. 3 is a system block diagram of a wlan-based wireless speed limiting system according to a third embodiment of the present invention.
Detailed Description
For the convenience of understanding the embodiments of the present invention, the following description will be further explained by taking several specific embodiments as examples in conjunction with the drawings, and the embodiments are not to be construed as limiting the embodiments of the present invention.
Example one
The embodiment provides a processing flow of a wireless speed limiting method based on wlan, as shown in fig. 1, which is applied to air interface load identification speed limitation, and when the air interface load is not high and the number of users is not large, the method is applicable to the air interface load identification speed limitation of the embodiment, and the processing steps are as follows:
step 11, determining a traffic percentage corresponding to an empty load quota of an air interface, and determining a traffic threshold corresponding to the empty load quota according to the traffic percentage;
determining the flow percentage corresponding to the empty load quota of the air interface comprises the following steps: and before the flow percentage corresponding to the empty load quota of the air interface is obtained, the duty ratio of the air interface load is obtained, and the flow percentage corresponding to the empty load quota of the air interface is determined according to the duty ratio of the air interface load.
The determining of the traffic threshold corresponding to the free load quota according to the traffic percentage includes:
and determining a flow threshold corresponding to the vacant load quota according to the corresponding flow percentage when the current vacant load is close to the full load.
Step 12, acquiring the number of accessed terminals and the basic speed requirement value of each terminal;
specifically, the number of current users of a radio frequency band corresponding to an air interface is obtained;
in this embodiment, the number of current users in the radio frequency band corresponding to the air interface is obtained through an wlc _ ap _ stas _ associated function;
and determining the basic rate requirement value of each terminal according to the number of the current users and the basic flow which is required to be distributed by each user.
Step 13, calculating the total speed requirement value according to the number of the accessed terminals and the basic speed requirement value of each terminal;
and step 14, when the total speed required value is greater than the flow threshold corresponding to the vacant load amount, calculating an average air interface dynamic speed limit value according to the flow threshold corresponding to the vacant load amount and the number of terminals, and determining to limit the speed of the access terminal according to the average air interface dynamic speed limit value.
The following is illustrated by way of specific examples, for example: obtaining 13 current users of the radio frequency band corresponding to the air interface through wlc _ ap _ stas _ associated function; and determining the basic rate requirement value of each terminal to be 2Mb according to the number of the current users and the basic flow to be allocated to each user.
Determining the flow percentage corresponding to the vacant load quota of the air interface, and determining the flow threshold corresponding to the vacant load quota according to the flow percentage; the corresponding flow rate limit when the current empty port is fully loaded is 30Mb, in this embodiment, 30% of the flow rate percentage corresponding to the empty load limit of the empty port is determined, and the flow rate threshold corresponding to the empty load limit is determined according to the flow rate percentage of 30%, which is 30Mb by 30%, that is 9Mb, and is used as the flow rate threshold corresponding to the empty load limit,
calculating an average dynamic speed limit value according to the flow threshold value corresponding to the vacant load limit and the number of the terminals, wherein the method specifically comprises the following steps:
determining the allocable total flow of the speed limit according to the flow threshold corresponding to the spare load limit;
and calculating an average air interface dynamic speed limit value according to the total allocable flow of the speed limit and the number of the terminals.
Calculating a total rate requirement value according to the number of the accessed terminals and the basic rate requirement value of each terminal; in this embodiment, the number of the access terminals is 13, the basic rate requirement value of each terminal is 2Mb, the total rate requirement value is 26Mb, and if the total rate requirement value exceeds the traffic threshold value 9Mb, the dynamic speed limit needs to be started.
The method comprises the following steps of calculating an average air interface dynamic speed limit value according to a flow threshold corresponding to the free load limit and the number of terminals, and determining to limit the speed of the terminal according to the average air interface dynamic speed limit value, wherein the step of determining to limit the speed of the terminal specifically comprises the following steps:
determining the allocable total flow of the speed limit according to the flow threshold corresponding to the spare load limit;
in this embodiment, the channel utilization rate is considered to be 60% under the normal use condition, and then the total allocable flow rate of the speed limit is determined to be 30Mb by 60% according to the flow threshold, namely 18 Mb;
calculating an average air interface dynamic speed limit value according to the allocable total flow of the speed limit and the number of terminals; namely 18MB/13 equals 1.38 Mb;
and determining to limit the speed of the terminal according to the average air interface dynamic speed limit value of 1.38 Mb.
Example two
The embodiment provides a processing flow of a wireless speed limiting method based on wlan, as shown in fig. 2, which is applied to speed limiting for equipment load identification, and when the channel utilization rate is high and the number of users reaches a limit, the scheme of the embodiment is applied when the cpu load is found to be higher than the cpu load, and the processing steps are as follows:
step 21, for each sub-network environment in the whole network environment, identifying the sub-network environment according with the speed-limiting condition of the air interface load of the AP equipment of the wireless access point, and acquiring the total speed requirement value after the air interface speed limitation in the sub-network environment;
for each sub-network environment in the entire network environment, respectively performing air interface load identification speed limit on the sub-network environment which meets the air interface load identification speed limit condition of the wireless access point AP device, in the following steps 211 to 214;
step 211, determining a traffic percentage corresponding to an empty load quota of an air interface, and determining a traffic threshold corresponding to the empty load quota according to the traffic percentage;
determining the flow percentage corresponding to the empty load quota of the air interface comprises the following steps: and before the flow percentage corresponding to the empty load quota of the air interface is obtained, the duty ratio of the air interface load is obtained, and the flow percentage corresponding to the empty load quota of the air interface is determined according to the duty ratio of the air interface load.
The determining of the traffic threshold corresponding to the free load quota according to the traffic percentage includes:
and determining a flow threshold corresponding to the vacant load quota according to the corresponding flow percentage when the current vacant load is close to the full load.
Step 212, acquiring the number of the accessed terminals and the basic speed requirement value of each terminal;
specifically, the number of current users of a radio frequency band corresponding to an air interface is obtained;
in this embodiment, the number of current users in the radio frequency band corresponding to the air interface is obtained through an wlc _ ap _ stas _ associated function;
and determining the basic rate requirement value of each terminal according to the number of the current users and the basic flow which is required to be distributed by each user.
Step 213, calculating a total rate requirement value according to the number of the accessed terminals and the basic rate requirement value of each terminal;
and 214, when the total speed required value is greater than a flow threshold corresponding to the vacant load quota, calculating an average air interface dynamic speed limit value according to the flow threshold and the number of terminals, and determining to limit the speed of the access terminal according to the average air interface dynamic speed limit value.
Step 22, identifying the sub-network environment with speed-limiting conditions for the air interface load which does not conform to the wireless access point AP equipment, and directly acquiring the total speed required value without air interface speed limitation under the sub-network environment according to the number of the accessed terminals and the basic speed required value of each terminal;
step 23, obtaining a total speed required value under the whole network environment according to the total speed required value after air interface speed limiting under the sub-network environment and/or the total speed required value without air interface speed limiting under the sub-network environment;
step 24, determining a flow threshold corresponding to the equipment load in the whole network environment;
and 25, when the total speed required value under the whole network environment is greater than the flow threshold corresponding to the equipment load, calculating an average dynamic speed limit value according to the flow threshold corresponding to the equipment load and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value.
In this embodiment, based on consideration of the traffic PPs, the load of the CPU of the device needs to be matched, and based on calculation of the PPs of the CPU, the CPU is filled with small messages for each device to obtain the maximum magnitude of the PPs;
determining the maximum flow rate limit of the equipment by the product of the rate value bit/second bps of the average service capability of the equipment and the packet forwarding rate message number/second pps of the equipment;
for example:
in the dormitory scene of school, the time of giving lessons at night, the network peak period stage, a large amount of students use the following network, in the whole network environment, respectively contain two following subnetwork environments:
under AP 2.4G radio frequency environment: 13 users, 6 channels, HT20 (channel bandwidth 20 Mb);
in AP 5G radio frequency environment: 32 users, 149 channels, HT20 (channel bandwidth 20 Mb); the QOS speed limit of the terminal is 2 Mb;
in a practical scenario, an initial speed limit configuration is generally made based on the wlan, for example: an initial speed limit value of 0.25Mb is configured under the AP 2.4G radio frequency environment, an initial speed limit value of 2Mb is configured under the AP 5G radio frequency environment, the speed limit of all equipment is fixed under the initial condition, the quantity of users in the environment where some APs are located is less than that of the clean users, the quantity of users in the environment where some APs are located is large in interference, in this case, the speed limit adjustment needs to be performed again, and in the AP 2.4G radio frequency environment, the speed limit adjustment needs to be performed once based on air interface load identification speed limit, for the whole network environment, the sub-network AP 2.4G rf environment and the sub-network AP 5G rf environment are required to be able to identify based on the environment and user situation, meanwhile, different devices can also make judgment and identification based on the bearing capacity of the devices, so that the device load speed limit needs to be carried out again on the basis of the air interface load identification speed limit.
For each sub-network environment in the whole network environment, respectively carrying out air interface load identification speed limitation on the sub-network environment according with the air interface load identification speed limitation condition of the wireless access point AP equipment, and acquiring a total speed requirement value after the air interface speed limitation under the sub-network environment;
under AP 2.4G radio frequency environment: obtaining 13 current users of the radio frequency band corresponding to the air interface through wlc _ ap _ stas _ associated function; determining the basic rate requirement value of each terminal to be 2Mb according to the number of the current users and the basic traffic that each user should allocate, assuming that 25Mb of traffic quota is corresponding to the current empty port corresponding to 2.4GHT20 when the current empty port is fully loaded, in this embodiment, 30% of traffic percentage corresponding to the empty load quota of the empty port is determined, 30% of traffic percentage is used to determine the traffic threshold corresponding to the empty load quota,
2Mb 13>25Mb 30%, namely, the triggering air interface at the moment identifies the speed limit; at this time, 10% of the load is reserved as the spare load of the CPU, namely the load saved by the air interface;
in this embodiment, based on the above-mentioned empty identification speed limit, the channel utilization rate is considered to be 60% under the normal use condition, and then the allocable total flow rate of the speed limit is determined to be 25Mb by 60% according to the flow threshold corresponding to the empty load quota, which is 15 Mb; corresponding to the dynamic speed limit value of the air gap, namely 25Mb, 60%/13, 1.15 Mb;
when there are 13 users in the radio frequency 2.4G environment, identifying the speed limit based on the air interface, wherein the corresponding speed limit value is 25Mb by 60%/13 to 1.15 Mb;
then, the total rate requirement value after air interface speed limiting in the sub-network radio frequency 2.4G environment is 1.15Mb by 13 users, which is 14.95 Mb;
identifying a sub-network environment with speed-limiting conditions for the air interface load which does not conform to the AP equipment of the wireless access point, and directly acquiring a total speed required value according to the number of the accessed terminals and the basic speed required value of each terminal;
in an AP 5G radio frequency environment: obtaining the current number of users of the radio frequency band corresponding to the air interface by an wlc _ ap _ stas _ associated function, wherein the current number of users is 32; determining the basic rate requirement value of each terminal to be 2Mb according to the number of the current users and the basic traffic that each user should allocate, assuming that the corresponding traffic quota is 300Mb when the current empty port corresponding to 5GHT20 is fully loaded, in this embodiment, determining the traffic percentage corresponding to the empty load quota of the empty port by 30%, determining the traffic threshold corresponding to the empty load quota according to the traffic percentage being 30%,
under the sub-network radio frequency 5g environment, 32 users exist, and the determined terminal QOS limits the speed by 2 Mb;
then, in the sub-network rf 5g environment, the total rate requirement value is 2Mb × 32 users — 64 Mb;
acquiring a total speed required value under the whole network environment according to the total speed required value after air interface speed limiting under the sub-network environment and/or the total speed required value without air interface speed limiting under the sub-network environment;
the total rate requirement value under the whole network environment is as follows: 14.95Mb +64 Mb-78.95 Mb;
then, identifying and limiting the speed of the equipment load, and determining a flow threshold corresponding to the equipment load in the whole network environment;
because the CPU conditions corresponding to different devices are different, the load conditions of the different devices are different, the packet forwarding rate pps of the maximum capacity of the device with the main frequency of 800Mb can reach 80000pps, and the packet forwarding rate pps of the maximum capacity of the device with the main frequency of 450Mb can reach 40000 pps;
determining the maximum flow rate limit of the equipment by the product of the rate value bit/second bps of the average service capability of the equipment and the packet forwarding rate message number/second pps of the equipment; taking the bps of the average service capacity of the equipment as 150 bytes;
the equipment with the lowest CPU main frequency in the equipment is equipment with the main frequency of 450Mb, and the maximum capability pps of the equipment can reach 40000 pps;
then bps [150bytes ]. pps [40000] ═ 60 Mb; the maximum flow rate limit of the equipment in the system;
determining a flow rate limit corresponding to a CPU occupied by a non-forwarding service on the equipment and a flow rate limit corresponding to a reserved vacant load;
in addition, the non-forwarding service on each device in the device has a flow limit corresponding to the CPU;
and the flow limit corresponding to the vacant load needing to be reserved;
and removing the flow rate limit corresponding to the CPU occupied by the non-forwarding service in the equipment and the flow rate limit corresponding to the reserved vacant load from the maximum flow rate limit to be used as a flow threshold corresponding to the equipment load.
In this embodiment, when other non-forwarding services on the device occupy CPU up to 20%, that is, the corresponding forwarding service can occupy CPU 70% at this time; in addition, 10% of the CPU is occupied as a vacant load; then the flow threshold corresponding to the equipment load is 60Mb by 70% ═ 42 Mb;
and when the total speed required value under the whole network environment is greater than the flow threshold corresponding to the equipment load, calculating an average dynamic speed limit value according to the flow threshold corresponding to the equipment load and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value.
Then for the peak period of the network, the speed limit for a large number of students using the network is adjusted as follows:
when there are 13 users in the AP 2.4G radio environment, 1.15Mb by 13 users is 14.95 Mb;
when there are 32 users in the AP 5G radio environment, 2Mb by 32 users become 64 Mb;
14.95Mb+64Mb>60Mb*70%=42Mb;
at this time, the equipment load identification speed limit is carried out under the AP 2.4G radio frequency environment and the AP 5G radio frequency environment in a unified pair: (1.15Mb 13+2Mb 32) x% -60 Mb 70%
And x% is the percentage which needs to be adjusted finally by combining the load condition of the CPU again after being adjusted based on the air interface, and x% is 53%.
At this time, the corresponding 2.4G speed limit is 1.15Mb, 53 percent and 0.61 Mb; the 5G limit is 2Mb by 53% to 1.06 Mb.
Example two
The embodiment provides a wireless speed limiting system based on wlan, and a specific implementation structure of the wireless speed limiting system is shown in fig. 3, which specifically includes the following modules:
the determination module 31: the method comprises the steps of determining the flow percentage corresponding to the vacant load capacity of an air interface, and determining the flow threshold corresponding to the vacant load capacity according to the flow percentage;
the acquisition module 32: the method comprises the steps of obtaining the number of accessed terminals and a basic speed requirement value of each terminal;
the calculation module 33: for calculating a total rate requirement value according to the number of the accessed terminals and a basic rate requirement value of each terminal;
the speed limit module 34: and when the total speed required value is greater than the flow threshold corresponding to the vacant load amount, calculating an average air interface dynamic speed limit value according to the flow threshold corresponding to the vacant load amount and the number of terminals, and determining to limit the speed of the access terminal according to the average air interface dynamic speed limit value.
The speed limit module 34 is specifically configured to:
determining the allocable total flow of the speed limit according to the flow threshold corresponding to the spare load limit;
calculating an average air interface dynamic speed limit value according to the allocable total flow of the speed limit and the number of terminals;
and determining to limit the speed of the terminal according to the average dynamic speed limit value.
The determining module 31 is specifically configured to: and before the flow percentage corresponding to the empty load quota of the air interface is obtained, the duty ratio of the air interface load is obtained, and the flow percentage corresponding to the empty load quota of the air interface is determined according to the duty ratio of the air interface load.
The determining module 31 is specifically configured to: and determining a flow threshold corresponding to the vacant load quota according to the corresponding flow percentage when the current vacant load is close to the full load.
The device load speed limiting module 35 is configured to, for each sub-network environment in the entire network environment, identify a speed-limiting condition sub-network environment for an air interface load conforming to the AP device of the wireless access point, and acquire a total speed required value after air interface speed limiting in the sub-network environment;
identifying the sub-network environment with speed-limiting conditions for the air interface load which does not conform to the AP equipment of the wireless access point, and directly acquiring the total speed required value without air interface speed limitation under the sub-network environment according to the number of the accessed terminals and the basic speed required value of each terminal;
acquiring a total speed required value under the whole network environment according to the total speed required value after air interface speed limiting under the sub-network environment and/or the total speed required value without air interface speed limiting under the sub-network environment;
determining a flow threshold corresponding to the equipment load in the whole network environment;
and when the total speed required value under the whole network environment is greater than the flow threshold corresponding to the equipment load, calculating an average dynamic speed limit value according to the flow threshold corresponding to the equipment load and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value.
The device load speed limit module 35 is specifically configured to:
determining the maximum flow rate limit of the equipment by the product of the rate value bit/second bps of the average service capability of the equipment and the packet forwarding rate message number/second pps of the equipment;
determining a flow rate limit corresponding to a CPU occupied by a non-forwarding service on the equipment and a flow rate limit corresponding to a reserved vacant load;
and removing the flow rate limit corresponding to the CPU occupied by the non-forwarding service in the equipment and the flow rate limit corresponding to the reserved vacant load from the maximum flow rate limit to be used as a flow threshold corresponding to the equipment load.
The specific process of using the system of the embodiment of the present invention to perform WLAN speed limiting is similar to the foregoing method embodiment, and is not described here again.
To sum up, an embodiment of the present invention provides a wireless speed limiting method based on wlan, which is applied to air interface load identification speed limitation of AP devices in a wireless access point, and includes: determining the flow percentage corresponding to the vacant load quota of the air interface, and determining the flow threshold corresponding to the vacant load quota according to the flow percentage; acquiring the number of accessed terminals and a basic speed requirement value of each terminal; calculating a total rate requirement value according to the number of the accessed terminals and the basic rate requirement value of each terminal; and when the total speed required value is greater than the flow threshold corresponding to the vacant load amount, calculating an average dynamic speed limit value according to the flow threshold corresponding to the vacant load amount and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value. And dynamically adjusting the speed limit according to the load condition of the actual air interface and the packet forwarding rate pps conversion corresponding to the packet size condition of the message service, so as to ensure that the user obtains different effects at different moments.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROMB/RAMB, a magnetic disk, an optical disk, etc., and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (12)
1. A wireless speed limiting method based on wlan is characterized in that the method is applied to the air interface load identification speed limit of wireless access point AP equipment, and comprises the following steps:
determining the flow percentage corresponding to the vacant load quota of the air interface, and determining the flow threshold corresponding to the vacant load quota according to the flow percentage;
acquiring the number of accessed terminals and a basic speed requirement value of each terminal;
calculating a total rate requirement value according to the number of the accessed terminals and the basic rate requirement value of each terminal;
and when the total speed required value is greater than the flow threshold corresponding to the vacant load quota, calculating an average air interface dynamic speed limit value according to the maximum available channel utilization rate of the air interfaces and the number of terminals, and determining to limit the speed of the access terminal according to the average air interface dynamic speed limit value.
2. The wlan-based wireless speed limiting method according to claim 1, wherein the calculating an average air interface dynamic speed limit value according to the maximum available channel utilization of the air interface and the number of terminals specifically comprises:
determining the allocable total flow of the speed limit according to the maximum available channel utilization rate of the air interface;
and calculating an average air interface dynamic speed limit value according to the total allocable flow of the speed limit and the number of the terminals.
3. The wlan-based wireless speed limiting method of claim 1, wherein the determining of the traffic percentage corresponding to the free load credit of the air interface comprises: and before the flow percentage corresponding to the empty load quota of the air interface is obtained, the duty ratio of the air interface load is obtained, and the flow percentage corresponding to the empty load quota of the air interface is determined according to the duty ratio of the air interface load.
4. A wireless speed limiting method according to claim 3, wherein the determining a traffic threshold corresponding to the free load credit based on the traffic percentage comprises:
and determining a flow threshold corresponding to the vacant load quota according to the corresponding flow percentage when the current vacant load is close to the full load.
5. A method as claimed in claim 1, further comprising: the method for carrying out load identification speed limit on AP equipment of the wireless access point comprises the following steps:
for each sub-network environment in the whole network environment, acquiring a total speed required value after air interface speed limitation in the sub-network environment for the sub-network environment subjected to air interface load identification speed limitation of the wireless access point AP equipment;
directly acquiring a total speed required value without air interface speed limit under the sub-network environment according to the number of the accessed terminals and a basic speed required value of each terminal for the sub-network environment without air interface speed limit identification speed limit of the air interface load of the wireless access point AP equipment;
acquiring a total speed required value under the whole network environment according to the total speed required value after air interface speed limiting under the sub-network environment and/or the total speed required value without air interface speed limiting under the sub-network environment;
determining a traffic threshold corresponding to the load of the AP equipment under the whole network environment;
and when the total speed required value under the whole network environment is greater than the flow threshold corresponding to the AP equipment load, calculating an average dynamic speed limit value according to the flow threshold corresponding to the AP equipment load and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value.
6. A wireless speed limiting method based on wlan as claimed in claim 5, wherein said determining the traffic threshold corresponding to the load of the AP device in the whole network environment comprises:
determining the maximum flow rate limit of the AP equipment by the product of the rate value bit/second bps of the average service capability of the AP equipment and the packet forwarding rate message number/second pps of the AP equipment;
determining a flow rate limit corresponding to a CPU occupied by a non-forwarding service on the AP equipment and a flow rate limit corresponding to a reserved vacant load;
and removing the flow rate limit corresponding to the CPU occupied by the non-forwarding service in the AP equipment and the flow rate limit corresponding to the reserved vacant load from the maximum flow rate limit to be used as a flow threshold corresponding to the load of the AP equipment.
7. A wireless speed limiting system based on wlan is characterized in that the system is applied to the air interface load identification speed limit of wireless access point AP equipment, and comprises the following steps:
a determination module: the method comprises the steps of determining the flow percentage corresponding to the vacant load capacity of an air interface, and determining the flow threshold corresponding to the vacant load capacity according to the flow percentage;
an acquisition module: the method comprises the steps of obtaining the number of accessed terminals and a basic speed requirement value of each terminal;
a calculation module: for calculating a total rate requirement value according to the number of the accessed terminals and a basic rate requirement value of each terminal;
the speed limiting module: and the method is used for calculating an average air interface dynamic speed limit value according to the maximum available channel utilization rate of the air interface and the number of terminals and determining to limit the speed of the access terminal according to the average air interface dynamic speed limit value when the total speed required value is greater than the flow threshold corresponding to the vacant load quota.
8. A wlan-based wireless speed limiting system as claimed in claim 7, wherein said speed limiting module is specifically configured to:
determining the allocable total flow of the speed limit according to the maximum available channel utilization rate of the air interface;
calculating an average air interface dynamic speed limit value according to the allocable total flow of the speed limit and the number of terminals;
and determining to limit the speed of the terminal according to the average dynamic speed limit value.
9. A wlan-based wireless speed limiting system as claimed in claim 7, wherein said determining module is specifically configured to: and before the flow percentage corresponding to the empty load quota of the air interface is obtained, the duty ratio of the air interface load is obtained, and the flow percentage corresponding to the empty load quota of the air interface is determined according to the duty ratio of the air interface load.
10. A wlan-based wireless speed limiting system as claimed in claim 8, wherein said determining module is specifically configured to: and determining a flow threshold corresponding to the vacant load quota according to the corresponding flow percentage when the current vacant load is close to the full load.
11. A wlan based wireless speed limiting system as claimed in claim 10, further comprising: the equipment load speed limit module:
the method is used for acquiring the total speed requirement value after air interface speed limitation in the sub-network environment for each sub-network environment in the whole network environment and carrying out air interface load identification speed limitation on the wireless access point AP equipment;
directly acquiring a total speed required value without air interface speed limit under the sub-network environment according to the number of the accessed terminals and a basic speed required value of each terminal for the sub-network environment without air interface speed limit identification speed limit of the air interface load of the wireless access point AP equipment;
acquiring a total speed required value under the whole network environment according to the total speed required value after air interface speed limiting under the sub-network environment and/or the total speed required value without air interface speed limiting under the sub-network environment;
determining a traffic threshold corresponding to the load of the AP equipment under the whole network environment;
and when the total speed required value under the whole network environment is greater than the flow threshold corresponding to the AP equipment load, calculating an average dynamic speed limit value according to the flow threshold corresponding to the AP equipment load and the number of terminals, and determining to limit the speed of the access terminal according to the average dynamic speed limit value.
12. A wlan-based wireless speed limiting system according to claim 11, wherein the AP device load identification speed limiting module is specifically configured to:
determining the maximum flow rate limit of the AP equipment by the product of the rate value bit/second bps of the average service capability of the AP equipment and the packet forwarding rate message number/second pps of the AP equipment;
determining a flow rate limit corresponding to a CPU occupied by a non-forwarding service on the AP equipment and a flow rate limit corresponding to a reserved vacant load;
and removing the flow rate limit corresponding to the CPU occupied by the non-forwarding service in the AP equipment and the flow rate limit corresponding to the reserved vacant load from the maximum flow rate limit to be used as a flow threshold corresponding to the load of the AP equipment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710311640.8A CN107276786B (en) | 2017-05-05 | 2017-05-05 | Wireless speed limiting method and system based on wlan |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710311640.8A CN107276786B (en) | 2017-05-05 | 2017-05-05 | Wireless speed limiting method and system based on wlan |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107276786A CN107276786A (en) | 2017-10-20 |
| CN107276786B true CN107276786B (en) | 2020-05-26 |
Family
ID=60073842
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710311640.8A Active CN107276786B (en) | 2017-05-05 | 2017-05-05 | Wireless speed limiting method and system based on wlan |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107276786B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111866958A (en) * | 2020-06-10 | 2020-10-30 | 新华三技术有限公司 | A speed limiting method and device |
| CN114245413A (en) * | 2021-11-26 | 2022-03-25 | 新华三大数据技术有限公司 | Traffic processing method and AP |
| CN119562377B (en) * | 2025-01-23 | 2025-05-23 | 浙江大华技术股份有限公司 | A resource allocation method, resource allocation device and computer storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101646259A (en) * | 2009-09-04 | 2010-02-10 | 杭州华三通信技术有限公司 | Wireless local area network empty opening rate-limiting method and wireless network device |
| CN101651967A (en) * | 2009-09-21 | 2010-02-17 | 杭州华三通信技术有限公司 | Method and equipment for adjusting flow speed in wireless local area network |
| CN105162761A (en) * | 2015-07-28 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | Dynamic selection method and system of URLs through Portal authentication, and wireless access point |
| CN105407501A (en) * | 2015-10-23 | 2016-03-16 | 上海斐讯数据通信技术有限公司 | AP, AP speed-limit method and system |
| CN105554822A (en) * | 2015-12-10 | 2016-05-04 | 京信通信技术(广州)有限公司 | Control method and device for balancing rates of multiple user terminals of base station |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8477730B2 (en) * | 2011-01-04 | 2013-07-02 | Cisco Technology, Inc. | Distributed load management on network devices |
-
2017
- 2017-05-05 CN CN201710311640.8A patent/CN107276786B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101646259A (en) * | 2009-09-04 | 2010-02-10 | 杭州华三通信技术有限公司 | Wireless local area network empty opening rate-limiting method and wireless network device |
| CN101651967A (en) * | 2009-09-21 | 2010-02-17 | 杭州华三通信技术有限公司 | Method and equipment for adjusting flow speed in wireless local area network |
| CN105162761A (en) * | 2015-07-28 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | Dynamic selection method and system of URLs through Portal authentication, and wireless access point |
| CN105407501A (en) * | 2015-10-23 | 2016-03-16 | 上海斐讯数据通信技术有限公司 | AP, AP speed-limit method and system |
| CN105554822A (en) * | 2015-12-10 | 2016-05-04 | 京信通信技术(广州)有限公司 | Control method and device for balancing rates of multiple user terminals of base station |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107276786A (en) | 2017-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108012307B (en) | Wireless heterogeneous network selection method, apparatus, device and readable storage medium | |
| EP2903313A1 (en) | Method and corresponding apparatus for sending and receiving trunking paging in lte system | |
| CN101951685B (en) | Method and device for providing differentiated services to UE | |
| US8601142B2 (en) | Adaptive network address translation binding for wireless networks | |
| CN103229580B (en) | Method and device for resource scheduling | |
| CN105992282B (en) | A method and device for adjusting service quality parameters | |
| CN107276786B (en) | Wireless speed limiting method and system based on wlan | |
| CN110248417A (en) | The resource allocation methods and system of uplink communication business in a kind of electric power Internet of Things | |
| CN101137242B (en) | Method for allocating time periods for terminal monitoring messages and access network equipment | |
| US6952735B1 (en) | Dynamically distributed IP-pool in GPRS | |
| CN112532665A (en) | Server load balancing method and device and CDN node | |
| CN112469132A (en) | Carrier resource scheduling method and device | |
| CN104967880B (en) | A kind of method and apparatus of distribution video uniform in the wireless network | |
| CN108307481A (en) | RRC connections control method and device, system | |
| CN102271410B (en) | Method and device for providing differentiated services for UE (User Equipment) | |
| CN117880893B (en) | Network load balancing method, device and medium applied to FTTR networking | |
| CN114258081B (en) | Load balancing method, device, electronic device and storage medium for cells with the same coverage | |
| CN103096481B (en) | The distribution method of Packet Data Channel and device | |
| CN117793583A (en) | Message forwarding method and device, electronic equipment and computer readable storage medium | |
| CN115604748A (en) | Method and device for scheduling cell network capacity, electronic equipment and medium | |
| CN107872789B (en) | Terminal control method and device | |
| CN112996003B (en) | Resource scheduling method, device and equipment | |
| CN105979595A (en) | Allocation method and device for wireless resources | |
| CN109618374B (en) | A data offloading method, device, cellular network operation equipment and medium | |
| CN119854807A (en) | Shared carrier frequency scheduling method and device and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |