WO2016070741A1 - 一种实现业务带宽分配的方法及装置 - Google Patents

一种实现业务带宽分配的方法及装置 Download PDF

Info

Publication number
WO2016070741A1
WO2016070741A1 PCT/CN2015/093115 CN2015093115W WO2016070741A1 WO 2016070741 A1 WO2016070741 A1 WO 2016070741A1 CN 2015093115 W CN2015093115 W CN 2015093115W WO 2016070741 A1 WO2016070741 A1 WO 2016070741A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
bandwidth
scheduling
flow
scenario
Prior art date
Application number
PCT/CN2015/093115
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 WO2016070741A1 publication Critical patent/WO2016070741A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • This document relates to, but is not limited to, the field of optical communication networks, and more particularly to a method and apparatus for implementing service bandwidth allocation in a passive optical network (PON).
  • PON passive optical network
  • PON Passive Optical Network
  • EPON Ethernet Passive Optical Network
  • GPON Gigabit Passive Optical Network
  • Both networks consist of an optical line termination (OLT), an optical splitter (ODN), and an optical network unit (ONU).
  • OLT optical line termination
  • ODN optical splitter
  • ONU optical network unit
  • the network generally adopts a tree-like network topology.
  • the OLT and the ODN are connected, and multiple ONUs are connected to the ODN.
  • the downlink data between the OLT and the ONU is transmitted by broadcast, and the uplink data is transmitted by time division multiplexing.
  • An embodiment of the present invention provides a method for implementing service bandwidth allocation, including:
  • the service flows of different service types are classified according to the preset classification policy
  • a corresponding service bandwidth interval is set for each hierarchical service flow
  • the service bandwidth is scheduled according to the set service bandwidth interval of each service flow.
  • the scheduling algorithm of the SP and the weighted cyclic scheduling WRR is used to perform the scheduling of the maximum service bandwidth according to the service flow classification.
  • the method further includes: prior to dividing the service type of the service flow of the optical network unit ONU that belongs to the same service scenario, distinguishing the service flows of each different service scenario by dividing different virtual local area networks (VLANs).
  • VLANs virtual local area networks
  • the method further includes: performing traffic shaping on the service flow of each service scenario by using a corresponding service bandwidth allocated to the uplink traffic scheduling unit of each VLAN.
  • performing traffic shaping on the service flow of each service scenario includes:
  • the uplink traffic scheduling unit is configured on the service virtual port of each ONU, and the traffic shaping of the service flow in each service scenario is completed by the corresponding service bandwidth allocated to the uplink traffic scheduling unit of each VLAN.
  • the present application further provides an apparatus for implementing service bandwidth allocation, including: a service flow grading unit, a service bandwidth setting unit, and a resource scheduling unit;
  • the service flow grading unit is configured to classify the service flows of the service flows of the different service types according to the preset grading policy after the service types of the service flows of the ONUs that belong to the same service scenario are entered.
  • the service bandwidth setting unit is configured to set a corresponding service bandwidth interval for each hierarchical service flow according to a preset rule
  • the scheduling algorithm of the SP and the weighted cyclic scheduling WRR is used to perform the scheduling of the maximum service bandwidth according to the service flow classification.
  • the device further includes: a service scenario unit, configured to distinguish the service flows of each different service scenario by dividing different virtual local area network VLANs.
  • a service scenario unit configured to distinguish the service flows of each different service scenario by dividing different virtual local area network VLANs.
  • the device further includes a traffic shaping unit configured to perform traffic shaping on the service flow of each service scenario by using a corresponding service bandwidth allocated to the uplink traffic scheduling unit of each VLAN.
  • a traffic shaping unit configured to perform traffic shaping on the service flow of each service scenario by using a corresponding service bandwidth allocated to the uplink traffic scheduling unit of each VLAN.
  • the traffic shaping unit is configured to respectively bind each VLAN of the service scenario to the service virtual port of the corresponding ONU, and configure a corresponding uplink traffic scheduling unit on each service virtual port of each ONU, by assigning to each Traffic shaping of the service flow of each service scenario is completed by the corresponding service bandwidth of the uplink traffic scheduling unit of the VLAN.
  • An embodiment of the present invention further provides a computer storage medium, where the computer storage medium is stored Computer executable instructions are stored for performing the methods described above.
  • the technical solution provided by the embodiment of the present invention includes: after distinguishing the service type of the service flow of the optical network unit (ONU) belonging to the same service scenario, the different service types according to the preset hierarchical policy.
  • the service flow is classified; according to a preset rule, a corresponding service bandwidth interval is set for each hierarchical service flow; and the service bandwidth is scheduled according to the set service bandwidth interval of each service flow.
  • the service bandwidth interval of each service flow is set, and the minimum service bandwidth and the maximum service bandwidth are scheduled to ensure fair access of each service flow. It avoids the problem of serious service quality when the network load is heavy.
  • FIG. 4 is a schematic diagram of performing service bandwidth scheduling after the application example division and classification according to the present invention.
  • FIG. 1 is a flowchart of a method for implementing service bandwidth allocation according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step 100 The device that implements the service bandwidth allocation classifies the service type of the service flow of the incoming optical network unit (ONU) that belongs to the same service scenario, and classifies the service flows of different service types according to the preset hierarchical policy.
  • ONU optical network unit
  • the service type that distinguishes the service flow belongs to the conventional technology of those skilled in the art.
  • Means include setting a hierarchical identification of a service type by configuring an access control list (ACL) at an entry of the ONU.
  • An access control list (ACL) is used to control the data packets entering and leaving the ONU.
  • the priority of the data packet can be specified according to the protocol of the data packet, and the service level of the service type can be identified by specifying the priority of the data packet.
  • the preset grading policy is set according to the importance of the service flow or the service requirement of the service flow, and is set according to actual conditions, for example, for voice data packets and video data packets, the operator generally considers voice data.
  • the packet priority is higher than the video data packet, and the traffic flow of the voice service is marked as a higher service level, for example, marked as level 6, and the service flow of the video service is marked as a lower service level, for example, marked as level 5.
  • Step 101 The device for realizing service bandwidth allocation sets a corresponding service bandwidth interval for each hierarchical service flow according to a preset rule.
  • the service bandwidth is set for the service flow.
  • the service flow is usually divided into service flow queues, and the classified service types are mapped to the corresponding service flow queues.
  • the mapped information needs to be used for management applications. In the process, it is generally implemented by a mapping table item in which a mapping relationship is saved.
  • the mapping relationship is as follows: the service flow of the service level 7 is mapped to the service flow queue 8, and the service flow of the service level 6 is mapped to the queue 7.
  • the service bandwidth interval includes: a minimum service bandwidth and a maximum service bandwidth.
  • the minimum service bandwidth can be understood as a guaranteed bandwidth for ensuring normal services. That is, when there is traffic in the traffic flow queue, it should be allocated a minimum service bandwidth, and the service flow with a low service level will not be allocated to the service bandwidth because the traffic of the high-level service flow is large.
  • the maximum bandwidth is the maximum bandwidth that can be allocated to each service flow queue. The traffic that exceeds the maximum service bandwidth is discarded according to the settings. Of course, when the traffic flow queue has no traffic, the service bandwidth can be allocated to other service flows. queue. Through the setting of the minimum service bandwidth, it is ensured that each of the classified service flows can be accessed to the network in a fair manner. By setting the maximum service bandwidth, it is possible to avoid excessive occupation of service bandwidth resources by some service flows.
  • Step 102 The device that implements the service bandwidth allocation schedules the service bandwidth according to the set service bandwidth interval of each service flow.
  • scheduling service bandwidth includes:
  • the SP and RR scheduling algorithms used in the scheduling of the minimum service bandwidth belong to the technical means used by those skilled in the art, and no parameter setting is needed in the use process, and the SP and the WRR are in the process of scheduling the maximum service bandwidth.
  • the corresponding weights need to be set, and the specific weights are configured according to actual needs.
  • the values obtained by those skilled in the art are based on experience. For example, the service bandwidth of important customers can be set to a higher weight of 0.6, while the service bandwidth of ordinary customers can be Set a lower weight of 0.4, so that in the case of traffic greater than the bandwidth, important customers can get 60% of the bandwidth, and ordinary users can only get the remaining 40% of the bandwidth.
  • the remaining hierarchical service flows will not be able to obtain the maximum service bandwidth resources. Therefore, according to WRR, the remaining service bandwidth resource settings are assigned to the classifications of 3, 2, and The service bandwidth of the service flow corresponding to 1 is assumed to be 0.5, 0.3, and 0.2, and 4.5, 2.7, and 1. respectively. 8 business bandwidth. Of course, the bandwidth allocated by the service flow queue cannot be greater than the maximum bandwidth.
  • the service bandwidth is scheduled by the scheduling algorithm with the minimum service bandwidth and the maximum service bandwidth, so that the service bandwidth is guaranteed during the transmission process; the maximum service bandwidth is limited, and some service flows are prevented from being preempted by increasing the data transmission amount.
  • Service bandwidth affects the rational use of service bandwidth resources.
  • the method further includes: dividing a service flow of each different service scenario by dividing different virtual local area networks (VLANs).
  • VLANs virtual local area networks
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the apparatus includes: a service flow grading unit, a service bandwidth setting unit, and a resource scheduling unit;
  • the service bandwidth setting unit is configured to set a corresponding service bandwidth interval for each hierarchical service flow according to a preset rule
  • the resource scheduling unit is configured to schedule the service bandwidth according to the set service bandwidth interval of each service flow.
  • the resource scheduling unit is configured to perform service bandwidth scheduling according to the minimum service bandwidth and the maximum service bandwidth of the service bandwidth interval of each service flow, including:
  • the scheduling algorithm of the strict priority scheduling SP and the cyclic scheduling RR is used for scheduling the minimum service bandwidth.
  • the device of the embodiment of the present invention further includes: a service scenario unit, configured to distinguish service flows of each different service scenario by dividing different virtual local area network VLANs.
  • the device of the embodiment of the present invention further includes a traffic shaping unit, configured to allocate a corresponding service bandwidth to an uplink traffic scheduling unit of each VLAN, to implement traffic shaping of the service flow of each service scenario.
  • a traffic shaping unit configured to allocate a corresponding service bandwidth to an uplink traffic scheduling unit of each VLAN, to implement traffic shaping of the service flow of each service scenario.
  • the traffic shaping unit is configured to bind each VLAN of the service scenario to the service virtual port of the corresponding ONU, and configure a corresponding uplink traffic scheduling unit on each service virtual port of each ONU, and allocate the uplink to each VLAN. Traffic shaping unit performs traffic shaping of the service flow of each service scenario by corresponding service bandwidth.
  • FIG. 3 is a flowchart of an application example method of the present invention, as shown in FIG. 3, including:
  • Step 300 After each service flow that enters the ONU that belongs to the same service scenario is distinguished from the service type, the service is classified according to a preset classification rule.
  • Step 301 Map different graded service flows to corresponding service flow queues. According to the mapping relationship between the service classification and the service flow queue, the service flow with a high service level is placed in the high priority service flow queue, and the service flow with a low service level is placed in the low priority service flow queue.
  • Step 303 Scheduling service bandwidth of the service flow queue according to the set service bandwidth interval of each service flow queue.
  • each business flow queue into two groups: the guaranteed service group and the largest service group. Line bandwidth allocation and scheduling. Ensure that the service group is prioritized over the largest service group for scheduling, using the SP+RR scheduling algorithm.
  • SP strict priority scheduling
  • RR round-robin scheduling
  • the scheduling algorithm using (SP) and weighted round-robin scheduling (WRR) performs scheduling of the maximum service bandwidth according to the service flow classification.
  • the minimum service bandwidth scheduling is first performed on the six service flows, that is, the SP and RR are used for minimum service bandwidth allocation; if there is remaining bandwidth, the maximum service bandwidth scheduling is performed, due to routing flow (routing protocol) Service), VoIP flow (voice service), vedio flow (video service), and gold flow (important data service) adopt SP scheduling.
  • routing flow routing protocol
  • VoIP flow voice service
  • vedio flow video service
  • gold flow important data service
  • These four services allocate the maximum service bandwidth in order of hierarchy; and standard flow (general data service) and The best effort flow (other services, the best service) uses WRR scheduling (because the gold flow allocates the maximum service bandwidth, it cannot meet the maximum service bandwidth of the standard flow), and the above four service bandwidth allocation ends and there is remaining bandwidth.
  • the maximum bandwidth is allocated according to the set weight.
  • the standard flow and the best effort flow weights are 0.6 and 0.4, respectively.
  • Step 304 Differentiate service flows of each different service scenario by dividing different virtual local area networks (VLANs).
  • VLANs virtual local area networks
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the above technical solution ensures fair access of each service flow, and avoids the problem that serious service quality is likely to occur when the network load is heavy.

