KR20180039716A - Network systems and network nodes - Google Patents

Network systems and network nodes Download PDF

Info

Publication number
KR20180039716A
KR20180039716A KR1020187007199A KR20187007199A KR20180039716A KR 20180039716 A KR20180039716 A KR 20180039716A KR 1020187007199 A KR1020187007199 A KR 1020187007199A KR 20187007199 A KR20187007199 A KR 20187007199A KR 20180039716 A KR20180039716 A KR 20180039716A
Authority
KR
South Korea
Prior art keywords
mac address
frame
node
network
port
Prior art date
Application number
KR1020187007199A
Other languages
Korean (ko)
Other versions
KR102037013B1 (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 가부시키가이샤 히타치세이사쿠쇼
Publication of KR20180039716A publication Critical patent/KR20180039716A/en
Application granted granted Critical
Publication of KR102037013B1 publication Critical patent/KR102037013B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Landscapes

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

Abstract

본 발명의 과제는, 링 네트워크의 구성 제어가 발생할 때, 네트워크를 구성하는 각 노드가 학습한 MAC 어드레스 정보를 빠르게 소거하는 것이다. 상기 과제를 해결하기 위해, 본 발명은 복수의 노드에 의해 구성되는 링형의 네트워크 시스템이며, 상기 복수의 노드는 각각, 통신 프레임을 송수신하는 복수의 포트와, 수신한 상기 통신 프레임의 송신원 MAC 어드레스와, 수신한 상기 포트와의 대응 관계가 기억되는 MAC 어드레스 학습부와, 상기 MAC 어드레스 학습부에 기억된 대응 관계에 따라, 송신에 사용할 상기 포트를 선택하는 통신 제어부를 구비하고, 상기 복수의 노드에는, 상기 링형의 네트워크의 일부에 장해가 발생하면, MAC 어드레스 클리어 요구 프레임의 전송 우선도를 통상의 상기 통신 프레임보다 높게 설정하여 다른 노드로 송신하는 것을 특징으로 한다.SUMMARY OF THE INVENTION An object of the present invention is to quickly erase MAC address information learned by each node constituting a network when configuration control of a ring network occurs. According to an aspect of the present invention, there is provided a ring network system configured by a plurality of nodes, each of the plurality of nodes comprising: a plurality of ports for transmitting and receiving communication frames; And a communication control unit for selecting the port to be used for transmission in accordance with a correspondence relationship stored in the MAC address learning unit, , And when a failure occurs in a part of the ring network, the transmission priority of the MAC address clear request frame is set higher than the normal communication frame and transmitted to another node.

Description

네트워크 시스템 및 네트워크 노드Network systems and network nodes

본 발명은 네트워크 시스템 및 네트워크 노드에 관한 것이다.The present invention relates to a network system and a network node.

스위칭 허브와 같은, 수신 프레임 내의 MAC 어드레스 정보를 학습하고, 프레임의 송신처를 제어하는 네트워크 장치를 접속하여 구성되는 네트워크의 일 형태로서, IEEE802.3에 규정된 레이어 2의 이더넷(등록 상표)이 있다.There is Ethernet (registered trademark) of Layer 2 specified in IEEE802.3 as one form of a network configured by learning MAC address information in a reception frame such as a switching hub and controlling a transmission destination of a frame .

또한, 이더넷에 의한 네트워크 구성을 용장화하는 프로토콜로서, 비특허문헌 1에는, STP(Spanning Tree Protocol)가 기재되어 있다. STP에서는, BPDU(Bridge Protocol Data Unit)라고 불리는 제어 프레임을 정기적으로 교환하고 있고, 장해 발생 등에 의해, 네트워크의 상태(토폴로지) 변화를 검출하고, 통신 경로를 전환하는 기능을 갖는다. 통신 경로가 전환됨으로써, 경로 전환 전에 학습하고 있던 MAC 어드레스 정보와, 네트워크 토폴로지의 불일치가 발생한다. STP에서는, TC(Topology Change) 비트를 세트한 BPDU를 송신하고, MAC 어드레스 정보를 소거함으로써, 통신을 복구시키는 용장화를 위한 네트워크 구성으로서 링 구성 등이 사용된다.In addition, STP (Spanning Tree Protocol) is described in Non-Patent Document 1 as a protocol for reducing the network configuration by Ethernet. In the STP, a control frame called a bridge protocol data unit (BPDU) is periodically exchanged. The STP has a function of detecting a change in state (topology) of a network due to a fault or the like, and switching a communication path. The communication path is switched, thereby causing inconsistency between the MAC address information that has been learned before the path change and the network topology. In the STP, a ring configuration or the like is used as a network configuration for redundancy in which communication is restored by transmitting a BPDU with a TC (Topology Change) bit set and erasing MAC address information.

또한, 링 구성의 네트워크에 특화된 용장화 프로토콜의 종래 기술로서 특허문헌 1에서는, 「링 감시 장치는 링크 복구 통지 프레임에 탑재되어 있던 링크 복구를 검지한 링 구성 장치에 대하여 링 포트의 상태를 유저 프레임 송수신 가능의 상태로 하는 것을 지시하기 위한 플래시 요구 프레임을 링 구성 장치에 송신한다. 당해 프레임을 수신한 링 구성 장치는 학습한 MAC 어드레스를 클리어하고, 링 포트의 상태를 변경한다.」고 기재되어 있다(요약 참조).Further, as a conventional technique of a network-specific redundancy protocol for a ring configuration, in the patent document 1, " the ring monitoring apparatus refers to a ring configuration apparatus that detects link recovery mounted on a link recovery notification frame, And transmits a flash request frame for instructing the ring device to be in the transmittable / receivable state. The ring constituent device that has received the frame clears the learned MAC address and changes the state of the ring port. &Quot;

일본 특허 공개 제2009-239767호Japanese Patent Application Laid-Open No. 2009-239767

ANSI/IEEE Std 802. 1D, 1998 Edition: 8. The Spanning Tree Algorithm and ProtocolANSI / IEEE Std 802.1D, 1998 Edition: 8. The Spanning Tree Algorithm and Protocol

이더넷에 있어서의, 네트워크 노드에 있어서는, IEEE802.1p QoS에 의해, 수신 프레임에 우선 순위를 붙여 중계하는 기술이 사용되고 있지만, 상기한 방식에 있어서는, 각 노드로 MAC 어드레스의 클리어 요구를 행하는 MAC 어드레스 클리어 요구 프레임이 우선 제어되어 있지 않기 때문에, 링 네트워크를 구성하는 각 노드는, 유저 통신용의 프레임과 MAC 어드레스 클리어 요구 프레임을, 동일한 우선도로 수신ㆍ중계 등의 처리를 행한다. 그 때문에, 유저 통신용의 프레임이 네트워크 상에 전파되어 있으면, 유저 프레임의 중계가 완료될 때까지 MAC 어드레스 클리어 요구 프레임이 링 네트워크 상 노드의 송신 버퍼에 체류하고, MAC 어드레스 클리어 요구 프레임이 네트워크 상의 전체 노드에 도착할 때까지 지연이 발생한다.In the Ethernet, in the network node, a technique of relaying a received frame with priority by IEEE802.1p QoS is used. In the above-described method, a MAC address clear request for making a request to clear a MAC address to each node Since the request frame is not controlled first, each node constituting the ring network performs processing such as receiving and relaying the user communication frame and the MAC address clear request frame with the same priority. Therefore, if the frame for user communication is propagated on the network, the MAC address clear request frame stays in the transmission buffer of the node on the ring network until the relay of the user frame is completed, and the MAC address clear request frame A delay occurs until it reaches the node.

특히, 특정한 유저 프레임을 고우선도로서 중계하고 있는 경우, 전술한 MAC 어드레스 클리어 요구 프레임은 유저 프레임에 의해 버퍼에서 대기되기 때문에, 전달이 지연되어 통신 복구까지 시간이 걸려 버린다고 하는 과제가 있었다.Particularly, when a specific user frame is relayed as a gull map, there is a problem that since the MAC address clear request frame is queued in the buffer by the user frame, delivery is delayed and communication recovery takes time.

본 발명은 상기 과제를 감안하여, 링 네트워크의 구성 제어가 발생할 때, 네트워크를 구성하는 각 노드가 학습한 MAC 어드레스 정보를 빠르게 소거하는 것을 목적으로 한다.SUMMARY OF THE INVENTION In view of the above problems, the present invention aims to quickly erase MAC address information learned by each node constituting a network when configuration control of a ring network occurs.

상기 과제를 해결하기 위해, 대표적인 본 발명의 네트워크 시스템은, 복수의 노드에 의해 구성되는 링형의 네트워크 시스템이며, 상기 복수의 노드는 각각, 통신 프레임을 송수신하는 복수의 포트와, 수신한 상기 통신 프레임의 송신원 MAC 어드레스와, 당해 통신 프레임을 수신한 상기 포트와의 대응 관계가 기억되는 MAC 어드레스 학습부와, 상기 통신 프레임을 송신할 때, 상기 MAC 어드레스 학습부에 기억된 대응 관계에 따라, 송신에 사용할 상기 포트를 선택하는 통신 제어부와, 수신한 상기 통신 프레임에 설정된 전송 우선도에 따라, 다른 노드로의 중계 처리를 행하는 중계 처리부를 구비하고, 상기 복수의 노드에는, 상기 링형의 네트워크의 일부에 장해가 발생하면, 상기 MAC 어드레스 학습부에 기억된 대응 관계를 클리어시키는 MAC 어드레스 클리어 요구 프레임의 상기 전송 우선도를 통상의 상기 통신 프레임보다 높게 설정하여 다른 노드로 송신하는 제1 노드를 포함하는 것을 특징으로 한다.In order to solve the above problems, a representative network system of the present invention is a ring network system constituted by a plurality of nodes, each of the plurality of nodes includes a plurality of ports for transmitting and receiving communication frames, A MAC address learning unit that stores a correspondence relationship between a transmission source MAC address of the MAC address learning unit and the port that has received the communication frame in accordance with the correspondence relationship stored in the MAC address learning unit when the communication frame is transmitted And a relay processing unit for performing relay processing to other nodes in accordance with the transmission priority set in the received communication frame, wherein the plurality of nodes are connected to a part of the ring network When a failure occurs, a MAC address clear which clears the correspondence stored in the MAC address learning unit A degree of the transmission of the first nine frames above the normal frames of the communication will be characterized in that it comprises a first node for transmitting to the other nodes.

본 발명에 따르면, 링 네트워크의 구성 제어가 발생할 때, 네트워크를 구성하는 각 노드가 학습한 MAC 어드레스 정보를 빠르게 소거할 수 있다.According to the present invention, when the configuration control of the ring network occurs, the MAC address information learned by each node constituting the network can be quickly erased.

도 1은, 본 실시예의 구성도이다.
도 2는, 본 실시예에서 사용하는 제어 프레임의 포맷이다.
도 3은, 프라이오리티에 의한 프레임의 배분ㆍ송신 수순을 도시하는 도면이다.
도 4는, 구성 제어 발생 시를 도시하는 도면이다.
도 5는 고우선도 프레임의 움직임을 도시하는 도면이다.
도 6은, 프라이오리티에 의한 프레임의 추월예를 도시하는 도면이다.
도 7은, MAC 어드레스 오중계까지의 흐름(어드레스 학습)을 도시하는 도면이다.
도 8은, MAC 어드레스 오중계까지의 흐름(어드레스 학습에 의한 프레임 중계)을 도시하는 도면이다.
도 9는, MAC 어드레스 오중계까지의 흐름(장해 발생 시)을 도시하는 도면이다.
도 10은, MAC 어드레스 오중계까지의 흐름(클리어 프레임 송신)을 도시하는 도면이다.
도 11은, MAC 어드레스 오중계까지의 흐름(프라이오리티에 의한 추월)을 도시하는 도면이다.
도 12는, MAC 어드레스 오중계까지의 흐름(추월 후의 중계 동작)을 도시하는 도면이다.
도 13은, MAC 어드레스 오중계까지의 흐름(수신처 정보 오학습)을 도시하는 도면이다.
도 14는, MAC 어드레스 오중계까지의 흐름(수신처 정보 오학습에 의한 프레임 폐기)을 도시하는 도면이다.
도 15는, 저우선도 프레임의 움직임(해결 수단)을 도시하는 도면이다.
도 16은, 본 실시예의 노드의 내부 블록도이다.
Fig. 1 is a configuration diagram of this embodiment.
2 shows a format of a control frame used in the present embodiment.
Fig. 3 is a diagram showing distribution and transmission procedures of frames by priority. Fig.
Fig. 4 is a diagram showing a configuration control occurrence time. Fig.
5 is a diagram showing the motion of a high priority frame.
Fig. 6 is a diagram showing an example of a frame overtaking by priority.
7 is a diagram showing a flow up to MAC address misreport (address learning).
8 is a diagram showing a flow up to MAC address misrecognition (frame relay by address learning).
FIG. 9 is a diagram showing a flow up to MAC address misreporting (when an error occurs).
10 is a diagram showing a flow up to MAC address misreport (clear frame transmission).
11 is a diagram showing a flow up to MAC address misreport (overtaking due to priority).
12 is a diagram showing a flow up to the MAC address misreport (relay operation after the overtaking).
13 is a diagram showing a flow up to MAC address misrecognition (destination information mis-learning).
14 is a diagram showing a flow up to MAC address misreporting (frame discard by destination information misexcision).
Fig. 15 is a diagram showing a motion (resolution means) of the low priority frame.
16 is an internal block diagram of the node of this embodiment.

이하, 링형 네트워크에 있어서, 구성 제어 발생에 의한 경로 전환에 의해, 네트워크 구성과, 링형 네트워크를 구성하는 장치가 갖는 MAC 어드레스 학습 정보의 불일치에 의한 통신 단절 상태를 신속하게 복구하기 위한, 본 실시예에 따른 MAC 어드레스 소거 수순을 설명한다.Hereinafter, in the ring network, in order to quickly recover the communication disconnection state due to the mismatch between the network configuration and the MAC address learning information of the apparatus constituting the ring network, Will be described.

도 1은, 본 실시예를 도시하는 구성도이다. 구성 내용으로서는, 링형 네트워크에 통신선(110-1 내지 110-8)으로 접속되어 있는 노드가 8대(100-1 내지 100-8) 있고, 각 노드(100-1 내지 100-8)의 지선에는 도시하지 않은 계산기가 접속되어 있다. 또한, 노드 4(100-4) 내지 노드 5(100-5) 사이가 블로킹 상태로 되어 있다. 블로킹 상태란, 링형 네트워크를 제어하기 위한 제어 프레임 이외의 통신을 차단하는 상태이며, 예를 들어 각 노드의 지선에 접속되는 계산기 간의 통신 프레임을 차단함으로써, 네트워크에서는 링 상의 일정 구간에 반드시 존재하여 루프를 방지한다. 제어 프레임의 예로서는, 통신선(110-1 내지 110-8)의 장해를 감시하기 위해 인접 노드 간에서 통신되는 프레임이나, 통신선(110-1 내지 110-8)의 장해 발생에 의해 블로킹 노드로 천이하였음을 선언하는 프레임, 네트워크 내에 블로킹 노드가 복수 경합하는 경우에 이들을 조정하기 위한 프레임 등을 들 수 있다. 또한, 모든 노드(100-1 내지 100-8) 및 통신선(110-1 내지 110-8)에는 이상이 일어나지 않는 것으로 한다. 도 16은, 도 1에 있어서의 노드(100-1 내지 100-8)의 내부 블록도를 도시하는 도면이다. 도 16에서는, 대표로서 노드 2(100-2)에 대하여 설명한다.Fig. 1 is a configuration diagram showing the present embodiment. As constitution contents, there are eight nodes (100-1 to 100-8) connected to the ring network by the communication lines 110-1 to 110-8, and branch lines of the nodes 100-1 to 100-8 A calculator not shown is connected. In addition, the node 4 (100-4) to the node 5 (100-5) are in a blocking state. The blocking state is a state of blocking communications other than the control frame for controlling the ring network. For example, by blocking the communication frame between the computers connected to the branch line of each node, the network necessarily exists in a predetermined section of the ring, . As an example of the control frame, a frame communicated between neighboring nodes to monitor a fault of the communication lines 110-1 to 110-8 or a fault occurred in the communication lines 110-1 to 110-8 has transitioned to a blocking node A frame for declaring a plurality of blocking nodes in a network, and a frame for adjusting them when a plurality of blocking nodes are contended in the network. It is also assumed that no abnormality occurs in all of the nodes 100-1 to 100-8 and the communication lines 110-1 to 110-8. 16 is a diagram showing an internal block diagram of the nodes 100-1 to 100-8 in Fig. In Fig. 16, the node 2 (100-2) will be described as a representative.

노드 2(100-2)는, 통신선(110-1, 110-2)을 통하여 노드 1(100-1), 노드 3(100-3)과 접속되고, 지선을 통하여 계산기 1(800-1), 계산기 2(800-2)와 접속된다. 본 예에서는, 2개의 계산기가 접속되는 예를 나타내지만, 그 이상의 계산기가 접속되어도 된다.The node 2 100-2 is connected to the node 1 100-1 and the node 3 100-3 via the communication lines 110-1 and 110-2 and connected to the computer 1 800-1 through a branch line, , And the calculator 2 (800-2). In this example, two calculators are connected, but more than one calculator may be connected.

노드 2(100-2)는, CPU(700)와, 메모리(710)와, 송수신 제어부(720)와, 복수의 포트(770, 780) 스위치부를 포함한다. 스위치부는, 수신한 프레임을 저장하는 수신 큐(750), 프라이오리티마다 프레임을 분류하는 프라이오리티 큐(760), 송신한 프레임을 저장하는 송신 큐(740), MAC 어드레스 정보를 기억하기 위한 어드레스 학습부(730)를 구비한다.The node 2 100-2 includes a CPU 700, a memory 710, a transmission / reception control unit 720, and a plurality of ports 770 and 780 switch units. The switch unit includes a reception queue 750 for storing received frames, a priority queue 760 for classifying frames for each priority, a transmission queue 740 for storing transmitted frames, And an address learning unit 730.

포트 A, B(770)는, 링 네트워크를 구성하기 위한 포트이며, 1 노드에 합계 2 포트 구비된다. 포트 A, B(770)는 CPU(700)로부터의 지시에 의해, 블로킹의 실시/해제를 행한다.The ports A and B 770 are ports for constituting a ring network, and two ports are provided in total for one node. The ports A and B 770 perform blocking / release according to an instruction from the CPU 700. [

포트 1, 2(780)는, 지선에 계산기 등을 접속하기 위한 포트이다. 포트수는 임의이지만, 본 예에서는 2개를 도시한다.Ports 1 and 2 (780) are ports for connecting a calculator or the like to a branch line. The number of ports is arbitrary, but two are shown in this example.

수신 큐(740)는, 포트(770, 780)로부터 수신한 프레임을 저장하기 위한 큐이며, 각 포트마다 하나씩 보유한다. 또한, 송수신 제어부(720)로부터 수신한 프레임을 저장하기 위해서도 구비된다. 수신 큐(740)는, 내부에 복수의 큐를 갖고, 수신 프레임의 프라이오리티에 따라 저장하는 큐를 변경한다. 상세는 도 3에서 후술한다.The reception queue 740 is a queue for storing frames received from the ports 770 and 780, and holds one for each port. It is also provided for storing frames received from the transmission / reception control unit 720. [ The reception queue 740 has a plurality of queues therein and changes the queue to be stored according to the priority of the reception frame. Details will be described later with reference to FIG.

프라이오리티 큐(760)는, 프라이오리티(본 실시예에서는 0 내지 7)에 따라 하나씩 개별적인 큐가 있고, 각 포트의 수신 큐(740)로부터, 프라이오리티에 대응한 큐에 프레임이 전송된다. 그리고, 프레임의 수신처 MAC 어드레스와 스위치부의 어드레스 학습부(730) 내의 정보를 바탕으로, 프라이오리티 큐 내의 프레임을 수신처 포트의 송신 큐에 전송한다.The priority queue 760 has individual queues according to the priority (0 to 7 in the present embodiment), and a frame is transmitted from the reception queue 740 of each port to the queue corresponding to the priority . Then, based on the destination MAC address of the frame and the information in the address learning unit 730 of the switch unit, the frame in the priority queue is transmitted to the transmission queue of the destination port.

송신 큐(750)는, 프라이오리티순으로, 포트로부터 프레임을 송신하기 위한 큐이며, 각 포트마다 하나씩 보유한다. 또한, 송수신 제어부(720)에 송신하는 프레임을 저장하기 위해서도 구비된다. 최고 우선도인 프라이오리티 7의 프레임부터 우선하여 송신되고, 저프라이오리티의 프레임은, 고프라이오리티의 프레임이 전부 송신 완료될 때까지 대기된다.The transmission queue 750 is a queue for transmitting frames from a port in priority order, and holds one for each port. It is also provided for storing a frame to be transmitted to the transmission / reception control unit 720. Priority 7 is transmitted in priority to the highest priority frame, and low priority frames are queued until all frames of the high priority are completely transmitted.

어드레스 학습부(730)는, 수신한 프레임의 송신원 MAC 어드레스를 수신 포트의 번호와 대응지어 기억한다. 그리고, 프레임을 송신할 때에는, 프레임의 송신처 포트를 결정하기 위한 어드레스 정보를 제공한다. 예를 들어, 포트 A(770)로부터 송신원 MAC 어드레스가 "AA"의 프레임을 수신하면, 당해 MAC 어드레스 "AA"와 포트 A(770)를 대응지어 기억한다. 또한, 수신처가 MAC 어드레스 "AA"의 프레임을 송신하는 경우에는, MAC 어드레스 "AA"에 대응지어진 포트 A(770)의 정보를 제공함으로써, 당해 프레임은 포트 A(770)로부터 송신된다. 이 MAC 어드레스의 학습 정보는, 다른 포트로부터 당해 노드로부터의 프레임을 수신한 경우에 갱신되는 경우나, 5분간 정도 당해 노드로부터의 프레임을 미수신으로 되는 경우에는 삭제된다. 또한, 수신처가 MAC 어드레스에 대응하는 포트가 기억되어 있지 않은 경우에는, 프레임은 포트 A, B(770) 양쪽으로부터 송신된다.The address learning unit 730 stores the source MAC address of the received frame in association with the number of the reception port. When transmitting a frame, address information for determining a transmission destination port of the frame is provided. For example, when receiving a frame having a source MAC address of "AA" from the port A 770, the MAC address "AA" and the port A 770 are stored in association with each other. In addition, when the destination transmits a frame with the MAC address "AA ", the frame is transmitted from the port A 770 by providing information of the port A 770 associated with the MAC address " AA ". The learning information of this MAC address is deleted when the frame is received from another node or when the frame is not received from the node for about 5 minutes. When the destination does not store a port corresponding to the MAC address, the frame is transmitted from both ports A and B (770).

CPU(700)는, 링 제어용의 프레임이나, MAC 어드레스 정보 클리어 요구 프레임을 수신한다. 조건에 따라, 포트 A/B(770)의 블로킹 제어나, 어드레스 학습부(730)의 소거, 제어 프레임이나 클리어 요구 프레임의 송신을 행한다.The CPU 700 receives the frame for ring control and the MAC address information clear request frame. The blocking control of the port A / B 770, the erasing of the address learning unit 730, and the transmission of the control frame and the clear request frame are performed in accordance with the conditions.

송수신 제어부(720)는, 스위치부로부터의 프레임을 수신하고, 메모리에 저장하는 기능을 갖는다. 메모리 상에 작성한 프레임 정보를, CPU(700)로부터의 지시에 따라, 스위치부에 대하여 프레임으로서 송신하는 기능을 갖는다. 또한, 스위치부로부터 수신한 프레임이, 어느 포트(포트 A, B, 1, 2, …)로부터 수신된 것인지를 CPU에 알리는 기능을 갖는다. CPU(700)로부터의 지시에 따라, 메모리 상의 프레임 정보를 송신할 때, CPU(700)가 지정한 포트로부터 프레임을 송신하는 기능을 갖고(포트 A로부터 송신, 포트 A, B의 양쪽에 송신 등), 전술한 링 제어용의 프레임이나 MAC 어드레스 클리어 요구 프레임 등은, 본 기능을 사용하여, 수신한 포트를 인식하거나, 특정한 포트에만 프레임을 송신하거나 한다.The transmission / reception control unit 720 has a function of receiving frames from the switch unit and storing them in a memory. And has a function of transmitting frame information created on the memory as a frame to the switch unit in response to an instruction from the CPU 700. [ Also, it has a function of notifying the CPU of which port (port A, B, 1, 2, ...) the frame received from the switch unit is received. (Transmission from port A, transmission to both ports A and B, and the like) when transmitting frame information on the memory in response to an instruction from the CPU 700, The above-described frame for ring control or MAC address clear request frame or the like uses this function to recognize a received port or transmit a frame only to a specific port.

메모리(710)는, 송수신 제어부로부터 CPU가 수신한 프레임이나, CPU로부터 송신하는 프레임의 정보를 저장하기 위한 메모리이다. 또한, CPU가 동작하기 위한 프로그램도 저장한다.The memory 710 is a memory for storing information of a frame received by the CPU from the transmission / reception control unit or a frame transmitted from the CPU. It also stores programs for the CPU to operate.

도 2는, 네트워크 내에 전파되는 프레임 포맷을 도시하는 도면이다. 본 프레임은, MAC 헤더와, VLAN Tag와, LEN/TYPE와, 프레임 정보와, CRC를 포함한다. MAC 헤더에는, 수신처 어드레스 DA와 송신원 어드레스 SA가 설정되어 있다. 또한, IEEE802.1Q VLAN tagging을 사용한 VLAN 헤더부(200-1)에, 프레임의 전송 우선도를 나타내는 프라이오리티의 값(PCP)이 저장되어 있다. 프라이오리티는 최저값 0에서 최고값 7까지 설정할 수 있다. 본 프레임을 수신한 노드는, IEEE802.1p QoS에 따라, 프라이오리티값이 높은 프레임을 우선하여 중계한다.2 is a diagram showing a frame format to be propagated in a network. This frame includes a MAC header, a VLAN tag, a LEN / TYPE, frame information, and a CRC. In the MAC header, a destination address DA and a source address SA are set. In addition, a priority value (PCP) indicating the priority of transmission of a frame is stored in the VLAN header section 200-1 using IEEE 802.1Q VLAN tagging. Priorities can be set from a minimum value of 0 to a maximum value of 7. The node that has received this frame relays the frame with the highest priority value in preference to IEEE802.1p QoS.

도 3에는, 노드(100-1 내지 100-8)에 있어서, 수신 프레임에 부여된 프라이오리티에 의한, 프레임의 배분ㆍ송신 수순을 도시한다. 본 예에서는, 프라이오리티 7의 프레임(300-1)과 프라이오리티 0의 프레임(300-2)을 포트 #1(310-1), 포트 #3(310-3)에서 각각 동시에 수신하였을 때의 움직임을 예로 든다. 또한, 본 예에서는, 포트 #1(310-1), 포트 #2(310-2)가 링 네트워크에 접속되는 포트이고, 포트 #3(310-3), 포트 #4가 지선에 접속되는 포트로 하며, 상기의 2개의 수신 프레임은, 포트 #2(310-2)로부터 송신되는 프레임으로 한다. 포트 #1(310-1), 포트 #3(310-3)에서 수신한 프레임은, 포트마다 갖는 수신 큐(320-1, 320-4)라고 불리는 수신용 버퍼에, 프라이오리티의 값에 따라 할당된다. 그 후, 프라이오리티의 값마다 준비된 프라이오리티 큐(본 예에서는, 프라이오리티 7의 프라이오리티 큐(320-2)와 프라이오리티 0의 프라이오리티 큐(320-5))에 각각 포트 번호순으로 저장된다. 프라이오리티 큐에 저장된 수신 프레임은, 포트마다 갖는 송신 큐 중, 수신처 포트의 송신 큐(본 예에서는 포트 #2의 송신 큐, 320-5)에 저장된다. 포트 #2의 송신 큐(320-3)로부터는 프라이오리티의 값이 높은 프레임부터 순서대로 송신 포트 #2(310-2)로 중계되고, 외부로 송신된다. 따라서 본 예에서는, 프라이오리티 7인 송신 프레임(300-4)이 송신된 후, 프라이오리티 0인 송신 프레임(300-3)이 송신된다. 또한, 프라이오리티가 높은 송신 프레임이 연속해서 중계되는 경우에는, 프라이오리티가 낮은 송신 프레임은, 장시간 체류해 버릴 것이 고려되지만, 본 실시예에서는 소정 시간 체류하는 송신 프레임은 삭제된다.Fig. 3 shows the distribution and transmission procedure of frames by the priority given to the reception frame in the nodes 100-1 to 100-8. In this example, the frame 300-1 of the priority 7 and the frame 300-2 of the priority 0 are simultaneously received by the port # 1 310-1 and the port # 3 310-3, respectively Let's take a moment's movement. In this example, the port # 1 310-1, the port # 2 310-2 is a port connected to the ring network, the port # 3 310-3, the port # 4 is a port , And the two received frames are frames transmitted from the port # 2 (310-2). The frame received by the port # 1 310-1 and the port # 3 310-3 is stored in a reception buffer called reception queues 320-1 and 320-4 for each port, Respectively. Thereafter, the priority queue (in this example, the priority queue 320-2 of the priority 7 and the priority queue 320-5 of the priority 0) prepared for each priority value Each port number is stored. The received frame stored in the priority queue is stored in the transmission queue of the destination port (the transmission queue of port # 2, 320-5) among the transmission queues for each port. From the transmission queue 320-3 of the port # 2, the frame having the highest priority value is relayed to the transmission port # 2 (310-2) in order and transmitted to the outside. Therefore, in this example, after the transmission frame 300-4, which is the priority 7, is transmitted, the transmission frame 300-3 having the priority 0 is transmitted. In addition, when transmission frames with high priority are relayed consecutively, it is considered that transmission frames with low priority will stay for a long time, but in this embodiment, transmission frames staying for a predetermined time are deleted.

도 4에서, 통신선(110-8)에 어떠한 원인으로 통신 이상이 일어나고, 구성 제어가 발생한 경우를 도시한다. 우선 노드 1(101-1)과 노드 8(101-8)이 장해를 검지하고, 각각이 이상 검지 포트를 블로킹 상태로 천이시킨다. 또한, 노드 4(100-4) 내지 노드 5(100-5) 사이는 블로킹 상태가 해제되고, 통신 가능 상태로 된다.In Fig. 4, there is shown a case where a communication abnormality occurs in the communication line 110-8 for some reason, and a configuration control occurs. First, the node 1 (101-1) and the node 8 (101-8) detect a failure, and transition the abnormal detection port to the blocking state. Further, the blocking state is released between the node 4 (100-4) and the node 5 (100-5), and the communication becomes possible.

상기와 같이 블로킹 개소가 천이하였을 때, 네트워크 상에 전파되어 오는 프레임을 올바른 수신처 노드에 도달시키기 위해, 각 노드의 MAC 어드레스 테이블을 클리어하고, 네트워크 상의 각 노드의 MAC 어드레스 정보를 재학습시킬 필요가 있다. 본 발명에 있어서는, 구성 제어를 검지한 노드로부터 MAC 어드레스 클리어 요구 프레임을 송신함으로써, 클리어 요구 프레임을 수신한 노드가, MAC 어드레스 테이블을 클리어하는 방법을 취한다. 또한, 본 실시예에서는, MAC 어드레스 클리어 요구 프레임에 대하여, IEEE802.1Q VLAN tagging 등에 의해, MAC 어드레스 클리어 요구 프레임의 전송 우선도를 높임으로써, 유저 통신용의 프레임에 의한 전송 지연을 없애는 것이 특징이다. 도 5에는, 본 발명에 있어서의 MAC 어드레스 클리어 요구 프레임의 움직임을 도시한다. 노드 4(100-4) 내지 노드 5(100-5) 사이의 블로킹이 해제됨으로써, 블로킹 시에 종단 노드였던 노드 5(100-5)로부터, 프라이오리티를 최댓값 7로 한 MAC 어드레스 클리어 요구 프레임 1, 2(420, 421)를 송신한다. MAC 어드레스 클리어 요구 프레임 1, 2(420, 421)를 수신한 각 노드는, 자체의 MAC 어드레스 테이블을 클리어함과 함께, MAC 어드레스 클리어 요구 프레임을 수신한 포트의 반대측의 인접 노드에 중계된다. 프라이오리티 7의 프레임을 사용함으로써, 전체 노드로 전파되고, 신속한 경로 변경이 가능하게 된다. 또한, 블로킹을 해제하는 노드가, MAC 어드레스 클리어 요구 프레임을 송신함으로써, 구성 제어의 개시부터 빠르게 다른 노드로 MAC 어드레스의 클리어를 요구할 수 있다.It is necessary to clear the MAC address table of each node and re-learn the MAC address information of each node on the network in order to reach the correct destination node when the blocking point transits as described above have. In the present invention, the MAC address clear request frame is transmitted from the node that detected the configuration control, so that the node that has received the clear request frame clears the MAC address table. In this embodiment, the transmission priority of the MAC address clear request frame is increased by IEEE 802.1Q VLAN tagging or the like for the MAC address clear request frame, thereby eliminating the transmission delay caused by the frame for user communication. Fig. 5 shows the movement of the MAC address clear request frame according to the present invention. The blocking between the node 4 (100-4) to the node 5 (100-5) is released, whereby the node 5 (100-5) that was the terminating node at the time of blocking receives the MAC address clear request frame 1, 2 (420, 421). Each node that has received the MAC address clear request frame 1, 2 (420, 421) clears its own MAC address table and is relayed to the adjacent node on the opposite side of the port that received the MAC address clear request frame. By using the frame of priority 7, it is propagated to all the nodes, and rapid path change becomes possible. In addition, by transmitting the MAC address clear request frame, the node that releases the blocking can quickly request the other node to clear the MAC address from the start of the configuration control.

한편, 전송 우선도를 높인 MAC 어드레스 클리어 요구 프레임은, 구성 노드가 보유하는 송수신 버퍼 등에 체류하고 있는 구성 제어 전에 송신된 유저 프레임을 추월해 버려, 추월된 유저 프레임에 의한 MAC 어드레스 정보의 오학습이 발생해 버리는 경우가 있다.On the other hand, the MAC address clear request frame with the higher transmission priority overtakes the user frame transmitted prior to the configuration control staying in the transmission / reception buffer held by the constituent node, and the mis-learning of the MAC address information by the overtaken user frame May occur.

일례로서, 이때 네트워크 중에 프라이오리티가 2인 체류 프레임(430)이 전파되어 있는 경우를 예시한다. 노드 5(100-5)로부터, 프라이오리티를 최댓값 7로 한 MAC 어드레스 클리어 요구 프레임 1(420)이 노드 8(101-8)로 전파되어 갈 때, 프라이오리티가 7이기 때문에, 전파 중인 체류 프레임(430)을 추월하여 전파되고, 노드 7(101-7), 노드 8(101-8)의 MAC 어드레스 테이블을 클리어해 버린다. 그 결과, 체류 프레임(430)은 MAC 어드레스가 클리어된 후에 노드에 도착하게 되고, 장해 발생 전의 망 구성에 기초하여, MAC 어드레스 정보의 오학습이 발생해 버리는 경우가 있다.As an example, a case in which a stay frame 430 having a priority of two in the network is propagated is illustrated. When the MAC address clear request frame 1 420 having the priority 7 set to the maximum value 7 is propagated from the node 5 (100-5) to the node 8 (101-8), since the priority is 7, It propagates past the stay frame 430 and clears the MAC address table of the node 7 101-7 and the node 8 101-8. As a result, the stay frame 430 arrives at the node after the MAC address is cleared, and erroneous learning of the MAC address information may occur based on the network configuration before the occurrence of the failure.

도 6은, 프라이오리티에 의한 프레임의 추월의 움직임의 예이다. 포트 1(510-1)에서 수신한 클리어 프레임(500-1)과 체류 프레임(500-2)은, 포트 #1 수신 큐(520-1)에서 할당되고, 그 후 각 프라이오리티 큐(520-2, 520-3)의 포트 #1 저장 장소에 저장된다. 프라이오리티 큐로부터는 포트 #2의 송신 큐(520-4)로 라운드 로빈으로 저장된다. 포트 #2의 송신 큐(520-4)로부터는 프라이오리티의 값이 높은 프레임부터 순서대로 송신 포트 #2(510-2)로 중계되기 때문에, 프라이오리티 7인 클리어 프레임(500-4)이 송신된 후, 프라이오리티 2인 체류 프레임(500-3)이 송신된다. 따라서, 프라이오리티 2의 프레임을 우선 수신하였다고 해도, 프라이오리티 7의 클리어 프레임을 뒤쫓아 수신하면, 프라이오리티 7의 클리어 프레임이 우선 송신되어, 프라이오리티 2인 체류 프레임을 추월해 버린다. 이에 의해, MAC 어드레스의 오학습이 발생한다.Fig. 6 is an example of the motion of the frame to overtake by the priority. The clear frame 500-1 and the stay frame 500-2 received at the port 1 510-1 are allocated at the port # 1 reception queue 520-1 and thereafter allocated to each priority queue 520 -2, and 520-3, respectively. And from the priority queue to the transmission queue 520-4 of the port # 2 in a round-robin manner. Since the transmission queue 520-4 of the port # 2 relays the transmission from the frame having the highest priority value to the transmission port # 2 510-2 in order, the clear frame 500-4, which is the priority 7, The stay frame 500-3, which is the priority 2, is transmitted. Therefore, even if the priority 2 frame is received first, if a clear frame of the priority 7 is received after a clear frame, the clear frame of the priority 7 is transmitted first, and the priority frame 2 is overtaken. This causes erroneous learning of the MAC address.

일례로서 도 7 내지 도 14에서 노드(610-1 내지 610-6)가 링상으로 구성되어 있는 네트워크를 예시하고, MAC 어드레스 오학습ㆍ프레임 오중계까지의 흐름을 순서대로 도시한다. 노드(610-6 내지 610-1) 사이가 블로킹 상태로 되어 있고, 전체 노드, 전체 통신선은 이상이 일어나지 않는 것으로 한다.As an example, FIG. 7 to FIG. 14 illustrate a network in which the nodes 610-1 to 610-6 are formed in a ring, and the flow from the MAC address errata / frame relay to the MAC address erroneous frame is sequentially shown. It is assumed that the nodes 610-6 to 610-1 are in a blocking state, and that no abnormality occurs in all nodes and all communication lines.

도 7에서는 링 구성에 있어서의 MAC 어드레스 학습의 예를 도시한다. PC-A(600-1)로부터 PC-B(600-2)를 수신처로 하는 프레임을 송신하고, 각 노드(610-1 내지 610-6)는 PC-A(600-1)의 수신처 정보를 학습한다.Fig. 7 shows an example of MAC address learning in the ring configuration. A 600-1 is transmitted from the PC-A 600-1, and each of the nodes 610-1 through 610-6 transmits the destination information of the PC-A 600-1 Learn.

도 8에 도시하는 바와 같이, PC-C(600-3)로부터 PC-A(600-1)를 수신처로 하는 프레임을 송신하면, 각 노드(610-1 내지 610-5)는 도 7에서 학습한 수신처 MAC 어드레스 정보에 따라 PC-A로 프레임을 중계한다.As shown in Fig. 8, when a frame having the PC-A 600-1 as a destination is transmitted from the PC-C 600-3, each of the nodes 610-1 through 610-5 And relays the frame to the PC-A according to the destination MAC address information.

도 9에서 장해 발생 시의 프레임의 동작을 도시한다. 노드(610-1 내지 610-2) 사이에 장해가 발생하고, 구성 제어에 의해 블로킹 개소가 장해 개소의 양단으로 이동한다. 이때, 노드(610-2 내지 610-3) 사이에 수신처 B의 유저 프레임(프라이오리티 2)이 중계되어 있는 상태이다.Fig. 9 shows the operation of the frame at the time of occurrence of the fault. A failure occurs between the nodes 610-1 to 610-2, and the blocking point moves to both ends of the failure point by the configuration control. At this time, the user frame (priority 2) of the destination B is relayed between the nodes 610-2 to 610-3.

도 10에서는, 구성 제어 후의 블로킹 발생 노드(610-1, 610-2)로부터 MAC 어드레스 클리어 프레임(프라이오리티 7)이 송신된다. 이때 송신원인 노드(610-1, 610-2)는, MAC 어드레스 클리어를 함과 함께, MAC 어드레스 클리어 프레임을 송신한다.In Fig. 10, a MAC address clear frame (priority 7) is transmitted from the blocking generating nodes 610-1 and 610-2 after the configuration control. At this time, the transmission source nodes 610-1 and 610-2 clear the MAC address and transmit the MAC address clear frame.

도 11에서, 노드(610-3 내지 610-4) 사이에서 프라이오리티에 의한 프레임의 추월이 발생한다. 프라이오리티 7인 MAC 어드레스 클리어 프레임은 프라이오리티 2인 유저 프레임을 추월하고, 최우선으로 인접 노드로 중계된다.In Fig. 11, overtaking of frames due to primality occurs between nodes 610-3 to 610-4. The MAC address clear frame of priority 7 overtakes the priority 2 user frame and is relayed to the adjacent node with the highest priority.

도 12에서는, 노드(610-4)가 MAC 어드레스 클리어 프레임에 의해, 수신처 정보가 클리어되지만, 그 직후에 유저 프레임에서 PC-A(600-1)의 수신처 정보를 오학습해 버린다.In Fig. 12, although the destination information is cleared by the MAC address clear frame, the node 610-4 erroneously learns the destination information of the PC-A 600-1 in the user frame immediately thereafter.

도 13에서는, 유저 프레임이 PC-B(600-2)에 도착하지만, 그때까지 중계해 온 노드(610-5, 610-6)는 수신처 A의 수신처 정보를 오학습해 버린다.In Fig. 13, the user frame arrives at the PC-B 600-2, but the nodes 610-5 and 610-6 relaying until that time learn the destination information of the destination A by mistake.

도 14에 도시하는 바와 같이, 이 상태에서 PC-B(600-2)로부터 PC-A(600-1) 앞으로 유저 프레임을 송신한 경우, 노드(610-4 내지 610-6)의 수신처 정보 오학습에 의해, PC-A(600-1)에 도착하지 않는 루트로 프레임이 중계되고, 블로킹 상태로 되어 있는 포트를 갖는 노드(610-2)에 도착한 시점에서 PC-A(600-1)앞으로의 유저 프레임은 폐기되어 버린다.14, when the user frame is transmitted from the PC-B 600-2 to the PC-A 600-1 in this state, the destination information of the nodes 610-4 to 610-6 The frame is relayed to the route that does not arrive at the PC-A 600-1 by learning, and at the time of arrival at the node 610-2 having the port in the blocking state, Is discarded.

이상의 흐름이 발생한 경우, 구성 제어 직후에 최우선도의 프레임을 사용하여 전체 노드의 MAC 어드레스 클리어를 행하였다고 해도, 체류 프레임에 의해 MAC 어드레스 테이블의 오학습이 발생하고, 유저 프레임의 오송신으로 이어져 버린다. 일반적으로, MAC 어드레스의 학습 정보는, 다른 포트로부터 당해 노드로부터의 프레임을 수신한 경우에 갱신되는 경우나, 5분간 정도 당해 노드로부터의 프레임을 미수신으로 되는 경우에 삭제된다. 그 때문에, PC-A로부터의 프레임 송신이 없는 경우, 최대 5분간 정도 통신이 불가로 되어 버린다. 특히, 산업용 네트워크에서는 장해 발생 후, 수 초만의 복구가 요구되기 때문에, 상기 지연 시간의 개선이 요구된다.Even if the above flow occurs, even if MAC addresses of all the nodes are cleared by using the highest priority frame immediately after the configuration control, erroneous learning of the MAC address table occurs due to the stay frame, leading to mis-transmission of the user frame . In general, the learning information of the MAC address is deleted when a frame is received from another node from another port, or when a frame from the node is not received for about five minutes. Therefore, when there is no frame transmission from the PC-A, communication for a maximum of 5 minutes becomes impossible. Particularly, in the industrial network, since recovery after only a few seconds is required after the occurrence of the fault, improvement of the delay time is required.

도 15에서, 상기 사례를 방지하는 수단을 설명한다. 본 발명에서는 구성 제어 발생 후, 새롭게 종단으로 된 노드(본 예에서는 노드 1(201-1))로부터 프라이오리티를 최저값 0으로 한 MAC 어드레스 클리어 요구 프레임 3(440)을 송신한다. 이에 의해, 프라이오리티를 최댓값 7로 한 MAC 어드레스 클리어 요구 프레임 1, 2(420, 421)가 전체 노드에 전파된 후, 네트워크 중에 체류하고 있는 유저 프레임(430)에 의해 오학습이 발생해도, 유저 프레임을 추월하는 일은 없기 때문에, 확실하게 네트워크 중의 전체 노드의 MAC 어드레스 테이블을 클리어할 수 있다. 또한, 이 MAC 어드레스 클리어 요구 프레임 3(440)은, 장해 발생에 의한 구성 제어 발생 후, 망 구성의 변경에 의해 경로 전환이 완료된 타이밍에 송신된다. 여기서, 망 구성의 변경이 완료되었음은, 새롭게 종단으로 된 블로킹 노드가 가장 빨리 검지할 수 있기 때문에, 빠르게 2번째 MAC 어드레스 테이블을 송신할 수 있다.In Fig. 15, the means for preventing the above-mentioned case will be described. In the present invention, after occurrence of the configuration control, the MAC address clear request frame 3 440 having the lowest priority 0 is transmitted from the newly terminated node (node 1 (201-1) in this example). Thus, even if erroneous learning is caused by the user frame 430 staying in the network after the MAC address clear request frames 1 and 2 (420 and 421) whose priority is set to the maximum value 7 are propagated to all the nodes, The MAC address table of all the nodes in the network can be reliably cleared because the user frame is not passed. This MAC address clear request frame 3 440 is transmitted at a timing at which the path switching is completed by changing the network configuration after generation of the configuration control due to the occurrence of the fault. Here, the completion of the change of the network configuration means that the blocking node with the new end can detect the earliest, so that the second MAC address table can be transmitted quickly.

이상과 같이 본 실시예에서는, 네트워크의 구성 제어가 발생하였을 때 송신하는, MAC 어드레스 클리어 요구 프레임에 대하여, IEEE802.1Q VLAN tagging 등을 사용하여, 최고 우선도의 프레임과, 최저 우선도의 프레임의, 2종류의 우선도를 갖게 한다. 또한, 최고 우선도의 프레임은, MAC 어드레스 클리어 요구 프레임 등의링 네트워크 제어용으로만 사용하고, 유저 통신 프레임으로는 사용 불가로 한다.As described above, in this embodiment, the MAC address clear request frame to be transmitted when the network configuration control has occurred, the IEEE 802.1Q VLAN tagging or the like is used to transmit the frame having the highest priority and the frame having the lowest priority , And have two types of priorities. The highest priority frame is used only for ring network control such as a MAC address clear request frame, and can not be used as a user communication frame.

그리고, 네트워크 장해 등에 의해 구성 제어가 발생한 경우, 최초로 전송 우선도(프라이오리티)를 최고값으로 설정한 MAC 어드레스 클리어 요구 프레임을 전체 네트워크 노드에 송신한다. 최고 우선도이기 때문에, 각 노드의 송수신 버퍼에서 거의 지연되지 않고, 빠르게 전체 노드에 전파되어, MAC 어드레스 학습 정보를 소거할 수 있다.When configuration control occurs due to a network failure or the like, a MAC address clear request frame in which the transmission priority (priority) is first set to the highest value is transmitted to all the network nodes. Since it is the highest priority, it can be propagated to the entire node quickly, with almost no delay in the transmission / reception buffer of each node, and the MAC address learning information can be erased.

통상, 전술한 최고 우선도의 MAC 어드레스 클리어 요구 프레임에 의해 통신 복구되지만, 그 후, 프라이오리티를 최저값으로 설정한 MAC 어드레스 클리어 요구 프레임을 전체 노드에 송신한다. 최저 우선도의 프레임은, 유저 통신 프레임을 추월하는 일은 없기 때문에, 구성 제어 전에 송신되고, 각 네트워크 노드의 송수신 버퍼에 체류하고 있던 프레임에 의해, MAC 어드레스 학습 정보의 오학습이 발생해도, 최저 우선도의 클리어 요구 프레임에 의해, 다시 MAC 어드레스 학습 정보가 소거되므로, 확실하게 전체 노드의 MAC 어드레스 테이블이 소거된다.Normally, communication is restored by the above-mentioned MAC address clear request frame having the highest priority, and then a MAC address clear request frame in which the priority is set to the lowest value is transmitted to all the nodes. Since the frame with the lowest priority does not overtake the user communication frame, even if erroneous learning of the MAC address learning information occurs due to the frame transmitted before the configuration control and staying in the transmission / reception buffer of each network node, Since the MAC address learning information is erased again by the clear request frame, the MAC address table of the entire node is erased securely.

이에 의해, MAC 어드레스 학습 정보의 불일치에 의한 통신 경로 변경을 신속하게 제공함과 함께, MAC 어드레스의 오학습에 의한 통신 경로 복구 지연을 방지할 수 있다.Thereby, it is possible to quickly provide the communication path change due to the mismatching of the MAC address learning information, and to prevent the communication path recovery delay due to the erroneous learning of the MAC address.

또한, 본 발명은 상기한 실시예에 한정되는 것은 아니며, 여러 가지 변형예가 포함된다. 예를 들어, 상기한 실시예는 본 발명을 이해하기 쉽게 설명하기 위해 상세하게 설명한 것이며, 반드시 설명한 모든 구성을 구비하는 것에 한정되는 것은 아니다. 또한, 상기 각 구성, 기능, 처리부, 처리 수단 등은, 그들의 일부 또는 전부를, 예를 들어 집적 회로로 설계하는 등에 의해 하드웨어로 실현해도 된다. 또한, 상기 각 구성, 기능 등은, 프로세서가 각각의 기능을 실현하는 프로그램을 해석하고, 실행함으로써 소프트웨어로 실현해도 된다. 각 기능을 실현하는 프로그램, 테이블, 파일 등의 정보는, 메모리나, 하드디스크, SSD(Solid State Drive) 등의 기록 장치, 또는 IC 카드, SD 카드, DVD 등의 기록 매체에 둘 수 있다.In addition, the present invention is not limited to the above-described embodiment, but includes various modifications. For example, the above-described embodiments have been described in detail in order to facilitate understanding of the present invention, and are not limited to those having all the configurations described above. The components, functions, processing units, processing means, and the like may be realized by hardware, for example, by designing a part or all of them with, for example, an integrated circuit. Further, each of the above-described configurations, functions, and the like may be realized by software by analyzing and executing a program that realizes the respective functions of the processor. Information such as a program, a table, and a file that realize each function can be stored in a recording device such as a memory, a hard disk, a solid state drive (SSD), or a recording medium such as an IC card, an SD card, or a DVD.

100-1: 노드 1
100-2: 노드 2
100-3: 노드 3
100-4: 노드 4
100-5: 노드 5
100-6: 노드 6
100-7: 노드 7
100-8: 노드 8
110-1: 통신선 1(노드 1 내지 2 사이)
110-2: 통신선 2(노드 2 내지 3 사이)
110-3: 통신선 3(노드 3 내지 4 사이)
110-4: 통신선 4(노드 4 내지 5 사이)
110-5: 통신선 5(노드 5 내지 6 사이)
110-6: 통신선 6(노드 6 내지 7 사이)
110-7: 통신선 7(노드 7 내지 8 사이)
110-8: 통신선 8(노드 8 내지 1 사이)
200-1: VLAN 헤더
300-1: 수신 프레임(프라이오리티: 7)
300-2: 수신 프레임(프라이오리티: 0)
300-3: 송신 프레임(프라이오리티: 0)
300-4: 송신 프레임(프라이오리티: 7)
310-1: 수신 포트 #1
310-2: 송신 포트 #2
320-1: 포트 #1 수신 큐
320-2: 프라이오리티 7 큐
320-3: 포트 #2 송신 큐
320-4: 포트 #3 수신 큐
320-5: 프라이오리티 0 큐
420: MAC 어드레스 클리어 요구 프레임 1(프라이오리티: 7)
421: MAC 어드레스 클리어 요구 프레임 2(프라이오리티: 7)
430: 체류 프레임(프라이오리티: 2)
440: MAC 어드레스 클리어 요구 프레임 3(프라이오리티: 1)
500-1: 수신 클리어 프레임(프라이오리티: 7)
500-2: 수신 체류 프레임(프라이오리티: 2)
500-3: 송신 체류 프레임(프라이오리티: 2)
500-4: 송신 클리어 프레임(프라이오리티: 7)
510-1: 수신 포트 #1
510-2: 송신 포트 #2
520-1: 포트 #1 수신 큐
520-2: 프라이오리티 7 큐
520-3: 프라이오리티 2 큐
520-4: 포트 #2 수신 큐
600-1: PC-A
600-2: PC-B
600-3: PC-C
610-1 내지 610-6: 노드
700: CPU
710: 메모리
720: 송수신 제어부
730: 어드레스 학습부
740: 수신 큐
750: 송신 큐
760: 프라이오리티 큐
770: 포트(A, B)
780: 포트(1, 2)
800-1: 계산기 1
800-2: 계산기 2
100-1: node 1
100-2: Node 2
100-3: node 3
100-4: node 4
100-5: Node 5
100-6: node 6
100-7: Node 7
100-8: Node 8
110-1: communication line 1 (between nodes 1 and 2)
110-2: communication line 2 (between nodes 2 and 3)
110-3: communication line 3 (between nodes 3 and 4)
110-4: communication line 4 (between nodes 4 and 5)
110-5: communication line 5 (between nodes 5 and 6)
110-6: communication line 6 (between nodes 6 and 7)
110-7: communication line 7 (between nodes 7 and 8)
110-8: communication line 8 (between nodes 8 and 1)
200-1: VLAN header
300-1: Reception frame (priority 7)
300-2: Received frame (priority: 0)
300-3: Transmission frame (priority: 0)
300-4: Transmission frame (priority 7)
310-1: Receive port # 1
310-2: Transmission port # 2
320-1: Port # 1 receive queue
320-2: Priority 7 Queue
320-3: Port # 2 transmit queue
320-4: Port # 3 receive queue
320-5: Priority 0 Queue
420: MAC address clear request frame 1 (priority 7)
421: MAC address clear request frame 2 (priority 7)
430: Retention frame (priority: 2)
440: MAC address clear request frame 3 (priority: 1)
500-1: Receive clear frame (priority 7)
500-2: Reception frame (Priority: 2)
500-3: Transmission retention frame (Priority: 2)
500-4: Transmission clear frame (priority 7)
510-1: Receive port # 1
510-2: transmission port # 2
520-1: Port # 1 receive queue
520-2: Priority 7 queue
520-3: Priority 2 queue
520-4: Port # 2 receive queue
600-1: PC-A
600-2: PC-B
600-3: PC-C
610-1 to 610-6:
700: CPU
710: Memory
720: Transmitting /
730:
740: Receive queue
750: transmission queue
760: Priority queue
770: port (A, B)
780: port (1, 2)
800-1: Calculator 1
800-2: Calculator 2

Claims (10)

복수의 노드에 의해 구성되는 링형의 네트워크 시스템으로서,
상기 복수의 노드는 각각,
통신 프레임을 송수신하는 복수의 포트와,
수신한 상기 통신 프레임의 송신원 MAC 어드레스와, 당해 통신 프레임을 수신한 상기 포트와의 대응 관계가 기억되는 MAC 어드레스 학습부와,
상기 통신 프레임을 송신할 때, 상기 MAC 어드레스 학습부에 기억된 대응 관계에 따라, 송신에 사용할 상기 포트를 선택하는 통신 제어부와,
수신한 상기 통신 프레임에 설정된 전송 우선도에 따라, 다른 노드로의 중계 처리를 행하는 중계 처리부를 구비하고,
상기 복수의 노드에는,
상기 링형의 네트워크의 일부에 장해가 발생하면, 상기 MAC 어드레스 학습부에 기억된 대응 관계를 클리어시키는 MAC 어드레스 클리어 요구 프레임의 상기 전송 우선도를 통상의 상기 통신 프레임보다 높게 설정하여 다른 노드로 송신하는 제1 노드를 포함하는, 네트워크 시스템.
1. A ring network system configured by a plurality of nodes,
Each of the plurality of nodes comprising:
A plurality of ports for transmitting and receiving communication frames,
A MAC address learning unit that stores a correspondence relationship between a source MAC address of the received communication frame and the port that received the communication frame;
A communication control unit for selecting the port to be used for transmission according to a correspondence relationship stored in the MAC address learning unit when transmitting the communication frame;
And a relay processing unit for performing relay processing to another node in accordance with the transmission priority set in the received communication frame,
The plurality of nodes include:
The transmission priority of the MAC address clear request frame for clearing the corresponding relationship stored in the MAC address learning unit is set higher than the normal communication frame and transmitted to another node when a failure occurs in a part of the ring network And a first node.
제1항에 있어서, 상기 제1 노드는, 상기 통신 프레임의 전송을 블로킹하는 종단 노드이며, 상기 링형의 네트워크의 일부에 장해가 발생하면, 블로킹하고 있던 상기 포트의 블로킹을 해제하고, 상기 MAC 어드레스 클리어 요구 프레임을 상기 다른 노드로 송신하는 것을 특징으로 하는 네트워크 시스템.2. The method of claim 1, wherein the first node is an end node that blocks transmission of the communication frame, and when a failure occurs in a part of the ring-shaped network, the first node releases blocking of the blocking port, And transmits a clear request frame to the other node. 제1항에 있어서, 상기 제1 노드는, 상기 MAC 어드레스 클리어 요구 프레임의 전송 우선도를 최대로 설정하여 다른 노드로 송신하는 것을 특징으로 하는 네트워크 시스템.2. The network system according to claim 1, wherein the first node sets the transmission priority of the MAC address clear request frame to the maximum, and transmits the MAC address clear request frame to another node. 제1항에 있어서, 상기 복수의 노드에는, 상기 링형의 네트워크의 일부에 장해가 발생한 후, 네트워크망의 재구축이 완료되면, 상기 MAC 어드레스 클리어 요구 프레임의 전송 우선도를 통상의 상기 통신 프레임보다 낮게 설정하여 다른 노드로 송신하는 제2 노드가 포함되는 것을 특징으로 하는 네트워크 시스템.2. The network communication system according to claim 1, wherein, after a failure occurs in a part of the ring network, the plurality of nodes transmit the MAC address clear request frame at a higher priority than the normal communication frame And a second node that is set to be low and transmits to another node. 제4항에 있어서, 상기 제2 노드는, 네트워크 상에 발생한 장해 개소에 인접하는 노드이며, 장해 개소에 접속하는 상기 포트를 블로킹 포트로 천이시켜, 상기 MAC 어드레스 클리어 요구 프레임을 상기 다른 노드로 송신하는 것을 특징으로 하는 네트워크 시스템.The method according to claim 4, wherein the second node is a node adjacent to the fault location occurring on the network, transits the port connected to the fault location to the blocking port, and transmits the MAC address clear request frame to the other node And the network system. 제4항에 있어서, 상기 제2 노드는, 상기 MAC 어드레스 클리어 요구 프레임의 전송 우선도를 최저로 설정하여 다른 노드로 송신하는 것을 특징으로 하는 네트워크 시스템.5. The network system according to claim 4, wherein the second node sets the transmission priority of the MAC address clear request frame to the lowest and transmits to the other node. 제1항에 있어서, 상기 복수의 노드 각각은, 상기 링형의 네트워크와 접속하는 2개의 포트 중 한쪽의 포트로부터 상기 MAC 어드레스 클리어 요구 프레임을 수신하면, 다른 쪽의 포트로 상기 MAC 어드레스 클리어 요구 프레임을 중계하고, 자체 노드의 상기 MAC 어드레스 학습부에 기억된 대응 관계를 삭제하는 것을 특징으로 하는 네트워크 노드.2. The network device according to claim 1, wherein each of the plurality of nodes receives the MAC address clear request frame from one of two ports connected to the ring network, and transmits the MAC address clear request frame to the other port And deletes the correspondence stored in the MAC address learning unit of the own node. 제1항에 있어서, 상기 복수의 노드는 각각, 상기 전송 우선도에 따라 상기 통신 프레임이 저장되는 버퍼를 갖고, 당해 버퍼에 저장된 상기 통신 프레임 중, 우선도가 높은 버퍼에 저장된 프레임부터 차례로 중계 처리를 행하는 것을 특징으로 하는 네트워크 노드.2. The communication system according to claim 1, wherein each of the plurality of nodes has a buffer in which the communication frame is stored according to the transmission priority, and among the communication frames stored in the buffer, To the network node. 통신 프레임을 송수신하는 복수의 포트와,
수신한 상기 통신 프레임의 송신원 MAC 어드레스와, 당해 통신 프레임을 수신한 상기 포트와의 대응 관계가 기억되는 MAC 어드레스 학습부와,
상기 통신 프레임을 송신할 때, 상기 MAC 어드레스 학습부에 기억된 대응 관계에 따라, 송신에 사용할 상기 포트를 선택하는 통신 제어부와,
수신한 상기 통신 프레임에 설정된 전송 우선도에 따라, 다른 노드로의 중계 처리를 행하는 중계 처리부를 구비하고,
상기 통신 제어부는,
자체 노드를 포함하는 복수의 노드를 포함하는 링형 네트워크의 일부에 장해가 발생하면, 상기 MAC 어드레스 학습부에 기억된 대응 관계를 클리어시키는 MAC 어드레스 클리어 요구 프레임의 전송 우선도를 통상의 상기 통신 프레임보다 높게 설정하여 다른 노드로 송신하는, 네트워크 노드.
A plurality of ports for transmitting and receiving communication frames,
A MAC address learning unit that stores a correspondence relationship between a source MAC address of the received communication frame and the port that received the communication frame;
A communication control unit for selecting the port to be used for transmission according to a correspondence relationship stored in the MAC address learning unit when transmitting the communication frame;
And a relay processing unit for performing relay processing to another node in accordance with the transmission priority set in the received communication frame,
The communication control unit,
When a failure occurs in a part of the ring network including a plurality of nodes including the own node, the transmission priority of the MAC address clear request frame for clearing the correspondence stored in the MAC address learning unit A network node that is set high and sends to another node.
제9항에 있어서, 상기 통신 제어부는,
상기 링형 네트워크의 일부에 장해가 발생한 후, 네트워크망의 재구축이 완료되면, 상기 MAC 어드레스 클리어 요구 프레임의 전송 우선도를 통상의 상기 통신 프레임보다 낮게 설정하여 다른 노드로 송신하는, 네트워크 노드.
10. The communication system according to claim 9,
Wherein the transmission priority of the MAC address clear request frame is set lower than that of the normal communication frame and is transmitted to another node after completion of the rebuild of the network after a failure occurs in a part of the ring network.
KR1020187007199A 2015-09-28 2015-09-28 Network systems and network nodes KR102037013B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/077229 WO2017056140A1 (en) 2015-09-28 2015-09-28 Network system and network node

Publications (2)

Publication Number Publication Date
KR20180039716A true KR20180039716A (en) 2018-04-18
KR102037013B1 KR102037013B1 (en) 2019-10-25

Family

ID=58422899

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020187007199A KR102037013B1 (en) 2015-09-28 2015-09-28 Network systems and network nodes

Country Status (3)

Country Link
JP (1) JP6518777B2 (en)
KR (1) KR102037013B1 (en)
WO (1) WO2017056140A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010328A (en) * 2019-11-08 2020-04-14 苏州浪潮智能科技有限公司 Method and equipment for preventing white board switch from being looped

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008136013A (en) * 2006-11-29 2008-06-12 Alaxala Networks Corp Device constituting ring network
KR20090009083A (en) * 2007-07-19 2009-01-22 아락사라 네트워크 가부시키가이샤 System for dealing with multiple disorder and sharing link terminal apparatus used therein
JP2009239767A (en) 2008-03-28 2009-10-15 Alaxala Networks Corp Ring monitoring apparatus and network system
JP2013098600A (en) * 2011-10-28 2013-05-20 Sumitomo Electric Ind Ltd Communication system, optical line terminal, and communication control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5092546B2 (en) * 2007-05-30 2012-12-05 日本電気株式会社 RELAY DEVICE, NETWORK, AND FRAME RELAY METHOD USED FOR THEM

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008136013A (en) * 2006-11-29 2008-06-12 Alaxala Networks Corp Device constituting ring network
KR20090009083A (en) * 2007-07-19 2009-01-22 아락사라 네트워크 가부시키가이샤 System for dealing with multiple disorder and sharing link terminal apparatus used therein
JP2009239767A (en) 2008-03-28 2009-10-15 Alaxala Networks Corp Ring monitoring apparatus and network system
JP2013098600A (en) * 2011-10-28 2013-05-20 Sumitomo Electric Ind Ltd Communication system, optical line terminal, and communication control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANSI/IEEE Std 802. 1D, 1998 Edition: 8. The Spanning Tree Algorithm and Protocol

Also Published As

Publication number Publication date
WO2017056140A1 (en) 2017-04-06
JP6518777B2 (en) 2019-05-22
JPWO2017056140A1 (en) 2018-05-10
KR102037013B1 (en) 2019-10-25

Similar Documents

Publication Publication Date Title
EP3619896B1 (en) Mechanism and apparatus for path protection when using compressed segment routing label stacks
US9485172B2 (en) Data transmitting device, data transmitting method and non-transitory computer-readable storage medium
CN104980349B (en) Relay system and exchange apparatus
US9847933B2 (en) End-to-end multipathing through network having switching devices compatible with different protocols
US9503361B2 (en) Active/static path redundancy
US8672566B2 (en) Node apparatus and communication method
CA2922541C (en) Buffer-less virtual routing
US9853859B2 (en) Network element and a controller for managing the network element
CN109698788A (en) Flow forwarding method and flow forwarding device
WO2009090723A1 (en) Packet transmission device and its control circuit
KR20150120517A (en) Control apparatus, communication system, switch control method and program
JP2005102157A (en) Packet transfer method and transfer apparatus
US9497105B2 (en) Node, mesh communication network and routing reconfiguration method
US9197585B2 (en) Apparatus and method for relaying a packet transmitted from and to an information processor
KR102037013B1 (en) Network systems and network nodes
CN105959129B (en) The method and device of monitoring network failure
US11042430B2 (en) Elastic consistency high availability in multiple boards
JP6915454B2 (en) Communication programs, communication methods and communication devices
JP5756043B2 (en) Communication device
JP4655758B2 (en) Link-down transfer method
US9001646B2 (en) Information transmission device, information transmission system and information transmission method
JP6099412B2 (en) Switch device, communication system, and transfer control method
CN105376130A (en) Relay system and relay device
US20180212860A1 (en) Automatically detecting potential microloop conditions associated with network convergence
JP6272264B2 (en) Information processing apparatus and network 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