KR101397299B1 - Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol - Google Patents

Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol Download PDF

Info

Publication number
KR101397299B1
KR101397299B1 KR1020120127519A KR20120127519A KR101397299B1 KR 101397299 B1 KR101397299 B1 KR 101397299B1 KR 1020120127519 A KR1020120127519 A KR 1020120127519A KR 20120127519 A KR20120127519 A KR 20120127519A KR 101397299 B1 KR101397299 B1 KR 101397299B1
Authority
KR
South Korea
Prior art keywords
data frame
ied
frame
port
tcied
Prior art date
Application number
KR1020120127519A
Other languages
Korean (ko)
Other versions
KR20140060779A (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 KR1020120127519A priority Critical patent/KR101397299B1/en
Publication of KR20140060779A publication Critical patent/KR20140060779A/en
Application granted granted Critical
Publication of KR101397299B1 publication Critical patent/KR101397299B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/13Flow control; Congestion control in a LAN segment, e.g. ring or bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames

Landscapes

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

Abstract

HSR 프로토콜이 적용된 링 네트워크에서 Traffic Control IED를 이용한 트래픽 성능 개선 방법 및 장치가 개시된다. 본 발명에 따르면, 복수의 IED(Intelligent Electronic Device) 중 하나가 트래픽 컨트롤 IED(TCIED)로 설정된 HSR 프로토콜이 적용된 링 네트워크에서 상기 TCIED가 프레임의 송수신을 제어하는 방법으로서, 소스 IED의 양방향 포트를 통해 송신된 데이터 프레임 중 제1 포트를 통해 먼저 수신된 데이터 프레임을 저장하는 단계; 상기 데이터 프레임의 최대 지연 시간을 결정하는 단계; 및 상기 최대 지연 시간 이내에 제2 포트를 통해 상기 데이터 프레임이 수신되는지 여부에 따라 상기 저장된 데이터 프레임의 폐기 및 전송을 결정하는 단계를 포함하는 프레임 송수신 제어 방법이 개시된다. 본 발명에 따르면 종래의 HSR 프로토콜이 가지는 네트워크 단절시 데이터 프레임을 안전하게 전송할 수 있는 안정성을 보장하면서도, 네트워크 상의 트래픽 부하를 현저히 감소시킴으로써, 안전하게 데이터 프레임을 송수신 할 수 있는 효과를 얻을 수 있다.A method and apparatus for improving traffic performance using a Traffic Control IED in a ring network to which the HSR protocol is applied is disclosed. According to the present invention, there is provided a method of controlling transmission and reception of a frame in a ring network to which HSR protocol is applied in which one of a plurality of intelligent electronic devices (IED) is set as traffic control IED (TCIED) Storing a previously received data frame on a first port of a transmitted data frame; Determining a maximum delay time of the data frame; And determining discarding and transmission of the stored data frame according to whether the data frame is received via the second port within the maximum delay time. According to the present invention, it is possible to safely transmit and receive data frames by significantly reducing the traffic load on the network, while assuring stability that the data frame can be safely transmitted in the network disconnection of the conventional HSR protocol.

Description

HSR 프로토콜이 적용된 링 네트워크에서 프레임 송수신 제어 방법 및 장치{METHOD AND APPARATUS FOR CONTROLLING TRANSMITTING AND RECEIVING FRAME IN RING NETWORK APPLIED HSR PROTOCOL}TECHNICAL FIELD [0001] The present invention relates to a method and apparatus for controlling frame transmission / reception in a ring network to which HSR protocol is applied,

본 발명의 실시예들은 HSR 프로토콜이 적용된 링 네트워크에서 프레임 송수신 제어 방법 및 장치에 관한 것으로서, 더욱 상세하게는 HSR 네트워크에서 프레임 전송 시 발생하는 트래픽 부하를 감소시키기 위한 방법 및 장치에 관한 것이다.Embodiments of the present invention relate to a method and apparatus for controlling frame transmission / reception in a ring network to which HSR protocol is applied. More particularly, the present invention relates to a method and apparatus for reducing a traffic load caused by frame transmission in an HSR network.

HSR(High-availability Seamless Redundancy) 프로토콜은 링 네트워크의 단절을 빠른 시간 안에 복구하기 위해 제안된 기술로서, 다른 복구 프로토콜에 비해 짧은 복구 시간을 지원하는 특징이 있다(복구시간:‘zero’ time). HSR (High-availability Seamless Redundancy) protocol is a proposed technology to recover ring network disconnection in a short time. It is characterized by short recovery time compared to other recovery protocols (recovery time: 'zero' time).

도 1은 종래 HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 전송하는 과정을 도시한 도면이다. 1 is a diagram illustrating a process of transmitting a data frame in a ring network to which a conventional HSR protocol is applied.

도 1을 참조하여, 종래 HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 전송하는 방법을 보다 상세하게 설명하면, 링 네트워크 내에 있는 모든 IED(Intelligent Electronic Device)에 두 개의 포트가 존재한다고 가정할 때, 소스 IED가 동일한 프레임을 각각의 포트를 통하여 목적지 IED까지 전송함으로써, 하나의 링크에 단절이 발생해도 나머지 하나의 링크로 프레임을 전송할 수 있도록 한다. 따라서, HSR 프로토콜은 링 네트워크 단절 시 이를 복구하는데 시간이 소요되지 않는 특징이 있다. Referring to FIG. 1, a method of transmitting a data frame in a ring network to which a conventional HSR protocol is applied will be described in detail. Assuming that there are two ports in all Intelligent Electronic Devices (IEDs) in a ring network, The source IED transmits the same frame to the destination IED through each port so that even if a disconnection occurs in one link, the frame can be transmitted to the remaining one link. Therefore, the HSR protocol is characterized in that it takes no time to recover the ring network when it is disconnected.

도 2는 종래 HSR 프로토콜이 적용된 링 네트워크에서, 각 IED가 네트워크 내에 존재하는 모든 IED의 정보를 Supervision 프레임을 통하여 관리하는 방법을 IED3의 경우를 일예로 하여 도시한 도면이다FIG. 2 is a diagram illustrating a method of managing information of all IEDs existing in a network through a supervision frame in a ring network to which the conventional HSR protocol is applied, for example, in the case of IED3

도 2를 참조하여, 종래 HSR 프로토콜이 적용된 링 네트워크에서 전체 IED의 정보를 관리하는 방법을 상세하게 설명하면, HSR 프로토콜은 링 네트워크 내에 있는 각 IED가 주기적으로 Supervision 프레임을 서로 교환하는 시스템을 사용함으로써, Supervision 프레임이 전달되는지 여부를 통하여, 전체 네트워크의 상태를 알 수 있도록 하고, 각 IED 모두가 서로 다른 IED의 정보를 저장하도록 한다.Referring to FIG. 2, a method of managing information of all IEDs in a ring network to which the conventional HSR protocol is applied will be described in detail. The HSR protocol uses a system in which each IED in a ring network periodically exchanges supervision frames , The state of the entire network can be known through the transmission of the Supervision frame, and each IED stores information of different IEDs.

이렇게, 짧은 복구 시간을 보장하고, Supervision 프레임의 전송을 가능하게 하기 위하여, HSR 프로토콜은 각 IED가 양방향으로 전송한 데이터 프레임 및 Supervision 프레임이 각각의 루트를 따라 모든 IED를 경유한 뒤, 이를 전송한 IED의 반대편 포트에 도달하는 때에 폐기되도록 한다.In order to guarantee a short recovery time and enable the transmission of the Supervision frame, the HSR protocol transmits the data frame and the Supervision frame, which each IED transmits in a bi-directional manner, To be discarded when reaching the opposite port of the IED.

그러나, HSR 프로토콜의 이러한 구조는 링 네트워크에 많은 트래픽 부하를 발생시고, 트래픽 부하로 인하여 데이터 전송이 지연되거나, 데이터가 전송되지 않을 수 있는 문제점이 있다. 따라서, HSR 프로토콜은 전송시간 및 복구시간에 매우 민감한 IEC 61850 기반의 스마트 그리드 통신 시스템에 적용될 경우, 심각한 문제를 발생시킬 수 있다는 단점이 있다.However, this structure of the HSR protocol causes a lot of traffic load to the ring network, and there is a problem that data transmission may be delayed due to traffic load, or data may not be transmitted. Therefore, the HSR protocol is disadvantageous in that it can cause serious problems when applied to IEC 61850-based smart grid communication system, which is very sensitive to transmission time and recovery time.

상기한 바와 같은 종래기술의 문제점을 해결하기 위해, 본 발명은 HSR 프로토콜이 적용된 링 네트워크에서 트래픽 성능을 개선하는 방법 및 장치를 제안하고자 한다. In order to solve the above problems, the present invention proposes a method and apparatus for improving traffic performance in a ring network to which the HSR protocol is applied.

본 발명의 다른 목적들은 하기의 실시예를 통해 당업자에 의해 도출될 수 있을 것이다.Other objects of the invention will be apparent to those skilled in the art from the following examples.

상기한 목적을 달성하기 위해 본 발명의 바람직한 일 실시예에 따르면, 복수의 IED(Intelligent Electronic Device) 중 하나가 트래픽 컨트롤 IED(TCIED)로 설정된 HSR 프로토콜이 적용된 링 네트워크에서 상기 TCIED가 프레임의 송수신을 제어하는 방법으로서, 소스 IED의 양방향 포트를 통해 송신된 데이터 프레임 중 제1 포트를 통해 먼저 수신된 데이터 프레임을 저장하는 단계; 상기 데이터 프레임의 최대 지연 시간을 결정하는 단계; 및 상기 최대 지연 시간 이내에 제2 포트를 통해 상기 데이터 프레임이 수신되는지 여부에 따라 상기 저장된 데이터 프레임의 폐기 및 전송을 결정하는 단계를 포함하는 프레임 송수신 제어 방법이 개시된다.To achieve the above object, according to a preferred embodiment of the present invention, in a ring network in which one of a plurality of Intelligent Electronic Devices (IED) is set as a traffic control IED (TCIED), a TCIED transmits / CLAIMS What is claimed is: 1. A method comprising: storing a first received data frame on a first port of a data frame transmitted on a bidirectional port of a source IED; Determining a maximum delay time of the data frame; And determining discarding and transmission of the stored data frame according to whether the data frame is received via the second port within the maximum delay time.

상기 제2 포트를 통해 상기 데이터 프레임이 상기 최대 지연 시간 내에 수신되지 않는 경우, 상기 저장된 데이터 프레임을 상기 제2 포트를 통해 전송하는 단계를 더 포함할 수 있다.And transmitting the stored data frame through the second port if the data frame is not received within the maximum delay time through the second port.

상기 소스 IED로부터 송신된 데이터 프레임이 상기 제1 및 제2 포트로 동시에 도달하거나, 상기 제2 포트를 통해 상기 데이터 프레임이 상기 최대 지연 시간 내에 수신되는 경우, 상기 데이터 프레임을 모두 폐기하는 단계를 더 포함할 수 있다.Discarding all of the data frames if the data frames transmitted from the source IED arrive at the first and second ports simultaneously or the data frames are received within the maximum delay time via the second port .

상기 최대 지연 시간은 상기 데이터 프레임의 타입, 상기 데이터 프레임의 사이즈, 회선 속도 및 상기 소스 IED 및 목적지 IED와의 홉 수 중 적어도 하나에 따라 결정될 수 있다.The maximum delay time may be determined according to at least one of a type of the data frame, a size of the data frame, a line speed, and a hop count between the source IED and the destination IED.

상기 최대 지연 시간은 상기 소스 IED에서 상기 목적지 IED간 최대 전송 시간과 상기 목적지 IED와 상기 TCIED간 최대 전송 시간의 합에서 상기 소스 IED와 상기 TCIED간 최대 전송 시간을 차감하여 결정될 수 있다.The maximum delay time may be determined by subtracting the maximum transmission time between the source IED and the TCIED from the sum of the maximum transmission time between the destination IED and the destination IED and the maximum transmission time between the destination IED and the TCIED in the source IED.

상기 최대 전송 시간은 아래의 수학식에 따라 결정될 수 있다.The maximum transmission time may be determined according to the following equation.

[수학식][Mathematical Expression]

최대 전송 시간 (Maximum Transmission Time)

Figure 112012092792365-pat00001
Maximum Transmission Time
Figure 112012092792365-pat00001

여기서, 전송 시간 (Transmission Time)

Figure 112012092792365-pat00002
이며, Wire Speed는 회선 속도이다.Here, the transmission time (Transmission Time)
Figure 112012092792365-pat00002
And Wire Speed is the line speed.

상기 제1 및 제2 포트를 통해 슈퍼비전(Supervision) 프레임을 송신하는 단계; 상기 슈퍼비전 프레임을 수신한 다른 IED 각각이 전송한 자신의 IED의 정보를 포함하는 응답(Supervision Ack) 프레임을 수신하는 단계; 및 상기 응답 프레임을 이용하여 상기 링 네트워크에 포함된 모든 IED에 관한 정보를 노드 테이블에 저장하는 단계를 더 포함할 수 있다.Transmitting a Supervision frame through the first and second ports; Receiving a response frame (Supervision Ack) frame including information of its own IED transmitted by each of the other IEDs receiving the supervision frame; And storing information about all the IEDs included in the ring network in the node table using the response frame.

상기 슈퍼비전 프레임을 미리 지정된 주기로 송신할 수 있다. It is possible to transmit the supervision frame at a predetermined period.

상기와 같은 방법을 수행하는 프로그램이 기록된 컴퓨터 판독 가능한 기록 매체가 제공된다.There is provided a computer-readable recording medium on which a program for performing the above-described method is recorded.

HSR 프로토콜이 적용된 링 네트워크에 포함되며 프레임의 송수신을 제어하는 트래픽 컨트롤 장치로서, A traffic control device included in a ring network to which an HSR protocol is applied,

제1 포트 및 제2 포트를 통해 데이터 프레임을 송수신하는 송수신부;A transmitting and receiving unit transmitting and receiving a data frame through the first port and the second port;

소스 IED의 양방향 포트를 통해 송신된 데이터 프레임 중 제1 포트를 통해 먼저 수신된 데이터 프레임을 저장하는 저장부; 및A storage unit for storing a data frame received first through a first port of a data frame transmitted through the bidirectional port of the source IED; And

상기 데이터 프레임 수신 이후, 상기 데이터 프레임의 최대 지연 시간을 결정하고, 상기 최대 지연 시간 이내에 제2 포트를 통해 상기 데이터 프레임이 수신되는지 여부에 따라 상기 저장된 데이터 프레임의 폐기 및 전송을 결정하는 제어부를 포함하는 트래픽 컨트롤 장치가 제공된다.Determining a maximum delay time of the data frame after receiving the data frame and determining the discarding and transmission of the stored data frame according to whether the data frame is received through the second port within the maximum delay time A traffic control device is provided.

상기 제어부는 상기 데이터 프레임의 타입, 상기 데이터 프레임의 사이즈, 회선 속도 및 상기 소스 IED 및 목적지 IED와의 홉 수 중 적어도 하나를 이용하여 상기 최대 지연 시간을 결정할 수 있다. The controller may determine the maximum delay time using at least one of the type of the data frame, the size of the data frame, the line speed, and the hop count between the source IED and the destination IED.

상기 제어부는 상기 소스 IED에서 상기 목적지 IED간 최대 전송 시간과 상기 목적지 IED와 상기 TCIED간 최대 전송 시간의 합에서 상기 소스 IED와 상기 TCIED간 최대 전송 시간을 차감하여 상기 최대 지연 시간을 결정할 수 있다.The controller may determine the maximum delay time by subtracting the maximum transmission time between the source IED and the TCIED from the sum of the maximum transmission time between the destination IED and the destination IED and the maximum transmission time between the destination IED and the TCIED in the source IED.

본 발명에 따르면, HSR 프로토콜이 가지는 링 네트워크에서 데이터 프레임의 안정적인 전송을 보장하면서도, 네트워크 상의 트래픽 부하를 현저히 감소시킬 수 있는 장점이 있다. According to the present invention, there is an advantage that the traffic load on the network can be remarkably reduced while ensuring stable transmission of data frames in the ring network of the HSR protocol.

도 1은 종래 HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 전송하는 과정을 도시한 도면이다.
도 2는 종래 HSR 프로토콜이 적용된 링 네트워크에서, 각 IED가 네트워크 내에 존재하는 모든 IED의 정보를 Supervision 프레임을 통하여 관리하는 방법을 IED3의 경우를 일예로하여 도시한 도면이다
도 3은 본 발명의 일실시예에 따른 HSR 프로토콜이 적용된 링 네트워크에서, 프레임 송수신을 제어하는 방법의 전체적인 흐름을 도시한 순서도이다.
도 4는 본 발명의 일실시예에 따른 TCIED를 도시한 도면이다.
도 5는 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 1:1로 전송하는 경우에 있어서, 전송 중 에러가 발생하지 않은 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이다.
도 6은 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 1:1로 전송하는 경우에 있어서, 전송 중 에러가 발생한 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이다.
도 7은 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 일 대 다수로 전송하는 경우에 있어서, 전송 중 에러가 발생하지 않은 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이다.
도 8은 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 일 대 다수로 전송하는 경우에 있어서, 전송 중 에러가 발생한 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이다.
도 9는 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 네트워크 내에 존재하는 모든 IED의 정보를 관리하는 방법을 도시한 도면이다.
1 is a diagram illustrating a process of transmitting a data frame in a ring network to which a conventional HSR protocol is applied.
FIG. 2 is a diagram illustrating a method of managing information of all IEDs existing in a network through a supervision frame in a ring network to which the conventional HSR protocol is applied, for example, in the case of IED3
3 is a flowchart illustrating an overall flow of a method for controlling frame transmission / reception in a ring network to which the HSR protocol is applied according to an exemplary embodiment of the present invention.
4 is a diagram illustrating a TCIED according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating a case where a data frame is transmitted 1: 1 in a ring network to which an HSR protocol is applied according to an embodiment of the present invention, Fig.
FIG. 6 is a diagram illustrating a case where a data frame is transmitted 1: 1 in a ring network to which an HSR protocol is applied according to an embodiment of the present invention, and a data frame is transmitted using TCIED As shown in Fig.
FIG. 7 is a flowchart illustrating a method for transmitting a data frame in a one-to-many manner in a ring network to which an HSR protocol is applied according to an embodiment of the present invention. In a case where no error occurs during transmission, Fig.
FIG. 8 is a diagram illustrating a case where a data frame is transmitted in a one-to-many manner in a ring network to which an HSR protocol is applied according to an embodiment of the present invention. As shown in Fig.
9 is a diagram illustrating a method for managing information of all IEDs existing in a network in a ring network to which the HSR protocol is applied, according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.

도 3은 본 발명의 일실시예에 따른 HSR 프로토콜이 적용된 링 네트워크에서, 프레임 송수신을 제어하는 방법의 전체적인 흐름을 도시한 순서도이고, 도 5는 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 1:1로 전송하는 경우에 있어서, 전송 중 에러가 발생하지 않은 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이며, 도 6은 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 1:1로 전송하는 경우에 있어서, 전송 중 에러가 발생한 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이다.FIG. 3 is a flowchart illustrating an overall flow of a method for controlling frame transmission / reception in a ring network to which an HSR protocol is applied according to an exemplary embodiment of the present invention. FIG. 6 is a diagram illustrating a method of transmitting a data frame using a TCIED when a data frame is transmitted 1: 1 in a ring network and an error does not occur during transmission. FIG. 1 illustrates a method of transmitting a data frame using a TCIED when a data frame is transmitted 1: 1 in a ring network to which an HSR protocol is applied according to an embodiment, and an error occurs during transmission; to be.

이하, 도 3, 도 5 및 도 6을 참조하여, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임 송수신을 제어하는 방법을 상세하게 설명한다.Hereinafter, a method of controlling data frame transmission / reception in a ring network to which the HSR protocol is applied will be described in detail with reference to FIGS. 3, 5, and 6. FIG.

우선, 복수의 IED(Intelligent Electronic Device)를 포함하는 HSR 프로토콜이 적용된 링 네트워크에서 복수의 IED 중 하나를 TCIED(Traffic Control Intelligent Electronic Device)로 선정한다(단계 301) First, one of a plurality of IEDs is selected as a traffic control intelligent electronic device (TCIED) in a ring network to which an HSR protocol including a plurality of IEDs (Intelligent Electronic Device) is applied (step 301)

TCIED는 링 네트워크 상에서 상대적으로 CPU 성능이 높은 IED로 선정될 수 있다.TCIED can be selected as an IED with relatively high CPU performance over a ring network.

다음으로, TCIED가 프레임 송수신 관리하는 방법은 프레임 종류에 따라 달리하는데, Supervision 프레임의 송수신인지, 데이터 프레임의 송수신인지 판단한다(단계 302).Next, the method of managing TCIED frame transmission / reception differs depending on the type of frame, and it is determined whether transmission / reception of a supervision frame or transmission / reception of a data frame is performed (step 302).

데이터 프레임의 경우, TCIED의 제1 포트를 통해 데이터 프레임이 수신되면, TCIED는 데이터 프레임을 저장한다(단계 303).In case of a data frame, if a data frame is received through the first port of the TCIED, the TCIED stores the data frame (step 303).

링 네트워크 상에서, 소스 IED는 목적지 IED로 1대1로 데이터 프레임을 송신하거나, 목적지 IED들에게 1대 다수로 데이터 프레임을 전송하기 위하여, 소스 IED의 양방향 포트를 통해 데이터 프레임을 송신한다.On the ring network, the source IED sends a data frame on a one-to-one basis to the destination IED, or a data frame on the bidirectional port of the source IED in order to transmit one-to-many data frames to destination IEDs.

링 네트워크의 IED간의 연결 구조가 원형임을 고려할 때, 소스 IED가 송신한 양 방향의 데이터 프레임 중 어느 하나의 프레임이라도 링 네트워크상의 모든 IED를 경유하여 전송이 이루어진다면, 목적지 IED 또는 목적지 IED들에게로 데이터 전송이 정확히 이루어졌다고 할 수 있다.Considering that the connection structure between the IEDs in the ring network is circular, if any one of the bidirectional data frames transmitted by the source IED is transmitted via all the IEDs on the ring network, the destination IED or destination IEDs It can be said that the data transmission is done correctly.

이 때, 소스 IED와 TCIED와의 연결 위치에 따라, 소스 IED의 양방향 포트를 통한 데이터 프레임의 도달시간이 같거나, 달라질 수 있는데, TCIED는 자신의 양방향 포트로 데이터 프레임을 동시에 수신하거나, TCIED의 어느 하나의 데이터 프레임을 먼저 수신하게 된다. In this case, depending on the connection position between the source IED and the TCIED, the arrival time of the data frame through the bidirectional port of the source IED may be the same or different. The TCIED may simultaneously receive the data frame with its own bidirectional port, One data frame is received first.

소스 IED가 양방향 포트를 통해 송신한 데이터 프레임 중 하나가 TCIED의 제1 포트를 통하여 먼저 수신된 경우, TCIED는 데이터 프레임을 TCIED의 제2 포트를 통하여 송신하지 않고, 저장부에 저장함으로써, 소스 IED가 송신한 양방향의 데이터 프레임이 링 네트워크에 존재하는 모든 IED에게 2번 송신되는 것을 방지한다.If one of the data frames transmitted by the source IED through the bidirectional port is first received through the first port of the TCIED, then the TCIED does not transmit the data frame through the second port of the TCIED, Directional data frame transmitted to the IED of the ring network is transmitted twice to all the IEDs existing in the ring network.

그 다음으로, 상기 TCIED가 제1 포트를 통해 데이터 프레임을 수신한 때를 기점으로 하여 타이머를 동작시킨다(단계 304).Next, the timer is operated based on the time when the TCIED receives the data frame through the first port (step 304).

본 발명에 따르면, TCIED는 소스 IED가 양방향 포트를 통해 송신한 데이터 프레임 중 먼저 수신된 시점에 상기한 데이터 프레임의 최대 지연 시간을 계산하고, 계산된 시간에 기초하여 타이머를 동작시킨다. According to the present invention, the TCIED calculates the maximum delay time of the data frame at the time of the first reception of the data frame transmitted by the source IED through the bidirectional port, and operates the timer based on the calculated time.

타이머를 동작시킴으로써, 링 네트워크가 단절되는 등의 문제로 인하여 TCIED의 제2 포트로 데이터 프레임의 수신이 지연되는 경우, TCIED의 제2 포트로 데이터 프레임을 전송할지 여부를 결정한다. When the reception of the data frame is delayed to the second port of the TCIED due to a trouble such as the ring network being disconnected by operating the timer, it is determined whether to transmit the data frame to the second port of the TCIED.

TCIED는 제2 포트를 통하여 데이터 프레임이 최대 지연 시간 내에 수신되는지 여부를 판단한다(단계 305).The TCIED determines whether the data frame is received within the maximum delay time through the second port (step 305).

본 발명에 따른 최대 지연 시간은 소스 IED가 송신한 데이터 프레임이 TCIED의 제1 포트로 수신된 이후, 소스 IED가 송신한 데이터 프레임이 TCIED의 제2 포트로 수신되기 전까지 TCIED가 데이터 프레임을 제2 포트로 송신하지 않고, 저장하고 있어야 할 대기 시간을 의미한다.The maximum delay time according to the present invention is such that after the data frame transmitted by the source IED is received at the first port of the TCIED, the data frame transmitted by the source IED is received by the second port of the TCIED, It means the waiting time that should be saved without transmitting to the port.

최대 지연 시간은 소스 IED로부터 송신된 데이터 프레임이 링 네트워크로의 불필요하게 이중으로 송신되는 것을 막기 위하여 계산되어야 할 중요한 요소이다. The maximum delay time is an important factor that must be computed to prevent a data frame transmitted from the source IED from being unnecessarily duplicated to the ring network.

이하, 최대 지연 시간의 계산 방법을 살펴본다.Hereinafter, a calculation method of the maximum delay time will be described.

ParameterParameter ValueValue Wire SpeedWire Speed 100Mbps100 Mbps Frame SizeFrame Size 180Bytes180 Bytes Hop CountHop Count 1 이상1 or more

상기 표 1은 최대 지연 시간을 계산하기 위해 필요한 파라미터들의 일례를 나타낸 것이다.Table 1 shows an example of parameters required for calculating the maximum delay time.

프레임 사이즈(Frame Size)는 피 전송 데이터 프레임의 크기를 의미한다.The frame size refers to the size of a frame to be transmitted.

회선 속도(Wire Speed)는 링 네트워크의 IED들을 연결하는 와이어(통신선, Wire)가 초당 전송할 수 있는 데이터의 양을 의미한다.Wire Speed refers to the amount of data that a wire (communication wire, Wire) connecting IEDs in a ring network can transmit per second.

홉 카운트(Hop Count)는 데이터 프레임이 인접 IED 사이의 와이어를 경유한 횟수, 다시 말하면, 데이터 프레임이 송신된 IED부터 수신된 IED까지 송신된 IED를 제외한 총 IED의 수를 의미한다.The Hop Count is the number of times a data frame has passed through a wire between adjacent IEDs, i. E., The total number of IEDs except IEDs transmitted from the IED to which the data frame was transmitted to the received IED.

상기한 파라미터를 이용하여 전송 속도(Transmission Time)가 아래의 수학식 1과 같이 산출될 수 있다. Transmission time can be calculated by using the above-mentioned parameters according to the following equation (1).

Figure 112012092792365-pat00003
Figure 112012092792365-pat00003

상기 전송 시간을 통하여 링 네트워크 내에서 와이어로 직접 연결된 인접한 IED 간의 데이터 전송에 필요한 시간을 계산할 수 있다.Through this transmission time, the time required for data transmission between adjacent IEDs directly connected to the wire in the ring network can be calculated.

수학식 1의 전송 시간 및 홉 카운트를 이용하여, 최대 전송 시간을 계산할 수 있는데, 최대 전송 시간(Maximum Transmission Time)은 아래의 수학식 2와 같이 산출될 수 있다.The maximum transmission time can be calculated using the transmission time and the hop count of Equation (1). The maximum transmission time can be calculated by Equation (2) below.

Figure 112012092792365-pat00004
Figure 112012092792365-pat00004

최대 전송 시간(Maximum Transmission Time)이란, 데이터 프레임을 송신하는 송신 IED로부터 데이터 프레임을 수신하는 수신 IED간의 데이터 프레임을 전송하는데 필요한 시간을 의미하는 것으로, 전송 시간(Transmission Time)과 홉 카운트(Hop Count)를 곱하여 산출될 수 있다. The maximum transmission time means a time required for transmitting a data frame between a receiving IED receiving a data frame and a transmitting IED transmitting a data frame. The transmission time and the hop count ). ≪ / RTI >

최종적으로, TCIED가 소스 IED로부터 제1 데이터 프레임을 수신한 후 계산되는 최대 지연 시간(Maximum Delay Time)은 소스 IED와 목적지 IED간의 최대 전송 시간과 목적지 IED와 TCIED간의 최대 전송 시간을 합한 값에서, 소스 IED와 TCIED간의 최대 전송 시간을 차감하는 방법으로 계산하여 산출될 수 있다.Finally, the maximum delay time that is calculated after the TCIED receives the first data frame from the source IED is the sum of the maximum transmission time between the source IED and the destination IED and the maximum transmission time between the destination IED and the TCIED, Can be calculated by subtracting the maximum transmission time between the source IED and the TCIED.

제1 포트로 데이터 프레임을 수신한 TCIED가 계산하는 최대 지연 시간은 아래의 수학식 3과 같이 산출될 수 있다.The maximum delay time calculated by the TCIED receiving the data frame at the first port can be calculated by Equation (3) below.

Figure 112012092792365-pat00005
Figure 112012092792365-pat00005

(SIED↔DIED)는 소스 IED와 목적지 IED 사이의 최대 지연 시간을 의미하고, (DIED↔TCIED)는 목적지 IED와 TCIED 사이의 최대 지연 시간을 의미하며, (SIED↔DIED)는 소스 IED와 TCIED 사이의 최대 지연 시간을 의미한다.(SIED↔DIED) means the maximum delay time between the source IED and the destination IED, (DIED↔TCIED) means the maximum delay time between the destination IED and TCIED, and (SIED↔DIED) means the maximum delay time between the source IED and the TCIED Of the maximum delay time.

