CN105721269A - Protection method and device for Ethernet ring network - Google Patents

Protection method and device for Ethernet ring network Download PDF

Info

Publication number
CN105721269A
CN105721269A CN201410734985.0A CN201410734985A CN105721269A CN 105721269 A CN105721269 A CN 105721269A CN 201410734985 A CN201410734985 A CN 201410734985A CN 105721269 A CN105721269 A CN 105721269A
Authority
CN
China
Prior art keywords
frame
port
site
gfp
home site
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410734985.0A
Other languages
Chinese (zh)
Other versions
CN105721269B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410734985.0A priority Critical patent/CN105721269B/en
Priority to PCT/CN2015/079218 priority patent/WO2016086615A1/en
Publication of CN105721269A publication Critical patent/CN105721269A/en
Application granted granted Critical
Publication of CN105721269B publication Critical patent/CN105721269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a protection method and device for an Ethernet ring network, and the method comprises the steps that a main port of a main station point in the Ethernet ring network transmits a first data frame to a slave station point, wherein the first frame comprises the identification information used for indicating the main station point; the main station point receives a second data frame from a slave port, wherein the second data frame is a data frame which is transmitted by the slave station point and responds to the first data frame; and the slave port is started when the main station point detects that the second data frame does not comprise the identification information. According to the invention, the method solve problems of complex contents and difficult maintenance of an Ethernet ring network protection method in the related technologies in a mode of spanning tree protocol during Ethernet ring network protection, thereby achieving the effect of improving the protection switching rate of the Ethernet ring network.

Description

The guard method of ethernet ring network and device
Technical field
The present invention relates to the communications field, in particular to guard method and the device of a kind of ethernet ring network.
Background technology
Generic Framing Procedure (GenericFramingProcedure is referred to as GFP) is a kind of link layer standard of definition in ITU-TG.7041.It is a kind of general adaptation mechanism, the variable length payload of various client signals can be encapsulated, and be mapped on SDH (SynchronousDigitalHierarchy is referred to as SDH), PDH (PlesiochronousDigitalHierarchy is called for short PDH) and optical transfer network (OpticalTransportNetwork is referred to as OTN) network and transmit so that each high-rise client signal process on transmission network simplifies more.According to the difference to client signal mapping mode, GFP can be divided into two classes, and a class is that framing maps GFP (GFP-F), and it transmits after a complete signal assemble to GFP again, such as Ethernet message;Another kind of is transparent mapped GFP (GFP-T), and it is encapsulated into a gfp frame a part for client signal character and just transmits.
GFP defines two kinds of frame: GFP customer frame and GFP control frame.The customer frame of definition has client data frame and customer account management frame two kinds at present.Wherein client data frame is used for transmitting client signal, and manages frame and connect relevant management information for transmitting to client signal or GFP.For adapting to different transmission means, GFP additionally provides payload extension header mechanism flexibly.
GFP can at transmission net element, such as SDH, OTN, middle application, it is also possible at data network element, such as ip router, Ethernet switch, middle application.In SDH network, GFP has become as the encapsulation technology of a kind of main flow especially, as in MSTP product, this MSTP is based on the multi-service transport platform of SDH, by EoS (EthernetoverSDH) technology, Ethernet service is encapsulated in GFP, in that context it may be convenient to realize the interconnection and interflow of each plant equipment.
For some to the exigent application of network communication quality, such as the railway network, electrical network etc., when adopting Ethernet data product to carry out networking, all can protect by configuration ethernet looped network.Current each equipment manufacturer has been provided which that the mode enabling Spanning-Tree Protocol carries out looped network protection.Adopting the Spanning-Tree Protocol in correlation technique to carry out Ethernet ring protection and have the disadvantage in that Spanning-Tree Protocol type is many, content is complicated, and the requirement of developer and attendant is all significantly high, and the construction cycle is long, and maintenance difficulties is big;The convergence time of Spanning-Tree Protocol is relatively slow, and link failure detection not in time, does not reach carrier class pretection switch requirement;Running agreement hardware requirement is higher, as needed to take more cpu resource when running multiple spanning-tree instance, the reliability of software also determines the reliability of network simultaneously.
For in correlation technique during looped network protection, by the problem that Ethernet ring protection method content is complicated, maintenance difficulties is big that the mode of Spanning-Tree Protocol is brought, not yet proposing effective solution at present.
Summary of the invention
Present invention is primarily targeted at guard method and device that a kind of ethernet ring network is provided, during solve at least looped network protection in correlation technique, by the problem that Ethernet ring protection method content is complicated, maintenance difficulties is big that the mode of Spanning-Tree Protocol is brought.
According to an aspect of the present invention; provide the guard method of a kind of ethernet ring network; described method includes: the home site in ethernet ring network sends the first Frame by the master port of this home site to slave site; wherein, described first Frame carries the identification information for indicating described home site;Described home site receives the second Frame from from port, and wherein, described second Frame is the Frame that described slave site sends in response to described first Frame;When described home site does not carry described identification information in described second Frame being detected, open the described link transmission business datum performing described ethernet ring network from port.
Further, described first Frame is Generic Framing Procedure gfp frame, and described identification information is positioned at the extension header field of described gfp frame.
Further, described method also includes: when described home site carries described identification information in described second Frame being detected, blocks described from port.
Further, when business datum is interrupted, the extension header field of described second Frame is empty extension header.
Further, when business datum is interrupted, home site in ethernet ring network by the master port of this home site to after slave site sends the first Frame, described method includes: described home site sends described GFP customer account management frame to the specified sites being connected with this home site, or described slave site sends described GFP customer account management frame to the specified sites being connected with this slave site;Wherein, described GFP customer account management frame is for indicating described specified sites to delete locally stored mac address table.
Further, when described specified sites is slave site, described GFP customer account management frame is sent to the specified sites being connected with this home site at described home site, or described slave site is to after the specified sites being connected with this slave site sends described GFP customer account management frame, including: described specified sites continues to the website described GFP customer account management frame of transmission being connected with this specified sites.
Further, when described ethernet ring network is made up of multiple looped networks, the described master port of the described home site in described Ethernet and the described identification information that can only forward other home sites less than described identification information numerical value from port.
According to another aspect of the present invention; provide the protection device of a kind of ethernet ring network; it is arranged in the home site of Ethernet; described device includes: sending module; for sending the first Frame by master port to slave site; wherein, described first Frame carries the identification information for indicating described home site;Receiver module, for receiving the second Frame from from port, wherein, described second Frame is the Frame that described slave site sends in response to described first Frame;Detection module, during for not carrying described identification information in described second Frame being detected, opens the described link transmission business datum performing described ethernet ring network from port.
Further, described first Frame is Generic Framing Procedure gfp frame, and described identification information is positioned at the extension header field of described gfp frame.
Further, described detection module is additionally operable to, and when carrying described identification information in described second Frame being detected, blocks described from port.
Further, when business datum is interrupted, the extension header field of described second Frame is empty extension header.
Further, when business datum is interrupted, described receiver module is additionally operable to, receive the GFP customer account management frame from described slave site, or described sending module is additionally operable to send described GFP customer account management frame to the website being connected with home site, wherein, described GFP customer account management frame is for indicating described website to delete locally stored mac address table.
By the present invention, the home site in ethernet ring network is adopted to send the first Frame by the master port of this home site to slave site;Wherein, the first Frame carries the identification information for indicating home site;And then home site receives the second Frame from from port;Wherein, the second Frame is the Frame that slave site sends in response to the first Frame;When this home site does not carry identification information in the second Frame being detected; the mode of unlatching link transmission business datum from port execution ethernet ring network; when solving looped network protection in correlation technique; by the problem that Ethernet ring protection method content is complicated, maintenance difficulties is big that the mode of Spanning-Tree Protocol is brought, and then reach to improve the effect of looped network protection switching speed.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the guard method flow chart of ethernet ring network according to embodiments of the present invention;
Fig. 2 is the protection apparatus structure block diagram of ethernet ring network according to embodiments of the present invention;
Fig. 3 is the Ethernet ring protection apparatus structure block diagram based on Generic Framing Procedure according to alternative embodiment of the present invention;
Fig. 4 is the GFP customer frame structural representation according to alternative embodiment of the present invention;
Fig. 5 is the typical Ethernet ring network schematic diagram of two tangent ring networks according to alternative embodiment of the present invention;
Fig. 6 is the process flow figure according to this Ethernet ring protection based on Generic Framing Procedure sending out bright embodiment optional;
Fig. 7 is the network topology schematic diagram of certain interrupted communication link according to alternative embodiment of the present invention;
Fig. 8 is the process flow figure that the Ethernet ring protection when the link is broken according to alternative embodiment of the present invention is switched.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.
Providing the guard method of a kind of ethernet ring network in the present embodiment, Fig. 1 is the guard method flow chart of ethernet ring network according to embodiments of the present invention, as it is shown in figure 1, this flow process comprises the steps:
Step S102: the home site in ethernet ring network sends the first Frame by the master port of this home site to slave site;
Wherein, the first Frame carries the identification information for indicating home site;
Step S104: home site receives the second Frame from from port;
Wherein, the second Frame is the Frame that slave site sends in response to the first Frame;
Step S106: when home site does not carry identification information in the second Frame being detected, opens and performs the link transmission business datum ethernet ring network from port.
In the present embodiment, the home site in ethernet ring network is adopted to send the first Frame by the master port of this home site to slave site;Wherein, the first Frame carries the identification information for indicating home site;And then home site receives the second Frame from from port;Wherein, the second Frame is the Frame that slave site sends in response to the first Frame;When this home site does not carry identification information in the second Frame being detected; the mode of unlatching link transmission business datum from port execution ethernet ring network; when solving looped network protection in correlation technique; by the problem that Ethernet ring protection method content is complicated, maintenance difficulties is big that the mode of Spanning-Tree Protocol is brought, and then reach to improve the effect of looped network protection switching speed.
For the first Frame related in the present embodiment, an optional embodiment in the present embodiment can be Generic Framing Procedure gfp frame, and the identification information of this first Frame is positioned at the extension header field of this gfp frame.
In an optional embodiment of the present embodiment, when this home site carries identification information in the second Frame being detected, block from port;From port blocked after, slave end mouth can not normal forwarding service data again.
In the present embodiment, home site or slave site are when detecting that port traffic is interrupted, and the website being connected to this home site or slave site while blocking this port sends GFP customer account management frame.When home site or slave site receive GFP customer account management frame, delete local mac address table, simultaneously if slave site receives this GFP customer account management frame and also needs to forward this customer account management frame to other port.
Such as, when first Frame is decapsulated unsuccessfully by slave site, the extension header field of the second Frame is sky extension header or is write by the identification information of other home sites in this extension header field by slave site, slave site sends GFP customer account management frame to other websites simultaneously, the website receiving this GFP customer account management frame deletes the mac address table of this locally stored slave site, if the website receiving GFP customer account management frame is slave site, this slave site continues executing with the operation of above-mentioned deleting MAC address table, and forward this GFP customer account management frame until home site receives this GFP customer account management frame.
In addition, ethernet ring network can be made up of multiple looped networks in the present embodiment, when ethernet ring network is made up of multiple looped networks, the master port of the home site in this Ethernet and can only forward the identification information of other home sites less than identification information numerical value from port, the home site that on such looped network, just only site identity is minimum can detect looped network.
Additionally providing the protection device of a kind of ethernet ring network in the present embodiment, this device is used for realizing above-described embodiment and preferred implementation, has be carried out repeating no more of explanation.As used below, term " module " " unit " can realize the software of predetermined function and/or the combination of hardware.
Fig. 2 is the protection apparatus structure block diagram of ethernet ring network according to embodiments of the present invention; this device is arranged in the home site of Ethernet; this device includes: sending module 22; for sending the first Frame by master port to slave site; wherein, the first Frame carries the identification information for indicating home site;Receiver module 24 and sending module 22 are of coupled connections, and for receiving the second Frame from from port, wherein, the second Frame is the Frame that slave site sends in response to the first Frame;Detection module 26 is of coupled connections in receiver module 24, during for not carrying identification information in the second Frame being detected, opens and performs the link transmission business datum ethernet ring network from port.
Alternatively, the first Frame is Generic Framing Procedure gfp frame, and identification information is positioned at the extension header field of gfp frame.
Detection module involved in the present embodiment be can be also used for, when carrying identification information in the second Frame being detected, block from port.
Alternatively, when business datum is interrupted, if this ethernet ring network only exists a home site, then the extension header field of this second Frame is empty extension header, and when there is multiple home site in this Ethernet, the letter head field of this second Frame is written with the extension header of other home sites, the extension header of other home sites wherein carries the identification information of other home sites.
Alternatively, when business datum is interrupted, described receiver module is additionally operable to, and receives the GFP customer account management frame from described slave site, and wherein, described GFP customer account management frame is used for indicating described slave site that described first Frame is decapsulated unsuccessfully.
Below in conjunction with optional embodiment of the present invention and accompanying drawing, the present invention is illustrated.
This alternative embodiment provides the method and apparatus of a kind of Ethernet looped network protection based on Generic Framing Procedure.This alternative embodiment increases extension header by the master port of home site in GPF frame; extension header comprises unique mark of this website; each port of slave site forwards extension header; home site from port according to whether receive this site identity to judge network whether cyclization; determine whether to open or port blocked, reach the purpose of Ethernet looped network protection.
Relating to home site and slave site in ethernet ring network in this alternative embodiment, wherein, home site is to select a suitable website as home site from ethernet ring network equipment;When this home site disconnects, the looped network residing for website also can simultaneously switch off.
Additionally, this home site can also include: master port and from port;Wherein, master port is used for sending GFP ethernet data frame, increases GFP extension header in the frame sent, and its extension header field comprises this site identity, if be in normal forwarding state from port simultaneously, then also need to comprise other site identity less than this site identity numerical value received from port.
Being used for receiving GFP ethernet data frame from port, home site judges whether the GFP ethernet data frame received contains the mark of this website, if contained, is blocked by slave end port service;Do not receive, open from port, slave end mouth is made to be in forwarding state, also need to other site identity less than this site identity numerical value by master port receives add in gfp frame extension header in sending side, and then make when disconnecting from port, can make to disconnect from a looped network residing for port.
That is, this alternative embodiment is likely on one ethernet ring network be made up of multiple ethernet ring networks, namely an ethernet ring network is likely to there is multiple home site, in order to ensure to have and only one of which home site can detect looped network and disconnect looped network, the master port of home site and can only forward other site identity that this site identity of numeric ratio is little from port, the home site that on such ethernet ring network, just only site identity is minimum can detect looped network.
And be slave site at the website of this alternative embodiment Zhong Fei main website, this slave site is for forwarding the master station identity in GFP Frame.
Fig. 3 is the Ethernet ring protection apparatus structure block diagram based on Generic Framing Procedure according to alternative embodiment of the present invention; as it is shown on figure 3, this device being positioned at home site and slave site can include GFP package module 32, GFP decapsulation module 34, judging treatmenting module 36.
Wherein, GFP package module 32, for the transmission traffic direction at port, Ethernet message is encapsulated in gfp frame, adds corresponding extension header simultaneously.Its encapsulation action is different and different according to website attribute, port attribute;Such as, master port on home site or all need other site identity less than this site identity numerical value received another port to be added in transmission extension header field from port, master port also needs to add in extension header field this site identity to simultaneously.The port of slave site then needs the extension header field received by other port all to join in the transmission extension header field of the port.
GFP decapsulation module 34, for being responsible for decapsulation gfp frame in the reception traffic direction of port, obtains Ethernet data message and extension header field.
Judging treatmenting module 36, for when certain Port detecting to the port is unidirectional or then obstruction the port business of having no progeny in two-way services, sending GFP customer account management frame to all of the port simultaneously.In addition home site carry out GFP decapsulation from port after get extension header field, it is judged that whether extension header field contains this site identity, if comprised, block the port business.
Also relating to webmaster in this alternative embodiment, wherein, webmaster is used for being responsible for issuing looped network configuration information, and wherein, this configuration information includes: each website attribute, and namely this website is home site or slave site;The port that each website comprises;Each port attribute of home site, namely which is master port, and which is from port;Unique mark of each home site.
For the method for the Ethernet ring protection based on Generic Framing Procedure that this alternative embodiment provides, the method comprises the following steps:
Step S202: the topological structure according to looped network, selects one or more suitable home site, for instance, multiple home site is then needed when network exists multiple Ethernet ring, home site selects port as master port with from port;A unique numerical identity is generated for each home site;Each website on looped network is selected to need the port list comprised;Finally these information are handed down to all websites on looped network.
Step S204: the master port of home site, when the GFP carrying out Ethernet message encapsulates, increases extension header in payload head, this site identity joined in extension header field.
Wherein, Fig. 4 is the GFP customer frame structural representation according to alternative embodiment of the present invention, as shown in Figure 4, GFP consensus standard define only three class extension headers at present: empty extension header, linear extension header and annular expansion header, other is undefined Retention Type, and what adopt in this alternative embodiment is Retention Type;If this website be in normal forwarding state from port, then need to be also added to receiving other site identity less than this site identity from port in extension header field.
Step S206: the port of slave site, when receiving direction and carrying out GFP decapsulation, extracts the extension header field in gfp frame.If decapsulating unsuccessfully, then it is invalid the extension header field that the port receives to be set to.Wherein, the abnormal conditions such as link down, gfp frame location loss all can cause decapsulation failure and then service disconnection.When sending direction carries out GFP encapsulation, collect effective extension header field that other ports all receive, add in the transmission GFP extension header field of the port.If other port is all without receiving effective extension header field, then the gfp frame that the port sends is empty extension header.
Step S208: home site judge decapsulation from port after the extension header field that obtains whether comprise the mark of this website, if comprising, blocking the port business, otherwise the port business being set to normal forwarding state.
Wherein, if home site from port be normal forwarding state, in addition it is also necessary to judge whether the master port of this website receives other site identity, if the site identity received is less than this site identity, then need to be added in transmission extension header field.
This alternative embodiment also relate to when either site Port detecting to service disconnection, as do not received effective gfp frame or decapsulating unsuccessfully, need block the port business and remove the mac address table of this port, send GFP customer account management frame to all of the port simultaneously;When either site port receives customer account management frame, it is necessary to remove the mac address table of this port immediately, if website is slave site, need to forward customer account management frame to other ports all.
By this alternative embodiment, solve two layers of ethernet device when carrying out annular networking, it is necessary to enable the confinement problems that Spanning-Tree Protocol is brought, thus it also avoid Spanning-Tree Protocol complexity, development and maintenance cost height, the defects such as convergence time after malfunction occurred is slow.In this alternative embodiment; the encapsulation of GFP, decapsulation and prolate-headed judgement process and are all completed by hardware; the pretection switch making looped network can complete within the extremely short time; and it is reliable and stable; not having the protocol processes of complexity, configuring maintenance is simple simultaneously, is a kind of simpler than Spanning-Tree Protocol; convergence rate faster, more reliable Ethernet looped network protected mode.
Below in conjunction with the drawings and specific embodiments, this alternative embodiment is illustrated.
Embodiment one
Fig. 5 is the typical Ethernet ring network schematic diagram of two tangent ring networks according to alternative embodiment of the present invention; Fig. 6 is the process flow figure according to this Ethernet ring protection based on Generic Framing Procedure sending out bright embodiment optional; below by for the network topology structure shown in Fig. 5; method in conjunction with Fig. 6 is described in detail; as shown in Figure 6, the step of the method includes:
Step S602: webmaster issues looped network and is allocated to each website;
For network topology structure shown in Fig. 5, there are two tangent rings, it is therefore desirable to one home site of each selection on two rings, other is as slave site.Select home site A and home site F in the present embodiment, on home site, then select master port again and from port.Home site also needs to as its distribution station point identification, and slave site then has only to issue the port list comprised.
Wherein, site identity is length is the numerical value of 1 byte, so can be directly placed in extension header field.It is assumed herein that home site A distribution be designated 0x0a, home site F distribution be designated 0x0f.
Step S604: site identity is added in the GFP extension header field of transmission by master port;
Wherein, master port, when Ethernet data message carries out GFP encapsulation, increases self-defined looped network extension header, and extension header field contents is site identity.The GFP message extension header field that the master port of home site A sends in the present embodiment comprises 0x0a, and the GFP message extension header field that the master port of home site F sends comprises 0x0f.
Step S606: the extension header field that other ports all receive, receiving direction acquisition extension header field, is added in the GFP extension header field that the port to send by each port of slave site at sending direction;
Wherein, the extension header field that other ports all receive, receiving direction acquisition extension header field, is added in the GFP extension header field that the port to send by each port of slave site at sending direction.As it is shown on figure 3, it is 0x0a that the port 2 of slave site B receives extension header field value, 0x0a is added in the GFP extension header field that the port to send by port 1.Slave site C contains 3 ports, and the extension header field value that port 1 receives is 0x0a, and the extension header field value that port 2 receives is 0x0f, and 0x0a, 0x0f are added in the GFP extension header field that the port to send by port 3.
Step S608: judge whether the extension header field received includes the mark of this website from port, if had, port blocked, otherwise open port;
Wherein, home site from port when decapsulating GFP message, it is necessary to whether the amplifying message head field that receives of verification comprises the mark of this website, if comprised, blocks the business of the port.As it is shown on figure 3, two home sites all will receive the value that extension header field comprises 0x0a, 0x0f from port, therefore all can select port blocked business from port.Two after port block, the network topology with two tangent rings becomes a linear structure, eliminates possible broadcast storm.
Embodiment two
Fig. 7 is the network topology schematic diagram of certain interrupted communication link according to alternative embodiment of the present invention; as shown in Figure 7; this schematic diagram supposes link failure occur between slave site B and C; Fig. 8 is the process flow figure that the Ethernet ring protection when the link is broken according to alternative embodiment of the present invention is switched; being described in detail below in conjunction with Fig. 7 and Fig. 8 method that this alternative embodiment is protected, the method includes:
The port 1 of step S802: slave site B and C all detects service disconnection, and port blocked business also deletes the mac address table of this port, sends customer account management frame to all of the port simultaneously;
Wherein, owing to there is link failure between website B and C, B and C connected port does not receive gfp frame and selects, by port block the mac address table deleting correspondence, to send GFP customer account management frame to all of the port simultaneously.
The port 3 of step S804: slave site C updates the extension header information field sent, and now only comprises the mark of home site 2;
Wherein, the port 1 of slave site C is owing to can not receive gfp frame, and the extension header field putting original reception is invalid.Port 3 updates the extension header information field sent, and now only comprises the mark of home site F.
Step S806: after each Site Port receives customer account management frame, deletes the mac address table of this port, and slave site then also to forward customer account management frame to all the other ports.
Wherein, after each Site Port receives customer account management frame, deleting the mac address table of this port, slave site then also to forward customer account management frame to all the other ports.End-Customer management frame is sent to each website in network, and terminates at home site.
The mark going out not receive this website from port identification of step S808: home site A, then the regular traffic recovering this port forwards;
Wherein, the extension header field received from port of home site A contains only the mark of home site F, and the regular traffic therefore recovering this port forwards.
Originally website E and B communication path are: E<->B<->C, are refreshed the mac address forwarding table of the whole network by the transmission of step 603 customer account management frame, and step 604 home site A opens from port, and the communication path of E and B is switched rapidly as E<->H<->J<->A<->B.
Also relating to a kind of application scenarios in the present embodiment is that link down occurs on the tangent path of two rings, as between slave site E and C, now two home sites all can not receive the extension header field comprising this site identity from port, therefore all select to be set to normal forwarding state from the business of port.The master port of home site A receives the field being designated 0x0F, but because its mark is more than this site identity 0x0a, thus without being passed through to forward from port.The master port of home site F receives the field being designated 0x0a, and its value is less than this site identity 0x0f, and is in forwarding state from port, is therefore added to by 0x0a from the extension header field that port sends.The mark being received again by this website from port of home site A, therefore selects blocking from the business of port, and this site identity that home site F sends is terminated by home site A, therefore can not receive this site identity from port, also just can't detect the existence of looped network.
Also having a kind of possible situation in this alternative embodiment is exactly that home site breaks down, it is impossible to processing the inventive method, but the disconnection of home site means that the looped network residing for home site is also at disconnecting to be judged, therefore also there is no problem.
In sum; the method and apparatus providing the Ethernet ring protection of a kind of Generic Framing Procedure in this alternative embodiment; the process that realizes in this alternative embodiment is all completed by hardware; the convergence making whole network can complete in microsecond rank; it is impossible to there is looped network at any time simultaneously; meet the ring network structure of complexity, compare Spanning-Tree Protocol convenient, quick.
These are only optional embodiment of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (12)

1. the guard method of an ethernet ring network, it is characterised in that described method includes:
Home site in ethernet ring network sends the first Frame by the master port of this home site to slave site, wherein, carries the identification information for indicating described home site in described first Frame;
Described home site receives the second Frame from from port, and wherein, described second Frame is the Frame that described slave site sends in response to described first Frame;
When described home site does not carry described identification information in described second Frame being detected, open the described link transmission business datum performing described ethernet ring network from port.
2. method according to claim 1, it is characterised in that described first Frame is Generic Framing Procedure gfp frame, described identification information is positioned at the extension header field of described gfp frame.
3. method according to claim 2, it is characterised in that described method also includes: when described home site carries described identification information in described second Frame being detected, blocks described from port.
4. method according to claim 2, it is characterised in that when business datum is interrupted, the extension header field of described second Frame is empty extension header.
5. method according to claim 2, it is characterised in that when business datum is interrupted, the home site in ethernet ring network is by the master port of this home site to after slave site sends the first Frame, and described method includes:
Described home site sends described GFP customer account management frame to the specified sites being connected with this home site, or described slave site sends described GFP customer account management frame to the specified sites being connected with this slave site;Wherein, described GFP customer account management frame is for indicating described specified sites to delete locally stored mac address table.
6. method according to claim 5, it is characterized in that, when described specified sites is slave site, described GFP customer account management frame is sent to the specified sites being connected with this home site at described home site, or described slave site is to after the specified sites being connected with this slave site sends described GFP customer account management frame, including:
Described specified sites continues to send described GFP customer account management frame to the website being connected with this specified sites.
7. according to the arbitrary described method of claims 1 to 3, it is characterized in that, when described ethernet ring network is made up of multiple looped networks, the described master port of the described home site in described Ethernet and the described identification information that can only forward other home sites less than described identification information numerical value from port.
8. a protection device for ethernet ring network, is arranged in the home site of Ethernet, it is characterised in that described device includes:
Sending module, for sending the first Frame by master port to slave site, wherein, carries the identification information for indicating described home site in described first Frame;
Receiver module, for receiving the second Frame from from port, wherein, described second Frame is the Frame that described slave site sends in response to described first Frame;
Detection module, during for not carrying described identification information in described second Frame being detected, opens the described link transmission business datum performing described ethernet ring network from port.
9. device according to claim 8, it is characterised in that described first Frame is Generic Framing Procedure gfp frame, described identification information is positioned at the extension header field of described gfp frame.
10. device according to claim 8, it is characterised in that described detection module is additionally operable to, when carrying described identification information in described second Frame being detected, blocks described from port.
11. device according to claim 8, it is characterised in that when business datum is interrupted, the extension header field of described second Frame is empty extension header.
12. device according to claim 8, it is characterized in that, when business datum is interrupted, described receiver module is additionally operable to, receive the GFP customer account management frame from described slave site, or described sending module is additionally operable to send described GFP customer account management frame to the website being connected with home site, wherein, described GFP customer account management frame deletes locally stored mac address table for indicating described website.
CN201410734985.0A 2014-12-05 2014-12-05 Ethernet ring network protection method and device Active CN105721269B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410734985.0A CN105721269B (en) 2014-12-05 2014-12-05 Ethernet ring network protection method and device
PCT/CN2015/079218 WO2016086615A1 (en) 2014-12-05 2015-05-18 Ethernet ring network protection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410734985.0A CN105721269B (en) 2014-12-05 2014-12-05 Ethernet ring network protection method and device

Publications (2)

Publication Number Publication Date
CN105721269A true CN105721269A (en) 2016-06-29
CN105721269B CN105721269B (en) 2020-02-14

Family

ID=56090922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410734985.0A Active CN105721269B (en) 2014-12-05 2014-12-05 Ethernet ring network protection method and device

Country Status (2)

Country Link
CN (1) CN105721269B (en)
WO (1) WO2016086615A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900403A (en) * 2018-06-12 2018-11-27 瑞斯康达科技发展股份有限公司 A kind of method and apparatus of Ethernet ring protection configuration

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714461B (en) * 2021-01-29 2022-05-31 四川安迪科技实业有限公司 DAMA satellite network central station protection switching method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127706A (en) * 2007-09-21 2008-02-20 烽火通信科技股份有限公司 A dynamic bandwidth allocation and control system based on multi-service transmission platform
CN101442765A (en) * 2007-11-21 2009-05-27 大唐移动通信设备有限公司 Method and apparatus for implementing link connectivity detection
CN101753465A (en) * 2010-02-11 2010-06-23 中兴通讯股份有限公司 Protection method taking Ethernet Ring protection system to control VLAN message and device thereof
CN101958831A (en) * 2010-06-10 2011-01-26 福建星网锐捷网络有限公司 Ethernet ring network failure recovery method, Ethernet ring network and switching equipment
CN103078777A (en) * 2012-12-31 2013-05-01 杭州华三通信技术有限公司 Method and device for eliminating loop in resilient packet ring network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035710B (en) * 2009-09-24 2014-04-09 中兴通讯股份有限公司 Method and system for updating blocked port information
CN102546410A (en) * 2011-12-30 2012-07-04 北京格林伟迪科技有限公司 Protection method of Ethernet ring network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127706A (en) * 2007-09-21 2008-02-20 烽火通信科技股份有限公司 A dynamic bandwidth allocation and control system based on multi-service transmission platform
CN101442765A (en) * 2007-11-21 2009-05-27 大唐移动通信设备有限公司 Method and apparatus for implementing link connectivity detection
CN101753465A (en) * 2010-02-11 2010-06-23 中兴通讯股份有限公司 Protection method taking Ethernet Ring protection system to control VLAN message and device thereof
CN101958831A (en) * 2010-06-10 2011-01-26 福建星网锐捷网络有限公司 Ethernet ring network failure recovery method, Ethernet ring network and switching equipment
CN103078777A (en) * 2012-12-31 2013-05-01 杭州华三通信技术有限公司 Method and device for eliminating loop in resilient packet ring network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900403A (en) * 2018-06-12 2018-11-27 瑞斯康达科技发展股份有限公司 A kind of method and apparatus of Ethernet ring protection configuration
CN108900403B (en) * 2018-06-12 2021-02-26 瑞斯康达科技发展股份有限公司 Ethernet ring network protection configuration method and device

Also Published As

Publication number Publication date
CN105721269B (en) 2020-02-14
WO2016086615A1 (en) 2016-06-09

Similar Documents

Publication Publication Date Title
US7826400B2 (en) Packet ring network system and packet transport method
US7394758B2 (en) Method for supporting SDH/SONET APS on Ethernet
CN102571426B (en) Double-homing protection method and device
KR102342286B1 (en) DCN message processing method, network device, and network system
CN101753453B (en) Networking method for ring network of packet transport network
US9787496B2 (en) Communication system, communication apparatus, and protection method
CN104270309A (en) Method for achieving multi-hop BFD under IP RAN equipment
CN104079462B (en) Looped network configures detection method and device
CN111130982B (en) Message forwarding method and device, gateway equipment and readable storage medium
US20200382209A1 (en) Protection group superposition switching method, control apparatus, and optical communication device
WO2015184740A1 (en) Method and device for processing detection hierarchy information
CN109787895B (en) Dual-homing protection method, access node, equipment and communication network
CN105634935A (en) Device and method for detecting service layer signal failure
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN101834759A (en) Detection method of binding link and distributed equipment
US7864789B2 (en) Signaling methods for telecommunicaton system for exchanging frames over ethernet interfaces and devices for implementing such methods
CN103368844A (en) Message processing method and label switching router in MPLS network
CN101043433B (en) Method for aging MAC address learning list of bridge mode resilient packet ring
CN105721269A (en) Protection method and device for Ethernet ring network
EP2472796A1 (en) Method and system for blocking protocol messages at a sub-ring control channel without virtual channel
CN105703967A (en) Method and apparatus for detecting label switching path connectivity
WO2015032203A1 (en) Network element and method for ring network protection
CN105871613A (en) E1 service protection method and system
CN107995008B (en) Service alarm processing method, device and system
CN105703997A (en) Tunnel control method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant