CN101340346A - Ring control method and apparatus of Ethernet looped network system - Google Patents

Ring control method and apparatus of Ethernet looped network system Download PDF

Info

Publication number
CN101340346A
CN101340346A CNA2008101457199A CN200810145719A CN101340346A CN 101340346 A CN101340346 A CN 101340346A CN A2008101457199 A CNA2008101457199 A CN A2008101457199A CN 200810145719 A CN200810145719 A CN 200810145719A CN 101340346 A CN101340346 A CN 101340346A
Authority
CN
China
Prior art keywords
link
performance
state
detection messages
sends
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.)
Pending
Application number
CNA2008101457199A
Other languages
Chinese (zh)
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 CNA2008101457199A priority Critical patent/CN101340346A/en
Publication of CN101340346A publication Critical patent/CN101340346A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for controlling a ring in an Ethernet ring network system and a device thereof. The method comprises the following steps: the detected messages are sent periodically at a service sending terminal of a link circuit; the number of the detected messages received by the service receiving terminal in one period is counted; according to the counted number of the detected messages, the performance of the link circuit is judged and if the performance of the link circuit falls to the preset threshold value, the state of the link circuit is set as a failure state; the Ethernet ring network system carries out link circuit switching according to the condition that the link circuit is in failure state. The application of the invention ensures that when the ring performance falls to a certain threshold value, transmission link circuits are distributed again, and the service in a worse link circuit is forwarded to a healthy link circuit, which avoids degradation of performance in the Ethernet ring network domain, therefore, the application capability of the Ethernet ring network in the actual networking is improved.

Description

The method and the device of ring control in a kind of Ethernet ring network system
Technical field
The present invention relates to the automatic resist technology of ethernet ring network field, be specifically related to the method and the device of ring control in a kind of Ethernet ring network system.
Background technology
Ethernet ring protection system among the RFC3619 is linked to each other by a plurality of nodes and constitutes ring, can define a plurality of territories on the ring, i.e. the Ethernet ring protection territory.As shown in Figure 1; a host node and some transmission nodes have been comprised in the territory; and one group of protected professional VLAN (VLAN that is used for the user data forwarding; Virtual Local Area Network); wherein two ports of host node on ring are defined as master port respectively and from port, protected service VLAN is defined as the protection service VLAN.Host node blocks the protection service VLAN forwarding capability from port when the ring uplink is intact, and loop free produces in the network, has prevented because " broadcast storm " that network loop causes; Host node is decontroled the protection service VLAN forwarding capability from port when link occurs fault, and user data can ensure professional connection the passing through from port of host node.Ethernet ring protection control message is communication between the node and a control message in the territory, and when the node port blocked, message is unaffected still can pass through in looped network control.When Ethernet ring protection system is normally moved, on the ring each nodes records current looped network state be intact (UP) or fault (DOWN).
The detection of link failure is mainly passed through in the ethernet ring network running: the having or not of detection signal, can protocol massages normally receive, report Link Up (link can with) and Link Down (link is unavailable) to confirm the quality of Link State, and confirm with this whether link is available.
As shown in Figure 2, disposition when the ring decreased performance occurring, if this moment system ring decreased performance, promptly because some cause specific, it may be the software reason, it also may be hardware reason, as because interference or cable fault or port performance degradation, thereby error code or packet loss appear in the business datum that causes exporting, but the last protocol package of ring this moment still can be received, system thinks that still this link does not have fault, regular traffic can not switched on the link of backup, thereby not satisfy professional reliability requirement.If what transmit is business such as voice or video, then Signal Degrade is unacceptable for a long time.
Therefore, the technical scheme of ring control in a kind of Ethernet ring network system of current needs.
Summary of the invention
Technical problem to be solved by this invention provides the method and the device of ring control in a kind of Ethernet ring network system, detect the transmission performance of each link in the looped network, under the situation of link performance decline or deterioration, again distribute transmission link, business on the deterioration link is forwarded on the healthy link, avoid imitating under the link performance in the ethernet ring network territory, thus the application power of raising ethernet ring network in actual networking
In order to address the above problem, the invention provides the method for ring control in a kind of Ethernet ring network system, comprise,
Professional transmitting terminal at link periodically sends detection messages, the number of the detection messages that the professional receiving terminal of this link receives in the statistics one-period time, number according to the described detection messages of adding up, as judge that this link performance decline reaches preset threshold value, then this Link State is set to malfunction;
When Ethernet ring network system is in malfunction according to described link, carry out link switchover.
Further, said method also can comprise, describedly judge whether link performance descends and reach preset threshold value, be meant the number of the detection messages of the professional receiving terminal reception of this link of statistics in described cycle time, whether the detection messages that judgement is lost surpasses preset threshold value with the ratio of the actual detection messages that sends, if then show this link performance deterioration; Otherwise this link performance is good.
Further, said method also can comprise, it is to send detection messages by bidirectional transmission detecting protocol or Connectivity Fault Management agreement in the two ends cycle of link that the described professional transmitting terminal cycle at link sends detection messages, and the performance state of link is detected.
Further, said method can comprise that also described this Link State is set to malfunction, comprise,
Described professional receiving terminal sends deterioration state message to described professional transmitting terminal; Described professional transmitting terminal sends alarm after receiving described deterioration link-state information, and described Link State is set to malfunction.
The present invention also provides the device of ring control in a kind of Ethernet ring network system, it is characterized in that,
Comprise that link performance detection module, Link State are provided with module, wherein,
Described link performance detection module, be used for periodically sending detection messages at the professional transmitting terminal of link, the number of the detection messages that the professional receiving terminal of this link receives in the statistics one-period time, number according to the described detection messages of adding up, as judge that this link performance decline reaches preset threshold value, then is provided with module to Link State and sends deterioration state message;
Described Link State is provided with module, is used to receive and read Link State the deterioration state message that module sends is set, and described Link State is set to malfunction, and sends to Ethernet ring network system.
Further, said apparatus also can comprise, described link performance detection module judges that described link performance decline reaches preset threshold value, be meant the number of the detection messages of the professional receiving terminal reception of this link of statistics in described cycle time, whether the detection messages that judgement is lost surpasses preset threshold value with the ratio of the actual detection messages that sends, if then show this link performance deterioration; Otherwise this link performance is good.
Further, said apparatus also can comprise, it is to send detection messages by bidirectional transmission detecting protocol or Connectivity Fault Management agreement in the two ends cycle of link that described link performance detection module sends detection messages in professional transmitting terminal cycle of described link, and the performance state of link is detected.
Further, said apparatus also can comprise, the deterioration state message that described link performance detection module sends comprises the information of the link of performance degradation.
Further, said apparatus can comprise that also described Link State is provided with module by reading the information of the link of performance degradation in the described deterioration state message, and described Link State is set to malfunction.
Compared with prior art, use the present invention, when the ring decreased performance arrives certain threshold value, again distribute transmission link, business on the deterioration link is forwarded on the healthy link, avoids imitating under the link performance in the ethernet ring network territory, thus the application power of raising ethernet ring network in actual networking.
Description of drawings
Fig. 1 is the topological diagram of ethernet ring network automatic protective system (is example with 3 switches);
Fig. 2 the topological diagram of ring decreased performance to certain threshold value occur for Ethernet ring protection system;
Fig. 3 is the flow chart of the method for ring control in the Ethernet ring network system among the present invention;
Fig. 4 is the structural representation of the device of ring control in the Ethernet ring network system among the present invention;
Fig. 5 reaches the implementing procedure figure of predetermined threshold value for the decreased performance that occurs ring in the inventive method;
Fig. 6 is the implementing procedure figure that system of the present invention detects link performance decline or performance degradation.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments.
As shown in Figure 3, the method for ring control may further comprise the steps in the Ethernet ring network system of the present invention,
Step 300, according to ethernet ring network technical configuration looped network node;
The performance state of step 310, detection ring uplink is judged whether deterioration of link performance, if the link performance deterioration, execution in step 320; Otherwise, execution in step 340;
Periodically send the performance state that detection messages is come the detection ring uplink by professional transmitting terminal at link.
Judge whether deterioration of link performance, judge that promptly this link performance decline reaches preset threshold value, be meant the number of the detection messages of the professional receiving terminal reception of this link of statistics in described cycle time, whether the detection messages number that judgement is lost surpasses preset threshold value with the ratio of the actual detection messages number that sends, if then show this link performance deterioration; Otherwise this link performance is good.
Two-way forwarding by operation management maintain (OAM) detects BFD (two-way forwarding detection) agreement or CFM (Connectivity Fault Management) agreement etc.), send detection messages every both link ends cycle, the performance state of link is detected.
Step 320, professional receiving terminal send deterioration state message to professional transmitting terminal;
Step 330, professional transmitting terminal send alarm after receiving described deterioration link-state information, and described Link State is set to malfunction (DOWN);
Step 340, the handling process that enters normal ethernet ring network promptly trigger ethernet ring network according to the Up of port or DOWN and normally switch.
As shown in Figure 4, the device of ring control comprises that link performance detection module, Link State are provided with module in the Ethernet ring network system of the present invention, wherein,
The link performance detection module is used for the performance state of detection ring uplink, judges whether deterioration of link performance, if then to Link State module is set and sends deterioration state message;
Described link performance detection module periodically sends the performance state that detection messages is come the detection ring uplink by the professional transmitting terminal at link.
Described link performance detection module is judged whether deterioration of link performance, judge that promptly this link performance decline reaches preset threshold value, be meant the number of the detection messages of the professional receiving terminal reception of this link of statistics in described cycle time, whether the detection messages number that judgement is lost surpasses preset threshold value with the ratio of the actual detection messages number that sends, if then show this performance degradation; Otherwise, show that this link performance is good.
Described link performance detection module detects (BFD) agreement or CFM (Connectivity Fault Management) agreement etc. by the two-way forwarding of operation management maintain (OAM)), send detection messages in the two ends cycle of every link, the performance state of link is detected.
The deterioration state message that described link performance detection module sends comprises the information etc. of the link of performance degradation.
Link State is provided with module, be used for receiving link status the deterioration state message that module sends is set, and according to reading the link information that this message is carried, described Link State is set to malfunction, and sends to Ethernet ring network system.
The invention will be further described below in conjunction with instantiation.
Fig. 5, the decreased performance that occurs ring in the inventive method reaches the implementing procedure figure of predetermined threshold value, comprises,
Step 501 is according to ethernet ring network technical configuration looped network node;
Step 502, detection ring uplink performance state;
Step 503 is judged whether deterioration of link performance, if find link performance deterioration, execution in step 504; Otherwise, execution in step 507;
Step 504, described link deterioration state message sends professional transmitting terminal to;
Step 505, professional transmitting terminal receive the deterioration state message that the opposite end sends;
Step 506, system make this ports physical linkdown by force, send alarm, and this link is set to malfunction;
Step 507, the handling process that enters normal ethernet ring network promptly triggers ethernet ring network according to port Link Up or DOWN and normally switches.
Fig. 6 is the flow chart that system detects link performance decline or performance degradation, comprises,
Step 601 is according to BFD technical configuration ring uplink;
Step 602 sends the BFD message in the two ends cycle of link;
Step 603, the number of reception message in the receiving terminal periodic statistics stipulated time, with the message number comparison of the actual transmission of transmitting terminal, statistics is lost the percentage that occupies of message and actual transmission message;
Step 604 when surpassing predetermined threshold value, shows that this link performance descends or performance degradation.
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 the people of this technology in technical scope disclosed in this invention; 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 claim.

