[go: up one dir, main page]

CN1878167A - Method for ensuring service quality in multi protocol label switching protocol - Google Patents

Method for ensuring service quality in multi protocol label switching protocol Download PDF

Info

Publication number
CN1878167A
CN1878167A CNA2005100769166A CN200510076916A CN1878167A CN 1878167 A CN1878167 A CN 1878167A CN A2005100769166 A CNA2005100769166 A CN A2005100769166A CN 200510076916 A CN200510076916 A CN 200510076916A CN 1878167 A CN1878167 A CN 1878167A
Authority
CN
China
Prior art keywords
scheduler
forwarding
label switching
queues
scheduling
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.)
Granted
Application number
CNA2005100769166A
Other languages
Chinese (zh)
Other versions
CN100531203C (en
Inventor
周东雷
欧阳春波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2005100769166A priority Critical patent/CN100531203C/en
Publication of CN1878167A publication Critical patent/CN1878167A/en
Application granted granted Critical
Publication of CN100531203C publication Critical patent/CN100531203C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种在多协议标签交换协议中保证服务质量的方法。包括:(1)为EF、AF、BF LSP报文创建三种队列,每种队列含若干队列;(2)创建三个调度器,将EF、AF、BF的三种队列挂到三个调度器下;(3)为端口分配调度资源;(4)判断EF调度器下各队列是否有报文需发送,若否,到步骤(5);若是,到步骤(7);(5)判断AF调度器下各队列是否有报文需发送,若否,到步骤(6);若是,到步骤(7);(6)判断BF调度器下各队列是否有报文需发送,若否,结束;若是,到步骤(7);(7)确定需要调度的队列调度,直到调度完所有存在报文的队列,执行下一优先级调度器内队列的判断。

Figure 200510076916

The invention discloses a method for guaranteeing service quality in a multi-protocol label switching protocol. Including: (1) Create three queues for EF, AF, and BF LSP messages, each queue contains several queues; (2) Create three schedulers, and hang the three queues of EF, AF, and BF to the three schedulers (3) allocate scheduling resources for the port; (4) judge whether each queue under the EF scheduler has messages to send, if not, go to step (5); if so, go to step (7); (5) judge Whether each queue under the AF scheduler has a message to send, if not, go to step (6); if so, go to step (7); (6) judge whether each queue under the BF scheduler has a message to send, if not, End; if so, go to step (7); (7) determine the queue scheduling that needs to be scheduled until all queues that have messages are scheduled, and then execute the judgment of the queue in the next priority scheduler.

Figure 200510076916

Description

一种在多协议标签交换协议中保证服务质量的方法A Method of Guaranteeing Quality of Service in Multiprotocol Label Switching Protocol

技术领域technical field

本发明涉及多协议标签交换协议MPLS(Multiprotocol Lable Switch)领域,具体地说,是涉及一种在多协议标签交换协议中保证服务质量的方法。The present invention relates to the field of multiprotocol label switching protocol MPLS (Multiprotocol Lable Switch), in particular to a method for guaranteeing service quality in the multiprotocol label switching protocol.

背景技术Background technique

随着互联网的发展,数据通信量正在呈爆炸式的增长。要适应这种增长,通信网络正在进行种种技术革新。由于互联网的流行,IP应用日益广泛,IP网络已经渗入各种传统的通信范围,基于IP构建一个多业务网络成为可能。但是,不同的业务对网络的要求是不同的,例如语音、视频等业务对QoS(服务质量,Quality of Service)就有很高的要求。如何在分组化的IP网络实现多种实时和非实时业务成为一个重要话题,人们提出了QoS的概念,提供带宽保证,低时延等。由于IP网络本身的尽力而为的机制,因此引入了MPLS技术来保证QOS。With the development of the Internet, the amount of data communication is growing explosively. To accommodate this growth, communication networks are undergoing various technological innovations. Due to the popularity of the Internet, IP applications are increasingly widespread, and IP networks have penetrated into various traditional communication areas. It is possible to build a multi-service network based on IP. However, different services have different requirements on the network. For example, services such as voice and video have very high requirements on QoS (Quality of Service). How to implement multiple real-time and non-real-time services in a packetized IP network has become an important topic. People have proposed the concept of QoS, which provides bandwidth guarantee and low delay. Due to the best-effort mechanism of the IP network itself, MPLS technology is introduced to ensure QOS.

目前在多协议标签交换协议中保证服务质量,比较成熟的解决方案是采用DiffServ(差分服务),即在网络的边缘对业务流进行流量监控及分类,并且根据分类的结果对报文进行标记,即选择不同的标记交换通路(LSP),在中间LSR设备上,根据MPLS标签中的试验域(EXP域)所指明的优先级进行队列调度。对于一个虚拟专用网VPN的业务而言,不同的站点之间传递的数据在骨干网络中采用标记交换通路(LSP)的方式通过。因此在边缘设备(PE设备)与骨干网络之间的QoS控制可以基于标记交换通路(LSP)实现。但是,EXP值具体的定义目前还只是一个草案,可能不同厂家对于EXP值可能理解不同,因此使用EXP值进行优先级调度在对接上有一定风险。At present, to ensure the quality of service in the multi-protocol label switching protocol, a relatively mature solution is to use DiffServ (differentiated service), that is, to monitor and classify the service flow at the edge of the network, and mark the message according to the classification result. That is, different label switching paths (LSPs) are selected, and queue scheduling is performed on the intermediate LSR device according to the priority indicated by the experimental domain (EXP domain) in the MPLS label. For the business of a virtual private network (VPN), the data transmitted between different sites passes through the backbone network in the form of a label switching path (LSP). Therefore, the QoS control between the edge equipment (PE equipment) and the backbone network can be realized based on the label switching path (LSP). However, the specific definition of the EXP value is currently only a draft, and different manufacturers may have different understandings of the EXP value. Therefore, using the EXP value for priority scheduling has certain risks in connection.

发明内容Contents of the invention

本发明所要解决的技术问题是提供一种在多协议标签交换协议中保证服务质量的方法。本发明所述方法能够实现为不同数据通信业务提供带宽保证,降低时延。The technical problem to be solved by the present invention is to provide a method for guaranteeing service quality in the multi-protocol label switching protocol. The method of the invention can provide bandwidth guarantee for different data communication services and reduce time delay.

为了解决上述技术问题,本发明提供方案如下:In order to solve the problems of the technologies described above, the present invention provides the following solutions:

一种在多协议标签交换协议中保证服务质量的方法,包括如下步骤:A method for ensuring quality of service in a multi-protocol label switching protocol, comprising the steps of:

步骤一:为快速转发、保证转发、尽力转发三类标记交换通路报文分别创建三种队列,每种队列包含一个或多个队列;Step 1: Create three queues for fast forwarding, guaranteed forwarding, and best-effort forwarding three types of label-switched path packets, and each queue contains one or more queues;

步骤二:创建三个不同优先级的调度器,将快速转发、保证转发、尽力转发三类标记交换通路报文分别对应的三种队列分别挂到所述三个调度器下;Step 2: Create three schedulers with different priorities, and hang the three queues respectively corresponding to the fast forwarding, guaranteed forwarding, and best-effort forwarding three types of label switching path messages under the three schedulers;

步骤三:为端口分配调度资源;Step 3: Allocate scheduling resources for the port;

步骤四:判断快速转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则执行步骤五;若存在,则执行步骤七;Step 4: Determine whether there is a message to be sent in each queue under the scheduler corresponding to the fast forwarding label switching channel message, if not, perform step 5; if exist, perform step 7;

步骤五:判断保证转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则执行步骤六;若存在,则执行步骤七;Step 5: Determine whether there is a message to be sent in each queue under the scheduler corresponding to the guaranteed forwarding label switching channel message. If there is no message, perform step 6; if it exists, perform step 7;

步骤六:判断尽力转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则不做任何处理,结束;若存在,则执行步骤七,执行对下一优先级调度器内队列的判断;Step 6: Determine whether there is a message to be sent in each queue under the scheduler corresponding to the best-effort forwarding label switching channel message. If there is no message, do no processing and end; The judgment of the queue in the priority scheduler;

步骤七:找到所有报文的队列,确定当前需要调度的队列进行调度,并从端口发送出去,直到调度完所有存在报文的队列。Step 7: Find the queues of all messages, determine the queues that need to be scheduled for scheduling, and send them out from the port until all the queues of existing messages are scheduled.

本发明所述的在多协议标签交换协议中保证服务质量的方法中,在所述步骤一和步骤二之间增加一个步骤:为标记交换通路队列创建一个漏桶,报文经过标记交换通路时先经过漏桶进行速率限制;若标记交换通路所在的节点为边缘节点,则所述漏桶生效,进行速率限制;若该标记交换通路所在的节点为核心节点,则所述漏桶不生效,不进行速率限制。In the method for ensuring the quality of service in the multi-protocol label switching protocol of the present invention, a step is added between the first step and the second step: a leaky bucket is created for the label switching path queue, and when the message passes through the label switching path First, the rate limit is performed through the leaky bucket; if the node where the label switching path is located is an edge node, the leaky bucket takes effect and the rate limit is performed; if the node where the label switching path is located is a core node, the leaky bucket does not take effect, No rate limiting is performed.

本发明所述的在多协议标签交换协议中保证服务质量的方法中,将标记交换通路报文的最大带宽限制参数、突发速率参数添入所述漏桶中。In the method for guaranteeing the quality of service in the multi-protocol label switching protocol of the present invention, the maximum bandwidth limit parameter and the burst rate parameter of the label switching path message are added into the leaky bucket.

本发明所述的在多协议标签交换协议中保证服务质量的方法中,所述步骤二中所述三个调度器按快速转发调度器>保证转发调度器>尽力转发调度器的绝对优先级进行调度。In the method for guaranteeing the quality of service in the multi-protocol label switching protocol of the present invention, the three schedulers in the second step are performed according to the absolute priority of fast forwarding scheduler>guaranteed forwarding scheduler>best effort forwarding scheduler scheduling.

本发明所述的在多协议标签交换协议中保证服务质量的方法中,所述步骤三中所述为端口分配调度资源是确保端口调度带宽大于或等于所有快速转发类标记交换通路报文带宽和保证转发类标记交换通路报文保证带宽之和。In the method for guaranteeing the quality of service in the multi-protocol label switching protocol of the present invention, the allocation of scheduling resources for the port in the step 3 is to ensure that the port scheduling bandwidth is greater than or equal to the packet bandwidth of all fast forwarding label switching paths and Guaranteed Forwarding The sum of the packet guaranteed bandwidth of the label-switched path.

本发明所述的在多协议标签交换协议中保证服务质量的方法,所述步骤七中,如果当前调度器为快速转发调度器时,下一优先级调度器为保证转发调度器。According to the method for guaranteeing service quality in the multi-protocol label switching protocol of the present invention, in the step seven, if the current scheduler is the fast forwarding scheduler, the next priority scheduler is the guaranteed forwarding scheduler.

本发明所述的在多协议标签交换协议中保证服务质量的方法,所述步骤七中,如果当前调度器为保证转发调度器时,下一优先级调度器为尽力转发调度器。In the method for guaranteeing service quality in the multi-protocol label switching protocol of the present invention, in step seven, if the current scheduler is a guaranteed forwarding scheduler, the next priority scheduler is a best-effort forwarding scheduler.

本发明所述的在多协议标签交换协议中保证服务质量的方法,所述步骤七中,如果当前调度器为尽力转发调度器时,不执行对下一优先级调度器内队列的判断操作,结束。In the method for guaranteeing the quality of service in the multi-protocol label switching protocol of the present invention, in the step 7, if the current scheduler is a best-effort forwarding scheduler, the judgment operation of the queue in the next priority scheduler is not performed, Finish.

本发明所述的在多协议标签交换协议中保证服务质量的方法中,所述步骤七中,是通过同一个调度器内的多个队列之间按照带权重轮循调度算法来确定当前需要调度的队列进行调度的。In the method for guaranteeing the quality of service in the multi-protocol label switching protocol of the present invention, in the step seven, the current need for scheduling is determined according to the weighted round-robin scheduling algorithm among multiple queues in the same scheduler queue for scheduling.

本发明所述的在多协议标签交换协议中保证服务质量的方法中,保证转发类标记交换通路报文对应的调度器的调度权重根据标记交换通路报文的保证带宽值来设置。In the method for guaranteeing the quality of service in the multi-protocol label switching protocol of the present invention, the scheduling weight of the scheduler corresponding to the guaranteed forwarding label switching path message is set according to the guaranteed bandwidth value of the label switching path message.

与现有技术相比,本发明的优点在于:Compared with the prior art, the present invention has the advantages of:

本发明所述在多协议标签交换协议中保证服务质量的方法,不需要判断EXP值,利用在边缘节点(PE节点)和核心节点(P节点)采用同样的机制,直接针对LSP的不同QOS设置进行不同的调度,来实现对不同业务提供带宽保证和降低时延。The method for ensuring quality of service in the multi-protocol label switching protocol of the present invention does not need to judge the EXP value, and uses the same mechanism at the edge node (PE node) and the core node (P node) to directly set different QOS for LSP Different scheduling is performed to provide bandwidth guarantees and reduce delays for different services.

本发明所要解决的技术问题、技术方案要点及优点,将结合实施例,参照附图作进一步的说明。The technical problems to be solved by the present invention, the key points and advantages of the technical solutions will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

附图说明Description of drawings

图1为本发明所述方法的流程图。Figure 1 is a flow chart of the method of the present invention.

图2为本发明报文发送时端口、调度器、队列的调度示意图。Fig. 2 is a schematic diagram of the scheduling of ports, schedulers, and queues when sending packets according to the present invention.

图3为创建一条LSP时的处理过程。Figure 3 shows the processing procedure when creating an LSP.

具体实施方式Detailed ways

参照图1,本发明所述方法的流程图。With reference to Fig. 1, the flowchart of the method of the present invention.

一种在多协议标签交换协议中保证服务质量的方法,包括如下步骤:A method for ensuring quality of service in a multi-protocol label switching protocol, comprising the steps of:

步骤1、为快速转发、保证转发、尽力转发三类标记交换通路报文分别创建三种队列,每种队列包含一个或多个队列;Step 1. Create three queues for fast forwarding, guaranteed forwarding, and best-effort forwarding three types of label-switched path messages, and each queue includes one or more queues;

步骤2、为标记交换通路队列创建一个漏桶,报文经过标记交换通路时先经过漏桶进行速率限制;Step 2. Create a leaky bucket for the label switching channel queue. When the packet passes through the label switching channel, it first passes through the leaky bucket to limit the rate;

这里,我们将标记交换通路报文的最大带宽限制参数、突发速率等参数添入所述漏桶中。Here, we add parameters such as the maximum bandwidth limit parameter and the burst rate of the label switching path message into the leaky bucket.

如果标记交换通路所在的节点为边缘节点,则所述漏桶生效,进行速率限制;若该标记交换通路所在的节点为核心节点,则所述漏桶不生效,不进行速率限制。If the node where the label switching path is located is an edge node, the leaky bucket takes effect, and rate limitation is performed; if the node where the label switching path is located is a core node, the leaky bucket is not effective, and rate limitation is not performed.

步骤3、创建三个不同优先级的调度器,将快速转发、保证转发、尽力转发三类标记交换通路报文分别对应的三种队列分别挂到所述三个调度器下;Step 3, create three schedulers with different priorities, hang fast forwarding, guaranteed forwarding, and best-effort forwarding three kinds of queues respectively corresponding to three types of label switching path messages under the three schedulers respectively;

这里,所述的三个调度器按快速转发调度器>保证转发调度器>尽力转发调度器的绝对优先级进行调度。Here, the three schedulers perform scheduling according to the absolute priority of fast forwarding scheduler>guaranteed forwarding scheduler>best effort forwarding scheduler.

步骤4、为端口分配调度资源;Step 4, allocate scheduling resources for the port;

这里,所述为端口分配调度资源是确保端口调度带宽大于或等于所有快速转发类标记交换通路报文带宽和保证转发类标记交换通路报文保证带宽之和。例如,端口调度能力为100M。Here, the allocation of scheduling resources for the port is to ensure that the port scheduling bandwidth is greater than or equal to the sum of the packet bandwidths of all fast-forwarding label-switching paths and guaranteed forwarding-type label-switching path packets. For example, the port scheduling capability is 100M.

步骤5、判断快速转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则执行步骤6;若存在,则执行步骤8;Step 5, judging whether there is a message to be sent in each queue under the scheduler corresponding to the fast forwarding label switching path message, if not, then perform step 6; if exist, then perform step 8;

步骤6、判断保证转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则执行步骤7;若存在,则执行步骤8;Step 6, judging whether there is a message to be sent in each queue under the scheduler corresponding to the guaranteed forwarding label switching path message, if there is no message, then perform step 7; if it exists, then perform step 8;

步骤7、判断尽力转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则不做任何处理,结束;若存在,则执行步骤8;Step 7, judging whether there is a message to be sent in each queue under the scheduler corresponding to the best-effort forwarding label switching path message, if not, then do not do any processing, end; if exist, then perform step 8;

步骤8、找到所有报文的队列,确定当前需要调度的队列进行调度,并从端口发送出去,直到调度完所有存在报文的队列,执行对下一优先级调度器内队列的判断。Step 8. Find the queues of all messages, determine the queues that currently need to be scheduled for scheduling, and send them out from the port until all queues with messages are dispatched, and then execute the judgment on the queues in the next priority scheduler.

在这里,如果当前调度器为快速转发调度器时,则下一优先级调度器为保证转发调度器;如果当前调度器为保证转发调度器时,则下一优先级调度器为尽力转发调度器;如果当前调度器为尽力转发调度器时,则不执行对下一优先级调度器内队列的判断操作,结束。Here, if the current scheduler is the fast forwarding scheduler, the next priority scheduler is the guaranteed forwarding scheduler; if the current scheduler is the guaranteed forwarding scheduler, the next priority scheduler is the best effort forwarding scheduler ; If the current scheduler is a best-effort forwarding scheduler, then do not perform the judgment operation on the queue in the next priority scheduler, and end.

上述步骤8中,通过同一个调度器内的多个队列之间按照带权重轮循调度算法来确定当前需要调度的队列进行调度的。In the above step 8, the queue to be scheduled is determined by the weighted round-robin scheduling algorithm among multiple queues in the same scheduler.

例如,快速转发类标记交换通路报文对应的调度器的调度权重设置为1。保证转发类标记交换通路报文对应的调度器的调度权重根据标记交换通路报文的保证带宽值来设置。尽力转发类标记交换通路报文对应的调度器的调度权重根据标记交换通路报文的限制带宽值来设置。For example, the scheduling weight of the scheduler corresponding to the fast-forwarding label-switched channel packet is set to 1. The scheduling weight of the scheduler corresponding to the guaranteed-forwarding label-switched path message is set according to the guaranteed bandwidth value of the label-switched path message. The scheduling weight of the scheduler corresponding to the best-effort forwarding label-switched path packets is set according to the limit bandwidth value of the label-switched path packets.

我们知道,根据LSP的不同QOS设置:可以划分为三个转发行为集:快速转发(EF),用于实时性多媒体业务,如语音、视频等;保证转发(AF),用于可靠性较高的业务如电子商务和VPN用户数据;尽力转发(BF),用于一般性Internet业务。We know that according to different QOS settings of LSP: it can be divided into three forwarding behavior sets: fast forwarding (EF), used for real-time multimedia services, such as voice, video, etc.; guaranteed forwarding (AF), used for high reliability Businesses such as e-commerce and VPN user data; best effort forwarding (BF) for general Internet services.

其中,EF类LSP进行带宽限制,并且优先转发,保证低时延;AF类LSP有一个限制带宽和保证带宽;BF类LSP只有一个限制带宽,并且调度优先级最低,不能进行带宽保证。Among them, EF-type LSPs implement bandwidth limitation and prioritize forwarding to ensure low latency; AF-type LSPs have a restricted bandwidth and guaranteed bandwidth; BF-type LSPs have only a restricted bandwidth and have the lowest scheduling priority and cannot perform bandwidth guarantees.

参照图2,根据端口、调度器、队列进行三级调度,调度器之间按照绝对优先级关系进行调度,即如果EF类LSP发送队列上有报文需要发送的话,优先发送EF类LSP的报文,其次为AF类的,再次为BF类LSP的报文。对于PE节点,队列前有个漏桶,对每个LSP进行速率限制,只有符合带宽设置时才能够把报文存放到队列中;但对于P节点则此漏桶不起作用。Referring to Figure 2, three-level scheduling is performed according to ports, schedulers, and queues. The schedulers are scheduled according to the absolute priority relationship, that is, if there is a message to be sent in the EF-type LSP transmission queue, the EF-type LSP message is sent first. The second is the message of AF type, and the third is the message of BF type LSP. For PE nodes, there is a leaky bucket in front of the queue, which limits the rate of each LSP, and only when it meets the bandwidth setting can the message be stored in the queue; but for P nodes, this leaky bucket does not work.

参照图3,创建一条LSP时,首先为这条LSP创建一个队列,转发到此LSP的报文入此队列,根据LSP的QOS属性,将此队列挂到相应的调度器下,如LSP为EF类时,此队列挂在EF类LSP对应的调度器A下,LSP为AF类时,此队列挂在AF类LSP对应的调度器B下,LSP为BF类时,此队列挂在BF类LSP对应的调度器C下。Referring to Figure 3, when creating an LSP, first create a queue for this LSP, forward the message to this LSP into this queue, and hang this queue under the corresponding scheduler according to the QOS attribute of the LSP, such as LSP is EF class, the queue is hung under the scheduler A corresponding to the EF class LSP; when the LSP is AF class, the queue is hung under the scheduler B corresponding to the AF class LSP; when the LSP is BF class, the queue is hung under the BF class LSP Under the corresponding scheduler C.

为此LSP创建一个漏桶,根据LSP的最大带宽限制参数和突发速率参数等填入到此漏桶中,报文入LSP时首先经过这个漏桶,进行速率限制,如果此LSP在此节点为P节点的话,那么此漏桶不生效,不进行速率限制。Create a leaky bucket for this LSP, and fill it into the leaky bucket according to the maximum bandwidth limit parameter and burst rate parameter of the LSP. When the message enters the LSP, it first passes through the leaky bucket to limit the rate. If the LSP is at this node If it is a P node, then the leaky bucket does not take effect, and no rate limit is performed.

由于调度器下有多个队列,调度器按照按权重轮循(WRR)算法调度所挂的队列,因此要为这个队列指定一个权重,如果为EF类LSP,权重都为1,如果为AF类LSP,权重为保证带宽的值,如果为BF类LSP,权重为限制带宽的值。Since there are multiple queues under the scheduler, the scheduler schedules the linked queues according to the weighted round-robin (WRR) algorithm, so a weight must be specified for this queue. If it is an EF-type LSP, the weight is 1; if it is an AF-type LSP For an LSP, the weight is the value of the guaranteed bandwidth. If it is a BF type LSP, the weight is the value of the limited bandwidth.

当端口得到调度资源时,首先调度EF类LSP对应的调度器A下的队列,找出该调度器A下所有存在报文的队列,根据带权重轮循调度WRR算法,找出一个当前要调度的队列,把此队列中的报文发送出去,这次调度结束。如果EF类LSP对应的调度器A下所有队列中没有报文的话,那么需要调度AF类LSP对应的调度器B下的队列,找出该调度器B下所有有报文的队列,同样,根据WRR算法,找出一个当前要调度的队列,把此队列中的报文发送出去,这次调度结束。如果EF类LSP对应的调度器A和AF类LSP对应的调度器B下所有队列都没有报文的话,那么需要调度BF类LSP对应的调度器C下的队列,找出该调度器C下所有有报文的队列,同样,根据WRR算法,找出一个当前要调度的队列,把此队列中的报文发送出去,此次调度结束。When the port obtains scheduling resources, it first schedules the queues under the scheduler A corresponding to the EF LSP, finds all the queues under the scheduler A that have packets, and finds out a queue to be scheduled according to the weighted round-robin scheduling WRR algorithm. queue, send the packets in this queue, and this scheduling ends. If there are no packets in all the queues under the scheduler A corresponding to the EF LSP, then it is necessary to schedule the queues under the scheduler B corresponding to the AF type LSP, and find out all the queues under the scheduler B that have packets. Similarly, according to The WRR algorithm finds a queue to be scheduled, sends the packets in this queue, and the scheduling ends. If there are no packets in all the queues under scheduler A corresponding to EF LSP and scheduler B corresponding to AF LSP, then it is necessary to schedule the queues under scheduler C corresponding to BF LSP to find out all queues under this scheduler C. For queues with messages, similarly, according to the WRR algorithm, a queue to be scheduled is found, and the messages in this queue are sent out, and the scheduling ends.

本发明所述的一种在多协议标签交换协议中保证服务质量的方法,并不仅仅限于说明书和实施方式中所列运用,它完全可以被适用于各种适合本发明之领域,对于熟悉本领域的人员而言可容易地实现另外的优点和进行修改,因此在不背离权利要求及等同范围所限定的一般概念的精神和范围的情况下,本发明并不限于特定的细节、代表性的设备和这里示出与描述的图示示例。A method for ensuring quality of service in the multi-protocol label switching protocol described in the present invention is not limited to the use listed in the specification and implementation, it can be applied to various fields suitable for the present invention, and those who are familiar with the present invention Additional advantages and modifications will readily occur to those skilled in the art, so the invention is not to be limited to the specific details, representative examples, and the like without departing from the spirit and scope of the general concept defined by the claims and equivalents thereof. equipment and illustrated examples shown and described herein.

Claims (10)

1、一种在多协议标签交换协议中保证服务质量的方法,其特征在于包括如下步骤:1. A method for ensuring quality of service in a multi-protocol label switching protocol, characterized in that it comprises the following steps: (1)、为快速转发、保证转发、尽力转发三类标记交换通路报文分别创建三种队列,每种队列包含一个或多个队列;(1), create three kinds of queues for fast forwarding, guaranteed forwarding, and best effort forwarding three types of label switching path messages, and each queue includes one or more queues; (2)、创建三个不同优先级的调度器,将快速转发、保证转发、尽力转发三类标记交换通路报文分别对应的三种队列分别挂到所述三个调度器下;(2), create three schedulers with different priorities, hang fast forwarding, guaranteed forwarding, and best-effort forwarding three kinds of queues corresponding to three types of label switching path messages respectively under the three schedulers; (3)、为端口分配调度资源;(3) Allocate scheduling resources for the port; (4)、判断快速转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则执行步骤(5);若存在,则执行步骤(7);(4), judge whether there is a message to be sent in each queue under the dispatcher corresponding to the fast forwarding class label switching path message, if not exist, then perform step (5); if exist, then perform step (7); (5)、判断保证转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则执行步骤(6);若存在,则执行步骤(7);(5), judging whether there is a message to be sent in each queue under the dispatcher corresponding to the forwarding class label switching path message, if not, then perform step (6); if exist, then perform step (7); (6)、判断尽力转发类标记交换通路报文对应的调度器下各个队列是否存在报文需要发送,若不存在,则不做任何处理,结束;若存在,则执行步骤(7);(6), judge whether there is a message to be sent in each queue under the dispatcher corresponding to the best-effort forwarding class label switching path message, if not exist, then do not do any processing, end; If exist, then perform step (7); (7)、找到所有报文的队列,确定当前需要调度的队列进行调度,并从端口发送出去,直到调度完所有存在报文的队列,执行对下一优先级调度器内队列的判断。(7), find the queues of all messages, determine the queues that currently need to be scheduled for scheduling, and send them out from the port until all queues that have messages have been scheduled, and then execute the judgment of the queues in the next priority scheduler. 2、根据权利要求1所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:在所述步骤一和二之间进一步增加一个步骤:为标记交换通路队列创建一个漏桶,报文经过标记交换通路时先经过漏桶进行速率限制;若标记交换通路所在的节点为边缘节点,则所述漏桶生效,进行速率限制;若该标记交换通路所在的节点为核心节点,则所述漏桶不生效,不进行速率限制。2. The method for ensuring quality of service in an MPLS protocol according to claim 1, characterized in that: a further step is added between said steps 1 and 2: creating a leaky bucket for the label switching path queue, When the message passes through the label switching path, it first passes through the leaky bucket for rate limiting; if the node where the label switching path is located is an edge node, the leaky bucket takes effect and performs rate limitation; if the node where the label switching path is located is a core node, then The leaky bucket does not take effect, and no rate limiting is performed. 3、根据权利要求2所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:将标记交换通路报文的最大带宽限制参数、突发速率参数添入所述漏桶中。3. The method for guaranteeing service quality in an MPLS protocol according to claim 2, characterized in that: the maximum bandwidth limit parameter and the burst rate parameter of the Label Switching path message are added to the leaky bucket. 4、根据权利要求1所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:所述步骤(2)中所述三个调度器按快速转发调度器>保证转发调度器>尽力转发调度器的绝对优先级进行调度。4. The method for guaranteeing quality of service in an MPLS protocol according to claim 1, characterized in that: said three schedulers in said step (2) are fast forwarding scheduler>guaranteed forwarding scheduler> The absolute priority of the best-effort forwarding scheduler is used for scheduling. 5、根据权利要求1所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:所述步骤(3)中所述为端口分配调度资源是确保端口调度带宽大于或等于所有快速转发类标记交换通路报文带宽和保证转发类标记交换通路报文保证带宽之和。5. The method for guaranteeing quality of service in an MPLS protocol according to claim 1, characterized in that: in said step (3), allocating scheduling resources for a port is to ensure that the port scheduling bandwidth is greater than or equal to all fast The sum of the packet bandwidth of the forwarding label-switched path and the guaranteed bandwidth of the packet of the guaranteed forwarding label-switched path. 6、根据权利要求1所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:所述步骤(7)中,如果当前调度器为快速转发调度器时,下一优先级调度器为保证转发调度器。6. The method for guaranteeing quality of service in an MPLS protocol according to claim 1, characterized in that: in said step (7), if the current scheduler is a fast forwarding scheduler, the next priority scheduling The scheduler is the guaranteed forwarding scheduler. 7、根据权利要求1所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:所述步骤(7)中,如果当前调度器为保证转发调度器时,下一优先级调度器为尽力转发调度器。7. The method for guaranteeing quality of service in an MPLS protocol according to claim 1, characterized in that: in the step (7), if the current scheduler is a guaranteed forwarding scheduler, the next priority scheduling The scheduler is a best-effort forwarding scheduler. 8、根据权利要求1所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:所述步骤(7)中,如果当前调度器为尽力转发调度器时,则不执行对下一优先级调度器内队列的判断操作,结束。8. The method for guaranteeing quality of service in an MPLS protocol according to claim 1, characterized in that: in said step (7), if the current scheduler is a best-effort forwarding scheduler, the following The judgment operation of the queue in the priority scheduler ends. 9、根据权利要求1所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:所述步骤(7)中,是通过同一个调度器内的多个队列之间按照带权重轮循调度算法来确定当前需要调度的队列进行调度的。9. The method for ensuring quality of service in an MPLS protocol according to claim 1, characterized in that: in the step (7), multiple queues in the same scheduler are arranged according to weighted The round-robin scheduling algorithm is used to determine the queues that currently need to be scheduled for scheduling. 10、根据权利要求10所述的在多协议标签交换协议中保证服务质量的方法,其特征在于:保证转发类标记交换通路报文对应的调度器的调度权重根据标记交换通路报文的保证带宽值来设置。10. The method for guaranteeing quality of service in a multi-protocol label switching protocol according to claim 10, characterized in that: the scheduling weight of the scheduler corresponding to the guaranteed forwarding label switching path message is based on the guaranteed bandwidth of the label switching path message value to set.
CNB2005100769166A 2005-06-09 2005-06-09 Method for ensuring service quality in multi protocol label switching protocol Expired - Fee Related CN100531203C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100769166A CN100531203C (en) 2005-06-09 2005-06-09 Method for ensuring service quality in multi protocol label switching protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100769166A CN100531203C (en) 2005-06-09 2005-06-09 Method for ensuring service quality in multi protocol label switching protocol

Publications (2)

Publication Number Publication Date
CN1878167A true CN1878167A (en) 2006-12-13
CN100531203C CN100531203C (en) 2009-08-19

Family

ID=37510459

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100769166A Expired - Fee Related CN100531203C (en) 2005-06-09 2005-06-09 Method for ensuring service quality in multi protocol label switching protocol

Country Status (1)

Country Link
CN (1) CN100531203C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413051A (en) * 2011-11-30 2012-04-11 深圳市共进电子股份有限公司 A quality of service scheduling method and device
CN103460782A (en) * 2011-04-14 2013-12-18 瑞典爱立信有限公司 QoE-aware traffic delivery in cellular networks
CN103516456A (en) * 2012-06-15 2014-01-15 西门子公司 Method for operating network equipment, network device and network equipment
CN104348750A (en) * 2013-07-31 2015-02-11 中兴通讯股份有限公司 QoS realization method and apparatus in OpenFlow network
CN109710416A (en) * 2019-01-11 2019-05-03 银清科技(北京)有限公司 Resource regulating method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103460782A (en) * 2011-04-14 2013-12-18 瑞典爱立信有限公司 QoE-aware traffic delivery in cellular networks
CN103460782B (en) * 2011-04-14 2017-09-26 瑞典爱立信有限公司 QoE perception services conveying in cellular network
CN102413051A (en) * 2011-11-30 2012-04-11 深圳市共进电子股份有限公司 A quality of service scheduling method and device
CN103516456A (en) * 2012-06-15 2014-01-15 西门子公司 Method for operating network equipment, network device and network equipment
US10491317B2 (en) 2012-06-15 2019-11-26 Siemens Aktiengesellschaft Method for operating a network arrangement, network system and network arrangement
CN104348750A (en) * 2013-07-31 2015-02-11 中兴通讯股份有限公司 QoS realization method and apparatus in OpenFlow network
CN104348750B (en) * 2013-07-31 2019-07-26 中兴通讯股份有限公司 The implementation method and device of QoS in OpenFlow network
CN109710416A (en) * 2019-01-11 2019-05-03 银清科技(北京)有限公司 Resource regulating method and device

Also Published As

Publication number Publication date
CN100531203C (en) 2009-08-19

Similar Documents

Publication Publication Date Title
CN1294728C (en) Method and system for providing QoS assurance in edge router
CN101075963B (en) Method and device for controlling dynamically based on network QoS
CN1525702A (en) Service Quality Guarantee Method for IP Access Network Service
CN101075968A (en) Method and apparatus for providing region-classifying service
CN1822569A (en) Apparatus and method for processing multiple protocol label switching packet
CN112822268B (en) A method for multi-service coexistence and IP layer data packet scheduling in the Industrial Internet of Things
CN106330710B (en) Data flow scheduling method and device
CN101212417B (en) A Time Granularity-Based Internet Service Quality Assurance Method
CN1518296A (en) A Realization Method of Integrated Queue Scheduling Supporting Multiple Services
CN100531203C (en) Method for ensuring service quality in multi protocol label switching protocol
CN1808986A (en) Method of implementing resource allocation in bearer network
CN1921450A (en) Device and method for data flux control
CN101212467B (en) A Service Scheduling Method for MPLS Network
CN1735073A (en) Method for distributing service mass resource according to signing service level
CN100544321C (en) Bandwidth management method and device supporting dynamic bandwidth segmentation
Lin et al. A QoS model of Next Generation Network based on MPLS
Ko et al. Quality‐of‐Service Mechanisms for Flow‐Based Routers
CN1728679A (en) Method for configuring routers
CN1738294A (en) A method of applying quality of service technology in intelligent virtual switching
Chakravorty et al. End-to-end internet quality of service (qos): An overview of issues, architectures and frameworks
CN1472937A (en) A Method for Scheduling Packet Transmission Quality of Service Using Remaining Lifetime in Packet Header
Sun Research on QoS of next generation network based on MPLS
Almofary et al. Optimizing QoS for voice and video using diffserv-MPLS
Shih et al. A transparent QoS mechanism to support IntServ/DiffServ networks
CN1886940A (en) Resource Reservation in Packet Switched Telecommunications Networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090819

Termination date: 20190609

CF01 Termination of patent right due to non-payment of annual fee