CN100349440C - Ethernet data transmission method via RPR transmission - Google Patents

Ethernet data transmission method via RPR transmission Download PDF

Info

Publication number
CN100349440C
CN100349440C CNB2004100790459A CN200410079045A CN100349440C CN 100349440 C CN100349440 C CN 100349440C CN B2004100790459 A CNB2004100790459 A CN B2004100790459A CN 200410079045 A CN200410079045 A CN 200410079045A CN 100349440 C CN100349440 C CN 100349440C
Authority
CN
China
Prior art keywords
ethernet
mac address
rpr
rpr network
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2004100790459A
Other languages
Chinese (zh)
Other versions
CN1744556A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100790459A priority Critical patent/CN100349440C/en
Publication of CN1744556A publication Critical patent/CN1744556A/en
Application granted granted Critical
Publication of CN100349440C publication Critical patent/CN100349440C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for transmitting Ethernet data through an RPR (Resilient Packet Ring) ring network. The present invention record a corresponding relationship between Ethernet addresses and MAC addresses of RPR network nodes in a two-layer MAC address forwarding table in Ethernet; in this way, when Ethernet service messages need to be transmitted through the RPR ring network, the information of the MAC addresses of objective nodes of the Ethernet service messages in the RPR ring network can determined according to the MAC address forwarding table in the process that the Ethernet carries out two-layer forwarding processing. In the process that the Ethernet service messages are loaded into the RPR ring network, the processing process of mapping of the Ethernet service messages from Ethernet messages to the RPR nodes is needed, and thus, strict path selection of the transmission of the Ethernet data in the RPR ring network can be achieved by directly executing encapsulation processing based on an RPR protocol. Thus, the problem of cooperative work between the two-layer forwarding processing of the Ethernet messages and the RPR ring network is effective solved.

Description

Ethernet data is by the method for Resilient Packet Ring transmission
Technical field
The present invention relates to network communications technology field, relate in particular to the method for a kind of Ethernet data by the Resilient Packet Ring transmission.
Background technology
Flourish along with data service requires traditional SDH (Synchronous Digital Hierarchy) transmission network to support data service, and EOS (Ethernet over SDH, SDH carries Ethernet service) has obtained using widely and developing with its high bandwidth utilization.The RPR technology has then been improved traditional EOS networking mode; realized the fair statistic multiplexing of looped network bandwidth; and fairly perfect wrap protection is provided, therefore, realize that with RPR the transmission of the physical layer of data has obtained approval and application more and more widely.
Yet the intrinsic characteristics of looped network have determined the SDH transmission time slot that all nodes sharing are identical on the identical hoop, so if data service can not obtain termination on the purpose looped network node, then can cause ring to go up the huge waste of bandwidth, also can't demonstrate fully the advantage of RPR simultaneously.Therefore, on RPR, build two layers of switching network of Ethernet, Ethernet need be carried out the coordinating and unifying at the processing procedure and the RPR of corresponding data business at the processing procedure of data service, thereby guarantee that business waiting for transmission can transmit between Ethernet and RPR.
At the intercommunication of professional transmission between Ethernet and RPR, currently used a kind of method is the forwarding handling process that keeps two layers of reciprocal exchange of business of original Ethernet fully, and increases RPR information processing process separately on this basis.Concrete professional level is as follows:
As shown in Figure 1, when the descending RPR message of loop side enters the RPR layer and carries out the processing of RPR relevant information, at first extract RPR MAC (access control of the RPR medium) address in the message and the MAC Address of two layers of Ethernet, and preserve the mapping relations of RPR MAC Address and ethernet mac address; Peel off the RPR encapsulation of described message then, and enter Ethernet two layer service processing modules with the standard ethernet encapsulation format and carry out two layers and transmit and handle, promptly carry out conventional ethernet mac address study and transmit and handle.
Ethernet message for the user side access, then after handling through two layers of Ethernet service, Ethernet encapsulation format with standard enters into the RPR processing layer, in the RPR processing layer with two layers of Ethernet target MAC (Media Access Control) address be key assignments hit preserve the ring RPR information, thereby obtain the professional forward-path of going up ring, and on RPR, carry out message forwarding according to the forward-path that obtains and handle; For the message that can't find corresponding forward-path according to target MAC (Media Access Control) address in the RPR of last ring information, then the mode by broadcasting sends processing on the net at RPR.
As can be seen, the intercommunication that solves at present between Ethernet and RPR is the processing mode of working in coordination with two layers of transmission network of Ethernet and RPR by the mapping relations table of RPR level increase ethernet mac address between two nets and RPR MAC Address, though also can solve the Path selection problem of two layer service messages on ring, but the mapping relations list item needs independent maintenance, has increased the pressure of software processes; Simultaneously, searching this mapping relations need search algorithm or by proprietary hardware resource realization, as CAM (Content Addressable Memory Content Addressable Memory), increase hardware and software cost by special software.Therefore, will waste a large amount of system handles resources if use this method to carry out between Ethernet and RPR service intercommunication, thereby reduce the performance of system.
At present, the another kind of method that adopts at the intercommunication of professional transmission between Ethernet and RPR is not consider destination node information, after the Ethernet message carries out two layers of forwarding processing, message after RPR carries out RPR broadcasting encapsulation process again and will handle is broadcasted on RPR, be about to message and on looped network, do two-way/One-to-All Broadcast, stop the broadcasting of message on looped network by TTL (time to live life cycle) or source node.
The front end that this method has been simplified at described message inserts processing, the message that promptly need not to carry out again front end transmits Path Determination on RPR, get final product and directly carry out transmission process, but because all business are to broadcast processing on RPR, so will take the bandwidth resources of a large amount of RPR, promptly wasted the looped network bandwidth resources, the characteristic that makes the bandwidth huge profit of RPR technology use can't obtain perfect the embodiment.That is to say, transmit combining of professional and RPR, in actual application, but because of above-mentioned former thereby be not the implementation of a kind of good Ethernet and RPR intercommunication although this technical scheme can realize two layers of Ethernets in theory.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide the method for a kind of Ethernet data, thereby can reduce the system resource that takies when making two net interconnectings by Resilient Packet Ring transmission, comprise system bandwidth resource and system handles resource.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides the method for a kind of Ethernet data, comprising by the Resilient Packet Ring transmission:
After A, Ethernet are received the message that the RPR network sends, from described message, parse the MAC Address of two layers of media access control MAC address of Ethernet and the RPR network node corresponding respectively with it;
The corresponding relation of the MAC Address of described ethernet mac address of record and RPR network node in B, the mac address forwarding table in Ethernet;
C, when needs when the RPR Network Transmission Ethernet service, then described business is sent to the RPR network and transmits according to the corresponding relation that writes down in the described mac address forwarding table.
Described steps A also comprises:
In Ethernet, transmit processing behind the packet parsing that the RPR network that Ethernet is received is sent.
Described step B comprises:
Increase the list item information that is used for record identification position information and RPR network MAC address in B1, the mac address forwarding table in Ethernet;
B2, described ethernet mac address is recorded in the mac address forwarding table in the corresponding list item, the MAC Address of described RPR network node is recorded in the RPR network MAC address list item of increase, and identifies the MAC Address that this MAC Address is the RPR network node by sign position information table.
Described step B2 comprises:
MAC address learning process by two layer service processing modules in the Ethernet is recorded in the MAC Address of described ethernet mac address and RPR network node in the mac address forwarding table.
Described step C comprises:
In the time need carrying out the transmission of Ethernet service message by the RPR network, in Ethernet service is handled, the corresponding relation that writes down in two layers of described mac address forwarding table of target MAC (Media Access Control) address information searching according to described service message, determine the purpose RPR network MAC address of described service message, and described service message is transmitted in the RPR network according to the RPR network MAC address of determining.
Described step C also comprises:
At the RPR network edge node, determine the relevant information of described message destination node on the RPR network according to the purpose RPR network MAC address information of described service message, and by the information of determining described service message is carried out RPR encapsulation back and on the RPR network, transmit.
As seen from the above technical solution provided by the invention, the present invention is the corresponding relation that the mac address forwarding table of preservation writes down the MAC Address of described ethernet mac address and RPR network node in handling by Ethernet two layer services, like this, when the Ethernet service message need transmit by RPR, at the two layers of mac address information that promptly can determine described message destination node in RPR according to mac address forwarding table of Ethernet, and on described message, no longer need in the RPR process message is carried out the mapping processing procedure of Ethernet message to the RPR node, directly carry out corresponding encapsulation process and just can realize the strict Path selection that Ethernet data transmits on the RPR ring based on the RPR agreement, thereby effectively solved the Ethernet message and transmitted the collaborative work problem of handling with RPR for two layers, and can reduce system bandwidth resource and the system handles resource that takies when utilizing RPR transmission Ethernet service effectively.
Description of drawings
Fig. 1 is the schematic diagram 1 of RPR network and Ethernet intercommunication in the prior art;
Fig. 2 is the schematic diagram 2 of RPR network and Ethernet intercommunication in the prior art;
Fig. 3 is the schematic diagram of RPR network among the present invention and Ethernet intercommunication;
Fig. 4 is the structural representation of the mac address forwarding table among the present invention.
Embodiment
The core concept of method of the present invention is to realize when needs pass through RPR Network Transmission Ethernet service, can determine the transmission path of described business in the RPR network exactly, thereby avoid adopting the mode of broadcasting to carry out the transmission process of described business on the net at RPR, save the bandwidth resources on the RPR, simultaneously, the present invention has also adopted the method for the MAC Address corresponding relation of two nets that need in the record transmission course in the mac address forwarding table of two layers of existing Ethernet, to reduce taking system resource in the deterministic process of path.That is to say, the objective of the invention is when needs use RPR to carry two layers of reciprocal exchange of business of Ethernet, can select two layers to transmit the professional last endless path that enters RPR fast and effectively according to described mac address forwarding table.
For the present invention there being clearer understanding, specific implementation of the present invention is described further below in conjunction with accompanying drawing.
As shown in Figure 3, RPR ring and when entering Ethernet and transmitting under the service message that transmits on RPR needs, no longer on RPR network edge node, carry out the foundation of the MAC Address and the ethernet mac address mapping relations of RPR node, carry out two layers of forwarding processing but directly complete RPR message is sent into Ethernet two layer service processing layers, the MAC Address and the ethernet mac address of the RPR network node that carries in Ethernet two layer service processing layers need be according to the RPR message write down corresponding information in mac address forwarding table, promptly passing through the corresponding relation of the MAC Address of RPR message encapsulation corresponding ethernet mac address of record itself and RPR node, is to realize that by a learning process in two layer service processing modules two layers of ethernet mac address reach and the study that encircles node M AC address mapping relation at the Ethernet double layer network.Because need in the ethernet mac forwarding-table item, directly write down the two layers of Ethernet forwarding information (target MAC (Media Access Control) address) of described message and the MAC information (mac address information of RPR network node) of source node, so need in ethernet mac address is transmitted, increase following list item information existing, as shown in Figure 4, the information that writes down in the list item that increases is in order to the more accurate source information of the MAC Address that embodies described RPR network node, and the list item information of described increase comprises:
Sign bit table item: the MAC Address that is used to identify record is from the Ethernet local node, still from the node on the RPR, be the sign position as the R position among Fig. 4, for example, can be set to when this sign position is 1, represent that this MAC Address is the MAC Address on the looped network, when this sign position is 0, represent the MAC Address of this MAC Address for this node;
Node M AC information table: if the source node of these two layers of ethernet mac address and non-Ethernet local node, then this node M AC information is used to write down the source node MAC information of this two layer service, promptly writing down the source node MAC information of described two layer services in the RPR network, as shown in Figure 4, write down the high 16bits of described source node MAC Address among the NODE_MAC in the table (high16) (being that node M AC address is high 16), writing down the low 32bits of described source node MAC Address among the NODE MAC (low32);
Rev field in the table shown in Figure 4 is a reserved field, uses in order to expansion later on.
Described two layers of ethernet mac address and as follows with the concrete learning process of the last node M AC address mapping relation of ring: the downlink business for RPR (is RPR (business of user side), when study module judges that these two layers of ethernet mac address were not learnt, then extracting the RPR source MAC address information in the message, two layers of ethernet mac address information and other relevant information according to the extraction of designing requirement needs learns, CPU is recorded in these information during MAC transmits, and to put the R position be 1, identify this MAC Address from RPR, as shown in Figure 4; Business for the user side access, because the user side message is not the RPR encapsulated message, when study module judges that these two layers of ethernet mac address were not learnt, two layers of ethernet mac address information and other relevant information according to the extraction of designing requirement needs then directly extracted in the message are learnt, and to put the R position be 0, identifying this MAC Address is this node MAC Address, and the RPR mac address information in the table at this moment shown in Figure 4 is invalid.
Message hits in the process in the MAC Address of carrying out the forwarding of two layer services like this, judge when R=1, just know with this MAC Address to be that ring is handled on the needs of business of purpose, then can directly from transmitting, obtain MAC the MAC information of destination node, and after obtaining other RPR relevant information of the node of safeguarding by the RPR agreement according to this information at the RPR layer, the for example Ye Wu grade of service, TTL (time to live, life span) relevant information of the RPR node of 802.17 protocol definitions such as, then, carry out ring processing in the RPR encapsulation.
As can be seen, the present invention is that the direct keeping records of MAC Address corresponding relation between two nets that RPR network and Ethernet intercommunication are needed is in the mac address forwarding table of two layers of Ethernets, thereby saved the trouble of independent maintenance, the described corresponding relation of inquiry, and can satisfy the needs of two interworking between networks well.
After above processing procedure has been arranged among the present invention, when the Ethernet service of client access need transmit by RPR, in the two layers of processing of Ethernet of front end of described service message process, only can obtain the mac address information of the destination node of described service message in RPR, thereby accurately determine the transmission path of described service message in the RPR net by the process of hitting of Ethernet target MAC (Media Access Control) address; Promptly need not independent mapping processing procedure, just can finish the Path selection of the service message of RPR, and after definite destination node MAC information, the selection in inner and outer rings path then is to be determined by the RPR agreement in the RPR network.That is to say, the described Ethernet service message that need transmit by RPR is when two layers of Ethernets are handled, just can determine the mac address information of the destination node of described message in RPR, like this, on described message, just can directly determine its transmission path on RPR before the RPR according to the mac address information of the RPR network node of determining, and need not as first kind of implementation of the prior art, to carry out once more the query processing of MAC Address mapping table, simplified corresponding processing procedure greatly.
This processing mode to message has been simplified the mapping process of Ethernet message to the RPR node, by optimizing two layers of forwarding process of Ethernet, finished the strict Path selection that Ethernet data transmits on the RPR ring, effectively solved the Ethernet message and transmitted the collaborative work problem of handling with RPR for two layers.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.

Claims (6)

1, a kind of Ethernet data is characterized in that by the method for Resilient Packet Ring transmission, comprising:
After A, Ethernet are received the message that the RPR network sends, from described message, parse the MAC Address of Ethernet media access control MAC address and the RPR network node corresponding respectively with it;
The corresponding relation of the MAC Address of described ethernet mac address of record and RPR network node in B, the mac address forwarding table in Ethernet;
C, when needs when the RPR network transmits Ethernet service, then described business is sent to the RPR network and transmits according to the corresponding relation that writes down in the described mac address forwarding table.
2, Ethernet data according to claim 1 is characterized in that by the method for Resilient Packet Ring transmission described steps A also comprises:
In Ethernet, transmit processing behind the packet parsing that the RPR network that Ethernet is received is sent.
3, Ethernet data according to claim 1 is characterized in that by the method for Resilient Packet Ring transmission described step B comprises:
Increase the list item information that is used for record identification position information and RPR network MAC address in B1, the mac address forwarding table in Ethernet;
B2, described ethernet mac address is recorded in the mac address forwarding table in the corresponding list item, the MAC Address of described RPR network node is recorded in the RPR network MAC address list item of increase, and identifies the MAC Address that this MAC Address is the RPR network node by sign position information table.
4, Ethernet data according to claim 3 is characterized in that by the method for Resilient Packet Ring transmission described step B2 comprises:
MAC address learning process by two layer service processing modules in the Ethernet is recorded in the MAC Address of described ethernet mac address and RPR network node in the mac address forwarding table.
5, according to claim 1 or 3 described Ethernet datas method, it is characterized in that described step C comprises by the Resilient Packet Ring transmission:
In the time need carrying out the transmission of Ethernet service message by the RPR network, in Ethernet service is handled, the corresponding relation that writes down in the described mac address forwarding table of Ethernet target MAC (Media Access Control) address information searching according to described service message, determine the purpose RPR network MAC address of described service message, and described service message is transmitted in the RPR network according to the RPR network MAC address of determining.
6, Ethernet data according to claim 5 is characterized in that by the method for Resilient Packet Ring transmission described step C also comprises:
At the RPR network edge node, determine the relevant information of described message destination node on the RPR network according to the purpose RPR network MAC address information of described service message, and by the information of determining described service message is carried out RPR encapsulation back and on the RPR network, transmit.
CNB2004100790459A 2004-09-04 2004-09-04 Ethernet data transmission method via RPR transmission Expired - Fee Related CN100349440C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100790459A CN100349440C (en) 2004-09-04 2004-09-04 Ethernet data transmission method via RPR transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100790459A CN100349440C (en) 2004-09-04 2004-09-04 Ethernet data transmission method via RPR transmission

Publications (2)

Publication Number Publication Date
CN1744556A CN1744556A (en) 2006-03-08
CN100349440C true CN100349440C (en) 2007-11-14

Family

ID=36139757

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100790459A Expired - Fee Related CN100349440C (en) 2004-09-04 2004-09-04 Ethernet data transmission method via RPR transmission

Country Status (1)

Country Link
CN (1) CN100349440C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123615B (en) * 2007-08-21 2010-12-08 中兴通讯股份有限公司 Ethernet service discovery method and discovery device for Ethernet service
DE102011088812A1 (en) * 2011-12-16 2013-06-20 Ge Energy Power Conversion Gmbh Method for transmitting user data
CN109194386B (en) * 2018-09-20 2020-06-19 新华三技术有限公司 Data message forwarding method and device
CN110753010B (en) * 2019-10-22 2021-11-02 新华三信息安全技术有限公司 Message forwarding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472938A (en) * 2002-08-02 2004-02-04 ���Ͽع����޹�˾ Method and device for carrying out terminal to terminal connection between RPR net and MPLS net
KR20040029726A (en) * 2002-10-02 2004-04-08 주식회사 케이티 Method for providing service of monitoring internet traffic
CN1490987A (en) * 2002-10-18 2004-04-21 ��Ϊ�������޹�˾ Method for transmitting digital business on synchronous digital network
WO2004047374A1 (en) * 2002-11-18 2004-06-03 Wuhan Fiberhome Networks Co., Ltd. Transmission apparatus and method of multi-service tributaries over rpr

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472938A (en) * 2002-08-02 2004-02-04 ���Ͽع����޹�˾ Method and device for carrying out terminal to terminal connection between RPR net and MPLS net
KR20040029726A (en) * 2002-10-02 2004-04-08 주식회사 케이티 Method for providing service of monitoring internet traffic
CN1490987A (en) * 2002-10-18 2004-04-21 ��Ϊ�������޹�˾ Method for transmitting digital business on synchronous digital network
WO2004047374A1 (en) * 2002-11-18 2004-06-03 Wuhan Fiberhome Networks Co., Ltd. Transmission apparatus and method of multi-service tributaries over rpr

Also Published As

Publication number Publication date
CN1744556A (en) 2006-03-08

Similar Documents

Publication Publication Date Title
CN101719877B (en) Message forwarding device, network equipment and method
CN101330405B (en) Method for discovering network topology and related equipment
CN103841023B (en) The method and apparatus of data forwarding
CN101087296B (en) Method for utilizing network processor to translate the IPv4/IPv6 network protocol
CN103685006A (en) Packet forwarding method for edge device and edge device
CN101877671B (en) Sending method of mirror image message, switch chip and Ethernet router
CN100490418C (en) Virtual local network-based data exchanging method and equipment
CN101577722A (en) Method for realizing MAC forced forwarding function and device
CN104704779A (en) Method and apparatus for accelerating forwarding in software-defined networks
CN102938794A (en) Address resolution protocol (ARP) message forwarding method, exchanger and controller
CN101325554B (en) Method for establishing route, forwarding chip and three-layer switchboard
US9871893B2 (en) Method for making 32-bit addressing of SV data by utilizing FPGA
CN107707476B (en) Efficient wireless forwarding device and method based on FPGA
CN101453413A (en) Method and apparatus for automatic topology discovery and resource management in PBB network
CN101668025A (en) Method and device for discovering link layer network topology
CN107615710A (en) Direct reply action in SDN switch
CN109905321A (en) A kind of route control system interacted for customized high-speed interface with Ethernet
CN106533943A (en) Method for realizing microcode and flow table based on network switching chip
WO2011072610A1 (en) Method, device and system for publication and acquisition of content
KR100896438B1 (en) Tunneling ipv6 packet through ipv4 network using a tunnel entry based on ipv6 prefix
CN104426762A (en) Metadata transmitting and receiving method and OFLS (open flow logic switch)
CN100514928C (en) Method for rapidly forming dendriform topology structure of network equipment
CN100349440C (en) Ethernet data transmission method via RPR transmission
CN104584492A (en) Packet processing method, device and system
CN102882761B (en) VPLS realization method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071114

Termination date: 20150904

EXPY Termination of patent right or utility model