CN101656649B - 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
CN101656649B
CN101656649B CN2009100929021A CN200910092902A CN101656649B CN 101656649 B CN101656649 B CN 101656649B CN 2009100929021 A CN2009100929021 A CN 2009100929021A CN 200910092902 A CN200910092902 A CN 200910092902A CN 101656649 B CN101656649 B CN 101656649B
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.)
Active
Application number
CN2009100929021A
Other languages
Chinese (zh)
Other versions
CN101656649A (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 corresponding Ethernet 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
RPR (Resilient Packet Ring; Be called for short RPR) be: SDH (Synchronous Digital Hierarchy combined; 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.It is thus clear that 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 fastext recovery capability and the Ethernet of SDH/SONET looped network 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 through 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), and is as shown in Figure 1, is example to connect a LAN under each RPR website in the present embodiment, is 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 sketch map that the LAN in the RPR looped network shown in Figure 1 inserts the RPR website.As shown in Figure 2, comprise local network device, in this example ethernet device, Ethernet two layer service processing modules, RPR Service Processing Module and RPR ring MAC module.Ethernet device is used for sending the Ethernet message to Ethernet, and receives the Ethernet message that Ethernet sends.Like PC (PC) access network based on ethernet commonly used, and carry out data communication through 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, when accomplishing the various forwardings of being supported and function of exchange, can also reach the linear speed processing performance.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 several kinds of 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, Ethernet two layer service processing modules are connected the flow of the Ethernet message that is carried and also want and can reach respectively with Ethernet between the RPR Service Processing Module: 311Mbps, 1.244Gbps, 2Gbps, 5Gbps, 20Gbps.But the technical scheme with present sees, 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, federation becomes the 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, on data processing performance, can both reach linear speed and handle; 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 realizing above-mentioned purpose, 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 said RPR Service Processing Module ring medium access control MAC module with said a plurality of RPR looped network side interfaces;
Wherein, Form many ethernet channels between said a plurality of Ethernet side interfaces of said a plurality of RPR looped network side interface and correspondence, said Ethernet two layer service processing modules and said RPR Service Processing Module transmit the Ethernet message through said many ethernet channels.
For realizing above-mentioned purpose, 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 the sign VID of medium access control MAC address, source, target MAC (Media Access Control) address and VLAN in the said Ethernet message;
From many ethernet channels, select an ethernet channel; Said Ethernet message is sent to the RPR Service Processing Module; And after by said RPR Service Processing Module said Ethernet message being encapsulated as the RPR message, be sent on the outer shroud or interior ring of said RPR looped network;
Wherein, said 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 said RPR Service Processing Module have.
For realizing above-mentioned purpose, 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;
Said RPR message is descapsulated into the Ethernet message; And from many ethernet channels, select an ethernet channel; Said Ethernet message is forwarded to Ethernet two layer service processing modules, and is sent to local network device by said Ethernet two layer service processing modules;
Wherein, said 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 said RPR Service Processing Module have.
RPR website provided by the invention, send data and receive the method for 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 said a plurality of RPR looped network side interfaces; Through 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, 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 through said many ethernet channels; Thereby the data transfer bandwidth in improving the RPR looped network and local network being communicated by letter, and improve data processing performance.
Through accompanying drawing and embodiment, technical scheme of the present invention is done further detailed description below.
Description of drawings
Fig. 1 is the structural representation of RPR looped network of the prior art;
Fig. 2 is the decomposition texture sketch map that the LAN in the RPR looped network shown in Figure 1 inserts the RPR website;
Fig. 3 inserts the decomposition texture sketch map of RPR website for the LAN in the RPR looped network of the present invention;
Fig. 4 inserts another decomposition texture sketch map 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 sketch map 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 said RPR Service Processing Module 32 ring MAC module 33 with said a plurality of RPR looped network side interfaces; Wherein, Form many ethernet channels between said a plurality of Ethernet side interfaces of said a plurality of RPR looped network side interface and correspondence, said Ethernet two layer service processing modules 31 are transmitted the Ethernet message with said RPR Service Processing Module 32 through said many ethernet channels; RPR ring MAC module 33 comprises RPR ring MAC module 331 and RPR ring MAC module 332.
Said Ethernet two layer service processing modules 31 are used for sending the first Ethernet message through the said ethernet channel of selecting to said RPR Service Processing Module 32, and receive the second Ethernet message that said RPR Service Processing Module 32 sends; Said RPR Service Processing Module 32; Be used for and be encapsulated as a RPR message through the said first Ethernet message that said 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 said second Ethernet message, and the said second Ethernet message is forwarded to said Ethernet two layer service processing modules 31 through the said ethernet channel of selecting; If a said RPR message of said RPR Service Processing Module 32 encapsulation will promptly encircle 0 and send through the outer shroud of RPR looped network; Then RPR Service Processing Module 32 can be sent to RPR ring MAC module 331 with a RPR message, and sends from outer shroud through RPR ring MAC module 332; If a said RPR message of said RPR Service Processing Module 32 encapsulation will promptly encircle 1 and send through the interior ring of RPR looped network; Then RPR Service Processing Module 32 can be sent to RPR ring MAC module 332 with a RPR message, and sees off from interior environment-development through RPR ring MAC module 331; If the 2nd RPR message that outer shroud sends then receives through 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 through 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 through Ethernet interface, and other network equipments are connected to Ethernet two layer service processing modules 31 through 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; Said 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 are sent is sent to the RPR Service Processing Module 32 with corresponding a plurality of Ethernet side interfaces through 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, confirm 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 through 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 carry out the bidirectional broadcast transmission at ring 0 on 1 with encircling simultaneously, 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 through " cut point " in the prior art confirm divide.Promptly, many Ethernet paths are arranged all, it is transferred to RPR Service Processing Module 32 for sending to the data of ring 0 with 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 is appearance first with VID, 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 said a plurality of RPR looped network side interfaces; Through 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, 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 through said many ethernet channels; 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 sketch map of RPR website for the LAN in the RPR looped network of the present invention.As shown in Figure 4; Between Ethernet two layer service processing modules and RPR Service Processing Module, to have two Ethernet paths 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 said two RPR looped network side interfaces; And the RPR that is connected with said RPR Service Processing Module 42 ring MAC module 43; Form two ethernet channels between said two Ethernet side interfaces of said two RPR looped network side interfaces and correspondence, RPR ring MAC module 43 comprises that RPR ring MAC module 431 and RPR encircle MAC module 432.
Wherein, said 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 said RPR Service Processing Module 42 sends, and comprises in the said 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 through being provided with of RPR Service Processing Module 42 and the corresponding relation of VID; For example; RPR Service Processing Module 42 is preset from encircling 0 message that sends after the corresponding Ethernet message encapsulation that to be RPR Service Processing Module 42 receive from interface 1 and interface 3 of RPR message; From encircling 1 message that sends after the corresponding Ethernet message encapsulation that to be RPR Service Processing Module 42 receive from interface 2 and interface 4 of RPR message, and this corresponding relation is mapped with target MAC (Media Access Control) address and VID the Ethernet message that receives from said local network device; Another kind is through the source MAC from the Ethernet message that said 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 RPR Service Processing Module 42 according to the source MAC of the second Ethernet message of the RPR MAC Address of the 2nd RPR message that receives from the RPR looped network, encapsulation and the topology information of VID and RPR looped network; Adopt the decision-making of preliminary election ring, calculate the corresponding relation of ring ID and said source MAC and VID, again according to the corresponding relation of RPR looped network side interface and Ethernet side interface, preset Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of ring ID and source MAC and VID; With the corresponding relation of said RPR looped network side interface and said source MAC and VID, be arranged in the said two-layer retransmitting table 412 of said 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 through 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 Ethernet interface of the source MAC of meeting this Ethernet message of record in two-layer retransmitting table 412 and 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 and VID with it before the source MAC of record identical with VID, the local interface of the correspondence that then 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 said two-layer retransmitting table 412 according to the target MAC (Media Access Control) address and the VID of the said first Ethernet message.
Clean culture forwarding module 414; Be used for if said search module 413 said two-layer retransmitting table 412 find with the said first Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID; Then through the corresponding ethernet channel of said RPR looped network side interface, the said first Ethernet message to said RPR Service Processing Module 42 is transmitted in clean culture.Owing in two-layer retransmitting table 412, preserve the said corresponding relation that selects loops fruit and said a plurality of RPR looped network side interfaces; And said a plurality of RPR looped network side interface and target MAC (Media Access Control) address from the Ethernet message that said 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 through 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 said search module 413 said two-layer retransmitting table 412 do not find with the said first Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID; Said interface comprises said a plurality of RPR looped network side interface and local interface; Then according to the broadcasting behavior of presetting; Through said a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, the said first Ethernet message to said RPR Service Processing Module 42 is transmitted in broadcasting.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 through interface 1 or interface 2, thereby on outer shroud or interior ring, broadcasts this message, to avoid on outer shroud and interior ring, broadcasting this message to same RPR website simultaneously; 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 through the RPR website that outer shroud is broadcast to by this message through 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.
Said 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 said first Ethernet message that said Ethernet two layer service processing modules 41 are sent through the corresponding said Ethernet side interface of said ethernet channel, receives the 2nd RPR message that said RPR ring MAC module 43 is sent; Encapsulation decapsulation module 422 is used for the said first Ethernet message is encapsulated as a RPR message, and said the 2nd RPR message is descapsulated into the said second Ethernet message; Sending module 423, according to the corresponding relation of Ethernet side interface with ring ID, a said RPR message that will encircle after MAC module 43 will encapsulate through said RPR transmits to the outer shroud or the interior ring of said RPR looped network; According to the corresponding relation of said Ethernet side interface, the said second Ethernet message is forwarded to said Ethernet two layer service processing modules 41 through the corresponding said ethernet channel of selecting of said Ethernet side interface with ring ID.Wherein, In the present embodiment; According to the corresponding relation of Ethernet side interface, if a RPR message of RPR Service Processing Module 42 encapsulation is from encapsulating with the first Ethernet message that interface 1 corresponding interface 3 receives, then will sending through the ring 0 of RPR looped network with ring ID; RPR Service Processing Module 42 can be sent to RPR ring MAC module 431 with a RPR message, and sends from encircling 0 through RPR ring MAC module 432; If a RPR message of RPR Service Processing Module 42 encapsulation is from encapsulating with the first Ethernet message that interface 2 corresponding interfaces 3 receive; Then to send through the ring 1 of RPR looped network; RPR Service Processing Module 42 can be sent to RPR ring MAC module 432 with a RPR message, and sends from encircling 1 through 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 here.
Said RPR Service Processing Module 42 can also comprise: preliminary election ring module 424; The source MAC and the topology information of VID and said RPR looped network that are used for the second Ethernet message of said RPR MAC Address, encapsulation according to said the 2nd RPR message; Adopt the decision-making of preliminary election ring, calculate the corresponding relation of said ring ID and said source MAC and VID; Module 425 is set; Be used for the corresponding relation according to said RPR looped network side interface and said Ethernet side interface, preset said Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of said ring ID and said source MAC and VID; With the corresponding relation of said RPR looped network side interface and said source MAC and VID, be arranged in the said two-layer retransmitting table 412 of said Ethernet two layer service processing modules 41.
The RPR looped network that present embodiment provides; Through 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 said RPR looped network side interface and said 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 of loops fruit corresponding, can also be through 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 was sent from encircling 0 when the value of MAC Address was odd number; Correspondence was 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 this ring id information through in the band of Ethernet message or band is outer is transferred to RPR Service Processing Module 42, 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 the band, will encircle id information as an information field, inserts the Ethernet message, like the information field insertion of similar VLAN, MPLS; Be with the typical method of outer transmission ring id information to be, take the frame gap of Ethernet transmission, insert the ring id information and transmit, like 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 said RPR message, and from many ethernet channels, select an ethernet channel, and said 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 said Ethernet message.
Wherein, said 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 said 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, through 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 said Ethernet message to said 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 through correspondence is sent to local network device, concrete 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 said a plurality of RPR looped network side interfaces; Through 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, 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 through said many ethernet channels; 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 flow process as shown in Figure 5; 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 said RPR message, and target MAC (Media Access Control) address, source MAC and the VID of the said Ethernet message of encapsulation, said method also comprises:
Steps A, RPR Service Processing Module are according to the topology information of source MAC and the VID and the said RPR looped network of the said Ethernet message of the said RPR MAC Address in the said RPR message, encapsulation; Adopt the decision-making of preliminary election ring, calculate the corresponding relation of ring ID and said source MAC and VID;
Step B, according to the corresponding relation of said RPR looped network side interface and said Ethernet side interface, preset said Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of said ring ID and said source MAC and VID; The RPR Service Processing Module is arranged on the corresponding relation of said RPR looped network side interface and said source MAC and VID in the two-layer retransmitting table of said Ethernet two layer service processing modules.
Wherein, Comprise on the basis of above-mentioned steps A and step B; Said in the said step 502 selected an ethernet channel from many ethernet channels; Said Ethernet message is forwarded to Ethernet two layer service processing modules to be comprised: according to the corresponding relation of said Ethernet side interface and said ring ID, send said Ethernet message to said Ethernet two layer service processing modules through the corresponding ethernet channel of selecting of said Ethernet side interface.
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 through 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) carry out preliminary election ring decision calculation:
According to the RPR MAC mapping table of being set up, carry out preliminary election ring decision-making: use the information of being extracted, except that the source MAC and VID of the transmitting apparatus of above-mentioned RPR MAC Address, 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 corresponding RPR website of this RPR Service Processing Module; Data flow under the Ethernet message of the purpose RPR website that arrival RPR MAC Address is identified, the transmission ring that should select selects loops really to be designated Ri; Ri=0 representative ring 0 (being outer shroud), Ri=1 representative ring 1 (ring promptly).
Except that corresponding the selecting the loops fruit of above-mentioned RPR MAC mapping table; To every other situation, the choosing ring strategy that sends according to the choosing ring of user's default setting decision-making (as according to the odd even of IP address, MAC Address etc.), broadcasting etc., and the topology information of RPR looped network; Carry out preliminary election ring decision calculation; Obtain to select accordingly the loops fruit, as: Ri=0, expression is sent from encircling 0; Ri=1, expression is sent from encircling 1; Ri=2, expression is sent through 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 is with 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 through two-layer retransmitting table; Can the Ethernet message of correspondence 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 through 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 (possibly be that clean culture also possibly be broadcasting) to the purpose ethernet device.
The method that present embodiment provides from RPR looped network reception data; Through 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 said Ethernet message.
Step 602, Ethernet two layer service processing modules are selected an ethernet channel from many ethernet channels, said Ethernet message is sent to the RPR Service Processing Module.
After step 603, RPR Service Processing Module are encapsulated as the RPR message with said Ethernet message, select loops really, send on said Ethernet message to the interior ring or outer shroud of said RPR looped network according to what obtain.
Wherein, said 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 said 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 the message on the ring of RPR looped network; Then said Ethernet message is sent to RPR Service Processing Module 32, after said RPR Service Processing Module 32 is encapsulated as the RPR message with said Ethernet message, according to selecting loops really to be sent on the interior ring or outer shroud of said RPR looped network through one in many ethernet channels.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.Concrete 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 said a plurality of RPR looped network side interfaces; Through 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, 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 through said many ethernet channels; 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 flow process as shown in Figure 6, step 602 specifically can also comprise:
Step 6021, search two-layer retransmitting table, preserve the corresponding relation of said a plurality of RPR looped network side interfaces and MAC Address and VID in the said two-layer retransmitting table according to target MAC (Media Access Control) address and VID in the said Ethernet message;
Step 6022, if in said two-layer retransmitting table, find with said Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID, then transmit extremely said RPR Service Processing Module of said Ethernet message through the corresponding ethernet channel clean culture of said RPR looped network side interface;
Step 6023, if in said two-layer retransmitting table, do not find with said Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID; Said interface comprises said a plurality of RPR looped network side interface and local interface; Then according to the broadcasting behavior of presetting; Through said a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, said Ethernet message to said RPR Service Processing Module is transmitted in broadcasting.
Wherein if said RPR looped network side interface is two; The then broadcasting behavior of presetting of the said basis in the step 6023; Through said a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted said Ethernet message to said RPR Service Processing Module and is comprised:
Step 6023 ', when confirming that according to the topology information of said RPR looped network said RPR looped network is closed loop configuration, then transmit said Ethernet message to said RPR Service Processing Module through the broadcasting of one of two said RPR looped network side interfaces; In this step; Also can set simultaneously and transmit through two RPR looped network side interface broadcasting; But must preestablish the message of transmitting through each RPR looped network side interface broadcasting and mail to which the RPR website on the RPR looped network, as long as the RPR website that both direction sends is different.
Step 6023 ", when confirming that according to the topology information of said RPR looped network said RPR looped network is open loop structure, then broadcast respectively and transmit said Ethernet message to said RPR Service Processing Module through two said RPR looped network side interfaces.
In addition, also comprise: Ethernet two layer service processing modules delete preserve in the said two-layer retransmitting table the said 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 gets into 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 MAC Address and the mapping relations of VID and interface in the two-layer retransmitting table, if find matched interfaces, then said Ethernet message is transmitted in clean culture; If do not find matched interfaces, then said 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 in two-layer retransmitting table, finds 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 said 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; Through 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.
What should explain at last is: above embodiment is only in order to technical scheme of the present invention to be described but not limit it; Although the present invention has been carried out detailed explanation 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, also can not make amended technical scheme break away from the spirit and the scope of technical scheme of the present invention and these are revised or be equal to replacement.

