CN102510353B - Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault - Google Patents

Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault Download PDF

Info

Publication number
CN102510353B
CN102510353B CN201110440727.8A CN201110440727A CN102510353B CN 102510353 B CN102510353 B CN 102510353B CN 201110440727 A CN201110440727 A CN 201110440727A CN 102510353 B CN102510353 B CN 102510353B
Authority
CN
China
Prior art keywords
frame
protocol
itu
forwarding
extension frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110440727.8A
Other languages
Chinese (zh)
Other versions
CN102510353A (en
Inventor
马军
张建良
韩旭栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING INHAND NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING INHAND NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING INHAND NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING INHAND NETWORK TECHNOLOGY Co Ltd
Priority to CN201110440727.8A priority Critical patent/CN102510353B/en
Publication of CN102510353A publication Critical patent/CN102510353A/en
Application granted granted Critical
Publication of CN102510353B publication Critical patent/CN102510353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault. The method comprises the following steps of: defining a protocol expansion frame with a specific target address, and forwarding the protocol expansion frame to a port of a central processing unit (CPU) under the condition that a ring port is blocked; sending a protocol frame through a ring network node, sending an expansion frame and setting a forwarding hop initial value; after the ring network node receives the expansion frame, forwarding the expansion frame which is sent by other nodes through another ring port after forwarding hops in the expansion frame gradually increase or decrease, wherein the forwarding hops of the expansion frame do not exceed a forwarding hop threshold value; and processing the expansion frame according to a flow which is defined by a protocol. The method has the advantages that: on the premise that a protocol state machine is not changed and the convergence speed of a ring network is not influenced, the problem that a loop can be blocked after recovery of breaking points in ITU-T G.8032/Y.1344 is thoroughly solved; and the method is applicable to the occasions with a high reliability requirement for data communication in a severe industrial environment.

Description

ITU-T is the extension processing method under multipoint fault G.8032/Y.1344
Technical field
The present invention relates to the high reliability data communication means of Ethernet ring under a kind of harsh industrial environment, particularly solve after Ethernet ring multibreak under recovery situation because of the port block ITU-T that correctly forwarding data causes G.8032/Y.1344(03/2010) the incorrect processing method of protocol status, belong to data communication field.
Background technology
Data communication field under harsh industrial environment (comprising factory automation, intelligent transport system (ITS), transformer station and deployment in other adverse circumstances etc.) is widely used Ethernet ring and is connected industrial equipment (as remote-terminal unit RTU and PLC etc.), so that the redundancy protecting of data path to be provided.Ethernet ring under common harsh industrial environment is the loop network being linked to be by some industrial ethernet switchs or router (hereinafter to be referred as switch), its topological structure as shown in Figure 1, in figure, S1 connects into a ring to S10, S1 is each node on ring to S10, wherein S1 is host node, and S2 is transmission node to S10.
In the middle of numerous Ethernet ring agreements, ITU-T is G.8032/Y.1344(03/2010) good Fast Convergent characteristic is provided on the basis of open standard, it adopts R-APS PDU pass-along message between each node.Under default situations, R-APS PDU forwards (can make the propagation that R-APS PDU is fast as far as possible like this) automatically by the exchange chip of node, at port blocked (port is in blocking state), be dropped and (refer to ITU-T G.8032/Y.1344 (03/2010), 9.5 joints, R-APS channel blocking).Thus, under some topology (as there is multibreak situation, as shown in Figure 2,3), when R-APS PDU is when port blocked is dropped, to cause R-APS PDU can not propagate into all nodes of Ethernet ring, therefore there is actual connection of loop, but the obstructed possibility of data communication.
Summary of the invention
In order to address the above problem, the invention provides the G.8032/Y.1344 extension processing method under multipoint fault of a kind of ITU-T, solved the problem that the in the situation that of recovery, R-APS PDU can not correctly forward at port blocked after Ethernet ring multibreak, making full use of ITU-T G.8032/Y.1344(03/2010) in the fast convergence that brings of agreement, also make the data communication under harsh industrial environment become reliably, simultaneously to ITU-T G.8032/Y.1344 (03/2010) protocol state machine etc. without any change.
The technical solution adopted in the present invention is:
ITU-T is the extension processing method under multipoint fault G.8032/Y.1344, and its main contents are:
Definition has the frame of specific objective address as protocol extension frame;
Node is set and receives after described protocol extension frame, be not subject to the restriction of port blocking, described protocol extension frame is delivered to the cpu port of node;
Doing Tx R-APS when operation protocol extension frame described in synchronized transmission;
If what node was received is standard agreement frame, according to this standard agreement frame of the flow processing of protocol definition, if what receive is protocol extension frame, the protocol extension frame that non-node sent and forwarding jumping figure is no more than forwarding jumping figure threshold value forwards by another central port, and according to this protocol extension frame of the flow processing of protocol definition.
The concrete treatment step of node after receiving frame is as follows:
(1) judge that this frame is standard agreement frame or protocol extension frame, if standard agreement frame, according to ITU-T this frame of flow processing of protocol definition G.8032/Y.1344, if protocol extension frame carries out step (2);
(2) judge whether described protocol extension frame is that this node sends, and if so, abandons this protocol extension frame, if not, carry out step (3);
(3) detect this node and whether have another one central port, if there is another one central port and forward jumping figure and be no more than forwarding jumping figure threshold value, in this central port, forward described protocol extension frame, if there is no another one central port or forwarding jumping figure surpass forwarding jumping figure threshold value, do not forward, and according to ITU-T protocol extension frame described in the flow processing of protocol definition G.8032/Y.1344.
Described protocol extension frame is provided with forwarding hop count field, in described step (3), if there is another one central port in judgement, forward the judgement of jumping figure to determine whether forwarding, specifically: same default forwarding jumping figure threshold value after the value increasing or decreasing of the forwarding hop count field in described protocol extension frame is compared, if be no more than described default forwarding jumping figure threshold value, by the value forwarding after jumping figure increasing or decreasing, upgrade the forwarding hop count field in described protocol extension frame, in described another one central port, forward amended protocol extension frame, if surpass described default forwarding jumping figure threshold value, according to ITU-T protocol extension frame described in the flow processing of protocol definition G.8032/Y.1344.
Described in synchronized transmission during protocol extension frame, node is initialized as certain and is specifically worth the forwarding hop count field of described protocol extension frame.
Described default forwarding jumping figure threshold value can arrange as required, and for example 254.
For above-mentioned ITU-T described in any one extension processing method under multipoint fault G.8032/Y.1344, the frame structure of described protocol extension frame is set as:
Destination address Source address Protocol type R-APS PDU Forward jumping figure Padding
Destination address: represent the address of the equipment of transmission frame, account for 6 bytes, its value is described specific objective address;
Source address: represent the address of the equipment of received frame, account for 6 bytes, its value is the unicast mac address of node;
Protocol type: account for 2 bytes;
R-APS PDU:ITU-T is G.8032/Y.1344(03/2010) definition R-APS data;
Forward jumping figure: account for 1 byte, initial value is made as certain particular value, for the counting of hop count;
Padding: the filling when 60 bytes of frame length less than, for frame length being filled to 60 bytes.
Beneficial effect of the present invention:
Utilize self-defining protocol extension frame and the specific setting at node for this protocol extension frame, realized the combination of the software forward of protocol extension frame and itself and the hardware forwarding of standard agreement frame, avoided R-APS PDU at port blocked by the problem that can not correctly transmit between link point that automatically abandons and cause.
Owing to being provided with forwarding hop count field in protocol extension frame, and by its tally function, by control protocol, expand the max-forwards number of times of frame in ring, effectively avoided forwarding the generation of storm, the dependable with function of this processing method is improved.
Adopt technical scheme of the present invention, making full use of on the Fast Convergent characteristic basis of existing open standard, thoroughly solved the obstructed problem of loop because recovering after breakpoint to cause, effectively improve the reliability of data communication under harsh industrial environment, and to ITU-T G.8032/Y.1344 (03/2010) protocol state machine etc. without any change.
Accompanying drawing explanation
Fig. 1 is the Basic Topological schematic diagram of Ethernet ring;
Fig. 2 is a kind of topological structure schematic diagram while there is two breakpoints on an Ethernet ring;
Fig. 3 is that two breakpoints in Fig. 2 are physically communicated with but obstructed topological structure schematic diagram in logic;
Fig. 4 is R-APS PDU process chart.
Embodiment
Below in conjunction with Fig. 4, the G.8032/Y.1344 detailed process of the extension processing method under multipoint fault of ITU-T provided by the present invention is described:
1, the frame that definition has a specific objective address is as the ITU-T protocol extension frame of agreement G.8032/Y.1344;
The frame structure of described protocol extension frame is set as:
Destination address Source address Protocol type R-APS PDU Forward jumping figure Padding
Destination address: represent to send the address of node of frame, account for 6 bytes, its value is described specific objective address, and in the present embodiment, the destination address of described protocol extension frame is made as clean culture fixed address;
Source address: represent the address of the equipment of received frame, account for 6 bytes, its value is node unicast mac address;
Protocol type: account for 2 bytes, its value is fixed as certain and is specifically worth, for example 0x8902.
R-APS PDU:ITU-T is G.8032/Y.1344(03/2010) the R-APS data of definition, its form can be referring to ITU-T G.8032/Y.1344 (03/2010), 10.3 joints, R-APS format;
Forward jumping figure: account for 1 byte, for the counting of hop count;
Padding: the filling when 60 bytes of protocol extension frame length less than, for frame length being filled to 60 bytes.
When 2, node being set receiving described protocol extension frame, can not be subject to the restriction of port blocking and described protocol extension frame can be delivered to the cpu port of node, even if receive like this port of the node of this frame, for blocking (blocking) state, can not abandon this frame yet, but this frame is forwarded to cpu port (needing hardware supports, as manageable L2/L3 exchange chip).
While 3, sending normal protocol frame, (be ITU-T G.8032/Y.1344 (03/2010), 10.1.3 save, when the Tx R-APS of R-APS message transmission definition operates), protocol extension frame described in synchronized transmission, and the initial value that forwards hop count field is set, for example, the initial value that described forwarding hop count field is set is 1.What deserves to be explained is, it is for hop count is counted and limited that hop count field is set, and in theory, does not limit initial value and the threshold value of described jumping figure.
4, node is specifically carried out following steps according to flow process shown in Fig. 4 and is realized the processing to described protocol extension frame after receiving frame:
(1) judge that this frame is standard agreement frame or protocol expansion frame, if standard agreement frame, according to ITU-T this frame of flow processing of protocol definition G.8032/Y.1344, if protocol extension frame carries out step (2);
(2) judge whether described protocol extension frame is that this node sends, and if so, abandons this protocol extension frame, if not, carry out step (3);
(3) detect this node and whether have another one central port, if there is no, do not forward, and according to ITU-T protocol extension frame described in the flow processing of protocol definition G.8032/Y.1344, if existed, carry out step (4);
(4) value of the forwarding hop count field in described protocol extension frame being added to 1 rear same default forwarding jumping figure threshold value compares, if be no more than described default forwarding jumping figure threshold value, by the value that forwarding jumping figure adds after 1, upgrade the forwarding hop count field in described protocol extension frame, in aforesaid another one central port, forward amended protocol extension frame, if surpass described default forwarding jumping figure threshold value, according to ITU-T protocol extension frame described in the flow processing of protocol definition G.8032/Y.1344.
Described forwarding jumping figure threshold value is set, and the value of the hop count field in described protocol extension frame is added to the 1 rear object with the comparison of described forwarding jumping figure threshold value is that the hop count of protocol extension frame is limited in a limited number of times, therefore described forwarding jumping figure threshold value can be a constant in theory, in the present embodiment, described forwarding jumping figure Threshold is 254.When the value of the forwarding hop count field in setting described protocol extension frame is successively decreased, correspondingly the initial value of described forwarding hop count field is made as to a higher value, and described forwarding jumping figure threshold value is made as to a smaller value.
G.8032/Y.1344, the described node that ITU-T of the present invention relates in extension processing method under multipoint fault comprises industrial ethernet switch and/or router.
Take Fig. 3 as example, before adopting this method, the R-APS PDU that Owner node sends is by the Port 2(blocking at node S4) and the Port 3(blocking of node S8) lost, cause R-APS PDU not correctly to be transmitted to node S4, S5, S6, S7 and S8, thereby cause the communication of whole ring to interrupt.Adopt after this method, R-APS PDU can break through the restriction of port blocked, normally being forwarded, and G.8032/Y.1344(03/2010 to ITU-T simultaneously) protocol state machine etc. is without any change, improved significantly the reliability of data communication under harsh industrial environment.Due to ITU-T G.8032/Y.1344(03/2010) in agreement, R-APS PDU repeatedly repeats to send, so forward expansion frame to the not impact of the resume speed of ring.
It should be noted that, the present invention is applicable equally for single-break and multibreak situation.

Claims (9)

1. the ITU-T extension processing method under multipoint fault G.8032/Y.1344, is characterized in that:
Definition has the frame of specific objective address as protocol extension frame;
Node is set and receives after described protocol extension frame, be not subject to the restriction of port blocking, described protocol extension frame is delivered to the cpu port of node;
Doing Tx R-APS when operation protocol extension frame described in synchronized transmission;
If what node was received is standard agreement frame, according to this standard agreement frame of the flow processing of protocol definition, if what receive is protocol extension frame, the protocol extension frame that non-node sent and forwarding jumping figure is no more than forwarding jumping figure threshold value forwards by another central port, and according to this protocol extension frame of the flow processing of protocol definition.
2. the ITU-T according to claim 1 extension processing method under multipoint fault G.8032/Y.1344, is characterized in that the concrete treatment step of node after receiving frame is:
Step (1): judge that this frame is standard agreement frame or protocol extension frame, if standard agreement frame, according to ITU-T this frame of flow processing of protocol definition G.8032/Y.1344, if protocol extension frame carries out step (2);
Step (2): judge whether described protocol extension frame is that this node sends, and if so, abandons this protocol extension frame, if not, carry out step (3);
Step (3): detect this node and whether have another one central port, if there is another one central port and forward jumping figure and be no more than forwarding jumping figure threshold value, in this central port, forward described protocol extension frame, if there is no another one central port or forwarding jumping figure surpass forwarding jumping figure threshold value, do not forward, and according to ITU-T protocol extension frame described in the flow processing of protocol definition G.8032/Y.1344.
3. the ITU-T according to claim 2 extension processing method under multipoint fault G.8032/Y.1344, it is characterized in that described protocol extension frame is provided with forwarding hop count field, in described step (3), if there is another one central port in judgement, forward the judgement of jumping figure to determine whether forwarding, specifically: same default forwarding jumping figure threshold value after the value increasing or decreasing of the forwarding hop count field in described protocol extension frame is compared, if be no more than described default forwarding jumping figure threshold value, by the value forwarding after jumping figure increasing or decreasing, upgrade the forwarding hop count field in described protocol extension frame, in described another one central port, forward amended protocol extension frame, if surpass described default forwarding jumping figure threshold value, according to ITU-T protocol extension frame described in the flow processing of protocol definition G.8032/Y.1344.
4. the ITU-T according to claim 3 extension processing method under multipoint fault G.8032/Y.1344, is characterized in that described in synchronized transmission during protocol extension frame, by the value initialization of the forwarding hop count field of described protocol extension frame for certain is specifically worth.
5. the ITU-T according to claim 4 extension processing method under multipoint fault G.8032/Y.1344, is characterized in that the destination address of described protocol extension frame is made as clean culture fixed address.
6. the ITU-T according to claim 5 extension processing method under multipoint fault G.8032/Y.1344, is characterized in that the destination address of described protocol extension frame is made as reserved address.
7. according to the extension processing method under multipoint fault G.8032/Y.1344 of the ITU-T described in claim 1,2,3,4,5 or 6, it is characterized in that the frame structure of described protocol extension frame is:
Destination address Source address Protocol type R-APS PDU Forward jumping figure Padding
Destination address: represent the address of the equipment of transmission frame, account for 6 bytes, its value is described specific objective address;
Source address: represent the address of the equipment of received frame, account for 6 bytes, its value is node unicast mac address;
Protocol type: account for 2 bytes;
R-APS PDU:ITU-T is G.8032/Y.1344(03/2010) definition R-APS data;
Forward jumping figure: account for 1 byte, initial value is made as certain and is specifically worth, for the counting of hop count;
Padding: the filling when 60 bytes of frame length less than, for frame length being filled to 60 bytes.
8. the ITU-T according to claim 7 extension processing method under multipoint fault G.8032/Y.1344, the value that it is characterized in that described protocol type field is fixed as certain and is specifically worth.
9. the ITU-T according to claim 8 extension processing method under multipoint fault G.8032/Y.1344, is characterized in that described node comprises industrial ethernet switch and/or router.
CN201110440727.8A 2011-12-26 2011-12-26 Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault Active CN102510353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110440727.8A CN102510353B (en) 2011-12-26 2011-12-26 Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110440727.8A CN102510353B (en) 2011-12-26 2011-12-26 Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault

Publications (2)

Publication Number Publication Date
CN102510353A CN102510353A (en) 2012-06-20
CN102510353B true CN102510353B (en) 2014-09-03

Family

ID=46222407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110440727.8A Active CN102510353B (en) 2011-12-26 2011-12-26 Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault

Country Status (1)

Country Link
CN (1) CN102510353B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184678A (en) * 2013-05-28 2014-12-03 上海博达数据通信有限公司 Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network
CN106953779B (en) * 2017-03-06 2019-01-15 南方电网科学研究院有限责任公司 Redundant looped network node monitoring method and system
CN107317762A (en) * 2017-06-29 2017-11-03 北京东土军悦科技有限公司 Jamming control method and field layer device based on industry internet field layer device
CN112491889A (en) * 2020-11-27 2021-03-12 中国人民解放军战略支援部队信息工程大学 Software and hardware cooperative programmable forwarding system, method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035710A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Method and system for updating blocked port information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8625410B2 (en) * 2009-05-11 2014-01-07 Ciena Corporation Dual homed E-spring protection for network domain interworking

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035710A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Method and system for updating blocked port information

Also Published As

Publication number Publication date
CN102510353A (en) 2012-06-20

Similar Documents

Publication Publication Date Title
CN100469036C (en) An implementation method for industrial Ethernet fast-speed redundancy
CN102316016B (en) Method and device for forwarding multicasting flow
JP4526423B2 (en) Ring connection method and apparatus
CN105812179B (en) A kind of unrelated forwarding network event processing method of agreement
CN102510353B (en) Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault
CN103346944B (en) The looped network of multi-point cooperative detection link
CN101958831B (en) Ethernet ring network failure recovery method, Ethernet ring network and switching equipment
EP2339791B1 (en) Method for forwarding protocol frames in spanning rings and a shared node of multi-rings in the ethernet
CN106549774A (en) A kind of link failure report method and forwarding unit based on software defined network
CN103107940B (en) For the redundant gateway system of device level looped network
CN1964360A (en) A method and device for MAC frame forwarding
CN112995041B (en) Network communication method, device, electronic equipment and storage medium
KR20130055392A (en) Method and appratus for protection switching in point-to- multipoint network
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN101547131B (en) EAPS looped network single-channel fault location and protection method
CN101989930A (en) Method and switching equipment for realizing Ethernet double loop
CN103916318A (en) Single-loop network implementation method
CN103825754B (en) Ring network multipoint fault discovery and recovery processing method
US20170142002A1 (en) Communication device and communication system
CN104333470A (en) Fault handling method and device
CN204928874U (en) A communication equipment that be used for can redundant operation industry communications network
CN101686199B (en) Method, device and system for processing control message in Ethernet protection system
EP2400697A1 (en) Implementation method for protocol channel in ethernet protection
CN105162733B (en) A kind of method and apparatus for determining edge interface
CN102075374A (en) Method and system for reconstructing single-ring network topology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing city in Chaoyang District Lize Park Building No. 101 Qiming International Building 11 southwest side

Applicant after: BEIJING INHAND NETWORK TECHNOLOGY CO., LTD.

Address before: 100102 Beijing city in Chaoyang District Lize Park Building No. 101 Qiming International Building 11 southwest side

Applicant before: Yinghantong Network Tech Co., Ltd., Beijing

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: YINGHANTONG NETWORK TECH CO., LTD., BEIJING TO: BEIJING INHAND NETWORKS TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant