CN104184678A - Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network - Google Patents

Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network Download PDF

Info

Publication number
CN104184678A
CN104184678A CN201310204924.9A CN201310204924A CN104184678A CN 104184678 A CN104184678 A CN 104184678A CN 201310204924 A CN201310204924 A CN 201310204924A CN 104184678 A CN104184678 A CN 104184678A
Authority
CN
China
Prior art keywords
frame
hsr
sequence number
source mac
node
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
CN201310204924.9A
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.)
SHANGHAI BAUD DATA COMMUNICATION CO Ltd
Original Assignee
SHANGHAI BAUD DATA COMMUNICATION 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 SHANGHAI BAUD DATA COMMUNICATION CO Ltd filed Critical SHANGHAI BAUD DATA COMMUNICATION CO Ltd
Priority to CN201310204924.9A priority Critical patent/CN104184678A/en
Publication of CN104184678A publication Critical patent/CN104184678A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network. The method comprises that the sequence number of the frames is increased progressively when each HSR node in a HSR ring network transmits a frame to a ring every time; that each HSR node in the HSR ring network maintains the source MAC address and the corresponding sequence number information of the each received frame; and that a target node drops repeated frames according the source MAC address and the corresponding sequence number information maintained locally. The method may effectively drops repeated frames in a ring network formed by the HSR nodes and guarantee high reliability and accuracy in a whole dropping process.

Description

A kind of method abandoning for realizing the frame copy of the seamless redundant looped network of high reliability
Technical field
The present invention relates to a kind of network communications technology, be specifically related to a kind of method that frame copy of seamless redundant looped network abandons.
Background technology
The seamless redundancy of HSR(high availability of introducing in IEC62439-3-2012) be an ethernet redundancy agreement, its object is to realize reliability and the real-time demand of harsh application (as the automation of transformation substations and mobile control).HSR provided for zero recovery time failed in the situation that, was mainly used in loop network.
Referring to Fig. 1, it is depicted as HSR ring-network topology figure.Each HSR node has two looped network ports, by forming a HSR network with the looped network port of full-duplex link interconnection HSR node.
The operating mode of HSR is that a HSR node sends to same frame in ring towards both direction, adds the HSR label that comprises a sequence number before frame.Therefore destination node is received two frames, uses first frame and abandons the frame of repetition.Destination node is identified the frame of repetition according to the source MAC in frame and sequence number.
IEC62439-3-2012 only illustration purpose node abandons the frame of repetition according to the source MAC of frame and sequence number, but how do not illustrate HSR node when Xiang Huanzhong sends frame is numbered the frame from different source MACs, do not have explanation how according to the source MAC of frame and sequence number, to abandon the frame of repetition, and how when abandoning repeating frame, to guarantee whole high reliability and the accuracy that abandons process yet.
It is the problem that this area is needed solution badly that the scheme that the frame copy of the seamless redundant looped network of a kind of high reliability abandons is provided as can be seen here.
Summary of the invention
The present invention is directed to the problem that the frame copy of the seamless redundant looped network of high reliability abandons, a kind of method that provides frame copy of realizing the seamless redundant looped network of high reliability to abandon cannot be provided in prior art.By the present invention, can specific implementation according to the source MAC of frame and sequence number, abandon the frame of repetition, and can guarantee whole high reliability and the accuracy that abandons process.
In order to achieve the above object, the present invention adopts following technical scheme:
The method abandoning for realizing the frame copy of the seamless redundant looped network of high reliability, each HSR node in HSR looped network is every sends a frame in ring, all the sequence number of frame is increased progressively; The frame of receiving for each, the source MAC of each the HSR node maintenance frame in HSR looped network and corresponding serial number information; Destination node, according to the source MAC of local maintenance and corresponding serial number information, abandons the frame of repetition.
In preferred embodiment of the present invention, each HSR node in described HSR looped network is every sends a frame in ring, all uses sequence number that source MAC is corresponding for frame increases HSR tag, then increases progressively the sequence number that source MAC is corresponding; When the transmission next one comes from the frame of this source MAC, use the sequence number after increasing progressively; The frame of receiving for each, each the HSR node in HSR looped network, according to the sequence number in the source MAC of frame and HSR Tag, upgrades the source MAC of local maintenance and corresponding serial number information.
Further, when described destination node abandons repeating frame, for a frame that HSR port is received from destination node, if the non-NULL that the source MAC that another HSR port of destination node has existed this frame is corresponding abandon window, and the sequence number in the HSR tag of this frame is arranged in this and abandons window, this frame is the frame of a repetition so, and this frame is abandoned.
Utilize such scheme in a looped network being formed by HSR node, effectively to abandon the frame of repetition.And can guarantee whole high reliability and the accuracy that abandons process.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, further illustrate the present invention.
Fig. 1 is HSR ring-network topology figure;
Fig. 2 abandons window schematic diagram on HSR node port A in HSR looped network;
Fig. 3 is that in HSR looped network, HSR node abandons window schematic diagram after frame is abandoned;
Fig. 4 receives the schematic diagram of frame on HSR node port B in HSR looped network.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach object and effect is easy to understand, below in conjunction with concrete diagram, further set forth the present invention.
Referring to Fig. 1, each node in HSR looped network is every sends a frame in ring, all the sequence number of the frame sending is increased progressively, for the sequence number counter that frame number is counted, there are 16, therefore the maximum of the sequence number of each frame is 65535, when sequence number reaches after maximum 65535, since 0, again increase progressively.
The technology that the present invention abandons window by slip realizes abandoning of repeating frame, it is a kind of technology relating in PRP scheme in IEC62469-2008 that slip abandons window, the invention provides accordingly a kind of concrete utilization and slides and abandon window and in HSR looped network, carry out the implementation that copy abandons.
Each HSR node in this HSR looped network is at two looped network port A and B, except for connecting into looped network with other HSR node, the source MAC that the present invention also utilizes each HSR node to be respectively at two looped network port A and B the frame of receiving safeguards that a slip abandons window.
The function that this slip abandons window is for abandoning the frame of repetition, it judges whether to abandon frame according to the source MAC of source MAC, the sequence number in HSR tag and the local maintenance of the frame of receiving and corresponding serial number information, and upgrades source MAC and the corresponding serial number information of local maintenance.
Because slip abandons the source MAC of window technique based on frame and the sequence number in HSR tag realizes, therefore, the frame of receiving for each, the serial number information corresponding to source MAC of each the HSR node maintenance frame in HSR looped network.No matter the destination of the frame of receiving is present node, present node all upgrades the serial number information corresponding to source MAC of frame.
For this reason, each HSR node in HSR looped network is every sends a frame in ring, all uses the sequence number that source MAC is corresponding independent mutually for frame increases the HSR tag(sequence number that wherein each source MAC is corresponding), then increase progressively the sequence number that source MAC is corresponding; When the transmission next one comes from the frame of this source MAC, use the sequence number after increasing progressively; The frame of receiving for each, each the HSR node in HSR looped network, according to the sequence number in the source MAC of frame and HSR Tag, upgrades the source MAC of local maintenance and corresponding serial number information.
Referring to Fig. 2 and Fig. 3, in the present invention, slide abandon window under be limited to StartSeq(StartSeqA or StartSeqB), slide abandon window on be limited to CurrentSeq(CurrentSeqA or CurrentSeqB).CurrentSeq increases progressively 1 and equals ExpectedSeq(ExpectedSeqA or ExpectedSeqB), slip abandons window and does not comprise ExpectedSeq, and the difference between ExpectedSeq and StartSeq is exactly to slide to abandon the size of window.Under initial condition, two looped network ports of a HSR node do not exist slip corresponding to any MAC Address to abandon window; Only, when after looped network port is received frame, looped network port just exists the slip that the source MAC of frame is corresponding to abandon window information.
As from the foregoing, the minimum value of the sequence number of HSR node maintenance is corresponding to StartSeq, the maximum of the sequence number of HSR node maintenance is corresponding to CurrentSeq, so in the present invention, slides and abandon the method that the scheme of upgrading StartSeq, CurrentSeq in windowhood method is namely upgraded the serial number information that the source MAC of frame is corresponding.Because the scope of sequence number in HSR tag is 0-65535, the magnitude range that abandons window of therefore sliding is 0-65536.The size that slip abandons window is 0 o'clock, represents to slide to abandon window for empty.If slip corresponding to certain source MAC abandons window and do not exist or slide that to abandon window size be 0 on a HSR port, the frame that comes from so this MAC Address on another HSR port can not be dropped.
Referring to Fig. 2, suppose that HSR port A has set up the window that abandons of a non-NULL, the frame that abandons window that is arranged in A from the sequence number of port B is just dropped (as the dropB of Fig. 2).Sequence number from port B can not be dropped at the frame abandoning in window of A.
Frame is abandoned to (dropB in Fig. 2) and can make to abandon window contraction (because can not expect again the early frame of sequence number that has more on B) on port A, so, StartSeqA is increased to the large value of sequence number CurrentSeqB of the frame that a ratio receives.And because B lags significantly behind A, the window size that abandons on B is re-set as 0(StartSeqB=ExpectedSeqB), the frame from A can not be dropped like this.
Referring to Fig. 3, in the situation shown in it, if arrive according to the order of sequence a plurality of frames on same port A, but on port B, do not have frame to arrive, these frames of receiving on port A can be retained (because their sequence number be positioned at abandoning outside window of port B), and port A abandons window and can increase.If continue to receive frame on port A, and can not receive frame on port B, when reaching the full-size that abandons window, increase StartSeqA so that abandon window sliding.
Referring to Fig. 4, the framing bit of receiving on port B in port A abandon outside window time, this frame is retained, and the window size that abandons of port B is reduced to 1(StartSeqB=CurrentSeqB, ExpectedSeqB=StartSeqB+1, this means that frame that only has same sequence number of receiving on port A just can be dropped), simultaneously, the window that abandons on port A is re-set as 0(StartSeqA=ExpectedSeqA, this means on port B and does not have frame to be dropped).
As from the foregoing, when in the present invention, destination node abandons repeating frame, for a frame that HSR port is received from destination node, if the non-NULL that the source MAC that another HSR port of destination node has existed this frame is corresponding abandon window, and the sequence number in the HSR tag of this frame is arranged in this and abandons window, this frame is the frame of a repetition so, and this frame is abandoned.
More than show and described basic principle of the present invention, principal character and advantage of the present invention.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; that in above-described embodiment and specification, describes just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (3)

1. the method abandoning for realizing the frame copy of the seamless redundant looped network of high reliability, is characterized in that, each HSR node in HSR looped network is every sends a frame in ring, all the sequence number of frame is increased progressively; The frame of receiving for each, the source MAC of each the HSR node maintenance frame in HSR looped network and corresponding serial number information; Destination node, according to the source MAC of local maintenance and corresponding serial number information, abandons the frame of repetition.
2. a kind of method abandoning for realizing the frame copy of the seamless redundant looped network of high reliability according to claim 1, it is characterized in that, each HSR node in described HSR looped network is every sends a frame in ring, all use sequence number that source MAC is corresponding for frame increases HSR tag, then increase progressively the sequence number that source MAC is corresponding; When the transmission next one comes from the frame of this source MAC, use the sequence number after increasing progressively; The frame of receiving for each, each the HSR node in HSR looped network, according to the sequence number in the source MAC of frame and HSR Tag, upgrades the source MAC of local maintenance and corresponding serial number information.
3. a kind of method abandoning for realizing the frame copy of the seamless redundant looped network of high reliability according to claim 1, it is characterized in that, when described destination node abandons repeating frame, for a frame that HSR port is received from destination node, if the non-NULL that the source MAC that another HSR port of destination node has existed this frame is corresponding abandon window, and the sequence number in the HSR tag of this frame is arranged in this and abandons window, this frame is the frame of a repetition so, and this frame is abandoned.
CN201310204924.9A 2013-05-28 2013-05-28 Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network Pending CN104184678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310204924.9A CN104184678A (en) 2013-05-28 2013-05-28 Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310204924.9A CN104184678A (en) 2013-05-28 2013-05-28 Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network

Publications (1)

Publication Number Publication Date
CN104184678A true CN104184678A (en) 2014-12-03

Family

ID=51965435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310204924.9A Pending CN104184678A (en) 2013-05-28 2013-05-28 Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network

Country Status (1)

Country Link
CN (1) CN104184678A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812160A (en) * 2014-12-31 2016-07-27 北京东土科技股份有限公司 Seamless redundant network self-adaption method and device thereof
CN109314655A (en) * 2016-06-10 2019-02-05 Tt柔性技术有限公司 The receiving frame at the redundancy port for connecting the node to communication network
CN109981479A (en) * 2019-02-27 2019-07-05 西安微电子技术研究所 A kind of sliding of single window dynamic and Redundancy Management system and method towards PRP network
CN111277480A (en) * 2020-01-19 2020-06-12 山东网聪信息科技有限公司 Method and system for discarding high-availability seamless redundant looped network repeat frame
CN112751725A (en) * 2020-12-17 2021-05-04 浙江中控技术股份有限公司 HSR (high speed signaling) ring network communication device and communication method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030147345A1 (en) * 2002-02-06 2003-08-07 Nec Corporation Multiring control method, node using the method, and control program
US20090103554A1 (en) * 2007-10-22 2009-04-23 Shinichi Akahane Data transfer device for ring protocol high speed switching and method for the same
CN102510353A (en) * 2011-12-26 2012-06-20 北京映翰通网络技术有限公司 Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030147345A1 (en) * 2002-02-06 2003-08-07 Nec Corporation Multiring control method, node using the method, and control program
US20090103554A1 (en) * 2007-10-22 2009-04-23 Shinichi Akahane Data transfer device for ring protocol high speed switching and method for the same
CN102510353A (en) * 2011-12-26 2012-06-20 北京映翰通网络技术有限公司 Expansion processing method under international telecommunication union telecommunication standardization sector (ITU-T) G.8032/Y.1344 multi-point fault

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
何钟杰: "几种智能变电站冗余通信协议分析比较", 《广东电力》 *
李俊刚: "基于IEC62439-3的智能变电站通信网络冗余设计", 《电力系统自动化》 *
许铁峰等: "高可用性无缝环网在数字化变电站通信网络的应用", 《电力自动化设备》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812160A (en) * 2014-12-31 2016-07-27 北京东土科技股份有限公司 Seamless redundant network self-adaption method and device thereof
CN105812160B (en) * 2014-12-31 2019-02-12 北京东土科技股份有限公司 A kind of seamless redundant network mode adaptive method and device
CN109314655A (en) * 2016-06-10 2019-02-05 Tt柔性技术有限公司 The receiving frame at the redundancy port for connecting the node to communication network
CN109314655B (en) * 2016-06-10 2021-12-28 Tt柔性技术有限公司 Method and apparatus for receiving frames at redundant ports connecting nodes to a communication network
US11283556B2 (en) 2016-06-10 2022-03-22 Tttech Flexibilis Oy Receiving frames at redundant port connecting node to communications network
CN109981479A (en) * 2019-02-27 2019-07-05 西安微电子技术研究所 A kind of sliding of single window dynamic and Redundancy Management system and method towards PRP network
CN109981479B (en) * 2019-02-27 2022-06-28 西安微电子技术研究所 PRP network-oriented single-window dynamic sliding and redundancy management system and method
CN111277480A (en) * 2020-01-19 2020-06-12 山东网聪信息科技有限公司 Method and system for discarding high-availability seamless redundant looped network repeat frame
CN112751725A (en) * 2020-12-17 2021-05-04 浙江中控技术股份有限公司 HSR (high speed signaling) ring network communication device and communication method thereof

Similar Documents

Publication Publication Date Title
WO2017005121A1 (en) Method, device and system for sending and receiving code block data stream
CN104184678A (en) Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network
CN102664750B (en) Method, system and device for hot backup of multi-machine
CN107040326A (en) Trillion secondary structure time synchronized
US9331868B2 (en) Method of bus virtualization in computing machine intercommunications
EP2928108B1 (en) System, method and apparatus for multi-lane auto-negotiation over reduced lane media
CN102907058B (en) The apparatus and method that sync-lock unit transmission is provided in the network for not having central authorities' control
CN106471780A (en) Work together to configure method, system and the logic of link-local based on remote link
CN104866399B (en) UM-BUS bus run Failure Detection Controller and detection method
CN105049312A (en) Industrial control ring network system and networking method thereof
CN104052588B (en) For the method to realize the precise time stamp by IEEE1588 using the system of FEC encoder
CN107508648A (en) Time triggered Ethernet substep time synchronized strategy based on functions of the equipments classification
CN104767664B (en) Method, apparatus and system of a kind of ring-type communication network increase and decrease from node
CN101686169B (en) Scheme for avoiding deadlock in multi-ring interconnect, with additional application to congestion control
CN203340113U (en) Source server system for through intranet-extranet long-distance data transmission and target server system
CN101527707B (en) Real-time consistency check method and correlative device for warm backup of SCTP protocol stack
CN104618057B (en) A kind of Packet Transport Network not damaged protection reverse method and system
CN102065508A (en) Wireless bridge forwarding equipment and method
CN103812797A (en) Method for transmitting data packets, and communication module for receiving data packets
CN104703296A (en) Link dormancy method for wireless communication multi-hop network link and tree topology structure
CN105282036A (en) Routing node and route exchange method and system
CN104954439B (en) A kind of Cloud Server and its node interconnected method, cloud server system
CN204463106U (en) UM-BUS bus run Failure Detection Controller
WO2016101555A1 (en) Cross scheduling method and device, and storage medium
CN104283969A (en) Narrow-band wireless control network communication system and method

Legal Events

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

Application publication date: 20141203

RJ01 Rejection of invention patent application after publication