Claims (12)

1. a 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 said RPR Service Processing Module ring medium access control MAC module with said a plurality of RPR looped network side interfaces;
Wherein, Form many ethernet channels between said a plurality of Ethernet side interfaces of said a plurality of RPR looped network side interface and correspondence, said Ethernet two layer service processing modules and said RPR Service Processing Module transmit the Ethernet message through said many ethernet channels.
2. RPR website according to claim 1 is characterized in that, said 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 said RPR Service Processing Module sends, comprise in the said Ethernet message: the sign VID of target MAC (Media Access Control) address, source MAC and VLAN;
Two-layer retransmitting table is used for preserving said 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 said two-layer retransmitting table according to the target MAC (Media Access Control) address and the VID of the said first Ethernet message;
The clean culture forwarding module; Be used for if said search module said two-layer retransmitting table find with the said first Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID; Then through the corresponding ethernet channel of said RPR looped network side interface, the said first Ethernet message to said RPR Service Processing Module is transmitted in clean culture.
3. RPR website according to claim 2 is characterized in that, said Ethernet two layer service processing modules also comprise:
The broadcasting forwarding module; Be used for if said search module said two-layer retransmitting table do not find with the said first Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID; Said interface comprises said a plurality of RPR looped network side interface and local interface; Then according to the broadcasting behavior of presetting, through said a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, the said first Ethernet message to said RPR Service Processing Module is transmitted in broadcasting.
4. according to claim 2 or 3 described RPR websites, it is characterized in that said RPR Service Processing Module comprises:
Second receiver module is used for receiving the said first Ethernet message that said Ethernet two layer service processing modules are sent through the corresponding said Ethernet side interface of said ethernet channel, receives the 2nd RPR message that said RPR ring MAC module is sent;
The encapsulation decapsulation module is used for the said first Ethernet message is encapsulated as a RPR message, and said the 2nd RPR message is descapsulated into the said second Ethernet message;
Sending module; Be used for according to the corresponding relation of said Ethernet side interface with ring ID; A said RPR message that will encircle after the MAC module will encapsulate through said RPR transmits to the outer shroud or the interior ring of said RPR looped network, and the ring ID of the outer shroud of said RPR looped network is ring 0, and the ring ID of interior ring is for encircling 1; According to the corresponding relation of said Ethernet side interface, the said second Ethernet message is forwarded to said Ethernet two layer service processing modules through the corresponding said ethernet channel of selecting of said Ethernet side interface with ring ID.
5. RPR website according to claim 4 is characterized in that, comprises the RPR MAC Address of RPR website in said the 2nd RPR message, and said RPR Service Processing Module also comprises:
Preliminary election ring module; The source MAC and the topology information of VID and said RPR looped network that are used for the second Ethernet message of said RPRMAC address, encapsulation according to said the 2nd RPR message; Adopt the decision-making of preliminary election ring, calculate the corresponding relation of said ring ID and said source MAC and VID;
Module is set; Be used for the corresponding relation according to said RPR looped network side interface and said Ethernet side interface, preset said Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of said ring ID and said source MAC and VID; With the corresponding relation of said RPR looped network side interface and said source MAC and VID, be arranged in the said two-layer retransmitting table of said Ethernet two layer service processing modules.
6. the method to RPR looped network transmission data is characterized in that, comprising:
Receive the Ethernet message that local network device sends, comprise the sign VID of medium access control MAC address, source, target MAC (Media Access Control) address and VLAN in the said Ethernet message;
From many ethernet channels, select an ethernet channel; Said Ethernet message is sent to the RPR Service Processing Module; And after by said RPR Service Processing Module said Ethernet message being encapsulated as the RPR message, be sent on the outer shroud or interior ring of said RPR looped network;
Wherein, said 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 said RPR Service Processing Module have.
7. method according to claim 6 is characterized in that, saidly from many ethernet channels, selects an ethernet channel, said Ethernet message is sent to the RPR Service Processing Module comprises:
Target MAC (Media Access Control) address and VID according in the said Ethernet message search two-layer retransmitting table, preserve the corresponding relation of said a plurality of RPR looped network side interfaces and MAC Address and VID in the said two-layer retransmitting table;
If in said two-layer retransmitting table, find with said Ethernet message in target MAC (Media Access Control) address and the corresponding RPR looped network side interface of VID, then transmit extremely said RPR Service Processing Module of said Ethernet message through the ethernet channel clean culture of said RPR looped network side interface correspondence;
If in said two-layer retransmitting table, do not find with said Ethernet message in target MAC (Media Access Control) address and the corresponding interface of VID; Said interface comprises said a plurality of RPR looped network side interface and local interface; Then according to the broadcasting behavior of presetting; Through said a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, said Ethernet message to said RPR Service Processing Module is transmitted in broadcasting.
8. method according to claim 7; It is characterized in that; If said RPR looped network side interface is two; The broadcasting behavior that then said basis presets, through said a plurality of RPR looped network side interfaces or one of them pairing ethernet channel, broadcasting is transmitted said Ethernet message to said RPR Service Processing Module and is comprised:
When confirming that according to the topology information of said RPR looped network said RPR looped network is closed loop configuration, then transmit said Ethernet message to said RPR Service Processing Module through the broadcasting of one of two said RPR looped network side interfaces;
When confirming that according to the topology information of said RPR looped network said RPR looped network is open loop structure, then broadcast respectively and transmit said Ethernet message to said RPR Service Processing Module through two said 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 said two-layer retransmitting table the said 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. the 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;
Said RPR message is descapsulated into the Ethernet message; And from many ethernet channels, select an ethernet channel; Said Ethernet message is forwarded to Ethernet two layer service processing modules, and is sent to local network device by said Ethernet two layer service processing modules;
Wherein, said 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 said RPR Service Processing Module have.
11. method according to claim 10 is characterized in that, comprises the RPRMAC address of RPR website in the said RPR message, and the sign VID of target MAC (Media Access Control) address, source MAC and the VLAN of the said Ethernet message of encapsulation, said method also comprises:
According to the source MAC of the said Ethernet message of the said RPR MAC Address in the said RPR message, encapsulation and the topology information of VID and said RPR looped network, adopt the decision-making of preliminary election ring, calculate the corresponding relation of ring ID and said source MAC and VID;
According to the corresponding relation of said RPR looped network side interface and said Ethernet side interface, preset said Ethernet side interface and the corresponding relation of ring ID and the corresponding relation of said ring ID and said source MAC and VID; Corresponding relation with said RPR looped network side interface and said source MAC and VID; Be arranged in the two-layer retransmitting table of said Ethernet two layer service processing modules; Wherein, the ring ID of the outer shroud of said RPR looped network is ring 0, and the ring ID of interior ring is ring 1.
12. method according to claim 11 is characterized in that, saidly from many ethernet channels, selects an ethernet channel, said Ethernet message is forwarded to Ethernet two layer service processing modules comprises:
According to the corresponding relation of said Ethernet side interface and said ring ID, send said Ethernet message to said Ethernet two layer service processing modules through the corresponding ethernet channel of selecting of said Ethernet side interface.
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 CN101656649A (en) 2010-02-24
CN101656649B true 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)

Families Citing this family (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
CN101656649A (en) 2010-02-24

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
CN104221332B (en) LAN multiplexer
CN101325551B (en) Method and device for processing message
CN107517488A (en) The method and apparatus of Message processing
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
CN101262429B (en) A system and method for realizing virtual private network communication
US9860160B2 (en) Multipath switching using per-hop virtual local area network classification
CN102594651A (en) Service protection method in PBB H-VPLS network
CN104009903A (en) Flow forwarding method and device for RPR network
CN100518128C (en) Multi-point to multi-point VPN interconnecting method, system and device in PBT network
WO2019062268A1 (en) Method, apparatus and system for transmitting multicast message
CN100337453C (en) Method for implementing message forwarding along RPR ring and RPR network
CN101656649B (en) RPR station, method for sending and receiving data to and from RPR loop network
CN107196798A (en) Network apparatus management system and its method in telecommunication management network
CN102611603B (en) The foundation of the static tunnel MPLS forwarding table, data transmission method and device
CN100502341C (en) Implementing method and system for transmitting Ethernet service over RPR network
CN100454907C (en) Method and device for realizing elastic sectionalization ring guiding protective inverting
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
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
CN117729069A (en) Multi-mode network cross-domain networking system and high-speed aggregation method for cross-domain interconnection thereof
CN117713908A (en) High-flux satellite network interconnection method and system for distributed sites

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