WO2012009997A1 - 带宽分配方法及装置 - Google Patents

带宽分配方法及装置 Download PDF

Info

Publication number
WO2012009997A1
WO2012009997A1 PCT/CN2011/073098 CN2011073098W WO2012009997A1 WO 2012009997 A1 WO2012009997 A1 WO 2012009997A1 CN 2011073098 W CN2011073098 W CN 2011073098W WO 2012009997 A1 WO2012009997 A1 WO 2012009997A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
service
value
reported
preset
Prior art date
Application number
PCT/CN2011/073098
Other languages
English (en)
French (fr)
Inventor
魏立强
严技凯
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012009997A1 publication Critical patent/WO2012009997A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a bandwidth allocation method and apparatus. Background technique
  • PON Passive Optical Network
  • P0N Physical Uplink Data transmission
  • All 0NT Optical Network Terminal
  • TDMA Time Division Multiple Access
  • each ONT can only send uplink data in the uplink grant time slot allocated by the OLT (Optical Line Terminal).
  • uplink bandwidth allocation generally uses DBA (Dynamic Bandwidth Allocation) technology.
  • DBA Dynamic Bandwidth Allocation
  • the purpose of using DBA technology is to improve bandwidth utilization by classifying the QoS (Quality of Service) level.
  • the uplink bandwidth is divided into fixed bandwidth and dynamic bandwidth. Once fixed bandwidth is allocated, it persists regardless of the current. Whether the user has uplink data needs to be sent, and the dynamic bandwidth is dynamically adjusted according to the amount of uplink data that the current user needs to send.
  • a fixed bandwidth is used to carry services such as T1 and E1 with strong real-time performance.
  • Such services require high delay and jitter.
  • fixed bandwidth is configured for a certain service. The delay and jitter requirements of the service, but if the service is not continuous, there may be no service at some time, and the existing DBA technology still allocates fixed bandwidth for the service, and there is a problem of bandwidth waste, especially For some services with long interruptions, it will cause a lot of bandwidth waste.
  • the embodiment of the invention provides a bandwidth allocation method for saving bandwidth and improving bandwidth utilization, including:
  • the first bandwidth is allocated to the service within the next specified time length, and the bandwidth value of the first bandwidth is smaller than The bandwidth value of the fixed bandwidth.
  • the data traffic reported by the service in the next specified time length is determined according to the data traffic reported in the at least one specified time period before the service that has been allocated the fixed bandwidth is:
  • the data traffic reported by the service in the N consecutive specified time lengths is not greater than the preset traffic value, where N is a positive integer and N is not less than a preset threshold, and the service is determined to be within a next specified time length.
  • the reported data traffic is not greater than the preset traffic value; if N is less than the preset threshold, it is determined that the data traffic reported by the service in the next specified time length is greater than the preset traffic value.
  • the first bandwidth allocated for the service is:
  • bandwidth value of the second bandwidth is a product of a preset percentage and the fixed bandwidth
  • the method also includes:
  • the fixed bandwidth is continuously allocated for the service within the next specified time length.
  • the method further includes: determining a remaining bandwidth, and performing dynamic bandwidth allocation on other services by using the remaining bandwidth.
  • the embodiment of the present invention further provides a bandwidth allocation device, which is used to save bandwidth and improve bandwidth utilization.
  • the device includes: a first determining unit and a first allocating unit, where
  • the first determining unit is configured to determine, according to the data traffic reported in the at least one specified time length before the service that has been allocated the fixed bandwidth, the data traffic that is reported by the service in the next specified time length;
  • the first allocating unit is configured to: when the data traffic reported by the service in the next specified time length is not greater than the preset traffic value, allocate the first bandwidth to the service within the next specified time length, The bandwidth value of the first bandwidth is less than the bandwidth value of the fixed bandwidth.
  • the determining unit includes: a first determining subunit and a second determining subunit; wherein, the first determining subunit is configured to: when the service reports the data traffic in the continuous N consecutive time lengths, the data traffic is not greater than the determining If the traffic value is set to be a positive integer and N is not less than the preset threshold, it is determined that the data traffic reported by the service in the next specified time length is not greater than the preset traffic value;
  • the second determining subunit is configured to: when the data traffic reported by the service in the continuous N consecutive time lengths is not greater than the preset traffic value, where the N is less than the preset threshold, determine the The data traffic reported by the service in the next specified time length is greater than the preset traffic value.
  • the allocating unit allocates a first bandwidth for the service:
  • bandwidth value of the second bandwidth is a product of a preset percentage and the fixed bandwidth
  • the device further includes a second allocating unit, configured to continue to allocate the fixed bandwidth for the service within the next specified time length when the data traffic reported in the next specified time length is greater than the preset traffic value .
  • the apparatus also includes a second determining unit for determining remaining bandwidth and utilizing remaining bandwidth pairs Other services perform dynamic bandwidth allocation.
  • the data traffic reported in the next time length of the service is determined according to the data traffic reported in the time length of the service that has been allocated the fixed bandwidth, and the data traffic reported in the next time length is not greater than the preset traffic.
  • the value is, the first bandwidth is allocated to the service instead of the fixed bandwidth, where the first bandwidth value is smaller than the fixed bandwidth value.
  • the bandwidth allocation method provided by the embodiment of the present invention, for some services with a long interruption time, when the data traffic reported in the next time length is not greater than the preset traffic value, the service allocation is less than the fixed bandwidth.
  • the first bandwidth of the value rather than the fixed bandwidth value, saves bandwidth and increases bandwidth utilization.
  • FIG. 1 is a flowchart of a bandwidth allocation method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an embodiment of a bandwidth allocation method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a first structure of a bandwidth allocation apparatus according to an embodiment of the present invention. Schematic;
  • FIG. 5 is a schematic diagram of a second structure of a bandwidth allocation apparatus according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a third structure of a bandwidth allocation apparatus according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention provides a bandwidth allocation method.
  • the specific processing flow is as shown in FIG. 1 , and the method includes:
  • Step 101 Determine, according to the data traffic reported in the length of the specified time (ie, at least one specified time) before the service to which the fixed bandwidth is allocated, the data traffic reported by the service in the next specified time length;
  • Step 102 When the data traffic reported in the next specified time length is not greater than the preset traffic value, the first bandwidth is allocated for the service in the next specified time length, where the bandwidth value of the first bandwidth is smaller than the bandwidth value of the fixed bandwidth.
  • the existing DBA technology is still used to allocate fixed fixed bandwidth for the service.
  • the bandwidth allocation method provided by the embodiment of the present invention relates to a PON, including an XPON (X Passive Optical Network), an EPON (Ethermet Passive Optical Network), and a GPON (Gigabit-capable).
  • XPON X Passive Optical Network
  • EPON Ethermet Passive Optical Network
  • GPON Gigabit-capable
  • Passive Optical Network Gigabit-capable Passive Optical Network
  • XGPON X Gigabit-capable Passive Optical Network
  • the service allocation is less than the fixed bandwidth.
  • the first bandwidth of the value rather than the fixed bandwidth value, saves bandwidth and increases bandwidth utilization.
  • the preset traffic value may be set to 0, and when the reported data traffic is 0 in the next predetermined time length, the first bandwidth is allocated for the service within the next specified time length. When the predicted reported data traffic is not 0, a fixed bandwidth is allocated for the service within the next specified time length.
  • the preset flow value can also be set to various values such as 1K, 2 ⁇ , 1 ⁇ , 2 ⁇ , etc., depending on the specific situation.
  • DBA needs multiple rounds of scheduling to reach the bandwidth required by actual traffic.
  • the delay caused by this process is considerable, which is one of the main reasons for DBA to introduce delay.
  • the bandwidth can be allocated to the configured maximum bandwidth after only one scheduling, the actually introduced delay is only the delay of the DBA one-time scheduling.
  • the delay of the DBA scheduling is linearly related to the scheduling moment of the DBA. So when the DBA's scheduling time is small enough, such as 0.5ms. Then, if the dynamic bandwidth allocation technology is properly used in the fixed bandwidth allocation strategy, it is entirely possible to satisfy the delay requirement (in fact, the delay should be about 1 ms), and at the same time, improve the bandwidth utilization.
  • the bandwidth allocation method provided by the embodiment of the present invention is essentially a bandwidth method for scheduling according to whether there is actual user traffic, for those with strict delay requirements, weak burst, and long interval time.
  • User services are particularly effective, achieving the goal of meeting both latency requirements and bandwidth utilization.
  • step 101 in FIG. 1 may include:
  • N is less than the preset threshold, it is determined that the data traffic reported by the service in the next specified time length is greater than the preset traffic value.
  • one of the simplest determination methods is to set the preset flow value to 0, and only judge whether the data flow reported in the next predetermined time length is 0.
  • the reported data traffic (referred to as the uplink traffic), the embodiment of the present invention provides a simple method for determining whether the data traffic will be reported within the next specified time length by counting the traffic conditions within a predetermined period of time. Specific steps are as follows:
  • an idle counter idle the initial value is 0; define a threshold LIMIT; if there is no upstream traffic, then idle adds 1; if there is, then dile returns 0; if the value of idle is greater than LIMIT, it is considered the next specified time There is no upstream traffic within the length; if the value of idle is less than the LIMIT value, then it is considered that there is still upstream traffic for the next specified length of time.
  • the first bandwidth value needs to be smaller than the fixed bandwidth value for the purpose of saving bandwidth and increasing the bandwidth utilization.
  • the bandwidth value of the first bandwidth is determined according to the percentage of the fixed bandwidth and the preset minimum bandwidth, and is specifically determined. The process is as follows:
  • bandwidth value of the second bandwidth is a product of a preset percentage and a fixed bandwidth
  • the bandwidth value of the first bandwidth is not limited to the bandwidth value of the second bandwidth and the bandwidth value of the preset minimum bandwidth, and may be other bandwidth values, which are smaller than the bandwidth value of the fixed bandwidth.
  • step 102 further determines the remaining bandwidth and uses the remaining bandwidth to perform dynamic bandwidth allocation for other services.
  • FIG. 2 is a flowchart of an embodiment of a bandwidth allocation method according to an embodiment of the present invention. As shown in FIG. 2, the process includes:
  • Step 201 Determine whether the bandwidth management unit configured with the fixed bandwidth configures the bandwidth saving mode. If yes, that is, when SaveMode is set to 1, step 202 is performed; if not, that is, when SaveMode is set to 0, step 205 is performed.
  • Step 202 Detect whether the service has uplink traffic within the current specified length of time. If no, go to step 203; if yes, go to step 205.
  • Step 203 Determine whether there is uplink traffic within the next specified time length. If not, go to step 204; if yes, go to step 205.
  • Step 204 Assign a first bandwidth of the SaveBw to the service.
  • Step 205 Allocate a fixed bandwidth for the service.
  • the remaining bandwidth value needs to be recalculated, and the remaining bandwidth is used for dynamic bandwidth allocation.
  • the DBA technology implements bandwidth management, and sets a bandwidth management unit to manage bandwidth.
  • the bandwidth management unit allocates a fixed bandwidth to a service channel configured with a fixed bandwidth, and the allocated fixed bandwidth is only configured with a fixed bandwidth. The size is related, and then the remaining bandwidth is allocated to the service channel configured with dynamic bandwidth.
  • the allocation of the bandwidth is not only required to refer to the configuration parameters of the bandwidth management unit, but also dynamically adjusted according to the traffic of the corresponding service channel, therefore, the dynamic bandwidth All bandwidth management units are shared according to established rules.
  • the bandwidth management unit T-CONT is defined as several types, and different types are given different priorities, and different weights are assigned between the same types.
  • the bandwidth provided by the embodiment of the present invention is provided for the convenience of management and at the same time, in order to save resources.
  • the allocation method can also be managed directly by the bandwidth management unit and the bandwidth is allocated.
  • the SaveMode can be integrated into the bandwidth management unit. When SaveMode is 1, it is identified as using the bandwidth saving mode. When SaveMode is 0, it is identified as using DBA technology.
  • an embodiment of the present invention further provides a bandwidth allocation apparatus.
  • the specific structure is as shown in FIG. 3, and the apparatus includes:
  • the first determining unit 301 is configured to determine, according to the data traffic reported in the predetermined time length before the service that has been allocated the fixed bandwidth, the data traffic reported by the service in the next specified time length;
  • the first allocation unit 302 is configured to allocate a first bandwidth for the service, where the bandwidth of the first bandwidth is less than fixed, when the data traffic reported in the next specified time is not greater than the preset traffic value.
  • the bandwidth value of the bandwidth is configured to allocate a first bandwidth for the service, where the bandwidth of the first bandwidth is less than fixed, when the data traffic reported in the next specified time is not greater than the preset traffic value.
  • the first determining unit 301 may specifically include: a first determining subunit 401, configured to: if the service reports traffic within a continuous N consecutive time lengths, the data traffic is not greater than the preset traffic. a value, where N is a positive integer and N is not less than a preset threshold, determining that the data traffic reported by the service in the next specified time length is not greater than the preset traffic value; and the second determining subunit 402 is configured to be in continuous
  • the data traffic reported in the N specified time length is not greater than the preset traffic value.
  • N is less than the preset threshold, it is determined that the data traffic reported by the service in the next specified time length is greater than the preset traffic value.
  • the first allocation unit 302, for allocating the first bandwidth to the service may be: acquiring a bandwidth value of the second bandwidth, where the bandwidth value of the second bandwidth is a product of a preset percentage and a fixed bandwidth;
  • the bandwidth allocation unit may further include:
  • the second allocating unit 501 is configured to: when the data flow reported in the next specified time length is greater than the pre- When the traffic value is set, the fixed bandwidth is continuously allocated for the service within the next specified time length.
  • the bandwidth allocation unit may further include:
  • the second determining unit 601 is configured to determine a remaining bandwidth, and use the remaining bandwidth to perform dynamic bandwidth allocation on other services.
  • the data traffic reported in the next time length of the service is determined according to the data traffic reported in the time length of the service that has been allocated the fixed bandwidth, and the data traffic reported in the next time length is not greater than the preset traffic.
  • the value is, the first bandwidth is allocated to the service instead of the fixed bandwidth, where the first bandwidth value is smaller than the fixed bandwidth value.
  • the bandwidth allocation method provided by the embodiment of the present invention for some services with a long interruption time, when the data traffic reported in the next time length is not greater than the preset traffic value, the service allocation is less than the fixed bandwidth.
  • the first bandwidth of the value rather than the fixed bandwidth value, saves bandwidth and increases bandwidth utilization.
  • the bandwidth allocation method provided by the embodiment of the present invention is substantially a bandwidth method for scheduling according to whether there is actual user traffic, and for those user services that have severe delay requirements, weak bursts, and long interruption time. It is particularly effective, achieving the goal of meeting both latency requirements and bandwidth utilization.
  • the spirit and scope of the invention Thus, it is intended that the present invention cover the modifications and modifications of the invention

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种带宽分配方法,包括:根据已被分配固定带宽的业务之前若干时间长度内上报的数据流量,确定所述业务下一时间长度内上报的数据流量;当下一时间长度内上报的数据流量不大于预设流量值时,为所述业务分配第一带宽替代所述固定带宽,其中,所述第一带宽值小于所述固定带宽值。本发明还公开一种带宽分配装置。采用本发明可以能够节省带宽,提高带宽利用率。

Description

带宽分配方法及装置 技术领域
本发明涉及通信技术领域, 尤其涉及一种带宽分配方法及装置。 背景技术
PON ( Passive Optical Network, 无源光网络)技术支持高宽带, 在物 理拓朴上是一对多结构, 逻辑上则为一对一结构。 P0N的下行数据传送为 广播方式, 所有 0NT ( Optical Network Terminal, 光网络终端 )都能在其物 理 P0N口上接收到所有的下行数据帧;而上行则釆用 TDMA( Time Division Multiple Access,时分多址)方式,每个 ONT只在 OLT( Optical Line Terminal, 光线路终端)为其分配的上行授权时隙内才能发送上行数据。
在 P0N 中, 上行带宽分配一般釆用 DBA ( Dynamic Bandwidth Allocation, 动态带宽分配)技术。 釆用 DBA技术的目的是通过区分带宽的 QoS ( Quality of Service, 服务质量)等级提高带宽利用率, 一般会将上行 带宽分为固定带宽和动态带宽, 固定带宽一旦被分配就持续存在, 不论当 前用户是否有上行数据需要发送, 而动态带宽则按照当前用户需要发送的 上行数据量的大小动态调整。
在实际现网应用中,固定带宽用来承载实时性较强的如 T1、 E1等业务, 此类业务对时延和抖动要求较高, 实施时, 为某种业务配置固定带宽, 虽 然能够满足该业务对时延和抖动的要求, 但是若该业务并不是持续的, 在 某些时段可能没有业务, 现有的 DBA技术仍为该业务分配固定带宽, 就会 出现带宽浪费的问题, 特别是对某些间断时间较长的业务而言, 会造成大 量的带宽浪费。 发明内容
本发明实施例提供了一种带宽分配方法, 用以节省带宽, 提高带宽利 用率, 包括:
根据已被分配固定带宽的业务之前至少一个规定时间长度内上报的数 据流量, 确定所述业务在下一规定时间长度内上报的数据流量;
所述业务下一规定时间长度内上报的数据流量不大于预设流量值, 则 在所述下一规定时间长度内, 为所述业务分配第一带宽, 所述第一带宽的 带宽值小于所述固定带宽的带宽值。
根据已被分配固定带宽的业务之前至少一个规定时间长度内上报的数 据流量, 确定所述业务在下一规定时间长度内上报的数据流量为:
所述业务在连续 N个规定时间长度内上报的数据流量均不大于所述预 设流量值, N为正整数且 N不小于预设门限值, 则确定所述业务在下一规 定时间长度内上报的数据流量不大于所述预设流量值; N 小于所述预设门 限值, 则确定所述业务在下一规定时间长度内上报的数据流量大于所述预 设流量值。
所述为所述业务分配第一带宽为:
获取第二带宽的带宽值, 所述第二带宽的带宽值为预设百分比与所述 固定带宽的乘积值;
比较所述第二带宽的带宽值与预设最小带宽的带宽值, 选择较小的带 宽值作为第一带宽分配给所述业务。
该方法还包括:
当下一规定时间长度内上报的数据流量大于所述预设流量值时, 在所 述下一规定时间长度内, 为所述业务继续分配所述固定带宽。
为所述业务分配第一带宽之后, 该方法还包括: 确定剩余带宽, 并利 用所述剩余带宽对其他业务进行动态带宽分配。 本发明实施例还提供了一种带宽分配装置, 用以节省带宽, 提高带宽 利用率, 该装置包括: 第一确定单元和第一分配单元, 其中,
所述第一确定单元, 用于根据已被分配固定带宽的业务之前至少一个 规定时间长度内上报的数据流量, 确定所述业务在下一规定时间长度内上 报的数据流量;
所述第一分配单元, 用于当业务在下一规定时间长度内上报的数据流 量不大于预设流量值时, 在所述下一规定时间长度内, 为所述业务分配第 一带宽, 所述第一带宽的带宽值小于所述固定带宽的带宽值。
所述确定单元包括: 第一确定子单元和第二确定子单元; 其中, 所述第一确定子单元, 用于当业务在连续 N个规定时间长度内上报的 数据流量均不大于所述预设流量值, N为正整数且 N不小于预设门限值时, 确定所述业务在下一规定时间长度内上报的数据流量不大于所述预设流量 值;
所述第二确定子单元, 用于当业务在连续 N个规定时间长度内上报的 数据流量均不大于所述预设流量值, 所述 N小于所述预设门限值时, 确定 所述业务在下一规定时间长度内上报的数据流量大于所述预设流量值。
所述分配单元为所述业务分配第一带宽为:
获取第二带宽的带宽值, 所述第二带宽的带宽值为预设百分比与所述 固定带宽的乘积值;
比较所述第二带宽的带宽值与所述预设最小带宽的带宽值, 选择较小 的带宽值作为第一带宽分配给所述业务。
该装置还包括第二分配单元, 用于当下一规定时间长度内上报的数据 流量大于所述预设流量值时, 在所述下一规定时间长度内, 为所述业务继 续分配所述固定带宽。
该装置还包括第二确定单元, 用于确定剩余带宽, 并利用剩余带宽对 其他业务进行动态带宽分配。
本发明实施例中, 根据已被分配固定带宽的业务之前若干时间长度内 上报的数据流量, 确定业务下一时间长度内上报的数据流量, 当下一时间 长度内上报的数据流量不大于预设流量值时, 为业务分配第一带宽替代固 定带宽, 其中, 第一带宽值小于固定带宽值。 釆用本发明实施例提供的带 宽分配方法, 对某些间断时间较长的业务而言, 当确定下一时间长度内上 报的数据流量不大于预设流量值时, 为这些业务分配小于固定带宽值的第 一带宽, 而不是分配固定带宽值, 从而能够节省带宽, 提高带宽利用率。 附图说明
图 1为本发明实施例提供的带宽分配方法的流程图;
图 2为本发明实施例提供的带宽分配方法的实施例的流程图; 图 3为本发明实施例提供的带宽分配装置的第一种结构示意图; 图 4为本发明实施例提供的确定单元的结构示意图;
图 5为本发明实施例提供的带宽分配装置的第二种结构示意图; 图 6为本发明实施例提供的带宽分配装置的第三种结构示意图。 具体实施方式
现有技术中, 若该业务并不是持续的, 在某些时段可能没有业务, 现 有的 DBA技术仍为该业务分配固定带宽, 就会导致出现带宽浪费的问题, 特别是对某些间断时间较长的业务而言, 会造成大量的带宽浪费, 为解决 上述问题, 本发明实施例提供了一种带宽分配方法, 具体处理流程如图 1 所示, 该方法包括:
步骤 101 : 根据已被分配固定带宽的业务之前若干规定时间(即至少一 个规定时间程度) 长度内上报的数据流量, 确定业务在下一规定时间长度 内上报的数据流量; 步骤 102: 当下一规定时间长度内上报的数据流量不大于预设流量值 时, 在下一规定时间长度内, 为业务分配第一带宽, 其中, 第一带宽的带 宽值小于固定带宽的带宽值。
实施时, 当下一时间长度内上报的数据流量大于预设流量值时, 仍釆 用现有的 DBA技术为业务分配固定 Fixed带宽。
本发明实施例提供的带宽分配方法涉及 PON, 包括 XPON ( X Passive Optical Network , X无源光网络)、 EPON ( EPON(Ethemet Passive Optical Network , 以太网无源光网络))、 GPON ( Gigabit-capable Passive Optical Network, 吉比特无源光网络)、 XGPON ( X Gigabit-capable Passive Optical Network , X吉比特无源光网络)等多个系统。
釆用本发明实施例提供的带宽分配方法, 对某些间断时间较长的业务 而言, 当确定在下一时间长度内上报的数据流量不大于预设流量值时, 为 这些业务分配小于固定带宽值的第一带宽, 而不是分配固定带宽值, 能够 节省带宽, 提高带宽利用率。
在一个较优的实施例中, 可以将预设流量值设置为 0, 当预测的下一规 定时间长度内上报的数据流量为 0 时, 在下一规定时间长度内, 为业务分 配第一带宽, 当预测上报的数据流量不为 0 时, 在下一规定时间长度内, 为业务分配固定带宽。
当然, 在具体实施时, 预设流量值还可以设置为 1K、 2Κ、 1Μ、 2Μ等 各种数值, 根据具体情况而定。
实施时, 对于釆用 DBA技术配置固定带宽业务, 如果能够在没有业务 数据流量的时候分配较小的第一带宽, 一旦有数据流量通过时立刻恢复原 有配置的固定带宽, 那么就能够在一定程度上提高固定带宽的利用率。 对 于某些需要固定带宽的业务, 而实际应用中具有明显长时间的间断性, 此 时釆取这种特殊的固定带宽分配方法将有明显的效果。 在实际应用中, 釆用固定带宽的主要原因是: 固定带宽的时延比动态 带宽的时延小。 具体原因为: 固定带宽分配不需要 DBA调度, 因为 DBA 调度需要通过各种方式获取当前该业务通道中用户业务的带宽需求, 然后 做出分配带宽的决策, 所以必然会引入时延。 考虑到业务流量发生变化时, 需要 DBA多轮调度才能达到实际流量所需带宽,这个过程导致的时延是比 较可观的, 这也是 DBA引入时延的主要原因之一。 但是如果能够只经过一 次调度就将带宽分配到所配置的最大带宽, 那么实际引入的时延仅仅是 DBA一次调度的时延。 而 DBA调度的时延和 DBA的调度时刻线性相关。 所以当 DBA的调度时刻足够小, 比如 0.5ms。 那么在固定带宽分配策略中 适当釆用这种动态带宽分配技术的, 完全有可能既满足时延需求 (实际上 能够达到时延应该在 1ms左右), 同时有提高带宽利用率。
可以看出, 本发明实施例提供的带宽分配方法实质是一种根据有无实 际用户业务量进行调度的带宽方法, 对于那些有苛刻时延要求、 突发性较 弱、 而且间断时间较长的用户业务特别有效, 达到既满足时延要求又能够 提高带宽利用率的目的。
图 1中步骤 101在实施时的具体处理流程可以包括:
若业务在连续 N个规定时间长度内上报的数据流量均不大于预设流量 值, N为正整数且 N不小于预设门限值时, 确定业务在下一规定时间长度 内上报的数据流量不大于预设流量值; 以及
若 N小于预设门限值时, 确定业务在下一规定时间长度内上报的数据 流量大于预设流量值。
实施时, 一种最简单的确定方法为, 将预设流量值设为 0, 仅仅是判断 下一规定时间长度内上报的数据流量是否为 0, 下面以具体实施例进行说 明。
实施时, 可以釆取不同的算法来确定在下一规定时间长度内是否会有 上报的数据流量(简称上行流量), 本发明实施例提供了一种简单的确定方 法, 通过统计前若干规定时间长度内的流量状况, 来判断下一规定时间长 度内是否会上报的数据流量, 具体步骤如下:
定义一个空闲计数器 idle, 初值为 0; 定义一个阀值 LIMIT; 如果当 前没有上行流量, 那么 idle加 1 ; 如果有, 那么 dile归 0; 如果 idle的值大 于 LIMIT值, 就认为下一规定时间长度内没有上行流量; 如果 idle的值小 于 LIMIT值, 那么就认为下一规定时间长度内仍然有上行流量。
当然, 在实施时, 还可以釆用其他算法来确定在下一规定时间长度内 会有上报的数据流量, 例如动态均衡算法、 平均值算法、 加权算法等等, 能够确定在下一规定时间长度内是否会有上报的数据流量即可。
实施时, 为达到节省带宽、 提高达宽利用率的目的, 第一带宽值需要 小于固定带宽值, 较优的, 第一带宽的带宽值根据固定带宽的百分比以及 预设最小带宽确定, 具体确定流程如下:
获取第二带宽的带宽值, 第二带宽的带宽值为预设百分比与固定带宽 的乘积值;
比较第二带宽的带宽值与预设最小带宽的带宽值, 选择较小的带宽值 确定为第一带宽的带宽值。
当然, 在实施时, 第一带宽的带宽值不仅仅局限于第二带宽的带宽值 与预设最小带宽的带宽值, 也可以是其他带宽值, 小于固定带宽的带宽值 即可。
如图 1所示流程, 步骤 102在实施之后, 进一步去确定剩余带宽, 并 利用剩余带宽对其他业务进行动态带宽分配。
现以一个具体实施例对本发明实施例提供的带宽分配方法进行具体说 明, 在本例中, 为了与现有的 DBA技术区分, 实施时设置是了否使用节省 带宽模式的属性 SaveMode标识本发明实施例提供的带宽分配方法,以及在 节省带宽模式下第一带宽值 SaveBw, 当 SaveMode为 1时标识为使用节省 带宽模式, SaveBw的取值按照固定带宽 Fixed的百分比和系统限定的最小 带宽来确定,预设流量值为 0, 即确定下一规定时间长度内是否有上行流量 即可, 图 2为本发明实施例提供的带宽分配方法的实施例的流程图, 如图 2 所示, 该流程包括:
步骤 201 : 确定配置固定带宽的带宽管理单元是否配置了节省带宽模 式,若是,即当 SaveMode被置为 1时,执行步骤 202;若否,即当 SaveMode 被置为 0时, 执行步骤 205。
步骤 202: 检测当前规定时间长度内业务是否有上行流量, 若否, 执行 步骤 203; 若是, 执行步骤 205。
步骤 203: 确定下一规定时间长度内是否有上行流量, 若否, 执行步骤 204; 若是, 执行步骤 205。
步骤 204: 为业务分配 SaveBw的第一带宽;
步骤 205: 为业务分配 Fixed带宽。
实施时, 如图 2 所示流程执行结束后, 需要重新计算剩余带宽值, 该 剩余带宽用于进行动态带宽分配。
在现有技术中, DBA技术为实现带宽管理, 设置了带宽管理单元对带 宽进行管理, 其中, 带宽管理单元为配置了固定带宽的业务通道分配固定 带宽, 分配的固定带宽仅仅与配置的固定带宽大小有关, 然后将剩余的带 宽分配给配置有动态带宽的业务通道, 这部分带宽的分配不但需要参考带 宽管理单元的配置参数, 而且要根据对应的业务通道的流量进行动态调整, 因此, 动态带宽在所有的带宽管理单元之间按照既定的规则被共享。 比如 在 GPON中, 带宽管理单元 T-CONT被定义为若干类型, 不同的类型赋予 不同的优先级, 相同类型之间赋予不同的权重。
实施时, 为方便管理, 同时为了节省资源, 本发明实施例提供的带宽 分配方法也可以直接由带宽管理单元进行管理及带宽的分配, 将 SaveMode 集成在带宽管理单元即可。 当 SaveMode为 1时标识为使用节省带宽模式, 当 SaveMode为 0时标识为使用 DBA技术。
基于同一发明构思, 本发明实施例还提供了一种带宽分配装置, 具体 结构如图 3所示, 该装置包括:
第一确定单元 301 ,用于根据已被分配固定带宽的业务之前若干规定时 间长度内上报的数据流量, 确定业务在下一规定时间长度内上报的数据流 量;
第一分配单元 302 ,用于当下一规定时间长度内上报的数据流量不大于 预设流量值时, 在下一规定时间长度内, 为业务分配第一带宽, 其中, 第 一带宽的带宽值小于固定带宽的带宽值。
在一个实施例中, 如图 4所示, 第一确定单元 301可以具体包括: 第一确定子单元 401 , 用于若业务在连续 N个规定时间长度内上报的 数据流量均不大于预设流量值, N为正整数且 N不小于预设门限值时, 确 定业务在下一规定时间长度内上报的数据流量不大于预设流量值; 以及 第二确定子单元 402, 用于当业务在连续 N个规定时间长度内上报的 数据流量均不大于所述预设流量值, N 小于预设门限值时, 确定业务在下 一规定时间长度内上报的数据流量大于预设流量值。
在一个实施例中, 第一分配单元 302为所述业务分配第一带宽可以为: 获取第二带宽的带宽值, 第二带宽的带宽值为预设百分比与固定带宽 的乘积值;
比较第二带宽的带宽值与预设最小带宽的带宽值, 选择较小的带宽值 作为第一带宽分配给所述业务。
在一个实施例中, 如图 5所示, 带宽分配单元还可以包括:
第二分配单元 501 ,用于当下一规定时间长度内上报的数据流量大于预 设流量值时, 在下一规定时间长度内, 为业务继续分配固定带宽。
在一个实施例中, 如图 6所示, 带宽分配单元还可以包括:
第二确定单元 601 , 用于确定剩余带宽, 并利用剩余带宽对其他业务进 行动态带宽分配。
本发明实施例中, 根据已被分配固定带宽的业务之前若干时间长度内 上报的数据流量, 确定业务下一时间长度内上报的数据流量, 当下一时间 长度内上报的数据流量不大于预设流量值时, 为业务分配第一带宽替代固 定带宽, 其中, 第一带宽值小于固定带宽值。 釆用本发明实施例提供的带 宽分配方法, 对某些间断时间较长的业务而言, 当确定下一时间长度内上 报的数据流量不大于预设流量值时, 为这些业务分配小于固定带宽值的第 一带宽, 而不是分配固定带宽值, 能够节省带宽, 提高带宽利用率。
进一步, 本发明实施例提供的带宽分配方法实质是一种根据有无实际 用户业务量进行调度的带宽方法, 对于那些有苛刻时延要求、 突发性较弱、 而且间断时间较长的用户业务特别有效, 达到既满足时延要求又能够提高 带宽利用率的目的。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。

Claims

权利要求书
1、 一种带宽分配方法, 其特征在于, 该方法包括:
根据已被分配固定带宽的业务之前至少一个规定时间长度内上报的数 据流量, 确定所述业务在下一规定时间长度内上报的数据流量;
所述业务下一规定时间长度内上报的数据流量不大于预设流量值, 则 在所述下一规定时间长度内, 为所述业务分配第一带宽, 所述第一带宽的 带宽值小于所述固定带宽的带宽值。
2、 如权利要求 1所述的方法, 其特征在于, 根据已被分配固定带宽的 业务之前至少一个规定时间长度内上报的数据流量, 确定所述业务在下一 规定时间长度内上报的数据流量为:
所述业务在连续 N个规定时间长度内上报的数据流量均不大于所述预 设流量值, N为正整数且 N不小于预设门限值, 则确定所述业务在下一规 定时间长度内上报的数据流量不大于所述预设流量值; N 小于所述预设门 限值, 则确定所述业务在下一规定时间长度内上报的数据流量大于所述预 设流量值。
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述为所述业务分配 第一带宽为:
获取第二带宽的带宽值, 所述第二带宽的带宽值为预设百分比与所述 固定带宽的乘积值;
比较所述第二带宽的带宽值与预设最小带宽的带宽值, 选择较小的带 宽值作为第一带宽分配给所述业务。
4、 如权利要求 1或 2所述的方法, 其特征在于, 该方法还包括: 当下一规定时间长度内上报的数据流量大于所述预设流量值时, 在所 述下一规定时间长度内, 为所述业务继续分配所述固定带宽。
5、 如权利要求 1或 2所述的方法, 其特征在于, 为所述业务分配第一 带宽之后, 该方法还包括: 确定剩余带宽, 并利用所述剩余带宽对其他业 务进行动态带宽分配。
6、 一种带宽分配装置, 其特征在于, 该装置包括: 第一确定单元和第 一分配单元, 其中,
所述第一确定单元, 用于根据已被分配固定带宽的业务之前至少一个 规定时间长度内上报的数据流量, 确定所述业务在下一规定时间长度内上 报的数据流量;
所述第一分配单元, 用于当业务在下一规定时间长度内上报的数据流 量不大于预设流量值时, 在所述下一规定时间长度内, 为所述业务分配第 一带宽, 所述第一带宽的带宽值小于所述固定带宽的带宽值。
7、 如权利要求 6所述的装置, 其特征在于, 所述确定单元包括: 第一 确定子单元和第二确定子单元; 其中,
所述第一确定子单元, 用于当业务在连续 N个规定时间长度内上报的 数据流量均不大于所述预设流量值, N为正整数且 N不小于预设门限值时, 确定所述业务在下一规定时间长度内上报的数据流量不大于所述预设流量 值;
所述第二确定子单元, 用于当业务在连续 N个规定时间长度内上报的 数据流量均不大于所述预设流量值, 所述 N小于所述预设门限值时, 确定 所述业务在下一规定时间长度内上报的数据流量大于所述预设流量值。
8、 如权利要求 6或 7所述的装置, 其特征在于, 所述第一分配单元为 所述业务分配第一带宽为:
获取第二带宽的带宽值, 所述第二带宽的带宽值为预设百分比与所述 固定带宽的乘积值;
比较所述第二带宽的带宽值与所述预设最小带宽的带宽值, 选择较小 的带宽值作为第一带宽分配给所述业务。
9、 如权利要求 6或 7所述的装置, 其特征在于, 该装置还包括第二分 配单元, 用于当下一规定时间长度内上报的数据流量大于所述预设流量值 时, 在所述下一规定时间长度内, 为所述业务继续分配所述固定带宽。
10、 如权利要求 6或 7所述的装置, 其特征在于, 该装置还包括第二 确定单元, 用于确定剩余带宽, 并利用剩余带宽对其他业务进行动态带宽 分配。
PCT/CN2011/073098 2010-07-23 2011-04-20 带宽分配方法及装置 WO2012009997A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010239089.9A CN101888342B (zh) 2010-07-23 2010-07-23 带宽分配方法及装置
CN201010239089.9 2010-07-23

Publications (1)

Publication Number Publication Date
WO2012009997A1 true WO2012009997A1 (zh) 2012-01-26

Family

ID=43074070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073098 WO2012009997A1 (zh) 2010-07-23 2011-04-20 带宽分配方法及装置

Country Status (2)

Country Link
CN (1) CN101888342B (zh)
WO (1) WO2012009997A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888342B (zh) * 2010-07-23 2015-09-16 中兴通讯股份有限公司 带宽分配方法及装置
CN102546203B (zh) * 2010-12-20 2014-07-02 中国移动通信集团广西有限公司 一种业务进程分配方法及装置
CN102404214B (zh) * 2011-11-18 2014-06-04 福建星网锐捷网络有限公司 带宽分配方法、装置和网络设备
US9036993B2 (en) * 2012-02-13 2015-05-19 Marvell World Trade Ltd. Method and apparatus for dynamically allocating bandwidth to a client in a passive optical network
CN103023819B (zh) * 2012-12-14 2015-09-30 西安电子科技大学 一种粗粒度动态带宽分配方法
CN103518355B (zh) * 2013-04-19 2016-09-28 华为技术有限公司 一种带宽分配的方法、设备及系统
US9680563B2 (en) * 2014-01-17 2017-06-13 Apple Inc. System and method for partial bandwidth communication
CN105704828A (zh) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 一种资源调度的方法和装置
CN104363183B (zh) * 2014-12-04 2018-01-02 上海斐讯数据通信技术有限公司 网络上行流量、下行流量、流量控制方法及装置
CN106936734B (zh) * 2015-12-30 2020-04-24 深圳市中兴微电子技术有限公司 信息上报方法及装置
CN107920031B (zh) * 2016-10-11 2022-07-19 中国电信股份有限公司 接入带宽自适应调整方法和装置
CN110048950A (zh) * 2019-04-09 2019-07-23 华北电力大学 一种电力光网络全业务负载感知方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1404248A (zh) * 2001-09-03 2003-03-19 华为技术有限公司 一种基于源速率估计的动态信道配置方法
US20030152096A1 (en) * 2002-02-13 2003-08-14 Korey Chapman Intelligent no packet loss networking
CN101248619A (zh) * 2005-12-23 2008-08-20 香港应用科技研究院有限公司 一种具有动态带宽分配的分布式无线网络
CN101753431A (zh) * 2008-12-22 2010-06-23 中兴通讯股份有限公司 一种上行带宽估计方法及装置
CN101888342A (zh) * 2010-07-23 2010-11-17 中兴通讯股份有限公司 带宽分配方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494652B (zh) * 2009-02-27 2012-01-11 中国电子科技集团公司第五十四研究所 一种卫星通信系统中增强tcp协议性能的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1404248A (zh) * 2001-09-03 2003-03-19 华为技术有限公司 一种基于源速率估计的动态信道配置方法
US20030152096A1 (en) * 2002-02-13 2003-08-14 Korey Chapman Intelligent no packet loss networking
CN101248619A (zh) * 2005-12-23 2008-08-20 香港应用科技研究院有限公司 一种具有动态带宽分配的分布式无线网络
CN101753431A (zh) * 2008-12-22 2010-06-23 中兴通讯股份有限公司 一种上行带宽估计方法及装置
CN101888342A (zh) * 2010-07-23 2010-11-17 中兴通讯股份有限公司 带宽分配方法及装置

Also Published As

Publication number Publication date
CN101888342A (zh) 2010-11-17
CN101888342B (zh) 2015-09-16

Similar Documents

Publication Publication Date Title
WO2012009997A1 (zh) 带宽分配方法及装置
US9331812B2 (en) Round trip time aware dynamic bandwidth allocation for ethernet passive optical network over coaxial network
Hwang et al. Generic QoS-aware interleaved dynamic bandwidth allocation in scalable EPONs
CN101753412A (zh) 动态带宽处理方法和装置
WO2011017992A1 (zh) 带宽分配方法及光纤线路终端
WO2008089627A1 (fr) Dispositif d'attribution de bande passante dynamique pour système de réseau optique passif et procédé associé
JP2008270898A (ja) 光加入者線端局装置
Nikoukar et al. A SIEPON based transmitter sleep mode energy-efficient mechanism in EPON
WO2011077576A1 (ja) 通信装置、加入者側通信装置、ポイントトゥマルチポイント通信システムおよび帯域制御方法
Uzawa et al. First demonstration of bandwidth-allocation scheme for network-slicing-based TDM-PON toward 5G and IoT era
CN109428827B (zh) 一种流量自适应的缓存分配装置及方法、onu设备
KR101021329B1 (ko) 이더넷 수동 광가입자망에서의 에스엘에이 기반의 동적대역폭 할당 방법
CN109348315B (zh) 基于时分复用的调节带宽分配参数的动态带宽分配方法
Nikoukar et al. An adaptive two-stage energy-efficiency mechanism for the doze mode in EPON
WO2014201605A1 (zh) 带宽分配方法、装置、局端、终端和系统
CN101753431A (zh) 一种上行带宽估计方法及装置
CN107465557B (zh) 一种epon流量预测方法
Pakpahan et al. Adaptive onu energy-saving via software-defined mechanisms in tdma-pon
KR102288487B1 (ko) Sdn 기반 수동형 광네트워크의 트래픽 폭주 해결 장치 및 방법
JP4877483B2 (ja) 送信割当て方法及び装置
CN112911421B (zh) 动态带宽分配方法和装置、无源光纤网络和存储介质
CN114257890A (zh) 一种edba动态调整下发带宽的方法
Radzi et al. Recent dynamic bandwidth allocation algorithm methods in Ethernet passive optical network
Park et al. Enhanced dynamic bandwidth allocation algorithm in Ethernet passive optical networks
KR100657122B1 (ko) 이더넷 수동광가입자망의 상향 데이터 전송을 위한 동적대역폭 할당방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11809186

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11809186

Country of ref document: EP

Kind code of ref document: A1