WO2006042470A1 - A method for performing flow fairness transmission in mpls ring network - Google Patents

A method for performing flow fairness transmission in mpls ring network Download PDF

Info

Publication number
WO2006042470A1
WO2006042470A1 PCT/CN2005/001721 CN2005001721W WO2006042470A1 WO 2006042470 A1 WO2006042470 A1 WO 2006042470A1 CN 2005001721 W CN2005001721 W CN 2005001721W WO 2006042470 A1 WO2006042470 A1 WO 2006042470A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
packet
effort
queue
ring network
Prior art date
Application number
PCT/CN2005/001721
Other languages
French (fr)
Chinese (zh)
Inventor
Xingyue Quan
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2006042470A1 publication Critical patent/WO2006042470A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/52Queue scheduling by attributing bandwidth to queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/427Loop networks with decentralised control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/13Flow control; Congestion control in a LAN segment, e.g. ring or bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Definitions

  • the present invention relates to the field of multi-protocol label switching (MPLS) technology, and in particular, to a method for implementing fair delivery of traffic in an MPLS ring network.
  • MPLS multi-protocol label switching
  • the Multi-Service Transport Node based on the Synchronous Digital Sequence (SDH) system can well support Time Division Multiplexing (TDM) voice services and Digital Data Network (DDN) leased line services, but the support for IP packet services is poor.
  • TDM Time Division Multiplexing
  • DDN Digital Data Network
  • Ethernet technology can support IP packet services very well. It is characterized by simplicity, easy expansion, and low price. It has been widely used in LAN and metropolitan area networks. However, Ethernet technology cannot meet the reliability and scalability requirements of metropolitan area networks due to the lack of carrier-class quality of service (QoS), network fast protection, recovery and perfect operation and management (OAM). Correspondingly, the automatic discovery of the media access control (MAC) layer topology is slow and inefficient.
  • QoS carrier-class quality of service
  • OAM perfect operation and management
  • MAC media access control
  • Resilient Packet Network (RPR) technology combines the advantages of Ethernet technology, Asynchronous Transfer Mode (ATM) technology, and SDH technology. Through the fair algorithm, the reuse problem of bandwidth between sites is well solved; the protection of loopback (Wrapping) and source routing (Steering) is provided, and the protection time is limited to 50ms; at the same time, high, medium and low are provided.
  • a differentiated service with business priorities and a relatively complete OAM function is a more economical metro (MAN) solution.
  • NTN Next Generation Network
  • NGN transport layer networks urgently need to be able to uniformly carry multiple services.
  • a type of transport ring network technology that provides better QoS, is suitable for MAN and wide area network (WAN) applications, and is flexible and low-cost. To this end, the corresponding MPLS ring network technology has emerged.
  • Congestion is a common phenomenon in communication systems, but in the existing MPLS ring network technology, there is no control for congestion.
  • the bandwidth of the high-priority service available in the link is as low as possible, the remaining bandwidth of the high-priority service is less than the total bandwidth of the best-effort service, and when congestion occurs, if multiple best-effort services are transmitted. Because the best efforts to transmit the traffic to preempt the bandwidth, it will cause some of the bandwidth that the best-effort service can occupy, while other best-effort services can only occupy the remaining bandwidth required by itself, resulting in the node trying to transmit the service. Unfair transmission. Further, in the case of congestion, due to unfair transmission, it is often the case that one or several of the best efforts to transmit the traffic cannot be transmitted. In the communication network, the general quality of service is not required for the best-effort service, but if a best-effort service fails to transmit at a certain node, it is unbearable for the user.
  • the three nodes S1, S2, and S3 all transmit traffic to the node S4.
  • the total bandwidth of the link is 10M.
  • node S1 sends 6M service
  • node S2 sends 5M service
  • node S3 sends 2M service
  • the service is trying to transmit service.
  • Bandwidth characteristics on the S2 node, the 5M service to be sent by the S2 node is only Can get 4M bandwidth.
  • the S3 node since the total bandwidth of the link 10M has been completely preempted by the services sent by the S1 node and the S2 node, and no bandwidth is allocated to the 2M service to be sent by the node, the 2M service cannot be sent to the S4.
  • an object of the present invention is to provide a method for implementing fair delivery of traffic in an MPLS ring network, which can implement fair transmission of best effort transmission services in an MPLS ring network.
  • the present invention provides a method for implementing fair delivery of traffic in an MPLS ring network, including:
  • A. Determine, according to the information carried in the MPLS packet, a packet that attempts to transmit the service
  • the best-effort service packets sent to each ring direction are respectively scheduled according to the best-effort transmission service using a weighted fair scheduling algorithm.
  • the information carried in the MPLS packet may be: a service transmission value set in an EXP field of an experimental domain in an MPLS packet;
  • step A is:
  • the packet is a packet that tries to transmit the service.
  • the information carried in the MPLS packet may also be: a best-effort service flag set in the best-effort service packet;
  • step A is:
  • said best effort delivery service flag is set in a fixed bit of the message EXP field.
  • the information carried in the MPLS packet may also be: an LSP label value;
  • step A is:
  • the label exchange path LSP label value of the received packet is a pre-configured dedicated label value of the LSP transmitting the best effort transmission service, it is determined that the message is a best effort transmission service message.
  • the information carried in the MPLS packet may also be: an LSP label value and a service transmission value set in an EXP field of the packet;
  • step A is:
  • the packet is a packet that tries to transmit the service.
  • the step B includes:
  • the best effort transmission service in the ring direction is scheduled according to the weight of the best effort transmission service queue in each ring direction using a weighted fairness scheduling algorithm.
  • the best effort delivery service queue includes:
  • a group of forwarding packets in the Transit direction corresponding to the packets sent by the upstream ring network node try to transmit the service queue and the packets in the ring-up direction corresponding to the packets entering the ring to transmit the service queue; and each ring direction of each node
  • Each of the above two sets of queues is included.
  • the step B2 may include:
  • the upstream ring network node that receives the control information reduces the sending traffic corresponding to the best effort transmission service according to the control information.
  • control information includes stopping the sending time
  • step B22 is:
  • the upstream ring network node that has received the control information stops the transmission of the corresponding best effort transmission service during the subsequent stop transmission time.
  • the threshold set in advance for the queue is a first threshold; further, the method further includes setting a second threshold for each queue in the Transit direction, the second threshold being lower than the first set for the corresponding queue Threshold
  • step B21 further includes:
  • the upstream ring network node When the number of packets in the queue in the best-effort transmission queue in the Transit direction is lower than the second threshold set for the queue, the upstream ring network node sends a control request to resume transmission of the corresponding best-effort traffic.
  • the step B22 further includes:
  • the step B2 includes:
  • the method for reducing the traffic corresponding to the best effort service described in step B23 may be: discarding the data packet that exceeds the fair rate portion of the corresponding best effort transmission service.
  • the method for reducing the traffic of the best-effort transmission service described in the step B23 may be: sending the link layer flow control information to the service source direction, and adjusting the transmission traffic of the best-effort transmission service.
  • the method for reducing the corresponding best-effort service traffic described in step B23 may also be: sending link layer flow control information to the service source direction, adjusting the transmission traffic of the best-effort transmission service; and discarding the fairness of the corresponding best-effort transmission service The packet of the rate part.
  • the present invention can identify the best-effort transmission service according to the information carried in the packet on the node of the MPLS ring network, and then add the message to the corresponding transmission.
  • the bandwidth queue the fair distribution of the bandwidth that the best-effort transmission service can occupy is realized, so that the best-effort transmission services transmitted by the network nodes in the MPLS ring network can effectively and reasonably occupy the remaining bandwidth resources of the high-priority service.
  • the invention effectively solves the problem that the services of some nodes which may occur in the prior art cannot be sent at all.
  • Figure 1 is a schematic diagram of MPLS network service transmission
  • FIG. 2 is a schematic diagram of preempting bandwidth of each service in FIG. 1;
  • FIG. 3 is a process flow diagram of a first embodiment of the present invention.
  • Figure 4 is a schematic diagram of the format of an MPLS packet
  • FIG. 5 is a schematic diagram of scheduling a service according to a first embodiment of the present invention.
  • FIG. 6 is a format diagram of a flow control message according to a second embodiment of the present invention. Mode for carrying out the invention
  • the invention can be applied only in the case of congestion, or whether it occurs or not It is applied in the case of congestion. .
  • the flow of the first embodiment of the method for implementing fair delivery of traffic according to the present invention is as shown in FIG. 3, and mainly includes the following steps:
  • Step 31 Determine, on the MPLS ring network node, the best-effort service according to the information carried in the received packet. That is, the packet of the corresponding best-effort service is determined from the packet received by the ring network node, so that the best-effort transmission service is processed according to the fair delivery of the traffic.
  • the experimental domain (EX) field reserved in the MPLS packet label Label can be used to identify the best-effort transmission service by carrying the service transmission value in the field.
  • EX experimental domain
  • a fixed bit in the EXP field may also be utilized, and the fixed bit is set to the best effort service flag for the best effort transmission service in the service transmission process to distinguish it from other services. For example, for the first bit of the EXP field, if the bit is set to 0 if it is a best effort service, then this 0 is the best effort service flag; if it is a non-best effort service, the bit is set to 1. In this way, the MPLS ring network node can judge whether the received service packet is a best-effort service according to the value of the bit.
  • the service packet discussed in the present invention is a service packet transmitted in an MPLS ring network. Therefore, the MPLS ring network node can also identify the best-effort service packet according to the label value of the LSP. To this end, each node in the MPLS ring network needs to set a dedicated label value of a group of LSPs that transmit the best-effort transmission service, and when transmitting the best-effort transmission service, the best-effort transmission service is transmitted by using the configuration-dedicated LSP, so that The ring network node can determine the best-effort service packet in the received service packet according to the label value.
  • whether the service packet received by the ring network node is a best-effort service packet is determined according to the combination of the label value and the EXP field value of the LSP. For example, for a service transmitted by an LSP corresponding to a preset set of LSP label values, a judgment threshold according to whether it is a best effort transmission service is 5; a service transmitted by an LSP corresponding to another set of LSP label values When judging whether it is trying to transmit the service, the judgment threshold is based on 3.
  • Step 32 After the packet is identified as a best-effort service packet, the service packet sent to each ring direction is enqueued according to the MPLS label in the packet, and each level of the best-effort transmission service is performed.
  • the best-effort service packets with the same weights correspond to the same queue, and the weights correspond to the importance of the best-effort service, that is, the amount of bandwidth resources that can be allocated for the service.
  • the queue in each ring direction includes a best-effort service message queue and a local upper ring sent by the upstream ring network node, that is, the best-effort service that is added to the ring by the node (that is, the node is connected to the ring)
  • the queues are recorded as the transit direction queue and the add direction queue.
  • the packets in the queue are scheduled, the corresponding packets are sent to the corresponding ring for transmission. Because the MPLS ring has two directions, there are two sets of queues and two instances of the WRR weighted polling scheduling algorithm.
  • the specific LSP label value of the best-effort service may be used to determine which queue to send the packet to the Transit direction or the Add direction queue. Take the Transit direction as an example.
  • the local node is configured as follows: The queue corresponding to the LSP label values 1 and 3 is 1, the weight of the queue is 3; the queue corresponding to the LSP label value 4 is 2, and the weight of the queue is 2.
  • Tag value 5 The queue corresponding to 12 is queue 3, and the queue has a weight of 1. After receiving the best-effort service packet with the tag values of 1 and 3, the local node sends the packet to P column 1; after receiving the best-effort service packet with the tag value of 4, the packet is sent to the queue. 2; After receiving the best effort service ⁇ with a tag value of 5 to 12, the message is sent to queue 3.
  • Step 33 The WRR (weighted random discarding algorithm) weighted round-robin scheduling algorithm is used to perform scheduling processing on the packets in each queue, that is, sent to the MPLS ring network for transmission;
  • the WR weighted round robin algorithm is a weight-based scheduling algorithm, which is based on the weighting of each queue configuration by the user. For example, corresponding to the example in the foregoing step 32, the weight of the queue 1 is 3, the weight of the queue 2 is 2, and the weight of the queue 3 is 1, the speed of sending the packet in the queue 1 is the sending speed of the packet in the queue 3. 3 times, the speed of sending packets in queue 2 is twice the sending speed of packets in queue 3, and the sending speed of packets in the queue with the same weight is the same. For example, there is a queue 4 in the queue of Add direction. The weight of the packet is 3, and the packet transmission rate of the service in queue 4 and the queue 1 in the transit queue are the same.
  • Step 34 After the WR-scheduled message, the priority scheduling (SP) is performed together with the non-best-effort transmission service, because the best-effort transmission service has the lowest priority, so it can only occupy the bandwidth other than the best-effort transmission service, as shown in the figure. 5 is shown.
  • SP priority scheduling
  • the flow control feedback mechanism for each service traffic is further included on the basis of the first embodiment, and since the label value of the LSP is generally only valid on a segment of the LSP link,
  • the flow control feedback mechanism should be a flow control feedback mechanism between two adjacent ring nodes in the MPLS ring network.
  • two thresholds are respectively set for each queue in step 32, one is a high threshold Ht and one is a low threshold Lt, and a variable S is also set for recording the current queue. State, S is initially in the L state;
  • the corresponding flow control feedback mechanism can be:
  • variable S of the queue When the number of packets in the queue exceeds the set high threshold Ht, and the variable S is in the L state, the variable S of the queue is set to the H state, indicating that the number of packets in the queue exceeds the setting.
  • the high threshold value is sent to the ring network node of the ring network at the same time.
  • the flow control message uses a special tag value, and the forwarding priority is the highest, and the content of the packet further includes the corresponding queue.
  • the packet format includes: a tag value Lable field, an EXP field, a bottom layer identifier, and a TTL field.
  • the Holding ID in the figure is the ID of the best effort service, and the Holding Time is the above time value.
  • the tag value field may be assigned by a tag assignment protocol or a fixed special tag value.
  • the variable S of the queue is set to the L state
  • the number of packets in the queue is lower than the setting.
  • the lower threshold, and the flow control packet sent to the upstream ring network node, the time value involved in the packet is 0.
  • the WRR scheduling determines the corresponding packet queue according to the ID of the carried service, and stops scheduling the packet from the queue, and sets a timer and timer.
  • the time is the time value carried in the packet.
  • the timer expires, the packet in the queue is rescheduled.
  • the packet with the time value of 0 is received, the packet in the queue is rescheduled immediately. Text.
  • the number of packets in the queue exceeds the set high threshold, you can select two modes. One is packet loss. For example, you can use the Weighted Random Early Detection (WRED) technology to discard packets. It is to notify the client side to stop sending the link layer flow control information in the direction of the service source. For example, the PAUSE frame technology in the IEEE 802.3 protocol can be used. In addition, when the number of packets in the queue exceeds the set high threshold, the above two methods can also be used at the same time.
  • WRED Weighted Random Early Detection
  • the message queue feedback mechanism is used, and the service transmission is blocked to the upstream ring network node step by step, and finally the access node to the ring on the ring is fed back to the client layer of the ring to reduce the service rate.
  • the specific needs of the physical situation Therefore, it is to be understood that the specific embodiments of the present invention are not intended to limit the scope of the invention.

Landscapes

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

Abstract

A method for performing flow fairness transmission in MPLS ring network comprises the steps of: at first determining whether or not the packet is the best-effort service packet based on the information carried by the MPLS packet; then scheduling the best-effort service transmitted on each ring direction using the weight fairness scheduling algorithm according to the difference among the best-effort services. Consequently, the invention can firstly distinguish the corresponding best-effort service in the node of MPLS ring network, and then transmit the best-effort service using the setting fairness scheduling algorithm, so it effectively assure that each best-effort service in MPLS ring network can fairly employ the band resource remained by the higher priority service.

Description

MPLS环网中实现流量公平传送的方法 技术领域  Method for realizing fair transmission of traffic in MPLS ring network
本发明涉及多协议标记交换( MPLS )技术领域,尤其涉及一种 MPLS 环网中实现流量公平传送的方法。 发明背景  The present invention relates to the field of multi-protocol label switching (MPLS) technology, and in particular, to a method for implementing fair delivery of traffic in an MPLS ring network. Background of the invention
基于同步数字序列 (SDH )体系的多业务传输节点 (MSTP ) 能够 很好的支持时分复用(TDM )语音业务和数字数据网(DDN )专线业务, 但对 IP分组业务的支持很差。 IP业务量本身的不确定性和不可预见性, 使得利用传统的 SDH设备提供 IP分组传送服务存在带宽动态调整能力匮 乏、 资源利用率低、 网络扩展性差、 设备实现复杂、 拓朴自动管理能力 弱等缺点。  The Multi-Service Transport Node (MSTP) based on the Synchronous Digital Sequence (SDH) system can well support Time Division Multiplexing (TDM) voice services and Digital Data Network (DDN) leased line services, but the support for IP packet services is poor. The uncertainty and unpredictability of IP traffic itself makes the use of traditional SDH equipment to provide IP packet transmission services with lack of bandwidth dynamic adjustment capability, low resource utilization, poor network scalability, complex equipment implementation, and weak topology management capabilities. And so on.
以太网技术能够很好的支撑 IP分组业务, 具有简单化、 易扩容、 价 格低廉等特点, 在局域网和城域网中得到了广泛的应用。 然而以太网技 术由于缺乏电信级的服务质量(QoS ) 、 网络快速保护、 恢复及完善的 操作和管理(OAM ) , 不能很好的满足城域网对于可靠性和可扩展性的 要求。 相应地, 在媒体接入控制 (MAC )层拓朴自动发现速度慢, 效率 很低。  Ethernet technology can support IP packet services very well. It is characterized by simplicity, easy expansion, and low price. It has been widely used in LAN and metropolitan area networks. However, Ethernet technology cannot meet the reliability and scalability requirements of metropolitan area networks due to the lack of carrier-class quality of service (QoS), network fast protection, recovery and perfect operation and management (OAM). Correspondingly, the automatic discovery of the media access control (MAC) layer topology is slow and inefficient.
弹性分组网(RPR )技术结合了以太网技术、 异步传输模式(ATM ) 技术和 SDH技术的优点。 通过公平算法, 很好的解决了站点之间带宽的 复用问题; 提供环回倒换( Wrapping )和源路由更改( Steering )保护方 式, 保护时间以 50ms为上限; 同时提供高、 中、 低三个业务优先级的差 分服务, 以及相对完善的 OAM功能, 是一种比较经济的城域网 (MAN ) 解决方案。 然而, 随着信息网络技术的不断发展以及互联网 (Internet )的飞速 普及, 下一代网络(NGN )传送网概念逐步形成, 网络信息流的种类、 格式、 服务要求变得日益丰富, 由 SDH、 异步传输模式(ATM ) 、 MSTP 和波分复用 (WDM )技术主导的数据传送网络在处理传送层业务的调 度与交换时逐步变得力不从心, NGN传送层网络迫切需要一种能够统一 承载多种业务类型、能够提供较好 QoS、能够适合 MAN和广域网(WAN ) 应用,能够灵活扩展、低成本的传送环网技术。为此,出现了相应的 MPLS 环网技术。 Resilient Packet Network (RPR) technology combines the advantages of Ethernet technology, Asynchronous Transfer Mode (ATM) technology, and SDH technology. Through the fair algorithm, the reuse problem of bandwidth between sites is well solved; the protection of loopback (Wrapping) and source routing (Steering) is provided, and the protection time is limited to 50ms; at the same time, high, medium and low are provided. A differentiated service with business priorities and a relatively complete OAM function is a more economical metro (MAN) solution. However, with the continuous development of information network technology and the rapid spread of the Internet, the concept of Next Generation Network (NGN) transport network has gradually formed, and the types, formats, and service requirements of network information flows have become increasingly rich, by SDH, asynchronous. The data transmission networks dominated by transmission mode (ATM), MSTP, and wavelength division multiplexing (WDM) technology are gradually becoming inadequate in handling the scheduling and exchange of transport layer services. NGN transport layer networks urgently need to be able to uniformly carry multiple services. A type of transport ring network technology that provides better QoS, is suitable for MAN and wide area network (WAN) applications, and is flexible and low-cost. To this end, the corresponding MPLS ring network technology has emerged.
拥塞是通信系统中常见的一种现象, 但是在现有的 MPLS环网技术 中, 对于拥塞是没有控制手段的。  Congestion is a common phenomenon in communication systems, but in the existing MPLS ring network technology, there is no control for congestion.
在 MPLS环网的业务节点, 当链路中尽力传^业务可利用的高优先 级业务剩余的带宽小于尽力传送业务的总带宽, 从而发生拥塞时, 如果 所传送的是多个尽力传送业务, 由于尽力传送业务自行抢占带宽的特 性, 会造成一些尽力传送业务可以占用所需的全部带宽, 而另一些尽力 传送业务只能占用剩余的不足自身所需的带宽, 导致了该节点对尽力传 送业务的不公平传输。 进而, 在拥塞时, 由于不公平传输, 经常会造成 其中的一个或几个尽力传送业务一点流量都不能发送的情况发生。 在通 信网络中, 对于尽力传送业务, 一般服务质量不作要求, 但如果一个尽 力传送业务在某一个节点一点流量都未能传送, 对用户来说是难以忍受 的。  In the service node of the MPLS ring network, when the bandwidth of the high-priority service available in the link is as low as possible, the remaining bandwidth of the high-priority service is less than the total bandwidth of the best-effort service, and when congestion occurs, if multiple best-effort services are transmitted, Because the best efforts to transmit the traffic to preempt the bandwidth, it will cause some of the bandwidth that the best-effort service can occupy, while other best-effort services can only occupy the remaining bandwidth required by itself, resulting in the node trying to transmit the service. Unfair transmission. Further, in the case of congestion, due to unfair transmission, it is often the case that one or several of the best efforts to transmit the traffic cannot be transmitted. In the communication network, the general quality of service is not required for the best-effort service, but if a best-effort service fails to transmit at a certain node, it is unbearable for the user.
下面通过一个具体示例说明这种情况。  This is illustrated below by a specific example.
如图 1所示, 三个节点 Sl、 S2、 S3都向节点 S4发送业务。 假设链路 的总带宽是 10M,如图 2所示,节点 S1发送 6M业务、节点 S2发送 5M业务、 节点 S3发送 2M业务,并且所述业务都是尽力传送业务时, 由于尽力传送 业务自行抢占带宽的特性, 在 S2节点上, S2节点所要发送的 5M业务只 能获得 4M带宽。而在 S3节点, 由于链路 10M的总带宽已经被 S1节点和 S2 节点所发送的业务完全抢占, 没有带宽分配给该节点所要发送的 2M业 务, 该 2M业务就一点流量也不能向 S4发送。 从上述示例中可以看出, 在 发生拥塞的 S2、 S3节点都出现了尽力传送业务的不公平传输现象, 并且 在 S3节点还出现了所要发送的 2M业务一点流量也不能向 S4发送的现 象。 发明内容 As shown in FIG. 1, the three nodes S1, S2, and S3 all transmit traffic to the node S4. Assume that the total bandwidth of the link is 10M. As shown in Figure 2, node S1 sends 6M service, node S2 sends 5M service, node S3 sends 2M service, and the service is trying to transmit service. Bandwidth characteristics, on the S2 node, the 5M service to be sent by the S2 node is only Can get 4M bandwidth. On the S3 node, since the total bandwidth of the link 10M has been completely preempted by the services sent by the S1 node and the S2 node, and no bandwidth is allocated to the 2M service to be sent by the node, the 2M service cannot be sent to the S4. It can be seen from the above example that the unfair transmission phenomenon of the best-effort transmission service occurs in the S2 and S3 nodes where congestion occurs, and the phenomenon that the traffic of the 2M service to be transmitted cannot be transmitted to the S4 at the S3 node. Summary of the invention
鉴于上述现有技术所存在的问题, 本发明的目的在于提供一种 MPLS环网中实现流量公平传送的方法,该方法能够在 MPLS环网中实现 对尽力传送业务的公平传输。  In view of the above problems in the prior art, an object of the present invention is to provide a method for implementing fair delivery of traffic in an MPLS ring network, which can implement fair transmission of best effort transmission services in an MPLS ring network.
本发明的目的是通过以下技术方案实现的:  The object of the invention is achieved by the following technical solutions:
本发明提供了一种 MPLS环网中实现流量公平传送的方法, 包括: The present invention provides a method for implementing fair delivery of traffic in an MPLS ring network, including:
A、 根据 MPLS报文中承载的信息确定出尽力传送业务的报文;A. Determine, according to the information carried in the MPLS packet, a packet that attempts to transmit the service;
B、 将向每个环方向发送的尽力传送业务报文分别根据尽力传送业 务的不同使用加权公平调度算法进行调度。 B. The best-effort service packets sent to each ring direction are respectively scheduled according to the best-effort transmission service using a weighted fair scheduling algorithm.
所述 MPLS报文中承载的信息可以为: 在 MPLS报文中的实验域 EXP 字段设置的业务传送值;  The information carried in the MPLS packet may be: a service transmission value set in an EXP field of an experimental domain in an MPLS packet;
则所述步骤 A为:  Then step A is:
当接收的报文的 EXP字段承载的业务传送值小于预先设定的阈值 时, 确定出所述报文为尽力传送业务的报文。  When the service transmission value carried in the EXP field of the received packet is less than a preset threshold, it is determined that the packet is a packet that tries to transmit the service.
所述的 MPLS报文中承载的信息还可以为: 在尽力传送业务报文中 设置的尽力传送业务标志;  The information carried in the MPLS packet may also be: a best-effort service flag set in the best-effort service packet;
则所述步骤 A为:  Then step A is:
当接收的报文中承载着尽力传送业务标志时, 确定出所述报文为尽 力传送业务的报文。 When the received message carries the best effort service flag, it is determined that the message is exhausted. Force to transmit business messages.
'较佳地,所述的尽力传送业务标志在报文 EXP字段的固定比特设置。 所述的 MPLS报文中承载的信息还可以为: LSP标签值;  Preferably, said best effort delivery service flag is set in a fixed bit of the message EXP field. The information carried in the MPLS packet may also be: an LSP label value;
则所述步骤 A为:  Then step A is:
当接收到报文的标签交换路径 LSP标签值为预先配置专用的传送所 述尽力传送业务的 LSP的标签值时, 确定出所述报文为尽力传送业务的 报文。  When the label exchange path LSP label value of the received packet is a pre-configured dedicated label value of the LSP transmitting the best effort transmission service, it is determined that the message is a best effort transmission service message.
所述的 MPLS报文中承载的信息还可以为: LSP标签值和在报文的 EXP字段设置的业务传送值;  The information carried in the MPLS packet may also be: an LSP label value and a service transmission value set in an EXP field of the packet;
则所述步骤 A为:  Then step A is:
当接收到的报文的 EXP字段承载的业务传送值小于预先设定的该报 文的 LSP标签值对应的阈值时,确定出所述报文为尽力传送业务的报文。  When the service transmission value carried in the EXP field of the received packet is smaller than a threshold corresponding to the LSP label value of the packet, it is determined that the packet is a packet that tries to transmit the service.
较佳地, 所述步骤 B包括:  Preferably, the step B includes:
B 1、 在 MPLS环网节点中设置标签值与被设置了权重的尽力传送业 务队列的对应关系, MPLS环网节点根据尽力传送业务的标签值, 将每 个环方向上发送的尽力传送业务报文加入对应的尽力传送业务队列; B1. Set the correspondence between the label value and the best-effort service queue with the weight set in the MPLS ring network node, and the MPLS ring network node sends the best-effort service report sent in each ring direction according to the label value of the best-effort service. The text is added to the corresponding best effort delivery service queue;
B2、在每个环方向上根据尽力传送业务队列的权重使用加权公平调 度算法对该环方向上的尽力传送业务 文进行调度。 B2. The best effort transmission service in the ring direction is scheduled according to the weight of the best effort transmission service queue in each ring direction using a weighted fairness scheduling algorithm.
较佳地, 所述的尽力传送业务队列包括:  Preferably, the best effort delivery service queue includes:
由上游环网节点发送来的报文对应的一组转发 Transit方向尽力传送 业务队列和本节点入环的报文对应的一組上环 Add方向尽力传送业务队 列; 并且, 各节点每个环方向上各包括上述两组队列。  A group of forwarding packets in the Transit direction corresponding to the packets sent by the upstream ring network node try to transmit the service queue and the packets in the ring-up direction corresponding to the packets entering the ring to transmit the service queue; and each ring direction of each node Each of the above two sets of queues is included.
所述的步骤 B2可以包括:  The step B2 may include:
B21、 当 Transit方向的尽力传送队列中有队列中的报文数量超过了 预先为该队列设定的门限时, 向 i亥队列中报文对应的上游环网节点发送 控制信息, 请求降低对应尽力传送业务的流量; B21. When the number of packets in the queue in the best-effort transmission queue in the Transit direction exceeds the threshold set in advance for the queue, send the packet to the upstream ring network corresponding to the packet in the i-Hail queue. Controlling the information, requesting to reduce the traffic corresponding to the best effort delivery service;
B22、 接收所述控制信息的上游环网节点根据该控制信息降低对应 尽力传送业务的发送流量。  B22. The upstream ring network node that receives the control information reduces the sending traffic corresponding to the best effort transmission service according to the control information.
较佳地, 所述控制信息中包括停止发送时间;  Preferably, the control information includes stopping the sending time;
则所述步骤 B22为:  Then step B22 is:
接收到所述控制信息的上游环网节点在此后的停止发送时间内, 停 止对应尽力传送业务的发送。  The upstream ring network node that has received the control information stops the transmission of the corresponding best effort transmission service during the subsequent stop transmission time.
较佳地, 所述预先为该队列设定的门限为第一门限; 此外, 该方法 进一步包括为 Transit方向的每个队列设置第二门限, 该第二门限低于为 对应队列设置的第一门限;  Preferably, the threshold set in advance for the queue is a first threshold; further, the method further includes setting a second threshold for each queue in the Transit direction, the second threshold being lower than the first set for the corresponding queue Threshold
则所述步骤 B21中进一步包括:  Then, the step B21 further includes:
当 Transit方向的尽力传送队列中有队列中的报文数量低于了为该队 列设置的所述第二门限时, 向上游环网节点发送请求恢复发送对应尽力 传送业务流量的控制信息;  When the number of packets in the queue in the best-effort transmission queue in the Transit direction is lower than the second threshold set for the queue, the upstream ring network node sends a control request to resume transmission of the corresponding best-effort traffic.
所述步骤 B22中进一步包括:  The step B22 further includes:
接收到所述请求恢复发送对应尽力传送业务流量的控制信息的上 游环网节点, 根据该控制信息恢复对应尽力传送业务的传送。  Receiving the request to resume the transmission of the upstream ring network node corresponding to the control information of the best effort service traffic, and recovering the transmission of the corresponding best effort service according to the control information.
较佳地, 所述的步骤 B2包括:  Preferably, the step B2 includes:
B23、当 Add方向的尽力传送队列中有队列中的报文数量超过了预先 为 Add方向队列设定的门限时, 降低对应尽力传送业务的流量。  B23. When the number of packets in the queue in the best-effort transmission queue in the Add direction exceeds the threshold set in the Add direction queue in advance, the traffic corresponding to the best-effort transmission service is reduced.
步骤 B23中所述的降低对应尽力传送业务流量的方法可以为: 丢弃所述对应尽力传送业务中超出所述公平速率部分的数据包。 步骤 B23中所述的降低对应尽力传送业务流量的方法还可以为: 向业务源方向发送链路层流控信息, 调整尽力传送业务的发送流 量。 步骤 B23中所述的降低对应尽力传送业务流量 方法也可以为: 向业务源方向发送链路层流控信息, 调整尽力传送业务的发送流 量; 并且丢弃所述对应尽力传送业务中超出所述公平速率部分的数据 包。 The method for reducing the traffic corresponding to the best effort service described in step B23 may be: discarding the data packet that exceeds the fair rate portion of the corresponding best effort transmission service. The method for reducing the traffic of the best-effort transmission service described in the step B23 may be: sending the link layer flow control information to the service source direction, and adjusting the transmission traffic of the best-effort transmission service. The method for reducing the corresponding best-effort service traffic described in step B23 may also be: sending link layer flow control information to the service source direction, adjusting the transmission traffic of the best-effort transmission service; and discarding the fairness of the corresponding best-effort transmission service The packet of the rate part.
由上述本发明提供的技术方案可以看出, 本发明实现了可以在 MPLS环网的节点上根据报文承载的信息识别出相应的尽力传送业务, 之后, 将所述报文加入对应着不同传送带宽的队列中, 实现了尽力传送 业务可以占用的带宽的公平分配, 从而有效保证 MPLS环网中各个网络 节点传输的各尽力传送业务均可以公平合理的占用高优先级业务剩余 的带宽资源。 本发明有效地解决了现有技术中可能出现的部分节点的业 务一点也发送不出去的问题。 附图简要说明  It can be seen from the technical solution provided by the present invention that the present invention can identify the best-effort transmission service according to the information carried in the packet on the node of the MPLS ring network, and then add the message to the corresponding transmission. In the bandwidth queue, the fair distribution of the bandwidth that the best-effort transmission service can occupy is realized, so that the best-effort transmission services transmitted by the network nodes in the MPLS ring network can effectively and reasonably occupy the remaining bandwidth resources of the high-priority service. The invention effectively solves the problem that the services of some nodes which may occur in the prior art cannot be sent at all. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为 MPLS网络业务传输示意图;  Figure 1 is a schematic diagram of MPLS network service transmission;
图 2为图 1中各业务抢占带宽的示意图;  2 is a schematic diagram of preempting bandwidth of each service in FIG. 1;
图 3为本发明第一具体实施例的处理流程图;  3 is a process flow diagram of a first embodiment of the present invention;
图 4为 MPLS报文格式示意图;  Figure 4 is a schematic diagram of the format of an MPLS packet;
图 5为本发明第一实施例中对业务进行调度的示意图;  FIG. 5 is a schematic diagram of scheduling a service according to a first embodiment of the present invention; FIG.
图 6为本发明第二实施例中流量控制报文的格式图。 实施本发明的方式  FIG. 6 is a format diagram of a flow control message according to a second embodiment of the present invention. Mode for carrying out the invention
本发明的核心思想是在 MPLS环网中识别出尽力传送业务, 并针对 尽力传送业务进行入队列处理, 以保证各尽力传送业务可以公平地占用 高优先级业务剩余的带宽资源。  The core idea of the present invention is to identify the best-effort transmission service in the MPLS ring network, and perform queue processing for the best-effort transmission service to ensure that each best-effort transmission service can fairly occupy the remaining bandwidth resources of the high-priority service.
本发明可以是只应用在发生拥塞的情况下, 也可以是无论是否发生 拥塞的情况下都应用。 . The invention can be applied only in the case of congestion, or whether it occurs or not It is applied in the case of congestion. .
下面通过具体实施例对本发明进行详细说明。  The invention will now be described in detail by way of specific examples.
本发明实现流量公平传送的方法的第一实施例流程如图 3所示, 主 要包括以下步骤:  The flow of the first embodiment of the method for implementing fair delivery of traffic according to the present invention is as shown in FIG. 3, and mainly includes the following steps:
步骤 31 : 在 MPLS环网节点上, 根据接收到的报文中承载的信息确 定出尽力传送业务。 也就是从环网节点接收到的报文中确定出相应的尽 力传送业务的报文, 以对尽力传送业务基于流量公平传送进行相应处 理。  Step 31: Determine, on the MPLS ring network node, the best-effort service according to the information carried in the received packet. That is, the packet of the corresponding best-effort service is determined from the packet received by the ring network node, so that the best-effort transmission service is processed according to the fair delivery of the traffic.
本步骤中可以利用 MPLS报文标签 Label中保留的实验域( EXP )字 段, 通过在该字段承载业务传送值来实现对尽力传送业务的识别。 根据 EXP字段的业务传送值识别尽力传送业务时, 需要预先人为在 MPLS环 网节点中配置一个阈值。 此外, 在为尽力传送业务设置报文标签中 EXP 字段值时, 设置为小于上述阈值的值, 而当为非尽力传送业务设置该报 文标签中 EXP字段值时, 设置为大于或等于上述阈值的值。 则当 MPLS 环网节点接收到的报文中 EXP字段承载的业务传送值小于该节点中预先 设定的阈值时, 即判定该报文为尽力传送业务的报文。 MPLS报文标签 的结构如图 4所示, 从图中可以看出其中的 EXP字段有 3个比特, 则该字 段可以取 0至 7的值。  In this step, the experimental domain (EX) field reserved in the MPLS packet label Label can be used to identify the best-effort transmission service by carrying the service transmission value in the field. When identifying the best effort delivery service based on the service transmission value of the EXP field, it is necessary to manually configure a threshold in the MPLS ring node. In addition, when the value of the EXP field in the message label is set for the best effort transmission service, the value is set to be smaller than the threshold value, and when the value of the EXP field in the message label is set for the non-best effort transmission service, the value is set to be greater than or equal to the threshold value. Value. Then, when the service transmission value carried by the EXP field in the packet received by the MPLS ring network node is smaller than a preset threshold in the node, the packet is determined to be a packet for best effort transmission. The structure of the MPLS packet label is shown in Figure 4. It can be seen from the figure that the EXP field has 3 bits, and the field can take a value of 0 to 7.
此外, 本步骤中也可以利用 EXP字段中某一固定比特, 在业务传送 过程中对于尽力传送业务将该固定比特设置为尽力传送业务标志, 以区 别于其他业务。 例如, 对于 EXP字段的第一个比特, 如果是尽力传送业 务就将该比特设置为 0, 则这个 0即为尽力传送业务标志; 如果是非尽力 传送业务就将该比特设置为 1。 这样, MPLS环网节点便可以根据该比特 的值判断接收的业务报文是否为尽力传送业务。  In addition, in this step, a fixed bit in the EXP field may also be utilized, and the fixed bit is set to the best effort service flag for the best effort transmission service in the service transmission process to distinguish it from other services. For example, for the first bit of the EXP field, if the bit is set to 0 if it is a best effort service, then this 0 is the best effort service flag; if it is a non-best effort service, the bit is set to 1. In this way, the MPLS ring network node can judge whether the received service packet is a best-effort service according to the value of the bit.
由于, 本发明中讨论的业务报文是在 MPLS环网中传送的业务报文, 因此,在 MPLS环网节点上还可以根据 LSP的标签值 识别尽力传送业务 的报文。 为此, 在 MPLS环网中各节点需要设置专用的传送所述尽力传 送业务的一组 LSP的标签值, 且在传送尽力传送业务时, 将尽力传送业 务采用配置专用的 LSP传送, 这样, 在环网节点上就可以根据标签值确 定接收的业务报文中的尽力传送业务报文; The service packet discussed in the present invention is a service packet transmitted in an MPLS ring network. Therefore, the MPLS ring network node can also identify the best-effort service packet according to the label value of the LSP. To this end, each node in the MPLS ring network needs to set a dedicated label value of a group of LSPs that transmit the best-effort transmission service, and when transmitting the best-effort transmission service, the best-effort transmission service is transmitted by using the configuration-dedicated LSP, so that The ring network node can determine the best-effort service packet in the received service packet according to the label value.
当然, 本发明中, 还可以根据 LSP的标签值和 EXP字段值组合判断 环网节点接收的业务报文是否为尽力传送业务报文。 例如, 对于预先设 置的一组 LSP标签值对应的 LSP所传送的业务,在判断是否为尽力传送业 务时所依据的判断阈值为 5; 对于另外一组 LSP标签值所对应的 LSP所传 送的业务, 在判断是否为尽力传送业务时, 所依据的判断阈值为 3。  Of course, in the present invention, whether the service packet received by the ring network node is a best-effort service packet is determined according to the combination of the label value and the EXP field value of the LSP. For example, for a service transmitted by an LSP corresponding to a preset set of LSP label values, a judgment threshold according to whether it is a best effort transmission service is 5; a service transmitted by an LSP corresponding to another set of LSP label values When judging whether it is trying to transmit the service, the judgment threshold is based on 3.
步骤 32: 所述的报文被识别为尽力传送业务报文后, 对于向每个环 方向发送的业务报文, 根据报文中的 MPLS标签进行入队管理, 每一种 级别的尽力传送业务对应着一个队列, 即权重相同的尽力传送业务报文 对应同一队列, 所述的权重对应着尽力传送业务的重要程度, 即可以为 该业务分配的带宽资源量。  Step 32: After the packet is identified as a best-effort service packet, the service packet sent to each ring direction is enqueued according to the MPLS label in the packet, and each level of the best-effort transmission service is performed. Corresponding to a queue, that is, the best-effort service packets with the same weights correspond to the same queue, and the weights correspond to the importance of the best-effort service, that is, the amount of bandwidth resources that can be allocated for the service.
所述每个环方向的队列包括由上游环网节点发送来的尽力传送业 务报文队列和本地上环的, 即由本节点增加到环上(即由本节点入环) 的尽力传送业务^艮文队列, 分别记为 Transit方向队列和 Add方向队列, 当队列中的报文被调度时相应的报文就会被发送到对应的环上进行传 输。 因为 MPLS环有两个方向, 所以有两组队列, 以及两个 WRR加权轮 询调度算法的实例。  The queue in each ring direction includes a best-effort service message queue and a local upper ring sent by the upstream ring network node, that is, the best-effort service that is added to the ring by the node (that is, the node is connected to the ring) The queues are recorded as the transit direction queue and the add direction queue. When the packets in the queue are scheduled, the corresponding packets are sent to the corresponding ring for transmission. Because the MPLS ring has two directions, there are two sets of queues and two instances of the WRR weighted polling scheduling algorithm.
在具体应用过程中, 可以根据尽力传送业务的 LSP标签值来决定将 报文送入 Transit方向或 Add方向队列中的具体哪个队列。以 Transit方向为 例, 假如在本地节点中配置了: LSP标签值 1和 3对应的队列为 1 , 该队列 的权重为 3; LSP标签值 4对应的队列为 2, 该队列的权重为 2; 标签值 5 至 12对应的队列为队列 3, 该队列的权重为 1。 则本地节点在接收到标签 值为 1和 3的尽力传送业务报文后, 将报文送入 P 列 1 ; 在接收到标签值 为 4的尽力传送业务报文后, 将报文送入队列 2; 在接收到标签值为 5至 12的尽力传送业务^ 后, 将报文送入队列 3。 In a specific application process, the specific LSP label value of the best-effort service may be used to determine which queue to send the packet to the Transit direction or the Add direction queue. Take the Transit direction as an example. If the local node is configured as follows: The queue corresponding to the LSP label values 1 and 3 is 1, the weight of the queue is 3; the queue corresponding to the LSP label value 4 is 2, and the weight of the queue is 2. Tag value 5 The queue corresponding to 12 is queue 3, and the queue has a weight of 1. After receiving the best-effort service packet with the tag values of 1 and 3, the local node sends the packet to P column 1; after receiving the best-effort service packet with the tag value of 4, the packet is sent to the queue. 2; After receiving the best effort service ^ with a tag value of 5 to 12, the message is sent to queue 3.
步骤 33: 采用 WRR (加权随机丢弃算法)加权轮询调度算法的方式 对每个队列中的报文进行调度处理, 即发送到 MPLS环网上进行传输; Step 33: The WRR (weighted random discarding algorithm) weighted round-robin scheduling algorithm is used to perform scheduling processing on the packets in each queue, that is, sent to the MPLS ring network for transmission;
WR 加权轮询算法是一种基于权重的调度算法,具体为根据用户针 对每个队列配置的权重进行调度处理。 例如, 对应上述步骤 32中所举示 例, 队列 1的权重是 3, 队列 2的权重为 2, 队列 3的权重为 1, 则队列 1中 报文发送的速度就是队列 3中报文发送速度的 3倍, 队列 2中报文发送的 速度就是队列 3中报文发送速度的 2倍, 而权重相同的队列中报文发送速 度是一样的, 例如在 Add方向队列中有一个队列 4, 该队列的权重为 3, 则在调度时, 队列 4中业务的报文与 Transit方向队列的队列 1中的报文发 送速度是相同的。 The WR weighted round robin algorithm is a weight-based scheduling algorithm, which is based on the weighting of each queue configuration by the user. For example, corresponding to the example in the foregoing step 32, the weight of the queue 1 is 3, the weight of the queue 2 is 2, and the weight of the queue 3 is 1, the speed of sending the packet in the queue 1 is the sending speed of the packet in the queue 3. 3 times, the speed of sending packets in queue 2 is twice the sending speed of packets in queue 3, and the sending speed of packets in the queue with the same weight is the same. For example, there is a queue 4 in the queue of Add direction. The weight of the packet is 3, and the packet transmission rate of the service in queue 4 and the queue 1 in the transit queue are the same.
步骤 34: 经过 W R调度出的报文, 再与非尽力传送业务一起做优先 级调度(SP ) , 因为尽力传送业务的优先级最低, 所以只能占用非尽力 传送业务之外的带宽, 如图 5所示。  Step 34: After the WR-scheduled message, the priority scheduling (SP) is performed together with the non-best-effort transmission service, because the best-effort transmission service has the lowest priority, so it can only occupy the bandwidth other than the best-effort transmission service, as shown in the figure. 5 is shown.
可以看出, 本发明中, 所有尽力传送业务实现了在 MPLS环路上带 宽的公平占用, 实现了本发明的目的。  It can be seen that in the present invention, all of the best effort transmission services achieve a fair occupancy of bandwidth over the MPLS loop, achieving the object of the present invention.
本发明提供的第二实施例中, 在第一实施例的基础上还包括对各业 务流量的流量控制反馈机制, 而且, 由于 LSP的标签值通常只在一段 LSP 链路上有效, 所以所述流量控制反馈机制应当是在 MPLS环网中的两个 相邻环网节点间的流量控制反馈机制。  In the second embodiment provided by the present invention, the flow control feedback mechanism for each service traffic is further included on the basis of the first embodiment, and since the label value of the LSP is generally only valid on a segment of the LSP link, The flow control feedback mechanism should be a flow control feedback mechanism between two adjacent ring nodes in the MPLS ring network.
首先, 针对步骤 32中的每个队列分别设定两个门限值, 一个为高门 限值 Ht、一个为低门限值 Lt, 另外还设置有一个变量 S用于记录当前队列 状态, S初始为 L态; First, two thresholds are respectively set for each queue in step 32, one is a high threshold Ht and one is a low threshold Lt, and a variable S is also set for recording the current queue. State, S is initially in the L state;
下面将分别对环网节点的 Transit方向队列和 Add方向队列的具体的 流量控制反馈机制进行说明:  The following describes the specific flow control feedback mechanism of the Transit direction queue and the Add direction queue of the ring network node:
( 1 )当所述的队列是 Transit方向的队列时,相应的流量控制反馈机 制可以为:  (1) When the queue is a queue in the Transit direction, the corresponding flow control feedback mechanism can be:
当队列中的报文的数量超过设定的高门限值 Ht时,并且变量 S为 L态 时, 将所述队列的变量 S设置为 H态, 表示该队列中的报文数量超过设定 的高门限值, 同时向环网上游环网节点发送流量控制报文; 所述的流量 控制报文使用特殊的标签值, 转发优先级为最高, 并且报文的内容还包 括该队列对应的业务的标识, 以及一个时间值, 所述的时间值表示相应 的报文在多长时间 (一段时间) 内停止发送; 所述流量控制报文中包含 有特殊的标签 Label值, 相应的可以采用如图 6所示的报文格式, 图中包 括: 标签值 Lable字段, EXP字段, 栈底标识、 以及 TTL字段; 另外, 图 中的 Holding ID为尽力传送业务的 ID, Holding Time为上述时间值。 所述 的标签值字段可由标签分配协议分配, 或是固定的特殊标签值。  When the number of packets in the queue exceeds the set high threshold Ht, and the variable S is in the L state, the variable S of the queue is set to the H state, indicating that the number of packets in the queue exceeds the setting. The high threshold value is sent to the ring network node of the ring network at the same time. The flow control message uses a special tag value, and the forwarding priority is the highest, and the content of the packet further includes the corresponding queue. The identifier of the service, and a time value, where the time value indicates how long the corresponding message stops transmitting; the flow control message includes a special label Label value, and the corresponding value can be adopted. As shown in Figure 6, the packet format includes: a tag value Lable field, an EXP field, a bottom layer identifier, and a TTL field. In addition, the Holding ID in the figure is the ID of the best effort service, and the Holding Time is the above time value. . The tag value field may be assigned by a tag assignment protocol or a fixed special tag value.
当队列中的报文的数量低于设定的低门限 Lt, 并且变量 S为 H态时, 将所述队列的变量 S设置为 L态时,表示该队列中的报文数量低于设定的 低门限值, 同时, 向上游环网节点发送流量控制报文, 报文中涉及的时 间值为 0。  When the number of packets in the queue is lower than the set low threshold Lt and the variable S is in the H state, when the variable S of the queue is set to the L state, the number of packets in the queue is lower than the setting. The lower threshold, and the flow control packet sent to the upstream ring network node, the time value involved in the packet is 0.
当上游环网节点收到所述的流量控制报文后 , WRR调度将根据携带 的业务的 ID确定相应的报文队列, 并停止从该队列中调度报文, 同时设 立一个定时器, 定时器时间为报文中携带的时间值, 当定时器到时后, 才重新调度该队列中的报文; 当然, 当收到时间值为 0的报文时, 则立 即重新调度该队列中的报文。  After the upstream ring network node receives the traffic control packet, the WRR scheduling determines the corresponding packet queue according to the ID of the carried service, and stops scheduling the packet from the queue, and sets a timer and timer. The time is the time value carried in the packet. When the timer expires, the packet in the queue is rescheduled. Of course, when the packet with the time value of 0 is received, the packet in the queue is rescheduled immediately. Text.
( 2 )当所述的队列是 Add方向的队列时, 则相应的流量控制反馈机 制可以为: (2) When the queue is a queue in the Add direction, the corresponding flow control feedback machine The system can be:
当队列中的报文的数量超过设定的高门限值时, 可以选择两种模 式, 一种是丟包方式, 例如可以釆用加权随机早期检测 (WRED )技术 丢弃报文; 另一种是向业务源方向发送链路层流控信息的方式通知客户 侧停止发送, 例如可以采用 IEEE 802.3协议中的 PAUSE帧技术进行。 此 外, 当队列中的报文的数量超过设定的高门限值时, 还可以同时采用上 述两种方式。  When the number of packets in the queue exceeds the set high threshold, you can select two modes. One is packet loss. For example, you can use the Weighted Random Early Detection (WRED) technology to discard packets. It is to notify the client side to stop sending the link layer flow control information in the direction of the service source. For example, the PAUSE frame technology in the IEEE 802.3 protocol can be used. In addition, when the number of packets in the queue exceeds the set high threshold, the above two methods can also be used at the same time.
因此, 本发明中通过报文队列反馈机制, 业务发送会逐级阻塞到上 游环网节点, 最终到该业务在环上的接入节点, 由该节点向环的客户层 反馈, 达到降低业务速率, 实现业务公平的目的。 体情况的具体需要。 因此可以理解, 根据本发明的具体实施方式只是起 示范作用, 并不用以限制本发明的保护范围。  Therefore, in the present invention, the message queue feedback mechanism is used, and the service transmission is blocked to the upstream ring network node step by step, and finally the access node to the ring on the ring is fed back to the client layer of the ring to reduce the service rate. To achieve business fairness. The specific needs of the physical situation. Therefore, it is to be understood that the specific embodiments of the present invention are not intended to limit the scope of the invention.

