KR20150054414A - Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus - Google Patents

Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus Download PDF

Info

Publication number
KR20150054414A
KR20150054414A KR1020130136826A KR20130136826A KR20150054414A KR 20150054414 A KR20150054414 A KR 20150054414A KR 1020130136826 A KR1020130136826 A KR 1020130136826A KR 20130136826 A KR20130136826 A KR 20130136826A KR 20150054414 A KR20150054414 A KR 20150054414A
Authority
KR
South Korea
Prior art keywords
frame
information
buffer
unit
redundancy
Prior art date
Application number
KR1020130136826A
Other languages
Korean (ko)
Other versions
KR101576833B1 (en
Inventor
오휘명
김영선
최성수
이원태
Original Assignee
한국전기연구원
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 한국전기연구원 filed Critical 한국전기연구원
Priority to KR1020130136826A priority Critical patent/KR101576833B1/en
Publication of KR20150054414A publication Critical patent/KR20150054414A/en
Application granted granted Critical
Publication of KR101576833B1 publication Critical patent/KR101576833B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The present specification discloses a redundancy check method. In an apparatus having a redundancy function such as PRP or HSR protocol, the method can quickly check for redundancy in real-time within communication data between devices by using a receiving buffer.

Description

이중화 장치에서 수신 버퍼를 이용한 통신 데이터의 중복 검사 방법 {Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus}Technical Field [0001] The present invention relates to a redundancy checking method for communication data using a receiving buffer in a redundancy apparatus,

본 발명은 이중화 장치에서의 통신 데이터의 중복 검사 방법에 관한 것으로서, 특히, PRP이나 HSR 프로토콜 등의 이중화 리던던시 기능이 적용된 이중화 장치에서 수신 버퍼를 이용한 중복 검사에 의해 네트워크 상의 디바이스들 간의 통신 데이터에 대한 실시간 고속의 중복 감지가 가능하도록 한 중복 검사 방법에 관한 것이다.More particularly, the present invention relates to a method for redundant checking of communication data in a duplexer, and more particularly, to a duplexer employing a redundant redundancy function such as PRP or HSR protocol, The present invention relates to a redundant inspection method for real-time high-speed redundant detection.

IEC 62439-3의 PRP(Parallel Redundancy Protocol) 및 HSR(High-availability Seamless Redundancy) 프로토콜은 IED(Intelligent Electronic Devices)와 같은 변전소 자동화 기기 등에서 데이터 전송의 오류를 방지하고 완전한 데이터 전송을 보장하기 위하여 2중화 리던던시(redundancy)를 제공하기 위한 프로토콜이다.The Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR) protocols of IEC 62439-3 are used in substation automation devices such as Intelligent Electronic Devices (IED) to prevent data transmission errors and to ensure full data transmission. It is a protocol for providing redundancy.

PRP이나 HSR 프로토콜의 이중화 리던던시 기능이 적용된 IED 기기 등에서는, 이더넷 기반의 인터넷 상에서 2 경로를 통하여 중복된 프레임(또는 패킷)을 송수신하도록 함으로써, 하나의 데이터 프레임이 장애 등으로 전달되지 못하더라도 다른 하나의 데이터 프레임에 의해 데이터 전송이 보장되도록 한다. PRP 리던던시는 IED 기기 등 하나의 장치가 2개의 로컬 네트워크와 통신하여 패러랠(parallel)하게 중복된 프레임을 송수신하는 방식이고, HSR 리던던시는 네트워크 상에서 링 형태로 서로 통신 가능하도록 연결되어 있는 장치들 간에 링 형태의 연결선을 통하여 시계 방향과 반시계 방향으로 하나씩 중복된 프레임을 송수신하는 방식이다.In an IED device to which redundancy redundancy function of PRP or HSR protocol is applied, a duplicated frame (or packet) is transmitted and received through two paths on the Ethernet-based Internet, so that even if one data frame is not transmitted due to a failure, Thereby guaranteeing data transmission. PRP redundancy is a scheme in which a single device such as an IED device communicates with two local networks to transmit and receive parallel frames in a parallel manner. HSR redundancy is a method in which, among the devices connected to each other, And transmits and receives overlapping frames one by one in the clockwise direction and the counterclockwise direction through the connection line of the form.

다만, 2중화 리던던시 기능이 적용된 IED 기기 등에서는 이중화에 따른 동일 데이터 프레임이 중복 수신되므로, 이를 해소하기 위해 데이터 링크 계층에 존재하는 LRE(Link Redundancy Entity) 등에서 수신되는 프레임이 이미 수신된 프레임과 중복된 프레임인지 여부를 판단하여, 중복되어 수신된 프레임은 상위 계층으로 올려 처리되도록 하지 않고 바로 버리게 된다.However, in the case of an IED device to which a redundancy redundancy function is applied, the same data frame due to duplication is received redundantly. To solve this problem, a frame received in a link redundancy entity (LRE) It is judged whether or not the frame is a duplicated frame.

이와 같은 LRE에서의 중복 프레임 버림(discard) 기능은 PRP이나 HSR 데이터 프레임의 'source'와 'destination'을 확인하여 이미 수신된 프레임의 해당 주소와 동일한지 여부를 확인하고, 또한, 'PRP Tail' 이나 'HSR Tag' 필드에 존재하는 'sequence counter(또는number)' 및 'lane(또는path)'를 확인하여 이미 수신된 프레임의 해당 필드값과 동일한 값일 경우 중복으로 인식하는 방식으로 이루어지고 있다(도 1 참조). The redundant frame discard function in the LRE checks whether the source and destination of the PRP or HSR data frame are the same as the corresponding address of the already received frame, (Or number) 'and' lane (or path) 'existing in the' HSR Tag 'field and recognizing it as a duplicate if the value is the same as the corresponding field value of the already received frame ( 1).

그러나, 이와 같은 특정 필드의 2단계 비교 방식은 실시간 제어가 필요한 IED 기기 등에서 고속 처리의 어려움이 있으므로 제어 장애를 유발할 수 있는 문제점으로 지적되고 있다. However, such a two-step comparison method of a specific field is pointed out as a problem that can cause a control failure due to difficulty in high-speed processing in an IED device or the like that requires real-time control.

관련선행문헌으로서 대한민국특허공개번호 제 10-1999-0058410호 (1999.07.15. 공개) 등이 참조될 수 있다.Korean Patent Publication No. 10-1999-0058410 (published on July 15, 1999) and the like can be referred to as related prior arts.

따라서, 본 발명은 상술한 문제점을 해결하기 위한 것으로서, 본 발명의 목적은, PRP이나 HSR 프로토콜 등의 이중화 리던던시 기능이 적용된 이중화 장치에서 수신 버퍼를 이용한 중복 검사에 의해 네트워크 상의 디바이스들 간의 통신 데이터에 대한 실시간 고속의 중복 감지가 가능하도록 한 중복 검사 방법을 제공하는 데 있다.SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a redundant apparatus to which redundant redundancy function such as PRP or HSR protocol is applied, And to provide a redundant inspection method capable of real-time high-speed duplication detection.

먼저, 본 발명의 특징을 요약하면, 상기와 같은 본 발명의 목적을 달성하기 위한 본 발명의 일면에 따른 이중화 장치에서의 통신 데이터의 중복 검사 방법은, (A)미리 정한 크기 이상의 데이터를 저장할 수 있는 버퍼 뱅크를 이용하여 현재 수신되는 데이터 프레임을 단위 버퍼(K)에 저장하는 단계; (B)이미 수신되어 하나 이상의 다른 단위 버퍼에 저장되어 관리되는 각 버퍼의 정보와 상기 단위 버퍼(K)의 정보를 비교하되, 비교되는 모든 단위 버퍼들의 사전에 특정된 필드의 정보에 대하여 각 비트를 순차 비교하여, 상기 하나 이상의 다른 단위 버퍼 중 어느 하나와 상기 단위 버퍼(K) 간의 중복 프레임 여부를 판단하는 단계; 및 (C)상기 판단의 결과에 기초하여 상기 단위 버퍼(K)의 정보가 신규 프레임인지 또는 중복 프레임인지 여부에 따라 상기 단위 버퍼(K)의 정보에 대하여 후속 처리를 위한 상위 계층으로의 전송 또는 상기 단위 버퍼(K)의 정보의 삭제를 제어하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method for duplicating communication data in a duplexer, the method comprising the steps of: (A) Storing a currently received data frame in a unit buffer (K) using a buffer bank; (B) comparing information of each buffer, which is already received and stored in one or more other unit buffers and managed, with information of the unit buffer (K) And determining whether there is a duplicate frame between any one of the one or more other unit buffers and the unit buffer (K); And (C) transmitting the information of the unit buffer (K) to an upper layer for subsequent processing according to whether the information of the unit buffer (K) is a new frame or a redundant frame or And controlling deletion of information of the unit buffer (K).

상기 이중화 장치는 상기 상위 계층의 하위에서 상기 중복 검사를 위한 데이터 링크 계층의 LRE(Link Redundancy Entity)를 포함하며, 상기 LRE에서 PRP(Parallel Redundancy Protocol) 또는 HSR(High-availability Seamless Redundancy) 프로토콜에 따른 외부의 이중화 리던던시 기능을 위한 장치로부터의 상기 데이터 프레임의 수신 시에 상기 중복 검사를 수행할 수 있다.The redundancy apparatus includes a link redundancy entity (LRE) of the data link layer for performing the redundancy check in the lower layer, and the redundancy apparatus includes a link redundancy scheme in accordance with a PRP (Parallel Redundancy Protocol) or HSR (High-availability Seamless Redundancy) The redundancy check can be performed upon receiving the data frame from the device for the external redundancy redundancy function.

상기 데이터 프레임은 PRP(Parallel Redundancy Protocol) 프레임 또는 HSR(High-availability Seamless Redundancy) 프레임이고, 상기 버퍼 뱅크는 PRP 프레임의 필드 'sequence counter' 또는 HSR 프레임의 필드 'sequence number'의 최대값 이상의 단위 버퍼들을 포함할 수 있다.Wherein the data frame is a PRP (Parallel Redundancy Protocol) frame or a High-availability Seamless Redundancy (HSR) frame and the buffer bank is a unit buffer of a PRP frame or a HSR frame, Lt; / RTI >

(B) 단계에서, 상기 데이터 프레임이 PRP 프레임의 경우에는 'destination', 'source', 'lane', 'sequence counter' 필드들의 정보를 미리 정해진 순서에 따라 1비트씩 순차 비교하고, 상기 데이터 프레임이 HSR 프레임인 경우에는 'destination', 'source', 'path', 'sequence number' 필드들의 정보를 미리 정해진 순서에 따라 1비트씩 순차 비교할 수 있다.In step (B), when the data frame is a PRP frame, information of 'destination', 'source', 'lane', and 'sequence counter' fields are sequentially compared by 1 bit in a predetermined order, In the case of the HSR frame, the information of the 'destination', 'source', 'path', and 'sequence number' fields can be sequentially compared by 1 bit in a predetermined order.

(B) 단계에서, 상기 각 비트의 순차 비교 시에 상기 단위 버퍼(K)의 비교 비트들의 어느 한 비트와 다른 값이 발견되는 해당 단위 버퍼와의 비교는 더 이상 이루어지지 않도록 중지되며, 상기 단위 버퍼(K)의 비교 비트들의 최종 비트까지 모두 일치한 비트 값을 갖는 단위 버퍼의 존재 시에 상기 단위 버퍼(K)의 정보가 중복 프레임인 것으로 판단할 수 있다.In the step (B), a comparison is made with a corresponding unit buffer in which a value different from any one bit of the comparison bits of the unit buffer K is found at the time of the sequential comparison of the bits, It can be determined that the information of the unit buffer K is a redundant frame in the presence of a unit buffer having a bit value that matches up to the last bit of the comparison bits of the buffer K. [

(C) 단계에서, 상기 단위 버퍼(K)의 정보가 신규 프레임인 경우, 상기 단위 버퍼(K)의 정보의 삭제 없이 상기 단위 버퍼(K)의 정보를 상기 상위 계층으로 전송할 수 있다.The information of the unit buffer K may be transmitted to the upper layer without deleting the information of the unit buffer K if the information of the unit buffer K is a new frame in step (C).

(C) 단계에서, 상기 단위 버퍼(K)의 정보가 상기 중복 프레임인 경우, 상기 중복 프레임을 갖는 해당 단위 버퍼와 상기 단위 버퍼(K)의 정보를 삭제할 수 있다.In the step (C), if the information of the unit buffer K is the redundant frame, information of the unit buffer having the redundant frame and the information of the unit buffer K may be deleted.

(C) 단계에서, 상기 단위 버퍼(K)의 정보가 상기 중복 프레임인 경우, 상기 현재 수신되는 데이터 프레임의 상기 'sequence counter' 또는 'sequence number'로부터 판단하여 그 값이 재시작된 값이면, 상기 중복 프레임을 갖는 해당 단위 버퍼와 상기 단위 버퍼(K)의 정보를 삭제할 수 있다.(C), if the information of the unit buffer (K) is the redundant frame, it is determined from the 'sequence counter' or the 'sequence number' of the currently received data frame, and if the value is a restarted value The unit buffer having the redundant frame and the information of the unit buffer K can be deleted.

그리고, 본 발명의 다른 일면에 따른, 통신 데이터의 중복 검사를 수행하는 이중화 장치는, 복수의 단위 버퍼를 포함하며, 수신되는 데이터 프레임을 저장하기 위한 미리 정한 크기 이상의 버퍼 뱅크; 이미 수신되어 상기 버퍼 뱅크의 하나 이상의 단위 버퍼에 저장되어 관리되는 각 버퍼의 정보와 현재 수신되어 상기 버퍼 뱅크의 단위 버퍼(K)에 저장된 정보를 비교하되, 비교되는 모든 단위 버퍼들의 사전에 특정된 필드의 정보에 대하여 각 비트를 순차 비교하는 비트 와이즈 비교기; 상기 비교의 결과에 따라 상기 하나 이상의 다른 단위 버퍼 중 어느 하나와 상기 단위 버퍼(K) 간의 중복 프레임 여부를 판단하는 중복 판정부; 및 상기 판단의 결과에 기초하여 상기 단위 버퍼(K)의 정보가 신규 프레임인지 또는 중복 프레임인지 여부에 따라 상기 단위 버퍼(K)의 정보를 후속 처리를 위한 상위 계층으로의 전송 또는 상기 단위 버퍼(K)의 정보의 삭제 여부를 제어하는 제어부를 포함한다.According to another aspect of the present invention, there is provided a duplexer for performing duplex checking of communication data, the duplexer including a plurality of unit buffers, the buffer bank having a predetermined size or larger for storing received data frames; And comparing the information of each buffer, which is already received and stored in one or more unit buffers of the buffer bank and managed, with information stored in the unit buffer K of the buffer bank currently received, A bitwise comparator for sequentially comparing each bit with respect to information of a field; A redundancy judgment unit for judging whether any one of the one or more other unit buffers is overlapped with the unit buffer (K) according to a result of the comparison; And transmitting information of the unit buffer (K) to an upper layer for subsequent processing according to whether the information of the unit buffer (K) is a new frame or a redundant frame based on a result of the determination, K of the information to be deleted.

본 발명에 따른 이중화 장치에서의 통신 데이터의 중복 검사 방법에 따르면, 중복 감지 기법 적용 시점을 새로운 통신 데이터 프레임의 수신 시점으로 고정하고, 수신 버퍼에 저장되는 프레임 중 PRP이나 HSR 프로토콜 등에 따른 중복 감지에 필요한 해당 정보만을 이미 수신되어 저장된 프레임의 해당 필드 정보와의 각 비트별 실시간 비교 처리로 고속의 중복 감지가 가능하다.According to the duplication checking method of communication data in the duplication apparatus according to the present invention, the application time point of the duplication detection technique is fixed to the reception time point of the new communication data frame, and duplication detection based on the PRP or HSR protocol among the frames stored in the reception buffer It is possible to perform high-speed duplication detection by processing in real time for each bit of the necessary information only with the corresponding field information of the already received and stored frame.

또한, PRP 프레임의 'sequence counter' 또는 HSR 프레임의 'sequence number'의 크기가 제한되어 리셋되고 다시 카운트되므로 실제 중복 검사의 대상이 되는 프레임 개수가 한정되어 버퍼의 크기도 그에 따라 한정하여 사용할 수 있기 때문에, 이러한 고속처리가 가능한 버퍼와 각 비트별 실시간 비교 처리를 이용하는 간단한 중복 검사 방법이 실시간 고속의 중복 검사에 유용하게 활용될 수 있다.In addition, since the size of the 'sequence counter' of the PRP frame or the 'sequence number' of the HSR frame is reset and counted again, the number of frames to be subjected to the actual redundancy check is limited, Therefore, a buffer capable of high-speed processing and a simple redundancy checking method using real-time comparison processing for each bit can be usefully used for real-time high-speed redundancy testing.

도 1은 일반적인 PRP 및 HSR 프로토콜에 따른 데이터 프레임의 구조를 설명하기 위한 도면이다.
도 2는 본 발명의 일실시예에 따른 이중화 장치의 개념을 설명하기 위한 도면이다.
도 3은 도 2의 이중화 장치의 중복 검사 장치의 구성을 설명하기 위한 도면이다.
도 4는 도 3의 중복 검사 장치의 동작 방법을 설명하기 위한 흐름도이다.
1 is a diagram for explaining a structure of a data frame according to a general PRP and HSR protocol.
FIG. 2 is a view for explaining the concept of a duplication apparatus according to an embodiment of the present invention.
3 is a diagram for explaining a configuration of a duplication checking apparatus of the duplication apparatus of FIG.
4 is a flowchart for explaining an operation method of the duplicate inspection apparatus of FIG.

이하 첨부 도면들 및 첨부 도면들에 기재된 내용들을 참조하여 본 발명의 바람직한 실시예를 상세하게 설명하지만, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout.

먼저, IEC 62439-3의 PRP(Parallel Redundancy Protocol)나 HSR(High-availability Seamless Redundancy) 프로토콜의 이중화 리던던시 기능이 적용된 종래의 IED(Intelligent Electronic Devices) 기기 등에서는, 위에서도 기술한 바와 같이 도 1과 같은 PRP이나 HSR 데이터 프레임의 특정 필드 'source'와 'destination'을 확인하여 이미 수신된 프레임의 해당 주소와 동일한지 여부를 확인하고, 또한, 'PRP Tail' 이나 'HSR Tag' 필드에 존재하는 'sequence counter(또는number)' 및 'lane(또는path)'를 확인하여 이미 수신된 프레임의 해당 필드값과 동일한 값일 경우 중복으로 인식하는 중복 검사 방식을 사용하고 있다.First, in a conventional IED (Intelligent Electronic Devices) device to which a redundancy redundancy function of PRP (Parallel Redundancy Protocol) or HSR (High-availability Seamless Redundancy) protocol of IEC 62439-3 is applied, as described above, It checks whether the specific fields 'source' and 'destination' of the PRP or the HSR data frame are the same as the corresponding address of the already received frame, and also checks whether the 'sequence' existing in the 'PRP Tail' (or number) 'and' lane (or path) ', and recognizes it as duplicate if it is the same value as the corresponding field value of the already received frame.

PRP이나 HSR 데이터 프레임에는 본래의 표준 이더넷 프로토콜에 따른 'preamble', 'destination', 'source', 'LLC(Logical Link Control)', 'payload', 'FCS(Frame Check Sequence)' 등의 필드 이외에, PRP 데이터 프레임의 'PRP Tail'에 'sequence counter', 'lane', 'size', 'PRP suffix' 필드가 추가되었으며, HSR 데이터 프레임의 'HSR Tag'에 'HSR-ET', 'path', 'size', 'sequence number' 필드가 추가되었다. The PRP or HSR data frame contains fields such as 'preamble', 'destination', 'source', 'LLC (Logical Link Control)', 'payload' and 'FCS (Frame Check Sequence)' according to the original standard Ethernet protocol , 'Sequence counter', 'lane', 'size', and 'PRP suffix' fields are added to the 'PRP Tail' of the PRP data frame and 'HSR-ET' , 'size', and 'sequence number' fields have been added.

본 발명에서는 PRP이나 HSR 프로토콜의 이중화 리던던시 기능이 적용된 IED 기기 등 이중화 장치에서, 좀 더 실시간 고속의 중복 검사가 가능할 수 있도록 하기 위하여, 중복 감지 기법 적용 시점을 새로운 통신 데이터 프레임의 수신 시점으로 고정하고, 수신 버퍼에 저장되는 프레임 중 PRP이나 HSR 프로토콜 등에 따른 중복 감지에 필요한 해당 정보만을 이미 수신되어 저장된 프레임 해당 필드 정보와의 각 비트별 실시간 비교 처리가 고속으로 이루어지도록 하였다.In the present invention, in order to enable more redundant inspection at real time and high speed in a duplication device such as an IED device to which redundancy redundancy function of PRP or HSR protocol is applied, a time point of application of a redundancy detection technique is fixed as a reception time point of a new communication data frame , So that only the corresponding information required for duplication detection based on the PRP or the HSR protocol among the frames stored in the reception buffer is processed at high speed for each bit of the received frame information.

또한, 이와 같은 이중화 장치가 PRP이나 HSR 프로토콜에 따른 이중화 리던던시 기능을 실현하는 장치인 것으로 예를 들어 설명하지만, 이에 한정되는 것은 아니며 다른 방식의 이중화 리던던시 기능이나 데이터 프레임을 갖는 다른 방식의 이중화 장치에 있어서도 당업자라면 하드웨어나 소프트웨어의 필요한 변경으로 본 발명의 사상을 적용하여 용이하게 실시할 수 있을 것임을 미리 밝혀 둔다.In addition, the present invention is not limited to such a configuration. However, the present invention is not limited to this, and may be applied to another type of redundant apparatus having a redundant redundancy function or a data frame Those skilled in the art will appreciate that the present invention can be easily implemented by applying the concept of the present invention to necessary modifications of hardware or software.

PRP이나 HSR 프로토콜의 이중화 리던던시 기능이 적용된 이중화 장치는, 도 2와 같이, 위와 같은 네트워크 상에서 2 경로를 통하여 중복된 프레임(또는 패킷)을 송수신하기 위한 물리 계층의 트랜시버 등을 가질 수 있으며, 그 상위 데이터 링크 계층의 LRE(Link Redundancy Entity)(또는 링크 중복 검사 장치)(100)에서는 네트워크 통신을 통하여 수신되는 데이터 프레임이 이미 수신된 프레임과 중복된 프레임인지 여부를 판단하여, 중복되어 수신된 프레임은 상위 계층으로 올리지 않고 삭제함으로써, 안전한 데이터 전송이 보장되도록 할 수 있다. 위에서도 기술한 바와 같이 PRP 프로토콜의 이중화 리던던시 기능이 적용된 이중화 장치인 경우의 해당 트랜시버는 2개의 로컬 네트워크와 통신하여 패러랠(parallel)하게 중복된 프레임을 송수신할 수 있으며, HSR 프로토콜의 이중화 리던던시 기능이 적용된 이중화 장치인 경우의 해당 트랜시버는 네트워크 상에서 링 형태로 서로 통신 가능하도록 연결되어 있는 장치들에 링 형태의 연결선을 통하여 시계 방향과 반시계 방향으로 하나씩 중복된 프레임을 송수신할 수 있다.The duplexing apparatus to which the redundancy redundancy function of the PRP or the HSR protocol is applied may have a physical layer transceiver for transmitting and receiving redundant frames (or packets) through the two paths on the network as shown in FIG. 2, In the Link Redundancy Entity (LRE) (or link redundancy check) 100 of the data link layer, it is determined whether a data frame received through network communication is a duplicate of a frame already received, It is possible to ensure secure data transmission by deleting the data without uploading it to an upper layer. As described above, the transceiver in the case of a redundant apparatus adopting the redundancy redundancy function of the PRP protocol can communicate with two local networks and transmit and receive parallel frames in a redundant manner, and the redundancy redundancy function of the HSR protocol is applied The corresponding transceiver in the case of a duplication device can transmit and receive duplicate frames one by one in the clockwise direction and the counterclockwise direction through the ring-shaped connection line to the devices connected to each other so as to communicate with each other in a ring form on the network.

이하, 도 3과 도 4의 본 발명의 일실시예에 따른 이중화 장치의 중복 검사 장치의 구성과 흐름도를 참조하여 좀 더 자세히 설명한다.Hereinafter, the configuration and flow chart of the duplication checking apparatus of the duplication apparatus according to an embodiment of the present invention shown in FIGS. 3 and 4 will be described in more detail.

도 3과 같이, 도 2의 이중화 장치의 LRE(100)에 구비되는 중복 검사 장치는, 비트 와이즈(bit wise) 비교기(110), 중복 판정부(120), 제어부(130), 및 버퍼 뱅크(140)를 포함할 수 있다. 이와 같은 중복 검사 장치의 동작을 설명하기 위하여 이하 도 4의 흐름도가 참조된다. 3, the redundancy checker provided in the LRE 100 of the duplication apparatus of FIG. 2 includes a bitwise comparator 110, a redundancy judgment unit 120, a control unit 130, and a buffer bank 140). To explain the operation of such a duplicate inspection apparatus, reference is now made to the flowchart of FIG.