최대 지연 시간은 상기 수학식 3과 같은 방법으로 계산되는 것이 일반적이나, 데이터 프레임의 타입 별로 변동될 수 있다.The maximum delay time is generally calculated in the same manner as in Equation (3), but may be varied according to the type of the data frame.

예를 들면, 음성 데이터 프레임과 같이 실시간 빠른 전송이 요구되는 데이터 프레임의 경우, 최대 지연 시간은 상기 수학식 3과 같은 방법으로 산출되어 실시간 통신을 보장할 수 있다.For example, in the case of a data frame in which real-time fast transmission is required, such as a voice data frame, the maximum delay time can be calculated in the same manner as in Equation (3) to ensure real-time communication.

그러나, 메시지 데이터 프레임 또는 E-mail 데이터 프레임과 같이 실시간 전송이 요구되지 않는 데이터 프레임의 경우, 최대 지연 시간은 상기 수학식 3과 같은 방법으로 산출된 시간보다 더 길게 설정될 수 있다.However, in the case of a data frame in which real-time transmission is not required, such as a message data frame or an E-mail data frame, the maximum delay time may be set to be longer than the time calculated by Equation (3).

일례로, 데이터 프레임 타입 별 최대 지연 시간 설정 방법은 데이터 프레임의 타입에 따라 산출된 최대 지연 시간에 미리 지정된 상수를 곱하되, 미리 지정된 상수를 데이터 타입 별로 달리 설정하는 방법으로 데이터 프레임 타입 별 최대 지연 시간을 설정할 수 있다.For example, a method of setting a maximum delay time for each data frame type is a method of multiplying a maximum delay time calculated according to a data frame type by a predetermined constant, You can set the time.

