CN101656649A - RPR station, method for sending and receiving data to and from RPR loop network - Google Patents

RPR station, method for sending and receiving data to and from RPR loop network Download PDF

Info

Publication number
CN101656649A
CN101656649A CN200910092902A CN200910092902A CN101656649A CN 101656649 A CN101656649 A CN 101656649A CN 200910092902 A CN200910092902 A CN 200910092902A CN 200910092902 A CN200910092902 A CN 200910092902A CN 101656649 A CN101656649 A CN 101656649A
Authority
CN
China
Prior art keywords
rpr
ethernet
message
service processing
looped network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910092902A
Other languages
Chinese (zh)
Other versions
CN101656649B (en
Inventor
江智彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhigu Tech Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2009100929021A priority Critical patent/CN101656649B/en
Publication of CN101656649A publication Critical patent/CN101656649A/en
Application granted granted Critical
Publication of CN101656649B publication Critical patent/CN101656649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a RPR station, a method for sending and receiving data to and from a RPR loop network. The RPR station includes an Ethernet two-layer service processing module with a plurality of RPR look network side interfaces, a RPR service processing module with a plurality of Ethernet side interfaces corresponding with the plurality of RPR look network side interfaces, and a RPR look MAC module connected with the RPR service processing module; wherein a plurality of Ethernet channels are formed between the plurality of RPR look network side interfaces and the correspondingEthernet side interfaces, and Ethernet packets are transmitted between the Ethernet two-layer service processing module and the RPR service processing module through the plurality of Ethernet channels. By means of setting the plurality of Ethernet channels between the Ethernet two-layer service processing module and the RPR service processing module, the invention implements that the Ethernet transmission bandwidth is equal to or more than that of the RPR look network, such that the data transmission bandwidth between the RPR look network and the local network communication is improved.

Description

The RPR website, send data and receive the method for data to the RPR looped network
Technical field
The present invention relates to RPR looped network data transmission technology, particularly a kind of RPR website, send data and receive the method for data, belong to communication technical field to the RPR looped network.
Background technology
Resilient Packet Ring (Resilient Packet Ring; be called for short RPR) be: in conjunction with SDH (Synchronous Digital Hierarchy) (Synchronous Digital Hierarchy; be called for short SDH)/synchronous optical network (SynchronousOptical Network; be called for short SONET) protection mechanism of looped network and the validity of Ethernet data message transmission; and a kind of novel medium access control that produces (Media Access Control is called for short MAC) agreement.SDH/SONET looped network and Ethernet all provide effective physical layer (one deck) transmission, and RPR is a kind of MAC (two layers) agreement that is independent of physical layer, and its physical layer can be the SDH/SONET looped network, also can be Ethernet.As seen, the RPR looped network can be structured on the transmission technology network foundation of SDH/SONET looped network, also can be implemented on the Ethernet transmission technology basis.In addition, the bandwidth that the RPR looped network has the fastext recovery capability of SDH/SONET looped network and Ethernet concurrently is used the characteristics of validity, in addition, also has the whole network balanced bandwidth mechanism.
Fig. 1 is the structural representation of RPR looped network of the prior art.As shown in Figure 1,6 RPR websites, i.e. S1-S6 are arranged.Connect by rpr interface between adjacent RPR website, form a loop network.Each rpr interface all has reception and transmitting line, but therefore forms the RPR looped network of transmitted in both directions as shown in Figure 1.Usually, outer shroud is expressed as clockwise direction, is also referred to as ring 0; Interior ring is expressed as counterclockwise being also referred to as ring 1.Each RPR website can a plurality of local networks of following company (Local Area Network is called for short LAN), as shown in Figure 1, are example to connect a LAN under each RPR website in the present embodiment, are respectively LAN1-LAN6.The interface shape that equipment among the LAN inserts the RPR website in the RPR looped network can be an Ethernet, but is not limited to Ethernet, perhaps can be other any type of interfaces.
Fig. 2 is the decomposition texture schematic diagram that the LAN in the RPR looped network shown in Figure 1 inserts the RPR website.As shown in Figure 2, comprising local network device, is ethernet device, Ethernet two layer service processing modules, RPR Service Processing Module and RPR ring MAC module in this example.Ethernet device is used for sending the Ethernet message to Ethernet, and receives the Ethernet message that Ethernet sends.As PC (PC) access network based on ethernet commonly used, and carry out data communication by Ethernet.Ethernet two layer service processing modules, major function is according to the MAC Address of Ethernet message and virtual lan (Virtual LAN, be called for short VLAN) sign (being called for short VID) etc., carry out message forwarding to handle, as between ethernet device and RPR looped network or ethernet device between message transmit.These Ethernet two layer service processing modules adopt special integrated chip to realize usually, in the various forwardings of supporting finishing and function of exchange, can also reach the performance that linear speed is handled.RPR Service Processing Module, major function are 1) the next Ethernet message of Ethernet two layer service processing modules forwarding is packaged into the transmission of RPR message, operate through RPR choosing ring, send on the interior ring or outer shroud of RPR looped network; 2) will dress up the Ethernet message from the RPR message deblocking that the RPR looped network receives, send to Ethernet two layer service processing modules; 3) other RPR Business Processing etc.Wherein the RPR choosing encircles, and major function is according to RPR choosing ring strategy, and decision-making and definite RPR message that will send from which RPR ring send, and are the parts of RPR Service Processing Module.RPR ring MAC module, major function is data transmit-receive and the forwarding of handling on the RPR looped network, sends to the transport behavior on the ring of RPR looped network, by the packaging information decision of RPR Service Processing Module, and is carried out by RPR ring MAC module.RPR ring MAC module also can adopt special integrated chip, has the linear speed handling property.
At present, the speed of RPR looped network has: these are several for 155Mbps, 622Mbps, 1Gbps, 2.5Gbps, 10Gbps.The RPR looped network is a twin nuclei, and two rings can carry out the transmission of data simultaneously, and therefore, the linear speed bandwidth of RPR looped network corresponds to: 311Mbps, 1.244Gbps, 2Gbps, 5Gbps, 20Gbps.Make the maximum bandwidth of the transfer of data between local network and RPR looped network reach the total bandwidth of RPR looped network, as shown in Figure 2, the Ethernet two layer service processing modules flow that is connected the Ethernet message that is carried with Ethernet between the RPR Service Processing Module is also wanted and can be reached respectively: 311Mbps, 1.244Gbps, 2Gbps, 5Gbps, 20Gbps.But see that with present technical scheme common Ethernet connects bandwidth to be had: these 4 kinds of 10Mbps, 100Mbps, 1Gbps, 10Gbps.So, for the speed of the RPR looped network of 155M, the dicyclo total bandwidth is 311Mbps, and the Ethernet of one road 1Gbps connects and can satisfy the demands.For the speed of the RPR looped network of 622M, the dicyclo total bandwidth is 1.244Gbps, and the Ethernet of one road 10Gbps connects and can satisfy the demands.For the speed of the RPR looped network of 1G, the dicyclo total bandwidth is 2Gbps, and the Ethernet of one road 10Gbps connects and can satisfy the demands.For the speed of the RPR looped network of 2.5G, the dicyclo total bandwidth is 5Gbps, and the Ethernet of one road 10Gbps connects and can satisfy the demands.For the speed of the RPR looped network of 10G, the dicyclo total bandwidth is 20Gbps, and one road at present common Ethernet connects and just can not satisfy the demands.
In theory, can adopt the Ethernet of higher rate to connect, but the raising of communication interface bandwidth can be applied on RPR looped network and the Ethernet simultaneously, so existing Ethernet connects bandwidth, always become bottleneck with the RPR looped network efficient communication of dicyclo.
On the other hand, as shown in Figure 2, Ethernet two layer service processing modules and RPR ring MAC module can adopt the dedicated processes chip, can both reach linear speed and handle on data processing performance; And RPR Service Processing Module of the prior art, the mode that usually also is to use processor to add software programming realizes data processing, processing speed is slow, the load burden is big, be the data processing performance bottleneck place during the RPR looped network is used.
Summary of the invention
The purpose of this invention is to provide a kind of RPR website, send data and receive the method for data, to improve the RPR looped network and data transfer bandwidth and data processing performance during local network is communicated by letter to the RPR looped network.
For achieving the above object, the invention provides a kind of RPR website, comprising:
Ethernet two layer service processing modules with a plurality of RPR looped network side interfaces, RPR Service Processing Module with a plurality of Ethernet side interfaces corresponding, and the RPR that is connected with described RPR Service Processing Module ring medium access control MAC module with described a plurality of RPR looped network side interfaces;
Wherein, form many ethernet channels between described a plurality of Ethernet side interfaces of described a plurality of RPR looped network side interface and correspondence, described Ethernet two layer service processing modules and described RPR Service Processing Module transmit the Ethernet message by described many ethernet channels.
For achieving the above object, the present invention also provides a kind of method to RPR looped network transmission data, comprising:
Receive the Ethernet message that local network device sends, comprise medium access control MAC address, source, target MAC (Media Access Control) address and virtual identifying VID in the described Ethernet message;
From many ethernet channels, select an ethernet channel, described Ethernet message is sent to the RPR Service Processing Module, and after by described RPR Service Processing Module described Ethernet message being encapsulated as the RPR message, be sent on the outer shroud or interior ring of described RPR looped network;
Wherein, described many ethernet channels form between a plurality of Ethernet side interfaces that a plurality of RPR looped network side interfaces that Ethernet two layer service processing modules have and described RPR Service Processing Module have.
For achieving the above object, the present invention also provides a kind of method from RPR looped network reception data, comprising:
The RPR message that reception is sent here from the outer shroud or the interior environment-development of RPR looped network;
Described RPR message is descapsulated into the Ethernet message, and from many ethernet channels, select an ethernet channel, described Ethernet message is forwarded to Ethernet two layer service processing modules, and is sent to local network device by described Ethernet two layer service processing modules;
Wherein, described many ethernet channels form between a plurality of Ethernet side interfaces that a plurality of RPR looped network side interfaces that Ethernet two layer service processing modules have and described RPR Service Processing Module have.
RPR website provided by the invention, send the method for data and reception data to the RPR looped network, Ethernet two layer service processing modules have a plurality of RPR looped network side interfaces, the RPR Service Processing Module has and the corresponding a plurality of Ethernet side interfaces of described a plurality of RPR looped network side interfaces, by between a plurality of Ethernet side interfaces of a plurality of RPR looped network side interfaces and correspondence, forming many Ethernet paths, make Ethernet two layer service processing modules and RPR Service Processing Module to transmit the Ethernet message by described many ethernet channels, thereby make the Ethernet transmission bandwidth improve, realize that the bandwidth of Ethernet transmission bandwidth and RPR looped network is identical or greater than the bandwidth of RPR looped network, thereby the data transfer bandwidth in improving the RPR looped network and local network being communicated by letter, and improve data processing performance.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the structural representation of RPR looped network of the prior art;
Fig. 2 is the decomposition texture schematic diagram that the LAN in the RPR looped network shown in Figure 1 inserts the RPR website;
Fig. 3 inserts the decomposition texture schematic diagram of RPR website for the LAN in the RPR looped network of the present invention;
Fig. 4 inserts another decomposition texture schematic diagram of RPR website for the LAN in the RPR looped network of the present invention;
Fig. 5 receives the schematic flow sheet of the method embodiment of data from the RPR looped network for the present invention;
Fig. 6 sends the schematic flow sheet of method of message embodiment to the RPR looped network for the present invention.
Embodiment
In the described technical scheme of the embodiment of the invention, the information that comprises in the RPR message has: receive the MAC information of the RPR website of this RPR message on the RPR looped network, be called target MAC (Media Access Control) address, source MAC and the VID of the Ethernet message that encapsulates in RPRMAC address, this RPR message.
Fig. 3 inserts the decomposition texture schematic diagram of RPR website for the LAN in the RPR looped network of the present invention.As shown in Figure 3, the decomposition texture of each RPR site link LAN comprises in the RPR looped network shown in Figure 1: the Ethernet two layer service processing modules 31 with a plurality of RPR looped network side interfaces, RPR Service Processing Module 32 with a plurality of Ethernet side interfaces corresponding, and the RPR that is connected with described RPR Service Processing Module 32 ring MAC module 33 with described a plurality of RPR looped network side interfaces; Wherein, form many ethernet channels between described a plurality of Ethernet side interfaces of described a plurality of RPR looped network side interface and correspondence, described Ethernet two layer service processing modules 31 and described RPR Service Processing Module 32 transmit the Ethernet message by described many ethernet channels; RPR ring MAC module 33 comprises RPR ring MAC module 331 and RPR ring MAC module 332.
Described Ethernet two layer service processing modules 31 are used for sending the first Ethernet message by the described ethernet channel of selecting to described RPR Service Processing Module 32, and receive the second Ethernet message that described RPR Service Processing Module 32 sends; Described RPR Service Processing Module 32, be used for and be encapsulated as a RPR message by the described first Ethernet message that described ethernet channel receives, and the loops fruit that selects that decision-making obtains according to the choosing ring in the RPR Service Processing Module 32 is forwarded to corresponding RPR ring MAC module 331 or RPR ring MAC module 332 with a RPR message, the 2nd RPR message that receives is descapsulated into the described second Ethernet message, and the described second Ethernet message is forwarded to described Ethernet two layer service processing modules 31 by the described ethernet channel of selecting; If a described RPR message of described RPR Service Processing Module 32 encapsulation will promptly encircle 0 and send by the outer shroud of RPR looped network, then RPR Service Processing Module 32 can be sent to a RPR message RPR ring MAC module 331, and sends from outer shroud by RPR ring MAC module 332; If a described RPR message of described RPR Service Processing Module 32 encapsulation will promptly encircle 1 and send by the interior ring of RPR looped network, then RPR Service Processing Module 32 can be sent to a RPR message RPR ring MAC module 332, and sees off from interior environment-development by RPR ring MAC module 331; If the 2nd RPR message that outer shroud sends then receives by RPR ring MAC module 331, and is sent to RPR Service Processing Module 32; If the 2nd RPR message that interior environment-development is sent here then receives by RPR ring MAC module 332, and is sent to RPR Service Processing Module 32.
In the present embodiment, can comprise ethernet device or other network equipments among the LAN, ethernet device is connected to Ethernet two layer service processing modules 31 by Ethernet interface, and other network equipments are connected to Ethernet two layer service processing modules 31 by module or the equipment that Ethernet interface changes other network interfaces.
For reception, RPR ring MAC module 33 will be from encircling 0 or encircle 1 the 2nd RPR message that receives and be sent to RPR Service Processing Module 32.Carry out decapsulation by 32 pairs the 2nd RPR messages of RPR Service Processing Module, be reduced into the second Ethernet message, and resolve the MAC Address of the RPR website obtain sending the 2nd RPR message, i.e. RPR MAC Address, and the source MAC of the transmitting apparatus of the second Ethernet message and VID; Described source MAC and VID and RPR MAC Address are set up the RPR mapping table; Be sent to Ethernet two layer service processing modules 31 through the second Ethernet message correspondence of a plurality of Ethernet side interfaces after, by these Ethernet two layer service processing modules 31 this second Ethernet message be sent to the local network device of target MAC (Media Access Control) address and VID correspondence again with a plurality of RPR looped network side interfaces with decapsulation.Promptly, many Ethernet paths are arranged all, it is transferred to Ethernet two layer service processing modules 31 for from encircling 0 or encircle 1 data that receive.Therefore, as long as the bandwidth of the bandwidth of Ethernet path and RPR looped network is identical or greater than the bandwidth of RPR looped network, just can not have bandwidth bottleneck.
For transmission, the first Ethernet message that Ethernet two layer service processing modules 31 send is sent to the RPR Service Processing Module 32 with corresponding a plurality of Ethernet side interfaces by a plurality of RPR looped network side interfaces.RPR Service Processing Module 32 is searched the RPR mapping table according to purpose MAC and the VID in this first Ethernet message, find corresponding RPR MAC, then the RPR website of this RPR MAC sign is this first Ethernet message and is encapsulated as the purpose RPR website that will send to behind the RPR message; Then,, adopt a certain choosing ring strategy, determine the outer shroud that on the RPR looped network, transmits or the interior ring of a RPR message according to the topology information of RPR looped network; According to selecting the loops fruit,, a RPR message is sent on the corresponding interior ring or outer shroud then by RPR ring MAC module 33.If RPR Service Processing Module 32 does not find corresponding RPR MAC Address in the RPR mapping table, then according to the broadcasting choosing ring strategy that presets, at ring 0 or encircle the One-to-All Broadcast that carries out a RPR message on 1 and send, perhaps on ring 0 and ring 1, carry out bidirectional broadcast simultaneously and send, but the website that covers can not be overlapping.Carry out bidirectional broadcast on 1 when sending at ring 0 and ring, the website that is sent on ring 0 and the ring 1 can by " cut point " in the prior art determine divide.Promptly, many Ethernet paths are arranged all, it is transferred to RPR Service Processing Module 32 for the data that will send to ring 0 and ring 1.Therefore, as long as the bandwidth of the bandwidth of Ethernet path and RPR looped network is identical or greater than the bandwidth of RPR looped network, just can not have bandwidth bottleneck.
To be RPR Service Processing Module 32 all will carry out once when receiving the first Ethernet message that Ethernet two layer service processing modules 31 send above-mentioned choosing ring strategy at every turn, comparatively loaded down with trivial details.In addition, can also be when receiving data, if the source MAC of the Ethernet message that encapsulates in the RPR message that receives and VID are for occurring first, then according to the topology information of this source MAC and VID, RPR looped network, adopt the decision-making of preliminary election ring to select ring to calculate, obtain selecting loops fruit and record, when being sent to RPR Service Processing Module 32 by Ethernet two layer service processing modules 31, needn't all select the ring decision-making at every turn with the Ethernet message of convenient same data flow.
The structure of the RPR website that present embodiment provides, Ethernet two layer service processing modules have a plurality of RPR looped network side interfaces, the RPR Service Processing Module has and the corresponding a plurality of Ethernet side interfaces of described a plurality of RPR looped network side interfaces, by between a plurality of Ethernet side interfaces of a plurality of RPR looped network side interfaces and correspondence, forming many Ethernet paths, make Ethernet two layer service processing modules and RPR Service Processing Module to transmit the Ethernet message by described many ethernet channels, thereby make the Ethernet transmission bandwidth improve, realize that the bandwidth of Ethernet transmission bandwidth and RPR looped network is identical or greater than the bandwidth of RPR looped network, thereby the data transfer bandwidth in improving the RPR looped network and local network being communicated by letter, and improve data processing performance.
Fig. 4 inserts another decomposition texture schematic diagram of RPR website for the LAN in the RPR looped network of the present invention.As shown in Figure 4, to have two Ethernet paths between Ethernet two layer service processing modules and RPR Service Processing Module is example, the decomposition texture that this LAN inserts the RPR website comprises: the Ethernet two layer service processing modules 41 with two RPR looped network side interfaces, RPR Service Processing Module 42 with two Ethernet side interfaces corresponding with described two RPR looped network side interfaces, and the RPR that is connected with described RPR Service Processing Module 42 ring MAC module 43, form two ethernet channels between described two Ethernet side interfaces of described two RPR looped network side interfaces and correspondence, RPR ring MAC module 43 comprises RPR ring MAC module 431 and RPR ring MAC module 432.
Wherein, described Ethernet two layer service processing modules 41 can comprise: first receiver module 411, two-layer retransmitting table 412, search module 413 and clean culture forwarding module 414.
First receiver module 411 is used to receive the first Ethernet message that local network device sends, and receives the second Ethernet message that described RPR Service Processing Module 42 sends, and comprises in the described Ethernet message: target MAC (Media Access Control) address, source MAC and VID.
Two-layer retransmitting table 412 is used for preserving the MAC Address of a plurality of RPR looped network side interfaces and Ethernet message and the corresponding relation of VID.Wherein, as shown in Figure 4, Ethernet two layer service processing modules 41 comprise interface 1 and interface 2, and RPR Service Processing Module 42 comprises interface 3 corresponding with interface 1 and the interface 4 corresponding with interface 2, forms two Ethernet paths; Ethernet two layer service processing modules 41 also comprise other local interfaces, are used for being connected with local network device.Comprise the corresponding relation that dual mode obtains in this two-layer retransmitting table 412: a kind of is the MAC Address that obtains in RPR looped network side interface and the Ethernet message by being provided with of RPR Service Processing Module 42 and the corresponding relation of VID, for example, RPR Service Processing Module 42 is default from encircling the message after the 0 Ethernet message encapsulation that to be RPR Service Processing Module 42 receive from interface 1 and interface 3 that sends RPR message correspondence, from encircling the message after the 1 Ethernet message encapsulation that to be RPR Service Processing Module 42 receive from interface 2 and interface 4 that sends RPR message correspondence, and this corresponding relation is mapped with target MAC (Media Access Control) address and VID the Ethernet message that receives from described local network device; Another kind is by the source MAC from the Ethernet message that described local network device receives of the reception learning functionality acquisition of Ethernet two layer service processing modules 41 and the corresponding relation of VID and other local interfaces.
Particularly, in first kind of mode, the corresponding relation that the preliminary election ring decision-making of RPR Service Processing Module 42 is provided with, be the RPR MAC Address of RPR Service Processing Module 42 according to the 2nd RPR message that receives from the RPR looped network, the source MAC and the VID of the second Ethernet message of encapsulation, and the topology information of RPR looped network, adopt the decision-making of preliminary election ring, calculate the corresponding relation of ring ID and described source MAC and VID, again according to the corresponding relation of RPR looped network side interface and Ethernet side interface, default Ethernet side interface and the corresponding relation that encircles ID, and the corresponding relation of ring ID and source MAC and VID, with the corresponding relation of described RPR looped network side interface and described source MAC and VID, be arranged in the described two-layer retransmitting table 412 of described Ethernet two layer service processing modules 41.In the second way, the source MAC in the first Ethernet message and the corresponding relation of VID and other local interfaces, be that reception learning functionality by these Ethernet two layer service processing modules 41 obtains, promptly when Ethernet two layer service processing modules 41 when other local interfaces receive the Ethernet message that local network device sends, the corresponding relation of the source MAC of meeting this Ethernet message of record in two-layer retransmitting table 412 and the Ethernet interface of VID and this Ethernet message of reception, then, when these Ethernet two layer service processing modules 41 receive another Ethernet message again, its target MAC (Media Access Control) address is identical with the source MAC and the VID that write down before with VID, and then the local interface of the correspondence that this another Ethernet message is write down from two-layer retransmitting table 412 is sent to local network device.
Search module 413, be used for searching described two-layer retransmitting table 412 according to the target MAC (Media Access Control) address and the VID of the described first Ethernet message.
Clean culture forwarding module 414, be used for if described search module 413 described two-layer retransmitting table 412 find with the described first Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID, then by the ethernet channel of described RPR looped network side interface correspondence, clean culture is transmitted the described first Ethernet message to described RPR Service Processing Module 42.Owing in two-layer retransmitting table 412, preserve the described corresponding relation that selects loops fruit and described a plurality of RPR looped network side interfaces, and described a plurality of RPR looped network side interface and target MAC (Media Access Control) address from the Ethernet message that described local network device receives and the corresponding relation of VID, for the message that will send on the ring of RPR looped network, promptly can obtain from interface 1 or interface 2 is sent to RPR Service Processing Module 42 by tabling look-up, accordingly, also can directly know still to be that ring 1 sends with message from encircling 0 transmission.
These Ethernet two layer service processing modules 41 can also comprise broadcasting forwarding module 415, be used for if described search module 413 described two-layer retransmitting table 412 do not find with the described first Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID, described interface comprises described a plurality of RPR looped network side interface and local interface, then according to the broadcasting behavior of presetting, by described a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted the described first Ethernet message to described RPR Service Processing Module 42.For the message that sends to the ring of RPR looped network from local network device, if do not find corresponding relation in the two-layer retransmitting table 412 with interface, some broadcast capabilitys that can be set to interface 1 and interface 2 are closed, being about to this is to find the Ethernet message of corresponding relation to be broadcast to RPR Service Processing Module 42 by interface 1 or interface 2, thereby this message of broadcasting on outer shroud or interior ring is to avoid broadcasting this message simultaneously to same RPR website on outer shroud and interior ring; Also can be set to this Ethernet message and broadcast away from interface 1 and interface 2 simultaneously, will can not overlap with the RPR website of broadcasting by the RPR website that outer shroud is broadcast to by this message by interior ring but will be provided with.For the message that from the ring of RPR looped network, sends to local network device, if do not find corresponding relation in the two-layer retransmitting table 412 with interface, by Ethernet two layer service processing modules 41 broadcasting Ethernet messages the time, the Ethernet message that receives from interface 1 is set can not broadcast away from interface 2, can not broadcast away from interface 1 from the Ethernet message that interface 2 receives, to avoid broadcast storm.
Described RPR Service Processing Module 42 can comprise: second receiver module 421, encapsulation decapsulation module 422 and sending module 423.Second receiver module 421 is used for receiving the described first Ethernet message that described Ethernet two layer service processing modules 41 send by the described Ethernet side interface of described ethernet channel correspondence, receives the 2nd RPR message that described RPR ring MAC module 43 sends; Encapsulation decapsulation module 422 is used for the described first Ethernet message is encapsulated as a RPR message, and described the 2nd RPR message is descapsulated into the described second Ethernet message; Sending module 423, according to the corresponding relation of Ethernet side interface with ring ID, a described RPR message that will encircle after MAC module 43 will encapsulate by described RPR transmits to the outer shroud or the interior ring of described RPR looped network; According to the corresponding relation of described Ethernet side interface with ring ID, the described ethernet channel by the described Ethernet side interface correspondence selected is forwarded to described Ethernet two layer service processing modules 41 with the described second Ethernet message.Wherein, in the present embodiment, according to the corresponding relation of Ethernet side interface with ring ID, if a RPR message of RPR Service Processing Module 42 encapsulation is the first Ethernet message encapsulation that receives from the interface 3 corresponding with interface 1, then to send by the ring 0 of RPR looped network, RPR Service Processing Module 42 can be sent to a RPR message RPR ring MAC module 431, and sends from encircling 0 by RPR ring MAC module 432; If a RPR message of RPR Service Processing Module 42 encapsulation is the first Ethernet message encapsulation that receives from the interface 3 corresponding with interface 2, then to send by the ring 1 of RPR looped network, RPR Service Processing Module 42 can be sent to a RPR message RPR ring MAC module 432, and sends from encircling 1 by RPR ring MAC module 431.RPR Service Processing Module 42 does not need to select the ring decision-making again or searches and select the loops fruit herein.
Described RPR Service Processing Module 42 can also comprise: preliminary election ring module 424, be used for the source MAC of the second Ethernet message of described RPR MAC Address, encapsulation and the topology information of VID and described RPR looped network according to described the 2nd RPR message, adopt the decision-making of preliminary election ring, calculate the corresponding relation of described ring ID and described source MAC and VID; Module 425 is set, be used for the corresponding relation according to described RPR looped network side interface and described Ethernet side interface, default described Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of described ring ID and described source MAC and VID, with the corresponding relation of described RPR looped network side interface and described source MAC and VID, be arranged in the described two-layer retransmitting table 412 of described Ethernet two layer service processing modules 41.
The RPR looped network that present embodiment provides, by between Ethernet two layer service processing modules and RPR Service Processing Module, many Ethernet paths being set, realize that the bandwidth of Ethernet transmission bandwidth and RPR looped network is identical or greater than the bandwidth of RPR looped network, thus raising RPR looped network and the data transfer bandwidth during local network is communicated by letter; In addition, utilize two layers of forwarding capability of Ethernet two layer service processing modules to realize RPR choosing ring, can also make from local network device and reach the linear speed processing to the RPR choosing ring that the RPR looped network sends message, alleviate the software processes burden of RPR Service Processing Module, send the Ethernet path of message and the bandwidth match and the use of RPR looped network thereby further optimize from local network device to the RPR looped network, the system that makes can more effectively utilize the bandwidth of RPR looped network.
In addition, if the corresponding relation of described RPR looped network side interface and described MAC Address and VID is not set in the two-layer retransmitting table 412 of Ethernet two layer service processing modules 41, promptly select the corresponding ring ID discord interface correspondence of loops fruit, can also be by a kind of forwarding rule be set in two-layer retransmitting table 412.For example (for example pre-set a kind of rule by RPR Service Processing Module 42, MAC Address is corresponding with ring ID, correspondence sent from encircling 0 when the value of MAC Address was odd number, correspondence sent from encircling 1 when the value of MAC Address was even number), RPR Service Processing Module 42 is arranged on above-mentioned rule in the two-layer retransmitting table 412.After Ethernet two layer service processing modules 41 receive the Ethernet message, search two-layer retransmitting table 412 according to purpose MAC in the Ethernet message and VID, obtain encircling id information, with in band or out of band the be transferred to RPR Service Processing Module 42 of this ring id information by the Ethernet message, thereby RPR Service Processing Module 42 can directly obtain to select the loops fruit when getting access to the Ethernet message.The typical method of transmission ring id information is in being with, and will encircle id information as an information field, inserts the Ethernet message, as the information field insertion of similar VLAN, MPLS; The typical method of the outer transmission ring of band id information is, takies the frame gap of Ethernet transmission, inserts the ring id information and transmits, as the Higig message transmission of similar Broadcom company.
Fig. 5 receives the schematic flow sheet of the method embodiment of data from the RPR looped network for the present invention.As shown in Figure 5, comprising:
Step 501, RPR Service Processing Module receive the RPR message of sending here from the outer shroud or the interior environment-development of RPR looped network.
Step 502, RPR Service Processing Module are descapsulated into the Ethernet message with described RPR message, and select an ethernet channel from many ethernet channels, and described Ethernet message is forwarded to Ethernet two layer service processing modules.
Step 503, Ethernet two layer service processing modules are sent to local network device with described Ethernet message.
Wherein, described many ethernet channels form between a plurality of Ethernet side interfaces that a plurality of RPR looped network side interfaces that Ethernet two layer service processing modules have and described RPR Service Processing Module have.
In the above-mentioned steps, after RPR Service Processing Module 32 as shown in Figure 3 receives and receives the RPR message from the outer shroud of RPR looped network or interior articulating, this RPR message is descapsulated into the Ethernet message, by with Ethernet two layer service processing modules 31 in one of corresponding a plurality of Ethernet side interfaces of a plurality of RPR looped network side interfaces send described Ethernet message to described Ethernet two layer service processing modules 31; After Ethernet two layer service processing modules 31 receive the Ethernet message, can search its two-layer retransmitting table according to target MAC (Media Access Control) address in this Ethernet message and VID, in this two-layer retransmitting table if preserve the corresponding relation of target MAC (Media Access Control) address and VID and a certain interface, then the interface of this Ethernet message by correspondence is sent to local network device, specific implementation is referring to described in the specific embodiment of above-mentioned RPR looped network.
The method that present embodiment provides from RPR looped network reception data, Ethernet two layer service processing modules have a plurality of RPR looped network side interfaces, the RPR Service Processing Module has and the corresponding a plurality of Ethernet side interfaces of described a plurality of RPR looped network side interfaces, by between a plurality of Ethernet side interfaces of a plurality of RPR looped network side interfaces and correspondence, forming many Ethernet paths, make Ethernet two layer service processing modules and RPR Service Processing Module to transmit the Ethernet message by described many ethernet channels, thereby make the Ethernet transmission bandwidth improve, realize that the bandwidth of Ethernet transmission bandwidth and RPR looped network is identical or greater than the bandwidth of RPR looped network, thereby the data transfer bandwidth in improving the RPR looped network and local network being communicated by letter, and improve data processing performance.
On the basis of as shown in Figure 5 flow process, the present invention sends among another embodiment of method of message to the RPR looped network, the RPR MAC Address that comprises the RPR website in the described RPR message, and target MAC (Media Access Control) address, source MAC and the VID of the described Ethernet message of encapsulation, described method also comprises:
Steps A, RPR Service Processing Module are according to the topology information of source MAC and the VID and the described RPR looped network of the described Ethernet message of the described RPR MAC Address in the described RPR message, encapsulation, adopt the decision-making of preliminary election ring, calculate the corresponding relation of ring ID and described source MAC and VID;
Step B, according to the corresponding relation of described RPR looped network side interface and described Ethernet side interface, default described Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of described ring ID and described source MAC and VID, the RPR Service Processing Module is arranged on the corresponding relation of described RPR looped network side interface and described source MAC and VID in the two-layer retransmitting table of described Ethernet two layer service processing modules.
Wherein, comprise on the basis of above-mentioned steps A and step B, described in the described step 502 selected an ethernet channel from many ethernet channels, described Ethernet message is forwarded to Ethernet two layer service processing modules to be comprised: according to the corresponding relation of described Ethernet side interface and described ring ID, the ethernet channel by the described Ethernet side interface correspondence selected sends described Ethernet message to described Ethernet two layer service processing modules.
Particularly, sending the process of data, comprising from RPR looped network side direction local network device:
When 1) the RPR Service Processing Module is received the RPR message of RPR looped network side, from the RPR message, parse the MAC information of the RPR website that sends this RPR message, be called the RPR MAC Address, and the source MAC and the VID of the transmitting apparatus of the packaged Ethernet message of this RPR message, to no vlan domain, look VID and be 0 and handle.The source MAC of the transmitting apparatus of Ethernet message and VID and RPR MAC Address are set up mapping table, also can be by the mapping relations of user's manual configuration source MAC and VID and RPR MAC Address, for simplicity, this mapping table is called: the RPRMAC mapping table.
2) carrying out the decision-making of preliminary election ring calculates:
According to the RPR MAC mapping table of being set up, carry out the decision-making of preliminary election ring: use the information of being extracted, remove above-mentioned RPR MAC Address, outside the source MAC and VID of the transmitting apparatus of Ethernet message, can also extract IP address information etc., and according to the topology information of RPR looped network, and the algorithm of the preliminary election ring that is adopted decision-making, calculate and send by the RPR website of this RPR Service Processing Module correspondence, data flow under the Ethernet message of the purpose RPR website that arrival RPR MAC Address is identified, the transmission ring that should select, select loops really to be designated Ri, Ri=0 representative ring 0 (being outer shroud), Ri=1 representative ring 1 (ring promptly).
Except that selecting the loops fruit of above-mentioned RPR MAC mapping table correspondence, to every other situation, according to the choosing ring strategy of the choosing ring of user's default setting decision-making (as according to the odd even of IP address, MAC Address etc.), broadcast transmission etc., and the topology information of RPR looped network, carrying out the decision-making of preliminary election ring calculates, obtain to select accordingly the loops fruit, as: Ri=0, expression sends from encircling 0; Ri=1, expression sends from encircling 1; Ri=2, expression sends by ring 0 and ring 1 simultaneously.
Corresponding RPR MAC mapping table changes, and correspondingly will carry out a preliminary election ring decision-making again, if this table keeps stable, then the decision-making of preliminary election ring is just no longer carried out.
3) with 2 road Ethernet paths between Ethernet two layer service processing modules and RPR Service Processing Module, corresponding with a Ri choosing ring respectively, as shown in Figure 4, interface 1 between Ethernet two layer service processing modules and RPR Service Processing Module, the link of interface 3 correspond to Ri=0, and the link of interface 2, interface 4 corresponds to Ri=1.Certainly, if corresponding Ethernet path more than 2 tunnel, then could a few the corresponding Ri=0 of Ethernet path, several the corresponding Ri=1 of Ethernet path in addition.
4) with the above-mentioned the 2nd) step and the 3rd) step identifies the characteristic information of ethernet data stream and the corresponding relation of interface, be set in the two-layer retransmitting table of Ethernet two layer service processing modules, make when Ethernet two layer service processing modules receive the Ethernet message of Ethernet side, matching operation by two-layer retransmitting table, the Ethernet message of correspondence can be sent to the RPR Service Processing Module from interface 1 (corresponding Ri=0) or interface 2 (corresponding Ri=1), perhaps, send to the RPR Service Processing Module by interface 1 and interface 2 (corresponding Ri=2) simultaneously.
5) meanwhile, the RPR message from the RPR looped network receives is reduced into the Ethernet message through the RPR Service Processing Module.
6) from encircling the 0 RPR message that receives, be reduced into the Ethernet message after, send to Ethernet two layer service processing modules through interface 3; From encircling the 1 RPR message that receives, be reduced into the Ethernet message after, send to Ethernet two layer service processing modules through interface 4.
7) the Ethernet message of Ethernet two layer service processing modules to being received searched its two-layer retransmitting table (mapping table of MAC Address and VID and interface), the Ethernet message transmitted (may be that clean culture also may be broadcasting) to the purpose ethernet device.
The method that present embodiment provides from RPR looped network reception data, by between Ethernet two layer service processing modules and RPR Service Processing Module, many Ethernet paths being set, realize that the bandwidth of Ethernet transmission bandwidth and RPR looped network is identical or greater than the bandwidth of RPR looped network, thus raising RPR looped network and the data transfer bandwidth during local network is communicated by letter; In addition, utilize two layers of forwarding capability of Ethernet two layer service processing modules to realize RPR choosing ring, can also make from local network device and reach the linear speed processing to the RPR choosing ring that the RPR looped network sends message, alleviate the software processes burden of RPR Service Processing Module, send the Ethernet path of message and the bandwidth match and the use of RPR looped network thereby further optimize from local network device to the RPR looped network, the system that makes can more effectively utilize the bandwidth of RPR looped network.
Fig. 6 sends the schematic flow sheet of method of message embodiment to the RPR looped network for the present invention.As shown in Figure 6, comprising:
Step 601, Ethernet two layer service processing modules receive the Ethernet message that local network device sends, and comprise source MAC, target MAC (Media Access Control) address and VID in the described Ethernet message.
Step 602, Ethernet two layer service processing modules are selected an ethernet channel from many ethernet channels, described Ethernet message is sent to the RPR Service Processing Module.
After step 603, RPR Service Processing Module are encapsulated as the RPR message with described Ethernet message, select loops really, send described Ethernet message to the interior ring or outer shroud of described RPR looped network according to what obtain.
Wherein, described many ethernet channels form between a plurality of Ethernet side interfaces that a plurality of RPR looped network side interfaces that Ethernet two layer service processing modules have and described RPR Service Processing Module have.
In the above-mentioned steps, after Ethernet two layer service processing modules 31 as shown in Figure 3 receive the Ethernet message that local network device sends, if will send to message on the ring of RPR looped network, then described Ethernet message is sent to RPR Service Processing Module 32 by one in many ethernet channels, after described RPR Service Processing Module 32 is encapsulated as the RPR message with described Ethernet message, according to selecting loops really to be sent on the interior ring or outer shroud of described RPR looped network.The loops that selects in the step 603 really is to be obtained by the decision-making of the choosing ring in the RPR Service Processing Module 32 at this moment.Specific implementation is referring to described in the specific embodiment of above-mentioned RPR looped network.
What present embodiment provided sends method of message to the RPR looped network, Ethernet two layer service processing modules have a plurality of RPR looped network side interfaces, the RPR Service Processing Module has and the corresponding a plurality of Ethernet side interfaces of described a plurality of RPR looped network side interfaces, by between a plurality of Ethernet side interfaces of a plurality of RPR looped network side interfaces and correspondence, forming many Ethernet paths, make Ethernet two layer service processing modules and RPR Service Processing Module to transmit the Ethernet message by described many ethernet channels, thereby make the Ethernet transmission bandwidth improve, realize that the bandwidth of Ethernet transmission bandwidth and RPR looped network is identical or greater than the bandwidth of RPR looped network, thereby the data transfer bandwidth in improving the RPR looped network and local network being communicated by letter, and improve data processing performance.
Send among another embodiment of method of message to the RPR looped network in the present invention, on the basis of as shown in Figure 6 flow process, step 602 specifically can also comprise:
Step 6021, search two-layer retransmitting table, preserve the corresponding relation of described a plurality of RPR looped network side interfaces and MAC Address and VID in the described two-layer retransmitting table according to target MAC (Media Access Control) address and VID in the described Ethernet message;
Step 6022, if in described two-layer retransmitting table, find with described Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID, then transmit described Ethernet message to described RPR Service Processing Module by the ethernet channel clean culture of described RPR looped network side interface correspondence;
Step 6023, if in described two-layer retransmitting table, do not find with described Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID, described interface comprises described a plurality of RPR looped network side interface and local interface, then according to the broadcasting behavior of presetting, by described a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted described Ethernet message to described RPR Service Processing Module.
Wherein if described RPR looped network side interface is two, the then broadcasting behavior of presetting of the described basis in the step 6023, by described a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted described Ethernet message to described RPR Service Processing Module and is comprised:
Step 6023 ', when determining that according to the topology information of described RPR looped network described RPR looped network is closed-loop structure, then transmit described Ethernet message to described RPR Service Processing Module by the broadcasting of one of two described RPR looped network side interfaces; In this step, also can set simultaneously and transmit by two RPR looped network side interface broadcasting, but must preestablish the message of transmitting by the broadcasting of each RPR looped network side interface and mail to which RPR website on the RPR looped network, as long as the RPR website that both direction sends is different.
Step 6023 ", when determining that according to the topology information of described RPR looped network described RPR looped network is open loop structure, then broadcast respectively and transmit described Ethernet message to described RPR Service Processing Module by two described RPR looped network side interfaces.
In addition, also comprise: Ethernet two layer service processing modules delete preserve in the described two-layer retransmitting table the described a plurality of RPR looped network side interfaces do not searched in time and the corresponding relation of MAC Address and VID are being set.
Particularly, sending the process of data to RPR looped network side, comprising from local network device:
1) the Ethernet message enters Ethernet two layer service processing modules from local network device, carry out L2 address study, get the source MAC and the VID of this Ethernet message, set up the mapping table of MAC Address and VID and interface, promptly set up two-layer retransmitting table with the local interface that receives; Use the target MAC (Media Access Control) address and the VID of this Ethernet message simultaneously, search the MAC Address in the two-layer retransmitting table and the mapping relations of VID and interface, if find matched interfaces, then described Ethernet message is transmitted in clean culture, if do not find matched interfaces, then described Ethernet message is transmitted in broadcasting.For example, as shown in Figure 4, if the interface 1 for being set in this two-layer retransmitting table by the RPR Service Processing Module that finds in two-layer retransmitting table sends this Ethernet message, then this Ethernet message is that the ring 0 that will send to the RPR looped network gets on; If the Ethernet message for being sent by interface 2 that finds, then this Ethernet message is that the ring 1 that will send to the RPR looped network gets on.
2) RPR Service Processing Module, receive the Ethernet message from Ethernet two layer service processing modules after, after carrying out RPR message encapsulation etc. and handling, the RPR message after the encapsulation is sent on the RPR looped network.As shown in Figure 4, from the Ethernet message that interface 3 receives, send on the corresponding ring 0 after being encapsulated as the RPR message; From the Ethernet message that interface 4 receives, send on the corresponding ring 1 after being encapsulated as the RPR message.For wanting past simultaneously ring 0 and the message that ring 1 sends,, can be that the boundary carries out transmitted in both directions with " cut point ", to avoid occurring overlapping transmission according to definite method of existing topology " cut point " if the RPR looped network is the closed loop topological structure.If the open loop topological structure, then open loop breakpoint place is topology " cut point ".
In the present embodiment, since in the step 602 concrete regulation in two-layer retransmitting table, preserve the corresponding relation of described a plurality of RPR looped network side interfaces and MAC Address and VID, and be provided with the corresponding relation of RPR looped network side interface and ring ID, therefore, the loops fruit that selects that the RPR Service Processing Module obtains in the step 603 can be the interface of regulation and the direct corresponding relation of ring ID, and this moment, the RPR Service Processing Module need not to select the ring decision-making again.
What present embodiment provided sends method of message to the RPR looped network, by between Ethernet two layer service processing modules and RPR Service Processing Module, many Ethernet paths being set, realize that the bandwidth of Ethernet transmission bandwidth and RPR looped network is identical or greater than the bandwidth of RPR looped network, thus raising RPR looped network and the data transfer bandwidth during local network is communicated by letter; In addition, utilize two layers of forwarding capability of Ethernet two layer service processing modules to realize RPR choosing ring, can also make from local network device and reach the linear speed processing to the RPR choosing ring that the RPR looped network sends message, alleviate the software processes burden of RPR Service Processing Module, send the Ethernet path of message and the bandwidth match and the use of RPR looped network thereby further optimize from local network device to the RPR looped network, the system that makes can more effectively utilize the bandwidth of RPR looped network.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (12)

1, a kind of RPR website is characterized in that, comprising:
Ethernet two layer service processing modules with a plurality of RPR looped network side interfaces, RPR Service Processing Module with a plurality of Ethernet side interfaces corresponding, and the RPR that is connected with described RPR Service Processing Module ring medium access control MAC module with described a plurality of RPR looped network side interfaces;
Wherein, form many ethernet channels between described a plurality of Ethernet side interfaces of described a plurality of RPR looped network side interface and correspondence, described Ethernet two layer service processing modules and described RPR Service Processing Module transmit the Ethernet message by described many ethernet channels.
2, RPR website according to claim 1 is characterized in that, described Ethernet two layer service processing modules comprise:
First receiver module, be used to receive the first Ethernet message that local network device sends, receive the second Ethernet message that described RPR Service Processing Module sends, comprise in the described Ethernet message: target MAC (Media Access Control) address, source MAC and virtual identifying VID;
Two-layer retransmitting table is used for preserving described a plurality of RPR looped network side interface and the MAC Address of Ethernet message and the corresponding relation of VID;
Search module, be used for searching described two-layer retransmitting table according to the target MAC (Media Access Control) address and the VID of the described first Ethernet message;
The clean culture forwarding module, be used for if described search module described two-layer retransmitting table find with the described first Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID, then by the ethernet channel of described RPR looped network side interface correspondence, clean culture is transmitted the described first Ethernet message to described RPR Service Processing Module.
3, RPR website according to claim 2 is characterized in that, described Ethernet two layer service processing modules also comprise:
The broadcasting forwarding module, be used for if described search module described two-layer retransmitting table do not find with the described first Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID, described interface comprises described a plurality of RPR looped network side interface and local interface, then according to the broadcasting behavior of presetting, by described a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted the described first Ethernet message to described RPR Service Processing Module.
4, according to claim 2 or 3 described RPR websites, it is characterized in that described RPR Service Processing Module comprises:
Second receiver module is used for receiving the described first Ethernet message that described Ethernet two layer service processing modules send by the described Ethernet side interface of described ethernet channel correspondence, receives the 2nd RPR message that described RPR ring MAC module sends;
The encapsulation decapsulation module is used for the described first Ethernet message is encapsulated as a RPR message, and described the 2nd RPR message is descapsulated into the described second Ethernet message;
Sending module is used for according to the corresponding relation of described Ethernet side interface with ring ID, and the described RPR message after will encapsulating by described RPR ring MAC module transmits to the outer shroud or the interior ring of described RPR looped network; According to the corresponding relation of described Ethernet side interface with ring ID, the described ethernet channel by the described Ethernet side interface correspondence selected is forwarded to described Ethernet two layer service processing modules with the described second Ethernet message.
5, RPR website according to claim 4 is characterized in that, comprises the RPR MAC Address of RPR website in described the 2nd RPR message, and described RPR Service Processing Module also comprises:
Preliminary election ring module, be used for the source MAC of the second Ethernet message of described RPR MAC Address, encapsulation and the topology information of VID and described RPR looped network according to described the 2nd RPR message, adopt the decision-making of preliminary election ring, calculate the corresponding relation of described ring ID and described source MAC and VID;
Module is set, be used for the corresponding relation according to described RPR looped network side interface and described Ethernet side interface, default described Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of described ring ID and described source MAC and VID, with the corresponding relation of described RPR looped network side interface and described source MAC and VID, be arranged in the described two-layer retransmitting table of described Ethernet two layer service processing modules.
6, a kind of method to RPR looped network transmission data is characterized in that, comprising:
Receive the Ethernet message that local network device sends, comprise medium access control MAC address, source, target MAC (Media Access Control) address and virtual identifying VID in the described Ethernet message;
From many ethernet channels, select an ethernet channel, described Ethernet message is sent to the RPR Service Processing Module, and after by described RPR Service Processing Module described Ethernet message being encapsulated as the RPR message, be sent on the outer shroud or interior ring of described RPR looped network;
Wherein, described many ethernet channels form between a plurality of Ethernet side interfaces that a plurality of RPR looped network side interfaces that Ethernet two layer service processing modules have and described RPR Service Processing Module have.
7, method according to claim 6 is characterized in that, describedly selects an ethernet channel from many ethernet channels, described Ethernet message is sent to the RPR Service Processing Module comprises:
Search two-layer retransmitting table according to target MAC (Media Access Control) address and VID in the described Ethernet message, preserve the corresponding relation of described a plurality of RPR looped network side interfaces and MAC Address and VID in the described two-layer retransmitting table;
If in described two-layer retransmitting table, find with described Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID, then transmit described Ethernet message to described RPR Service Processing Module by the ethernet channel clean culture of described RPR looped network side interface correspondence;
If in described two-layer retransmitting table, do not find with described Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID, described interface comprises described a plurality of RPR looped network side interface and local interface, then according to the broadcasting behavior of presetting, by described a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted described Ethernet message to described RPR Service Processing Module.
8, method according to claim 7, it is characterized in that, if described RPR looped network side interface is two, the broadcasting behavior that then described basis presets, by described a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted described Ethernet message to described RPR Service Processing Module and is comprised:
When determining that according to the topology information of described RPR looped network described RPR looped network is closed-loop structure, then transmit described Ethernet message to described RPR Service Processing Module by the broadcasting of one of two described RPR looped network side interfaces;
When determining that according to the topology information of described RPR looped network described RPR looped network is open loop structure, then broadcast respectively and transmit described Ethernet message to described RPR Service Processing Module by two described RPR looped network side interfaces.
9, according to claim 7 or 8 described methods, it is characterized in that, also comprise:
Delete preserve in the described two-layer retransmitting table the described a plurality of RPR looped network side interfaces do not searched in time and the corresponding relation of MAC Address and VID are being set.
10, a kind of method from RPR looped network reception data is characterized in that, comprising:
The RPR message that reception is sent here from the outer shroud or the interior environment-development of RPR looped network;
Described RPR message is descapsulated into the Ethernet message, and from many ethernet channels, select an ethernet channel, described Ethernet message is forwarded to Ethernet two layer service processing modules, and is sent to local network device by described Ethernet two layer service processing modules;
Wherein, described many ethernet channels form between a plurality of Ethernet side interfaces that a plurality of RPR looped network side interfaces that Ethernet two layer service processing modules have and described RPR Service Processing Module have.
11, method according to claim 10 is characterized in that, comprises the RPR MAC Address of RPR website in the described RPR message, and target MAC (Media Access Control) address, source MAC and the virtual identifying VID of the described Ethernet message of encapsulation, and described method also comprises:
According to the source MAC of the described Ethernet message of the described RPR MAC Address in the described RPR message, encapsulation and the topology information of VID and described RPR looped network, adopt the decision-making of preliminary election ring, calculate the corresponding relation of ring ID and described source MAC and VID;
According to the corresponding relation of described RPR looped network side interface and described Ethernet side interface, default described Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of described ring ID and described source MAC and VID, with the corresponding relation of described RPR looped network side interface and described source MAC and VID, be arranged in the two-layer retransmitting table of described Ethernet two layer service processing modules.
12, method according to claim 11 is characterized in that, describedly selects an ethernet channel from many ethernet channels, described Ethernet message is forwarded to Ethernet two layer service processing modules comprises:
According to the corresponding relation of described Ethernet side interface and described ring ID, the ethernet channel by the described Ethernet side interface correspondence selected sends described Ethernet message to described Ethernet two layer service processing modules.
CN2009100929021A 2009-09-10 2009-09-10 RPR station, method for sending and receiving data to and from RPR loop network Active CN101656649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100929021A CN101656649B (en) 2009-09-10 2009-09-10 RPR station, method for sending and receiving data to and from RPR loop network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100929021A CN101656649B (en) 2009-09-10 2009-09-10 RPR station, method for sending and receiving data to and from RPR loop network

Publications (2)

Publication Number Publication Date
CN101656649A true CN101656649A (en) 2010-02-24
CN101656649B CN101656649B (en) 2012-02-22

Family

ID=41710752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100929021A Active CN101656649B (en) 2009-09-10 2009-09-10 RPR station, method for sending and receiving data to and from RPR loop network

Country Status (1)

Country Link
CN (1) CN101656649B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410574A (en) * 2014-11-28 2015-03-11 杭州华三通信技术有限公司 Node equipment in RPR network and method of node equipment for packet forwarding
CN107347019A (en) * 2017-04-20 2017-11-14 武汉迈力特通信有限公司 The apparatus and method of MSTP system ethernet link failure fast transfers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410574A (en) * 2014-11-28 2015-03-11 杭州华三通信技术有限公司 Node equipment in RPR network and method of node equipment for packet forwarding
CN107347019A (en) * 2017-04-20 2017-11-14 武汉迈力特通信有限公司 The apparatus and method of MSTP system ethernet link failure fast transfers

Also Published As

Publication number Publication date
CN101656649B (en) 2012-02-22

Similar Documents

Publication Publication Date Title
US11962489B2 (en) Systems and methods for performing layer one link aggregation over wireless links
US8031640B2 (en) Packet transmission apparatus, packet forwarding method and packet transmission system
CN101325551B (en) Method and device for processing message
CN101160850B (en) Method and device for forwarding packet
CN102571426B (en) Double-homing protection method and device
CN102957616B (en) In the method and system of ASIC repeating TRILL network message
CN100563215C (en) A kind of packet routing switch device and method thereof
US20080259920A1 (en) Method and apparatus for establishing virtual resilient packet ring (RPR) subrings over a common communications path
CN101207571B (en) Apparatus and method for forwarding packets
JP2006087107A (en) Method and system for bridging traffic in resilient packet ring network
CN104009903B (en) Flow forwarding method and device in elastic package circular network
CN101262429A (en) A system and method for realizing virtual private network communication
WO2019062268A1 (en) Method, apparatus and system for transmitting multicast message
US20170195213A1 (en) Multipath switching using per-hop virtual local area network classification
CN101834665A (en) Packet loss detection system and method of Ethernet service in DTMB (Digital Television Terrestrial Multimedia Broadcasting) system
CN101656649B (en) RPR station, method for sending and receiving data to and from RPR loop network
CN100459580C (en) Method of forwarding services with three-layer resilient packet ring
CN102611603B (en) The foundation of the static tunnel MPLS forwarding table, data transmission method and device
CN100454907C (en) Method and device for realizing elastic sectionalization ring guiding protective inverting
CN100502341C (en) Implementing method and system for transmitting Ethernet service over RPR network
CN103368836B (en) A kind of digital microwave equipment and network management data method for routing thereof
CN101146054B (en) Packet forward method and device under PBT multi-point-to-point mode
CN105471727A (en) Packet forwarding method and packet forwarding device in RPR (Resilient Packet Ring) network
CN103684967B (en) Method and device for achieving tangent ring user data message intercommunication
CN116886663A (en) E-TREE implementation mode, device and communication equipment based on RFC 8317

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
ASS Succession or assignment of patent right

Owner name: BEIJING Z-GOOD TECHNOLOGY SERVICE CO., LTD.

Free format text: FORMER OWNER: BEIJING XINGWANG RUIJIE NETWORK TECHNOLOGIES CO., LTD.

Effective date: 20150119

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100036 HAIDIAN, BEIJING TO: 100085 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20150119

Address after: 100085 Beijing city Haidian District No. 33 Xiaoying Road 1 1F06 room

Patentee after: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Address before: 100036 Beijing Haidian District City 33 Fuxing Road Cuiwei East 1106

Patentee before: Beijing Xingwang Ruijie Network Technologies Co., Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20100224

Assignee: Beijing Xingwang Ruijie Network Technologies Co., Ltd.

Assignor: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Contract record no.: 2015990000068

Denomination of invention: RPR station, method for sending and receiving data to and from RPR loop network

Granted publication date: 20120222

License type: Common License

Record date: 20150213