먼저, 버퍼 뱅크(140)는 식별 가능한 복수의 단위 버퍼(1,2,3,..K,..)를 포함하며, 수신되는 네트워크 통신 상의 데이터 프레임을 저장하기 위한 미리 정한 크기 이상의 사이즈에 해당하는 저장 공간을 갖는다. 도 3에서 단위 버퍼(141, 142, 143)는 이미 데이터 프레임이 수신되어 저장된 버퍼를 나타내고, 단위 버퍼(K)는 현재 수신되는 데이터 프레임이 저장되는 버퍼를 의미한다. First, the buffer bank 140 includes a plurality of identifiable unit buffers (1, 2, 3, ..., K, ..) and corresponds to a size larger than a predetermined size for storing data frames on the received network communication Lt; / RTI > In FIG. 3, the unit buffers 141, 142 and 143 indicate buffers in which data frames are already received and stored, and the unit buffers K indicate buffers in which currently received data frames are stored.

예를 들어, 수신되는 데이터 프레임이 PRP(Parallel Redundancy Protocol) 프레임 또는 HSR(High-availability Seamless Redundancy) 프레임일 수 있고, 수신되는 데이터 프레임이 PRP 프레임인 경우에 버퍼 뱅크(140)는 PRP 프레임의 필드 'sequence counter'가 나타내는 최대값 이상의 단위 버퍼들을 포함하는 크기의 저장 공간으로 이루어질 수 있으며, 수신되는 데이터 프레임이 HSR 프레임인 경우에 버퍼 뱅크(140)는 HSR 프레임의 필드 'sequence number'가 나타내는 최대값 이상의 단위 버퍼들을 포함하는 크기의 저장 공간으로 이루어질 수 있다. For example, if the received data frame is a PRP (Parallel Redundancy Protocol) frame or HSR (High-availability Seamless Redundancy) frame, and the received data frame is a PRP frame, and a storage space having a size larger than the maximum value indicated by the 'sequence counter'. If the received data frame is the HSR frame, the buffer bank 140 stores the maximum value indicated by the field 'sequence number' of the HSR frame Lt; RTI ID = 0.0 > buffer. ≪ / RTI >

이중화 장치의 LRE(100)로 전송하는 외부 장치에서는 PRP 프레임 또는 HSR 프레임을 순차 전송할 때마다 외부 장치와 해당 이중화 장치 간의 미리 정의된 경로(또는 추적) 정보인 'lane' 또는 'path'의 해당 동일 정보에 대하여 'sequence counter' 또는 'sequence number'를 '1'씩 증가시켜 전송한다. 여기서 'sequence counter' 또는 'sequence number'는 사전에 약속된 범위(예를 들어, 최소값 1에서 최대값 10)에서 최대값까지의 증가와 최소값으로부터의 재시작이 반복된다. The external device transmitting to the LRE 100 of the duplexer each time the PRP frame or the HSR frame is sequentially transmitted, the pre-defined path (or tracking) information between the external device and the corresponding duplexer, The 'sequence counter' or 'sequence number' is incremented by '1' for the information. Here, 'sequence counter' or 'sequence number' is incremented from the predetermined range (for example, minimum value 1 to maximum value 10) to the maximum value and restarted from the minimum value is repeated.

이중화 장치의 LRE(100)가 네트워크 통신 상에서 외부의 이중화 리던던시 기능을 위한 장치로부터 위와 같은 데이터 프레임을 수신하면 버퍼 뱅크(140)는 이미 수신된 데이터 프레임을 저장한 유효한 단위 버퍼(141, 142, 143)가 아닌 그 이외의 단위 버퍼, 예를 들어, 단위 버퍼(K)에 현재 수신되는 데이터 프레임을 저장한다(도 4의 S100 참조). 단위 버퍼(K)는 하기하는 바와 같은 중복 프레임에 의해 데이터가 삭제되어 관리되는 단위 버퍼일 수 있다. When the LRE 100 of the duplexer receives the above-mentioned data frame from the apparatus for external redundancy redundancy function in the network communication, the buffer bank 140 stores the valid unit buffers 141, 142 and 143 For example, the unit buffer K (refer to S100 in FIG. 4). The unit buffer K may be a unit buffer in which data is deleted and managed by a redundant frame as described below.

중복 검사를 위하여 먼저 비트 와이즈 비교기(110)는 이미 수신되어 버퍼 뱅크(140)의 하나 이상의 단위 버퍼에 저장되어 관리되는 유효한 각 단위 버퍼(141, 142, 143)(중복 프레임 판정 이전에 삭제되기 전 유효 단위 버퍼들)의 정보와 현재 수신되어 버퍼 뱅크(140)의 단위 버퍼(K)(145)에 저장된 정보를 비교하되, 비교되는 모든 단위 버퍼들(141, 142, 143, 145)의 중복 검사에 필요한 정보, 즉, 사전에 특정된 필드의 정보에 대하여 각 비트를 순차 비교할 수 있다(도 4의 S200 참조). The bitwise comparator 110 first checks each valid unit buffer 141, 142, 143 (which is already received and stored in one or more unit buffers of the buffer bank 140) (K) 145 of the buffer bank 140 and the information of the currently received unit buffers 140 is compared with the information stored in the unit buffer K 145 of the buffer bank 140. The redundant check of all the unit buffers 141, 142, 143, That is, the information of the fields specified in advance, by comparing the bits of each bit (see S200 in FIG. 4).

여기서 비트 와이즈 비교기(110)는 중복 검사에 필요한 정보, 즉, PRP 프레임의 경우에는 'destination', 'source', 'lane', 'sequence counter' 필드들의 정보를 미리 정해진 순서에 따라 1비트씩 순차 비교할 수 있다. 또한, 비트 와이즈 비교기(110)는 HSR 프레임인 경우에는 'destination', 'source', 'path', 'sequence number' 필드들의 정보를 미리 정해진 순서에 따라 1비트씩 순차 비교할 수 있다.Here, the bitwise comparator 110 outputs information necessary for redundancy checking, that is, information of 'destination', 'source', 'lane', and 'sequence counter' fields in the PRP frame in a predetermined order Can be compared. The bitwise comparator 110 may sequentially compare the information of the 'destination', 'source', 'path', and 'sequence number' fields by 1 bit in a predetermined order in the case of an HSR frame.

이와 같은 비교되는 모든 단위 버퍼들(141, 142, 143, 145)의 사전에 특정된 해당 필드들의 비트들에 대한 각 비트에 대한 순차 비교 시, 예를 들어, 비트 와이즈 비교기(110)는 단위 버퍼(K)(145)의 비교 비트들의 어느 한 비트와 다른 값이 발견되는 해당 단위 버퍼와의 비교는 더 이상 이루어지지 않도록 중지할 수 있으며, 단위 버퍼(K)(145)의 비교 비트들의 최종 비트까지 이와 같은 비교를 수행한다.For example, the bit-wise comparator 110 may compare the bits of the pre-specified bits of all the unit buffers 141, 142, 143, and 145, (K) 145 and the corresponding unit buffer in which a different value is found can be stopped, and the last bit of the comparison bits of the unit buffer (K) 145 And so on.