Claims

权利要求书 Claim
1、 一种多协议标记交换 MPLS环网中实现流量公平传送的方法, 其 特征在于, 该方法包括:  A multi-protocol label switching method for implementing fair delivery of traffic in an MPLS ring network, characterized in that the method comprises:
A、根据 MPLS报文中承载的信息确定所述报文为尽力传送业务的报 文;  A. determining, according to the information carried in the MPLS packet, that the packet is a packet that tries to transmit the service;
B、 将向每个环方向发送的尽力传送业务报文分别根据对应尽力传 送业务的不同使用加权公平调度算法进行调度。  B. The best-effort service packets sent to each ring direction are respectively scheduled according to different weighted fair scheduling algorithms corresponding to the best-effort transmission service.
2、 根据权利要求 1所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述 MPLS报文中承载的信息为: 在 MPLS报文中的实验域 EXP字段设置的业务传送值;  The method for implementing fair delivery of traffic in an MPLS ring network according to claim 1, wherein the information carried in the MPLS packet is: a service transmission value set in an EXP field of an experimental domain in an MPLS packet. ;
则所述步骤 A为:  Then step A is:
当 MPLS环网节点接收的报文的 EXP字段承载的业务传送值小于预 先设定的阔值时, 确定出所述报文为尽力传送业务的报文。  When the service transmission value carried in the EXP field of the packet received by the MPLS ring network node is smaller than the pre-set threshold, the packet is determined to be the best-effort service packet.
3、 根据权利要求 1所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述的 MPLS报文中承载的信息为: 在尽力传送业务报文 中设置的尽力传送业务标志;  The method for implementing fair delivery of traffic in an MPLS ring network according to claim 1, wherein the information carried in the MPLS packet is: a best effort service flag set in a best effort service packet;
则所述步骤 A为:  Then step A is:
当接收的报文中承载着尽力传送业务标志时, 确定出所述报文为尽 力传送业务的报文。  When the received message carries the best-effort service flag, it is determined that the message is a message that tries to transmit the service.
4、 根据权利要求 3所述的 MPLS环网中实现流量公平传送的方法, 其特征在于,所述的尽力传送业务标志在报文 EXP字段的固定比特设置。  The method for implementing fair delivery of traffic in an MPLS ring network according to claim 3, wherein the best effort transmission service flag is set in a fixed bit of a message EXP field.
5、 根据权利要求 1所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述的 MPLS报文中承载的信息为: 标签交换路径 LSP标签 值; 则所述步骤 A为: The method for implementing the fair delivery of the traffic in the MPLS ring network according to claim 1, wherein the information carried in the MPLS packet is: a label switched path LSP label value; Then the step A is:
当接收到报文的标签交换路径 LSP标签值为预先配置专用的传送所 述尽力传送业务的 LSP的标签值时, 确定出所述报文为尽力传送业务的 报文。  When the label exchange path LSP label value of the received packet is a pre-configured dedicated label value of the LSP transmitting the best effort transmission service, it is determined that the message is a best effort transmission service message.
6、 根据权利要求 1所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述的 MPLS报文中承载的信息为: LSP标签值和在报文的 EXP字段设置的业务传送值;  The method for implementing the fair delivery of the traffic in the MPLS ring network according to claim 1, wherein the information carried in the MPLS packet is: an LSP label value and a service transmission set in an EXP field of the packet. Value
则所述步骤 A为:  Then step A is:
当接收到的报文的 EXP字段承载的业务传送值小于预先设定的该报 文的 LSP标签值对应的阈值时,确定出所述报文为尽力传送业务的报文。  When the service transmission value carried in the EXP field of the received packet is smaller than a threshold corresponding to the LSP label value of the packet, it is determined that the packet is a packet that tries to transmit the service.
7、 根据权利要求 1所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述步骤 B包括:  The method for implementing fair delivery of traffic in an MPLS ring network according to claim 1, wherein the step B includes:
B 1、 在 MPLS环网节点中设置标签值与被设置了权重的尽力传送业 务队列的对应关系, MPLS环网节点根据尽力传送业务的标签值, 将每 个环方向上发送的尽力传送业务报文加入对应的尽力传送业务队列; B1. Set the correspondence between the label value and the best-effort service queue with the weight set in the MPLS ring network node, and the MPLS ring network node sends the best-effort service report sent in each ring direction according to the label value of the best-effort service. The text is added to the corresponding best effort delivery service queue;
B2、在每个环方向上根据尽力传送业务队列的权重使用加权公平调 度算法对尽力传送业务报文进行调度。 B2. Use the weighted fairness algorithm to schedule the best effort service message according to the weight of the best effort service queue in each ring direction.
8、 根据权利要求 7所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述的尽力传送业务队列包括:  The method for implementing fair delivery of traffic in an MPLS ring network according to claim 7, wherein the best-effort transmission service queue includes:
由上游环网节点发送来的报文对应的一组转发 Transit方向尽力传送 业务队列和本节点入环的报文对应的一组上环 Add方向尽力传送业务队 列; 并且, 各节点每个环方向上各包括上述两组队列。  A group of forwarding packets in the Transit direction corresponding to the packets sent by the upstream ring network node try to transmit the service queue and the packets in the ring-up direction corresponding to the packets entering the ring to transmit the service queue; and each ring direction of each node Each of the above two sets of queues is included.
9、 根据权利要求 8所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述的步骤 B2包括: 预先为该队列设定的门限时, 向该队列中报文对应的上游环网节点发送 控制信息, 请求降低对应尽力传送业务的流量; The method for implementing the fair delivery of the traffic in the MPLS ring network according to claim 8, wherein the step B2 includes: When the threshold is set in advance for the queue, the upstream ring network node corresponding to the packet in the queue sends control information, requesting to reduce the traffic corresponding to the best-effort service;
B22、 接收所述控制信息的上游环网节点根据该控制信息降低对应 尽力传送业务的发送流量。  B22. The upstream ring network node that receives the control information reduces the sending traffic corresponding to the best effort transmission service according to the control information.
10、 根据权利要求 9所述的方法, 其特征在于, 所述控制信息中包 括停止发送时间;  The method according to claim 9, wherein the control information includes stopping transmission time;
则所述步骤 B22为:  Then step B22 is:
接收到所述控制信息的上游环网节点在此后的停止发送时间内, 停 止对应尽力传送业务的发送。  The upstream ring network node that has received the control information stops the transmission of the corresponding best effort transmission service during the subsequent stop transmission time.
11、 根据权利要求 9所述的方法, 其特征在于, 所述预先为该队列 设定的门限为第一门限; 此外, 该方法进一步包括为 Transit方向的每个 队列设置第二门限, 该第二门限低于该队列的第一门限;  The method according to claim 9, wherein the threshold set in advance for the queue is a first threshold; further, the method further includes setting a second threshold for each queue in the Transit direction, the first The second threshold is lower than the first threshold of the queue;
则所述步骤 B21中进一步包括:  Then, the step B21 further includes:
当 Transit方向的尽力传送队列中有队列中的报文数量低于了该队列 对应的第二门限时, 向上游环网节点发送请求恢复发送对应尽力传送业 务流量的控制信息;  When the number of packets in the queue in the best-effort transmission queue in the Transit direction is lower than the second threshold corresponding to the queue, the upstream ring network node sends a request to resume the transmission of the control information corresponding to the best-effort traffic.
所述步骤 B22中进一步包括:  The step B22 further includes:
接收到所述请求恢复发送对应尽力传送业务流量的控制信息的上 游环网节点, ^^据该控制信息恢复对应尽力传送业务的传送。  Receiving the request to resume the transmission of the upstream ring network node corresponding to the control information of the best effort transmission service traffic, and recovering the transmission corresponding to the best effort transmission service according to the control information.
12、 根据权利要求 8所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 所述的步骤 B2包括:  The method for implementing fair delivery of traffic in an MPLS ring network according to claim 8, wherein the step B2 includes:
B23、当 Add方向的尽力传送队列中有队列中的报文数量超过了预先 为 Add方向的队列设定的门限时, 降低对应尽力传送业务的流量。  B23. When the number of packets in the queue in the best-effort transmission queue in the Add direction exceeds the threshold set in the queue for the Add direction, the traffic corresponding to the best-effort transmission service is reduced.
13、根据权利要求 12所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 步骤 B23中所述的降低对应尽力传送业务流量的方法为: 丢弃所述对应尽力传送业务中超出所述公平速率部分的数据包。The method for implementing fair delivery of traffic in an MPLS ring network according to claim 12, wherein the method for reducing traffic corresponding to best effort transmission in step B23 is: And discarding the data packet in the corresponding best effort transmission service that exceeds the fair rate portion.
14、根据权利要求 12所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 步骤 B23中所述的降低对应尽力传送业务流量的方法为: 向业务源方向发送链路层流控信息, 调整尽力传送业务的发送流 量。 The method for implementing the fair delivery of the traffic in the MPLS ring network according to claim 12, wherein the method for reducing the traffic corresponding to the best effort transmission in the step B23 is: sending the link layer flow control to the service source direction. Information, adjust the sending traffic of the best-effort delivery service.
15、根据权利要求 12所述的 MPLS环网中实现流量公平传送的方法, 其特征在于, 步骤 B23中所述的降低对应尽力传送业务流量的方法为: 向业务源方向发送链路层流控信息, 调整尽力传送业务的发送流 量; 并且丢弃所述对应尽力传送业务中超出所述公平速率部分的数据 包。  The method for implementing the fair delivery of the traffic in the MPLS ring network according to claim 12, wherein the method for reducing the traffic corresponding to the best effort transmission in the step B23 is: sending the link layer flow control to the service source direction. And adjusting the sending traffic of the best effort transmission service; and discarding the data packet in the corresponding best effort transmission service that exceeds the fair rate portion.
PCT/CN2005/001721 2004-10-20 2005-10-20 A method for performing flow fairness transmission in mpls ring network WO2006042470A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200410083853.2 2004-10-20
CNB2004100838532A CN100490421C (en) 2004-10-20 2004-10-20 Method for realizing flow equitable transmission in MPLS looped network

Publications (1)

Publication Number Publication Date
WO2006042470A1 true WO2006042470A1 (en) 2006-04-27

Family

ID=36202680

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/001721 WO2006042470A1 (en) 2004-10-20 2005-10-20 A method for performing flow fairness transmission in mpls ring network

Country Status (2)

Country Link
CN (1) CN100490421C (en)
WO (1) WO2006042470A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714947B (en) * 2009-10-30 2011-12-28 清华大学 Extensible full-flow priority dispatching method and system
CN102811176B (en) * 2012-08-28 2015-09-23 迈普通信技术股份有限公司 A kind of data flow control method and device
CN104486218B (en) * 2014-12-16 2017-12-22 上海斐讯数据通信技术有限公司 A kind of MPLS network control system and method based on SDN

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001003400A2 (en) * 1999-07-02 2001-01-11 Nokia Internet Communications Inc. Real-time traffic shaper with garanteed bandwidth for best-effort traffic
KR20010077209A (en) * 2000-02-01 2001-08-17 구자홍 Packet schedulling apparatus and method
CA2366269A1 (en) * 2001-01-10 2002-07-10 Lucent Technologies Inc. Method and apparatus for integrating guaranteed-bandwidth and best-effort traffic in a packet network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001003400A2 (en) * 1999-07-02 2001-01-11 Nokia Internet Communications Inc. Real-time traffic shaper with garanteed bandwidth for best-effort traffic
KR20010077209A (en) * 2000-02-01 2001-08-17 구자홍 Packet schedulling apparatus and method
CA2366269A1 (en) * 2001-01-10 2002-07-10 Lucent Technologies Inc. Method and apparatus for integrating guaranteed-bandwidth and best-effort traffic in a packet network

Also Published As

Publication number Publication date
CN100490421C (en) 2009-05-20
CN1764148A (en) 2006-04-26

Similar Documents

Publication Publication Date Title
EP1748599B1 (en) A ring carrying network and the method for implementing the service carry
EP1739914B1 (en) Method, apparatus, edge router and system for providing a guarantee of the quality of service (qos)
US6970424B2 (en) Method and apparatus to minimize congestion in a packet switched network
US7327675B1 (en) Fairness of capacity allocation for an MPLS-based VPN
US7046665B1 (en) Provisional IP-aware virtual paths over networks
US9621375B2 (en) Smart Ethernet edge networking system
US6714517B1 (en) Method and apparatus for interconnection of packet switches with guaranteed bandwidth
US6654374B1 (en) Method and apparatus to reduce Jitter in packet switched networks
WO2006034644A1 (en) A ring network and a method for implementing the service thereof
WO2004064325A1 (en) The system and method for realizing the resource distribution in the communication network
WO2007051374A1 (en) A method for guaranteeing classification of service of the packet traffic and the method of rate restriction
WO2009023838A1 (en) Stream reservation protocol for bridged networks
WO2005107192A9 (en) System and method for enhancing network quality of service
JP2005513917A (en) Method for transmitting data of applications having different qualities
JP2008507204A (en) How to manage inter-zone bandwidth in a two-way messaging network
JP2006345173A (en) Device for controlling router, router, ip-vpn system and method for controlling router
JP3688525B2 (en) Packet flow control method and router apparatus
WO2006042470A1 (en) A method for performing flow fairness transmission in mpls ring network
WO2012068911A1 (en) Reservation method and system for protected bandwidth resource
Kaur et al. Core-stateless guaranteed throughput networks
TW200303670A (en) Inverse multiplexing of managed traffic flows over a multi-star network
WO2006042472A1 (en) A method for implementing fair transmission of flow in the mpls ring network
WO2006039871A1 (en) A method for transmitting control message in mpls ring network
JPH10126430A (en) Cable network system
JP2004072659A (en) Ethernet packet control method

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 05802184

Country of ref document: EP

Kind code of ref document: A1