Landscapes

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

Abstract

一种实现业务带宽分配的方法及系统,包括:区分每属于相同业务场景的进入光网络单元(ONU)的业务流的业务类型后,依照预设的分级策略对不同业务类型的业务流进行分级;按照预设规则,对每分级的业务流设定相应的业务带宽区间;根据设定的每业务流的业务带宽区间,对业务带宽进行调度。上述技术方案通过对同一业务场景的业务流进行分级后,设置每业务流相应的业务带宽区间,通过对最小业务带宽和最大业务带宽进行调度,保证了每个业务流的公平接入,避免了网络负载较重时容易出现严重服务质量的问题。

Description

一种实现业务带宽分配的方法及装置 技术领域
本文涉及但不限于光通信网络领域,尤指一种在无源光网络(PON)实现业务带宽分配的方法及装置。
背景技术
无源光网络(PON)是应对多业务、高带宽接入需求的理想解决方案。PON主要包括以太网无源光网络(EPON)和吉比特无源光网络(GPON)两种。两种网络均由光线路终端(OLT)、光分路器(ODN)和光网络单元(ONU)组成。网络一般采用树型的网络拓朴结构;其中,OLT和ODN连接,ODN下挂多个ONU,OLT和ONU之间下行数据通过广播方式传输,上行数据通过时分复用使用信道传输。
一个PON系统可同时承载包括以太网(IP)业务、语音业务、时分复用模式(TDM)业务和传统的有线电视网(CATV)业务等在内的多种宽带业务,不同的业务类型对服务质量的要求存在极大差别。以TDM业务为例,它要求承载网络能够绝对保证其低延时和无误码,因此,PON系统需要通过预留固定的业务带宽和短帧封装来满足TDM业务的业务需求。
PON技术中一种常见的业务带宽的分配方法为:建立区分服务模型,将业务流标记为几种有限的服务等级,在网络中按照服务等级提供业务带宽的分配。在EPON系统中,流量首先在ONU内部根据服务等级进行汇聚,进入不同的队列中等待发送;OLT根据ONU报告的队列情况分配发送时隙;当发送时隙开始时,ONU内部的队列调度机制将带宽分配给每个服务等级。
按照服务等级在ONU内进行带宽分配,虽然实现起来简单,但只能提供粗粒度的带宽分配,不能保证每个业务流的服务质量。在多用户、多业务的复杂业务场景下,由于带宽资源有限,无法满足服务质量要求。另外,某 些业务流会通过提高数据发送量的方法抢占带宽,使得其他正常的业务流得不到服务。因此,相关的业务带宽分配方法无法保证每个业务流的公平接入;在网络负载较重时,容易导致严重的服务质量问题。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种实现业务带宽分配的方法及系统,能够保证每个业务流的公平接入,避免网络负载较重时,出现严重的服务质量问题。
本发明实施例提供一种实现业务带宽分配的方法;包括:
区分每个属于相同业务场景的进入光网络单元ONU的业务流的业务类型后,依照预设的分级策略对不同业务类型的业务流进行分级;
按照预设规则,对每个分级的业务流设定相应的业务带宽区间;
根据设定的每个业务流的业务带宽区间,对业务带宽进行调度。
可选地,对业务带宽进行调度为:根据所述业务带宽区间的最小业务带宽和最大业务带宽进行业务带宽的调度,包括:
采用严格优先级调度SP与循环调度RR的调度算法进行所述最小业务带宽的调度;
在完成最小业务带宽的调度后,采用SP和加权循环调度WRR的调度算法按照业务流分级进行所述最大业务带宽的调度。
可选地,该方法还包括:区分每个属于相同业务场景的进入光网络单元ONU的业务流的业务类型之前,通过划分不同的虚拟局域网(VLAN)区分每个不同业务场景的业务流。
可选地,该方法还包括:通过分配给每个VLAN的上行流量调度单元相应的业务带宽,对每个业务场景的业务流进行流量整形。
可选地,对每个业务场景的业务流进行流量整形包括:
分别绑定区分业务场景每个所述VLAN到相应的ONU的业务虚端口 上,在每个ONU的业务虚端口配置上行流量调度单元,通过分配给每个VLAN的上行流量调度单元相应的业务带宽,完成每个业务场景的业务流的流量整形。
另一方面,本申请还提供一种实现业务带宽分配的装置,包括:业务流分级单元、业务带宽设置单元和资源调度单元;其中,
业务流分级单元,设置为区分每个属于相同业务场景的进入光网络单元ONU的业务流的业务类型后,依照预设的分级策略对不同业务类型的业务流进行分级;
业务带宽设置单元,设置为按照预设规则,对每个分级的业务流设定相应的业务带宽区间;
资源调度单元,设置为根据设定的每个业务流的业务带宽区间,对业务带宽进行调度。
可选地,资源调度单元是设置为,根据设定的每个业务流所述业务带宽区间的最小业务带宽和最大业务带宽进行业务带宽的调度,包括:
采用严格优先级调度SP与循环调度RR的调度算法进行最小业务带宽的调度;
在完成最小业务带宽的调度后,采用SP和加权循环调度WRR的调度算法按照业务流分级进行所述最大业务带宽的调度。
可选地,该装置还包括:业务场景单元,设置为通过划分不同的虚拟局域网VLAN区分每个不同业务场景的业务流。
可选地,该装置还包括流量整形单元,设置为通过分配给每个VLAN的上行流量调度单元相应的业务带宽,对每个业务场景的业务流进行流量整形。
可选地,流量整形单元是设置为,分别绑定区分业务场景每个VLAN到相应的ONU的业务虚端口上,在每个ONU的业务虚端口配置相应的上行流量调度单元,通过分配给每个VLAN的上行流量调度单元相应的业务带宽,完成每个业务场景的业务流的流量整形。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存 储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
与相关技术相比,本发明实施例提供的技术方案,包括:区分每个属于相同业务场景的进入光网络单元(ONU)的业务流的业务类型后,依照预设的分级策略对不同业务类型的业务流进行分级;按照预设规则,对每个分级的业务流设定相应的业务带宽区间;根据设定的每个业务流的业务带宽区间,对业务带宽进行调度。本发明实施例通过对同一业务场景的业务流进行分级后,设置每个业务流相应的业务带宽区间,通过对最小业务带宽和最大业务带宽进行调度,保证了每个业务流的公平接入,避免了网络负载较重时容易出现严重服务质量的问题。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例实现业务带宽分配的方法的流程图;
图2为本发明实施例实现业务带宽分配的装置的结构框图;
图3为本发明应用示例方法的流程图;
图4是本发明应用示例划分分级后进行业务带宽调度的示意图。
本发明的实施方式
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
图1为本发明实施例实现业务带宽分配的方法的流程图,如图1所示,包括:
步骤100、实现业务带宽分配的装置区分每个属于相同业务场景的进入光网络单元(ONU)的业务流的业务类型,依照预设的分级策略对不同业务类型的业务流进行分级。
需要说明的是,区分业务流的业务类型属于本领域技术人员的惯用技术 手段,包括通过在ONU的入口配置访问控制列表(ACL)来设置业务类型的分级标识。访问控制列表(ACL)用来控制进出ONU的数据包,可以根据数据包的协议,指定数据包的优先级,通过指定数据包的优先级来标识业务类型的服务等级。预设的分级策略是指根据运营商对业务流的重要程度或业务流的服务要求设定的,根据实际情况进行设定,例如:对语音数据包和视频数据包,运营商一般认为语音数据包优先级高于视频数据包,将语音业务的业务流标记为较高的服务等级,例如标记为分级6,将视频业务的业务流标记为较低的服务等级,例如标记为分级5。
步骤101、实现业务带宽分配的装置按照预设规则,对每个分级的业务流设定相应的业务带宽区间。
对业务流设定业务带宽区间,通常会将业务流进行业务流队列划分,将分级后的业务类型映射到相应的业务流队列中,映射的信息,需要用于进行管理应用,因此,在实现过程中一般通过保存有映射关系的映射表项来实现。映射关系如:服务等级7的业务流映射到业务流队列8,服务等级6的业务流映射到队列7。
本步骤中,业务带宽区间包括:最小业务带宽和最大业务带宽;其中,最小业务带宽可以理解为保证业务正常的保证带宽。即,当业务流队列有流量时,应保证为其分配最小业务带宽,不会因为分级高的业务流的流量大而导致业务等级低的业务流分配不到业务带宽。最大带宽是指:每个业务流队列可以分配到的最大带宽,超过最大业务带宽的部分流量,按照设置会被丢弃;当然,当业务流队列无流量时,业务带宽可被分配给其他业务流队列。通过最小业务带宽的设置,可以保证每个分级的业务流都可以公平的接入到网络中,通过最大业务带宽的设置,可以避免部分业务流过多的占用业务带宽资源。
步骤102、实现业务带宽分配的装置根据设定的每个业务流的业务带宽区间,对业务带宽进行调度。可选的,对业务带宽进行调度包括:
采用严格优先级调度(SP)与循环调度(RR)的调度算法进行最小业务带宽的调度;
在完成最小业务带宽的调度后,采用(SP)和加权循环调度(WRR)的 调度算法按照业务流分级进行所述最大业务带宽的调度。
需要说明的是,最小业务带宽的调度中使用的SP和RR的调度算法属于本领域技术人员惯用技术手段,在使用过程中无需进行参数设置,而SP和WRR在进行最大业务带宽的调度过程中,需要设置相应的权重,具体权重的设置根据实际需求进行配置,属于本领域技术人员根据经验获得的数值,例如,重要客户的业务带宽可以设置较高的权重0.6,而普通客户的业务带宽可以设置较低的权重0.4,这样在流量大于带宽的情况下,重要客户可以获得60%的带宽,普通用户只能获得剩余的40%的带宽。按照调度算法进行业务带宽的调度时,首先会根据业务流的业务等级高低为每个业务流队列分配相应的最小业务带宽;在所有业务流队列的最小业务带宽得到满足的基础上,对剩余的业务带宽,依据业务流的业务分级高低由分级较高的业务流开始,分配最大业务带宽,此时采用的是SP调度算法,当带宽资源逐级分配到无法满足某一分级的最大业务带宽时,例如从第7到第4级的最大业务带宽得到满足和分配;而分级为3、2和1的业务流最大业务带宽,假设剩余业务带宽资源为9,而分级为3的业务流最大业务带宽为11,因此无法得到足够的最大业务带宽资源,同时,剩余的分级的业务流也将无法获得最大业务带宽资源,因此按照WRR,对剩余的业务带宽资源设置分配给分级为3、2和1的业务流相应权重的业务带宽,假设权重为0.5、0.3、0.2,则分别获得4.5、2.7、1.8的业务带宽。当然,业务流队列分配的带宽不得大于最大带宽。
通过最小业务带宽和最大业务带宽的调度算法进行业务带宽的调度,使业务流在传输过程中,相应的业务带宽得到保证;通过限制最大业务带宽,避免一些业务流通过提高数据发送量的方法抢占业务带宽,影响业务带宽资源的合理利用。
可选的,本发明实施例方法之前还包括:通过划分不同的虚拟局域网(VLAN)区分每个不同业务场景的业务流。
可选地,本发明实施例方法还包括:分配给每个VLAN的上行流量调度单元相应的业务带宽,实现对每个业务场景的业务流的流量整形。所述上行流量调度单元为光网络单元ONU的组件,用于为业务虚端口分配上行带宽。
可选的,对每个业务场景的业务流的流量整形包括:分别绑定区分业务场景每个VLAN到相应的ONU的业务虚端口上,在每个ONU的业务虚端口配置相应的上行流量调度单元,通过分配给每个VLAN的上行流量调度单元相应的业务带宽,完成每个业务场景的业务流的流量整形。
需要说明的是,通过对每个业务场景的业务流进行流量整形处理,实际是为业务场景分配相应的业务带宽,对每个业务场景业务带宽的分配,可以实现对网络中每个业务场景的业务流的业务带宽的合理设置,使每个业务场景根据实际需求设定合理的业务带宽。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
图2为本发明实施例实现业务带宽分配的装置的结构框图,如图2所示,所述装置包括:业务流分级单元、业务带宽设置单元和资源调度单元;其中,
业务流分级单元,设置为区分每个属于相同业务场景的进入光网络单元(ONU)的业务流的业务类型后,依照预设的分级策略对不同业务类型的业务流进行分级;
业务带宽设置单元,设置为按照预设规则,对每个分级的业务流设定相应的业务带宽区间;
资源调度单元,设置为根据设定的每个业务流的业务带宽区间,对业务带宽进行调度。
可选的,资源调度单元是设置为,根据设定的每个业务流的业务带宽区间的最小业务带宽和最大业务带宽进行业务带宽的调度,包括:
采用严格优先级调度SP与循环调度RR的调度算法进行最小业务带宽的调度。
本发明实施例装置还包括:业务场景单元,设置为通过划分不同的虚拟局域网VLAN,区分每个不同业务场景的业务流。
本发明实施例装置还包括流量整形单元,设置为分配给每个VLAN的上行流量调度单元相应的业务带宽,实现对每个业务场景的业务流的流量整形。
流量整形单元是设置为,分别绑定区分业务场景每个VLAN到相应的ONU的业务虚端口上,在每个ONU的业务虚端口配置相应的上行流量调度单元,通过分配给每个VLAN的上行流量调度单元相应的业务带宽,完成每个业务场景的业务流的流量整形。
为清楚陈述本发明实施例,以下通过具体应用示例,对本发明实施例进行详细说明,实施例只为清楚说明本发明实施例,并不用于限制本发明的保护内容。
应用示例1
图3为本发明应用示例方法的流程图,如图3所示,包括:
步骤300、对每个属于相同业务场景的进入ONU的业务流,区分出业务类型后,依照预设的分级规则进行分级;
由于不同的业务类型要求的服务质量不同,可以按照服务质量要求高低给每个业务类型标记服务等级,服务质量要求高的业务类型标记高级别的服务等级,服务质量要求低的业务类型标记低级别的服务等级。图4是本发明应用示例划分分级后进行业务带宽调度的示意图,如图4所示,根据设定的服务分级的规则,将业务流分为6个分级。
步骤301、映射不同分级的业务流到相应的业务流队列中。根据服务分级与业务流队列的映射关系,将高服务等级的业务流置入高优先级的业务流队列中,将低服务等级的业务流置入低优先级的业务流队列中。
步骤302、按照预设规则对每个分级的业务流对应的业务流队列、设定相应的业务带宽区间。业务带宽区间包括最小业务带宽和最大业务带宽。
步骤303、根据设定的每个业务流队列的业务带宽区间,对业务流队列的业务带宽进行调度。
将每个业务流队列分成两组:保证服务组和最大服务组,对两组分别进 行带宽分配和调度。保证服务组优先于最大服务组进行调度,采用SP+RR调度算法,
采用严格优先级调度(SP)与循环调度(RR)的调度算法进行最小业务带宽的调度;
在完成最小业务带宽的调度后,采用(SP)和加权循环调度(WRR)的调度算法按照业务流分级进行所述最大业务带宽的调度。
这里,在完成最小业务带宽的调度后,如果有剩余带宽则对最大业务带宽进行调度,采用SP+WRR调度算法,通过最大业务带宽进行调度时,按分级高低和设置权重分配最大业务带宽并调度。对图4中的六种业务类型,首先对六种业务流进行最小业务带宽调度,即采用SP和RR进行最小业务带宽分配;如果有剩余带宽则进行最大业务带宽调度,由于routing flow(路由协议业务)、VoIP flow(语音业务)、vedio flow(视频业务)和gold flow(重要数据业务)采用SP调度,这四种业务按分级高低依次分配最大业务带宽;而standard flow(普通数据业务)和best effort flow(其他业务,尽最大努力服务)采用WRR调度(由于gold flow分配完最大业务带宽后,无法满足standard flow的最大业务带宽),在上面四种业务带宽分配结束并还有剩余带宽的情况下,按设置的权重分配最大带宽,实施例中,standard flow和best effort flow权重分别为0.6和0.4。
步骤304、通过划分不同的虚拟局域网(VLAN),区分每个不同业务场景的业务流。
步骤305、对每个业务场景的VLAN的业务流进行流量整形。包括:将每个业务场景的VLAN的业务流分别绑定到相应的ONU的业务虚端口上,在每个ONU的业务虚端口配置相应的上行流量调度单元,通过分配给每个VLAN的上行流量调度单元相应的业务带宽,完成每个业务场景的业务流的流量整形。
通过对上行流量调度单元分配相应的业务带宽,达到基于VLAN实现对业务流进行流量整形的目的。由于每个VLAN代表一个业务场景,通过对每个VLAN限速达到控制每个业务场景带宽的目的,防止一个业务场景的流量太大导致另一个业务场景无法得到服务。
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
上述技术方案保证了每个业务流的公平接入,避免了网络负载较重时容易出现严重服务质量的问题。

