CN100450063C - Resilient packet ring multi-ring interconnection transmission method based on ring identification routing - Google Patents
Resilient packet ring multi-ring interconnection transmission method based on ring identification routing Download PDFInfo
- Publication number
- CN100450063C CN100450063C CNB200710019927XA CN200710019927A CN100450063C CN 100450063 C CN100450063 C CN 100450063C CN B200710019927X A CNB200710019927X A CN B200710019927XA CN 200710019927 A CN200710019927 A CN 200710019927A CN 100450063 C CN100450063 C CN 100450063C
- Authority
- CN
- China
- Prior art keywords
- ring
- grouping
- node
- rpr
- transannular
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
基于环标识路由的弹性分组环多环互连传输方法涉及一种在多个弹性分组环(Resilient Packet Ring,RPR)相切连接构成的网络中实现环间分组相互传输的方法,该方法具体如下:1)规定多环RPR网络中的子环之间通过相切互连,每个RPR子环分配一个不同的环标识号;2)多环RPR网络中传输的分组有两类:子环内传输的分组和跨环传输的分组;3)对跨环帧,在首部CRC之前插入长度可变的若干字节,作为扩展定义的“跨环控制”字段,并将分组当前所在子环中的交叉连接节点总数写入“TTL”字段;4)“跨环控制”字段第一个字节存放“跨环级数”,指明分组由当前所在子环到达目的节点所在子环需要跨过的子环个数,代表其网络生存时间。
The multi-ring interconnection transmission method of resilient packet rings based on ring identification routing involves a method for realizing inter-ring packet mutual transmission in a network composed of multiple resilient packet rings (Resilient Packet Ring, RPR) tangentially connected, the method is specifically as follows : 1) It is stipulated that the sub-rings in the multi-ring RPR network are tangentially interconnected, and each RPR sub-ring is assigned a different ring identification number; 2) There are two types of packets transmitted in the multi-ring RPR network: intra-sub-ring 3) For the cross-ring frame, several bytes of variable length are inserted before the header CRC as the "cross-ring control" field defined by the extension, and the current sub-ring where the packet is located The total number of cross-connect nodes is written into the "TTL"field; 4) The first byte of the "cross-ring control" field stores the "cross-ring series", indicating that the packet needs to cross the sub-ring from the current sub-ring to the destination node. The number of rings represents its network lifetime.
Description
技术领域 technical field
本发明涉及一种在多个弹性分组环(Resilient Packet Ring,RPR)相切连接构成的网络中实现环间分组相互传输的方法,属于通信与信息系统类网络传输技术领域。The invention relates to a method for realizing inter-ring packet mutual transmission in a network composed of multiple Resilient Packet Rings (Resilient Packet Ring, RPR) tangentially connected, and belongs to the technical field of communication and information system network transmission.
背景技术 Background technique
弹性分组环是一种城域网络的技术,目的在于采用一种全新的分组承载技术以优化环型拓扑上数据包的传输,它吸收了千兆以太网的经济性和SDH的可靠性,采用互逆双光纤传输环的拓扑结构,两根光纤外环顺时钟方向而内环逆时钟方向可以同时传送数据或控制分组,因此网络的带宽利用率有所提高。另外还采用空间重利用、自动保护倒换、自动拓扑发现、业务分级别服务以及带宽资源动态分配等新技术来提高环网的资源利用率。Elastic Packet Ring is a metropolitan area network technology aimed at optimizing the transmission of data packets on the ring topology by adopting a brand-new packet bearer technology. It absorbs the economy of Gigabit Ethernet and the reliability of SDH. The topology of the reciprocal dual optical fiber transmission ring, the outer ring of the two optical fibers clockwise and the inner ring counterclockwise can transmit data or control packets at the same time, so the bandwidth utilization of the network is improved. In addition, new technologies such as space reutilization, automatic protection switching, automatic topology discovery, business graded services, and dynamic allocation of bandwidth resources are used to improve the resource utilization of the ring network.
《IEEE Standards 802.17 Part 17:Resilient packet ring(RPR)accessmethod and physical layer specifications》RPR技术标准于2004年9月由IEEE802.17WG制定,是一种面向纯环(单环)网络传输,专为优化数据包传输而提出的新的MAC层协议。其应用仅局限在单环,无法实现跨环业务的端到端带宽共享、公平机制、QoS和保护功能。当环上节点增多时,纯环的结构将不利于带宽利用率的提高。因此,2004年10月IEEE802.17WG又出台了《IEEE Standards802.17a Media Access Control(MAC)Bridges Amendment 1:Bridging of IEEE802.17》对之前给出的MAC层协议给予补充,通过MAC层的桥接技术,将RPR数据桥接到其他RPR网络甚至其他IEEE 802系列的网络中,通过IEEE 802.1d生成树协议来实现数据帧的跨环传输。但由于此类桥接方案是通过在环网间以泛洪广播的方式进行寻址,每个节点都需要复制数据帧,这对网络将造成很大的负载,也将阻碍空间重利用技术优势的充分发挥。"IEEE Standards 802.17 Part 17: Resilient packet ring (RPR) accessmethod and physical layer specifications" RPR technical standard was formulated by IEEE802.17WG in September 2004. It is a pure ring (single ring) network transmission, designed to optimize data A new MAC layer protocol proposed for packet transmission. Its application is limited to a single ring, and it cannot realize the end-to-end bandwidth sharing, fair mechanism, QoS and protection functions of cross-ring services. When the number of nodes on the ring increases, the pure ring structure will not be conducive to the improvement of bandwidth utilization. Therefore, in October 2004, IEEE802.17WG issued "IEEE Standards802.17a Media Access Control (MAC) Bridges Amendment 1: Bridging of IEEE802.17" to supplement the previous MAC layer protocol. , bridge the RPR data to other RPR networks or even other IEEE 802 series networks, and realize the cross-ring transmission of data frames through the IEEE 802.1d spanning tree protocol. However, since this type of bridging scheme is addressed by flooding broadcasts between the ring networks, each node needs to copy data frames, which will cause a large load on the network and will also hinder the realization of the advantages of space reuse technology. fully use.
发明内容 Contents of the invention
技术问题:本发明的目的是提供一种基于环标识路由的弹性分组环多环互连传输方法,该方法通过用多个小规模的RPR子环相切连接,覆盖原先大规模的RPR环构成的多环RPR网络,来减小RPR纯环网络的规模,解决RPR纯环的平均分配带宽随节点数量增多而下降的问题,同时能够有效扩充RPR网络节点的总体数量,将RPR的应用向广域网和接入网推进。Technical problem: The purpose of the present invention is to provide a multi-ring interconnection transmission method based on ring identification routing, which covers the original large-scale RPR ring structure by using multiple small-scale RPR sub-rings for tangential connection The multi-ring RPR network can reduce the scale of the RPR pure ring network, solve the problem that the average allocated bandwidth of the RPR pure ring decreases with the increase of the number of nodes, and can effectively expand the overall number of RPR network nodes, and extend the application of RPR to the wide area network. and access network advancement.
技术方案:本发明提出一种基于环标识路由的多环RPR环间传输方法,给多环网络中的每个子环分配一个确定的环标识号;在兼容和支持标准RPR分组格式的条件下,对部分字段给予扩展定义,构成的跨环传输帧格式,仅通过第一个比特就可明确区分环内和环外分组,并可根据从源节点到目的节点需要跨过的子环的标识号,方便地实现数据的跨环传输,解决了多环RPR网络环间的二层寻址问题。Technical solution: The present invention proposes a multi-ring RPR inter-ring transmission method based on ring identification routing, assigning a definite ring identification number to each sub-ring in the multi-ring network; under the condition of being compatible and supporting the standard RPR packet format, Extended definitions are given to some fields to form a cross-ring transmission frame format. Only the first bit can clearly distinguish the ring and the outer group, and according to the identification number of the sub-ring that needs to be crossed from the source node to the destination node , conveniently realize cross-ring transmission of data, and solve the
本发明规定多环RPR网络中的子环之间通过相切互连,每个子环环内允许接入的节点总数比标准RPR的255个节点缩减一半,从而可以利用原标准帧中定义的8比特“TTL”字段的最高比特作为分组是否跨环传输的指示。同时定义多环互连网络中位于相切点上的节点为交叉连接节点,负责跨环帧的处理,实现跨环寻址和传输。其它节点为标准节点,负责RPR标准帧的处理,完成子环内标准RPR的传输和控制。对于每个节点来讲,检测经过的分组的首比特即可判断该分组是否需要跨环传输。若需要跨环传输,各标准节点可以不再对该分组作任何处理,直接直通发送。这样,在减小环内各标准节点负荷的同时,也能够提高分组的跨环传输性能。本发明通过扩展定义的“跨环控制”字段,利用倒序排列分组到达目的节点过程中需要经过的各个子环的环标识号,对环间传输的各个分组的路由给予描述,以较少的开销实现了分组在多个RPR环间的传输。The present invention stipulates that sub-rings in a multi-ring RPR network are tangentially interconnected, and the total number of nodes allowed to be accessed in each sub-ring ring is reduced by half compared with the 255 nodes of the standard RPR, so that the 8 nodes defined in the original standard frame can be used. The most significant bit of the "TTL" field serves as an indication of whether the packet is transmitted across the ring. At the same time, the nodes located at the tangent points in the multi-ring interconnection network are defined as cross-connection nodes, which are responsible for the processing of cross-ring frames and realize cross-ring addressing and transmission. The other nodes are standard nodes, responsible for the processing of RPR standard frames, and completing the transmission and control of standard RPR in the sub-ring. For each node, detecting the first bit of a passed packet can determine whether the packet needs to be transmitted across the ring. If cross-ring transmission is required, each standard node can directly send the packet without any processing. In this way, while reducing the load of each standard node in the ring, the cross-ring transmission performance of packets can also be improved. The present invention describes the route of each packet transmitted between the rings by extending the defined "cross-ring control" field, using the ring identification numbers of each sub-ring that needs to be passed through in the process of arranging the packets in reverse order to reach the destination node, with less overhead The transmission of packets between multiple RPR rings is realized.
本发明实现的关键技术如下:The key technology that the present invention realizes is as follows:
(1)规定多环RPR网络中的子环之间通过相切互连。每个RPR子环分配一个不同的环标识号。考虑网络规模的合理性,本发明取环标识为一字节,允许相切互连的子环数为255。本发明的方法同样适用于多字节环标识的网络。(1) It is stipulated that the sub-rings in the multi-ring RPR network are interconnected through tangency. Each RPR sub-ring is assigned a different ring identification number. Considering the rationality of the network scale, the present invention takes the ring identifier as one byte, and allows 255 tangentially interconnected sub-rings. The method of the present invention is also applicable to networks identified by multi-byte rings.
(2)多环RPR网络中传输的分组有两类:子环内传输的分组(以下简称环内分组)和跨环传输的分组(以下简称跨环分组);分组传输时以规定的格式(帧)出现;对跨环分组在RPR标准帧基础上进行兼容扩展定义,取其第一个比特作为跨环传输指示XI。XI=‘0’,该帧为标准帧,用于子环内部传输;XI=‘1’,表明该帧为扩展的跨环帧,用于跨环传输。(2) There are two types of packets transmitted in a multi-ring RPR network: packets transmitted within a sub-ring (hereinafter referred to as intra-ring packets) and packets transmitted across rings (hereinafter referred to as cross-ring packets); packets are transmitted in a specified format ( Frame) appears; the cross-ring packet is defined on the basis of the RPR standard frame for compatible expansion, and the first bit is taken as the cross-ring transmission indication XI. XI='0', the frame is a standard frame, used for internal sub-ring transmission; XI='1', indicates that the frame is an extended cross-ring frame, used for cross-ring transmission.
(3)对跨环传输的扩展帧,在首部CRC之前插入长度可变的若干字节,作为扩展定义的“跨环控制”字段。并将分组当前所在子环中的交叉连接节点总数写入“TTL”字段,防止错误帧在子环内形成死循环。只有交叉连接节点才处理跨环帧,因此将“跨环控制”字段插入RPR标准帧首部,以保持RPR寻址部分置于首部,与负荷无关的特点。这样在传输过程中,各节点仅需处理首部,重新计算首部的CRC,而不会涉及后面的负荷部分,因此可以明显缩短处理时间。(3) For the extended frame transmitted across the ring, several bytes of variable length are inserted before the header CRC as the "cross-ring control" field defined by the extension. And write the total number of cross-connection nodes in the sub-ring where the group currently resides into the "TTL" field, so as to prevent error frames from forming an infinite loop in the sub-ring. Only the cross-connect node processes the cross-ring frame, so the "cross-ring control" field is inserted into the header of the RPR standard frame to keep the RPR addressing part in the header and has nothing to do with the load. In this way, during the transmission process, each node only needs to process the header and recalculate the CRC of the header without involving the subsequent load part, so the processing time can be significantly shortened.
(4)“跨环控制”字段(见附图4)第一个字节存放“跨环级数”,指明分组由当前所在子环到达目的节点所在子环需要跨过的子环个数,代表其网络生存时间。“跨环控制”字段第二个字节开始为长度动态变化的环标识寻址路由,倒序排放分组到达目的节点过程中需要经过的各个子环的环标识号。倒序的目的是为了便于逐级剥离已通过的子环的标识号,当分组到达目的节点所在子环时,扩展帧的跨环控制部分将全部被剥离,分组恢复为RPR标准帧格式。(4) The first byte of the "cross-ring control" field (see accompanying drawing 4) stores the "cross-ring series", which indicates the number of sub-rings that the packet needs to cross to reach the sub-ring where the destination node is located from the current sub-ring, Represents its network lifetime. The second byte of the "cross-ring control" field starts to address the route for the ring ID whose length changes dynamically, and arranges the ring ID numbers of the sub-rings that the packet needs to pass through in the process of reaching the destination node in reverse order. The purpose of reverse order is to facilitate the step-by-step stripping of the identification numbers of sub-rings that have passed. When the packet reaches the sub-ring where the destination node is located, all the cross-ring control parts of the extended frame will be stripped, and the packet will return to the RPR standard frame format.
在上述基础上,实现一个分组的跨环传输的具体步骤如下:On the basis of the above, the specific steps to realize the cross-ring transmission of a packet are as follows:
第一步:节点收到一个分组,首先根据该分组的帧格式判断其是否为跨环分组,即判断该分组的第一个比特是否为“1”。是“1”,且节点为交叉连接节点,则转入第二步;节点为标准节点,则不作处理,直接转发。不是“1”,且节点为交叉连接节点,则不作处理,直接转发;节点为标准节点,则按照标准RPR方法处理,完成传输过程。Step 1: The node receives a packet, first judges whether it is a cross-ring packet according to the frame format of the packet, that is, judges whether the first bit of the packet is "1". If it is "1", and the node is a cross-connect node, then go to the second step; if the node is a standard node, it will not be processed and will be forwarded directly. If it is not "1" and the node is a cross-connect node, it will not be processed and forwarded directly; if the node is a standard node, it will be processed according to the standard RPR method to complete the transmission process.
第二步:判断分组的首部CRC是否正确,若不正确则丢弃该分组;若正确,进一步判断“TTL”值是否为“0”,若为“0”亦丢弃该分组;不为“0”,继续判断分组的“跨环级数”是否为“0”,若为“0”亦丢弃该分组,不为“0”,转入第三步。Step 2: Determine whether the header CRC of the packet is correct, and discard the packet if it is incorrect; if it is correct, further judge whether the "TTL" value is "0", and discard the packet if it is "0"; if it is not "0" , continue to judge whether the "cross-ring series" of the grouping is "0", if it is "0", the grouping is also discarded, if it is not "0", go to the third step.
第三步:判断当前寻址路由的环标识号(首部CRC前面一个字节)是否与本节点连接的下一个子环的标识号相同。若不相同,将“TTL”值减一,重新计算分组的首部CRC,在分组原传输的子环中按原传输方向转发分组;若相同,则转入第四步。Step 3: judging whether the ring identification number (one byte before the header CRC) of the currently addressed route is the same as the identification number of the next sub-ring connected to the current node. If they are not the same, subtract one from the "TTL" value, recalculate the header CRC of the packet, and forward the packet in the original transmission direction in the sub-ring where the packet was originally transmitted; if they are the same, go to the fourth step.
第四步:剥离当前寻址路由的环标识号(删除该字节),同时将“跨环级数”减一,并判断结果是否为“0”。若不为“0”,将下一个子环中的交叉连接节点总数写入“TTL”字段,转入第五步;若为“0”,则删除“跨环控制”字段,并由下一子环内的标准拓扑状态数据库查得“TTL”值,填入分组的第一个字节,同时将分组首比特置“0”,使其转变成RPR标准帧格式,然后转入第五步。Step 4: Strip the ring identification number of the current addressing route (delete this byte), decrease the "cross-ring series" by one, and judge whether the result is "0". If it is not "0", write the total number of cross-connect nodes in the next sub-ring into the "TTL" field, and go to the fifth step; if it is "0", delete the "Cross-ring control" field, and the next The standard topology state database in the sub-ring finds the "TTL" value, fills in the first byte of the packet, and at the same time sets the first bit of the packet to "0" to convert it into the RPR standard frame format, and then go to the fifth step .
第五步:重新计算分组的首部CRC,将分组送入与原传输子环相切的那一个子环,继续传输。如果分组的格式已成为RPR标准帧,则根据其首部的目的MAC地址,即可很方便地完成传输。Step 5: recalculate the header CRC of the packet, send the packet to the sub-ring tangent to the original transmission sub-ring, and continue the transmission. If the format of the packet has become the RPR standard frame, the transmission can be conveniently completed according to the destination MAC address of the header.
附图说明 Description of drawings
图1是一个6子环相切互连成的多环RPR网络。Figure 1 is a multi-ring RPR network composed of 6 sub-rings tangentially interconnected.
图2(a)是标准RPR“环控制”字段,图2(b)是本发明提出的“环控制”字段。Fig. 2(a) is the standard RPR "ring control" field, and Fig. 2(b) is the "ring control" field proposed by the present invention.
图3是扩展定义的RPR跨环传输帧格式。Figure 3 is the extended definition of the RPR cross-ring transmission frame format.
图4是对环标识寻址的RPR跨环传输帧格式首部的描述。Fig. 4 is a description of the format header of the RPR cross-ring transmission frame addressing the ring identifier.
图5是对环标识寻址的RPR跨环传输过程中“跨环控制”字段变化情况的描述。Fig. 5 is a description of the change of the "cross-ring control" field during the cross-ring transmission process of the RPR addressed by the ring identifier.
具体实施方式 Detailed ways
图1是一个6子环相切互连成的多环RPR网络。每个子环有一个环标识号,如图中的子环1、2、……、6;同时连接两个子环的节点为交叉连接节点,如图所示;其它节点为标准RPR节点。Figure 1 is a multi-ring RPR network composed of 6 sub-rings tangentially interconnected. Each subring has a ring identification number, such as
图2(a)是标准RPR“环控制”字段,图2(b)是本发明提出的“环控制”字段,两者的区别在“TTL”字段,标准的是8比特,本发明则用了其中7比特,最高1比特扩展定义为跨环指示XI,且当XI=1时,该字段为跨环帧当前子环内生存时间,其数值为子环内的交叉连接节点总数。Fig. 2 (a) is standard RPR " ring control " field, and Fig. 2 (b) is " ring control " field that the present invention proposes, both difference is in " TTL " field, and standard is 8 bits, and the present invention then uses Among them, 7 bits are included, and the highest 1 bit is defined as cross-ring indication XI, and when XI=1, this field is the survival time in the current sub-ring of the cross-ring frame, and its value is the total number of cross-connection nodes in the sub-ring.
图3是扩展定义的RPR跨环传输帧格式,其中环控制的最高比特为“1”,且在首部CRC之前插入长度可变的若干字节,作为“跨环控制”字段。将“跨环控制”字段插入首部,可以保持RPR寻址部分置于首部,与负荷无关的特点。这样在传输过程中,各节点仅需处理首部,重新计算首部的CRC,而不会涉及后面的负荷部分,因此可以明显缩短处理时间。Figure 3 is an extended definition of the RPR cross-ring transmission frame format, in which the highest bit of the ring control is "1", and several bytes of variable length are inserted before the header CRC as the "cross-ring control" field. Inserting the "cross-ring control" field into the header can keep the feature that the RPR addressing part is placed in the header and has nothing to do with the load. In this way, during the transmission process, each node only needs to process the header and recalculate the CRC of the header without involving the subsequent load part, so the processing time can be significantly shortened.
图4是对环标识寻址的RPR跨环传输帧格式首部的描述,给出当分组由子环5中的节点6传输到子环4中的节点5时,跨环传输帧格式首部的具体形式。Figure 4 is a description of the header of the RPR cross-ring transmission frame format addressed by the ring identifier, and shows the specific form of the cross-ring transmission frame format header when a packet is transmitted from
图5是对环标识寻址的RPR跨环传输过程中“跨环控制”字段变化情况的描述,给出当分组由子环5中的节点6传输到子环4中的节点5时,“跨环控制”字段的具体变化过程。Figure 5 is a description of the change of the "cross-ring control" field during the RPR cross-ring transmission process of ring ID addressing. It shows that when a packet is transmitted from
本发明规定一个多环RPR网络是由多个相切互连的子环构成,如图1所示。每个RPR环上的节点均有标准节点和交叉连接节点之分。标准节点可以实现数据帧的上环、下环、转发、丢弃,而交叉连接节点不产生数据帧,只完成数据帧的转发和丢弃操作。交叉连接节点可以包括两个MAC模块,分属于两个相切的子环,背对背相接,以便在节点内部实现数据的交换。在多环网络自动拓扑发现的过程中,每个交叉连接节点的两个MAC模块分别先完成各自所属环内标准RPR的拓扑发现,产生环内的标准拓扑状态数据库,然后参与跨环自动拓扑发现。跨环自动拓扑发现机制主要是为了帮助建立在多环环间传输的环标识路由。在此过程中,交叉连接节点中的两个MAC模块分别记录各自所属环方向上的所有能够触及到的网络部分的拓扑状态,并实现相互之间的信息共享,以较少的开销实现网络全局的拓扑信息搜集。The present invention stipulates that a multi-ring RPR network is composed of multiple tangentially interconnected sub-rings, as shown in FIG. 1 . The nodes on each RPR ring are divided into standard nodes and cross-connect nodes. The standard node can implement ring-up, ring-down, forwarding, and discarding of data frames, while the cross-connect node does not generate data frames, but only completes the forwarding and discarding operations of data frames. The cross-connect node may include two MAC modules, which belong to two tangent sub-rings and are connected back-to-back, so as to realize data exchange inside the node. In the process of automatic topology discovery in a multi-ring network, the two MAC modules of each cross-connect node first complete the topology discovery of the standard RPR in their respective rings, generate a standard topology state database in the ring, and then participate in cross-ring automatic topology discovery . The cross-ring automatic topology discovery mechanism is mainly to help establish the ring identification route transmitted between multiple rings. During this process, the two MAC modules in the cross-connect node respectively record the topology status of all reachable network parts in the direction of the ring to which they belong, and realize information sharing among each other, realizing network globalization with less overhead Topological information collection.
本发明将RPR环网单环的规模进行压缩,每个RPR子环中的节点数目不超过128个,因此原标准帧中定义的8比特“TTL”字段的最高比特,也即整个分组的最高比特总是‘0’,可硬件默认按照‘0’执行。本发明则利用该比特作为分组是否跨环传输的指示XI(XI=‘0’表示该帧无需跨环传输,XI=‘1’则表示该帧的目的节点不在本环),对环内和跨环传输的分组在每个分组的首比特给予明确的区分。从而对于每个节点来讲,其上经过的每个分组的首比特即指明该分组的目的节点是否在环内,若该比特为‘1’,各普通节点可以不再对该分组作任何处理,直接直通发送,这样,在减小环内各普通节点负荷的同时,也能够提高分组的传输性能。而对于其他寻址相关信息,则在标准RPR帧的“首部CRC”字段前插入若干字节,定义为“跨环控制”字段给予描述。显然,由于扩展的跨环帧在首比特即有指示,普通节点只需简单转发,只有交叉连接节点才处理“跨环控制”字段。因此,环间传输的分组在帧格式上保持了与RPR标准帧的兼容性。The present invention compresses the single-ring scale of the RPR ring network, and the number of nodes in each RPR sub-ring does not exceed 128. Therefore, the highest bit of the 8-bit "TTL" field defined in the original standard frame is also the highest bit of the entire packet. The bit is always '0', but the hardware executes as '0' by default. The present invention then utilizes this bit as the indication XI of grouping whether cross-ring transmission (XI='0' represents that this frame does not need to cross-ring transmission, and XI='1' represents that the destination node of this frame is not in this ring), to ring and Packets transmitted across the ring are clearly distinguished in the first bit of each packet. Therefore, for each node, the first bit of each packet passed on it indicates whether the destination node of the packet is in the ring, if the bit is '1', each ordinary node can no longer do any processing on the packet , direct direct transmission, so that while reducing the load of each common node in the ring, the transmission performance of the packet can also be improved. For other addressing-related information, several bytes are inserted before the "header CRC" field of the standard RPR frame, which is defined as the "cross-ring control" field for description. Apparently, since the first bit of the extended cross-ring frame is indicated, common nodes only need to simply forward, and only cross-connect nodes process the "cross-ring control" field. Therefore, the frame format of the packets transmitted between the rings maintains compatibility with the RPR standard frame.
图2(a)和(b)所示分别给出标准RPR“环控制”字段和本文提出的“环控制”字段的定义。两者的区别在“TTL”字段,标准的是8比特,本发明则用了其中7比特,最高1比特扩展定义为跨环指示XI,且当XI=1时,该字段为跨环帧子环内生存时间,其数值为子环内的交叉连接节点总数。每经过一个交叉连接节点,跨环帧子环内生存时间减一。当收到的跨环帧“TTL”字段为零时,即予以丢弃,从而避免了错误帧在子环内形成“死循环”。Figure 2 (a) and (b) show the definitions of the standard RPR "ring control" field and the "ring control" field proposed in this paper, respectively. The difference between the two is in the "TTL" field, the standard is 8 bits, and the present invention uses 7 bits, and the highest 1 bit is extended and defined as the cross-ring indication XI, and when XI=1, this field is the cross-ring frame sub In-ring survival time, its value is the total number of cross-connect nodes in the sub-ring. Every time a cross-connection node is passed, the survival time in the sub-ring of the cross-ring frame is reduced by one. When the "TTL" field of the received cross-ring frame is zero, it is discarded, thus avoiding the formation of an "infinite loop" of error frames in the sub-ring.
本发明采用一个8bit字段描述环的标识号,这样的定义能够实现255个RPR环互连(“0”标识号保留,作为交叉连接节点的一端无相切环指示)。跨环传输数据的路由采用源节点MAC地址、途中跨过各环的环标识号、目的节点的所在环标识号以及目的节点MAC地址来描述,有关该路由的描述在“跨环控制”字段给出。基于环标识寻址的RPR跨环传输分组中“跨环控制”字段定义如下:首字节作为“跨环级数”指示,用来描述该帧从当前环传送到目标环需要跨过的环的级数。其后m字节的“环标识路由”字段用来描述该帧从源节点所在环依次按照倒序排列向目的节点所在环传输需经过的所有环的环标识号(如图3所示)。这样,跨环帧在进入一个新的环之后,即将跨环级数减1,当跨环级数减为0,仍未到达其目的节点,即认为该帧为无效帧,作丢弃处理。The present invention uses an 8-bit field to describe the identification number of the ring, and such a definition can realize the interconnection of 255 RPR rings (the identification number "0" is reserved, and there is no tangent ring indication at one end of the cross-connection node). The route of data transmission across rings is described by the MAC address of the source node, the ring identification number that crosses the rings on the way, the ring identification number of the destination node, and the MAC address of the destination node. The description of the route is given in the "cross-ring control" field. out. The "cross-ring control" field in the RPR cross-ring transmission packet based on ring identifier addressing is defined as follows: the first byte is used as the "cross-ring series" indication, which is used to describe the ring that the frame needs to cross when it is transmitted from the current ring to the target ring of series. The "Ring Identification Route" field of m bytes thereafter is used to describe the ring identification numbers of all the rings that the frame needs to pass through from the ring where the source node is located to the ring where the destination node is transmitted in reverse order (as shown in Figure 3). In this way, after the cross-ring frame enters a new ring, the cross-ring series number is reduced by 1. When the cross-ring series number is reduced to 0, but the destination node has not yet been reached, the frame is deemed invalid and discarded.
每当跨环帧进入一个新的子环时,入口的交叉连接节点应该取下其首部字段,重新产生首部字段,其中更新的字段是“环控制”、“跨环级数”、“环标识路由”以及“首部CRC”字段。可以看出,将“跨环控制”字段加在首部CRC之前,更新首部字段只需要重新计算首部CRC,而不需要处理其后的有效负荷,因而大大减轻了各节点的处理负荷,更加有利于提高环网的传输性能。Whenever a cross-ring frame enters a new sub-ring, the entry cross-connect node should remove its header field and regenerate the header field, where the updated fields are "ring control", "cross-ring series", "ring identification Routing" and "Header CRC" fields. It can be seen that adding the "cross-ring control" field before the header CRC, updating the header field only needs to recalculate the header CRC, without processing the subsequent payload, thus greatly reducing the processing load of each node, which is more conducive to Improve the transmission performance of the ring network.
例如,在图1所述的6个子环相切互连构成的多环RPR网络中,某分组需要从子环5中的节点6传送至子环4中的节点5,其分组的帧格式首部如图4所示。其中,XI=1,TTL=2,按十六进制的格式,目的MAC地址为00-10-A4-97-A8-DE,源MAC地址为00-10-A4-96-A8-AF;其环标识路由为(子环5)→(子环1)→(子环2)→(子环4),亦即整个分组需要跨过3个环,故“跨环级数=3,该分组传输过程中的“跨环控制”字段的变化如图5所示。当该分组在子环5中时,“跨环级数”为3,由“跨环级数”字段向后偏移3,得到该分组的下一个目标环的环标识号为‘1’。而该分组在子环5中的路由为(节点6)→(节点5)→(节点4)。当分组到达节点5时,由于是交叉连接节点,它将处理分组首部。首先将TTL减一,然后找到下一个目标环的环标识号,与自己连接的相切环标识号比较,结果不相同,于是转到节点4。节点4同样先将TTL减一,然后找到下一个目标环的环标识号,与自己连接的相切环标识号比较,结果相同,于是将分组转到子环1中继续传输。如果分组的下一个目标环的环标识号出错,节点4的比较结果也不相同,该分组就继续在子环5中传输,经过节点3、2、1、6,这些节点都是标准节点,不处理跨环分组,于是分组回到节点5。节点5发现TTL值已经为“0”,于是丢弃该分组,避免了其在子环中无限循环下去。如果分组在子环5中的路由选择的是(节点6)→(节点1)→(节点2)→(节点3)→(节点4),由于节点6、1、2、3都是标准节点,不处理跨环分组,于是分组很快到达节点4。因此通过子环5中任意一个节点均可确定该分组应该从节点4出环。For example, in the multi-ring RPR network composed of 6 sub-rings tangentially interconnected as shown in Figure 1, a certain packet needs to be transmitted from
分组在节点4出环前,还要将分组首部的“跨环级数”减一,并删除环标识号1,然后转交给子环1的节点1。子环1的节点1与子环5的节点4是处于同一个交叉连接节点的两个背靠背连接的MAC。当该分组转到子环1节点1之后,它仅需要将子环1的交叉连接节点总数2写入“TTL”字段,并且确定分组在子环1中的转发路由(内环或外环),在本例中两边的路径相等,因而会根据带宽的利用情况确定转发方向。于是分组可以被转发到子环1的节点4中处理,这时“跨环级数”为2,偏移2得到该分组的下一个目标环标识号为2。如此下去,该分组即可到达目标节点所在子环4。在子环4的节点3,置XI=0,清空“跨环控制”字段,同时根据目的MAC地址,确定RI=0,TTL=1,分组在帧格式上与标准RPR完全相同,最终被顺利传送至目的节点。Before the packet leaves the ring at
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200710019927XA CN100450063C (en) | 2007-02-02 | 2007-02-02 | Resilient packet ring multi-ring interconnection transmission method based on ring identification routing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200710019927XA CN100450063C (en) | 2007-02-02 | 2007-02-02 | Resilient packet ring multi-ring interconnection transmission method based on ring identification routing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101013991A CN101013991A (en) | 2007-08-08 |
| CN100450063C true CN100450063C (en) | 2009-01-07 |
Family
ID=38701284
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB200710019927XA Expired - Fee Related CN100450063C (en) | 2007-02-02 | 2007-02-02 | Resilient packet ring multi-ring interconnection transmission method based on ring identification routing |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100450063C (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101771593B (en) * | 2008-12-29 | 2011-11-09 | 迈普通信技术股份有限公司 | Ethernet ring network interconnecting method |
| CN102215123B (en) * | 2011-06-07 | 2013-10-30 | 南京邮电大学 | Multi-ring-network-topology-structure-based large-scale trunking system |
| CN106452874B (en) * | 2016-10-18 | 2019-09-24 | 北京东土科技股份有限公司 | Ring ID generation method and network system |
| CN114978804A (en) * | 2021-02-26 | 2022-08-30 | 华为技术有限公司 | Method and communication device for transmitting data |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030117946A1 (en) * | 2001-12-26 | 2003-06-26 | Alcatel | Method to protect RPR networks of extended topology, in particular RPR ring-to-ring and meshed backbone networks, and relating RPR network |
| CN1547359A (en) * | 2003-12-09 | 2004-11-17 | 上海交通大学 | Realization Method of Automatic Topology Discovery in Resilient Packet Multi-Ring Interconnection Network |
| CN1547362A (en) * | 2003-12-09 | 2004-11-17 | 上海交通大学 | Multi-ring Interconnection Transmission Method for Resilient Packet Ring Network |
| CN1671122A (en) * | 2004-03-19 | 2005-09-21 | 港湾网络有限公司 | Method for implementing message forwarding along RPR ring and RPR network |
| CN1767491A (en) * | 2004-10-26 | 2006-05-03 | 中兴通讯股份有限公司 | Tangent ring bridge method for RPR |
| JP2006262169A (en) * | 2005-03-17 | 2006-09-28 | Fujitsu Ltd | Ring connection method and apparatus |
-
2007
- 2007-02-02 CN CNB200710019927XA patent/CN100450063C/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030117946A1 (en) * | 2001-12-26 | 2003-06-26 | Alcatel | Method to protect RPR networks of extended topology, in particular RPR ring-to-ring and meshed backbone networks, and relating RPR network |
| CN1547359A (en) * | 2003-12-09 | 2004-11-17 | 上海交通大学 | Realization Method of Automatic Topology Discovery in Resilient Packet Multi-Ring Interconnection Network |
| CN1547362A (en) * | 2003-12-09 | 2004-11-17 | 上海交通大学 | Multi-ring Interconnection Transmission Method for Resilient Packet Ring Network |
| CN1671122A (en) * | 2004-03-19 | 2005-09-21 | 港湾网络有限公司 | Method for implementing message forwarding along RPR ring and RPR network |
| CN1767491A (en) * | 2004-10-26 | 2006-05-03 | 中兴通讯股份有限公司 | Tangent ring bridge method for RPR |
| JP2006262169A (en) * | 2005-03-17 | 2006-09-28 | Fujitsu Ltd | Ring connection method and apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101013991A (en) | 2007-08-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4663643B2 (en) | Method and apparatus for transferring packets in an Ethernet passive optical network | |
| CN101326791B (en) | Method and network for controlling Provider Backbone Transport (PBT) with Genreralized Multi-protocol Label Switching (GMPLS) | |
| CN100547982C (en) | Method and node for realizing end-to-end connection between RPR network and MPLS network | |
| JP2003229876A (en) | Method for controlling multi-ring, node using the method, and control program | |
| WO2006039865A1 (en) | A method for implementing topology structure automatic discovery in the mpls ring network | |
| WO2005055548A1 (en) | A method for realizing the pseudo wire emulation edge-to-edge protocol | |
| JP4676528B2 (en) | RPR ring network on / off ring processing, data transfer method and network equipment thereof | |
| US20030174715A1 (en) | Frame transfer method and frame transfer device | |
| CN113285878A (en) | Load sharing method and first network device | |
| CN1264317C (en) | Method for multi-ring interconnection transmission of resilient packet ring network | |
| CN100450063C (en) | Resilient packet ring multi-ring interconnection transmission method based on ring identification routing | |
| US20080316919A1 (en) | Trunk interface in resilient packet ring, method and apparatus for realizing the trunk interface | |
| CN100337453C (en) | Method for implementing message forwarding along RPR ring and RPR network | |
| US7733811B2 (en) | Method and system for bridging traffic in a resilient packet ring network | |
| CN101106516A (en) | Intersect node and method for avoiding broadcast storm of elastic group intersect ring | |
| CN100508475C (en) | Method for transmitting multiple services, node device and multi-service transmission platform | |
| CN1321512C (en) | Method of managing a communication network comprising wireless links of more than two wireless devices | |
| US7145916B2 (en) | Full multicast connectivity over SONET | |
| CN115604054A (en) | Method and equipment for forwarding message by common link of resilient packet ring | |
| CN100493031C (en) | Realize Layer 2 and Layer 3 Compatible Elastic Packet Data Ring Uplink and Downloop Processing Methods | |
| CN100349441C (en) | Device and method for realizing RPR looped network interconnection based on multi service transmission platform | |
| CN116599794B (en) | A method and device for implementing leased line forwarding within a ring network | |
| JPH1093637A (en) | Routing method for network connection equipment | |
| JP2923921B1 (en) | Packet transfer method | |
| CN100370778C (en) | Method for Transporting Service in Resilient Packet Ring Network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090107 Termination date: 20120202 |