중복 판정부(120)는 이와 같은 비교의 결과에 따라 단위 버퍼(141, 142, 143) 중 어느 하나와 단위 버퍼(K)(145) 간의 중복 프레임 여부를 판단할 수 있다(도 4의 S300 참조). 예를 들어, 비트 와이즈 비교기(110)가 단위 버퍼(K)(145)의 비교 비트들의 최종 비트까지 비교를 수행하면서 그와 모두 일치한 비트 값을 갖는 단위 버퍼의 존재 여부를 나타내는 신호(중복 프레임의 경우 '로직 하이(high)', 그렇지 않으면 '로직 로우(low)')를 생성할 수 있다. 이에 따라, 중복 판정부(120)는 단위 버퍼(K)(145)의 비교 비트들의 최종 비트까지 모두 일치한 비트 값을 갖는 단위 버퍼의 존재를 나타내는 '로직 하이(high)'의 경우에 단위 버퍼(K)(145)의 정보(프레임)가 중복 프레임인 것으로 판단할 수 있으며, 그렇지 않으면 중복이 아닌 신규 프레임인 것으로 판단하고, 후속 처리를 위하여 단위 버퍼(K)(145)의 정보(프레임)와 중복된 프레임을 갖는 단위 버퍼의 해당 식별 번호 등 관련 정보 또는 신규 프레임인 것을 나타내는 정보 등을 제어부(130)로 전달한다.The redundancy judgment unit 120 can judge whether there is a redundancy frame between any one of the unit buffers 141, 142 and 143 and the unit buffer K 145 according to the result of the comparison (refer to S300 in FIG. 4) ). For example, when the bit-wise comparator 110 performs a comparison up to the last bit of the comparison bits of the unit buffer (K) 145 and outputs a signal indicating the presence or absence of a unit buffer having the same bit value Quot; logic high " in case of " logic low " Accordingly, in the case of 'logic high' indicating the existence of a unit buffer having a bit value matched to the last bit of the comparison bits of the unit buffer (K) 145, (K) 145 is judged to be a redundant frame. Otherwise, it is determined that the frame is a new frame that is not a duplicate, and information (frame) of the unit buffer (K) Related information such as a corresponding identification number of a unit buffer having a redundant frame or information indicating that the frame is a new frame to the controller 130.

제어부(130)는 이와 같은 중복 판정부(120)의 판단의 결과를 전달받고 이에 기초하여 단위 버퍼(K)의 정보가 신규 프레임인지 또는 중복 프레임인지 여부에 따라 단위 버퍼(K)의 정보를 후속 처리를 위한 상위 계층으로의 전송 또는 단위 버퍼(K)의 정보의 삭제 여부를 제어할 수 있다. The control unit 130 receives the result of the determination by the redundancy determining unit 120 and determines whether the information of the unit buffer K is a new frame or a redundant frame based on the received information, It is possible to control transmission to the upper layer for processing or deletion of information of the unit buffer K. [

예를 들어, 제어부(130)는 단위 버퍼(K)의 정보가 신규 프레임인 경우, 단위 버퍼(K)의 정보의 삭제 없이 단위 버퍼(K)의 정보를 상위 계층으로 전송하여, 상위 계층의 네트워크 계층, 전송 계층, 세션 계층, 표현 계층, 응용 계층 등에서 그에 맞는 후속 처리가 이루어지도록 할 수 있다(도 4의 S400 참조). 이때 단위 버퍼(K)의 정보는 저장 유지되어 다른 프레임의 수신 시에 비교 대상 버퍼가 된다.For example, when the information of the unit buffer K is a new frame, the controller 130 transmits the information of the unit buffer K to the upper layer without deleting the information of the unit buffer K, Layer, a transport layer, a session layer, a presentation layer, an application layer, and the like (see S400 in FIG. 4). At this time, the information of the unit buffer K is stored and held as a comparison object buffer upon reception of another frame.

또한, 제어부(130)는 단위 버퍼(K)의 정보가 중복 프레임인 경우, 중복 프레임을 갖는 해당 단위 버퍼와 단위 버퍼(K)의 정보(프레임)를 삭제할 수 있다. 다만, 이때, 단위 버퍼(K)의 현재 수신되는 데이터 프레임의 'sequence counter' 또는 'sequence number'로부터 판단하여 그 값이 재시작된(리셋) 값(예, 최소값 1)이면, 중복 프레임을 갖는 해당 단위 버퍼와 단위 버퍼(K)의 정보를 삭제할 수 있다(도 4의 S500 참조). 이와 같이 삭제되어 관리되는 단위 버퍼들은 이후 수신되는 다른 데이터 프레임을 저장하는 버퍼로 이용된다. In addition, when the information of the unit buffer K is a redundant frame, the control unit 130 may delete the information (frame) of the unit buffer K and the corresponding unit buffer having the redundant frame. In this case, if it is judged from the 'sequence counter' or the 'sequence number' of the currently received data frame of the unit buffer K and the value is a reset value (for example, minimum value 1) The information of the unit buffer and the unit buffer K can be deleted (refer to S500 in FIG. 4). The unit buffers deleted and managed as described above are used as buffers for storing other data frames received subsequently.

또한, 제어부(130)는 단위 버퍼(K)의 정보가 중복 프레임인 경우, 후속 처리를 위하여 단위 버퍼(K)(145)의 정보(프레임)와 중복된 프레임을 갖는 단위 버퍼의 해당 식별 번호 등 관련 정보를 네트워크 계층, 전송 계층, 세션 계층, 표현 계층, 응용 계층 등 상위 계층으로 전달하고 해당 단위 버퍼의 프레임이 우선적으로 처리되도록 제어할 수 있다. 예를 들어, 상위 계층에서는 대기 상태에 있는 복수의 명령 중 복된 프레임을 갖는 단위 버퍼의 해당 식별 번호와 관련된 프레임이 포함된 명령이 우선적으로 처리되도록 할 수 있다. If the information of the unit buffer K is a redundant frame, the control unit 130 stores a corresponding identification number of a unit buffer having a frame overlapping the information (frame) of the unit buffer (K) 145 Related information to an upper layer such as a network layer, a transport layer, a session layer, a presentation layer, and an application layer, and controls the frame of the unit buffer to be preferentially processed. For example, in an upper layer, an instruction including a frame related to a corresponding identification number of a unit buffer having a redundant frame among a plurality of commands in a standby state may be preferentially processed.

상술한 바와 같이, 본 발명의 일실시예에 따른 이중화 장치의 LRE(100)에 구비되는 중복 검사 장치를 통한 중복 검사에 있어서, PRP 프레임의 'sequence counter' 또는 HSR 프레임의 'sequence number'의 크기 이상으로 적절히 한정된 크기의 버퍼를 사용하여 실시간 고속 중복 검사가 가능하게 되므로, 이러한 고속처리가 가능한 버퍼와 각 비트별 실시간 비교 처리를 이용하는 간단한 중복 검사 방법이 네트워크 상에서 운용되는 이중화 장치에서 실시간 고속의 중복 검사에 유용하게 활용될 수 있다.As described above, in the redundancy check performed by the redundancy checker provided in the LRE 100 of the duplexer according to the embodiment of the present invention, the size of the 'sequence counter' of the PRP frame or the 'sequence number' of the HSR frame Thus, it is possible to perform high-speed real-time high-speed redundancy check using a buffer of a suitably limited size. Therefore, a simple redundancy check method using a buffer capable of high-speed processing and a real- And can be usefully used for inspection.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. This is possible. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.

LRE(Link Redundancy Entity)(100)
비트 와이즈 비교기(110)
중복 판정부(120)
제어부(130)
A Link Redundancy Entity (LRE)
The bit-
The redundancy judgment unit 120,
The controller 130,

Claims (9)

이중화 장치에서의 통신 데이터의 중복 검사 방법에 있어서,
(A)미리 정한 크기 이상의 데이터를 저장할 수 있는 버퍼 뱅크를 이용하여 현재 수신되는 데이터 프레임을 단위 버퍼(K)에 저장하는 단계;
(B)이미 수신되어 하나 이상의 다른 단위 버퍼에 저장되어 관리되는 각 버퍼의 정보와 상기 단위 버퍼(K)의 정보를 비교하되, 비교되는 모든 단위 버퍼들의 사전에 특정된 필드의 정보에 대하여 각 비트를 순차 비교하여, 상기 하나 이상의 다른 단위 버퍼 중 어느 하나와 상기 단위 버퍼(K) 간의 중복 프레임 여부를 판단하는 단계; 및
(C)상기 판단의 결과에 기초하여 상기 단위 버퍼(K)의 정보가 신규 프레임인지 또는 중복 프레임인지 여부에 따라 상기 단위 버퍼(K)의 정보에 대하여 후속 처리를 위한 상위 계층으로의 전송 또는 상기 단위 버퍼(K)의 정보의 삭제를 제어하는 단계
를 포함하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
A duplication checking method for communication data in a duplication apparatus,
(A) storing a currently received data frame in a unit buffer (K) using a buffer bank capable of storing data of a predetermined size or more;
(B) comparing information of each buffer, which is already received and stored in one or more other unit buffers and managed, with information of the unit buffer (K) And determining whether there is a duplicate frame between any one of the one or more other unit buffers and the unit buffer (K); And
(C) transmitting information on the unit buffer (K) to an upper layer for subsequent processing according to whether the information of the unit buffer (K) is a new frame or a redundant frame, Controlling deletion of information of the unit buffer (K)
Wherein the redundant check of the communication data in the redundant apparatus is performed.
제1항에 있어서,
상기 이중화 장치는 상기 상위 계층의 하위에서 상기 중복 검사를 위한 데이터 링크 계층의 LRE(Link Redundancy Entity)를 포함하며,
상기 LRE에서 PRP(Parallel Redundancy Protocol) 또는 HSR(High-availability Seamless Redundancy) 프로토콜에 따른 외부의 이중화 리던던시 기능을 위한 장치로부터의 상기 데이터 프레임의 수신 시에 상기 중복 검사를 수행하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
The method according to claim 1,
Wherein the redundancy apparatus includes a link redundancy entity (LRE) of the data link layer for the redundancy check in a lower layer of the upper layer,
Wherein the redundancy check is performed at the time of receiving the data frame from an apparatus for an external redundancy redundancy function according to PRP (Parallel Redundancy Protocol) or HSR (High-availability Seamless Redundancy) protocol in the LRE. A method for checking duplication of communication data in a communication network.
제1항에 있어서,
상기 데이터 프레임은 PRP(Parallel Redundancy Protocol) 프레임 또는 HSR(High-availability Seamless Redundancy) 프레임이고,
상기 버퍼 뱅크는 PRP 프레임의 필드 'sequence counter' 또는 HSR 프레임의 필드 'sequence number'의 최대값 이상의 단위 버퍼들을 포함하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
The method according to claim 1,
Wherein the data frame is a PRP (Parallel Redundancy Protocol) frame or a HSR (High-availability Seamless Redundancy) frame,
Wherein the buffer bank includes unit buffers equal to or greater than a maximum value of a field 'sequence counter' of the PRP frame or a field 'sequence number' of the HSR frame.
제3항에 있어서,
(B) 단계에서,
상기 데이터 프레임이 PRP 프레임의 경우에는 'destination', 'source', 'lane', 'sequence counter' 필드들의 정보를 미리 정해진 순서에 따라 1비트씩 순차 비교하고,
상기 데이터 프레임이 HSR 프레임인 경우에는 'destination', 'source', 'path', 'sequence number' 필드들의 정보를 미리 정해진 순서에 따라 1비트씩 순차 비교하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
The method of claim 3,
In step (B)
The information of the 'destination', 'source', 'lane', and 'sequence counter' fields is sequentially compared by 1 bit in a predetermined order when the data frame is a PRP frame,
Wherein when the data frame is an HSR frame, information of 'destination', 'source', 'path', and 'sequence number' fields are sequentially compared by 1 bit in a predetermined order. Of duplicate inspection method.
제1항에 있어서,
(B) 단계에서, 상기 각 비트의 순차 비교 시에 상기 단위 버퍼(K)의 비교 비트들의 어느 한 비트와 다른 값이 발견되는 해당 단위 버퍼와의 비교는 더 이상 이루어지지 않도록 중지되며, 상기 단위 버퍼(K)의 비교 비트들의 최종 비트까지 모두 일치한 비트 값을 갖는 단위 버퍼의 존재 시에 상기 단위 버퍼(K)의 정보가 중복 프레임인 것으로 판단하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
The method according to claim 1,
In the step (B), a comparison is made with a corresponding unit buffer in which a value different from any one bit of the comparison bits of the unit buffer K is found at the time of the sequential comparison of the bits, And determines that the information of the unit buffer (K) is a redundant frame in the presence of a unit buffer having a bit value that matches all of the last bits of the comparison bits of the buffer (K). Redundancy check method.
제1항에 있어서,
(C) 단계에서, 상기 단위 버퍼(K)의 정보가 신규 프레임인 경우, 상기 단위 버퍼(K)의 정보의 삭제 없이 상기 단위 버퍼(K)의 정보를 상기 상위 계층으로 전송하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
The method according to claim 1,
(K) is transmitted to the upper layer without deleting the information of the unit buffer (K) when the information of the unit buffer (K) is a new frame in step (C) A method for redundant checking of communication data in a redundant device.
제1항에 있어서,
(C) 단계에서, 상기 단위 버퍼(K)의 정보가 상기 중복 프레임인 경우, 상기 중복 프레임을 갖는 해당 단위 버퍼와 상기 단위 버퍼(K)의 정보를 삭제하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
The method according to claim 1,
(C), if the information of the unit buffer (K) is the redundant frame, deletes the information of the corresponding unit buffer having the redundant frame and the unit buffer (K) Data redundancy check method.
제3항에 있어서,
(C) 단계에서, 상기 단위 버퍼(K)의 정보가 상기 중복 프레임인 경우,
상기 현재 수신되는 데이터 프레임의 상기 'sequence counter' 또는 'sequence number'로부터 판단하여 그 값이 재시작된 값이면, 상기 중복 프레임을 갖는 해당 단위 버퍼와 상기 단위 버퍼(K)의 정보를 삭제하는 것을 특징으로 하는 이중화 장치에서의 통신 데이터의 중복 검사 방법.
The method of claim 3,
In the step (C), if the information of the unit buffer K is the redundant frame,
And deletes the information of the corresponding unit buffer having the redundant frame and the unit buffer K if the value is determined to be a restarted value based on the 'sequence counter' or the 'sequence number' of the currently received data frame A method for checking duplication of communication data in a duplication apparatus.
통신 데이터의 중복 검사를 수행하는 이중화 장치에 있어서,
복수의 단위 버퍼를 포함하며, 수신되는 데이터 프레임을 저장하기 위한 미리 정한 크기 이상의 버퍼 뱅크;
이미 수신되어 상기 버퍼 뱅크의 하나 이상의 단위 버퍼에 저장되어 관리되는 각 버퍼의 정보와 현재 수신되어 상기 버퍼 뱅크의 단위 버퍼(K)에 저장된 정보를 비교하되, 비교되는 모든 단위 버퍼들의 사전에 특정된 필드의 정보에 대하여 각 비트를 순차 비교하는 비트 와이즈 비교기;
상기 비교의 결과에 따라 상기 하나 이상의 다른 단위 버퍼 중 어느 하나와 상기 단위 버퍼(K) 간의 중복 프레임 여부를 판단하는 중복 판정부; 및
상기 판단의 결과에 기초하여 상기 단위 버퍼(K)의 정보가 신규 프레임인지 또는 중복 프레임인지 여부에 따라 상기 단위 버퍼(K)의 정보를 후속 처리를 위한 상위 계층으로의 전송 또는 상기 단위 버퍼(K)의 정보의 삭제 여부를 제어하는 제어부를 포함하는 것을 특징으로 하는 이중화 장치.
A duplicating apparatus for performing redundancy checking of communication data,
A buffer bank including a plurality of unit buffers, the buffer bank having a predetermined size for storing received data frames;
And comparing the information of each buffer, which is already received and stored in one or more unit buffers of the buffer bank and managed, with information stored in the unit buffer K of the buffer bank currently received, A bitwise comparator for sequentially comparing each bit with respect to information of a field;
A redundancy judgment unit for judging whether any one of the one or more other unit buffers is overlapped with the unit buffer (K) according to a result of the comparison; And
Whether the information of the unit buffer K is a new frame or a redundant frame, based on the result of the determination, the information of the unit buffer K to the upper layer for subsequent processing, And a control unit for controlling whether or not to delete the information of the redundant information.
KR1020130136826A 2013-11-12 2013-11-12 Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus KR101576833B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130136826A KR101576833B1 (en) 2013-11-12 2013-11-12 Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130136826A KR101576833B1 (en) 2013-11-12 2013-11-12 Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus

Publications (2)

Publication Number Publication Date
KR20150054414A true KR20150054414A (en) 2015-05-20
KR101576833B1 KR101576833B1 (en) 2015-12-14

Family

ID=53390571

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130136826A KR101576833B1 (en) 2013-11-12 2013-11-12 Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus

Country Status (1)

Country Link
KR (1) KR101576833B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180055953A (en) * 2016-11-16 2018-05-28 (주) 유파인스 Network duplexing device
KR20190046195A (en) * 2017-10-25 2019-05-07 에스케이텔레콤 주식회사 Mobile communication system and method applying data packet manipulation for mission critical service
KR20190079593A (en) * 2019-06-25 2019-07-05 에스케이텔레콤 주식회사 Mobile communication system and method applying data packet manipulation for mission critical service
CN115102673A (en) * 2022-04-29 2022-09-23 中国船舶重工集团公司第七一六研究所 PRP protocol repeated frame distinguishing and processing method and system based on frame memory pool

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180055953A (en) * 2016-11-16 2018-05-28 (주) 유파인스 Network duplexing device
KR20190046195A (en) * 2017-10-25 2019-05-07 에스케이텔레콤 주식회사 Mobile communication system and method applying data packet manipulation for mission critical service
KR20190079593A (en) * 2019-06-25 2019-07-05 에스케이텔레콤 주식회사 Mobile communication system and method applying data packet manipulation for mission critical service
CN115102673A (en) * 2022-04-29 2022-09-23 中国船舶重工集团公司第七一六研究所 PRP protocol repeated frame distinguishing and processing method and system based on frame memory pool
CN115102673B (en) * 2022-04-29 2023-11-03 中国船舶集团有限公司第七一六研究所 PRP protocol repeated frame discrimination processing method and system based on frame memory pool

Also Published As

Publication number Publication date
KR101576833B1 (en) 2015-12-14

Similar Documents

Publication Publication Date Title
US9769047B2 (en) Time synchronization architecture in a network device
US9059932B2 (en) Packet ordering based on delivery route changes in communication networks
US8767747B2 (en) Method for transferring data packets in a communication network and switching device
US9760322B2 (en) Communication system and image forming apparatus
KR101576833B1 (en) Redundancy Check Method for Communication Data using Receiving Buffer in Redundancy Apparatus
WO2019174390A1 (en) Industrial ethernet-based data transmission system and method, and communication device
US9853772B2 (en) Intelligent network checksum processing
US9602409B2 (en) Apparatus and method for multilateral one-way communication
CN102118434A (en) Data packet transmission method and device
US20130114593A1 (en) Reliable Transportation a Stream of Packets Using Packet Replication
US8850287B2 (en) Methods and apparatus for zone group identifier replacement in fast context switching enhanced serial attached SCSI expanders
US7181675B2 (en) System and method for checksum offloading
JP5438041B2 (en) Ethernet system switching device having dual ports
US9391791B2 (en) Preprocessing unit for network data
US20200336338A1 (en) Method for operating tsn-enabled network coupling elements
KR20170108739A (en) Method and system for data transfer in a Non-Volatile Memory Express (NVMe) interface in Data Integrity Extension (DIX) mode
TWI679861B (en) Controller, method for adjusting flow rule, and network communication system
JP6494880B2 (en) Transfer device and frame transfer method
KR101562118B1 (en) Media Access Control Filtering method for high speed switching
KR101642440B1 (en) Network recovering method for ring network
KR20170029212A (en) Network device having dual redundancy function
KR101712370B1 (en) Ethernet device and system for supporting error packet analysis
KR100637990B1 (en) Protocol duplexer and protocol duplexing method
CN114793192B (en) Fault positioning method, device, equipment and medium
US10536552B2 (en) Systems and methods to relocate live compute assets

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20181204

Year of fee payment: 4