Claims (11)

  1. 一种实现业务带宽分配的方法,包括:
    区分每个属于相同业务场景的进入光网络单元ONU的业务流的业务类型后,依照预设的分级策略对不同业务类型的业务流进行分级;
    按照预设规则,对每个分级的业务流设定相应的业务带宽区间;
    根据设定的每个业务流的业务带宽区间,对业务带宽进行调度。
  2. 根据权利要求1所述的方法,其中,所述对业务带宽进行调度为:
    根据所述业务带宽区间的最小业务带宽和最大业务带宽进行业务带宽的调度,包括:
    采用严格优先级调度SP与循环调度RR的调度算法进行所述最小业务带宽的调度;
    在完成最小业务带宽的调度后,采用SP和加权循环调度WRR的调度算法按照业务流分级进行所述最大业务带宽的调度。
  3. 根据权利要求1或2所述的方法,该方法还包括:
    区分每个属于相同业务场景的进入光网络单元ONU的业务流的业务类型之前,通过划分不同的虚拟局域网VLAN区分每个不同业务场景的业务流。
  4. 根据权利要求3所述的方法,该方法还包括:
    通过分配给每个所述VLAN的上行流量调度单元相应的业务带宽,对每个业务场景的业务流进行流量整形。
  5. 根据权利要求4所述的方法,其中,所述对每个业务场景的业务流进行流量整形包括:
    分别绑定区分业务场景每个所述VLAN到相应的ONU的业务虚端口上,在每个ONU的业务虚端口配置上行流量调度单元,通过分配给每个VLAN的上行流量调度单元相应的业务带宽,完成每个业务场景的业务流的流量整形。
  6. 一种实现业务带宽分配的装置,包括:业务流分级单元、业务带宽设置单元和资源调度单元;其中,
    业务流分级单元,设置为区分每个属于相同业务场景的进入光网络单元ONU的业务流的业务类型后,依照预设的分级策略对不同业务类型的业务流进行分级;
    业务带宽设置单元,设置为按照预设规则,对每个分级的业务流设定相应的业务带宽区间;
    资源调度单元,设置为根据设定的每个业务流的业务带宽区间,对业务带宽进行调度。
  7. 根据权利要求6所述的装置,其中,所述资源调度单元是设置为,根据设定的每个业务流所述业务带宽区间的最小业务带宽和最大业务带宽进行业务带宽的调度,包括:
    采用严格优先级调度SP与循环调度RR的调度算法进行最小业务带宽的调度;
    在完成最小业务带宽的调度后,采用SP和加权循环调度WRR的调度算法按照业务流分级进行所述最大业务带宽的调度。
  8. 根据权利要求6或7所述的装置,该装置还包括:
    业务场景单元,设置为通过划分不同的虚拟局域网VLAN区分每个不同业务场景的业务流。
  9. 根据权利要求8所述的装置,该装置还包括流量整形单元,设置为通过分配给每个VLAN的上行流量调度单元相应的业务带宽,对每个业务场景的业务流进行流量整形。
  10. 根据权利要求9所述的装置,其中,所述流量整形单元是设置为,分别绑定区分业务场景每个VLAN到相应的ONU的业务虚端口上,在每个ONU的业务虚端口配置上行流量调度单元,通过分配给每个VLAN的上行流量调度单元相应的业务带宽,完成每个业务场景的业务流的流量整形。
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~5中任一项所述的方法。
PCT/CN2015/093115 2014-11-04 2015-10-28 一种实现业务带宽分配的方法及装置 WO2016070741A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410612680.2 2014-11-04
CN201410612680.2A CN105634991B (zh) 2014-11-04 2014-11-04 一种实现业务带宽分配的方法及装置

