KR101396779B1 - Method of isolation and release the isolation of loop port of network node detected data looping status - Google Patents

Method of isolation and release the isolation of loop port of network node detected data looping status Download PDF

Info

Publication number
KR101396779B1
KR101396779B1 KR1020120083694A KR20120083694A KR101396779B1 KR 101396779 B1 KR101396779 B1 KR 101396779B1 KR 1020120083694 A KR1020120083694 A KR 1020120083694A KR 20120083694 A KR20120083694 A KR 20120083694A KR 101396779 B1 KR101396779 B1 KR 101396779B1
Authority
KR
South Korea
Prior art keywords
loop
port
isolation
loop port
network node
Prior art date
Application number
KR1020120083694A
Other languages
Korean (ko)
Other versions
KR20140017179A (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 KR1020120083694A priority Critical patent/KR101396779B1/en
Publication of KR20140017179A publication Critical patent/KR20140017179A/en
Application granted granted Critical
Publication of KR101396779B1 publication Critical patent/KR101396779B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0695Management of faults, events, alarms or notifications the faulty arrangement being the maintenance, administration or management system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

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

Abstract

데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법이 개시된다. 본 발명의 실시예 따른 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법은, 네트워크에서 데이터 루핑 현상을 검출하고 데이터 루핑 현상이 발생한 네트워크 노드의 루프 포트를 격리하고 데이터 루핑 현상이 지속 되고 있는지를 모니터(monitor)하여 데이터 루핑 현상이 해제된 경우 상기 격리된 포트를 원상태로 복원하는 것을 자동으로 수행함으로써, 데이터 루핑 현상이 해제되지 않았는데도 루프 포트가 복원되어 다시 네트워크에 악영향을 주는 것을 방지할 수 있으며, 데이터 루핑 현상이 해제된 이후에도 루프 포트가 계속 격리되어 있어서 네트워크 관리자가 수동으로 루프 포트를 원상태로 복원시켜줘야 하는 불편함을 해결할 수 있다.A method for automatically isolating and quarantining a loop port of a network node where a data looping phenomenon is detected is disclosed. A method of automatically isolating and isolating a loop port of a network node in which a data looping phenomenon is detected according to an embodiment of the present invention includes detecting a data looping phenomenon in a network and isolating a loop port of a network node in which a data looping phenomenon occurs, It is possible to monitor whether the looping phenomenon is continued to automatically restore the isolated port when the data looping phenomenon is released, thereby restoring the loop port even when the data looping phenomenon is not canceled, And the loop port is continuously isolated even after the data looping phenomenon is released, so that it is possible to solve the inconvenience that the network manager must manually restore the loop port to its original state.

Description

데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법{METHOD OF ISOLATION AND RELEASE THE ISOLATION OF LOOP PORT OF NETWORK NODE DETECTED DATA LOOPING STATUS}METHOD OF ISOLATION AND RELEASE OF LOOP PORT OF NETWORK NODE DETECTED DATA LOOPING STATUS BACKGROUND OF THE INVENTION 1. Field of the Invention [

본 발명은 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법에 관한 것으로, 더욱 자세하게는 네트워크에서 데이터 루핑 현상을 검출하고 데이터 루핑 현상이 발생한 네트워크 노드의 루프 포트를 격리하고 데이터 루핑 현상이 지속 되고 있는지를 모니터(monitor)하여 데이터 루핑 현상이 해제된 경우 상기 격리된 포트를 원상태로 복원하는 것을 자동으로 수행하는 기술에 관한 것이다. The present invention relates to a method of automatically isolating and releasing a loop port of a network node in which data looping phenomenon is detected, more particularly, to a method of detecting data looping phenomenon in a network and isolating a loop port of a network node And monitors whether the data looping phenomenon is continued to automatically restore the isolated port when the data looping phenomenon is canceled.

이더넷 네트워크(Ethernet Network)에서 이더넷 네트워크 노드들 간 케이블 연결이 잘못된 경우 데이터 루핑(data looping) 현상이 발생할 수 있는데, 이더넷 네트워크를 마비시키는 등의 심각한 영향을 초래한다. 이러한 이더넷 네트워크에서 발생할 수 있는 데이터 루핑 현상의 종류를 도 1을 참조하여 간단히 살펴보기로 한다. In the Ethernet network, if the cable connection between the Ethernet network nodes is wrong, data looping can occur, which can have a serious effect, such as paralyzing the Ethernet network. The types of data looping phenomenon that may occur in such an Ethernet network will be briefly described with reference to FIG.

도 1을 참조하면 데이터 루핑 현상이 일어나는 이더넷 네트워크의 형태(이하, 루프라 함)에는, 2개의 이더넷 네트워크 노드 간에 발생하는 루프(루프1), 1개의 이더넷 네트워크 노드에서 발생하는 케이블 루프(루프2), 3개 이상의 이더넷 네트워크 노드를 경유하여 발생하는 네트워크 루프(루프3) 등이 존재할 수 있다. Referring to FIG. 1, a loop (loop 1) occurring between two Ethernet network nodes, a cable loop occurring in one Ethernet network node (loop 2 ), A network loop (loop 3) that occurs via three or more Ethernet network nodes, and so on.

즉, 루프 1은, 예를 들어 이더넷 스위치(1)가 자신의 포트 B를 통해 이더넷 네트워크로 전송한 패킷이 이더넷 스위치(2)의 포트 B 및 포트 A를 통해 다시 이더넷 스위치(1)의 포트 A로 되돌아온 경우이다.That is, for example, the loop 1 is configured such that a packet transmitted from the Ethernet switch 1 to the Ethernet network through its own port B is transmitted to the port A of the Ethernet switch 1 via the port B of the Ethernet switch 2 and the port A, . ≪ / RTI >

루프 2는 이더넷 스위치(3)가 자신의 포트 C를 통해 이더넷 네트워크로 전송한 패킷이 다시 자신의 포트 B로 되돌아 온 경우이다.Loop 2 is the case when the packet that the Ethernet switch 3 transmitted to the Ethernet network through its own port C is returned to its own port B again.

루프 3은, 예를 들어 이더넷 스위치(1)가 자신의 포트 E를 통해 이더넷 네트워크로 전송한 패킷이 이더넷 스위치(5)의 포트 B 및 포트 A와 이더넷 스위치(4)의 포트 B 및 포트 A를 통해서 다시 이더넷 스위치(1)의 포트 D로 되돌아온 경우이다.In the loop 3, for example, when a packet transmitted from the Ethernet switch 1 to the Ethernet network through its own port E is transmitted to the port B and the port A of the Ethernet switch 5, the port B and the port A of the Ethernet switch 4 And returns to the port D of the Ethernet switch 1 again.

이러한 루프를 검출하는 방식에는, 이더넷 네트워크 노드가 루프 검출용 패킷을 주기적으로 이더넷 네트워크로 전송하여 그 패킷이 자신에게 되돌아오는지를 확인하는 방식과, 이더넷 네트워크 노드의 포트에 학습 되는 MAC 주소 move가 단위시간당 임계치 이상 이동하는지를 확인하는 방식이 있다. A method of detecting such a loop includes a method in which an Ethernet network node periodically transmits a packet for loop detection to the Ethernet network to confirm whether the packet is returned to the Ethernet network, There is a method of confirming whether or not it moves more than a threshold value per hour.

이러한 검출방식을 통하여 루프가 검출되면, 이더넷 네트워크 관리자는, 미리 지정한 시간 동안, 루프 포트를 통한 패킷의 송수신을 블록(block) 시키거나 루프 포트를 셧 다운(shut down) 시켜 이더넷 네트워크로부터 격리시키고, 상기 지정한 시간이 경과 하면 루프 포트를 원상태로 복원시킨다. 이렇듯 종래 검출방식은 루프 검출시 이더넷 네트워크 관리자가 지정한 시간 동안 루프 포트를 격리시키는 방식이므로, 루프가 해제되지 않았는데도 루프 포트가 복원되어 다시 이더넷 네트워크에 악영향을 주거나, 루프가 해제된 이후에도 포트가 계속 격리되어 있으므로 네트워크 관리자는 수동으로 루프 포트를 원상태로 복원시켜줘야 한다는 불편함을 가진다. When a loop is detected through such a detection method, the Ethernet network manager blocks transmission and reception of packets through the loop port or shut down the loop port for isolation from the Ethernet network for a predetermined time, When the specified time elapses, the loop port is restored to its original state. In the conventional detection method, the loop port is isolated during the time specified by the Ethernet network administrator in the loop detection. Therefore, even if the loop port is not released, the loop port is restored and the Ethernet network is again adversely affected. So that the network manager has to manually restore the loop port to its original state.

본 발명과 관련된 선행문헌으로는 대한민국 공개특허 제10-2012-0028053호(공개일자 2012년 02월 22일)가 있다.Prior art relating to the present invention is Korean Patent Laid-Open No. 10-2012-0028053 (published on February 22, 2012).

네트워크에서 데이터 루핑 현상을 검출하고 데이터 루핑 현상이 발생한 네트워크 노드의 루프 포트를 격리하고 데이터 루핑 현상이 지속 되고 있는지를 모니터(monitor)하여 데이터 루핑 현상이 해제된 경우 상기 격리된 포트를 원상태로 복원하는 것을 자동으로 수행하는, 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법이 제안된다.
Detects the data looping phenomenon in the network, isolates the loop port of the network node where the data looping phenomenon occurs, monitors whether the data looping phenomenon is continued, and restores the isolated port when the data looping phenomenon is released A method of automatically isolating and isolating a loop port of a network node in which a data looping phenomenon is detected is proposed.

본 발명의 해결하고자 하는 과제는 이상에서 언급한 과제로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The problems to be solved by the present invention are not limited to the above-mentioned problems, and other problems that are not mentioned can be clearly understood by those skilled in the art from the following description.

본 발명의 일 양상에 따른 네트워크에 연결되고 다수의 포트를 구비한 네트워크 노드가, 상기 다수의 포트 중 데이터 루핑(data looping) 현상이 검출된 루프 포트를 자동으로 격리 및 격리해제하는 방법은, 상기 루프 포트에 수신되는 모든 패킷들을 차단하여 상기 네트워크로부터 상기 루프 포트를 격리시키는 단계; 상기 루프 포트의 격리상태가 상기 격리 해제 상태에 해당되는가를 모니터(monitor) 하는 단계; 및 상기 루프 포트의 격리상태가 상기 격리 해제 상태에서 해당되는 경우 상기 루프 포트를 통한 패킷들의 수신차단상태를 해제하여 상기 루프 포트의 격리를 해제하는 단계를 포함한다.A method for a network node connected to a network and having a plurality of ports according to an aspect of the present invention automatically isolates and isolates a loop port in which data looping phenomenon is detected among the plurality of ports, Isolating the loop port from the network by blocking all packets received at the loop port; Monitoring whether the isolation state of the loop port corresponds to the isolation release state; And releasing the isolation of the loop port by releasing the reception blocking state of the packets through the loop port when the isolation state of the loop port corresponds to the isolation release state.

상기 네트워크 노드는 상기 네트워크에 루프 검출 패킷을 전송한 후 상기 루프 포트에 상기 루프 검출 패킷의 수신 카운터가 증가하거나, 상기 루프 검출 패킷이 검출되는 루프 포트의 MAC이 변경되는 포트 MAC 주소 이동(move)이 발생한 경우에 상기 데이터 루핑 현상이 발생한 것으로 판단할 수 있다.The network node transmits a loop detection packet to the network and then increases the receiving counter of the loop detection packet to the loop port or moves the port MAC address to which the MAC of the loop port in which the loop detection packet is detected is changed, It can be determined that the data looping phenomenon has occurred.

상기 격리 해제 상태는 상기 루프 포트에서 루프 검출 패킷의 수신 카운트가 증가하지 않은 경우, 단위시간당 루프 포트에 수신된 총 패킷 카운트가 지정된 값 이하인 경우 및 상기 포트 MAC 주소 이동이 발생하지 않은 경우 중 적어도 하나의 상태에서 루프 해제 타이머 값이 루프 해제 조건 값에 이른 경우일 수 있다.Wherein the isolation release state is a state in which the reception count of the loop detection packet in the loop port is not increased, the total packet count received in the loop port per unit time is less than a specified value, and the port MAC address movement has not occurred The loop release timer value may reach the loop release condition value.

상기 루프 검출 패킷의 목적지 MAC 주소는 브로드캐스트 MAC 주소이고, 상기 루프 검출 패킷의 출발지 MAC 주소는 상기 네트워크 노드의 MAC 주소일 수 있다.The destination MAC address of the loop detection packet may be a broadcast MAC address, and the source MAC address of the loop detection packet may be a MAC address of the network node.

본 발명의 실시예에 따른 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법에 따르면, 네트워크에서 데이터 루핑 현상을 검출하고 데이터 루핑 현상이 발생한 네트워크 노드의 루프 포트를 격리하고 데이터 루핑 현상이 지속 되고 있는지를 모니터(monitor)하여 데이터 루핑 현상이 해제된 경우 상기 격리된 포트를 원상태로 복원하는 것을 자동으로 수행함으로써, 데이터 루핑 현상이 해제되지 않았는데도 루프 포트가 복원되어 다시 네트워크에 악영향을 주는 것을 방지할 수 있으며, 데이터 루핑 현상이 해제된 이후에도 루프 포트가 계속 격리되어 있어서 네트워크 관리자가 수동으로 루프 포트를 원상태로 복원시켜줘야 하는 불편함을 해결할 수 있다.According to the method of automatically isolating and releasing the loop port of a network node in which data looping phenomenon is detected according to an embodiment of the present invention, it is possible to detect a data looping phenomenon in a network and isolate a loop port of a network node, And monitors whether the data looping phenomenon is continued to automatically restore the isolated port when the data looping phenomenon is canceled. Thus, the loop port is restored even though the data looping phenomenon is not released, It is possible to solve the inconvenience that the loop port is continuously isolated even after the data looping phenomenon is released and the network manager must manually restore the loop port to its original state.

도 1은 본 발명의 실시예가 적용되는 이더넷 네트워크를 예시한 도면이다.
도 2는 본 발명의 제 1 실시예에 따른 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법에 대한 플로차트이다.
도 3은 본 발명의 제 2 실시예에 따른 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법에 대한 플로차트이다.
도 4는 본 발명의 제 3 실시예에 따른 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법에 대한 플로차트이다.
1 is a diagram illustrating an Ethernet network to which an embodiment of the present invention is applied.
2 is a flowchart of a method of automatically isolating and quarantining a loop port of a network node in which data looping phenomenon is detected according to the first embodiment of the present invention.
3 is a flowchart of a method of automatically isolating and releasing a loop port of a network node in which a data looping phenomenon is detected according to a second embodiment of the present invention.
4 is a flowchart of a method of automatically isolating and releasing a loop port of a network node in which data looping phenomenon is detected according to the third embodiment of the present invention.

이하에서는 첨부한 도면을 참조하여 본 발명의 실시예를 상세히 설명한다. 본 발명의 실시예를 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 또한, 후술 되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In addition, the terms described below are defined in consideration of the functions of the present invention, which may vary depending on the intention of the user, the operator, or the like. Therefore, the definition should be based on the contents throughout this specification.

이하에서 본 발명의 실시예에 따른 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법은 도 1에 도시된 이더넷 네트워크를 구성하는 이더넷 스위치들(1, 2, 3, 4, 5) 각각에서 수행될 수 있다. 도 1에는 이더넷 스위치들로만 이더넷 네트워크가 구성되는 것으로 예시되어 있으나, 이더넷 네트워크는 이더넷 스위치뿐만 아니라 라우터(router)와 리피터(repeater) 등의 이더넷 네트워크 노드들로도 구성될 수 있다. 따라서 다수의 포트를 구비하고 상기 다수의 포트를 통해서 이더넷 네트워크로 패킷을 송신하거나 이더넷 네트워크로부터 패킷을 수신할 수 있는 이더넷 네트워크 노드라면, 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법이 적용될 수 있다. A method for automatically isolating and releasing a loop port of a network node in which a data looping phenomenon is detected according to an embodiment of the present invention will now be described in detail with reference to FIGs. 1, 2, 3, 4, and 5, respectively. In FIG. 1, an Ethernet network is illustrated as an Ethernet switch. However, the Ethernet network may be configured not only as an Ethernet switch but also as Ethernet network nodes such as a router and a repeater. Therefore, if the Ethernet network node has a plurality of ports and is capable of transmitting packets to the Ethernet network through the plurality of ports or receiving packets from the Ethernet network, the loop port of the detected network node may be automatically isolated and / A method of releasing isolation may be applied.

본 발명에 따른 데이터 루핑 현상이 검출된 네트워크 노드의 루프 포트를 자동으로 격리 및 격리해제하는 방법은, 상기 루프 포트에 수신되는 모든 패킷들을 차단하여 상기 네트워크로부터 상기 루프 포트를 격리시키고, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에 해당되는가를 모니터(monitor) 하고, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에서 해당되는 경우 상기 루프 포트를 통한 패킷들의 수신차단상태를 해제하여 상기 루프 포트의 격리를 해제하는 순으로 이루어질 수 있다.A method for automatically isolating and quarantining a loop port of a network node that detects a data looping phenomenon according to the present invention includes isolating the loop port from the network by blocking all packets received at the loop port, Monitors whether the isolation state of the loop port corresponds to the isolation release state and releases the reception blocking state of the packets through the loop port when the isolation state of the loop port corresponds to the isolation release state, And releasing the isolation.

이때, 상기 네트워크 노드는 상기 네트워크에 루프 검출 패킷을 전송한 후 상기 루프 포트에 상기 루프 검출 패킷의 수신 카운터가 증가하거나, 상기 루프 검출 패킷이 검출되는 루프 포트의 MAC이 변경되는 포트 MAC 주소 이동(move)이 발생한 경우에, 상기 데이터 루핑 현상이 발생한 것으로 판단할 수 있다. At this time, the network node transmits a loop detection packet to the network, and then increases the reception counter of the loop detection packet to the loop port or moves the port MAC address to change the MAC of the loop port in which the loop detection packet is detected it is determined that the data looping phenomenon has occurred.

그리고, 상기 격리 해제 상태는 상기 루프 포트에서 루프 검출 패킷의 수신 카운트가 증가하지 않은 경우, 단위시간당 루프 포트에 수신된 총 패킷 카운트가 지정된 값 이하인 경우 및 상기 포트 MAC 주소 이동이 발생하지 않은 경우 중 적어도 하나의 상태에서 루프 해제 타이머 값이 루프 해제 조건 값에 이른 경우일 수 있다. If the total packet count received in the loop port per unit time is less than a specified value and the port MAC address movement does not occur in the loop port, And the loop release timer value reaches the loop release condition value in at least one state.

그리고, 상기 루프 검출 패킷의 목적지 MAC 주소는 브로드캐스트 MAC 주소이고, 상기 루프 검출 패킷의 출발지 MAC 주소는 상기 네트워크 노드의 MAC 주소일 수 있다.
The destination MAC address of the loop detection packet may be a broadcast MAC address, and the source MAC address of the loop detection packet may be a MAC address of the network node.

이하에서는 도 2 내지 도 4를 참조하여 상기 본 발명에 따른 데이터 루핑 현상이 검출된 루프 포트를 격리 및 격리해제하는 방법에 대한 실시예들을 살펴보기로 한다. 즉 네트워크 노드에서 데이터 루핑 현상이 발생한 상태에서 데이터 루핑 현상이 검출된 루프 포트를 자동으로 격리 및 격리해제하는 방법에 대해서 살펴보기로 한다.
Hereinafter, embodiments of a method for isolating and isolating a loop port in which a data looping phenomenon is detected according to the present invention will be described with reference to FIG. 2 to FIG. In other words, we will discuss how to automatically isolate and quarantine the loop port where the data looping phenomenon is detected in the state where the data looping phenomenon occurs in the network node.

도 2는 본 발명의 제1실시예에 따른 데이터 루핑 현상이 검출된 루프 포트를 격리 및 격리해제하는 방법에 대한 플로차트를 나타낸 도면이다.2 is a flowchart illustrating a method of isolating and isolating a loop port in which data looping phenomenon is detected according to the first embodiment of the present invention.

도 2를 참조하면, 네트워크 노드는, 네트워크로부터 데이터 루핑 현상이 검출된 루프 포트에 수신되는 모든 패킷들을 차단하여, 네트워크로부터 상기 루프 포트를 격리시킨다(S1). 이후 네트워크 노드는 상기 루프 포트에서 검출된 데이터 루핑 현상이 해제되었는가를 판단하기 위한 루프 해제 타이머를 설정된 값으로 초기화한다(S2). 이때, 상기 설정된 값은 "0"보다 큰 값을 가지며 네트워크 관리자에 의해서 설정될 수 있다.Referring to FIG. 2, the network node blocks all packets received from the loop port detected as a data looping phenomenon from the network, thereby isolating the loop port from the network (S1). Thereafter, the network node initializes a loop release timer for determining whether the data looping phenomenon detected in the loop port is released (S2). At this time, the set value has a value larger than "0" and can be set by the network administrator.

이후 네트워크 노드는 루프 포트에 루프 검출 패킷의 수신카운트가 증가하였는가를 검사한다(S3). 이때 상기 루프 검출 패킷의 수신 카운트는 상기 루프 포트에 데이터 루핑 현상이 검출될 때 네트워크 노드에 의해서 활성화되는 루프 검출 패킷 수신 카운터에 의해서 루프 포트에 루프 검출 패킷이 수신될 때마다 증가 될 수 있다. Thereafter, the network node checks whether the reception count of the loop detection packet is increased at the loop port (S3). The reception count of the loop detection packet may be increased each time a loop detection packet is received by the loop detection packet reception counter activated by the network node when data looping phenomenon is detected in the loop port.

네트워크 노드는 상기 루프 검출 패킷의 수신 카운트가 증가하지 않았으면, 루프 해제 타이머 값을 일정 값만큼 감소시킨다(S4). 이때, 상기 일정 값은 예를 들어 "1"일 수 있으나, 이에 한정되지는 않는다. If the reception count of the loop detection packet has not increased, the network node decreases the loop release timer value by a predetermined value (S4). At this time, the predetermined value may be, for example, "1", but is not limited thereto.

네트워크 노드는 상기 루프 해제 타이머 값을 감소시킨 후 루프 해제 타이머 값이 루프 해제 조건 값인가를 검사한다(S5). 이때, 루프 해제 조건 값은 "0"일 수 있으며 네트워크 관리자에 의해서 설정될 수 있으며, 상기 "0"에 한정되는 것이 아니라 네트워크 관리자가 상황에 따라 다른 값을 사용할 수 있다.The network node decrements the loop release timer value and then checks whether the loop release timer value is a loop release condition value (S5). At this time, the value of the loop release condition may be "0" and may be set by the network administrator. The network manager may use a different value depending on the situation.

네트워크 노드는 상기 루프 해제 타이머 값이 루프 해제 조건 값과 같으면 상기 루프 포트에서 데이터 루핑 현상이 사라진 것으로 판단하여 상기 루프 포트의 격리를 해제한다(S6).
If the loop release timer value is equal to the loop release condition value, the network node determines that the data looping phenomenon has disappeared in the loop port and releases the isolation of the loop port (S6).

살펴본 같이 본 발명에 따른 데이터 루핑 현상이 검출된 루프 포트를 자동으로 격리 및 격리해제하는 방법 중, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에 해당되는가를 모니터(monitor)하는 것은 도 2의 단계 S2 내지 S5를 통해서 구현될 수 있으며, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에서 해당되는 경우 상기 루프 포트를 통한 패킷들의 수신차단상태를 해제하여 상기 루프 포트의 격리를 해제하는 것은 도 2의 단계 S6을 통해서 구현될 수 있다.
As described above, a method of automatically isolating and isolating a loop port in which a data looping phenomenon is detected according to the present invention monitors whether the isolation state of the loop port corresponds to the isolation release state, S2 to S5 and releasing the isolation state of the loop port by releasing the reception blocking state of packets through the loop port when the isolation state of the loop port corresponds to the isolation release state, May be implemented through step S6.

도 3은 본 발명의 제2실시예에 따른 데이터 루핑 현상이 검출된 루프 포트를 격리 및 격리해제하는 방법에 대한 플로차트를 나타낸 도면이다.FIG. 3 is a flowchart illustrating a method of isolating and isolating a loop port in which data looping phenomenon is detected according to a second embodiment of the present invention.

도 3을 참조하면, 네트워크 노드는, 네트워크로부터 데이터 루핑 현상이 검출된 루프 포트에 수신되는 모든 패킷들을 차단하여, 네트워크로부터 상기 루프 포트를 격리시킨다(S11). 이후 네트워크 노드는 상기 루프 포트에서 검출된 데이터 루핑 현상이 해제되었는가를 판단하기 위한 루프 해제 타이머를 설정된 값으로 초기화한다(S12). 이때, 상기 설정된 값은 "0"보다 큰 값을 가지며 네트워크 관리자에 의해서 설정될 수 있다.Referring to FIG. 3, the network node blocks all packets received from the loop port detected as a data looping phenomenon from the network, thereby isolating the loop port from the network (S11). Thereafter, the network node initializes a loop release timer for determining whether the data looping phenomenon detected in the loop port is released (S12). At this time, the set value has a value larger than "0" and can be set by the network administrator.

이후 네트워크 노드는 루프 포트에 단위 시간당 루프 포트에 수신된 총 패킷 카운트가 지정된 값 이상 증가하였는가를 검사한다(S13). 이때 상기 루프 포트에 수신되는 총 패킷 카운트(count)는 브로드캐스트 패킷, 멀티캐스트 패킷 혹은 유니캐스트 패킷이 상기 루프 포트에 수신될 때마다 증가 될 수 있다. 그리고 단계 S13를 수행하는 이유는 한정된 대역폭(bandwidth)을 가진 네트워크 선로 특성으로 인해 데이터 루핑 현상이 발생한 상태임에도 불구하고 루프 포트에 루프 검출 패킷이 전혀 수신되지 않을 수도 있기 때문이다. Then, the network node checks whether the total packet count received in the loop port per unit time in the loop port has increased by more than a specified value (S13). At this time, the total packet count (count) received at the loop port may be increased each time a broadcast packet, a multicast packet, or a unicast packet is received at the loop port. The reason why the step S13 is performed is that the loop detection packet may not be received at all in the loop port even though the data looping phenomenon occurs due to the characteristic of the network line having a limited bandwidth.

네트워크 노드는 단위시간당 루프 포트에 수신된 총 패킷 카운트가 지정된 값 이상이 아니면, 루프 해제 타이머 값을 일정 값만큼 감소시킨다(S14). 이때, 상기 일정 값은 예를 들어 "1"일 수 있으나, 이에 한정되지는 않는다. If the total packet count received in the loop port per unit time is not equal to or greater than the specified value, the network node decreases the loop release timer value by a predetermined value (S14). At this time, the predetermined value may be, for example, "1", but is not limited thereto.

네트워크 노드는 상기 루프 해제 타이머 값을 감소시킨 후 루프 해제 타이머 값이 루프 해제 조건 값인가를 검사한다(S15). 이때, 루프 해제 조건 값은 "0"일 수 있으며 네트워크 관리자에 의해서 설정될 수 있으며, 상기 "0"에 한정되는 것이 아니라 네트워크 관리자가 상황에 따라 다른 값을 사용할 수 있다.After decrementing the loop release timer value, the network node checks whether the loop release timer value is a loop release condition value (S15). At this time, the value of the loop release condition may be "0" and may be set by the network administrator. The network manager may use a different value depending on the situation.

네트워크 노드는 상기 루프 해제 타이머 값이 루프 해제 조건 값과 같으면 상기 루프 포트에서 데이터 루핑 현상이 사라진 것으로 판단하여 상기 루프 포트의 격리를 해제한다(S16).
If the loop release timer value is equal to the loop release condition value, the network node determines that the data looping phenomenon has disappeared in the loop port and releases the isolation of the loop port (S16).

살펴본 같이 본 발명에 따른 데이터 루핑 현상이 검출된 루프 포트를 자동으로 격리 및 격리해제하는 방법 중, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에 해당되는가를 모니터(monitor)하는 것은 도 3의 단계 S12 내지 S15를 통해서 구현될 수 있으며, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에서 해당되는 경우 상기 루프 포트를 통한 패킷들의 수신차단상태를 해제하여 상기 루프 포트의 격리를 해제하는 것은 도 3의 단계 S16을 통해서 구현될 수 있다.
As described above, a method of automatically isolating and isolating a loop port that detects a data looping phenomenon according to the present invention monitors whether the isolation state of the loop port corresponds to the isolation release state, S12 to S15. In the case where the isolation state of the loop port corresponds to the isolation release state, releasing the reception blocking state of the packets through the loop port and releasing the isolation of the loop port is performed as shown in FIG. 3 May be implemented through step S16.

도 4는 본 발명의 제3실시예에 따른 데이터 루핑 현상이 검출된 루프 포트를 격리 및 격리해제하는 방법에 대한 플로차트를 나타낸 도면이다.4 is a flowchart illustrating a method of isolating and releasing a loop port in which data looping phenomenon is detected according to a third embodiment of the present invention.

도 4를 참조하면, 네트워크 노드는, 네트워크로부터 데이터 루핑 현상이 검출된 루프 포트에 수신되는 모든 패킷들을 차단하여, 네트워크로부터 상기 루프 포트를 격리시킨다(S21). 이후 네트워크 노드는 상기 루프 포트에서 검출된 데이터 루핑 현상이 해제되었는가를 판단하기 위한 루프 해제 타이머를 설정된 값으로 초기화한다(S22). 이때, 상기 설정된 값은 "0"보다 큰 값을 가지며 네트워크 관리자에 의해서 설정될 수 있다.Referring to FIG. 4, in step S21, the network node blocks all packets received from the loop port where the data looping phenomenon is detected from the network to isolate the loop port from the network. Thereafter, the network node initializes a loop release timer for determining whether the data looping phenomenon detected in the loop port is released (S22). At this time, the set value has a value larger than "0" and can be set by the network administrator.

이후 네트워크 노드는 포트 MAC 주소 이동이 발생하였는가를 검사한다(S23). 이때 포트 MAC 주소 이동은 예를 들어 네트워크 노드의 제1포트에 수신된 패킷의 출발지 MAC 주소가 학습과정을 거쳐 상기 제1포트에 등록되어 있는 상태에서 다시 상기 제1포트에 등록된 출발지 MAC 주소를 가진 패킷이 제2포트에 수신된 후 학습과정을 통해 상기 제2포트에 등록되고 이후 다시 상기 제2포트에 등록된 패킷의 MAC 주소가 상기 제1포트에 등록되고 또 다시 제1포트에 등록된 패킷의 MAC 주소가 다시 제2포트에 등록되는 현상이 반복되는 것을 나타낸다.Thereafter, the network node checks whether the port MAC address has been moved (S23). At this time, the port MAC address is moved, for example, when the source MAC address of the packet received at the first port of the network node is registered in the first port through the learning process, A MAC address of a packet registered in the second port and then registered in the second port is registered in the first port and then registered in the first port The MAC address of the packet is registered again in the second port.

네트워크 노드는 포트 MAC 주소이동이 발생하지 않았으면, 루프 해제 타이머 값을 일정 값만큼 감소시킨다(S24). 이때, 상기 일정 값은 예를 들어 "1"일 수 있으나, 이에 한정되지는 않는다. If the port MAC address has not been moved, the network node decreases the loop release timer value by a predetermined value (S24). At this time, the predetermined value may be, for example, "1", but is not limited thereto.

네트워크 노드는 상기 루프 해제 타이머 값을 감소시킨 후 루프 해제 타이머 값이 루프 해제 조건 값인가를 검사한다(S25). 이때, 루프 해제 조건 값은 "0"일 수 있으며 네트워크 관리자에 의해서 설정될 수 있으며, 상기 "0"에 한정되는 것이 아니라 네트워크 관리자가 상황에 따라 다른 값을 사용할 수 있다.After decrementing the loop release timer value, the network node checks whether the loop release timer value is a loop release condition value (S25). At this time, the value of the loop release condition may be "0" and may be set by the network administrator. The network manager may use a different value depending on the situation.

네트워크 노드는 상기 루프 해제 타이머 값이 루프 해제 조건 값과 같으면 상기 루프 포트에서 데이터 루핑 현상이 사라진 것으로 판단하여 상기 루프 포트의 격리를 해제한다(S26).
If the loop release timer value is equal to the loop release condition value, the network node determines that the data looping phenomenon has disappeared in the loop port and releases the isolation of the loop port (S26).

살펴본 같이 본 발명에 따른 데이터 루핑 현상이 검출된 루프 포트를 자동으로 격리 및 격리해제하는 방법 중, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에 해당되는가를 모니터(monitor)하는 것은 도 4의 단계 S22 내지 S25를 통해서 구현될 수 있으며, 상기 루프 포트의 격리상태가 상기 격리 해제 상태에서 해당되는 경우 상기 루프 포트를 통한 패킷들의 수신차단상태를 해제하여 상기 루프 포트의 격리를 해제하는 것은 도 4의 단계 S26을 통해서 구현될 수 있다.
As described above, a method of automatically isolating and isolating a loop port in which a data looping phenomenon is detected according to the present invention monitors whether the isolation state of the loop port corresponds to the isolation release state, S22 to S25. In a case where the isolation state of the loop port corresponds to the isolation release state, the isolation state of the loop port is released by releasing the reception blocking state of the packets through the loop port, May be implemented through step S26.

상기한 본 발명에 따른 데이터 루핑 현상이 검출된 루프 포트를 자동으로 격리 및 격리해제하는 방법에 대한 실시예들을 도 2 내지 도 4를 참조하여 설명이 이루어졌다.Embodiments of a method for automatically isolating and releasing a loop port in which a data looping phenomenon has been detected according to the present invention have been described with reference to FIGS. 2 to 4. FIG.

상기한 실시예들에서는 도 2의 경우 루프 검출 패킷의 수신 카운트의 증가가 일어나지 않았는가를 판단하고, 도 3의 경우 단위 시간당 루프 포트에 수신된 총 패킷 카운트가 지정된 값 이하인가를 판단하고, 도 4의 경우 포트 MAC 주소 이동이 발생하지 않았는가를 판단한 후, 각각 루프 해제 타이머 값을 감소시키고 감소된 루프 해제 타이머 값이 루프 해제 조건 값이면 상기 루프 포트에서 데이터 루핑 현상이 사라진 것으로 판단하여 상기 루프 포트의 격리를 해제하였다. In the above embodiments, it is determined whether an increase in the reception count of the loop detection packet occurs in the case of FIG. 2. In the case of FIG. 3, it is determined whether or not the total packet count received in the loop port per unit time is equal to or less than a specified value. It is determined that the port loopback phenomenon has disappeared in the loop port if the loop release timer value is the loop release condition value, Isolation was released.

그러나 이에 한정되지 않고, 상기 루프 검출 패킷의 수신 카운트의 증가가 일어나지 않는 경우, 상기 단위 시간당 루프 포트에 수신된 총 패킷 카운트가 지정된 값 이하인 경우 및 상기 포트 MAC 주소 이동이 발생하지 않는 경우 중 적어도 둘에 해당되는 경우에, 루프 해제 타이머 값을 감소시키고 감소된 루프 해제 타이머 값이 루프 해제 조건 값이면 상기 루프 포트에서 데이터 루핑 현상이 사라진 것으로 판단하여 상기 루프 포트의 격리를 해제할 수도 있다. 따라서 도 2 내지 도 4와 달리, 데이터 루핑 현상의 해소 여부에 대한 판단이 상기 도 2 내지 도 4에 실시된 데이터 루핑 현상의 해소 여부에 판단을 2개 이상 조합하여 이루어짐으로써, 도 2 내지 도 4 각각의 경우보다 더 정확하게 이루어진다는 장점이 있다.
However, the present invention is not limited to this, and when the increase of the reception count of the loop detection packet does not occur, when the total packet count received at the loop port per unit time is less than a specified value, It is determined that the data looping phenomenon has disappeared in the loop port if the loop release timer value is a loop release condition value and the isolation of the loop port is released. Therefore, unlike FIGS. 2 to 4, it is determined whether or not the data looping phenomenon is solved by combining two or more judgments as to whether or not the data looping phenomenon described in FIGS. 2 to 4 is solved. Which is more accurate than in each case.

이제까지 본 발명에 대하여 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 따라서 본 발명의 범위는 전술한 실시예에 한정되지 않고 특허청구범위에 기재된 내용 및 그와 동등한 범위 내에 있는 다양한 실시 형태가 포함되도록 해석되어야 할 것이다. The present invention has been described above with reference to the embodiments. It will be understood by those skilled 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. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. Therefore, the scope of the present invention is not limited to the above-described embodiments, but should be construed to include various embodiments within the scope of the claims and equivalents thereof.

Claims (4)

네트워크에 연결되고 다수의 포트를 구비한 네트워크 노드가, 상기 다수의 포트 중 데이터 루핑(data looping) 현상이 검출된 루프 포트를 자동으로 격리 및 격리해제하는 방법에 있어서,
상기 루프 포트에 수신되는 모든 패킷들을 차단하여 상기 네트워크로부터 상기 루프 포트를 격리시키는 단계;
상기 루프 포트의 격리상태가 상기 격리 해제 상태에 해당되는가를 모니터(monitor) 하는 단계; 및
상기 루프 포트의 격리상태가 상기 격리 해제 상태에서 해당되는 경우 상기 루프 포트를 통한 패킷들의 수신차단상태를 해제하여 상기 루프 포트의 격리를 해제하는 단계를 포함하며,
상기 네트워크 노드는 상기 네트워크에 루프 검출 패킷을 전송한 후 상기 루프 포트에 상기 루프 검출 패킷의 수신 카운터가 증가하거나, 상기 루프 검출 패킷이 검출되는 루프 포트의 MAC이 변경되는 포트 MAC 주소 이동(move)이 발생한 경우에 상기 데이터 루핑 현상이 발생한 것으로 판단하며,
상기 격리 해제 상태는 상기 루프 포트에서 루프 검출 패킷의 수신 카운트가 증가하지 않은 경우, 단위 시간당 루프 포트에 수신된 총 패킷 카운트가 지정된 값 이하인 경우 및 상기 포트 MAC 주소 이동이 발생하지 않은 경우 중 적어도 하나의 상태에서 루프 해제 타이머 값이 루프 해제 조건 값에 이른 경우인 것을 특징으로 하는 상기 격리 및 격리해제하는 방법.
A method for automatically isolating and quarantining a loop port of a network node connected to a network and having a plurality of ports, wherein a data looping phenomenon is detected among the plurality of ports,
Isolating the loop port from the network by blocking all packets received at the loop port;
Monitoring whether the isolation state of the loop port corresponds to the isolation release state; And
And releasing the isolation of the loop port by releasing the reception blocking state of the packets through the loop port when the isolation state of the loop port corresponds to the isolation release state,
The network node transmits a loop detection packet to the network and then increases the receiving counter of the loop detection packet to the loop port or moves the port MAC address to which the MAC of the loop port in which the loop detection packet is detected is changed, It is determined that the data looping phenomenon has occurred,
Wherein the isolation release state is a state in which the reception count of the loop detection packet in the loop port is not increased, the total packet count received in the loop port per unit time is less than a specified value, and the port MAC address movement has not occurred When the loop release timer value reaches the loop release condition value.
삭제delete 삭제delete 청구항 1에 있어서,
상기 루프 검출 패킷의 목적지 MAC 주소는 브로드캐스트 MAC 주소이고, 상기 루프 검출 패킷의 출발지 MAC 주소는 상기 네트워크 노드의 MAC 주소인 것을 특징으로 하는 상기 격리 및 격리해제하는 방법.
The method according to claim 1,
Wherein the destination MAC address of the loop detection packet is a broadcast MAC address, and the source MAC address of the loop detection packet is a MAC address of the network node.
KR1020120083694A 2012-07-31 2012-07-31 Method of isolation and release the isolation of loop port of network node detected data looping status KR101396779B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120083694A KR101396779B1 (en) 2012-07-31 2012-07-31 Method of isolation and release the isolation of loop port of network node detected data looping status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120083694A KR101396779B1 (en) 2012-07-31 2012-07-31 Method of isolation and release the isolation of loop port of network node detected data looping status

Publications (2)

Publication Number Publication Date
KR20140017179A KR20140017179A (en) 2014-02-11
KR101396779B1 true KR101396779B1 (en) 2014-06-02

Family

ID=50265870

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120083694A KR101396779B1 (en) 2012-07-31 2012-07-31 Method of isolation and release the isolation of loop port of network node detected data looping status

Country Status (1)

Country Link
KR (1) KR101396779B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708305B (en) * 2019-09-27 2022-04-15 国家计算机网络与信息安全管理中心 Network isolation equipment and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060042786A (en) * 2004-11-10 2006-05-15 한국전자통신연구원 Apparatus and method for detecting data looping status
KR20060051776A (en) * 2004-09-29 2006-05-19 아바야 테크놀러지 엘엘씨 Detection of looping communication channels

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060051776A (en) * 2004-09-29 2006-05-19 아바야 테크놀러지 엘엘씨 Detection of looping communication channels
KR20060042786A (en) * 2004-11-10 2006-05-15 한국전자통신연구원 Apparatus and method for detecting data looping status

Also Published As

Publication number Publication date
KR20140017179A (en) 2014-02-11

Similar Documents

Publication Publication Date Title
US8213296B2 (en) Link aggregation protection
US9197493B2 (en) Protection systems and methods for handling multiple faults and isolated nodes in interconnected ring networks
US8792337B2 (en) Method and apparatus for providing an uplink over an access ring
US7660236B2 (en) System and method of multi-nodal APS control protocol signaling
EP2207307B1 (en) Method for processing the failure of the slave port of the master node in an ethernet ring network system
US9832039B2 (en) Network monitoring method, relay device, and network monitoring system
US10708081B2 (en) Failure protection method based on ring protection link, device, and system
US8711686B2 (en) Packet transmission system and fault recovery method
US10721094B2 (en) Ethernet ring protection switching method and node
CN101141366A (en) Method of preventing data loop in ring ethernet
KR101751195B1 (en) Relay device and communication network
EP2804348B1 (en) Network system
JP4293964B2 (en) Loop connection detection method and apparatus
KR101396779B1 (en) Method of isolation and release the isolation of loop port of network node detected data looping status
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
JP6388434B2 (en) Network device, communication method, program, recording medium
US11252107B2 (en) Method for operating an ethernet communication device, and ethernet communication device
JP2013046164A (en) Network system and network failure avoiding method
EP2770666B1 (en) System and method for transmitting multicast service
KR101538348B1 (en) Method and system for setting detection frame timeout duration of ethernet node
US9270476B2 (en) Methods and apparatus for network protection
JP4438367B2 (en) Network, relay transmission apparatus, and optical signal control method used therefor
CN106059824B (en) fault processing method and device
WO2017148093A1 (en) Node device and ring network switching method
JP2009302875A (en) Receiving side network device, relay device, transmitting side network device, and communication system

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
FPAY Annual fee payment

Payment date: 20170510

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180510

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190510

Year of fee payment: 6