Claims (9)

1, the method for ring control in a kind of Ethernet ring network system is characterized in that, comprise,
Professional transmitting terminal at link periodically sends detection messages, the number of the detection messages that the professional receiving terminal of this link receives in the statistics one-period time, number according to the described detection messages of adding up, as judge that this link performance decline reaches preset threshold value, then this Link State is set to malfunction;
When Ethernet ring network system is in malfunction according to described link, carry out link switchover.
2, the method for claim 1 is characterized in that,
Describedly judge whether link performance descends and reach preset threshold value, be meant the number of the detection messages of the professional receiving terminal reception of this link of statistics in described cycle time, whether the detection messages that judgement is lost surpasses preset threshold value with the ratio of the actual detection messages that sends, if then show this link performance deterioration; Otherwise this link performance is good.
3, the method for claim 1 is characterized in that,
It is to send detection messages by bidirectional transmission detecting protocol or Connectivity Fault Management agreement in the two ends cycle of link that the described professional transmitting terminal cycle at link sends detection messages, and the performance state of link is detected.
4, the method for claim 1 is characterized in that,
Described this Link State is set to malfunction, comprises,
Described professional receiving terminal sends deterioration state message to described professional transmitting terminal; Described professional transmitting terminal sends alarm after receiving described deterioration link-state information, and described Link State is set to malfunction.
5, the device of ring control in a kind of Ethernet ring network system is characterized in that,
Comprise that link performance detection module, Link State are provided with module, wherein,
Described link performance detection module, be used for periodically sending detection messages at the professional transmitting terminal of link, the number of the detection messages that the professional receiving terminal of this link receives in the statistics one-period time, number according to the described detection messages of adding up, as judge that this link performance decline reaches preset threshold value, then is provided with module to Link State and sends deterioration state message;
Described Link State is provided with module, is used to receive and read Link State the deterioration state message that module sends is set, and described Link State is set to malfunction, and sends to Ethernet ring network system.
6, device as claimed in claim 5 is characterized in that,
Described link performance detection module judges that described link performance decline reaches preset threshold value, be meant the number of the detection messages of the professional receiving terminal reception of this link of statistics in described cycle time, whether the detection messages that judgement is lost surpasses preset threshold value with the ratio of the actual detection messages that sends, if then show this link performance deterioration; Otherwise this link performance is good.
7, device as claimed in claim 5 is characterized in that,
It is to send detection messages by bidirectional transmission detecting protocol or Connectivity Fault Management agreement in the two ends cycle of link that described link performance detection module sends detection messages in professional transmitting terminal cycle of described link, and the performance state of link is detected.
8, device as claimed in claim 5 is characterized in that,
The deterioration state message that described link performance detection module sends comprises the information of the link of performance degradation.
9, device as claimed in claim 8 is characterized in that,
Described Link State is provided with module by reading the information of the link of performance degradation in the described deterioration state message, and described Link State is set to malfunction.
CNA2008101457199A 2008-08-11 2008-08-11 Ring control method and apparatus of Ethernet looped network system Pending CN101340346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101457199A CN101340346A (en) 2008-08-11 2008-08-11 Ring control method and apparatus of Ethernet looped network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101457199A CN101340346A (en) 2008-08-11 2008-08-11 Ring control method and apparatus of Ethernet looped network system