Publications (1)

Publication Number Publication Date
WO2016070741A1 true WO2016070741A1 (zh) 2016-05-12

Family

ID=55908564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093115 WO2016070741A1 (zh) 2014-11-04 2015-10-28 一种实现业务带宽分配的方法及装置

Country Status (2)

Country Link
CN (1) CN105634991B (zh)
WO (1) WO2016070741A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572502B (zh) * 2016-11-04 2019-08-27 成都希盟泰克科技发展有限公司 一种无线通信网络按需信道动态带宽分配方法
CN106788742B (zh) * 2016-12-12 2019-02-01 四川九州电子科技股份有限公司 双纤融合终端中pon模块管理catv模块的方法
CN107659449A (zh) * 2017-09-27 2018-02-02 郑州云海信息技术有限公司 一种保证管理系统服务质量的方法和装置
CN108600115A (zh) * 2018-05-03 2018-09-28 北京中普达技术有限公司 网络带宽资源优化的方法及装置
CN112565939B (zh) * 2020-11-18 2022-02-15 北京邮电大学 无源光网络数据传输方法、网络切片带宽分配方法及装置
CN114157727B (zh) * 2021-12-10 2024-05-14 北京华环电子股份有限公司 Tcp加速在osu中的应用方法及设备
CN114363739B (zh) * 2021-12-20 2022-09-09 北京华环电子股份有限公司 一种基于光业务单元的业务应用方法及装置
CN114513464B (zh) * 2021-12-31 2024-03-29 深圳市联洲国际技术有限公司 流量负载均衡调度方法、装置、设备及存储介质
CN115150690B (zh) * 2022-09-06 2022-11-15 武汉长光科技有限公司 分层服务质量分配方法、光线路终端和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574709A (zh) * 2003-06-16 2005-02-02 三星电子株式会社 鉴于以太无源光网络系统中多重服务的动态带宽分配方法
CN101035389A (zh) * 2006-03-08 2007-09-12 上海交通大学 在无源光网络的远端设备内进行带宽分配的系统和方法
CN102821029A (zh) * 2011-06-08 2012-12-12 上海贝尔股份有限公司 一种以太网无源光网络中的多业务带宽分配方法及其装置
WO2013165855A2 (en) * 2012-05-01 2013-11-07 Citrix Online, Llc Method and apparatus for bandwidth allocation and estimation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9722850B2 (en) * 2004-08-09 2017-08-01 Arris Enterprises Llc Method and system for transforming video streams using a multi-channel flow-bonded traffic stream

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574709A (zh) * 2003-06-16 2005-02-02 三星电子株式会社 鉴于以太无源光网络系统中多重服务的动态带宽分配方法
CN101035389A (zh) * 2006-03-08 2007-09-12 上海交通大学 在无源光网络的远端设备内进行带宽分配的系统和方法
CN102821029A (zh) * 2011-06-08 2012-12-12 上海贝尔股份有限公司 一种以太网无源光网络中的多业务带宽分配方法及其装置
WO2013165855A2 (en) * 2012-05-01 2013-11-07 Citrix Online, Llc Method and apparatus for bandwidth allocation and estimation

Also Published As

Publication number Publication date
CN105634991B (zh) 2020-01-07
CN105634991A (zh) 2016-06-01

Similar Documents

Publication Publication Date Title
WO2016070741A1 (zh) 一种实现业务带宽分配的方法及装置
EP2467978B1 (en) Method for soft bandwidth limiting in dynamic bandwidth allocation
US9301029B2 (en) Data rate control in an optical line terminal
US8913549B2 (en) Congestion control in an optical line terminal
CN104378309B (zh) OpenFlow网络中实现QoS的方法、系统和相关设备
WO2013072776A2 (en) Method and apparatus of multi-service bandwidth allocation in ethernet passive optical network
US10225195B2 (en) Telecommunication systems and methods using dynamic shaping for allocating network bandwidth
US9083464B2 (en) Systems and methods for scheduling business and residential services in optical networks
US10608940B2 (en) Systems and methods for allocating network bandwidth across access modules
CN102811159B (zh) 一种上行业务的调度方法及装置
RU2643666C2 (ru) Способ и устройство для управления авторизацией виртуальной очереди вывода, а также компьютерный носитель информации
US20140192819A1 (en) Packet exchanging device, transmission apparatus, and packet scheduling method
EP3141032B1 (en) Telecommunication systems and methods using dynamic shaping for allocating network bandwidth
Li et al. Programmable bandwidth management in software-defined EPON architecture
CN102404226A (zh) Linux系统下基于802.1p的数据帧绝对优先级调度方法
Stribling et al. Implementing QoS in siepon
Sadon et al. Dynamic hierarchical bandwidth allocation using Russian Doll Model in EPON
KR100545793B1 (ko) 동적 다중 채널 환경에서의 스케쥴링 방법 및 장치
CN107786468B (zh) 基于HQoS的MPLS网络带宽分配方法及装置
JP2013192064A (ja) 局側装置及びponシステム
US8953449B2 (en) Virtual subport data traffic management
KR20080053118A (ko) 이더넷 기반 수동형 광 가입자망(EPON)에서의 서비스품질(QoS) 관련 기능 지원/제어 장치 및 방법
Xu et al. Self-Adaptive Resource-Allocation Scheme Combining Traffic Prediction With User Satisfaction in Multi-Wavelength VPON
Kim Deficit round-robin-based ISP traffic control scheme enabling excess bandwidth allocation in shared access networks
Saxena et al. Quality of service and reliability in optical network

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: 15857064

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: 15857064

Country of ref document: EP

Kind code of ref document: A1