다음으로, TCIED의 제2 포트를 통하여 데이터 프레임이 최대 지연 시간 내에 수신되는 경우, TCIED는 저장해 놓은 데이터 프레임을 폐기한다(단계 306).Next, if the data frame is received within the maximum delay time through the second port of the TCIED, the TCIED discards the stored data frame (step 306).

도 5를 참조하면, 소스 IED로부터 양방향으로 데이터 프레임(A, B frame)이 송신된 후, TCIED의 제1 포트로 데이터 프레임(B frame)이 TCIED에 먼저 도달하여 TCIED의 저장부에 저장되고 있다가, TCIED의 제2 포트로 데이터 프레임(B frame)이 최대 지연 시간 내에 수신된 때에 데이터 프레임이 모두 폐기되는 방법이 도시되어 있다.Referring to FIG. 5, after a data frame (A, B frame) is transmitted in two directions from a source IED, a data frame (B frame) reaches a TCIED first at a first port of TCIED and is stored in a storage section of TCIED A method is shown in which all data frames are discarded when a data frame (B frame) is received within a maximum delay time by the second port of the TCIED.

TCIED가 최대 지연 시간 내에 제2 포트로 데이터 프레임을 수신한 경우, 데이터 프레임은 링 네트워크내의 모든 IED를 경유한 것이므로, 링 네트워크 내의 목적지 IED를 경유한 것이 보장된다.If the TCIED receives the data frame on the second port within the maximum delay time, it is guaranteed that the data frame has passed through all the IEDs in the ring network, and thus the destination IED in the ring network.