Publications (1)

Publication Number Publication Date
CN101340346A true CN101340346A (en) 2009-01-07

Family

ID=40214303

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101457199A Pending CN101340346A (en) 2008-08-11 2008-08-11 Ring control method and apparatus of Ethernet looped network system

Country Status (1)

Country Link
CN (1) CN101340346A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848165A (en) * 2010-06-01 2010-09-29 中兴通讯股份有限公司 Method for controlling recovery of interrupted communication link and interface board
WO2010148753A1 (en) * 2009-11-24 2010-12-29 中兴通讯股份有限公司 Method and system for implementing ring network protection
CN102025437A (en) * 2009-09-22 2011-04-20 中国移动通信集团公司 Method, system and device for protection switching
CN102355364A (en) * 2011-08-15 2012-02-15 杭州华三通信技术有限公司 Method and device for detecting one-way fault
CN103686817A (en) * 2013-12-31 2014-03-26 上海斐讯数据通信技术有限公司 Wireless CPE (customer premise equipment) and method for keeping stable connection between wireless CPE and wireless base station AP (access point)
CN105530113A (en) * 2014-10-23 2016-04-27 中兴通讯股份有限公司 Method and device for realizing protection switching of spanning tree protocol
CN105765909A (en) * 2013-06-27 2016-07-13 华为技术有限公司 Link switching method and device
WO2018171745A1 (en) * 2017-03-23 2018-09-27 中兴通讯股份有限公司 Protection switching method and device for ring network
CN108989120A (en) * 2018-08-01 2018-12-11 中国联合网络通信集团有限公司 A kind of data transmission method and device
CN110011819A (en) * 2018-01-04 2019-07-12 中兴通讯股份有限公司 Generate method, apparatus, equipment and the system of SD warning information
CN112822102A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 Link switching method, device, equipment, system and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025437B (en) * 2009-09-22 2015-04-22 中国移动通信集团公司 Method, system and device for protection switching
CN102025437A (en) * 2009-09-22 2011-04-20 中国移动通信集团公司 Method, system and device for protection switching
WO2010148753A1 (en) * 2009-11-24 2010-12-29 中兴通讯股份有限公司 Method and system for implementing ring network protection
CN101702658B (en) * 2009-11-24 2012-09-05 中兴通讯股份有限公司 Implement method of ring network protection and system thereof
CN101848165A (en) * 2010-06-01 2010-09-29 中兴通讯股份有限公司 Method for controlling recovery of interrupted communication link and interface board
CN102355364A (en) * 2011-08-15 2012-02-15 杭州华三通信技术有限公司 Method and device for detecting one-way fault
CN105765909A (en) * 2013-06-27 2016-07-13 华为技术有限公司 Link switching method and device
CN103686817A (en) * 2013-12-31 2014-03-26 上海斐讯数据通信技术有限公司 Wireless CPE (customer premise equipment) and method for keeping stable connection between wireless CPE and wireless base station AP (access point)
CN105530113A (en) * 2014-10-23 2016-04-27 中兴通讯股份有限公司 Method and device for realizing protection switching of spanning tree protocol
WO2018171745A1 (en) * 2017-03-23 2018-09-27 中兴通讯股份有限公司 Protection switching method and device for ring network
CN108632121A (en) * 2017-03-23 2018-10-09 中兴通讯股份有限公司 A kind of pretection switch method and device for looped network
CN110011819A (en) * 2018-01-04 2019-07-12 中兴通讯股份有限公司 Generate method, apparatus, equipment and the system of SD warning information
CN108989120A (en) * 2018-08-01 2018-12-11 中国联合网络通信集团有限公司 A kind of data transmission method and device
CN112822102A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 Link switching method, device, equipment, system and storage medium
CN112822102B (en) * 2020-12-30 2023-01-24 瑞斯康达科技发展股份有限公司 Link switching method, device, equipment, system and storage medium

