KR102271947B1 - Method for automatic route configuration in Dual-path network - Google Patents

Method for automatic route configuration in Dual-path network Download PDF

Info

Publication number
KR102271947B1
KR102271947B1 KR1020190090399A KR20190090399A KR102271947B1 KR 102271947 B1 KR102271947 B1 KR 102271947B1 KR 1020190090399 A KR1020190090399 A KR 1020190090399A KR 20190090399 A KR20190090399 A KR 20190090399A KR 102271947 B1 KR102271947 B1 KR 102271947B1
Authority
KR
South Korea
Prior art keywords
node
message
path
route
port
Prior art date
Application number
KR1020190090399A
Other languages
Korean (ko)
Other versions
KR20210012524A (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 KR1020190090399A priority Critical patent/KR102271947B1/en
Priority to PCT/KR2019/009301 priority patent/WO2021015349A1/en
Publication of KR20210012524A publication Critical patent/KR20210012524A/en
Application granted granted Critical
Publication of KR102271947B1 publication Critical patent/KR102271947B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

이중 경로의 이더넷 프레임의 헤더 정보를 이용해 송신지와 수신지의 노드의 최단 경로를 자동으로 설정하는 방법이 제공된다. 본 발명의 실시예에 따른 자동 경로 설정 방법은, 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및 이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 제2 단계;를 포함한다. 이에 의해, 최단 경로를 파악하기 위한 별도의 과정 및 이에 따른 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있으며, Auto-Configuration Mechanism을 수행하는데 소비하는 대역폭을 줄일 수 있다. 또한, 고장 시, Auto-Configuration Mechanism을 다시 수행해야 하는 불편함이 없어, 고장에 대한 복구를 더 신속하게 수행할 수 있다. A method for automatically setting the shortest path between the nodes of the source and destination by using header information of the dual path Ethernet frame is provided. An automatic path setting method according to an embodiment of the present invention comprises: a first step of configuring a path table while transmitting and receiving messages between a first node and a second node constituting a dual path network; and a second step of configuring, by the third node constituting the dual path network, its own path table using messages transmitted and received between the first node and the second node. Accordingly, it is possible to transfer data quickly without consuming a separate process for identifying the shortest path and delay time accordingly, and it is possible to reduce the bandwidth consumed for performing the Auto-Configuration Mechanism. In addition, there is no inconvenience of having to perform the Auto-Configuration Mechanism again in the event of a failure, so that recovery from the failure can be performed more quickly.

Description

이중 경로 네트워크에서의 자동 경로 설정 방법{Method for automatic route configuration in Dual-path network}{Method for automatic route configuration in Dual-path network}

본 발명은 이중 경로에 적합한 통신 방법에 관한 것으로, 더욱 상세하게는 이중의 경로를 갖으며 이웃 노드를 경유해 목적지까지 도달하는 네트워크의 이더넷 프레임의 헤더 정보를 이용해 송신지와 수신지의 최단 경로를 자동으로 설정하는 방법에 관한 것이다.The present invention relates to a communication method suitable for a dual path, and more particularly, it uses the header information of an Ethernet frame of a network that has a dual path and arrives at a destination via a neighbor node to determine the shortest path between the source and destination. How to set it automatically.

항공기, 철도 및 스마트 공장과 같은 높은 신뢰도를 요구하는 산업 영역에서 수많은 전자시스템들을 제어하기 위한 데이터 버스의 요구 성능이 증가하였다.In industrial fields that require high reliability, such as aircraft, railways and smart factories, the required performance of data buses to control numerous electronic systems has increased.

특히, 신뢰성과 편의성이 뛰어난 이더넷 기술을 바탕으로 하는 HSR(High-availability Seamless Redundancy) 또는 AeroRing 등의 프로토콜이 개발되었다.In particular, protocols such as High-availability Seamless Redundancy (HSR) or AeroRing based on Ethernet technology with excellent reliability and convenience have been developed.

그러나 HSR은 Seamless Redundancy를 위해서 링 내의 노드는 양방향으로 데이터를 전송하기 때문에, 중요도가 낮아 단방향으로만 전송하는 데이터에 대하여 최단 경로를 제공하지 못하는 불편함이 존재한다. However, since the nodes in the ring transmit data in both directions for Seamless Redundancy, HSR has a disadvantage in that it cannot provide the shortest path for data transmitted only in one direction due to its low importance.

또한, AeroRing은 데이터의 중요도 또는 QoS(Quality of Service)에 따라서 우선 순위가 높은 데이터는 양방향으로 전송하지만 그렇지 않은 중요도가 낮은 데이터는 양방향으로 보내지 않고 단방향으로만 보낼 수 있으나, 최단 경로를 파악하기 위해서 데이터를 전송하기 전에 특별한 과정을 거친다. In addition, AeroRing transmits high-priority data in both directions according to the importance of data or Quality of Service (QoS), but data with low importance is not transmitted in both directions, but only in one direction. Before sending data, it goes through a special process.

Auto-Configuration Mechanism라고 불리는 과정은 게이트웨이가 자신의 주소를 담아 제어 메시지를 링에 보내고, 이 메시지를 수신한 각 노드들은 자신의 주소를 추가하여 전달하여, 한바퀴를 돌아 게이트웨이이 도착한 메시지에는 링 내 모든 노드의 주소 정보가 담기게 되는데, 이를 다시 링 내 모든 노드에게 전달하여 링의 정보를 공유하는 방식으로 최단 경로를 파악할 수 있다. In a process called Auto-Configuration Mechanism, the gateway sends a control message with its own address to the ring, and each node that receives this message adds and forwards its own address. address information is included, and the shortest path can be identified by sending it back to all nodes in the ring and sharing the ring information.

즉, AeroRing은 이러한 Auto-Configuration Mechanism 과정을 최단 경로를 알기 위해서, 항상 수행해야 하므로 이를 위한 지연 시간이 발생한다는 불편함이 존재한다. That is, since AeroRing must always perform this Auto-Configuration Mechanism process in order to know the shortest path, there is an inconvenience that a delay time for this occurs.

따라서, 별도의 과정 없이도 최단 경로를 파악하여, 최단 경로를 파악하기 위한 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있는 방안의 모색이 요구된다. Therefore, it is required to find a way to quickly transfer data by identifying the shortest path without a separate process, and without consuming a delay time for identifying the shortest path.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, 이중 경로를 갖는 네트워크의 이더넷 프레임의 헤더 정보를 이용해 송신지와 수신지의 노드의 최단 경로를 자동으로 설정하여, 최단 경로를 파악하기 위한 별도의 과정 및 이에 따른 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있는 이중 경로 네트워크에서의 자동 경로 설정 방법을 제공함에 있다.The present invention has been devised to solve the above problems, and an object of the present invention is to automatically set the shortest path between the node of the source and destination using header information of an Ethernet frame of a network having a dual path, An object of the present invention is to provide an automatic path setting method in a dual path network that can transmit data quickly without consuming a separate process for identifying the shortest path and delay time accordingly.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 자동 경로 설정 방법은, 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및 이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 제2 단계;를 포함한다. According to an embodiment of the present invention for achieving the above object, an automatic path setting method includes: a first step of configuring a path table while transmitting and receiving messages between a first node and a second node constituting a dual path network; and a second step of configuring, by the third node constituting the dual path network, its own path table using messages transmitted and received between the first node and the second node.

그리고 제3 노드는, 자신의 경로 테이블에 자신과 제1 노드 및 제2 노드와의 최단 경로를 기록할 수 있다.In addition, the third node may record the shortest path between itself and the first node and the second node in its own path table.

또한, 각각의 노드는, 메시지를 송신하기 전에, 자신의 경로 테이블을 검색하여, 메시지 송신 시, 검색되는 최단 경로를 이용할 수 있다. In addition, each node can search its own route table before sending a message, and use the shortest route found when sending a message.

그리고 제1 단계는, 제1 노드가 양방향으로 메시지를 송신할 수 있다.And in the first step, the first node can transmit the message in both directions.

또한, 제1 단계는, 제2 노드가, 양방향 포트 중 먼저 메시지가 수신된 특정 방향 포트를 통해 제1 노드에 응답하고, 특정 방향 포트를 이용하는 경로를 제1 노드와 제2 노드 간 최단 경로로 자신의 경로 테이블에 기록할 수 있다.In addition, in the first step, the second node responds to the first node through a specific direction port through which a message was first received among the bidirectional ports, and a path using the specific direction port is set as the shortest path between the first node and the second node. You can write to your own route table.

그리고 제1 단계는, 제1 노드가, 메시지를 송신하기 이전에, 자신의 경로 테이블을 검색하고, 검색되는 제1 노드와 제2 노드 간 최단 경로가 없으면, 양방향으로 메시지를 송신할 수 있다.And in the first step, the first node searches its own route table before sending the message, and if there is no shortest route between the searched first node and the second node, the message can be transmitted in both directions.

또한, 제1 단계는, 제2 노드가, 양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드와 제2 노드 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록할 수 있다.Also, in the first step, the second node searches for the shortest path between the first node and the second node when a message is received through a specific direction port among the bidirectional ports, and if there is no shortest path to be searched, the message arrives A port can be written to its own route table as the shortest route.

그리고 제1 단계는, 제2 노드가 양방향 포트 중 특정 방향 포트를 통해 메시지가 수신되면, 반대 방향 포트를 통해 도착하는 중복된 메시지를 스킵할 수 있다.And in the first step, when the second node receives a message through a specific direction port among the bidirectional ports, the duplicate message arriving through the opposite direction port may be skipped.

또한, 제2 단계는, 제3 노드가, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록할 수 있다. In addition, in the second step, the third node may record the path of the message passing through it in its own path table.

그리고 각각의 경로 테이블은, 메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록됨으로써, 제3 노드가 제1 노드와 제2 노드 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않도록 할 수 있다. In addition, in each route table, information on whether a transmission message and a response message are received through a bidirectional port as well as a destination and a forwarding direction corresponding to the path of the message are recorded together, so that the third node is connected to the first node and the second node. If only one of the nodes receives the transmission message and the other node does not receive the response message, it is possible not to configure its own route table using the message.

또한, 제2 단계는, 제3 노드가, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록할 수 있다.In addition, in the second step, when a response message passes through itself, the third node may record whether the response message has passed by matching the path of the message.

그리고 제2 단계는, 제3 노드가, 메시지의 경로가 기록되고 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제할 수 있다.In the second step, the third node may delete the message path from its own path table when the message path is not recorded as traversed by the matching response message within a certain period of time after the message path is recorded.

또한, 메시지는, 우선 순위가 낮아, 최단 경로가 설정된 경우, 최단 경로를 따라 단방향으로 전송되도록 설정되는 메시지일 수 있다.In addition, the message may be a message set to be transmitted unidirectionally along the shortest path when the priority is low and the shortest path is set.

한편, 본 발명의 다른 실시예에 따른, 자동 경로 설정 시스템은, 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드 사이에 배치되는 제3 노드에 마련되어, 메시지를 송수신하는 통신부; 제3 노드에 마련되어, 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 프로세서;를 포함한다.On the other hand, according to another embodiment of the present invention, the automatic path setting system, provided in the third node disposed between the first node and the second node constituting the dual path network, the communication unit for transmitting and receiving a message; and a processor that is provided in the third node and configures its own route table by using the transmitted and received messages.

또한, 본 발명의 다른 실시예에 따른, 프로그램이 수록된 컴퓨터로 읽을 수 있는 기록매체는, 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및 이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여, 자신의 경로 테이블을 구성하는 제2 단계;를 실행할 수 있다. In addition, according to another embodiment of the present invention, a computer-readable recording medium having a program recorded therein may include: a first step of configuring a route table while transmitting and receiving messages between a first node and a second node constituting a dual-path network; and a second step in which the third node constituting the dual path network configures its own path table using messages transmitted and received between the first node and the second node.

그리고 본 발명의 다른 실시예에 따른, 자동 경로 설정 방법은 이중 경로 네트워크를 구성하는 노드가, 수신된 메시지를 다른 노드에 송신하기 전에, 자신의 경로 테이블을 검색하는 단계; 및 자신의 경로 테이블에 최단 경로가 검색되지 않으면, 양방향 포트를 통해 메시지가 송신된 이후, 응답 메시지가 수신되는 특정 방향 포트를 이용하는 경로를 자신의 경로 테이블에 최단 경로로 기록하는 단계;를 포함한다.And, according to another embodiment of the present invention, the automatic path setting method includes: searching, by a node constituting a dual path network, its own path table before transmitting a received message to another node; and if the shortest path is not found in the own path table, after the message is transmitted through the bidirectional port, recording the path using the specific direction port from which the response message is received as the shortest path in the own path table. .

또한, 본 발명의 다른 실시예에 따른, 자동 경로 설정 시스템은 이중 경로 네트워크를 구성하는 노드에 마련되며, 양방향 포트가 구비되어, 메시지의 송수신하는 통신부; 및 수신된 메시지를 다른 노드에 송신하기 전에, 자신의 경로 테이블을 검색하고, 자신의 경로 테이블에 최단 경로가 검색되지 않으면, 메시지가 송신된 이후, 응답 메시지가 수신되는 특정 방향 포트를 이용하는 경로를 자신의 경로 테이블에 최단 경로로 기록하는 프로세서;를 포함한다.In addition, according to another embodiment of the present invention, the automatic path setting system is provided in a node constituting a dual path network, the bidirectional port is provided, the communication unit for transmitting and receiving a message; and before sending the received message to another node, it searches its own route table, and if the shortest route is not found in its own route table, after the message is sent, a route using a specific direction port through which the response message is received and a processor that records the shortest path in its own path table.

이상 설명한 바와 같이, 본 발명의 실시예들에 따르면, 최단 경로를 파악하기 위한 별도의 과정 및 이에 따른 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있으며, Auto-Configuration Mechanism을 수행하는데 소비하는 대역폭을 줄일 수 있다.As described above, according to the embodiments of the present invention, data can be transferred quickly without consuming a separate process for identifying the shortest path and a corresponding delay time, and the Auto-Configuration Mechanism is consumed. bandwidth can be reduced.

또한, 본 발명의 실시예들에 따르면, 고장 시, Auto-Configuration Mechanism을 다시 수행해야 하는 불편함이 없어, 고장에 대한 복구를 더 신속하게 수행할 수 있다. In addition, according to the embodiments of the present invention, there is no inconvenience of performing the Auto-Configuration Mechanism again in the event of a failure, so that the repair of the failure can be performed more quickly.

도 1은 본 발명의 일 실시예에 따른 자동 경로 설정 방법의 설명에 제공되는 흐름도,
도 2 내지 도 4는 최단 경로 테이블을 구성하는 과정의 설명에 제공된 도면,
도 5 내지 도 6은 제3 노드의 최단 경로 테이블을 구성하는 과정의 설명에 제공된 도면,
도 7 내지 도 8은 제3 노드의 최단 경로 테이블을 검증하여 삭제하는 과정의 설명에 제공된 도면,
도 9는 본 발명의 일 실시예에 따른 자동 경로 설정 시스템의 설명에 제공되는 도면, 그리고
도 10은 본 발명의 다른 실시예에 따른 자동 경로 설정 방법의 설명에 제공되는 흐름도이다.
1 is a flowchart provided to explain an automatic route setting method according to an embodiment of the present invention;
2 to 4 are views provided for explanation of the process of constructing the shortest route table;
5 to 6 are diagrams provided for explanation of the process of configuring the shortest path table of the third node;
7 to 8 are diagrams provided to explain the process of verifying and deleting the shortest path table of the third node;
9 is a view provided for the description of an automatic route setting system according to an embodiment of the present invention, and
10 is a flowchart provided to explain an automatic route setting method according to another embodiment of the present invention.

이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, the present invention will be described in more detail with reference to the drawings.

도 1은 본 발명의 일 실시예에 따른 자동 경로 설정 방법의 설명에 제공되는 흐름도이며, 도 2 내지 도 4는 최단 경로 테이블을 구성하는 과정의 설명에 제공된 도면이다. 1 is a flowchart provided to explain an automatic path setting method according to an embodiment of the present invention, and FIGS. 2 to 4 are views provided to explain a process of constructing a shortest path table.

전술한 바와 같이 이중 경로 네트워크를 구성하는 각각의 노드는 우선순위 또는 중요도가 낮은 데이터를 단방향으로 전송하게 되는데, 최단 경로에 대한 정보가 없는 경우에는, 우선순위 또는 중요도가 낮은 데이터라도 양방향으로 전송하게 되기 때문에, 데이터의 신속한 전달을 위해, 최단 경로를 설정하는 것이 필요하다. As described above, each node constituting the dual path network transmits data with low priority or importance unidirectionally. Therefore, it is necessary to set the shortest path for rapid data transfer.

본 발명의 일 실시예에 따른 자동 경로 설정 방법은 이중 경로의 이더넷 프레임의 헤더 정보를 이용해 송신지와 수신지의 노드의 최단 경로를 자동으로 설정하여, 최단 경로를 파악하기 위한 별도의 과정 및 이에 따른 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있다.The automatic path setting method according to an embodiment of the present invention automatically sets the shortest path between the nodes of the sender and the destination using header information of the Ethernet frame of the dual path, a separate process for identifying the shortest path, and Data can be transferred quickly without consuming delay time.

이를 위해, 이중 경로 네트워크를 구성하는 제1 노드(10-1)와 제2 노드(10-2)는, 메시지(Msg)를 송수신하면서 경로 테이블을 구성하고, 이중 경로 네트워크를 구성하되, 제1 노드(10-1)와 제2 노드(10-2) 사이에 마련되는 제3 노드(10-3)가 제1 노드(10-1)와 제2 노드(10-2)가 송수신하는 메시지를 이용하여, 자신의 경로 테이블(Ta3)을 구성할 수 있다. To this end, the first node 10-1 and the second node 10-2 constituting the dual-path network configure a route table while transmitting and receiving messages Msg, and configure the dual-path network, but include the first A third node 10-3 provided between the node 10-1 and the second node 10-2 transmits and receives a message transmitted and received between the first node 10-1 and the second node 10-2. By using it, it is possible to configure its own route table Ta3.

각각의 노드는, 자신의 경로 테이블에 자신과 이중 경로를 구성하는 다른 노드 간의 최단 경로를 기록할 수 있다. Each node may record the shortest path between itself and another node constituting the dual path in its own path table.

이때, 제3 노드(10-3)는 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하여, 메시지의 출발지 또는 목적지가 아닌 경우에도, 최단 경로를 자동으로 설정할 수 있다. 즉, 제3 노드(10-3)는, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블(Ta3)에 기록하여, 자신의 경로 테이블(Ta3)에 자신과 제1 노드(10-1) 및/또는 자신과 제2 노드(10-2) 간의 최단 경로를 기록할 수 있다. In this case, the third node 10-3 may record the route of the message passing through it in its route table, and automatically set the shortest route even if it is not the source or destination of the message. That is, the third node 10-3 records the path of the message passing through it in its own path table Ta3, and records itself and the first node 10-1 and the first node 10-1 in its own path table Ta3. / Alternatively, the shortest path between itself and the second node 10 - 2 may be recorded.

또한, 이중 경로 네트워크를 구성하는 각각의 노드는, 메시지를 송신하기 전에, 자신의 경로 테이블을 검색하여, 메시지 송신 시, 검색되는 최단 경로를 이용할 수 있다. In addition, each node constituting the dual path network may search its own path table before transmitting a message, and use the searched shortest path when transmitting the message.

따라서, 제1 노드(10-1)는 메시지를 송신하기 이전에, 자신의 경로 테이블을 검색하고, 검색되는 제1 노드(10-1)와 제2 노드(10-2) 간 최단 경로가 없으면, 도 2에 예시된 바와 같이 양방향으로 메시지를 송신할 수 있다(S110). Therefore, before transmitting the message, the first node 10-1 searches its own route table, and if there is no shortest route between the first node 10-1 and the second node 10-2 to be searched, , as illustrated in FIG. 2 , it is possible to transmit a message in both directions (S110).

도 2 내지 도 4를 참조하여 설명하면, 제1 노드(10-1)가 메시지의 출발지인 T1이고, 제2 노드(10-2)가 메시지의 도착지인 T3인 경우, T2가 제3 노드(10-3)가 될 수 있다. 2 to 4 , when the first node 10-1 is T1 as the source of the message and the second node 10-2 is T3 as the destination of the message, T2 is the third node ( 10-3) can be

여기서 양방향은 시계 방향(cw) 및 반시계 방향(ccw)을 의미하며, 메시지는 우선 순위가 낮아, 최단 경로가 설정된 경우, 최단 경로를 따라 단방향으로 전송되도록 설정되는 메시지일 수 있다. Here, bidirectional means clockwise (cw) and counterclockwise (ccw), and when a message has a low priority and a shortest path is set, it may be a message set to be transmitted in one direction along the shortest path.

제1 노드(10-1)가 양방향으로 메시지를 송신하면(S110), 제3 노드(10-3)가 양방향에 마련된 포트 중 특정 방향의 포트를 통해 메시지를 수신하여, 수신된 방향의 포트의 경로를 자신의 경로 테이블(Ta3)에 기록하고(S120), 제2 노드(10-2)로 메시지를 송신할 수 있다(S130). When the first node 10-1 transmits a message in both directions (S110), the third node 10-3 receives the message through a port in a specific direction among ports provided in both directions, The route may be recorded in its own route table Ta3 (S120), and a message may be transmitted to the second node 10-2 (S130).

제2 노드(10-2)는 도 3에 예시된 바와 같이 양방향 포트 중 먼저 메시지가 수신된 특정 방향 포트를 이용하는 경로를 제1 노드(10-1)와 제2 노드(10-2) 간 최단 경로로 자신의 경로 테이블에 기록하고(S140), 먼저 메시지가 수신된 특정 방향 포트를 통해 제3 노드(10-3)에 응답(Reply)할 수 있다(S150). As illustrated in FIG. 3 , the second node 10-2 uses the shortest path between the first node 10-1 and the second node 10-2 using a specific direction port through which a message was first received among the bidirectional ports. A route may be recorded in its own route table (S140), and first, it may respond to the third node 10-3 through a specific direction port through which the message is received (S150).

예를 들면, 제2 노드(10-2)는, 양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드(10-1)와 제2 노드(10-2) 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록할 수 있다. For example, the second node 10-2 searches for a shortest path between the first node 10-1 and the second node 10-2 when a message is received through a specific direction port among the bidirectional ports. and, if there is no shortest path to be searched, the port to which the message arrived can be recorded in its own path table as the shortest path.

이때, 제2 노드(10-2)는 최단 경로가 검색되는 경우, 검색된 최단 경로를 통해, 응답 메시지(Reply)를 한 방향으로만 송신하게 된다. In this case, when the shortest path is searched for, the second node 10 - 2 transmits a response message (Reply) in only one direction through the searched shortest path.

그리고 제2 노드(10-2)는 양방향 포트 중 특정 방향 포트를 통해 메시지가 수신되면, 반대 방향 포트를 통해 도착하는 중복된 메시지를 스킵할 수 있다. In addition, when a message is received through a specific direction port among the bidirectional ports, the second node 10 - 2 may skip a duplicate message arriving through the opposite direction port.

구체적으로, 도 3에 예시된 바와 같이 T4, T5, T6, T7, T8, T9, T10 역시 제1 노드(10-1)로부터 메시지를 수신할 수 있으나, T4, T5, T6, T7, T8, T9, T10을 거쳐 전송되는 데이터는 T2을 거쳐 전송되는 데이터에 비해 늦게 제2 노드(10-2)에 도착하기 때문에, 중복된 메시지로 처리되어 스킵되게 된다. Specifically, as illustrated in FIG. 3 , T4, T5, T6, T7, T8, T9, and T10 may also receive a message from the first node 10-1, but T4, T5, T6, T7, T8, Since data transmitted through T9 and T10 arrives at the second node 10-2 later than data transmitted through T2, it is processed as a duplicate message and skipped.

제3 노드(10-3)는 제2 노드(10-2)로부터 응답 메시지를 수신하여, 메시지 경로(메시지가 수신된 방향의 포트의 경로)에 응답 메시지가 수신된 방향의 포트의 경로를 응답 메시지 경로로 매칭시켜 최단 경로로 기록하고(S160), 제1 노드(10-1)에 수신된 응답 메시지를 송신할 수 있다(S170). The third node 10-3 receives the response message from the second node 10-2, and responds to the message path (the path of the port in the direction in which the message was received) with the path of the port in the direction in which the response message was received. By matching the message path, the shortest path may be recorded (S160), and the received response message may be transmitted to the first node 10-1 (S170).

한편, 제1 노드(10-1)는 도 4에 예시된 바와 같이 제2 노드(10-2)로부터 제3 노드(10-3)를 거쳐 전송되는 응답 메시지를 수신하여, 응답 메시지가 도착한 특정 방향의 포트를 이용하는 경로를 최단 경로로 기록할 수 있다(S180). On the other hand, the first node 10-1 receives the response message transmitted from the second node 10-2 through the third node 10-3 as illustrated in FIG. A path using the port in the direction may be recorded as the shortest path (S180).

도 5 내지 도 6은 제3 노드(10-3)의 최단 경로 테이블을 구성하는 과정의 설명에 제공된 도면이고, 도 7 내지 도 8은 제3 노드(10-3)의 최단 경로 테이블을 검증하여 삭제하는 과정의 설명에 제공된 도면이다. 5 to 6 are diagrams provided to explain the process of configuring the shortest path table of the third node 10-3, and FIGS. 7 to 8 are views provided by verifying the shortest path table of the third node 10-3. It is a diagram provided for the description of the deletion process.

도 5 내지 도 8에 예시된 바와 같이 각각의 경로 테이블에는 메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록될 수 있다. As illustrated in FIGS. 5 to 8 , information on whether a transmission message and a response message are received through a bidirectional port and a destination and forwarding direction corresponding to a path of a message may be recorded together in each path table.

이를 통해, 제3 노드(10-3)는 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하여, 메시지의 출발지 또는 목적지가 아닌 경우에도, 최단 경로를 자동으로 설정할 수 있다. Through this, the third node 10-3 records the route of the message passing through it in its route table, and can automatically set the shortest route even if it is not the source or destination of the message.

즉, 제3 노드(10-3)는, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하여, 자신의 경로 테이블에 자신과 제1 노드(10-1) 및/또는 자신과 제2 노드(10-2) 간의 최단 경로를 기록할 수 있다. That is, the third node 10-3 records the path of the message passing through it in its own path table, and records itself and the first node 10-1 and/or itself and the second node in its own path table. The shortest path between the nodes 10-2 may be recorded.

반대로, 제3 노드(10-3)는, 제1 노드(10-1)와 제2 노드(10-2) 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않을 수 있다. Conversely, when the third node 10-3 receives a transmission message from only one of the first node 10-1 and the second node 10-2, and does not receive a response message from the other, You can not configure your own route table using messages.

예를 들면, 제3 노드(10-3)는, 도 5에 예시된 바와 같이 T2라고 가정하면, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록하고, 도 6에 예시된 바와 같이 메시지의 경로가 기록되고 일정 시간 이내에, T2인 제3 노드(10-3)의 경로 테이블에 매칭되는 응답 메시지가 거쳐간 것으로 기록되면, 자신의 경로 테이블을 구성하는 방식으로, 메시지의 출발지 또는 목적지가 아닌 경우에도, 최단 경로를 자동으로 설정할 수 있다.For example, assuming that the third node 10-3 is T2 as illustrated in FIG. 5 , when a response message passes through itself, the third node 10-3 records the fact that the response message has passed by matching the path of the message, As illustrated in FIG. 6 , within a certain time after the path of the message is recorded, if a response message matching the path table of the third node 10-3 that is T2 is recorded as passed, the method of configuring its own path table , even if the message is not the source or destination, the shortest route can be set automatically.

반대로, 제3 노드(10-3)가, 도 7에 예시된 바와 같이 T4라고 가정하면, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록하고, 도 8에 예시된 바와 같이 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제하여, 경로 테이블의 유효성을 검증할 수 있다. Conversely, assuming that the third node 10-3 is T4 as illustrated in FIG. 7 , when a response message passes through itself, the fact that the response message has passed is matched with the path of the message and recorded, and FIG. 8 As exemplified in , if the matching response message is not recorded as traversed within a certain period of time, the path of the message may be deleted from its own path table to verify the validity of the path table.

도 9는 본 발명의 일 실시예에 따른 자동 경로 설정 시스템의 설명에 제공되는 도면이다. 9 is a diagram provided to explain an automatic route setting system according to an embodiment of the present invention.

도 9를 참조하면, 본 발명의 일 실시예에 따른 자동 경로 설정 시스템은, 통신부(100), 프로세서(200) 및 저장부(300)를 포함한다.Referring to FIG. 9 , the automatic path setting system according to an embodiment of the present invention includes a communication unit 100 , a processor 200 , and a storage unit 300 .

통신부(100)는, 이중 경로 네트워크를 구성하는 각각의 노드에 마련되어, 다른 노드들과 연결되어, 이중 경로를 구성하도록 하는 통신 수단으로서, 두 개의 이더넷 포트가 마련되어, 메시지를 수신하고, 다른 노드로 메시지를 전송할 수 있다. The communication unit 100 is provided in each node constituting a dual path network, is connected to other nodes, and is a communication means to configure a dual path, and is provided with two Ethernet ports, receives a message, and sends a message to another node. message can be sent.

프로세서(200)는, 이중 경로 네트워크를 구성하는 각각의 노드에 마련되어, 메시지를 송수신하면서 경로 테이블을 구성하거나 또는 자신을 거쳐가는 메시지를 이용하여 자신의 경로 테이블을 구성할 수 있다. The processor 200 may be provided in each node constituting the dual path network and configure a path table while transmitting and receiving messages, or may configure its own path table using a message passing through itself.

또한, 프로세서(200)는, 메시지를 송신하기 전에, 자신의 경로 테이블을 검색하여, 메시지 송신 시, 검색되는 최단 경로를 이용할 수 있다. In addition, the processor 200 may search its own route table before transmitting the message, and use the shortest searched path when transmitting the message.

다른 예를 들면, 프로세서(200)는, 메시지를 다른 노드에 송신하기 전에, 자신의 경로 테이블을 검색하고, 자신의 경로 테이블에 최단 경로가 검색되지 않으면, 메시지가 송신된 이후, 응답 메시지가 수신되는 특정 방향 포트를 이용하는 경로를 자신의 경로 테이블에 최단 경로로 기록할 수 있다. For another example, the processor 200 searches its own route table before sending the message to another node, and if the shortest route is not found in its own route table, after the message is sent, the response message is received A route using a specific direction port can be recorded as the shortest route in its own route table.

저장부(300)는, 이중 경로 네트워크를 구성하는 각각의 노드에 마련되어, 프로세서(200)가 동작함에 있어 필요한 저장 공간을 제공하는 저장매체이다. 예를 들면, 저장부(300)는, 각각의 노드가 개별적으로 구성하는 자신의 경로 테이블을 저장할 수 있다. The storage unit 300 is a storage medium provided in each node constituting the dual path network to provide a storage space required for the processor 200 to operate. For example, the storage unit 300 may store its own path table configured by each node individually.

도 10은 본 발명의 다른 실시예에 따른 자동 경로 설정 방법의 설명에 제공되는 흐름도이다. 10 is a flowchart provided to explain an automatic route setting method according to another embodiment of the present invention.

도 10을 참조하면, 본 실시예에 따른 자동 경로 설정 방법은, 메시지의 출발지인 제1 노드(10-1)가 메시지를 송신하기 이전에, 자신의 경로 테이블을 검색하고(S1010), 검색 결과, 제1 노드(10-1)의 경로 테이블에 제2 노드(10-2)와의 최단 경로가 존재하면(S1020-Y), 검색된 최단 경로에 따라 제2 노드(10-2) 또는 제2 노드(10-2) 방향에 마련되는 제3 노드(10-3)에 메시지를 송신할 수 있다(S1030).Referring to FIG. 10, in the automatic route setting method according to the present embodiment, the first node 10-1, which is the source of the message, searches its own route table before transmitting the message (S1010), and the search result , if the shortest path with the second node 10-2 exists in the path table of the first node 10-1 (S1020-Y), the second node 10-2 or the second node according to the searched shortest path A message may be transmitted to the third node 10-3 provided in the direction (10-2) (S1030).

반대로, 검색 결과, 메시지의 도착지인 제2 노드(10-2)와의 최단 경로가 없으면(S1020-N), 양방향으로 메시지를 송신할 수 있다(S1040). Conversely, as a result of the search, if there is no shortest path to the second node 10-2, which is the destination of the message (S1020-N), the message can be transmitted in both directions (S1040).

제3 노드(10-3)는 특정 방향의 포트를 통해 제1 노드(10-1) 또는 제1 노드(10-1) 방향에 마련되는 다른 제3 노드(10-3)로부터 메시지를 수신하면, 메시지가 수신된 특정 방향의 포트를 이용하는 경로를 자신의 경로 테이블에 기록하고(S1050), 메시지가 수신된 특정 방향의 포트의 반대 방향의 포트를 통해 메시지를 송신하여(S1060), 반대 방향의 포트를 통해 제2 노드(10-2)로부터 응답 메시지를 수신하게 되면, 메시지 경로(메시지가 수신된 방향의 포트의 경로)에 응답 메시지가 수신된 방향의 포트의 경로를 응답 메시지 경로로 매칭시켜 최단 경로로 기록하고(S1070), 제1 노드(10-1)에 수신된 응답 메시지를 송신할 수 있다. When the third node 10-3 receives a message from the first node 10-1 or another third node 10-3 provided in the direction of the first node 10-1 through a port in a specific direction, , records the path using the port in the specific direction where the message is received in its own path table (S1050), and transmits the message through the port in the opposite direction to the port in the specific direction where the message is received (S1060), in the opposite direction When a response message is received from the second node 10-2 through the port, the path of the port in the direction in which the response message was received is matched to the message path (the path of the port in the direction in which the message was received) as the response message path. The shortest path may be recorded (S1070), and the received response message may be transmitted to the first node 10-1.

이를 통해, 제3 노드(10-3)는 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하여, 메시지의 출발지 또는 목적지가 아닌 경우에도, 최단 경로를 자동으로 설정할 수 있다.Through this, the third node 10-3 records the route of the message passing through it in its route table, and can automatically set the shortest route even if it is not the source or destination of the message.

한편, 본 실시예에 따른 장치와 방법의 기능을 수행하게 하는 컴퓨터 프로그램을 수록한 컴퓨터로 읽을 수 있는 기록매체에도 본 발명의 기술적 사상이 적용될 수 있음은 물론이다. 또한, 본 발명의 다양한 실시예에 따른 기술적 사상은 컴퓨터로 읽을 수 있는 기록매체에 기록된 컴퓨터로 읽을 수 있는 코드 형태로 구현될 수도 있다. 컴퓨터로 읽을 수 있는 기록매체는 컴퓨터에 의해 읽을 수 있고 데이터를 저장할 수 있는 어떤 데이터 저장 장치이더라도 가능하다. 예를 들어, 컴퓨터로 읽을 수 있는 기록매체는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광디스크, 하드 디스크 드라이브, 등이 될 수 있음은 물론이다. 또한, 컴퓨터로 읽을 수 있는 기록매체에 저장된 컴퓨터로 읽을 수 있는 코드 또는 프로그램은 컴퓨터간에 연결된 네트워크를 통해 전송될 수도 있다.On the other hand, it goes without saying that the technical idea of the present invention can also be applied to a computer-readable recording medium containing a computer program for performing the functions of the apparatus and method according to the present embodiment. In addition, the technical ideas according to various embodiments of the present invention may be implemented in the form of computer-readable codes recorded on a computer-readable recording medium. The computer-readable recording medium may be any data storage device readable by the computer and capable of storing data. For example, the computer-readable recording medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical disk, hard disk drive, or the like. In addition, the computer-readable code or program stored in the computer-readable recording medium may be transmitted through a network connected between computers.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, although preferred embodiments of the present invention have been illustrated and described above, the present invention is not limited to the specific embodiments described above, and the technical field to which the present invention belongs without departing from the gist of the present invention as claimed in the claims Various modifications are possible by those of ordinary skill in the art, and these modifications should not be individually understood from the technical spirit or prospect of the present invention.

10 : 노드
100 : 통신부
200 : 프로세서
300 : 저장부
10 : node
100: communication department
200 : processor
300: storage

Claims (17)

이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및
이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 제2 단계;를 포함하고,
제3 노드는,
자신의 경로 테이블에 자신과 제1 노드 및 제2 노드와의 최단 경로를 기록하며,
제1 단계는,
제1 노드가 양방향으로 메시지를 송신하고,
제1 단계는,
제2 노드가, 양방향 포트 중 먼저 메시지가 수신된 특정 방향 포트를 통해 제1 노드에 응답하고, 특정 방향 포트를 이용하는 경로를 제1 노드와 제2 노드 간 최단 경로로 자신의 경로 테이블에 기록하며,
제1 단계는,
제2 노드가, 양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드와 제2 노드 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록하고,
제1 단계는,
제2 노드가 양방향 포트 중 특정 방향 포트를 통해 메시지가 수신되면, 반대 방향 포트를 통해 도착하는 중복된 메시지를 스킵하고,
제2 단계는,
제3 노드가, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하며,
각각의 경로 테이블은,
메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록됨으로써, 제3 노드가 제1 노드와 제2 노드 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않도록 하며,
제2 단계는,
제3 노드가, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록하고,
제3 노드가, 메시지의 경로가 기록되고 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제함으로써, 경로 테이블의 유효성을 검증하는 것을 특징으로 하는 자동 경로 설정 방법.
a first step of configuring a route table while transmitting and receiving messages between a first node and a second node constituting a dual-path network; and
a second step of configuring, by the third node constituting the dual path network, its own path table using messages transmitted and received between the first node and the second node;
The third node is
Records the shortest path between itself and the first node and the second node in its own path table,
The first step is
The first node sends a message in both directions,
The first step is
The second node responds to the first node through the specific direction port through which the message is received first among the bidirectional ports, and records the path using the specific direction port as the shortest path between the first node and the second node in its path table, ,
The first step is
When the second node receives a message through a specific direction port among the bidirectional ports, it searches for the shortest path between the first node and the second node. If there is no shortest path to be searched, the port where the message arrived is used as the shortest path. write to the route table,
The first step is
When the second node receives a message through a specific direction port among the bidirectional ports, it skips a duplicate message arriving through the opposite direction port,
The second step is
The third node records the path of the message passing through it in its path table,
Each route table is
By recording the destination and forwarding direction corresponding to the message path, and information on whether a transmission message and a response message are received through the bidirectional port, respectively, the third node transmits the transmission message only from either one of the first node and the second node. , and if the other does not receive a response message, do not use the message to configure its own route table,
The second step is
When the third node passes through the response message, it records whether the response message has passed by matching the path of the message;
The third node verifies the validity of the route table by deleting the route of the message from its route table when the matching response message is not recorded as traversed within a certain time after the route of the message is recorded. How to set up automatic routes.
삭제delete 청구항 1에 있어서,
각각의 노드는,
메시지를 송신하기 전에, 자신의 경로 테이블을 검색하여, 메시지 송신 시, 검색되는 최단 경로를 이용하는 것을 특징으로 하는 자동 경로 설정 방법.
The method according to claim 1,
Each node is
An automatic route setting method, characterized in that before sending a message, searching its own route table, and using the shortest route found when sending a message.
삭제delete 삭제delete 청구항 1에 있어서,
제1 단계는,
제1 노드가, 메시지를 송신하기 이전에, 자신의 경로 테이블을 검색하고, 검색되는 제1 노드와 제2 노드 간 최단 경로가 없으면, 양방향으로 메시지를 송신하는 것을 특징으로 하는 자동 경로 설정 방법.
The method according to claim 1,
The first step is
An automatic route setting method, characterized in that the first node searches its route table before sending the message, and if there is no shortest route between the first node and the second node to be searched, the message is transmitted in both directions.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 청구항 1에 있어서,
메시지는,
우선 순위가 낮아, 최단 경로가 설정된 경우, 최단 경로를 따라 단방향으로 전송되도록 설정되는 메시지인 것을 특징으로 하는 자동 경로 설정 방법.
The method according to claim 1,
message is,
If the priority is low and the shortest path is set, the message is set to be transmitted unidirectionally along the shortest path.
이중 경로 네트워크를 구성하는 제1 노드와 제2 노드 사이에 배치되는 제3 노드에 마련되어, 메시지를 송수신하는 통신부;
제3 노드에 마련되어, 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 프로세서;를 포함하고,
프로세서는,
자신의 경로 테이블에 자신과 제1 노드 및 제2 노드와의 최단 경로를 기록하며,
제1 노드는, 양방향으로 메시지를 송신하고,
제2 노드는,
양방향 포트 중 먼저 메시지가 수신된 특정 방향 포트를 통해 제1 노드에 응답하고, 특정 방향 포트를 이용하는 경로를 제1 노드와 제2 노드 간 최단 경로로 자신의 경로 테이블에 기록하며,
제2 노드는,
양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드와 제2 노드 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록하고,
제2 노드는,
양방향 포트 중 특정 방향 포트를 통해 메시지가 수신되면, 반대 방향 포트를 통해 도착하는 중복된 메시지를 스킵하고,
프로세서는,
자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하며,
각각의 경로 테이블은,
메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록됨으로써, 제3 노드가 제1 노드와 제2 노드 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않도록 하며,
프로세서는,
응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록하고,
메시지의 경로가 기록되고 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제함으로써, 경로 테이블의 유효성을 검증하는 것을 특징으로 하는 자동 경로 설정 시스템.
a communication unit provided in a third node disposed between the first node and the second node constituting the dual path network to transmit and receive messages;
A processor that is provided in the third node and configures its own route table using messages transmitted and received;
The processor is
Records the shortest path between itself and the first node and the second node in its own path table,
The first node sends a message in both directions,
The second node is
Among the bidirectional ports, the first node responds to the first node through the specific direction port from which the message is received, and records the path using the specific direction port as the shortest path between the first node and the second node in its own path table,
The second node is
When a message is received through a specific direction port among the bidirectional ports, the shortest path between the first node and the second node is searched. If there is no searched shortest path, the port where the message arrived is recorded as the shortest path in its own path table ,
The second node is
When a message is received through a port in a specific direction among bidirectional ports, the duplicate message arriving through the port in the opposite direction is skipped,
The processor is
It records the path of the message passing through it in its own path table,
Each route table is
By recording the destination and forwarding direction corresponding to the message path, and information on whether a transmission message and a response message are received through the bidirectional port, respectively, the third node transmits the transmission message only from either one of the first node and the second node. , and if the other does not receive a response message, do not use the message to configure its own route table,
The processor is
When a response message passes through itself, it records whether the response message has passed by matching the path of the message,
An automatic route setting system, characterized in that the validity of the route table is verified by deleting the route of the message from its route table when the route of the message is recorded and the matching response message is not recorded as traversed within a certain period of time.
이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및
이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여, 자신의 경로 테이블을 구성하는 제2 단계;를 포함하고,
제3 노드는,
자신의 경로 테이블에 자신과 제1 노드 및 제2 노드와의 최단 경로를 기록하며,
제1 단계는,
제1 노드가 양방향으로 메시지를 송신하고,
제1 단계는,
제2 노드가, 양방향 포트 중 먼저 메시지가 수신된 특정 방향 포트를 통해 제1 노드에 응답하고, 특정 방향 포트를 이용하는 경로를 제1 노드와 제2 노드 간 최단 경로로 자신의 경로 테이블에 기록하며,
제1 단계는,
제2 노드가, 양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드와 제2 노드 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록하고,
제1 단계는,
제2 노드가 양방향 포트 중 특정 방향 포트를 통해 메시지가 수신되면, 반대 방향 포트를 통해 도착하는 중복된 메시지를 스킵하고,
제2 단계는,
제3 노드가, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하며,
각각의 경로 테이블은,
메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록됨으로써, 제3 노드가 제1 노드와 제2 노드 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않도록 하며,
제2 단계는,
제3 노드가, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록하고,
제3 노드가, 메시지의 경로가 기록되고 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제함으로써, 경로 테이블의 유효성을 검증하는 것을 특징으로 하는 자동 경로 설정 방법을 수행하는 컴퓨터 프로그램이 수록된 컴퓨터로 읽을 수 있는 기록매체.
a first step of configuring a route table while transmitting and receiving messages between a first node and a second node constituting a dual-path network; and
a second step of configuring, by the third node constituting the dual path network, its own path table using messages transmitted and received between the first node and the second node;
The third node is
Records the shortest path between itself and the first node and the second node in its own path table,
The first step is
The first node sends a message in both directions,
The first step is
The second node responds to the first node through the specific direction port through which the message is received first among the bidirectional ports, and records the path using the specific direction port as the shortest path between the first node and the second node in its path table, ,
The first step is
When the second node receives a message through a specific direction port among the bidirectional ports, it searches for the shortest path between the first node and the second node. If there is no shortest path to be searched, the port where the message arrived is used as the shortest path. write to the route table,
The first step is
When the second node receives a message through a specific direction port among the bidirectional ports, it skips a duplicate message arriving through the opposite direction port,
The second step is
The third node records the path of the message passing through it in its path table,
Each route table is
By recording the destination and forwarding direction corresponding to the message path, and information on whether a transmission message and a response message are received through the bidirectional port, respectively, the third node transmits the transmission message only from either one of the first node and the second node. , and if the other does not receive a response message, do not use the message to configure its own route table,
The second step is
When the third node passes through the response message, it records whether the response message has passed by matching the path of the message;
The third node verifies the validity of the route table by deleting the route of the message from its route table when the matching response message is not recorded as traversed within a certain time after the route of the message is recorded. A computer-readable recording medium containing a computer program that performs an automatic path setting method.
삭제delete 삭제delete
KR1020190090399A 2019-07-25 2019-07-25 Method for automatic route configuration in Dual-path network KR102271947B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020190090399A KR102271947B1 (en) 2019-07-25 2019-07-25 Method for automatic route configuration in Dual-path network
PCT/KR2019/009301 WO2021015349A1 (en) 2019-07-25 2019-07-26 Method for automatically setting route in dual route network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190090399A KR102271947B1 (en) 2019-07-25 2019-07-25 Method for automatic route configuration in Dual-path network

Publications (2)

Publication Number Publication Date
KR20210012524A KR20210012524A (en) 2021-02-03
KR102271947B1 true KR102271947B1 (en) 2021-07-02

Family

ID=74193784

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190090399A KR102271947B1 (en) 2019-07-25 2019-07-25 Method for automatic route configuration in Dual-path network

Country Status (2)

Country Link
KR (1) KR102271947B1 (en)
WO (1) WO2021015349A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348107A (en) * 2002-05-29 2003-12-05 Nec Corp Two-way linked network, route selecting method used therefor, and program thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100501908B1 (en) * 2003-11-13 2005-07-25 한국전자통신연구원 Method for deciding a optimal path in a RPR network
US9184998B2 (en) * 2013-03-14 2015-11-10 Qualcomm Incorporated Distributed path update in hybrid networks
US9544247B2 (en) * 2013-03-15 2017-01-10 Innovasic, Inc. Packet data traffic management apparatus
US9503361B2 (en) * 2014-06-13 2016-11-22 Cisco Technology, Inc. Active/static path redundancy

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348107A (en) * 2002-05-29 2003-12-05 Nec Corp Two-way linked network, route selecting method used therefor, and program thereof

Also Published As

Publication number Publication date
KR20210012524A (en) 2021-02-03
WO2021015349A1 (en) 2021-01-28

Similar Documents

Publication Publication Date Title
KR102033999B1 (en) Method and apparatus for communication in content centric network
US8208368B2 (en) Method and apparatus to enable a hybrid synchronous/asynchronous routing protocol
US9380005B2 (en) Reliable transportation of a stream of packets using packet replication
JP4619806B2 (en) Propagating multiple copies of Internet Protocol packets
US20030016663A1 (en) Bus protocol
WO2015062452A1 (en) Ad-hoc on-demand routing through central control
US9203752B2 (en) Method, apparatus, and system for forwarding packet in multi-topology network
WO2019201209A1 (en) Message forwarding
KR102563888B1 (en) Method, apparatus and computer program for deduplicating data frame
JP4068545B2 (en) Packet receiving method and apparatus
US20030016677A1 (en) Fabric bus architeture
KR101210211B1 (en) Apparatus and Method for controlling Multicast in multi hop networks
KR102271947B1 (en) Method for automatic route configuration in Dual-path network
US8249101B2 (en) Mobile ad hoc network configured as a virtual internet protocol network
CN109347746B (en) MAC address learning method and device
WO2015074550A1 (en) Network service processing method, adapter, and network service processing system
US20120054310A1 (en) Terminal, intermediate node and communication method of the same
JP5287759B2 (en) Network system and route search method
CN109995658A (en) The method and apparatus for sending, receiving and E-Packeting
CN107070787B (en) Default route revocation method and device
KR102161951B1 (en) Method for Control message delivery for automatic route configuration in ring topology network
JP6061303B2 (en) Bridge device, communication control device, communication control method, bridge program, and communication control program
CN113691446B (en) Method and device for sending message
KR20220095549A (en) Method of communication using reply message for duplexing message in ring topology
CN111556102B (en) Data channel establishing method, ethernet switch and storage medium

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant