WO2007036109A1 - A method for selecting the loop in the resilient packet ring and the system thereof - Google Patents
A method for selecting the loop in the resilient packet ring and the system thereof Download PDFInfo
- Publication number
- WO2007036109A1 WO2007036109A1 PCT/CN2006/001544 CN2006001544W WO2007036109A1 WO 2007036109 A1 WO2007036109 A1 WO 2007036109A1 CN 2006001544 W CN2006001544 W CN 2006001544W WO 2007036109 A1 WO2007036109 A1 WO 2007036109A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- loop
- node
- ring
- network
- state
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 235000008694 Humulus lupulus Nutrition 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 claims description 18
- 239000002699 waste material Substances 0.000 abstract description 2
- 241000156948 Aphantopus hyperantus Species 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/102—Packet switching elements characterised by the switching fabric construction using shared medium, e.g. bus or ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/356—Switches specially adapted for specific applications for storage area networks
- H04L49/357—Fibre channel switches
Definitions
- This invention relates to resilient packet ring techniques and, more particularly, to a method and system for ring selection in an elastic packet ring.
- RPR Silicon Packet Ring
- SDH Synchronous Optical Transport Sequence
- MAC Media Access Control
- RPR is a reciprocal dual-ring topology, and each optical path on the ring operates at the same rate.
- the difference is that both rings of RPR can transmit data, and the two rings are called RingletO and Ringletl respectively.
- the data transmission direction of the RPR 0 ring is clockwise, and the data transmission direction of the 1 ring is counterclockwise.
- Each RPR node uses the 48-bit MAC address used in the Ethernet as the address identifier. Therefore, from the link layer of the RPR node device, the physical optical interfaces of the two rings of the 0 ring and the 1 ring are only received. A link layer interface.
- an RPR node has one MAC entity and two physical layer entities.
- the MAC entity contains a MAC control entity and two MAC data path entities, and is called an access point.
- the physical layer entity is divided into an east physical layer and a west physical layer according to the loop direction.
- the "sending port" of the eastward physical layer and the “receiving port” of the westward physical layer are connected by the outer ring data path to form the 0 ring of the RPR; likewise, the "receiving port” of the east physical layer and the westward physical layer”
- the transmit port "connects through the inner loop data path to form a ring of RPR.
- RPR nodes when connected to an RPR ring, must use the eastbound interface of the node to connect to the westbound interface of the next node; and use the westbound interface of the node to connect to the eastbound interface of the previous node. All RPR nodes are connected end to end to form a complete RPR ring.
- the ring selection of the above RPR nodes only depends on the number of hops between the nodes, that is, when the number of hops that are different from the specified node is different, the direction of the hops is selected. This causes a problem: If the selected hop count is small but very congested, and the other loop hop count is large, but the link is idle, then there is no complete ring selection mechanism to ensure full utilization of the ring. The bandwidth advantage of the network may even lead to packet loss. As shown in Figure 3, the traffic from Router 1 to Router 3 is 0. After the hop count ring selection mechanism selects the 0 ring, the traffic is likely to be lost. If the traffic is 1 ring. If you don't go through any congested domains, the chances of losing packets are much smaller.
- the technical problem to be solved by the present invention is to avoid the prior art that only relying on the number of hops between nodes to perform ring selection, the ring selection mechanism is incomplete, and the bandwidth advantage of the existing ring network cannot be fully utilized, and the defect of packet loss may be caused.
- the method for selecting a ring of an elastic packet ring includes: a. determining a node hop count and a network state of each optional loop between source and sink nodes for performing data transmission and reception in an elastic packet ring;
- step b includes: determining each of the optional loop node hop weight level values and the network state weight level value; selecting a loop with the highest sum of the node hop weight level value and the network state weight level value as the data for transmitting and receiving data Loop.
- the network state weight level value of the loop includes at least a congestion state weight level value, a link state weight level value, a traffic state weight level value, and a node level state weight level value.
- the network state weight level value may be ranked as follows:
- Congestion state weight class value link state weight class value, traffic state weight class value, and node level state weight class value.
- step b includes:
- the network status includes a congestion status, a link status, a traffic status, and a node level status.
- Detecting whether the loop network status meets the requirements includes the following steps:
- the present invention further provides a system for ring selection in an elastic packet ring, comprising: a physical layer, including a plurality of nodes constituting an elastic packet ring; and a network layer, which is based on a source for data transmission and reception in the elastic packet ring Select the number of node hops and network status of each optional loop between the sink nodes, and select the loop for sending and receiving data.
- the present invention has the following beneficial effects:
- the present invention When selecting a ring, the present invention first determines the number of node hops of each optional loop between the source and sink nodes in the resilient packet ring and the network state; and then according to the number of node hops of the optional loop between the source and sink nodes and The network status selects a loop from the optional loop that determines the data to be sent and received. Since the network state of the loop is fully considered in the ring selection, the ring selection is more reasonable, the waste of effective bandwidth on the RPR ring network is reduced, and the problem caused by the imbalance of network states in different loop directions is reduced.
- 1 is a schematic diagram of a prior art RPR reciprocal double loop topology
- 2 is a schematic diagram of a connection of a prior art RPR node
- FIG. 3 is a schematic diagram of performing ring selection on a conventional RPR
- FIG. 4 is a flow chart of performing ring selection on an RPR according to a first embodiment of the present invention
- Figure 5 is a flow chart showing ring selection on an RPR in accordance with a second embodiment of the present invention.
- the core of the present invention is to optimize the existing RPR ring selection mechanism and increase the ring selection decision point.
- selecting a ring not only the number of node hops of the optional loop between the source and sink nodes but also the optional ring between the source and sink nodes is considered.
- the network status of the road can fully utilize the bandwidth of the entire network, reduce the problems caused by the imbalance of network conditions in different loop directions, and increase the completeness and reliability of the ring selection mechanism. The following describes the specific embodiments.
- the system for selecting a ring in an elastic packet ring includes at least a physical layer and a network layer, where the physical layer includes a plurality of nodes constituting an elastic packet ring, and the network layer can respectively perform data transmission and reception between the source and sink nodes according to the elastic packet ring. Select the number of node hops of the loop and the network status, and select the loop for sending and receiving data. It should be understood that the system for selecting a ring in the elastic packet ring provided by the present invention has the same structure as the existing system, except that the conditions of the network layer ring selection are changed.
- the number of hops of the optional loop parameter node between the source and sink nodes and the network state are set.
- the network state decision is made according to the following network state decision point - the congestion domain decision point
- the ring selection mechanism should switch the traffic that passes through the congestion domain to the non-congested domain.
- the ring is up.
- the default ring selection mechanism of the flow from Router 1 to Router 3 is determined by the number of hops to go through the 0 ring.
- the detection mechanism detects this. Select 1 ring without selecting 0 ring. This avoids the possibility of packet loss due to congestion.
- Link status includes transmission delay, bit error rate, link level, and so on.
- the link level is a letter indicating a link between the previous node and the local node. A value of the degree.
- the loop with a small traffic flow can be selected at an appropriate timing.
- a node has a flow rate of 9.5G in the 1st ring and only 0.7G in the 0 ring, and the traffic can be selected to the 0 ring at an appropriate timing.
- node level (1 to 255).
- the higher the node level the higher the credit rating of the node.
- the present invention may add corresponding network state weight level values as follows: a congestion state weight class value, a link state weight class value, a traffic state weight class value, and a node level state weight class value, each of the above network state weights The value is different.
- the congestion domain decision point has the highest weight value, and then the link state weight level value, the traffic statistics weight level value, and the node level weight level value.
- the sum of the weights determined by each decision point is used as the criterion for selecting the ring.
- each optional loop node hop weight level value and a network state weight level value are determined, and the network state weight level value of the loop includes at least a congestion state weight level value.
- One of the link state weight level value, the traffic state weight level value, and the node level state weight level value; that is, the network state weight level value of the loop may include only one of the weights according to the actual needs of the user.
- a gradation value (such as a link state weight grading value), or includes several or all of the weight grading values.
- step 12 the loop with the highest sum of the node hop weight level value and the network state weight level value is selected as the loop for transmitting and receiving data, so that after fully considering the network state of the loop, the selected loop is more consistent.
- the actual data transmission needs.
- FIG. 5 a flow chart of a second embodiment of ring selection on the RPR of the present invention.
- Step 21 Determine a loop with the smallest number of hops of the node
- Step 22 Detect whether the state of the loop network with the smallest hop count of the node meets the requirement.
- the network state in the present invention may include a congestion state, a link state, a traffic state, and a node level state, and specifically detect a loop network state. Whether or not the requirements are met is mainly achieved by the following methods:
- Step 23 If the network state of the loop with the smallest hop count reaches the requirement, select the loop with the smallest hop count for data transmission;
- Step 24 If the network state of the loop with the smallest hop count reaches the requirement, another loop with a better network state is selected for data transmission.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method for selecting the loop in the resilient packet ring primarily includes: a) determine the node hop number and the network state of each optional loop between the source node and the host node for transmitting and receiving the data in the resilient packet ring; b) select and determine the loop to transmit and receive data from the optional loops based on the node hop number and the network state of each optional loop between the source node and the host node. Because the network state of the loop is considered enough while selecting the loop in the invention, thereby the loop selecting is more reasonable, the waste of the effective bandwidth in the RPR ring network is reduced and the problems produced by the imbalance between the network states in the different ringlet directions are reduced.
Description
弹性分组环中选环的方法和系统 技术领域 Method and system for ring selection in elastic packet ring
本发明涉及弹性分组环技术, 更具体的说, 本发明涉及一种弹性分组环 中选环的方法和系统。 Field of the Invention This invention relates to resilient packet ring techniques and, more particularly, to a method and system for ring selection in an elastic packet ring.
背景技术 Background technique
RPR (Resilient Packet Ring) 弹性分组数据环技术集 IP的智能化、 以太 网的经济性和光纤环网的高带宽效率、 可靠性于一体, 为宽带 IP城域网运营 商提供了一个良好的组网方案。 RPR技术使得运营商在城域网内以低成本提 供电信级的服务成为可能, 在提供类似 SDH (同步光传输序列) 级网络可靠 性的同时降低了传送费用。 RPR有别于传统 MAC (媒体接入控制)最吸引人 的特点是具有电信级的可靠性, 使其不仅仅只是局限于处理面向数据的业务 传送需求, 同时可以形成处理多业务传送的综合传输解决方案。 RPR (Resilient Packet Ring) Resilient Packet Ring technology provides a good group for broadband IP metropolitan area network operators because of the intelligence of IP, the economics of Ethernet and the high bandwidth efficiency and reliability of fiber-optic ring networks. Network solution. RPR technology makes it possible for operators to provide carrier-grade services at a low cost within the metropolitan area network, providing network reliability similar to SDH (Synchronous Optical Transport Sequence) and reducing transmission costs. RPR is different from traditional MAC (Media Access Control). The most attractive feature is carrier-class reliability, which not only limits the processing of data-oriented services, but also forms a comprehensive transmission for processing multi-service transmission. solution.
参考图 1, 与 SDH拓扑结构类似, RPR为互逆双环拓扑结构, 环上的每 段光路工作在同一速率上。 不同的是, RPR的双环都能够传送数据, 两个环 被分别称为 0环 (RingletO)和 1环 (Ringletl )。 RPR 0环的数据传送方向为 顺时针方向, 1环的数据传送方向为逆时针方向。每个 RPR节点 (station)都采 用了一个以太网中用到的 48位 MAC地址作为地址标识,因此从 RPR节点设 备链路层来看, 0环和 1环这两对收发的物理光接口只是一个链路层接口。 Referring to Figure 1, similar to the SDH topology, RPR is a reciprocal dual-ring topology, and each optical path on the ring operates at the same rate. The difference is that both rings of RPR can transmit data, and the two rings are called RingletO and Ringletl respectively. The data transmission direction of the RPR 0 ring is clockwise, and the data transmission direction of the 1 ring is counterclockwise. Each RPR node uses the 48-bit MAC address used in the Ethernet as the address identifier. Therefore, from the link layer of the RPR node device, the physical optical interfaces of the two rings of the 0 ring and the 1 ring are only received. A link layer interface.
参考图 2, 一个 RPR节点具有一个 MAC实体和两个物理层实体。 MAC 实体包含一个 MAC控制实体和 2个 MAC数据通路实体, 并称之为接入点。 物理层实体根据环路方向分为东向物理层和西向物理层。 东向物理层的 "发 送口"与西向物理层的 "接收口"通过外环数据通路连接在一起, 构成 RPR 的 0环; 同样, 东向物理层的 "接收口"与西向物理层的 "发送口"通过内 环数据通路相连, 构成 RPR的 1环。 Referring to Figure 2, an RPR node has one MAC entity and two physical layer entities. The MAC entity contains a MAC control entity and two MAC data path entities, and is called an access point. The physical layer entity is divided into an east physical layer and a west physical layer according to the loop direction. The "sending port" of the eastward physical layer and the "receiving port" of the westward physical layer are connected by the outer ring data path to form the 0 ring of the RPR; likewise, the "receiving port" of the east physical layer and the westward physical layer" The transmit port "connects through the inner loop data path to form a ring of RPR.
不同的 RPR节点, 在连接成一个 RPR环的时候, 必须用本节点的东向 接口连接下一个节点的西向接口; 且用本节点的西向接口连接上一个节点的 东向接口。 所有 RPR节点首尾相连, 组成一个完整的 RPR环。 Different RPR nodes, when connected to an RPR ring, must use the eastbound interface of the node to connect to the westbound interface of the next node; and use the westbound interface of the node to connect to the eastbound interface of the previous node. All RPR nodes are connected end to end to form a complete RPR ring.
参考图 3, 节点之间发送数据是有两条路可以走的, 即 0环和 1环, 而
根据 IEEE802.17节点实现选环的机制只是通过节点之间的跳数来决定, 即 Router 1 到 Router 3—定选择 0环, 而 Router 1到 Router 5一定只会选择 1 环。 Referring to Figure 3, there are two ways to send data between nodes, namely 0 ring and 1 ring, and The mechanism for ring selection according to the IEEE 802.17 node is determined only by the number of hops between nodes, that is, Router 1 to Router 3 - the 0 ring is selected, and Router 1 to Router 5 must only select 1 ring.
上述 RPR节点的选环只是依靠节点间的跳数, 即当到达指定节点走不同 的环向跳数不同时, 会选择走跳数少的环向。 这样就出现一个问题: 如果选 择的环向走的跳数很少但是很拥塞, 而另一个环向跳数虽然多但是链路很空 闲, 这时就没有一个完备的选环机制保证充分利用环网的带宽优势甚至有可 能导致丢包。 如图 3所示, 由 Router 1 到 Router 3 的流量经过跳数选环机制 选择了 0环, 从而经过了拥塞域 A, 那么该流量就有可能丢包, 而如果该流 量走的是 1环的话就不会经过任何拥塞域, 丢包的几率就小得多。 可见上述 现有技术在实现选环时是有缺陷的, 越丢包的几率就小得多。 可见上述现有 技术在实现选环时是有缺陷的, 越是各节点上流量不均匀的环, 上述现有技 术的缺陷就越明显。 The ring selection of the above RPR nodes only depends on the number of hops between the nodes, that is, when the number of hops that are different from the specified node is different, the direction of the hops is selected. This causes a problem: If the selected hop count is small but very congested, and the other loop hop count is large, but the link is idle, then there is no complete ring selection mechanism to ensure full utilization of the ring. The bandwidth advantage of the network may even lead to packet loss. As shown in Figure 3, the traffic from Router 1 to Router 3 is 0. After the hop count ring selection mechanism selects the 0 ring, the traffic is likely to be lost. If the traffic is 1 ring. If you don't go through any congested domains, the chances of losing packets are much smaller. It can be seen that the above prior art is defective in implementing ring selection, and the probability of losing packets is much smaller. It can be seen that the above prior art is defective in implementing ring selection, and the more the ring with uneven flow on each node, the more obvious the defects of the prior art described above.
发明内容 Summary of the invention
本发明解决的技术问题是避免现有技术仅仅依靠节点间跳数进行选环, 选环机制不完备, 不能充分利用现有环网的带宽优势甚至有可能导致丢包的 缺陷。 The technical problem to be solved by the present invention is to avoid the prior art that only relying on the number of hops between nodes to perform ring selection, the ring selection mechanism is incomplete, and the bandwidth advantage of the existing ring network cannot be fully utilized, and the defect of packet loss may be caused.
为解决上述问题, 本发明提供的一种弹性分组环的选环方法, 包括: a、确定弹性分组环中进行数据收发的源宿节点间各个可选环路的节点跳 数以及网络状态; In order to solve the above problem, the method for selecting a ring of an elastic packet ring includes: a. determining a node hop count and a network state of each optional loop between source and sink nodes for performing data transmission and reception in an elastic packet ring;
b、根据所述源宿节点间可选环路的节点跳数以及网络状态从所述可选环 路中选择确定收发数据的环路。 b. Select, according to the number of node hops of the optional loop between the source and sink nodes and the network state, select a loop for transmitting and receiving data from the optional loop.
可选地, 步骤 b包括- 确定各个可选环路节点跳数权重等级值以及网络状态权重等级值; 选择节点跳数权重等级值与网络状态权重等级值之和最高的环路作为收 发数据的环路。 Optionally, step b includes: determining each of the optional loop node hop weight level values and the network state weight level value; selecting a loop with the highest sum of the node hop weight level value and the network state weight level value as the data for transmitting and receiving data Loop.
其中, 所述环路的网络状态权重等级值至少包括拥塞状态权重等级值、 链路状态权重等级值、 流量状态权重等级值以及节点等级状态权重等级值之
其中, 所述网络状态权重等级值可按从高到低如下排列: The network state weight level value of the loop includes at least a congestion state weight level value, a link state weight level value, a traffic state weight level value, and a node level state weight level value. The network state weight level value may be ranked as follows:
拥塞状态权重等级值、 链路状态权重等级值、 流量状态权重等级值以及 节点等级状态权重等级值。 Congestion state weight class value, link state weight class value, traffic state weight class value, and node level state weight class value.
可选地, 步骤 b包括: Optionally, step b includes:
确定节点跳数最小的环路; Determine the loop with the smallest number of nodes hops;
检测所述节点跳数最小的环路网络状态是否达到要求, 若是, 选择所述 节点跳数最小的环路进行数据传送, 否则, 选择另一条网络状态较好的环路 进行数据传送。 Detecting whether the state of the loop network with the smallest hop count of the node meets the requirement. If yes, select the loop with the smallest hop count for data transmission; otherwise, select another loop with better network state for data transmission.
其中, 所述网络状态包括拥塞状态、 链路状态、 流量状态以及节点等级 状态; The network status includes a congestion status, a link status, a traffic status, and a node level status.
检测环路网络状态是否达到要求包括下述步骤: Detecting whether the loop network status meets the requirements includes the following steps:
确定节点跳数最小的环路对应拥塞状态权重等级值、 链路状态权重等级 值、 流量状态权重等级值以及节点等级状态权重等级值的各个网络状态权重 等级值之和; Determining a sum of a network state weight grading value corresponding to a congestion state weight grading value, a link state weight grading value, a traffic state weight grading value, and a node grading grading value;
判断所述节点跳数最小的环路上各个网络状态权重等级值之和是否达到 预定阈值, 若是, 判断所述节点跳数最小的环路上网络状态达到要求, 否则, 判断所述节点跳数最小的环路上网络状态没有达到要求。 Determining whether the sum of the network state weight grading values on the loop with the smallest hop count of the node reaches a predetermined threshold, and if so, determining that the network state on the loop with the smallest hop count reaches the requirement, otherwise, determining that the hop count of the node is the smallest The network status on the loop did not meet the requirements.
为解决上述问题, 本发明还提供一种弹性分组环中选环的系统, 其包括: 物理层, 包括构成弹性分组环的多个节点; 以及网络层, 其根据弹性分组环 中进行数据收发的源宿节点间各个可选环路的节点跳数以及网络状态, 选择 收发数据的环路。 In order to solve the above problems, the present invention further provides a system for ring selection in an elastic packet ring, comprising: a physical layer, including a plurality of nodes constituting an elastic packet ring; and a network layer, which is based on a source for data transmission and reception in the elastic packet ring Select the number of node hops and network status of each optional loop between the sink nodes, and select the loop for sending and receiving data.
与现有技术相比, 本发明具有以下有益效果: Compared with the prior art, the present invention has the following beneficial effects:
本发明在选环时首先确定弹性分组环中进行数据收发的源宿节点间各个 可选环路的节点跳数以及网络状态; 然后根据所述源宿节点间可选环路的节 点跳数以及网络状态从所述可选环路中选择确定收发数据的环路。 由于在选 环时充分考虑环路的网络状态, 从而使选环更加合理, 减少 RPR环网上的有 效带宽的浪费, 减少由于不同环向的网络状态不平衡而带来的问题。 When selecting a ring, the present invention first determines the number of node hops of each optional loop between the source and sink nodes in the resilient packet ring and the network state; and then according to the number of node hops of the optional loop between the source and sink nodes and The network status selects a loop from the optional loop that determines the data to be sent and received. Since the network state of the loop is fully considered in the ring selection, the ring selection is more reasonable, the waste of effective bandwidth on the RPR ring network is reduced, and the problem caused by the imbalance of network states in different loop directions is reduced.
附图说明 DRAWINGS
图 1是现有技术 RPR互逆双环拓扑结构示意图;
图 2是现有技术 RPR节点连接示意图; 1 is a schematic diagram of a prior art RPR reciprocal double loop topology; 2 is a schematic diagram of a connection of a prior art RPR node;
图 3是现有技术 RPR上进行选环的示意图; 3 is a schematic diagram of performing ring selection on a conventional RPR;
图 4是依照本发明第一实施例在 RPR上进行选环的流程图; 4 is a flow chart of performing ring selection on an RPR according to a first embodiment of the present invention;
图 5是依照本发明第二实施例在 RPR上进行选环的流程图。 Figure 5 is a flow chart showing ring selection on an RPR in accordance with a second embodiment of the present invention.
具体实施方式 detailed description
本发明的核心在于优化现有 RPR选环的机制, 增加选环决策点, 选环时 不仅考虑源宿节点间可选环路的节点跳数, 另外还考虑所述源宿节点间可选 环路的网络状态, 并可充分利用全网带宽, 减少不同环向的网络状态不平衡 而带来的问题, 增加选环机制的完备性和可靠性, 下面以具体实施例进行说 明。 The core of the present invention is to optimize the existing RPR ring selection mechanism and increase the ring selection decision point. When selecting a ring, not only the number of node hops of the optional loop between the source and sink nodes but also the optional ring between the source and sink nodes is considered. The network status of the road can fully utilize the bandwidth of the entire network, reduce the problems caused by the imbalance of network conditions in different loop directions, and increase the completeness and reliability of the ring selection mechanism. The following describes the specific embodiments.
本发明提供的弹性分组环中选环的系统至少包括物理层和网络层,其中, 物理层包括构成弹性分组环的多个节点, 网络层根据弹性分组环中进行数据 收发的源宿节点间各个可选环路的节点跳数以及网络状态, 选择收发数据的 环路。 应理解的是本发明提供的弹性分组环中选环的系统与现有系统结构相 同, 只是对网络层选环的条件进行了改变。 The system for selecting a ring in an elastic packet ring includes at least a physical layer and a network layer, where the physical layer includes a plurality of nodes constituting an elastic packet ring, and the network layer can respectively perform data transmission and reception between the source and sink nodes according to the elastic packet ring. Select the number of node hops of the loop and the network status, and select the loop for sending and receiving data. It should be understood that the system for selecting a ring in the elastic packet ring provided by the present invention has the same structure as the existing system, except that the conditions of the network layer ring selection are changed.
参考图 4,该图是依照本发明第一实施例的在 RPR上进行选环的流程图。 本实施例中为源宿节点间可选环路参数节点跳数和网络状态设置权重 值, 例如具体实现时, 根据下述网络状态决策点进行网络状态的决策- 拥塞域决策点 Referring to Figure 4, there is shown a flow chart for ring selection on an RPR in accordance with a first embodiment of the present invention. In this embodiment, the number of hops of the optional loop parameter node between the source and sink nodes and the network state are set. For example, in the specific implementation, the network state decision is made according to the following network state decision point - the congestion domain decision point
若当前选用的环向 (例如 0环) 上经检测出现了拥塞域, 而另外一个环 向 (例如 1环) 检测出没有拥塞, 选环机制应该把会经过拥塞域的流量切换 到没有拥塞域的环向上。 例如: 如图 3所示, 由 Router 1到 Router 3 的流在 缺省的选环机制是由跳数决定走 0环, 但是由于走 0环会经过拥塞域八, 检 测机制检测到这一点后就不选择 0环而选择 1环。 这样就避免了因经过拥塞 域导致丢包的可能。 If the current selected ring direction (for example, ring 0) is detected to have a congestion domain, and the other ring direction (for example, ring 1) detects no congestion, the ring selection mechanism should switch the traffic that passes through the congestion domain to the non-congested domain. The ring is up. For example, as shown in Figure 3, the default ring selection mechanism of the flow from Router 1 to Router 3 is determined by the number of hops to go through the 0 ring. However, since the 0 ring will pass through the congestion domain eight, the detection mechanism detects this. Select 1 ring without selecting 0 ring. This avoids the possibility of packet loss due to congestion.
链路状态决策点 Link state decision point
若在没有拥塞域存在的情况下, 如果到达同一节点的 0环和 1环的链路 状态差别很大时, 选择明显链路状态好的环向。 链路状态包括传输时延、 误 码率、 链路等级等。 所述链路等级为表示上一个节点到本节点之间链路的信
用度的一个数值。 If there is no congestion domain, if the link states of the 0 ring and the 1 ring that reach the same node are very different, select a good link with a good link state. Link status includes transmission delay, bit error rate, link level, and so on. The link level is a letter indicating a link between the previous node and the local node. A value of the degree.
流量统计决策点 Traffic statistics decision point
在没有拥塞域、 同时两个环的链路状态没有明显差异的情况下, 如果两 个环的流量差别很大时, 可在适当的时机选择流量小的环向。 例如某节点统 计出在 1环有 9.5G的流量而 0环只有 0.7G的流量, 可在适当的时机把流量 选择到 0环。 In the case where there is no congestion domain and there is no significant difference in the link state of the two loops, if the traffic of the two loops is very different, the loop with a small traffic flow can be selected at an appropriate timing. For example, a node has a flow rate of 9.5G in the 1st ring and only 0.7G in the 0 ring, and the traffic can be selected to the 0 ring at an appropriate timing.
节点等级决策点 Node level decision point
增加节点等级 (1一 255 ) 的概念, 节点等级越高节点的信用度越高。 在 选环时, 如果上述判断点不能准确判断选环情况时, 而不同的环向上经过节 点的节点等级差别很大时 (如走 0环有很多节点的 ClasS=255, 如走 1环有 很多节点的 ClasS= l, 则可根据等级选择 0环), 从而可以把节点等级作为选 环的一个判断点, 进行选环。 Increase the concept of node level (1 to 255). The higher the node level, the higher the credit rating of the node. In the ring selection, if the above judgment points cannot accurately determine the ring selection situation, and the different ring points pass through the nodes, the node levels are very different (for example, if there are many nodes in the 0 ring, Clas S = 255, such as walking 1 ring has Many nodes have Clas S = l, then 0 ring can be selected according to the level), so that the node level can be used as a judgment point of the ring selection to perform ring selection.
基于上述的决策点, 本发明可增加如下的相应网络状态权重等级值: 拥 塞状态权重等级值、 链路状态权重等级值、 流量状态权重等级值以及节点等 级状态权重等级值, 上述各个网络状态权重值是不一样的, 一般来说, 拥塞 域决策点权重值最高, 然后依次是链路状态权重等级值、 流量统计权重等级 值、 节点等级权重等级值。 选环决策时依靠各决策点决策出的权重值之和作 为选环的判定标准进行选环。 Based on the above decision points, the present invention may add corresponding network state weight level values as follows: a congestion state weight class value, a link state weight class value, a traffic state weight class value, and a node level state weight class value, each of the above network state weights The value is different. Generally speaking, the congestion domain decision point has the highest weight value, and then the link state weight level value, the traffic statistics weight level value, and the node level weight level value. In the ring selection decision, the sum of the weights determined by each decision point is used as the criterion for selecting the ring.
进行选环时, 本实施例中在步骤 11, 首先确定各个可选环路节点跳数权 重等级值以及网络状态权重等级值, 所述环路的网络状态权重等级值至少包 括拥塞状态权重等级值、 链路状态权重等级值、 流量状态权重等级值以及节 点等级状态权重等级值之一; 也就是说, 根据用户的实际需要, 所述环路的 网络状态权重等级值可以只包括其中一种权重等级值 (例如链路状态权重等 级值), 或者包括其中几种或全部权重等级值。 In the step of performing ring selection, in step 11, in step 11, first, each optional loop node hop weight level value and a network state weight level value are determined, and the network state weight level value of the loop includes at least a congestion state weight level value. One of the link state weight level value, the traffic state weight level value, and the node level state weight level value; that is, the network state weight level value of the loop may include only one of the weights according to the actual needs of the user. A gradation value (such as a link state weight grading value), or includes several or all of the weight grading values.
然后, 在步骤 12, 选择节点跳数权重等级值与网络状态权重等级值之和 最高的环路作为收发数据的环路, 这样在充分考虑了环路的网络状态后, 所 选环路更符合实际数据发送的需求。 Then, in step 12, the loop with the highest sum of the node hop weight level value and the network state weight level value is selected as the loop for transmitting and receiving data, so that after fully considering the network state of the loop, the selected loop is more consistent. The actual data transmission needs.
参考图 5, 本发明 RPR上进行选环的第二实施例的流程图。 Referring to Figure 5, a flow chart of a second embodiment of ring selection on the RPR of the present invention.
本实施例中选环时首先考虑节点跳数, 在所选的节点跳数最小的环路网
络状态达不到要求时, 则选择另一条网络状态较好的环路传送数据, 具体流 程如下: In this embodiment, when selecting a ring, first consider the number of node hops, and the loop network with the smallest hop count in the selected node. If the network status does not meet the requirements, select another loop with better network status to transmit data. The specific process is as follows:
步骤 21, 确定节点跳数最小的环路; Step 21: Determine a loop with the smallest number of hops of the node;
步骤 22, 检测所述节点跳数最小的环路网络状态是否达到要求; 参考前述说明, 本发明中网络状态可包括拥塞状态、 链路状态、 流量状 态以及节点等级状态, 具体检测环路网络状态是否达到要求主要通过下述方 法实现: Step 22: Detect whether the state of the loop network with the smallest hop count of the node meets the requirement. Referring to the foregoing description, the network state in the present invention may include a congestion state, a link state, a traffic state, and a node level state, and specifically detect a loop network state. Whether or not the requirements are met is mainly achieved by the following methods:
确定节点跳数最小的环路对应拥塞状态权重等级值、 链路状态权重等级 值、 流量状态权重等级值以及节点等级状态权重等级值的各个网络状态权重 等级值之和; Determining a sum of a network state weight grading value corresponding to a congestion state weight grading value, a link state weight grading value, a traffic state weight grading value, and a node grading grading value;
判断所述节点跳数最小的环路上各个网络状态权重等级值之和是否达到 预定阈值, 若是, 判断所述节点跳数最小的环路上网络状态达到要求, 否则, 判断所述节点跳数最小的环路上网络状态没有达到要求。 Determining whether the sum of the network state weight grading values on the loop with the smallest hop count of the node reaches a predetermined threshold, and if so, determining that the network state on the loop with the smallest hop count reaches the requirement, otherwise, determining that the hop count of the node is the smallest The network status on the loop did not meet the requirements.
步骤 23, 若所述节点跳数最小的环路的网络状态达到要求, 则选择所述 节点跳数最小的环路进行数据传送; Step 23: If the network state of the loop with the smallest hop count reaches the requirement, select the loop with the smallest hop count for data transmission;
步骤 24, 若所述节点跳数最小的环路的网络状态达到要求, 则选择另一 条网络状态较好的环路进行数据传送。 Step 24: If the network state of the loop with the smallest hop count reaches the requirement, another loop with a better network state is selected for data transmission.
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进和润 饰, 这些改进和润饰也应视为本发明的保护范围。
The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is considered as the scope of protection of the present invention.
Claims
1、 一种弹性分组环中选环的方法, 其特征在于, 包括: A method for selecting a ring in an elastic packet ring, comprising:
a、确定弹性分组环中进行数据收发的源宿节点间各个可选环路的节点跳 数以及网络状态; a. determining a node hop count and a network state of each optional loop between the source and sink nodes for transmitting and receiving data in the resilient packet ring;
b、根据所述源宿节点间可选环路的节点跳数以及网络状态从所述可选环 路中选择确定收发数据的环路。 b. Select, according to the number of node hops of the optional loop between the source and sink nodes and the network state, select a loop for transmitting and receiving data from the optional loop.
2、根据权利要求 1所述的弹性分组环中选环的方法, 其特征在于, 步骤 b 包括: The method of selecting a ring in an elastic packet ring according to claim 1, wherein the step b comprises:
确定各个可选环路节点跳数权重等级值以及网络状态权重等级值; 选择节点跳数权重等级值与网络状态权重等级值之和最高的环路作为收 发数据的环路。 Determining the value of each optional loop node hop weight level and the network status weight level value; selecting the loop with the highest sum of the node hop weight level value and the network state weight level value as the loop for transmitting and receiving data.
3、 根据权利要求 2所述的弹性分组环中选环的方法, 其特征在于, 所述 环路的网络状态权重等级值至少包括拥塞状态权重等级值、 链路状态权重等 级值、 流量状态权重等级值以及节点等级状态权重等级值之一。 The method for selecting a ring in an elastic packet ring according to claim 2, wherein the network state weight level value of the loop includes at least a congestion state weight level value, a link state weight level value, and a traffic state weight level. One of the value and the node level status weight level value.
4、 根据权利要求 3所述的弹性分组环中选环的方法, 其特征在于, 所述 网络状态权重等级值按从高到低如下排列: The method for selecting a ring in an elastic packet ring according to claim 3, wherein the network state weight level values are arranged from high to low as follows:
拥塞状态权重等级值、 链路状态权重等级值、 流量状态权重等级值以及 节点等级状态权重等级值。 Congestion state weight class value, link state weight class value, traffic state weight class value, and node level state weight class value.
5、根据权利要求 1所述的弹性分组环中选环的方法, 其特征在于, 步骤 b 包括: The method of selecting a ring in an elastic packet ring according to claim 1, wherein the step b comprises:
确定节点跳数最小的环路; Determine the loop with the smallest number of nodes hops;
检测所述节点跳数最小的环路网络状态是否达到要求, 若是, 选择所述 节点跳数最小的环路进行数据传送, 否则, 选择另一条网络状态较好的环路 进行数据传送。 Detecting whether the state of the loop network with the smallest hop count of the node meets the requirement. If yes, select the loop with the smallest hop count for data transmission; otherwise, select another loop with better network state for data transmission.
6、 根据权利要求 5所述的弹性分组环中选环的方法, 其特征在于, 所述 网络状态包括拥塞状态、 链路状态、 流量状态以及节点等级状态; The method for selecting a ring in an elastic packet ring according to claim 5, wherein the network state includes a congestion state, a link state, a traffic state, and a node level state;
检测环路网络状态是否达到要求包括下述步骤: Detecting whether the loop network status meets the requirements includes the following steps:
确定节点跳数最小的环路对应拥塞状态权重等级值、 链路状态权重等级
值、 流量状态权重等级值以及节点等级状态权重等级值的各个网络状态权重 等级值之和; Determining the minimum number of hops of the node corresponds to the congestion state weight level value and the link state weight level The sum of the value of each value of the network state weight class of the value, the traffic state weight class value, and the node class state weight class value;
判断所述节点跳数最小的环路上各个网络状态权重等级值之和是否达到 预定阈值, 若是, 判断所述节点跳数最小的环路上网络状态达到要求, 否则, 判断所述节点跳数最小的环路上网络状态没有达到要求。 Determining whether the sum of the network state weight grading values on the loop with the smallest hop count of the node reaches a predetermined threshold, and if so, determining that the network state on the loop with the smallest hop count reaches the requirement, otherwise, determining that the hop count of the node is the smallest The network status on the loop did not meet the requirements.
7、 一种弹性分组环中选环的系统, 其特征在于, 包括: 7. A system for ring selection in an elastic packet ring, characterized in that:
物理层, 包括构成弹性分组环的多个节点; 以及 a physical layer, including a plurality of nodes constituting an elastic packet ring;
网络层, 其根据弹性分组环中进行数据收发的源宿节点间各个可选环路 的节点跳数以及网络状态, 选择收发数据的环路。 The network layer selects a loop for transmitting and receiving data according to the number of node hops of each optional loop between the source and sink nodes for transmitting and receiving data in the resilient packet ring and the network state.
8、 根据权利要求 7所述的弹性分组环中选环的系统, 其中, 8. The system for ring selection in an elastic packet ring according to claim 7, wherein
该网络层选择节点跳数权重等级值与网络状态权重等级值之和最高的环 路作为收发数据的环路。 The network layer selects the loop with the highest sum of the node hop weight level value and the network state weight level value as a loop for transmitting and receiving data.
9、 根据权利要求 7所述的弹性分组环中选环的系统, 其中, 9. The system for ring selection in an elastic packet ring according to claim 7, wherein
如果节点跳数最小的环路网络状态达到要求, 则该网络层选择所述节点 跳数最小的环路进行数据传送, 否则, 选择另一条网络状态较好的环路进行 数据传送。
If the loop network state with the smallest number of node hops reaches the required level, the network layer selects the loop with the smallest hop count of the node for data transmission; otherwise, selects another loop with better network state for data transmission.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510100127.1 | 2005-09-28 | ||
CNA2005101001271A CN1859280A (en) | 2005-09-28 | 2005-09-28 | Method for selecting ring in resilient packet ring |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007036109A1 true WO2007036109A1 (en) | 2007-04-05 |
Family
ID=37298144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/001544 WO2007036109A1 (en) | 2005-09-28 | 2006-07-03 | A method for selecting the loop in the resilient packet ring and the system thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN1859280A (en) |
WO (1) | WO2007036109A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616080B (en) * | 2009-07-17 | 2011-06-22 | 北京星网锐捷网络技术有限公司 | Packet order preserving method of resilient packet ring, device and network equipment |
CN108322375B (en) * | 2017-12-27 | 2021-03-12 | 瑞斯康达科技发展股份有限公司 | Ethernet ring protection switching method, node and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567892A (en) * | 2003-06-20 | 2005-01-19 | 华为技术有限公司 | A method for implementing data service transmission routing |
CN1567891A (en) * | 2003-06-20 | 2005-01-19 | 华为技术有限公司 | A method for implementing data service transmission routing |
US20050030961A1 (en) * | 2002-11-18 | 2005-02-10 | Kang-Bok Lee | Ring selection method for dual ring network |
KR20050046272A (en) * | 2003-11-13 | 2005-05-18 | 한국전자통신연구원 | Method for deciding a optimal path in a rpr network |
-
2005
- 2005-09-28 CN CNA2005101001271A patent/CN1859280A/en active Pending
-
2006
- 2006-07-03 WO PCT/CN2006/001544 patent/WO2007036109A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050030961A1 (en) * | 2002-11-18 | 2005-02-10 | Kang-Bok Lee | Ring selection method for dual ring network |
CN1567892A (en) * | 2003-06-20 | 2005-01-19 | 华为技术有限公司 | A method for implementing data service transmission routing |
CN1567891A (en) * | 2003-06-20 | 2005-01-19 | 华为技术有限公司 | A method for implementing data service transmission routing |
KR20050046272A (en) * | 2003-11-13 | 2005-05-18 | 한국전자통신연구원 | Method for deciding a optimal path in a rpr network |
Also Published As
Publication number | Publication date |
---|---|
CN1859280A (en) | 2006-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7876673B2 (en) | Prevention of frame duplication in interconnected ring networks | |
JP5544440B2 (en) | Differential transfer in addressed carrier networks | |
US7619987B2 (en) | Node device | |
US6952397B2 (en) | Communication in a bidirectional ring network with single-direction receiving | |
JP4034782B2 (en) | Ring connection device and data transfer control method | |
CN100391191C (en) | Switch and method for rerouting traffic due to detection of failed link | |
US20050044211A1 (en) | Self-healing tree network | |
EP1619833A1 (en) | Load balancing in a virtual private network | |
JP2006005941A (en) | Method and apparatus for failure protection and recovery for each service in a packet network | |
JPWO2005027427A1 (en) | Node redundancy method, interface card, interface device, node device, and packet ring network system | |
WO2008089633A1 (en) | Method and apparatus for protecting ether ring net | |
US9641396B2 (en) | Packet processing method and system | |
CN1812300B (en) | Ring network connection control method, routing and switching equipment, and ring network system | |
US20080316919A1 (en) | Trunk interface in resilient packet ring, method and apparatus for realizing the trunk interface | |
CN101304380B (en) | Traffic transmission method of elastic packet loop and elastic packet loop node | |
WO2007140703A1 (en) | Method and apparatus of rsvp node interactive | |
Huynh et al. | Spanning tree elevation protocol: Enhancing metro Ethernet performance and QoS | |
WO2007036109A1 (en) | A method for selecting the loop in the resilient packet ring and the system thereof | |
CN109525492B (en) | IP data backup transmission method independent of routing protocol or algorithm | |
WO2014040422A1 (en) | Control method and device for medium access control address learning and route bridge | |
CN1788455A (en) | An Automatic Protection Switching Method | |
CN100426774C (en) | Ring-closure determining method and device for resilient packet ring | |
CN100493031C (en) | Realize Layer 2 and Layer 3 Compatible Elastic Packet Data Ring Uplink and Downloop Processing Methods | |
CN100407681C (en) | Method and apparatus for obtaining the highest state of protection for RPR | |
CN100393059C (en) | A Method for Determining the Default Ring of a Resilient Grouping Ring |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 06753088 Country of ref document: EP Kind code of ref document: A1 |