[go: up one dir, main page]

CN111866958A - A speed limiting method and device - Google Patents

A speed limiting method and device Download PDF

Info

Publication number
CN111866958A
CN111866958A CN202010528019.9A CN202010528019A CN111866958A CN 111866958 A CN111866958 A CN 111866958A CN 202010528019 A CN202010528019 A CN 202010528019A CN 111866958 A CN111866958 A CN 111866958A
Authority
CN
China
Prior art keywords
wireless terminal
speed
limit value
speed limit
preset
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.)
Pending
Application number
CN202010528019.9A
Other languages
Chinese (zh)
Inventor
张晓明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN202010528019.9A priority Critical patent/CN111866958A/en
Publication of CN111866958A publication Critical patent/CN111866958A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种限速方法及装置,该方法应用于AC,该方法包括:根据至少一个AP上报的无线终端的接入信息,确定需要限速的无线终端;计算当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和;若计算出的速率值之和大于预设的速率阈值,或者计算出的速率总和与当前记录的限速值均小于预设的速率阈值,则按照预设的调整策略,对限速值进行调整;通知当前所有需要限速的无线终端接入的AP删除配置到射频单元上的限速值,并将调整后的限速值作为当前需要限速的无线终端的限速值配置到对应的射频单元上,以由对应的射频单元使用调整后的限速值对当前需要限速的无线终端进行限速。本申请实施例可减少带宽资源浪费,提高用户体验。

Figure 202010528019

The present application provides a speed limiting method and device, the method is applied to an AC, and the method includes: determining a wireless terminal that needs speed limiting according to access information of a wireless terminal reported by at least one AP; calculating all current speed limiting wireless terminals The sum of the actual sending rate values included in the access information of the wireless terminal; if the sum of the calculated rate values is greater than the preset rate threshold, or both the calculated sum of the rates and the currently recorded speed limit value are less than the preset rate threshold , then adjust the speed limit value according to the preset adjustment strategy; notify all APs currently accessing wireless terminals that need speed limit to delete the speed limit value configured on the radio frequency unit, and use the adjusted speed limit value as the current speed limit value. The speed limit value of the wireless terminal that needs speed limit is configured on the corresponding radio frequency unit, so that the corresponding radio frequency unit uses the adjusted speed limit value to limit the speed of the wireless terminal that currently needs speed limit. The embodiments of the present application can reduce waste of bandwidth resources and improve user experience.

Figure 202010528019

Description

一种限速方法及装置A speed limiting method and device

技术领域technical field

本申请涉及通信技术领域,特别涉及一种限速方法及装置。The present application relates to the field of communication technologies, and in particular, to a speed limiting method and device.

背景技术Background technique

在无线网络中,通常需要对接入无线网络的无线终端进行限速,以实现带宽资源的合理利用。In a wireless network, it is usually necessary to limit the speed of wireless terminals accessing the wireless network, so as to realize rational utilization of bandwidth resources.

在一种限速方案中,管理员在无线网络中的接入点(Access Point,AP)的每个射频单元上配置限速值,此限速值作为接入该射频单元的无线终端的实际发送速率的总和。当有无线终端接入或者离开该射频单元时,AP会将该射频单元上每个当前在线的无线终端的限速值调整为M/N,其中,M为配置的限速值,N为该射频单元上当前在线的无线终端的数量,以实现对该射频单元上接入的无线终端的带宽资源进行限制。In a speed limit scheme, the administrator configures a speed limit value on each radio frequency unit of an access point (Access Point, AP) in the wireless network, and this speed limit value is used as the actual value of the wireless terminal accessing the radio frequency unit. Sum of send rates. When a wireless terminal accesses or leaves the RF unit, the AP will adjust the speed limit value of each currently online wireless terminal on the RF unit to M/N, where M is the configured speed limit value, and N is the speed limit value. The number of wireless terminals currently online on the radio frequency unit, so as to limit the bandwidth resources of the wireless terminals connected to the radio frequency unit.

可见,在上述限速方案中,一旦无线终端接入或者离开,AP就执行限速调整操作,这样一来,在无线终端频繁漫游或者频繁上、下线的情况下,AP会频繁调整限速值,导致AP的负载较重。It can be seen that in the above speed limit scheme, once the wireless terminal accesses or leaves, the AP performs the speed limit adjustment operation. In this way, when the wireless terminal frequently roams or frequently goes online and offline, the AP will frequently adjust the speed limit value, resulting in a heavy load on the AP.

并且,AP对一个射频单元上接入的所有无线终端进行统一限速,未对受限无线终端(即,需要限速的无线终端)和普通无线终端(即,不需要限速的无线终端)进行区分,会影响普通无线终端的持有用户的用户体验,还会出现一些无线终端的实际发送速率低于AP为其平均分配的限速值的情况,造成带宽资源的浪费。In addition, the AP implements a unified rate limit for all wireless terminals connected to a radio unit, and does not limit the rate of restricted wireless terminals (that is, wireless terminals that require speed-limiting) and common wireless terminals (that is, wireless terminals that do not require speed-limiting). The distinction will affect the user experience of ordinary wireless terminal users, and the actual transmission rate of some wireless terminals may be lower than the rate limit value evenly allocated by the AP, resulting in a waste of bandwidth resources.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本申请提供了一种限速方法及装置。In order to overcome the problems existing in the related art, the present application provides a speed limiting method and device.

根据本申请实施例的第一方面,提供一种限速方法,所述方法应用于无线网络中的接入控制器(Access Controller,AC),所述方法包括:According to a first aspect of the embodiments of the present application, a rate limiting method is provided, where the method is applied to an access controller (Access Controller, AC) in a wireless network, and the method includes:

根据所述无线网络中的至少一个AP上报的无线终端的接入信息,确定需要限速的无线终端;According to the access information of the wireless terminal reported by at least one AP in the wireless network, determine the wireless terminal that needs speed limit;

计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和;Calculate the sum of the actual sending rate values included in the access information of all wireless terminals currently requiring speed limiting in the wireless network;

若计算出的速率值之和大于预设的速率阈值,或者计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值,则按照预设的调整策略,对所述限速值进行调整;If the sum of the calculated rate values is greater than the preset rate threshold, or if both the calculated sum of the rates and the currently recorded speed limit value are both smaller than the preset rate threshold, then according to the preset adjustment strategy, the speed value adjustment;

通知当前所有需要限速的无线终端接入的AP删除配置到射频单元上的限速值,并将调整后的限速值作为当前需要限速的无线终端的限速值配置到对应的射频单元上,以由对应的射频单元使用调整后的限速值对当前需要限速的无线终端进行限速。Notify all APs currently accessing the wireless terminals that need speed limiting to delete the speed limit value configured on the radio unit, and configure the adjusted speed limit value as the speed limit value of the current wireless terminal that needs speed limiting to the corresponding radio frequency unit above, the corresponding radio frequency unit uses the adjusted speed limit value to limit the speed of the wireless terminal that currently needs speed limit.

根据本申请实施例的第二方面,提供一种限速装置,所述装置应用于无线网络中的AC,所述装置包括:According to a second aspect of the embodiments of the present application, a speed limiting device is provided, the device is applied to an AC in a wireless network, and the device includes:

确定模块,用于根据无线网络中的至少一个AP上报的无线终端的接入信息,确定需要限速的无线终端;a determining module, configured to determine the wireless terminal that needs speed limit according to the access information of the wireless terminal reported by at least one AP in the wireless network;

计算模块,用于计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和;a calculation module, configured to calculate the sum of the actual transmission rate values included in the access information of all wireless terminals currently requiring speed limiting in the wireless network;

调整模块,用于若计算出的速率值之和大于预设的速率阈值,或者计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值,则按照预设的调整策略,对所述限速值进行调整;An adjustment module, used for if the sum of the calculated rate values is greater than the preset rate threshold, or if the calculated sum of the rates and the currently recorded speed limit value are both smaller than the preset rate threshold, then according to the preset adjustment strategy , adjust the speed limit value;

通知模块,用于通知当前所有需要限速的无线终端接入的AP删除配置到射频单元上的限速值,并将调整后的限速值作为当前需要限速的无线终端的限速值配置到对应的射频单元上,以由对应的射频单元使用调整后的限速值对当前需要限速的无线终端进行限速。The notification module is used to notify all APs currently accessing the wireless terminals that need speed limit to delete the speed limit value configured on the radio frequency unit, and use the adjusted speed limit value as the speed limit value configuration of the current wireless terminal that needs speed limit. Go to the corresponding radio frequency unit, and use the adjusted speed limit value by the corresponding radio frequency unit to limit the speed of the wireless terminal that currently needs to limit the speed.

本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:

本申请实施例中,AC可以依据AP上报的无线终端的接入信息,区分出需要限速的无线终端,专门针对当前所有需要限速的无线终端,依据相应的实际发送速率决策如何调整这些无线终端的限速值,并将调整后的限速值下发到相应的AP上,以实现对这些无线终端的限速。这种限速方式,可以合理地均衡带宽资源,减少带宽资源的浪费,并且不影响普通无线终端,提高了用户体验。In this embodiment of the present application, the AC can distinguish the wireless terminals that need to be speed-limited according to the access information of the wireless terminals reported by the AP, and decide how to adjust these wireless terminals according to the corresponding actual transmission rates specifically for all current wireless terminals that need to be speed-limited. The speed limit value of the terminal, and the adjusted speed limit value is sent to the corresponding AP to realize the speed limit for these wireless terminals. This rate limiting method can reasonably balance bandwidth resources, reduce waste of bandwidth resources, and does not affect common wireless terminals, thereby improving user experience.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.

附图说明Description of drawings

此处的附图被并入说明书中并构成本申请的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated into the specification and constitute a part of this application, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1为本申请实施例提供的一种限速方法的流程示意图之一;1 is one of the schematic flow charts of a speed limiting method provided by an embodiment of the present application;

图2为本申请实施例提供的一种限速方法的流程示意图之二;FIG. 2 is the second schematic flow chart of a speed limiting method provided by an embodiment of the present application;

图3为本申请实施例提供的一种限速装置的结构示意图。FIG. 3 is a schematic structural diagram of a speed limiting device according to an embodiment of the present application.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.

在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information without departing from the scope of the present application. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."

接下来对本申请实施例进行详细说明。Next, the embodiments of the present application will be described in detail.

本申请实施例提供了一种限速方法,该方法应用于无线网络中的AC,如图1所示,该方法可以包括如下步骤:An embodiment of the present application provides a rate limiting method, which is applied to an AC in a wireless network. As shown in FIG. 1 , the method may include the following steps:

S11、根据无线网络中的至少一个AP上报的无线终端的接入信息,确定需要限速的无线终端。S11. Determine the wireless terminal that needs speed limit according to the access information of the wireless terminal reported by at least one AP in the wireless network.

S12、计算无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和。S12: Calculate the sum of the actual sending rate values included in the access information of all wireless terminals currently requiring rate limiting in the wireless network.

S13、若计算出的速率值之和大于预设的速率阈值,或者计算出的速率总和与当前记录的限速值均小于预设的速率阈值,则按照预设的调整策略,对限速值进行调整。S13. If the sum of the calculated rate values is greater than the preset rate threshold, or if both the calculated sum of the rates and the currently recorded speed limit value are both smaller than the preset rate threshold, then according to the preset adjustment strategy, adjust the speed limit value make adjustments.

S14、通知当前所有需要限速的无线终端接入的AP删除配置到射频单元上的限速值,并将调整后的限速值作为当前需要限速的无线终端的限速值配置到对应的射频单元上,以由对应的射频单元使用调整后的限速值对当前需要限速的无线终端进行限速。S14. Notify all APs currently accessing the wireless terminals that need to limit the speed to delete the speed limit value configured on the radio frequency unit, and configure the adjusted speed limit value as the speed limit value of the wireless terminal that needs speed limit currently to the corresponding wireless terminal. On the radio frequency unit, the corresponding radio frequency unit uses the adjusted speed limit value to limit the speed of the wireless terminal that currently needs to limit the speed.

在本步骤中,对于当前所有需要限速的无线终端接入的AP中的任一AP,AC可以向该AP发送两条通知消息,一条通知消息用于指示该AP将配置到射频单元上的限速值(即,相应射频单元上需要限速的无线终端的限速值)全部删除,另一条通知消息用于指示该AP依据该AC下发的需要限速的无线终端的限速值,将其配置到对应的射频单元上。In this step, for any AP among the APs currently accessed by all wireless terminals that need to limit the speed, the AC can send two notification messages to the AP, and one notification message is used to instruct the AP to configure the The speed limit value (that is, the speed limit value of the wireless terminal that needs speed limit on the corresponding radio unit) is all deleted, and another notification message is used to indicate the speed limit value of the wireless terminal that needs speed limit issued by the AP according to the AC, Configure it on the corresponding RF unit.

AC也可以向该AP发送一条通知消息,通知该AP进行限速值的相关删除和配置。当然,AC还可以通过其他方式通知该AP,在此不再一一列举。The AC can also send a notification message to the AP to notify the AP to delete and configure the rate limit value. Of course, the AC may also notify the AP in other ways, which will not be listed one by one here.

在本申请实施例中,为了避免AP频繁调整限速,加重AP负载,避免调整限速过程中出现的一些无意义的调整,本申请不再由AP执行限速操作,AP仅负责向AC上报自身射频单元上接入的无线终端的接入信息,由AC依据这些接入信息来决策是否需要进行限速调整以及如何调整,以减轻AP的负载,每条接入信息可以包括无线终端接入的AP、无线终端接入的射频单元、无线终端的MAC地址、接入服务标识、实际发送速率等信息。In this embodiment of the present application, in order to prevent the AP from frequently adjusting the speed limit, increase the load on the AP, and avoid some meaningless adjustments in the process of adjusting the speed limit, the AP no longer performs the speed limit operation in this application, and the AP is only responsible for reporting to the AC The access information of the wireless terminal connected to its own radio unit. The AC decides whether and how to adjust the speed limit according to the access information to reduce the load of the AP. Each piece of access information can include the wireless terminal access information. information such as the AP, the radio frequency unit accessed by the wireless terminal, the MAC address of the wireless terminal, the access service identifier, and the actual transmission rate.