Similar Documents

Publication Publication Date Title
CN101340346A (en) Ring control method and apparatus of Ethernet looped network system
US7944815B2 (en) System and method for network recovery from multiple link failures
EP2243255B1 (en) Method and system for dynamic link failover management
CN101127674B (en) Initialization method for transmission nodes of Ethernet loop network system
CN101558609B (en) Method, device and system for ring protection
US9237092B2 (en) Method, apparatus, and system for updating ring network topology information
US8208369B2 (en) Ethernet ring system and a master node and an initialization method thereof
CN100546303C (en) Can avoid the Spanning-Tree Protocol that happens suddenly
CN101399737A (en) Protection method and apparatus used for link convergence group of loop Ethernet
CN101483570B (en) Method, system and device for preventing looped network temporary loop circuit of relaying link
CN101640646B (en) Protection reversion method and device of Ethernet ring network
CN101072154B (en) Loop Ethernet switching method
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN101729426B (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN101800774A (en) Environmental-friendly accessing method and environmental-friendly accessing network
CN101141366A (en) Method of preventing data loop in ring ethernet
CN100461739C (en) RPR bidge redundancy protecting method and RPR bridge ring equipment
CN103490921A (en) Method and device for protecting network, copying node and system
CN104040959A (en) Ring protection state aware bandwidth adaptation
US8811157B2 (en) Protection switching method and system for ethernet dual-homed link
CN102025437B (en) Method, system and device for protection switching
CN101997703A (en) Method and device for managing Ethernet topology
CN101667863B (en) Device and method for enhancing channel alarm triggering in multiplex section shared ring net protection
CN103248508A (en) Port protecting method, device and system
CN103780444A (en) Loop automatic detection device and method in EoC network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090107