CN106789660B - A QoS-aware approach to traffic management in software-defined networking - Google Patents
A QoS-aware approach to traffic management in software-defined networking Download PDFInfo
- Publication number
- CN106789660B CN106789660B CN201710205375.5A CN201710205375A CN106789660B CN 106789660 B CN106789660 B CN 106789660B CN 201710205375 A CN201710205375 A CN 201710205375A CN 106789660 B CN106789660 B CN 106789660B
- Authority
- CN
- China
- Prior art keywords
- flow
- priority
- traffic
- network
- link
- 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.)
- Expired - Fee Related
Links
- 230000006855 networking Effects 0.000 title 1
- 238000007726 management method Methods 0.000 claims abstract description 12
- 238000012544 monitoring process Methods 0.000 claims abstract 2
- 238000000034 method Methods 0.000 claims description 20
- 230000005540 biological transmission Effects 0.000 claims description 17
- 241000406668 Loxodonta cyclotis Species 0.000 claims description 5
- 230000006870 function Effects 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/125—Shortest path evaluation based on throughput or bandwidth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/306—Route determination based on the nature of the carried application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2408—Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种软件定义网络中的流量管理方法,具体地涉及一种软件定义网络中QoS可感知的流量管理方法。对不同种类业务流量采用不同的流量调度和流速调控方法,实施差异化的QoS策略。The invention relates to a traffic management method in a software-defined network, in particular to a QoS-aware traffic management method in the software-defined network. Different traffic scheduling and flow rate control methods are used for different types of business traffic, and differentiated QoS policies are implemented.
背景技术Background technique
保障网络的服务质量(Quality of Service,QoS)是一个复杂的问题。一般的,传统网络对数据流进行无差别对待,按尽力而为(best-effort)的原则进行服务,追求吞吐量的最大化。不同应用对网络服务质量的要求差别很大,例如,在企业私有网络中,客户日常操作(访问,存储等)数据量小,其网络时延将直接影响用户体验。而企业服务器中用于程序数据同步的数据,虽然数据量巨大,能给网络带来不小的压力,但这部分数据对时间的敏感性却相对较小。面对现今巨大网络规模和海量的网络数据,传统网络的单一处理方式显得力不从心。Guaranteeing the quality of service (QoS) of the network is a complex problem. In general, traditional networks treat data streams indiscriminately, perform services according to the principle of best-effort, and pursue maximization of throughput. Different applications have different requirements for network service quality. For example, in an enterprise private network, the data volume of customers' daily operations (access, storage, etc.) is small, and the network delay will directly affect the user experience. The data used for program data synchronization in the enterprise server, although the amount of data is huge, can bring a lot of pressure to the network, but this part of the data is relatively less sensitive to time. In the face of today's huge network scale and massive network data, the single processing method of the traditional network is not enough.
软件定义网络(Software Defined Network,SDN)将控制层和数据层分离,控制层可以以全局视角统一调配网络资源,网络管理者可以在控制层制定多种策略来保障网络的稳定高效运行。目前软件定义网络中最流行的一种标准是OpenFlow,控制层功能由控制器Controller实现,数据层功能由主要交换机实现。控制器通过下发流表项到各交换机,对流量传输路径进行控制。Software Defined Network (SDN) separates the control layer from the data layer. The control layer can uniformly allocate network resources from a global perspective. Network managers can formulate various strategies at the control layer to ensure the stable and efficient operation of the network. One of the most popular standards in software-defined networks is OpenFlow. The functions of the control layer are implemented by the controller, and the functions of the data layer are implemented by the main switches. The controller controls the traffic transmission path by delivering flow entries to each switch.
软件定义网络集中式管理,软件可编程的特点,可以根据上层业务的需求,针对性地制定适合的QoS策略,更高效地服务于需求各异的网络业务。本发明也利用软件定义网络的优点,制定适合的流量管理策略。The software-defined network has centralized management and software programmable features. It can formulate appropriate QoS policies according to the needs of upper-layer services, and more efficiently serve network services with different needs. The present invention also makes use of the advantages of software-defined networks to formulate suitable traffic management strategies.
发明内容SUMMARY OF THE INVENTION
针对上述存在的技术问题,本发明目的是:提供了一种软件定义网络中QoS可感知的流量管理方法,对不同的需求的数据流采用不同的QoS策略,优先级高的数据得到优先处理,有差别地对待网络中的流量,保障关键业务流量顺畅通过网络。In view of the above-mentioned technical problems, the purpose of the present invention is to: provide a QoS-aware traffic management method in a software-defined network, adopt different QoS policies for data streams with different requirements, and prioritize data with high priority. Differentially treat traffic in the network to ensure that critical business traffic flows smoothly through the network.
本发明的技术方案是:The technical scheme of the present invention is:
一种软件定义网络中QoS可感知的流量管理方法,包括以下步骤:A QoS-aware traffic management method in a software-defined network, comprising the following steps:
S01:通过软件定义网络的网络上层应用将QoS需求发送给网络;S01: Send QoS requirements to the network through the upper-layer network application of the software-defined network;
S02:网络检查应用服务质量需求,将应用流量分成优先级不同的若干个类别;S02: The network checks the application service quality requirements, and divides the application traffic into several categories with different priorities;
S03:对应用流量进行识别,对不同类别的应用流量进行不同的路由;S03: Identify application traffic, and perform different routes for different types of application traffic;
S04:对所有链路的使用率进行监测,对拥塞链路进行流量调度;S04: Monitor the usage rates of all links, and perform traffic scheduling on congested links;
S05:对流量调度后的拥塞链路进行流量限制。S05: Perform traffic restriction on the congested link after traffic scheduling.
优选的,所述步骤S02中流量分类的依据为流量的QoS需求和流量的重要性,包括最小需求带宽、延迟容忍范围、业务种类。Preferably, the traffic classification in the step S02 is based on the QoS requirements of the traffic and the importance of the traffic, including minimum required bandwidth, delay tolerance range, and service type.
优选的,所述步骤S03中识别不同类别的流量的方法为:网络设备通过检查应用的数据包包头部对应的匹配域进行识别,带应用标记的流量视为优先级流,否则视为无优先级流。Preferably, the method for identifying different types of traffic in the step S03 is: the network device identifies by checking the matching field corresponding to the packet header of the application, and the traffic marked with the application is regarded as a priority flow, otherwise it is regarded as no priority flow level flow.
优选的,所述步骤S03中路由的方法为:Preferably, the routing method in the step S03 is:
对于有优先级流,控制器计算流量在网络的最短路径,若最短路径上每一条链路皆满足其带宽需求,则按照该条路径进行路由;否则,若其最短路径上链路中存在比其优先级低的流,并且低优先级流的所需带宽和超过当前优先级所需带宽,则按照最短路径进行路由,同时对该路径上低优先级的流进行流量调度;若链路中不存在优先级低的流或无法进行流量调度,则依次寻找下一条符合的路径进行路由,若没有找到满足需求的路径,则按照最短路径进行路由,同时启用流量限制;For the flow with priority, the controller calculates the shortest path of the traffic in the network. If each link on the shortest path meets its bandwidth requirements, it will route according to this path; For the flow with low priority, and the required bandwidth of the low-priority flow exceeds the required bandwidth of the current priority, it will be routed according to the shortest path, and the flow of the low-priority flow on the path will be scheduled at the same time; If there is no low-priority flow or traffic scheduling cannot be performed, the next matching path is searched for routing in turn. If no path that meets the requirements is found, routing is performed according to the shortest path, and traffic restriction is enabled at the same time;
对于无优先级流,选取网络带宽利用率最低的路径进行路由。For non-priority flows, the path with the lowest network bandwidth utilization is chosen for routing.
优选的,所述流量调度的方法为:控制器检测网络链路,当链路利用率超过阈值时,对链路中低优先级流量进行调度,将链路上的一部分数据量较大的流引导至其他链路上,控制器筛选出合适的数据流,通知对应交换机修改流表项,改变流量转发路径;若无法找到其他空闲链路或流量调度之后链路带宽利用率依然很高,则启用流量限制。Preferably, the traffic scheduling method is as follows: the controller detects the network link, when the link utilization rate exceeds a threshold, schedules low-priority traffic on the link, and schedules a part of the traffic on the link with a large amount of data. Guided to other links, the controller filters out suitable data flows, notifies the corresponding switch to modify the flow table entry, and change the traffic forwarding path; if no other idle links can be found or the link bandwidth utilization is still high after traffic scheduling Enable traffic throttling.
优选的,所述流量限制方法为:Preferably, the flow restriction method is:
设置不同类别流量的速率阈值,低优先级流速率阈值等于链路最大速率与高优先级流总速率的差;设置与流量优先级别数量相同的队列,每条队列只服务于某一类别的流,并且为其设置最小传输速率,所述最小传输速率值等于该队列所有流量需求速率和;Set the rate thresholds for different types of traffic. The low-priority traffic rate threshold is equal to the difference between the maximum rate of the link and the total rate of high-priority traffic. Set the same number of queues as the traffic priority, and each queue only serves a certain type of traffic. , and set the minimum transmission rate for it, the minimum transmission rate value is equal to the sum of all traffic demand rates of the queue;
控制器监测链路使用情况,统计各优先级别的流量,动态限制低优先级流量速率的阈值,先将最低优先级流量速率降到最低,再对次优先级流量速率进行限制。The controller monitors the link usage, counts the traffic of each priority level, and dynamically limits the low-priority traffic rate threshold. First, the lowest-priority traffic rate is reduced to the lowest level, and then the sub-priority traffic rate is limited.
与现有技术相比,本发明的优点是:Compared with the prior art, the advantages of the present invention are:
1.增加网络对上层应用业务的感知性,避免了传统网络中无差别对待流量带来的网络资源分配不合理问题。1. Increase the network's perception of upper-layer application services, and avoid the problem of unreasonable network resource allocation caused by indiscriminate treatment of traffic in traditional networks.
2.差异化的路由策略和流量调度策略可以按业务需求为其安排合适的链路,保障传输质量,同时一定程度上缓解了网络的拥塞。2. Differentiated routing strategies and traffic scheduling strategies can arrange suitable links for them according to business requirements, ensure transmission quality, and relieve network congestion to a certain extent.
3.采用Queue和Meter相结合的流量调控机制,按优先级对流集合进行速率限制,保障重要业务流量的流畅传输。3. The traffic control mechanism combining Queue and Meter is adopted to limit the rate of the flow set according to the priority to ensure the smooth transmission of important business traffic.
附图说明Description of drawings
下面结合附图及实施例对本发明作进一步描述:Below in conjunction with accompanying drawing and embodiment, the present invention is further described:
图1为本发明流量管理方法的步骤框图;1 is a block diagram of steps of a traffic management method of the present invention;
图2为路由方法的流程图;Fig. 2 is the flow chart of routing method;
图3为流量调控流程图。Figure 3 is a flow control flow chart.
具体实施方式Detailed ways
以下结合具体实施例对上述方案做进一步说明。应理解,这些实施例是用于说明本发明而不限于限制本发明的范围。实施例中采用的实施条件可以根据具体厂家的条件做进一步调整,未注明的实施条件通常为常规实验中的条件。The above scheme will be further described below in conjunction with specific embodiments. It should be understood that these examples are intended to illustrate the invention and not to limit the scope of the invention. The implementation conditions used in the examples can be further adjusted according to the conditions of specific manufacturers, and the implementation conditions not specified are usually the conditions in routine experiments.
实施例:Example:
如图1所示,本发明的软件定义网络(SDN)中QoS可感知的流量管理方法,主要包括,流量识别、动态路由、流量调度和流速调控几个步骤。具体步骤如下:As shown in FIG. 1 , the QoS-aware traffic management method in the software-defined network (SDN) of the present invention mainly includes the steps of traffic identification, dynamic routing, traffic scheduling and flow rate regulation. Specific steps are as follows:
(1)软件定义网络(SDN)环境下,网络上层应用将服务质量(QoS)需求发送给网络;(1) In the software-defined network (SDN) environment, the upper-layer application on the network sends the quality of service (QoS) requirements to the network;
(2)网络检查应用QoS需求,将应用流量分成优先级不同的若干个类别;(2) The network checks the application QoS requirements, and divides the application traffic into several categories with different priorities;
(3)网络对步骤(2)中流量进行识别,对不同类别的流量分别安排路由;(3) The network identifies the traffic in step (2), and arranges routes for different types of traffic respectively;
(4)网络对所有链路的使用率进行监测,对拥塞链路进行流量调度;(4) The network monitors the utilization rate of all links and schedules traffic on congested links;
(5)对步骤(4)中流量调度后依然拥塞的链路进行速率限制;(5) rate limiting the link that is still congested after the traffic scheduling in step (4);
流量识别和分类:Traffic identification and classification:
网络上层应用将其QoS需求(带宽、时延)信息发送到控制层,应用可随时修改其需求信息;The upper-layer application on the network sends its QoS requirement (bandwidth, delay) information to the control layer, and the application can modify its requirement information at any time;
控制器检查QoS需求,将网络内流量进行分类:关键级(数据极其重要,或对时间敏感性很高),高优先级数据,一般优先级数据,不带优先级数据等多个类别。The controller checks the QoS requirements and classifies the traffic in the network: critical (data is extremely important, or very time-sensitive), high-priority data, general-priority data, and no-priority data.
上层应用需要对带优先级的数据包进行标记,没有标记的数据包为不带优先级数据,即优先级最低。数据包头部的匹配域,如IP协议中的ToS(Type of Service)域可以用来标记,交换机和控制器通过检查匹配域识别对应流量的优先级。The upper-layer application needs to mark the data packets with priority, and the data packets without marking are data without priority, that is, the priority is the lowest. The matching field in the packet header, such as the ToS (Type of Service) field in the IP protocol, can be used for marking, and switches and controllers identify the priority of the corresponding traffic by checking the matching field.
如图2所示,路由的方法为:新数据流进入网络后,边缘交换机封装packet-in消息发送给控制器,控制器解析packet-in消息,控制器查看数据包头部标记,按优先级进行路由选;As shown in Figure 2, the routing method is: after the new data flow enters the network, the edge switch encapsulates the packet-in message and sends it to the controller, the controller parses the packet-in message, the controller checks the header of the data packet, and executes it according to the priority. routing;
若数据包不带优先级,则控制器通过算法找到其所有可通过的路径,并选择其中最空闲(使用率最低)的路径进行路由。If the data packet does not have a priority, the controller finds all its traversable paths through an algorithm, and selects the most idle (lowest usage) path for routing.
若数据包带有优先级,则需要检查链路使用情况后进行路由:控制器通过算法计算数据包经过网络的最短路径(默认路径),若最短路径上每一条链路皆满足其带宽需求,则按照该条路径进行路由。若最短路径上某条链路带宽不满足其需求,则按以下方法进行路由:If the data packet has priority, it needs to check the link usage before routing: the controller calculates the shortest path (default path) of the data packet through the network through an algorithm. If each link on the shortest path meets its bandwidth requirements, Then route according to this path. If the bandwidth of a link on the shortest path does not meet its requirements, the route is performed as follows:
对于某一优先级的流,若其最短路径上链路中存在比其优先级低的流,并且低优先级流的所需带宽和超过当前优先级所需带宽,则依然按照最短路径进行路由,同时对该路径上低优先级的流进行流量调度;若链路中不存在优先级低的流,或无法进行流量调度,则依次按此方法找出下一条符合的路径进行路由。若没有找到合适任何一条满足需求的路径,则按照默认最短路径进行传输,同时启用流量限制。按此方法,最高优先级流总是优先按照最短路径进行路由,低优先级的流总是优先被重路由或限流。For a flow with a certain priority, if there is a flow with a lower priority than the flow on the link on the shortest path, and the required bandwidth of the low-priority flow exceeds the required bandwidth of the current priority, it will still be routed according to the shortest path , and perform traffic scheduling on the low-priority flow on the path at the same time; if there is no low-priority flow in the link, or the traffic scheduling cannot be performed, then follow this method to find the next matching path for routing. If no suitable path is found that meets the requirements, the default shortest path is used for transmission, and traffic restriction is enabled. In this way, the highest priority flow is always routed according to the shortest path first, and the lower priority flow is always preferentially rerouted or limited.
如图3所示,流量调度的具体方法为:As shown in Figure 3, the specific method of traffic scheduling is:
新数据流需要使用链路或链路使用率过高时启动流量调度。若是由新数据流到达网络引起的流量调度,被调度的流为比新流优先级低的流;若是由链路带宽使用率过高引起的流量调度,所有的流都可以被调度;选择调度流的方法为:依次按优先级选出最低优先级流中的大象流,将其流量引导到其他空闲链路上,低优先的流优先被引导;只有大象流会被调度,老鼠流不会被调度;若所有大象流被引导后,依然不满足新数据流带宽需求,则对低优先级的流进行流量限制;流量调度后链路使用率仍然过高而无法满足需求时启动流量调控。Traffic scheduling is initiated when a new data flow needs to use the link or when the link usage is too high. In the case of traffic scheduling caused by the arrival of a new data flow to the network, the scheduled flow is a flow with a lower priority than the new flow; in the case of traffic scheduling caused by excessive link bandwidth usage, all flows can be scheduled; select scheduling The flow method is: select the elephant flow in the lowest priority flow in sequence according to the priority, and guide its flow to other idle links, and the low priority flow will be guided first; only the elephant flow will be scheduled, and the mouse flow will be scheduled. Will not be scheduled; if all the elephant flows are guided and still do not meet the bandwidth requirements of the new data flow, the flow of the low-priority flow will be limited; after the flow scheduling, the link usage is still too high to meet the demand. Flow control.
流量调控具体方法为:The specific methods of flow control are as follows:
使用Meter设置各个类别流量的速率阈值,某类流关联Meter Band中设置的速率阈值,等于链路可分配速率与高优先级的流速率的差;设置与流量优先级别数量相同的队列,每条队列只服务于某一类别的流,用于保障数据流最小传输速率,并且为其设置最小传输速率。队列初始最小速率为某一控制值R(R>0),根据关联到该队列流量所需求带宽值,动态提高或降低队列的最小速率;若最小速率的设置值超过Meter表内对该类流量的阈值,则使其与该阈值保持一致;当Meter阈值上调时,队列最小传输速率值会随阈值提高到对应流所需的速率。低优先级流速率阈值等于链路最大速率与高优先级流总速率的差,即对于某一优先级的流,在更高优先级速率得到最大化的情况下,使该流速得到最大化;若该流的速率超过阈值,则对所有低优先级的流速率和进行限制;速率阈值的最小值不低于队列速率控制值R,阈值的最大值不超过链路最大速率。Use Meter to set the rate threshold of each type of traffic. A certain type of flow is associated with the rate threshold set in the Meter Band, which is equal to the difference between the link's assignable rate and the rate of high-priority traffic; set the same number of queues as the number of traffic priorities. The queue only serves a certain type of flow, is used to guarantee the minimum transmission rate of the data flow, and sets the minimum transmission rate for it. The initial minimum rate of the queue is a certain control value R (R>0). According to the bandwidth value required by the traffic associated with the queue, the minimum rate of the queue is dynamically increased or decreased; if the set value of the minimum rate exceeds the value in the Meter table for this type of traffic When the meter threshold is raised, the minimum transmission rate value of the queue will increase to the rate required by the corresponding flow along with the threshold. The low-priority flow rate threshold is equal to the difference between the maximum rate of the link and the total rate of high-priority flows, that is, for a flow of a certain priority, the flow rate is maximized when the rate of higher priority is maximized; If the rate of the flow exceeds the threshold, the rate sum of all low-priority flows is limited; the minimum value of the rate threshold is not lower than the queue rate control value R, and the maximum value of the threshold does not exceed the maximum rate of the link.
控制器监测链路使用情况,统计各优先级别的流量,动态限制低优先级流量速率的阈值,使其不影响比其优先级高的流量的速率;按该方法,某一链路上流量总是先将最低优先级速率降到最低,再对此优先级速率进行限制,这样能保障高优先级流速率的最大化。The controller monitors the link usage, counts the traffic of each priority level, and dynamically limits the rate threshold of low-priority traffic so that it does not affect the rate of traffic with a higher priority than it; It is to first reduce the lowest priority rate to the lowest, and then limit the priority rate, which can ensure the maximization of the high-priority flow rate.
下面以具体的实例进行说明:Specific examples are given below:
(1)设网络中存在A1,A2,A3,A4四类应用,优先级依次降低,其中A1,A2,A3的数据带优先级,A4流量不带优先级。(1) Assume that there are four types of applications A 1 , A 2 , A 3 , and A 4 in the network, and the priorities decrease in turn. The data of A 1 , A 2 , and A 3 have priority, and the traffic of A 4 has no priority.
(2)路由安排:(2) Routing arrangement:
A1应用的流量的优先级最高,控制器计算其流量通过网络的路径,并检查该路径上每条链路的未分配带宽,若满足A1应用的需求,则按该路径进行路由;若链路带宽不满足,则对该链路上A2,A3,A4应用的流量进行调度或流量限制; The traffic of the A1 application has the highest priority. The controller calculates the path of its traffic through the network, and checks the unallocated bandwidth of each link on the path. If it meets the requirements of the A1 application, it will route according to this path; if If the link bandwidth is not satisfied, schedule or limit the traffic applied by A 2 , A 3 , and A 4 on the link;
A2应用流量路由原则同A1,当且仅当拥塞链路低优先级流(A3,A4)无法进行调度且链路剩余带宽不满足A2的要求时,循环寻找下一条最优路径。若找不到满足的路径,则选取原始最优路径进行传输,并对A3,A4流量进行限制;A 2 applies the same traffic routing principle as A 1 , and if and only if the congested link low-priority flows (A 3 , A 4 ) cannot be scheduled and the remaining bandwidth of the link does not meet the requirements of A 2 , it loops to find the next optimal flow path. If no satisfying path is found, select the original optimal path for transmission, and restrict the traffic of A 3 and A 4 ;
A3流量路由方法同A2;A4应用流量为不带优先级的流,路由时控制器找出网络中最空闲的路径进行传输,可根据其带宽需求多路径传输。 The traffic routing method of A3 is the same as that of A2 ; the application traffic of A4 is a flow without priority . During routing, the controller finds the most idle path in the network for transmission, and can transmit in multiple paths according to its bandwidth requirements.
(3)流量调度:启动流量调度的情形有两种:1)链路带宽利用率过高,则链路调度将链路的使用率降低至某个阈值(设为80%);2)优先级高的流需要占用该链路B的带宽,则对低优先级流进行调度至满足其带宽。(3) Traffic scheduling: There are two situations for starting traffic scheduling: 1) The link bandwidth utilization rate is too high, then the link scheduling reduces the link utilization rate to a certain threshold (set to 80%); 2) Priority If a flow with a higher priority needs to occupy the bandwidth of the link B, the flow with a lower priority is scheduled to satisfy its bandwidth.
对于被调度的链路L,链路上存在上述四种流量,需要把系优先级低于P的流进行调度。控制器筛选出优先级低于P的流,查看各flow entry或meter band内的counter,按计数将各条流排序,依次选出计数值大于某一值X且优先级最低的流进行调度,计算该部分流是否存在其他可以调度的路径,若存在则控制器修改对应交换机上的流表项,使流量通过其他路径进行转发。流进行调度后,对应队列设置的最小传输速率RQ会随着降低,流量导向链路队列的最小传输速率值会增加。若调度后仍不满足需求,则对该链路进行流量限制。For the scheduled link L, the above-mentioned four kinds of traffic exist on the link, and it is necessary to schedule the flow with the priority lower than P. The controller filters out flows with a priority lower than P, checks the counters in each flow entry or meter band, sorts the flows according to the count, and selects the flows with the count value greater than a certain value X and the lowest priority for scheduling. Calculate whether there are other schedulable paths for this part of the flow. If so, the controller modifies the flow entry on the corresponding switch to forward the traffic through other paths. After the flow is scheduled, the minimum transmission rate R Q set by the corresponding queue will decrease, and the minimum transmission rate value of the traffic-directed link queue will increase. If the demand is still not met after scheduling, the traffic will be restricted on the link.
(4)流量限制的方法为:Meter Table中设置了若干个Meter Band,M1,M2,M3,M4分别记录A1,A2,A3,A4的流量,M1*记录比A1优先级低的流量,M2*,M3*同理,其对应的速率阈值记为RM1,RM2,RM3,RM4,RM1*,RM2*,RM3*。RMax为链路能分配的最大速率,记链路上A1~A4的实际速率为R1~R4。(4) The method of traffic limitation is: several Meter Bands are set in the Meter Table, M 1 , M 2 , M 3 , and M 4 record the traffic of A 1 , A 2 , A 3 , and A 4 respectively, and M 1 * records For traffic with a lower priority than A1, M 2* , M 3* are the same, and the corresponding rate thresholds are recorded as R M1 , R M2 , R M3 , R M4 , R M1* , R M2* , R M3* . R Max is the maximum rate that the link can allocate, and the actual rates of A 1 to A 4 on the link are denoted as R 1 to R 4 .
交换机中设置队列Q1,Q2,Q3分别用于保障A1,A2,A3的流量,队列设置的最小传输速率分别为RQ1,RQ2,RQ3,其中RQ1>RQ1min,R2>RQ2min,R3>RQ3min。设Ri为流量所需速率,i为队列中流的数量,本例中设置:某类流量的最小阈值不小于服务于该优先队列的最小传输速率值:RQ1min≤RQ1≤RM1,RQ2min≤RQ2≤RM2,RQ3min≤RQ3≤RM3。Queues Q 1 , Q 2 , and Q 3 are set in the switch to ensure the traffic of A 1 , A 2 , and A 3 respectively. The minimum transmission rates set by the queues are R Q1 , R Q2 , and R Q3 respectively, where R Q1 >R Q1min , R 2 >R Q2min , R 3 >R Q3min . Let R i be the required rate of flow, i is the number of streams in the queue, set in this example: The minimum threshold of a certain type of traffic is not less than the minimum transmission rate value serving the priority queue: R Q1min ≤R Q1 ≤R M1 , R Q2min ≤R Q2 ≤R M2 , R Q3min ≤R Q3 ≤R M3 .
则以上速率满足下列不等式:Then the above rates satisfy the following inequalities:
其中RM1~RM4的计算公式为:The calculation formula of R M1 ~ R M4 is:
其中,in,
综上得出,限制流量的方法为,在满足(1)(2)不等式的情况下,依次使RM1~RM4取的最大值。To sum up, it can be concluded that the method of restricting the flow rate is to make the maximum value of R M1 to R M4 in order under the condition of satisfying (1) and (2) inequalities.
上述实例只为说明本发明的技术构思及特点,其目的在于让熟悉此项技术的人是能够了解本发明的内容并据以实施,并不能以此限制本发明的保护范围。凡根据本发明精神实质所做的等效变换或修饰,都应涵盖在本发明的保护范围之内。The above examples are only to illustrate the technical concept and characteristics of the present invention, and the purpose is to enable those who are familiar with the technology to understand the content of the present invention and implement it accordingly, and cannot limit the protection scope of the present invention. All equivalent transformations or modifications made according to the spirit of the present invention should be covered within the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710205375.5A CN106789660B (en) | 2017-03-31 | 2017-03-31 | A QoS-aware approach to traffic management in software-defined networking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710205375.5A CN106789660B (en) | 2017-03-31 | 2017-03-31 | A QoS-aware approach to traffic management in software-defined networking |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789660A CN106789660A (en) | 2017-05-31 |
CN106789660B true CN106789660B (en) | 2020-08-28 |
Family
ID=58965816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710205375.5A Expired - Fee Related CN106789660B (en) | 2017-03-31 | 2017-03-31 | A QoS-aware approach to traffic management in software-defined networking |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789660B (en) |
Families Citing this family (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104373B (en) * | 2017-06-20 | 2022-02-22 | 华为技术有限公司 | Method, device and system for processing network congestion |
CN107294862A (en) * | 2017-06-22 | 2017-10-24 | 济南浪潮高新科技投资发展有限公司 | A kind of traffic scheduling method and device |
CN109309629A (en) * | 2017-07-26 | 2019-02-05 | 腾讯科技(深圳)有限公司 | Data transmission method, data transmission device, and computer-readable storage medium |
CN107454015B (en) * | 2017-08-03 | 2021-03-30 | 山东省计算中心(国家超级计算济南中心) | OF-DiffServ model-based QoS control method and system |
US10511524B2 (en) * | 2017-10-03 | 2019-12-17 | Futurewei Technologies, Inc. | Controller communications in access networks |
CN107800641A (en) * | 2017-12-14 | 2018-03-13 | 中国科学技术大学苏州研究院 | Prevent from controlling the control method of link congestion in software defined network |
CN108337190B (en) * | 2018-01-31 | 2021-11-26 | 新华三技术有限公司 | Shunting method and device |
CN112073216A (en) | 2018-02-05 | 2020-12-11 | 华为技术有限公司 | Method and device for acquiring link quality |
CN108566341B (en) * | 2018-04-08 | 2021-01-15 | 西安交通大学 | Flow control method in SD-WAN (secure digital-Wide area network) environment |
CN110198267B (en) * | 2018-04-26 | 2022-01-14 | 腾讯科技(深圳)有限公司 | Traffic scheduling method, system and server |
CN109039897B (en) * | 2018-07-20 | 2020-12-01 | 南京邮电大学 | A software-defined backhaul network routing method based on service awareness |
CN109005128B (en) * | 2018-08-21 | 2022-11-01 | 新华三技术有限公司 | Protocol message scheduling method, device and network equipment |
CN109088822B (en) * | 2018-09-21 | 2022-08-16 | 平安科技(深圳)有限公司 | Data flow forwarding method, device, system, computer equipment and storage medium |
US10708144B2 (en) * | 2018-11-14 | 2020-07-07 | Juniper Networks, Inc. | Predicting application quality of experience metrics using adaptive machine learned probes |
CN109600319B (en) * | 2018-12-11 | 2022-07-08 | 浙江工商大学 | A Traffic Scheduling Method in Real-time Transmission Mechanism |
CN109714275B (en) * | 2019-01-04 | 2022-03-15 | 电子科技大学 | SDN controller for access service transmission and control method thereof |
CN109617819B (en) * | 2019-01-29 | 2021-06-08 | 南京邮电大学 | Software-defined backhaul network routing method based on traffic classification |
CN110048949B (en) * | 2019-03-27 | 2022-02-25 | 天津大学 | Communication Method Based on TTE Network Capacity Estimation |
CN110191061A (en) * | 2019-05-07 | 2019-08-30 | 荆楚理工学院 | A campus network management system based on SDN technology |
CN110166372B (en) * | 2019-05-27 | 2022-04-19 | 中国科学技术大学 | Method for online scheduling of co-flows in optical circuit switch-based data centers |
CN111092824B (en) * | 2019-10-08 | 2020-12-04 | 交通银行股份有限公司数据中心 | Traffic management system, traffic management method, electronic terminal, and storage medium |
CN112039720B (en) * | 2020-07-31 | 2022-03-25 | 中国人民解放军战略支援部队信息工程大学 | 1-100% flow accurate controllable flow generating device and flow generating method |
CN111970153A (en) * | 2020-08-21 | 2020-11-20 | 中国建设银行股份有限公司 | Fault isolation method and device based on virtual gateway and related equipment |
CN113141321B (en) * | 2021-03-31 | 2023-01-13 | 航天云网数据研究院(广东)有限公司 | Data transmission method based on edge calculation and electronic equipment |
CN113364682B (en) * | 2021-05-31 | 2023-04-07 | 浙江大华技术股份有限公司 | Data transmission method and device, storage medium and electronic device |
CN114513464B (en) * | 2021-12-31 | 2024-03-29 | 深圳市联洲国际技术有限公司 | Traffic load balancing scheduling method, device, equipment and storage medium |
CN114627684B (en) * | 2022-01-24 | 2023-08-18 | 中国民用航空中南地区空中交通管理局海南分局 | Flight departure time slot allocation calculation method under influence of multiple flow management strategies |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103825823A (en) * | 2014-02-21 | 2014-05-28 | 中国科学技术大学苏州研究院 | Data forwarding method based on different priorities in software-defined network |
CN105847151A (en) * | 2016-05-25 | 2016-08-10 | 安徽大学 | Multi-constraint QoS routing strategy design method for software defined network |
CN106341346A (en) * | 2016-09-08 | 2017-01-18 | 重庆邮电大学 | Routing algorithm of guaranteeing QoS in data center network based on SDN |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10028167B2 (en) * | 2015-03-08 | 2018-07-17 | Alcatel-Lucent Usa Inc. | Optimizing quality of service in a content distribution network using software defined networking |
-
2017
- 2017-03-31 CN CN201710205375.5A patent/CN106789660B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103825823A (en) * | 2014-02-21 | 2014-05-28 | 中国科学技术大学苏州研究院 | Data forwarding method based on different priorities in software-defined network |
CN105847151A (en) * | 2016-05-25 | 2016-08-10 | 安徽大学 | Multi-constraint QoS routing strategy design method for software defined network |
CN106341346A (en) * | 2016-09-08 | 2017-01-18 | 重庆邮电大学 | Routing algorithm of guaranteeing QoS in data center network based on SDN |
Non-Patent Citations (1)
Title |
---|
PriQoS:基于SDN 的区分优先权流控机制;孙志,陈鸣;《通信学报》;20170225;第38卷(第2期);第3-5页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106789660A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106789660B (en) | A QoS-aware approach to traffic management in software-defined networking | |
US6678248B1 (en) | Policy based quality of service | |
US6859438B2 (en) | Policy based quality of service | |
CN107454015B (en) | OF-DiffServ model-based QoS control method and system | |
CN110636011A (en) | Method, device and terminal equipment for intelligent dispatching of power communication service data flow | |
US8547846B1 (en) | Method and apparatus providing precedence drop quality of service (PDQoS) with class-based latency differentiation | |
CN106341346A (en) | Routing algorithm of guaranteeing QoS in data center network based on SDN | |
US11799783B2 (en) | Quality of service management system for a communication network | |
KR100501717B1 (en) | Method for voice/data transport over UDP/TCP/IP networks using an efficient buffer management | |
Homg et al. | An adaptive approach to weighted fair queue with QoS enhanced on IP network | |
CN104053183B (en) | A kind of method for managing network resource of LTE system | |
CN102231697A (en) | Bandwidth dispatching method of message queues as well as message reporting method and device | |
US20120176903A1 (en) | Non-uniform per-packet priority marker for use with adaptive protocols | |
CN117336249A (en) | Method for adjusting Qos based on data flow | |
US8203956B1 (en) | Method and apparatus providing a precedence drop quality of service (PDQoS) | |
CN102571607A (en) | A network velocity distribution system | |
CN104272693A (en) | Allocate network bandwidth | |
CN101656662B (en) | Method and system for allocating network resources | |
Christin et al. | A QoS architecture for quantitative service differentiation | |
GB2436953A (en) | Dynamically controlling data flow in data network system | |
TWI731736B (en) | Apparatus and method for rate management and bandwidth control | |
CN112615798B (en) | A bandwidth allocation method and device based on elephant flow reservation | |
Asaduzzaman et al. | The eight class of service model-an improvement over the five classes of service | |
CN110753007B (en) | QoS-based flow strategy configuration method and device | |
EP4315764A1 (en) | Fair hierarchical quality of service marking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200828 |
|
CF01 | Termination of patent right due to non-payment of annual fee |