在这里,AP可以根据AC向其下发的上报策略上报无线终端的接入信息,例如上报策略为按照设定间隔上报等,这样一来,一定程度上真实地反映了无线终端稳定在线后一段时间内的实际发送速率,设定间隔设置的越短,后续限速调整的精度越高。Here, the AP can report the access information of the wireless terminal according to the reporting policy delivered to it by the AC. For example, the reporting policy is to report according to the set interval. In this way, to a certain extent, it truly reflects the period after the wireless terminal is stably online. The actual sending rate within the time period. The shorter the setting interval is, the higher the accuracy of subsequent rate limit adjustment will be.

AC一旦收到AP上报的接入信息,就触发限速流程,即,执行上述步骤S11至步骤S14。Once the AC receives the access information reported by the AP, it triggers the rate limiting process, that is, executes the above steps S11 to S14.

具体地,在上述步骤S11中,AC可以通过以下方式确定需要限速的无线终端:Specifically, in the above step S11, the AC can determine the wireless terminal that needs speed limit in the following ways:

针对每个无线终端,判断该无线终端的接入信息包括的MAC地址是否在预设的限速终端列表中;For each wireless terminal, determine whether the MAC address included in the access information of the wireless terminal is in the preset speed limit terminal list;

在判断结果为是时,进一步判断该无线终端的接入信息包括的接入服务标识是否为开启了限速服务功能的接入服务的标识,并在判断结果为是时,将该无线终端确定为需要限速的无线终端。When the determination result is yes, further determine whether the access service identifier included in the access information of the wireless terminal is the identifier of the access service with the speed limiting service function enabled, and when the determination result is yes, determine the wireless terminal For wireless terminals that require speed limiting.

需要说明的是,如果该无线终端的接入信息包括的MAC地址不在预设的限速终端列表中,或者该无线终端的接入信息包括的接入服务标识不为开启了限速服务功能的接入服务的标识,均说明该无线终端不是需要限速的无线终端,结束本流程。It should be noted that, if the MAC address included in the access information of the wireless terminal is not in the preset list of speed-limiting terminals, or the access service identifier included in the access information of the wireless terminal is not one with the speed-limiting service function enabled The identification of the access service indicates that the wireless terminal is not a wireless terminal that needs speed limit, and the process ends.

在确定出需要限速的无线终端之后,针对确定出的每个需要限速的无线终端,AC还可以执行以下操作:After determining the wireless terminals that need to be speed-limited, the AC can also perform the following operations for each determined wireless terminal that needs to be speed-limited:

判断本地是否已记录有该无线终端的接入信息;Determine whether the access information of the wireless terminal has been recorded locally;

在判断结果为是时,将已记录的该无线终端的接入信息更新为接收到的该无线终端的接入信息,并刷新对应的老化定时器;When the judgment result is yes, update the recorded access information of the wireless terminal to the received access information of the wireless terminal, and refresh the corresponding aging timer;

在判断结果为否时,记录该无线终端的接入信息,并为该无线终端的接入信息设置老化定时器;When the judgment result is no, record the access information of the wireless terminal, and set an aging timer for the access information of the wireless terminal;

在老化定时器超时时,删除当前记录的该无线终端的接入信息,并通知该无线终端接入的AP删除该无线终端的当前限速值,返回执行上述步骤S12,重新优化限速值,以避免离线的无线终端占用带宽资源。When the aging timer expires, the currently recorded access information of the wireless terminal is deleted, and the AP accessed by the wireless terminal is notified to delete the current speed limit value of the wireless terminal, and returns to the above step S12 to re-optimize the speed limit value, In order to avoid offline wireless terminals occupying bandwidth resources.

具体地,在上述步骤S13中,AC可以通过以下方式对限速值进行调整:Specifically, in the above step S13, the AC can adjust the speed limit value in the following ways:

第一种情况,在计算出的速率值之和大于预设的速率阈值时,通过以下方式对限速值进行调整:In the first case, when the sum of the calculated speed values is greater than the preset speed threshold, the speed limit value is adjusted in the following ways:

将限速值更改为当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值,并按照预设下调比例,例如,下调5%等,对更改后的限速值进行下调;Change the speed limit value to the highest actual sending rate value among the actual sending rate values of all current wireless terminals that need speed limiting, and adjust the speed limit value after the change according to the preset reduction ratio, for example, by 5%, etc. ;

将当前所有需要限速的无线终端的实际发送速率值中高于下调后的限速值的实际发送速率值均修改为下调后的限速值;Modifying the actual sending rate values that are higher than the reduced speed limit value among the actual sending rate values of all the wireless terminals currently requiring speed limit to the reduced speed limit value;

重新计算当前所有需要限速的无线终端的实际发送速率值,并在重新计算出的速率值之和大于预设的速率阈值时,将下调后的限速值作为限速值,返回执行将限速值更改为当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值的步骤,直到重新计算出的速率值之和不大于预设的速率阈值。Recalculate the actual sending rate values of all the wireless terminals that need speed limit at present, and when the sum of the recalculated rate values is greater than the preset rate threshold, use the reduced speed limit value as the speed limit value, and return to execute the limit value. The step of changing the speed value to the highest actual sending rate value among the current actual sending rate values of all wireless terminals that need speed limiting, until the sum of the recalculated rate values is not greater than the preset rate threshold.

第二种情况,在计算出的速率总和与当前记录的限速值均小于预设的速率阈值时,通过以下方式对限速值进行调整:In the second case, when the sum of the calculated speed and the currently recorded speed limit value are both less than the preset speed threshold value, the speed limit value is adjusted in the following ways:

按照预设上调比例,例如上调5%等,对限速值进行上调,其中,上调后的限速值不大于预设的速率阈值。The speed limit value is increased according to a preset increase ratio, for example, an increase of 5%, etc., wherein the increased speed limit value is not greater than a preset speed threshold value.

进一步地,在本申请实施例中,AC还可以执行以下操作:Further, in this embodiment of the present application, the AC may also perform the following operations:

在计算出的速率总和小于预设的速率阈值且限速值等于预设的速率阈值时,若当前所有需要限速的无线终端中存在漫游无线终端,则通知漫游无线终端漫游前的AP删除漫游无线终端的限速值,将限速值发送给漫游无线终端漫游后的AP,以使漫游无线终端漫游后的AP将限速值配置为漫游无线终端的限速值(此限速值实际上是配置到漫游无线终端接入的射频单元上),并使用限速值对漫游无线终端进行限速;若当前需要限速的无线终端中不存在漫游无线终端,结束本流程。When the sum of the calculated rates is less than the preset rate threshold and the rate limit value is equal to the preset rate threshold, if there are roaming wireless terminals among all the wireless terminals currently requiring speed limit, the AP before roaming is notified to the roaming wireless terminal to delete the roaming. The speed limit value of the wireless terminal, and the speed limit value is sent to the AP after the roaming wireless terminal roams, so that the AP after the roaming wireless terminal roams configures the speed limit value as the speed limit value of the roaming wireless terminal (this speed limit value actually It is configured on the radio frequency unit that the roaming wireless terminal accesses), and uses the speed limit value to limit the speed of the roaming wireless terminal; if there is no roaming wireless terminal in the wireless terminals that need speed limit currently, end this process.

在此操作流程中,针对每个需要限速的无线终端来说,可以判断该无线终端的接入信息包括的接入的AP和接入的射频单元是否较之前记录的发生了变化,如果发生了变化,说明该无线终端发生了漫游,确定该无线终端为漫游终端;如果没有发生变化,说明该无线终端未发生漫游,确定该无线终端不是漫游终端。In this operation process, for each wireless terminal that needs speed limit, it can be judged whether the accessed AP and the accessed radio frequency unit included in the access information of the wireless terminal have changed compared with those recorded before. If there is a change, it means that the wireless terminal has roamed, and it is determined that the wireless terminal is a roaming terminal; if there is no change, it means that the wireless terminal has not roamed, and it is determined that the wireless terminal is not a roaming terminal.

下面结合具体实施例对上述限速方法进行详细说明。The above speed limiting method will be described in detail below with reference to specific embodiments.

假设无线网络中的某个AP向AC上报了该AP的一个射频单元上新接入的一个无线终端;假设AC当前记录了该射频单元上2个需要限速的无线终端的接入信息,当前记录的限速值为P,预设的速率阈值为M,AC执行的限速流程如下(如图2所示):Suppose that an AP in the wireless network reports to the AC a wireless terminal newly accessed on a radio frequency unit of the AP; suppose that the AC currently records the access information of two wireless terminals on the radio frequency unit that need to be limited in speed. The recorded speed limit value is P, the preset speed threshold value is M, and the speed limit process performed by the AC is as follows (as shown in Figure 2):

S21:接收该无线终端的接入信息。S21: Receive access information of the wireless terminal.

S22:判断该无线终端的接入信息包括的MAC地址是否在预设的限速终端列表中;在判断结果为否时,执行步骤S23,在判断结果为是时,执行步骤S24。S22: Determine whether the MAC address included in the access information of the wireless terminal is in the preset speed-limiting terminal list; if the determination result is no, step S23 is performed, and if the determination result is yes, step S24 is performed.

S23:结束本流程。S23: End the process.

S24:判断该无线终端的接入信息包括的接入服务标识是否为开启了限速服务功能的接入服务的标识;在判断结果为否时,执行步骤S23,在判断结果为是时,执行步骤S25。S24: Determine whether the access service identifier included in the access information of the wireless terminal is the identifier of the access service with the speed-limiting service function enabled; when the determination result is no, execute step S23, and when the determination result is yes, execute Step S25.

S25:判断本地是否已记录有该无线终端的接入信息;在判断结果为是时,执行步骤S26,在判断结果为否时,执行步骤S27。S25: Determine whether the access information of the wireless terminal has been recorded locally; if the determination result is yes, step S26 is performed, and if the determination result is negative, step S27 is performed.

S26:将已记录的该无线终端的接入信息更新为接收到的该无线终端的接入信息,并刷新对应的老化定时器。S26: Update the recorded access information of the wireless terminal to the received access information of the wireless terminal, and refresh the corresponding aging timer.

S27:记录该无线终端的接入信息,并为该无线终端的接入信息设置老化定时器。S27: Record the access information of the wireless terminal, and set an aging timer for the access information of the wireless terminal.

后续在老化定时器超时时,删除该无线终端的接入信息,并通知该无线终端接入的AP删除该无线终端的当前限速值,继续执行步骤S28。Subsequently, when the aging timer expires, the access information of the wireless terminal is deleted, and the AP accessed by the wireless terminal is notified to delete the current speed limit value of the wireless terminal, and step S28 is continued.

S28:计算无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和。S28: Calculate the sum of the actual sending rate values included in the access information of all wireless terminals currently requiring rate limiting in the wireless network.

S29:判断计算出的速率值之和是否大于M;在判断结果为是时,执行步骤S30,在判断结果为否时,执行步骤S32。S29: Determine whether the sum of the calculated velocity values is greater than M; if the determination result is yes, step S30 is performed, and if the determination result is no, step S32 is performed.

S30:按照调整策略1,对P进行调整,得到P1。S30: According to the adjustment strategy 1, adjust P to obtain P1.

具体的调整过程见上述第一种情况的调整过程,在此不再详述。之后,执行步骤S31。For the specific adjustment process, see the adjustment process in the first case above, which will not be described in detail here. After that, step S31 is performed.

S31:通知该AP删除配置到射频单元上的限速值,并将P1作为这3个无线终端的限速值配置到该射频单元上,以由该射频单元使用P1对这3个无线终端进行限速。S31 : Notify the AP to delete the speed limit value configured on the radio frequency unit, and configure P1 as the speed limit value of the three wireless terminals on the radio frequency unit, so that the radio frequency unit uses P1 to perform operation on the three wireless terminals. speed limit.

S32:判断P是否小于M;在判断结果为是时,执行步骤S33,在判断结果为否时,执行步骤S35。S32: Determine whether P is less than M; if the determination result is yes, step S33 is performed, and if the determination result is no, step S35 is performed.

S33:按照调整策略2,对P进行调整,得到P2。S33: According to the adjustment strategy 2, adjust P to obtain P2.

具体的调整过程见上述第二种情况的调整过程,在此不再详述。之后,执行步骤S34。For the specific adjustment process, see the adjustment process in the second case above, which will not be described in detail here. After that, step S34 is performed.

S34:通知该AP删除配置到射频单元上的限速值,并将P2作为这3个无线终端的限速值配置到该射频单元上,以由该射频单元使用P2对这3个无线终端进行限速。S34: Notify the AP to delete the speed limit value configured on the radio frequency unit, and configure P2 as the speed limit value of the three wireless terminals on the radio frequency unit, so that the radio frequency unit uses P2 to perform the operation on the three wireless terminals. speed limit.

S35:判断P是否等于M;在判断结果为是时,执行步骤S36,在判断结果为否时,执行步骤S23。S35: Determine whether P is equal to M; if the determination result is yes, step S36 is performed, and if the determination result is no, step S23 is performed.

S36:若当前所有需要限速的无线终端中存在漫游无线终端,则通知漫游无线终端漫游前的AP删除漫游无线终端的限速值(即,P),并将P发送给漫游无线终端漫游后AP,以使漫游无线终端漫游后的AP将P配置为漫游无线终端的限速值,并使用P对漫游无线终端进行限速。S36: If there is a roaming wireless terminal among all the wireless terminals currently requiring speed limit, notify the AP before the roaming wireless terminal to delete the speed limit value (ie, P) of the roaming wireless terminal, and send P to the roaming wireless terminal after roaming. AP, so that the AP after the roaming wireless terminal roams configures P as the speed limit value of the roaming wireless terminal, and uses P to limit the speed of the roaming wireless terminal.

需要说明的是,AC执行完上述步骤S31,或者执行完上述步骤S34,又或者执行完上述步骤S36,意味着此次限速流程执行完毕,后续AC一旦接收到该AP或者其他AP上报的某个或者某些射频单元上接入的需要限速的无线终端的接入信息,重新启动限速流程;一旦发现某无线终端的接入信息的老化定时器超时,重新执行上述步骤S28,以及时调整带宽资源。It should be noted that, after the AC completes the above step S31, or the above step S34, or the above step S36, it means that the speed limit process is completed. The access information of the wireless terminal that needs to be speed-limited and accessed on one or some radio frequency units, restart the speed-limiting process; once it is found that the aging timer of the access information of a certain wireless terminal has expired, the above step S28 is re-executed to timely Adjust bandwidth resources.

由以上技术方案可以看出,AC可以依据AP上报的无线终端的接入信息,区分出需要限速的无线终端,专门针对当前所有需要限速的无线终端,依据相应的实际发送速率决策如何调整这些无线终端的限速值,并将调整后的限速值下发到相应的AP的上,以实现对这些无线终端的限速。这种限速方式,可以合理地均衡带宽资源,减少带宽资源的浪费,并且不影响普通无线终端,提高了用户体验。It can be seen from the above technical solutions that the AC can distinguish the wireless terminals that need speed limiting according to the access information of the wireless terminals reported by the AP. The speed limit value of these wireless terminals, and the adjusted speed limit value is delivered to the corresponding AP, so as to realize the speed limit for these wireless terminals. This rate limiting method can reasonably balance bandwidth resources, reduce waste of bandwidth resources, and does not affect common wireless terminals, thereby improving user experience.

基于同一发明构思,本申请还提供了一种限速装置,该装置应用于无线网络中的AC,其结构示意图如图3所示,具体包括:Based on the same inventive concept, the present application also provides a speed limiting device, which is applied to an AC in a wireless network. The schematic diagram of the structure is shown in FIG. 3 , and specifically includes:

确定模块31,用于根据所述无线网络中的至少一个AP上报的无线终端的接入信息,确定需要限速的无线终端;A determination module 31, configured to determine the wireless terminal that needs speed limit according to the access information of the wireless terminal reported by at least one AP in the wireless network;

计算模块32,用于计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和;A calculation module 32, configured to calculate the sum of the actual transmission rate values included in the access information of all wireless terminals currently requiring speed limiting in the wireless network;

调整模块33,用于若计算出的速率值之和大于预设的速率阈值,或者计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值,则按照预设的调整策略,对所述限速值进行调整;Adjustment module 33, for if the sum of the calculated speed values is greater than the preset speed threshold, or the calculated sum of the speed and the currently recorded speed limit value are both less than the preset speed threshold, then adjust according to the preset strategy to adjust the speed limit value;

通知模块34,用于通知当前所有需要限速的无线终端接入的AP删除配置到射频单元上的限速值,并将调整后的限速值作为当前需要限速的无线终端的限速值配置到对应的射频单元上,以由对应的射频单元使用调整后的限速值对当前需要限速的无线终端进行限速。The notification module 34 is used to notify all APs currently accessing the wireless terminals that need to limit the speed to delete the speed limit value configured on the radio frequency unit, and use the adjusted speed limit value as the speed limit value of the wireless terminal that currently needs the speed limit. It is configured on the corresponding radio frequency unit, so that the corresponding radio frequency unit uses the adjusted speed limit value to limit the speed of the wireless terminal that currently needs to limit the speed.

优选地,确定模块31,具体用于:Preferably, the determining module 31 is specifically used for:

针对每个无线终端,判断该无线终端的接入信息包括的MAC地址是否在预设的限速终端列表中;For each wireless terminal, determine whether the MAC address included in the access information of the wireless terminal is in the preset speed limit terminal list;

在判断结果为是时,进一步判断该无线终端的接入信息包括的接入服务标识是否为开启了限速服务功能的接入服务的标识,并在判断结果为是时,将该无线终端确定为需要限速的无线终端。When the determination result is yes, further determine whether the access service identifier included in the access information of the wireless terminal is the identifier of the access service with the speed limiting service function enabled, and when the determination result is yes, determine the wireless terminal For wireless terminals that require speed limiting.

优选地,调整模块33,具体用于:Preferably, the adjustment module 33 is specifically used for:

在计算出的速率值之和大于预设的速率阈值时,将所述限速值更改为所述当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值,并按照预设下调比例,对更改后的限速值进行下调;When the sum of the calculated rate values is greater than the preset rate threshold, the rate limit value is changed to the highest actual transmission rate value among the actual transmission rate values of all the current wireless terminals that need to be limited in speed, and according to the preset rate Set the reduction ratio to lower the changed speed limit value;

将所述当前所有需要限速的无线终端的实际发送速率值中高于下调后的限速值的实际发送速率值均修改为下调后的限速值;Modifying the actual transmission rate values that are higher than the down-regulated speed-limit values in the actual transmission rate values of all the wireless terminals currently requiring speed-limiting to the down-regulated rate-limit values;

重新计算所述当前所有需要限速的无线终端的实际发送速率值,并在重新计算出的速率值之和大于所述预设的速率阈值时,将下调后的限速值作为所述限速值,返回执行将所述限速值更改为所述当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值的步骤,直到重新计算出的速率值之和不大于所述预设的速率阈值;Recalculate the actual transmission rate values of all the current wireless terminals that need speed limiting, and when the sum of the recalculated rate values is greater than the preset rate threshold, use the lowered speed limit value as the speed limit value, return and execute the step of changing the speed limit value to the highest actual sending rate value among the actual sending rate values of all current wireless terminals that need speed limiting, until the sum of the recalculated rate values is not greater than the preset rate threshold;

在计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值时,按照预设上调比例,对所述限速值进行上调,其中,上调后的限速值不大于所述预设的速率阈值。When the sum of the calculated speed and the currently recorded speed limit value are both smaller than the preset speed threshold value, the speed limit value is increased according to the preset increase ratio, wherein the increased speed limit value is not greater than the preset speed limit value. the preset rate threshold.

优选地,通知模块34,还用于:Preferably, the notification module 34 is further configured to:

在计算出的速率总和小于所述预设的速率阈值且所述限速值等于所述预设的速率阈值时,若所述当前所有需要限速的无线终端中存在漫游无线终端,则通知所述漫游无线终端漫游前的AP删除所述漫游无线终端的限速值;将所述限速值发送给所述漫游无线终端漫游后的AP,以使所述漫游无线终端漫游后的AP将所述限速值配置为所述漫游无线终端的限速值,并使用所述限速值对所述漫游无线终端进行限速。When the sum of the calculated rates is less than the preset rate threshold and the rate limit value is equal to the preset rate threshold, if there is a roaming wireless terminal among all the current wireless terminals that need to limit the speed, notify the The AP before the roaming wireless terminal roams deletes the speed limit value of the roaming wireless terminal; sends the speed limit value to the AP after the roaming wireless terminal roams, so that the AP after the roaming wireless terminal roams The speed limit value is configured as a speed limit value of the roaming wireless terminal, and the speed limit value is used to limit the speed of the roaming wireless terminal.

优选地,确定模块31,还用于:Preferably, the determining module 31 is further configured to:

针对确定出的每个需要限速的无线终端,判断本地是否已记录有该无线终端的接入信息;For each determined wireless terminal that needs to be limited in speed, determine whether the access information of the wireless terminal has been recorded locally;

在判断结果为是时,将已记录的该无线终端的接入信息更新为接收到的该无线终端的接入信息,并刷新对应的老化定时器;When the judgment result is yes, update the recorded access information of the wireless terminal to the received access information of the wireless terminal, and refresh the corresponding aging timer;

在判断结果为否时,记录该无线终端的接入信息,并为该无线终端的接入信息设置老化定时器;When the judgment result is no, record the access information of the wireless terminal, and set an aging timer for the access information of the wireless terminal;

在老化定时器超时时,删除当前记录的该无线终端的接入信息,并通知该无线终端接入的AP删除该无线终端的当前限速值,返回执行计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和的步骤。When the aging timer expires, delete the currently recorded access information of the wireless terminal, notify the AP accessed by the wireless terminal to delete the current speed limit value of the wireless terminal, and return to executing the calculation of all the current required limit values in the wireless network. The step of adding the actual transmission rate value included in the access information of the fast wireless terminal.

由以上技术方案可以看出,AC可以依据AP上报的无线终端的接入信息,区分出需要限速的无线终端,专门针对当前所有需要限速的无线终端,依据相应的实际发送速率决策如何调整这些无线终端的限速值,并将调整后的限速值下发到相应的AP上,以实现对这些无线终端的限速。这种限速方式,可以合理地均衡带宽资源,减少带宽资源的浪费,并且不影响普通无线终端,提高了用户体验。It can be seen from the above technical solutions that the AC can distinguish the wireless terminals that need speed limiting according to the access information of the wireless terminals reported by the AP. The speed limit value of these wireless terminals, and the adjusted speed limit value is delivered to the corresponding AP, so as to realize the speed limit for these wireless terminals. This rate limiting method can reasonably balance bandwidth resources, reduce waste of bandwidth resources, and does not affect common wireless terminals, thereby improving user experience.

以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the present application. within the scope of protection.

Claims (10)

1.一种限速方法,其特征在于,所述方法应用于无线网络中的接入控制器AC,所述方法包括:1. A rate limiting method, wherein the method is applied to an access controller AC in a wireless network, and the method comprises: 根据所述无线网络中的至少一个接入点AP上报的无线终端的接入信息,确定需要限速的无线终端;According to the access information of the wireless terminal reported by at least one access point AP in the wireless network, determine the wireless terminal that needs speed limit; 计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和;Calculate the sum of the actual sending rate values included in the access information of all wireless terminals currently requiring speed limiting in the wireless network; 若计算出的速率值之和大于预设的速率阈值,或者计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值,则按照预设的调整策略,对所述限速值进行调整;If the sum of the calculated rate values is greater than the preset rate threshold, or if both the calculated sum of the rates and the currently recorded speed limit value are both smaller than the preset rate threshold, then according to the preset adjustment strategy, the speed value adjustment; 通知当前所有需要限速的无线终端接入的AP删除配置到射频单元上的限速值,并将调整后的限速值作为当前需要限速的无线终端的限速值配置到对应的射频单元上,以由对应的射频单元使用调整后的限速值对当前需要限速的无线终端进行限速。Notify all APs currently accessing the wireless terminals that need speed limiting to delete the speed limit value configured on the radio unit, and configure the adjusted speed limit value as the speed limit value of the current wireless terminal that needs speed limiting to the corresponding radio frequency unit above, the corresponding radio frequency unit uses the adjusted speed limit value to limit the speed of the wireless terminal that currently needs speed limit. 2.根据权利要求1所述的方法,其特征在于,根据所述无线网络中的至少一个AP上报的无线终端的接入信息,确定需要限速的无线终端,具体包括:2 . The method according to claim 1 , wherein, according to the access information of the wireless terminal reported by at least one AP in the wireless network, determining the wireless terminal that needs speed limit, specifically comprising: 3 . 针对每个无线终端,判断该无线终端的接入信息包括的MAC地址是否在预设的限速终端列表中;For each wireless terminal, determine whether the MAC address included in the access information of the wireless terminal is in the preset speed limit terminal list; 在判断结果为是时,进一步判断该无线终端的接入信息包括的接入服务标识是否为开启了限速服务功能的接入服务的标识,并在判断结果为是时,将该无线终端确定为需要限速的无线终端。When the determination result is yes, further determine whether the access service identifier included in the access information of the wireless terminal is the identifier of the access service with the speed limiting service function enabled, and when the determination result is yes, determine the wireless terminal For wireless terminals that require speed limiting. 3.根据权利要求1或2所述的方法,其特征在于,按照预设的调整策略,对所述限速值进行调整,具体包括:3. The method according to claim 1 or 2, wherein the speed limit value is adjusted according to a preset adjustment strategy, which specifically includes: 在计算出的速率值之和大于预设的速率阈值时,将所述限速值更改为所述当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值,并按照预设下调比例,对更改后的限速值进行下调;When the sum of the calculated rate values is greater than the preset rate threshold, the rate limit value is changed to the highest actual transmission rate value among the actual transmission rate values of all the current wireless terminals that need to be limited in speed, and according to the preset rate Set the reduction ratio to lower the changed speed limit value; 将所述当前所有需要限速的无线终端的实际发送速率值中高于下调后的限速值的实际发送速率值均修改为下调后的限速值;Modifying the actual transmission rate values that are higher than the down-regulated speed-limit values in the actual transmission rate values of all the wireless terminals currently requiring speed-limiting to the down-regulated rate-limit values; 重新计算所述当前所有需要限速的无线终端的实际发送速率值,并在重新计算出的速率值之和大于所述预设的速率阈值时,将下调后的限速值作为所述限速值,返回执行将所述限速值更改为所述当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值的步骤,直到重新计算出的速率值之和不大于所述预设的速率阈值;Recalculate the actual transmission rate values of all the current wireless terminals that need speed limiting, and when the sum of the recalculated rate values is greater than the preset rate threshold, use the lowered speed limit value as the speed limit value, return and execute the step of changing the speed limit value to the highest actual sending rate value among the actual sending rate values of all current wireless terminals that need speed limiting, until the sum of the recalculated rate values is not greater than the preset rate threshold; 在计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值时,按照预设上调比例,对所述限速值进行上调,其中,上调后的限速值不大于所述预设的速率阈值。When the sum of the calculated speed and the currently recorded speed limit value are both smaller than the preset speed threshold value, the speed limit value is increased according to the preset increase ratio, wherein the increased speed limit value is not greater than the preset speed limit value. the preset rate threshold. 4.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1 or 2, wherein the method further comprises: 在计算出的速率总和小于所述预设的速率阈值且所述限速值等于所述预设的速率阈值时,若所述当前所有需要限速的无线终端中存在漫游无线终端,则通知所述漫游无线终端漫游前的AP删除所述漫游无线终端的限速值;When the sum of the calculated rates is less than the preset rate threshold and the rate limit value is equal to the preset rate threshold, if there is a roaming wireless terminal among all the current wireless terminals that need to limit the speed, notify the The AP before the roaming wireless terminal roams deletes the speed limit value of the roaming wireless terminal; 将所述限速值发送给所述漫游无线终端漫游后的AP,以使所述漫游无线终端漫游后的AP将所述限速值配置为所述漫游无线终端的限速值,并使用所述限速值对所述漫游无线终端进行限速。Send the speed limit value to the AP after the roaming wireless terminal roams, so that the AP after the roaming wireless terminal roams configures the speed limit value as the speed limit value of the roaming wireless terminal, and uses the speed limit value of the roaming wireless terminal. The speed limit value is used to limit the speed of the roaming wireless terminal. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises: 针对确定出的每个需要限速的无线终端,判断本地是否已记录有该无线终端的接入信息;For each determined wireless terminal that needs to be limited in speed, determine whether the access information of the wireless terminal has been recorded locally; 在判断结果为是时,将已记录的该无线终端的接入信息更新为接收到的该无线终端的接入信息,并刷新对应的老化定时器;When the judgment result is yes, update the recorded access information of the wireless terminal to the received access information of the wireless terminal, and refresh the corresponding aging timer; 在判断结果为否时,记录该无线终端的接入信息,并为该无线终端的接入信息设置老化定时器;When the judgment result is no, record the access information of the wireless terminal, and set an aging timer for the access information of the wireless terminal; 在老化定时器超时时,删除当前记录的该无线终端的接入信息,并通知该无线终端接入的AP删除该无线终端的当前限速值,返回执行计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和的步骤。When the aging timer expires, delete the currently recorded access information of the wireless terminal, notify the AP accessed by the wireless terminal to delete the current speed limit value of the wireless terminal, and return to executing the calculation of all the current required limit values in the wireless network. The step of adding the actual transmission rate value included in the access information of the fast wireless terminal. 6.一种限速装置,其特征在于,所述装置应用于无线网络中的接入控制器AC,所述装置包括:6. A speed limiting device, wherein the device is applied to an access controller AC in a wireless network, and the device comprises: 确定模块,用于根据所述无线网络中的至少一个接入点AP上报的无线终端的接入信息,确定需要限速的无线终端;a determining module, configured to determine the wireless terminal that needs speed limit according to the access information of the wireless terminal reported by at least one access point AP in the wireless network; 计算模块,用于计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和;a calculation module, configured to calculate the sum of the actual transmission rate values included in the access information of all wireless terminals currently requiring speed limiting in the wireless network; 调整模块,用于若计算出的速率值之和大于预设的速率阈值,或者计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值,则按照预设的调整策略,对所述限速值进行调整;An adjustment module, used for if the sum of the calculated rate values is greater than the preset rate threshold, or if the calculated sum of the rates and the currently recorded speed limit value are both smaller than the preset rate threshold, then according to the preset adjustment strategy , adjust the speed limit value; 通知模块,用于通知当前所有需要限速的无线终端接入的AP删除配置到射频单元上的限速值,并将调整后的限速值作为当前需要限速的无线终端的限速值配置到对应的射频单元上,以由对应的射频单元使用调整后的限速值对当前需要限速的无线终端进行限速。The notification module is used to notify all APs currently accessing the wireless terminals that need speed limit to delete the speed limit value configured on the radio frequency unit, and use the adjusted speed limit value as the speed limit value configuration of the current wireless terminal that needs speed limit. Go to the corresponding radio frequency unit, and use the adjusted speed limit value by the corresponding radio frequency unit to limit the speed of the wireless terminal that currently needs to limit the speed. 7.根据权利要求6所述的装置,其特征在于,所述确定模块,具体用于:7. The device according to claim 6, wherein the determining module is specifically used for: 针对每个无线终端,判断该无线终端的接入信息包括的MAC地址是否在预设的限速终端列表中;For each wireless terminal, determine whether the MAC address included in the access information of the wireless terminal is in the preset speed limit terminal list; 在判断结果为是时,进一步判断该无线终端的接入信息包括的接入服务标识是否为开启了限速服务功能的接入服务的标识,并在判断结果为是时,将该无线终端确定为需要限速的无线终端。When the determination result is yes, further determine whether the access service identifier included in the access information of the wireless terminal is the identifier of the access service with the speed limiting service function enabled, and when the determination result is yes, determine the wireless terminal For wireless terminals that require speed limiting. 8.根据权利要求6或7所述的装置,其特征在于,所述调整模块,具体用于:8. The device according to claim 6 or 7, wherein the adjustment module is specifically used for: 在计算出的速率值之和大于预设的速率阈值时,将所述限速值更改为所述当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值,并按照预设下调比例,对更改后的限速值进行下调;When the sum of the calculated rate values is greater than the preset rate threshold, the rate limit value is changed to the highest actual transmission rate value among the actual transmission rate values of all the current wireless terminals that need to be limited in speed, and according to the preset rate Set the reduction ratio to lower the changed speed limit value; 将所述当前所有需要限速的无线终端的实际发送速率值中高于下调后的限速值的实际发送速率值均修改为下调后的限速值;Modifying the actual transmission rate values that are higher than the down-regulated speed-limit values in the actual transmission rate values of all the wireless terminals currently requiring speed-limiting to the down-regulated rate-limit values; 重新计算所述当前所有需要限速的无线终端的实际发送速率值,并在重新计算出的速率值之和大于所述预设的速率阈值时,将下调后的限速值作为所述限速值,返回执行将所述限速值更改为所述当前所有需要限速的无线终端的实际发送速率值中最高的实际发送速率值的步骤,直到重新计算出的速率值之和不大于所述预设的速率阈值;Recalculate the actual transmission rate values of all the current wireless terminals that need speed limiting, and when the sum of the recalculated rate values is greater than the preset rate threshold, use the lowered speed limit value as the speed limit value, return and execute the step of changing the speed limit value to the highest actual sending rate value among the actual sending rate values of all current wireless terminals that need speed limiting, until the sum of the recalculated rate values is not greater than the preset rate threshold; 在计算出的速率总和与当前记录的限速值均小于所述预设的速率阈值时,按照预设上调比例,对所述限速值进行上调,其中,上调后的限速值小于所述预设的速率阈值。When the sum of the calculated speed and the currently recorded speed limit value are both smaller than the preset speed threshold value, the speed limit value is increased according to a preset increase ratio, wherein the increased speed limit value is smaller than the preset speed limit value. Preset rate threshold. 9.根据权利要求6或7所述的装置,其特征在于,所述通知模块,还用于:9. The device according to claim 6 or 7, wherein the notification module is further configured to: 在计算出的速率总和小于所述预设的速率阈值且所述限速值等于所述预设的速率阈值时,若所述当前所有需要限速的无线终端中存在漫游无线终端,则通知所述漫游无线终端漫游前的AP删除所述漫游无线终端的限速值,将所述限速值发送给所述AP,以使所述漫游无线终端漫游后的AP,以使所述漫游无线终端漫游后的AP将所述限速值配置为所述漫游无线终端的限速值,并使用所述限速值对所述漫游无线终端进行限速。When the sum of the calculated rates is less than the preset rate threshold and the rate limit value is equal to the preset rate threshold, if there is a roaming wireless terminal among all the current wireless terminals that need to limit the speed, notify the The AP before the roaming wireless terminal roams deletes the speed limit value of the roaming wireless terminal, and sends the speed limit value to the AP, so that the AP after the roaming wireless terminal roams, so that the roaming wireless terminal The AP after roaming configures the speed limit value as the speed limit value of the roaming wireless terminal, and uses the speed limit value to limit the speed of the roaming wireless terminal. 10.根据权利要求6所述的装置,其特征在于,所述确定模块,还用于:10. The apparatus according to claim 6, wherein the determining module is further configured to: 针对确定出的每个需要限速的无线终端,判断本地是否已记录有该无线终端的接入信息;For each determined wireless terminal that needs to be limited in speed, determine whether the access information of the wireless terminal has been recorded locally; 在判断结果为是时,将已记录的该无线终端的接入信息更新为接收到的该无线终端的接入信息,并刷新对应的老化定时器;When the judgment result is yes, update the recorded access information of the wireless terminal to the received access information of the wireless terminal, and refresh the corresponding aging timer; 在判断结果为否时,记录该无线终端的接入信息,并为该无线终端的接入信息设置老化定时器;When the judgment result is no, record the access information of the wireless terminal, and set an aging timer for the access information of the wireless terminal; 在老化定时器超时时,删除当前记录的该无线终端的接入信息,并通知该无线终端接入的AP删除该无线终端的当前限速值,返回执行计算所述无线网络中当前所有需要限速的无线终端的接入信息包括的实际发送速率值之和的步骤。When the aging timer expires, delete the currently recorded access information of the wireless terminal, notify the AP accessed by the wireless terminal to delete the current speed limit value of the wireless terminal, and return to executing the calculation of all the current required limit values in the wireless network. The step of adding the actual transmission rate value included in the access information of the fast wireless terminal.
CN202010528019.9A 2020-06-10 2020-06-10 A speed limiting method and device Pending CN111866958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010528019.9A CN111866958A (en) 2020-06-10 2020-06-10 A speed limiting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010528019.9A CN111866958A (en) 2020-06-10 2020-06-10 A speed limiting method and device

Publications (1)

Publication Number Publication Date
CN111866958A true CN111866958A (en) 2020-10-30

Family

ID=72986487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010528019.9A Pending CN111866958A (en) 2020-06-10 2020-06-10 A speed limiting method and device

Country Status (1)

Country Link
CN (1) CN111866958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189298A (en) * 2021-10-22 2022-03-15 新华三大数据技术有限公司 Wireless network system and method for counting average time delay

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216897A1 (en) * 2007-04-13 2009-08-27 Huawei Technologies Co., Ltd. Method and system for controlling streaming rates
CN101917345A (en) * 2010-09-01 2010-12-15 杭州华三通信技术有限公司 Method and device for controlling flows in wireless local area network
WO2012000248A1 (en) * 2010-06-30 2012-01-05 中兴通讯股份有限公司 System and method for realizing service speed limitation
CN103825812A (en) * 2014-02-17 2014-05-28 杭州华三通信技术有限公司 Network speed limiting device and method
CN103874133A (en) * 2012-12-10 2014-06-18 深圳国人通信有限公司 Method and device for bandwidth control and access point
JP2015046815A (en) * 2013-08-29 2015-03-12 京セラ株式会社 Wireless terminal, communication band selection method, and processor
KR101514027B1 (en) * 2013-11-26 2015-04-22 주식회사에어플러그 Method for controlling using a wireless network of a wireless terminal according to using conditions and an apparatus for said method
CN104618259A (en) * 2014-12-25 2015-05-13 杭州华三通信技术有限公司 Method and device for limiting speed of terminal device
CN105407501A (en) * 2015-10-23 2016-03-16 上海斐讯数据通信技术有限公司 AP, AP speed-limit method and system
CN106550393A (en) * 2016-10-13 2017-03-29 上海斐讯数据通信技术有限公司 A kind of business WIFI user dynamic bandwidth method for limiting and system
CN106664642A (en) * 2014-07-11 2017-05-10 Lg电子株式会社 Method and apparatus for performing access control for network sharing in wireless communication system
CN106707236A (en) * 2015-07-21 2017-05-24 新华三技术有限公司 Terminal positioning and measurement method and wireless access device
CN107276786A (en) * 2017-05-05 2017-10-20 北京星网锐捷网络技术有限公司 A kind of wireless method for limiting speed and system based on wlan

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216897A1 (en) * 2007-04-13 2009-08-27 Huawei Technologies Co., Ltd. Method and system for controlling streaming rates
WO2012000248A1 (en) * 2010-06-30 2012-01-05 中兴通讯股份有限公司 System and method for realizing service speed limitation
CN101917345A (en) * 2010-09-01 2010-12-15 杭州华三通信技术有限公司 Method and device for controlling flows in wireless local area network
CN103874133A (en) * 2012-12-10 2014-06-18 深圳国人通信有限公司 Method and device for bandwidth control and access point
JP2015046815A (en) * 2013-08-29 2015-03-12 京セラ株式会社 Wireless terminal, communication band selection method, and processor
KR101514027B1 (en) * 2013-11-26 2015-04-22 주식회사에어플러그 Method for controlling using a wireless network of a wireless terminal according to using conditions and an apparatus for said method
CN103825812A (en) * 2014-02-17 2014-05-28 杭州华三通信技术有限公司 Network speed limiting device and method
CN106664642A (en) * 2014-07-11 2017-05-10 Lg电子株式会社 Method and apparatus for performing access control for network sharing in wireless communication system
CN104618259A (en) * 2014-12-25 2015-05-13 杭州华三通信技术有限公司 Method and device for limiting speed of terminal device
CN106707236A (en) * 2015-07-21 2017-05-24 新华三技术有限公司 Terminal positioning and measurement method and wireless access device
CN105407501A (en) * 2015-10-23 2016-03-16 上海斐讯数据通信技术有限公司 AP, AP speed-limit method and system
CN106550393A (en) * 2016-10-13 2017-03-29 上海斐讯数据通信技术有限公司 A kind of business WIFI user dynamic bandwidth method for limiting and system
CN107276786A (en) * 2017-05-05 2017-10-20 北京星网锐捷网络技术有限公司 A kind of wireless method for limiting speed and system based on wlan

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189298A (en) * 2021-10-22 2022-03-15 新华三大数据技术有限公司 Wireless network system and method for counting average time delay
CN114189298B (en) * 2021-10-22 2024-02-09 新华三大数据技术有限公司 Wireless network system and method for counting average time delay thereof

Similar Documents

Publication Publication Date Title
US11616372B2 (en) Charging method, apparatus, and system
CN119652755A (en) Resource management method and device
KR101564238B1 (en) Overload control in a packet mobile communication system
CN101917742B (en) Data transmission method, equipment and system
US11165912B2 (en) Methods and devices for time-based conditional presence reporting
CN102143534B (en) Method, equipment and system for processing bandwidth control
GB2489617A (en) Accurate billing for services used across multipleserving nodes
CN101932029A (en) Data transmission method, device and system
WO2015027482A1 (en) Network capability information transmitting method and device
CN102665187B (en) Intelligent pipeline control method based on intelligent terminal
CN111328028A (en) Communication method and device
JP2023543825A (en) Method and system for dynamically triggering access and mobility policy changes
WO2020083051A1 (en) Network element load balancing method and network device
TW200824349A (en) Load balancing method for wireless network system
CN103152794B (en) Business access method and access controller
CN111866958A (en) A speed limiting method and device
CN109428781A (en) Session dosage monitoring and control method, server and storage medium
CN100466625C (en) A method and system for implementing service flow control
CN100486249C (en) Method for adjusting transmission control protocol receive window
WO2014205831A1 (en) Method and device for transmitting service
CN100441034C (en) Method for serving general packet radio service support node to control resource allocation
US11689645B2 (en) Service data transmission method and apparatus
WO2018177003A1 (en) Charging method, and related device and system
CN102685846A (en) Method and system for updating system information
CN106332133B (en) Precise paging setting method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030