따라서, TCIED는 제1 포트로 데이터 프레임을 수신한 뒤, 제2 포트로 데이터 프레임을 전송 받은 경우, 소스 IED로부터 목적지 IED로의 데이터 프레임의 송신이 이루어졌다고 판단하고, 데이터 프레임을 송신하지 않은 체, 모두 폐기함으로써, 불필요한 데이터 프레임 송신을 방지한다.Accordingly, when the TCIED receives a data frame to the first port and then a data frame to the second port, the TCIED determines that the transmission of the data frame from the source IED to the destination IED has been performed, Thereby preventing transmission of unnecessary data frames.

TCIED가 데이터 프레임을 TCIED의 양방향 포트로 동시에 수신하는 경우, TCIED는 데이터 프레임을 전송하지 않고, 모두 폐기한다.When a TCIED simultaneously receives a data frame as a bidirectional port of the TCIED, the TCIED does not transmit the data frame but discards it.

TCIED의 양방향 포트로 데이터 프레임이 수신되었다는 것은 링 네트워크 내부를 통하여, 소스 IED가 송신한 데이터 프레임이 목적지 IED를 포함하여, 모든 IED에게 송신되었다는 것이 보장되는 것이므로, 제1 및 제2 데이터 프레임을 다음 IED로 송신할 필요가 없기 때문이다.The fact that a data frame is received on the bidirectional port of TCIED means that the data frame transmitted by the source IED is guaranteed to be transmitted to all IEDs including the destination IED through the inside of the ring network. This is because there is no need to transmit to the IED.

따라서, 이 때, TCIED는 데이터 프레임을 저장하지 않은 체 모두 폐기하여, 링 네트워크에 불필요한 데이터 프레임들을 송신하지 않음으로써 네트워크 트래픽을 감소시킨다.Thus, at this time, TCIED discards all non-storing data frames and reduces network traffic by not sending unnecessary data frames to the ring network.

만약, TCIED의 제2포트로 데이터 프레임이 최대 지연 시간 내에 수신되지 않는 경우, TCIED는 수신된 데이터 프레임을 폐기하지 않고, 제2 포트를 통하여 송신한다(단계 307).If the data frame is not received within the maximum delay time at the second port of the TCIED, the TCIED transmits the received data frame through the second port without discarding the received data frame (step 307).

도 6을 참조하면, 소스 IED로부터 송신된 데이터 프레임(B frame)이 전송 중 에러가 발생하여 TCIED로 송신되지 못하는 경우가 발생할 수 있다. Referring to FIG. 6, a data frame (B frame) transmitted from the source IED may not be transmitted as TCIED due to an error during transmission.

이와 같은 경우에 TCIED는 최대 지연 시간 내에 데이터 프레임을 수신하지 못하고, 소스 IED로부터 송신된 데이터 프레임이 링 네트워크 내에 존재하는 모든 IED를 경유하였는지 확인할 수 없기 때문에, 데이터 프레임이 목적지 IED로 정확히 송신되었음을 보장할 수 없다.In such a case, the TCIED can not confirm that the data frame has not been received within the maximum delay time and that the data frame transmitted from the source IED has passed through all the IEDs in the ring network, thus ensuring that the data frame is correctly transmitted to the destination IED Can not.

그렇기 때문에, TCIED는 저장하고 있던 데이터 프레임을 TCIED의 제2 포트를 통하여 송신한다.Therefore, TCIED transmits the stored data frame through the second port of TCIED.

링 네트워크에서 데이터 전송 에러가 한 부분에서 발생하였다고 가정할 때, TCIED가 제2 포트로 데이터 프레임을 송신함으로써, 소스 IED가 송신한 데이터 프레임은 목적지 IED로 안전하게 송신될 수 있다.Assuming that a data transmission error occurred in one part of the ring network, the data frame transmitted by the source IED can be securely transmitted to the destination IED by transmitting the data frame to the TCIED on the second port.

도 7은 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 데이터 프레임을 일 대 다수로 전송하는 경우에 있어서, 전송 중 에러가 발생하지 않은 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이고, 도 8은 전송 중 에러가 발생한 상황일 때, TCIED를 이용하여 데이터 프레임을 전송하는 방법을 도시한 도면이다.FIG. 7 is a flowchart illustrating a method for transmitting a data frame in a one-to-many manner in a ring network to which an HSR protocol is applied according to an embodiment of the present invention. In a case where no error occurs during transmission, FIG. 8 is a diagram illustrating a method of transmitting a data frame using TCIED when an error occurs during transmission. FIG.

상기에서 설명한 바와 같이, TCIED가 소스 IED로부터 송신된 데이터 프레임을 제1 포트로 수신한 경우, 제2 포트로 데이터 프레임이 수신될 때까지 저장하였다가, i) 최대 지연 시간 내에 제2 포트로 데이터 프레임이 도달하는 경우에는 데이터 프레임을 모두 폐기하고, ii) 최대 지연 시간 내에 제2 포트로 데이터 프레임이 도달하지 않는 경우에는 데이터 프레임을 송신한다.As described above, when the TCIED receives the data frame transmitted from the source IED at the first port, it stores the data frame until the data frame is received at the second port, and i) If the frame arrives, all data frames are discarded. Ii) If the data frame does not reach the second port within the maximum delay time, the data frame is transmitted.

이러한 방식을 통하여, 소스 IED가 송신한 데이터 프레임이 링 네트워크 내의 모든 IED를 경유하게 되며, 1:1 데이터 전송과 마찬가지로 1:다수의 데이터 통신에 있어서, 네트워크의 부하를 감소하면서 안전한 데이터 전송을 보장하는 방법을 개시한다. Through this method, the data frame transmitted by the source IED goes through all the IEDs in the ring network. In the same way as 1: 1 data transmission, it guarantees secure data transmission while reducing load on the network The method comprising:

상기에서 설명한 방법으로 HSR 프로토콜이 적용된 링 네트워크에서 TCIED를 이용하여 프레임 송수신을 제어할 때, 링 네트워크가 단절되지 않은 정상적인 상태에서 네트워크의 트래픽 부하를 현저하게 감소시킬 수 있고, 링 네트워크가 단절된 상황에서도 종래 HSR 프로토콜과 마찬가지로 안전한 데이터 전송을 보장한다.When the frame transmission / reception is controlled using the TCIED in the ring network to which the HSR protocol is applied in the above-described method, the traffic load of the network can be remarkably reduced in a normal state in which the ring network is not disconnected, As with the conventional HSR protocol, secure data transmission is ensured.

상기에서 HSR 프로토콜이 적용된 링 네트워크에서 프래픽 감소를 위한 한 방법으로 데이터 프레임 송수신 제어 방법을 살펴보았다.In the above, a method of controlling data frame transmission / reception as a method for reducing a frame in a ring network to which the HSR protocol is applied has been described.

이하에서는, 도면을 참조하여 본 발명의 일 실시예에 따른 HSR 프로토콜이 적용된 링 네트워크에서 네트워크 내에 존재하는 모든 IED의 정보를 관리하는 방법으로, 슈퍼비전(Supervision) 프레임 송수신 제어 방법을 상세히 설명한다.Hereinafter, a method for controlling all IEDs present in a network in a ring network to which the HSR protocol is applied, according to an embodiment of the present invention, will be described in detail with reference to the accompanying drawings.

도 3에는 본 발명의 일 실시예에 따른 HSR 프로토콜이 적용된 링 네트워크에서, 네트워크 내에 존재하는 모든 IED의 정보를 관리하는 과정의 전체적인 흐름을 도시한 순서도이고, 도 9는 본 발명의 일실시예에 따른, HSR 프로토콜이 적용된 링 네트워크에서, 네트워크 내에 존재하는 모든 IED의 정보를 관리하는 방법을 도시한 도면이다.3 is a flowchart illustrating an overall process of managing information of all IEDs existing in a network in a ring network to which the HSR protocol is applied according to an embodiment of the present invention. In the ring network to which the HSR protocol is applied, information of all IEDs present in the network is managed.

이하, 도 3 및 도 9를 참조하여, HSR 프로토콜이 적용된 링 네트워크에서 TCIED만이 Supervision 프레임을 전송하는 방법을 통하여 네트워크 내에 존재하는 모든 IED의 정보를 관리하는 방법을 구체적으로 설명한다.3 and 9, a method of managing information of all IEDs existing in a network through a method of transmitting a Supervision frame only by the TCIED in a ring network to which the HSR protocol is applied will be described in detail.

우선, TCIED가 양방향 포트(제1 및 제2 포트)로 상기 TCIED 내부에 저장된 Nodes Table의 정보를 포함하는 슈퍼비젼(Supervision) 프레임을 주기적으로 송신한다.First, TCIED periodically transmits a Supervision frame including information of a Nodes Table stored in the TCIED to a bidirectional port (first and second ports).

본 발명은 TCIED만이 네트워크 내의 모든 IED의 정보가 담긴 Supervision 프레임을 네트워크 내에 양 방향으로 전송하도록 하고, 네트워크상의 나머지 IED들은 TCIED가 전송하는 Supervision 프레임을 수신할 수 있을 뿐, Supervision 프레임을 송신할 수 없다.In the present invention, only the TCIED allows a Supervision frame containing information of all IEDs in the network to be transmitted in both directions within the network, and the remaining IEDs on the network can only receive the Supervision frame transmitted by the TCIED and can not transmit the Supervision frame .

TCIED는 미리 설정된 주기로 Supervision 프레임을 송신하는데, 그 주기는 네트워크의 특성에 따라 달리 설정될 수 있다. The TCIED transmits a Supervision frame at a preset cycle, which can be set differently depending on the characteristics of the network.

다음으로, Supervision 프레임을 전송 받은 네트워크 내의 모든 IED들은 각 IED들의 양방향 포트를 통하여 Supervision Ack 프레임을 전송한다. Next, all the IEDs in the network receiving the Supervision frame transmit the Supervision Ack frame through the bidirectional port of each IED.

네트워크 내의 각 IED들은 TCIED로부터 수신한 Supervision 프레임으로부터 네트워크 내의 모든 IED들의 정보를 알 수 있다. TCIED가 네트워크 내의 모든 IED에 관한 정보를 저장하고, 모든 IED에 관한 정보를 갱신하여 모든 IED에게 알려주는 역할을 수행함으로써, 네트워크 내의 다른 IED들은 Supervision 프레임을 전송할 필요가 없으며, TCIED로부터 Supervision 프레임을 수신한 IED는 각각 자신의 IED의 정보가 담긴 Supervision Ack 프레임을 송신하는 방법으로 정보의 갱신을 유도한다.Each IED in the network can know the information of all IEDs in the network from the Supervision frame received from the TCIED. TCIED stores information about all IEDs in the network, updates information about all IEDs, and informs all IEDs that other IEDs in the network do not need to transmit Supervision frames and receive Supervision frames from TCIED An IED induces an update of information by transmitting a Supervision Ack frame containing information of its own IED.

마지막으로, 네트워크 내의 IED로부터 Supervision Ack 프레임을 수신한 TCIED는 TCIED 내부의 Node Table에 네트워크 내의 모든 IED에 관한 정보를 저장 및 갱신(업데이트)한다. Finally, the TCIED receiving the Supervision Ack frame from the IED in the network stores and updates (updates) information about all IEDs in the network to the node table in the TCIED.

Nodes Table에는 네트워크 내의 각 IED들의 Source Address(MAC Address), Sequence Number 등 다양한 정보가 포함될 수 있다.The Nodes Table can contain various information such as Source Address (MAC Address) and Sequence Number of each IED in the network.

이렇게 갱신된 Node Table의 정보는 TCIED가 Supervision 프레임을 네트워크 내의 IED에게로 송신할 때 포함되어 송신되어, 네트워크 내의 모든 IED에게 네트워크의 모든 IED에 관한 정보를 알려준다.The information of the updated node table is transmitted when the TCIED transmits the Supervision frame to the IED in the network, and informs all the IEDs in the network about all the IEDs in the network.

이와 같은 방법으로, HSR 프로토콜이 적용된 링 네트워크에서 각 IED들이 Supervision 프레임을 전송하는 대신에, Supervision Ack 프레임을 전송하도록 하고, 오직 TCIED만이 네트워크 내의 모든 IED들의 정보를 주기적으로 전송, 저장 및 업데이트(갱신) 하는 방법으로 네트워크 내의 트래픽 부하를 감소시킬 수 있다.In this manner, in the ring network to which the HSR protocol is applied, each IED transmits a Supervision Ack frame instead of transmitting a Supervision frame, and only TCIED only periodically transmits, stores, and updates information of all IEDs in the network ) Can reduce the traffic load in the network.

상기에서 설명한 바와 같이, HSR 프로토콜이 적용된 링 네트워크에서 TCIED를 사용하여, 데이터 프레임의 전송을 제어하고, Supervision 프레임을 전송을 제한하는 방법을 통하여, 종래의 HSR 프로토콜이 가지는 네트워크 단절시 데이터 프레임을 안전하게 전송할 수 있는 안정성을 보장하면서도, 네트워크 상의 트래픽 부하를 현저히 감소시킴으로써, 안전하게 데이터 프레임을 송수신 할 수 있는 효과를 얻을 수 있다.As described above, by using the TCIED in the ring network to which the HSR protocol is applied, the transmission of the data frame is controlled, and the transmission of the Supervision frame is restricted, It is possible to securely transmit and receive data frames by significantly reducing the traffic load on the network while ensuring stability that can be transmitted.

도 4는 본 발명의 일 실시예에 따른 TCIED를 도시한 도면이다.4 is a diagram illustrating a TCIED according to an embodiment of the present invention.

TCIED는 송수신부(401), 저장부(402) 및 제어부(403)를 포함한다.The TCIED includes a transmission / reception unit 401, a storage unit 402, and a control unit 403.

송수신부(401)는 소스 IED가 송신한 데이터 프레임을 수신하고, 하나의 포트로 수신된 데이터 프레임을 저장한 후 최대 지연 시간 이내에 다른 포트로 데이터 프레임이 수신되지 않는 경우, 저장된 데이터 프레임을 송신한다. The transmission / reception unit 401 receives the data frame transmitted by the source IED, stores the received data frame on one port, and transmits the stored data frame when the data frame is not received on another port within the maximum delay time .

저장부(402)는 소스 IED로부터 양방향 포트 중 하나의 포트(제1 포트)를 통해 수신된 데이터 프레임을 저장한다.The storage unit 402 stores the data frame received from the source IED through one of the bidirectional ports (the first port).

제어부(403)는 TCIED의 제1 포트를 통해 데이터 프레임이 수신된 때, 제2 포트를 통한 데이터 프레임이 최대 지연 시간 내에 수신되는지 여부를 판단하고, i) 데이터 프레임이 최대 지연 시간 내에 수신되는 경우, 데이터 프레임을 제거하며, ii) 데이터 프레임이 최대 지연 시간 내에 수신되지 않는 경우, 데이터 프레임을 제2 포트로 송신 한다.When the data frame is received through the first port of the TCIED, the control unit 403 determines whether the data frame through the second port is received within the maximum delay time, and if i) the data frame is received within the maximum delay time , Removes the data frame, and ii) transmits the data frame to the second port if the data frame is not received within the maximum delay time.

그리고, 제어부(403)는 데이터 프레임의 타입(type), 프레임의 사이즈(frame size), 회선 속도(wire speed), 소스 IED 및 목적지 IED와의 홉(hop) 수 중 적어도 하나를 이용하여 최대 지연 시간(Maximum Delay Time)을 결정할 수 있다.The controller 403 controls the maximum delay time using at least one of a type of a data frame, a frame size, a wire speed, a source IED, and a hop count with the destination IED. (Maximum Delay Time).

또한, 제어부(403)는 최대 지연 시간(Maximum Delay Time)은 소스 IED와 목적지 IED 사이의 최대 전송 시간(Maximum Transmission Time)과 목적지 IED와 TCIED 사이의 최대 전송 시간(Maximum Transmission Time)의 합에서 소스 IED와 TCIED 사이의 최대 전송 시간(Maximum Transmission Time)을 차감하여 결정할 수 있다.The controller 403 determines whether the maximum delay time is a sum of the maximum transmission time between the source IED and the destination IED and the maximum transmission time between the destination IED and the TCIED, It can be determined by subtracting the maximum transmission time between IED and TCIED.

제어부(403)는 최대 지연 시간 내에 프레임 수신 여부를 판단할 수 있는 타이머를 포함할 수 있다.The controller 403 may include a timer for determining whether a frame is received within a maximum delay time.

전송 시간(Transmission Time), 프레임 사이즈(Frame Size), 와이어 스피드(Wire Speed), 홉 카운트(Hop Count), 최대 전송 시간(Maximum Transmission Time) 및 최대 지연 시간(Maximum Delay Time)에 관한 의미는 상기에서 설명한 것과 같은 의미이고, 상기에서와 같은 수식으로 산출될 수 있다. The meanings of Transmission Time, Frame Size, Wire Speed, Hop Count, Maximum Transmission Time and Maximum Delay Time, And can be calculated by the above equations.

TCIED가 네트워크 내에 존재하는 모든 IED의 정보를 관리하는 방법에 있어서, 송수신부(401)는 양방향 포트로 저장부에 저장된 Node Table의 정보를 포함하는 Supervision 프레임을 송신하고, 소스 IED로부터 송신된 Supervision Ack 프레임을 수신한다.In the method of managing information of all IEDs existing in the network, the transceiver unit 401 transmits a Supervision frame including the information of the Node Table stored in the storage unit to the bidirectional port, and transmits the Supervision Ack Frame.

저장부(402)는 소스 IED로부터 양방향 포트 중 하나의 포트(제1 포트)를 통해 수신된 또는 Supervision Ack 프레임을 저장하고, 네트워크 내의 모든 IED에 관한 정보를 Node Table로 저장 및 갱신한다.The storage unit 402 stores the Supervision Ack frame received from the source IED through one port (the first port) of the bidirectional port, and stores and updates information about all the IEDs in the network in the Node Table.

제어부(403)는 네트워크상의 IED로부터 수신된 Supervision Ack 프레임들에 포함된 모든 IED 정보를 Nodes Table에 갱신하도록 제어하고, TCIED가 미리 지정된 주기로 Supervision 프레임을 네트워크로 송신하도록 제어하는 것을 특징으로 한다. The control unit 403 controls to update all the IED information included in the Supervision Ack frames received from the IED on the network to the Nodes Table and controls the TCIED to transmit the Supervision frame to the network at a predetermined period.

본 발명의 실시예들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 일실시예들의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Embodiments of the present invention may be implemented in the form of program instructions that can be executed on various computer means and recorded on a computer readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Examples of program instructions, such as magneto-optical and ROM, RAM, flash memory and the like, can be executed by a computer using an interpreter or the like, as well as machine code, Includes a high-level language code. The hardware devices described above may be configured to operate as one or more software modules to perform operations of one embodiment of the present invention, and vice versa.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.
As described above, the present invention has been described with reference to particular embodiments, such as specific elements, and limited embodiments and drawings. However, it should be understood that the present invention is not limited to the above- Various modifications and variations may be made thereto by those skilled in the art to which the present invention pertains. Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

Claims (12)

복수의 IED(Intelligent Electronic Device) 중 하나가 트래픽 컨트롤 IED(TCIED)로 설정된 HSR 프로토콜이 적용된 링 네트워크에서 상기 TCIED가 프레임의 송수신을 제어하는 방법으로서,
(a) 소스 IED의 양방향 포트를 통해 송신된 데이터 프레임 중 제1 포트를 통해 먼저 수신된 데이터 프레임을 저장하는 단계;
(b) 상기 데이터 프레임의 최대 지연 시간을 결정하는 단계; 및
(c) 상기 최대 지연 시간 이내에 제2 포트를 통해 상기 데이터 프레임이 수신되는지 여부에 따라 상기 저장된 데이터 프레임의 폐기 또는 전송을 결정하는 단계를 포함하는 프레임 송수신 제어 방법.
A method for controlling transmission and reception of a frame in a ring network to which HSR protocol is applied, wherein one of a plurality of Intelligent Electronic Devices (IEDs) is set as a traffic control IED (TCIED)
(a) storing a data frame received first through a first port of a data frame transmitted via a bidirectional port of a source IED;
(b) determining a maximum delay time of the data frame; And
(c) determining to discard or transmit the stored data frame according to whether the data frame is received via the second port within the maximum delay time.
제1항에 있어서,
상기 (c) 단계에서 상기 제2 포트를 통해 상기 데이터 프레임이 상기 최대 지연 시간 내에 수신되지 않는 경우, 상기 (c) 단계 이후 상기 저장된 데이터 프레임을 상기 제2 포트를 통해 전송하는 단계를 더 포함하는 프레임 송수신 제어 방법.
The method according to claim 1,
And if the data frame is not received within the maximum delay time through the second port in the step (c), transmitting the stored data frame after the step (c) through the second port Frame transmission / reception control method.
제1항에 있어서,
상기 (c) 단계에서 상기 소스 IED로부터 송신된 데이터 프레임이 상기 제1 및 제2 포트로 동시에 도달하거나, 상기 제2 포트를 통해 상기 데이터 프레임이 상기 최대 지연 시간 내에 수신되는 경우, 상기 (c) 단계 이후 상기 데이터 프레임을 모두 폐기하는 단계를 포함하는 프레임 송수신 제어 방법.
The method according to claim 1,
(C) when the data frame transmitted from the source IED reaches the first and second ports at the same time, or when the data frame is received within the maximum delay time via the second port, And discarding all of the data frames after the frame transmission / reception step.
제1항에 있어서,
상기 최대 지연 시간은 상기 데이터 프레임의 타입, 상기 데이터 프레임의 사이즈, 회선 속도 및 상기 소스 IED 및 목적지 IED와의 홉 수 중 적어도 하나에 따라 결정되는 프레임 송수신 제어 방법.
The method according to claim 1,
Wherein the maximum delay time is determined according to at least one of a type of the data frame, a size of the data frame, a line speed, and a hop count between the source IED and the destination IED.
제4항에 있어서,
상기 최대 지연 시간은 상기 소스 IED에서 상기 목적지 IED간 최대 전송 시간과 상기 목적지 IED와 상기 TCIED간 최대 전송 시간의 합에서 상기 소스 IED와 상기 TCIED간 최대 전송 시간을 차감하여 결정되는 프레임 송수신 제어 방법.
5. The method of claim 4,
Wherein the maximum delay time is determined by subtracting a maximum transmission time between the source IED and the TCIED from a sum of the maximum transmission time between the destination IED and the destination IED and the maximum transmission time between the destination IED and the TCIED in the source IED.
제5항에 있어서,
상기 최대 전송 시간은 아래의 수학식에 따라 결정되는 프레임 송수신 제어 방법.
[수학식]
최대 전송 시간 (Maximum Transmission Time)
Figure 112012092792365-pat00006

여기서, 전송 시간 (Transmission Time)
Figure 112012092792365-pat00007
이며, Wire Speed는 회선 속도임
6. The method of claim 5,
Wherein the maximum transmission time is determined according to the following equation.
[Mathematical Expression]
Maximum Transmission Time
Figure 112012092792365-pat00006

Here, the transmission time (Transmission Time)
Figure 112012092792365-pat00007
, And Wire Speed is the line speed
제1항에 있어서,
상기 (a) 단계에 선행하여,
상기 제1 및 제2 포트를 통해 슈퍼비전(Supervision) 프레임을 송신하는 단계;
상기 슈퍼비전 프레임을 수신한 다른 IED 각각이 전송한 자신의 IED의 정보를 포함하는 응답(Supervision Ack) 프레임을 수신하는 단계; 및
상기 응답 프레임을 이용하여 상기 링 네트워크에 포함된 모든 IED에 관한 정보를 노드 테이블에 저장하는 단계를 더 포함하는 프레임 송수신 제어 방법.
The method according to claim 1,
Prior to step (a)
Transmitting a Supervision frame through the first and second ports;
Receiving a response frame (Supervision Ack) frame including information of its own IED transmitted by each of the other IEDs receiving the supervision frame; And
And storing information about all IEDs included in the ring network in the node table using the response frame.
제7항에 있어서,
상기 슈퍼비전 프레임을 미리 지정된 주기로 송신하는 프레임 송수신 제어 방법.
8. The method of claim 7,
And transmitting the supervision frame at a predetermined period.
제1항 내지 제8항 중 어느 한 항에 따른 방법을 수행하는 프로그램이 기록된 컴퓨터 판독 가능한 기록매체. 9. A computer-readable recording medium on which a program for performing the method according to any one of claims 1 to 8 is recorded. HSR 프로토콜이 적용된 링 네트워크에 포함되며 프레임의 송수신을 제어하는 트래픽 컨트롤 장치로서,
제1 포트 및 제2 포트를 통해 데이터 프레임을 송수신하는 송수신부;
소스 IED의 양방향 포트를 통해 송신된 데이터 프레임 중 제1 포트를 통해 먼저 수신된 데이터 프레임을 저장하는 저장부; 및
상기 데이터 프레임 수신 이후, 상기 데이터 프레임의 최대 지연 시간을 결정하고, 상기 최대 지연 시간 이내에 제2 포트를 통해 상기 데이터 프레임이 수신되는지 여부에 따라 상기 저장된 데이터 프레임의 폐기 및 전송을 결정하는 제어부를 포함하는 트래픽 컨트롤 장치.
A traffic control device included in a ring network to which an HSR protocol is applied,
A transmitting and receiving unit transmitting and receiving a data frame through the first port and the second port;
A storage unit for storing a data frame received first through a first port of a data frame transmitted through the bidirectional port of the source IED; And
Determining a maximum delay time of the data frame after receiving the data frame and determining the discarding and transmission of the stored data frame according to whether the data frame is received through the second port within the maximum delay time Traffic control device.
제10항에 있어서,
상기 제어부는 상기 데이터 프레임의 타입, 상기 데이터 프레임의 사이즈, 회선 속도 및 상기 소스 IED 및 목적지 IED와의 홉 수 중 적어도 하나를 이용하여 상기 최대 지연 시간을 결정하는 트래픽 컨트롤 장치.
11. The method of claim 10,
Wherein the control unit determines the maximum delay time using at least one of a type of the data frame, a size of the data frame, a line speed, and a hop count between the source IED and the destination IED.
제11항에 있어서,
상기 제어부는 상기 소스 IED에서 상기 목적지 IED간 최대 전송 시간과 상기 목적지 IED와 상기 트래픽 컨트롤 장치 간 최대 전송 시간의 합에서 상기 소스 IED와 상기 트래픽 컨트롤 장치 간 최대 전송 시간을 차감하여 상기 최대 지연 시간을 결정하는 트래픽 컨트롤 장치.
12. The method of claim 11,
Wherein the control unit subtracts the maximum transmission time between the source IED and the traffic control apparatus from the maximum transmission time between the destination IED and the traffic control apparatus and the maximum transmission time between the destination IED and the traffic control apparatus in the source IED, A traffic control device that determines.
KR1020120127519A 2012-11-12 2012-11-12 Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol KR101397299B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120127519A KR101397299B1 (en) 2012-11-12 2012-11-12 Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120127519A KR101397299B1 (en) 2012-11-12 2012-11-12 Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol

Publications (2)

Publication Number Publication Date
KR20140060779A KR20140060779A (en) 2014-05-21
KR101397299B1 true KR101397299B1 (en) 2014-05-23

Family

ID=50889983

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120127519A KR101397299B1 (en) 2012-11-12 2012-11-12 Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol

Country Status (1)

Country Link
KR (1) KR101397299B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180019005A (en) 2016-08-11 2018-02-22 명지대학교 산학협력단 Frame transmission method with zero recovery time using switch box
KR20180018994A (en) 2016-08-11 2018-02-22 명지대학교 산학협력단 Method of frame multicasting at hsr protocol

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6561950B2 (en) * 2016-09-09 2019-08-21 株式会社デンソー Relay device
CN109525041B (en) * 2018-12-29 2023-09-26 北京智芯微电子科技有限公司 Secondary relay protection chip of intelligent substation and data interaction method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1013447A (en) * 1996-06-21 1998-01-16 Nec Corp Communication equipment and communication method
JP2003234747A (en) 2001-12-07 2003-08-22 Mitsubishi Electric Corp Duplex ring network system and ring selecting method
KR20080112897A (en) * 2007-06-22 2008-12-26 한국정보통신대학교 산학협력단 Method for record of address transmission table in ethernet ring networks
US20110029687A1 (en) 2009-07-31 2011-02-03 Abb Research Ltd Data transmission in a ring-type communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1013447A (en) * 1996-06-21 1998-01-16 Nec Corp Communication equipment and communication method
JP2003234747A (en) 2001-12-07 2003-08-22 Mitsubishi Electric Corp Duplex ring network system and ring selecting method
KR20080112897A (en) * 2007-06-22 2008-12-26 한국정보통신대학교 산학협력단 Method for record of address transmission table in ethernet ring networks
US20110029687A1 (en) 2009-07-31 2011-02-03 Abb Research Ltd Data transmission in a ring-type communication network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180019005A (en) 2016-08-11 2018-02-22 명지대학교 산학협력단 Frame transmission method with zero recovery time using switch box
KR20180018994A (en) 2016-08-11 2018-02-22 명지대학교 산학협력단 Method of frame multicasting at hsr protocol

Also Published As

Publication number Publication date
KR20140060779A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
US7965738B2 (en) System and method for adaptive frame size management in a wireless multihop network
US8831023B2 (en) Low latency mesh network
JP4665032B2 (en) User apparatus, method, and mobile communication system
CN105099540B (en) A kind of satellite handles the in-orbit function remodeling method of class load
KR102119418B1 (en) Communication system, communication device and communication method
US8717871B2 (en) Packet retransmission control system, method and program
US9565162B2 (en) One-way transmission and reception with delayed TCP ACK message and monitoring for UDP and TCP frames
JP2017502545A5 (en)
BR112016006377B1 (en) EFFICIENT UPLINK SCHEDULE MECHANISMS FOR DUAL CONNECTIVITY
KR101397299B1 (en) Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol
US8687637B2 (en) Communication control method and relay device
US20160308775A1 (en) Base station and communication control method
WO2016090978A1 (en) Traffic switching method and device
US20170027016A1 (en) Communication device, wireless communication device, and communication method
US20140071971A1 (en) Wireless base station, wireless terminal, and packet transmission method
US20190174356A1 (en) Data transmission method, data receiving device, and data sending device
KR101658824B1 (en) Method, apparatus and computer program for updating flow rules of software defined network
WO2016192402A1 (en) Method and apparatus for adjusting maximum transmission unit of ipv6 tunnel
CN103338158A (en) GOOSE message transmission delay jitter suppression method
US20150195210A1 (en) Communication terminal and communication method
CN108737119B (en) Data transmission method, device and system
KR101515595B1 (en) System and method for TCP packet transmission for wireless network transmission enhancement
JP6973511B2 (en) Communication equipment, communication systems, communication methods and programs
US11012914B2 (en) Method and apparatus for configuring path in communication system including Xhaul network
TWI831622B (en) Apparatus for managing network flow congestion and method thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee