WO2021015349A1 - Method for automatically setting route in dual route network - Google Patents

Method for automatically setting route in dual route network Download PDF

Info

Publication number
WO2021015349A1
WO2021015349A1 PCT/KR2019/009301 KR2019009301W WO2021015349A1 WO 2021015349 A1 WO2021015349 A1 WO 2021015349A1 KR 2019009301 W KR2019009301 W KR 2019009301W WO 2021015349 A1 WO2021015349 A1 WO 2021015349A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
route
message
path
shortest
Prior art date
Application number
PCT/KR2019/009301
Other languages
French (fr)
Korean (ko)
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 WO2021015349A1 publication Critical patent/WO2021015349A1/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

Definitions

  • the present invention relates to a communication method suitable for a dual path, and more particularly, a shortest path between a transmission destination and a destination using header information of an Ethernet frame of a network that has a dual path and reaches a destination via a neighbor node. It's about how to set it up automatically.
  • AeroRing transmits high-priority data in both directions depending on the importance of the data or QoS (Quality of Service), but data with low importance does not send in both directions, but can be sent only in one direction, but to determine the shortest path. Before sending data, it goes through a special process.
  • QoS Quality of Service
  • the gateway sends a control message with its own address to the ring, and each node that receives this message adds its own address and forwards it, and the message that the gateway arrives in one round is sent to all nodes in the ring.
  • the address information of is included, and the shortest path can be identified by transmitting it to all nodes in the ring to share the ring information.
  • the present invention was conceived to solve the above problems, and an object of the present invention is to automatically set the shortest paths of nodes of a source and a destination using header information of an Ethernet frame of a network having a dual path, A separate process for identifying the shortest path and an automatic path setting method in a dual path network capable of quickly transmitting data without consuming a delay time accordingly and a separate process are provided.
  • an automatic route setting method includes: a first step of constructing a route table while a first node and a second node constituting a dual route network transmit and receive messages; And a second step of configuring its own route table by using a message transmitted and received by the first node and the second node by the third node constituting the dual route network.
  • the third node may record the shortest path between itself and the first node and the second node in its own path table.
  • each node may search its own route table before sending a message, and use the shortest route to be searched when sending a message.
  • the first node may transmit a message in both directions.
  • the second node responds to the first node through a specific direction port from which the message was first received among the bidirectional ports, and the path using the specific direction port is set as the shortest path between the first node and the second node. You can write your own route table.
  • the first node searches its own route table before transmitting the message, and if there is no shortest path between the searched first node and the second node, the message can be transmitted in both directions.
  • the second node searches for the shortest path between the first node and the second node, and if there is no shortest path to be searched, the message arrives. You can write the port to your own route table as the shortest route.
  • the duplicated message arriving through the opposite direction port may be skipped.
  • the third node may record a path of a message passing through it in its own route table.
  • each route table records information on whether a transmission message and a response message are respectively received through a destination and a delivery direction corresponding to the message path, and a bidirectional port, so that the third node is connected to the first node and the second node. If only one of the nodes receives a transmission message and the other does not receive a response message, it is possible not to configure its own route table using the message.
  • the third node may match and record whether the response message has passed through the path of the message.
  • the third node may delete the message path from its own path table if the message path is recorded and the matching response message is not recorded within a predetermined time.
  • the message may be a message set to be transmitted in one direction along the shortest path when the priority is low and the shortest path is set.
  • an automatic route setting system includes a communication unit provided in a third node disposed between a first node and a second node constituting a dual route network, and transmitting and receiving messages; It includes; a processor that is provided in the third node and configures its own route table using messages transmitted and received.
  • a computer-readable recording medium containing a program includes: a first step of configuring a route table while a first node and a second node constituting a dual route network transmit and receive messages; And a second step of configuring its own route table, by using a message transmitted and received by the first node and the second node by the third node constituting the dual-path network.
  • a method for automatically setting a route includes the steps of, by a node constituting a dual-path network, searching its own route table before transmitting a received message to another node; And if the shortest path is not found in the own route table, after the message is transmitted through the bidirectional port, recording a route using a specific direction port to which the response message is received as the shortest route in the own route table. .
  • an automatic route setting system is provided in a node constituting a dual route network, and a communication unit is provided with a bidirectional port to transmit and receive messages; And before sending the received message to another node, search its own route table, and if the shortest route is not found in its own route table, after the message is transmitted, a route using a specific direction port to which the response message is received. It includes; a processor that records the shortest path in its own path table.
  • a separate process for identifying the shortest path and a delay time accordingly are not consumed, data can be quickly transferred, and the auto-configuration mechanism is consumed. You can reduce the bandwidth.
  • FIG. 1 is a flow chart provided to explain a method for automatically setting a route according to an embodiment of the present invention
  • 5 to 6 are diagrams provided for explanation of a process of configuring a shortest route table of a third node
  • 7 to 8 are diagrams provided for explaining a process of verifying and deleting the shortest path table of a third node
  • FIG. 9 is a diagram provided to explain an automatic route setting system according to an embodiment of the present invention.
  • FIG. 10 is a flowchart for explaining an automatic route setting method according to another embodiment of the present invention.
  • FIGS. 2 to 4 are diagrams provided for explaining a process of configuring a shortest route table.
  • each node constituting a dual-path network transmits data of low priority or importance in one direction. If there is no information on the shortest path, even data of low priority or importance is transmitted in both directions. Therefore, it is necessary to set the shortest path for rapid data transfer.
  • a separate process for identifying the shortest path by automatically setting the shortest paths of nodes of a transmission destination and a destination using header information of a dual path Ethernet frame, and Data can be delivered quickly without consuming the corresponding delay time.
  • the first node 10-1 and the second node 10-2 constituting the dual-path network construct a route table while transmitting and receiving a message Msg, and construct a dual-path network
  • the third node 10-3 provided between the node 10-1 and the second node 10-2 transmits and receives messages transmitted and received by the first node 10-1 and the second node 10-2.
  • Each node can record the shortest path between itself and other nodes constituting the dual path in its path table.
  • 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 when the message is not the origin or destination. That is, the third node 10-3 records the route of the message passing through it in its own route table Ta3, and the third node 10-3 records itself, the first node 10-1 and the first node 10-1 in its own route table Ta3. / Or it is possible to record the shortest path between itself and the second node (10-2).
  • each node constituting the dual-path network may search its own route table before transmitting a message, and use the shortest route searched when transmitting a message.
  • the first node 10-1 searches its own route table, and if there is no shortest route between the searched first node 10-1 and the second node 10-2, , As illustrated in FIG. 2, a message can be transmitted in both directions (S110).
  • T2 is the third node ( 10-3) can be.
  • the two-way direction means a clockwise direction (cw) and a counterclockwise direction (ccw), and the message may be a message set to be transmitted in one direction along the shortest path when the priority is low and the shortest path is set.
  • the third node 10-3 receives a 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).
  • the second node 10-2 uses a path using a specific direction port from which a message was received first among the two-way ports, as the shortest path between the first node 10-1 and the second node 10-2.
  • the route is recorded in its own route table (S140), and first, a reply to the third node 10-3 through a specific direction port from which the message is received (S150).
  • the second node 10-2 searches for the shortest path between the first node 10-1 and the second node 10-2. And, if there is no shortest path to be searched, the port to which the message has arrived can be recorded in its own path table as the shortest path.
  • the second node 10-2 transmits a response message (Reply) in only one direction through the searched shortest path.
  • the second node 10-2 may skip a duplicate message arriving through the opposite direction port.
  • T4, T5, T6, T7, T8, T9, and T10 can also receive messages 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 the data transmitted through T2, it is processed as a duplicate message and is skipped.
  • the third node 10-3 receives a response message from the second node 10-2 and responds to the path of the port in the direction in which the response message was received in the message path (the path of the port in the direction where the message was received).
  • the message path is matched and recorded as the shortest path (S160), and the received response message may be transmitted to the first node 10-1 (S170).
  • the first node 10-1 receives a response message transmitted from the second node 10-2 through the third node 10-3 as illustrated in FIG.
  • the path using the port in the direction may be recorded as the shortest path (S180).
  • FIGS. 7 to 8 are diagrams provided by verifying the shortest path table of the third node 10-3. It is a diagram provided for explanation of the deletion process.
  • information on whether a transmission message and a response message are respectively received through a destination and a delivery direction corresponding to a path of a message and a bidirectional port may be recorded in each route table.
  • 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 when the message is not the origin or destination.
  • the third node 10-3 records the route of the message passing through it in its own route table, and the third node 10-3 records itself and the first node 10-1 and/or itself and the second in its route table. It is possible to record the shortest path between nodes 10-2.
  • the third node 10-3 receives a transmission message only from 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.
  • the third node 10-3 is T2 as illustrated in FIG. 5, when the response message passes through itself, the third node 10-3 matches and records the fact that the response message has passed with the path of the message, As illustrated in FIG. 6, if a response message matching the route table of the third node 10-3, which is T2, is recorded as passing within a predetermined time after the route of the message is recorded, the route table is configured. , Even if it is not the origin or destination of the message, the shortest route can be automatically set.
  • the third node 10-3 is T4 as illustrated in FIG. 7, when the response message passes through itself, the fact that the response message has passed is matched to the path of the message and recorded. As illustrated in FIG. 2, if the matching response message is not recorded as passing through within a certain time, the validity of the route table can be verified by deleting the route of the message from the route table.
  • FIG. 9 is a diagram provided to explain an automatic route setting system according to an embodiment of the present invention.
  • the automatic route setting system includes a communication unit 100, a processor 200, and a storage unit 300.
  • the communication unit 100 is a communication means provided in each node constituting a dual path network and connected to other nodes to form a dual path, and two Ethernet ports are provided to receive messages, and to other nodes. You can send a message.
  • the processor 200 may be provided in each node constituting a dual path network, and may configure a path table while transmitting and receiving messages, or may configure its own path table using a message passing through itself.
  • the processor 200 may search its own route table before transmitting the message, and use the shortest route searched when transmitting the message.
  • 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 transmitted, the response message is received. You can record the route that uses a specific direction port in your own route table as the shortest route.
  • the storage unit 300 is a storage medium that is provided in each node constituting a dual path network and provides a storage space necessary for the processor 200 to operate.
  • the storage unit 300 may store its own route table individually configured by each node.
  • FIG. 10 is a flowchart for explaining an automatic route setting method according to another embodiment of the present invention.
  • the first node 10-1 which is the origin of the message, transmits the message, it searches its own route table (S1010), and the search result , If the shortest path to 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 (10-2) direction (S1030).
  • the message can be transmitted in both directions (S1040).
  • the third node 10-3 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, , The route using the port in the specific direction from which the message was received is recorded in its route table (S1050), and the message is transmitted through the port in the opposite direction to the port in the specific direction from which the message was received (S1060), When a response message is received from the second node 10-2 through the port, the path of the port in the direction where the response message is received is matched with the response message path with the message path (the path of the port in the direction from which the message is received). The shortest path may be recorded (S1070) and the received response message may be transmitted to the first node 10-1.
  • 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 when the message is not the origin or destination.
  • a computer-readable recording medium containing a computer program that performs functions of the apparatus and method according to the present embodiment.
  • the technical idea according to various embodiments of the present disclosure may be implemented in the form of a computer-readable code recorded on a computer-readable recording medium.
  • the computer-readable recording medium can be any data storage device that can be read by a computer and can store data.
  • a computer-readable recording medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical disk, hard disk drive, or the like.
  • a computer-readable code or program stored in a computer-readable recording medium may be transmitted through a network connected between computers.

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

Provided is a method for automatically setting the shortest route between nodes of a transmission location and a reception location by using header information about a dual route Ethernet frame. A method for automatically setting a route, according to an embodiment of the present invention, comprises: a first step in which first and second nodes forming a dual route network form a route table while transmitting and receiving a message; and a second step in which a third node forming the dual route network forms a route table of the third node by using the message transmitted and received between the first and second nodes. Therefore, data can be quickly delivered without a separate process for identifying the shortest route, and delay time consumption according to the separate process, and a bandwidth used for performing an auto-configuration mechanism can be reduced. In addition, when an error occurs, there is no inconvenience of the auto-configuration mechanism having to be performed again, and thus recovery for the error can be more quickly performed.

Description

이중 경로 네트워크에서의 자동 경로 설정 방법Automatic routing method in dual path network
본 발명은 이중 경로에 적합한 통신 방법에 관한 것으로, 더욱 상세하게는 이중의 경로를 갖으며 이웃 노드를 경유해 목적지까지 도달하는 네트워크의 이더넷 프레임의 헤더 정보를 이용해 송신지와 수신지의 최단 경로를 자동으로 설정하는 방법에 관한 것이다.The present invention relates to a communication method suitable for a dual path, and more particularly, a shortest path between a transmission destination and a destination using header information of an Ethernet frame of a network that has a dual path and reaches a destination via a neighbor node. It's about how to set it up automatically.
항공기, 철도 및 스마트 공장과 같은 높은 신뢰도를 요구하는 산업 영역에서 수많은 전자시스템들을 제어하기 위한 데이터 버스의 요구 성능이 증가하였다.In industrial areas that require high reliability, such as aircraft, railways and smart factories, the required performance of data buses for controlling 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, in HSR, since nodes in the ring transmit data in both directions for seamless redundancy, the importance of the HSR is low and there is an inconvenience in that the shortest path cannot be provided for data transmitted only in one direction.
또한, AeroRing은 데이터의 중요도 또는 QoS(Quality of Service)에 따라서 우선 순위가 높은 데이터는 양방향으로 전송하지만 그렇지 않은 중요도가 낮은 데이터는 양방향으로 보내지 않고 단방향으로만 보낼 수 있으나, 최단 경로를 파악하기 위해서 데이터를 전송하기 전에 특별한 과정을 거친다. In addition, AeroRing transmits high-priority data in both directions depending on the importance of the data or QoS (Quality of Service), but data with low importance does not send in both directions, but can be sent only in one direction, but to determine the shortest path. 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 its own address and forwards it, and the message that the gateway arrives in one round is sent to all nodes in the ring. The address information of is included, and the shortest path can be identified by transmitting it to all nodes in the ring to share 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 is generated for this.
따라서, 별도의 과정 없이도 최단 경로를 파악하여, 최단 경로를 파악하기 위한 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있는 방안의 모색이 요구된다. Accordingly, there is a need to find a method that can quickly transfer data without consuming a delay time for identifying the shortest path by identifying the shortest path without a separate process.
본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, 이중 경로를 갖는 네트워크의 이더넷 프레임의 헤더 정보를 이용해 송신지와 수신지의 노드의 최단 경로를 자동으로 설정하여, 최단 경로를 파악하기 위한 별도의 과정 및 이에 따른 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있는 이중 경로 네트워크에서의 자동 경로 설정 방법을 제공함에 있다.The present invention was conceived to solve the above problems, and an object of the present invention is to automatically set the shortest paths of nodes of a source and a destination using header information of an Ethernet frame of a network having a dual path, A separate process for identifying the shortest path and an automatic path setting method in a dual path network capable of quickly transmitting data without consuming a delay time accordingly and a separate process are provided.
상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 자동 경로 설정 방법은, 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및 이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 제2 단계;를 포함한다. According to an embodiment of the present invention for achieving the above object, an automatic route setting method includes: a first step of constructing a route table while a first node and a second node constituting a dual route network transmit and receive messages; And a second step of configuring its own route table by using a message transmitted and received by the first node and the second node by the third node constituting the dual route network.
그리고 제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 may search its own route table before sending a message, and use the shortest route to be searched when sending a message.
그리고 제1 단계는, 제1 노드가 양방향으로 메시지를 송신할 수 있다.And in the first step, the first node may transmit a 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 from which the message was first received among the bidirectional ports, and the path using the specific direction port is set as the shortest path between the first node and the second node. You can write your own route table.
그리고 제1 단계는, 제1 노드가, 메시지를 송신하기 이전에, 자신의 경로 테이블을 검색하고, 검색되는 제1 노드와 제2 노드 간 최단 경로가 없으면, 양방향으로 메시지를 송신할 수 있다.In the first step, the first node searches its own route table before transmitting the message, and if there is no shortest path between the searched first node and the second node, the message can be transmitted in both directions.
또한, 제1 단계는, 제2 노드가, 양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드와 제2 노드 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록할 수 있다.In addition, in the first step, when a message is received through a specific direction port among the bidirectional ports, the second node searches for the shortest path between the first node and the second node, and if there is no shortest path to be searched, the message arrives. You can write the port to your own route table as the shortest route.
그리고 제1 단계는, 제2 노드가 양방향 포트 중 특정 방향 포트를 통해 메시지가 수신되면, 반대 방향 포트를 통해 도착하는 중복된 메시지를 스킵할 수 있다.In the first step, when the second node receives a message through a specific direction port among the bidirectional ports, the duplicated message arriving through the opposite direction port may be skipped.
또한, 제2 단계는, 제3 노드가, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록할 수 있다. Also, in the second step, the third node may record a path of a message passing through it in its own route table.
그리고 각각의 경로 테이블은, 메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록됨으로써, 제3 노드가 제1 노드와 제2 노드 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않도록 할 수 있다. In addition, each route table records information on whether a transmission message and a response message are respectively received through a destination and a delivery direction corresponding to the message path, and a bidirectional port, so that the third node is connected to the first node and the second node. If only one of the nodes receives a transmission message and the other does not receive a response message, it is possible not to configure its own route table using the message.
또한, 제2 단계는, 제3 노드가, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록할 수 있다.In the second step, when the response message passes through itself, the third node may match and record whether the response message has passed through the path of the message.
그리고 제2 단계는, 제3 노드가, 메시지의 경로가 기록되고 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제할 수 있다.In the second step, the third node may delete the message path from its own path table if the message path is recorded and the matching response message is not recorded within a predetermined time.
또한, 메시지는, 우선 순위가 낮아, 최단 경로가 설정된 경우, 최단 경로를 따라 단방향으로 전송되도록 설정되는 메시지일 수 있다.In addition, the message may be a message set to be transmitted in one direction 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, an automatic route setting system includes a communication unit provided in a third node disposed between a first node and a second node constituting a dual route network, and transmitting and receiving messages; It includes; a processor that is provided in the third node and configures its own route table using messages transmitted and received.
또한, 본 발명의 다른 실시예에 따른, 프로그램이 수록된 컴퓨터로 읽을 수 있는 기록매체는, 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및 이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여, 자신의 경로 테이블을 구성하는 제2 단계;를 실행할 수 있다. In addition, according to another embodiment of the present invention, a computer-readable recording medium containing a program includes: a first step of configuring a route table while a first node and a second node constituting a dual route network transmit and receive messages; And a second step of configuring its own route table, by using a message transmitted and received by the first node and the second node by the third node constituting the dual-path network.
그리고 본 발명의 다른 실시예에 따른, 자동 경로 설정 방법은 이중 경로 네트워크를 구성하는 노드가, 수신된 메시지를 다른 노드에 송신하기 전에, 자신의 경로 테이블을 검색하는 단계; 및 자신의 경로 테이블에 최단 경로가 검색되지 않으면, 양방향 포트를 통해 메시지가 송신된 이후, 응답 메시지가 수신되는 특정 방향 포트를 이용하는 경로를 자신의 경로 테이블에 최단 경로로 기록하는 단계;를 포함한다.In addition, according to another embodiment of the present invention, a method for automatically setting a route includes the steps of, by a node constituting a dual-path network, searching its own route table before transmitting a received message to another node; And if the shortest path is not found in the own route table, after the message is transmitted through the bidirectional port, recording a route using a specific direction port to which the response message is received as the shortest route in the own route table. .
또한, 본 발명의 다른 실시예에 따른, 자동 경로 설정 시스템은 이중 경로 네트워크를 구성하는 노드에 마련되며, 양방향 포트가 구비되어, 메시지의 송수신하는 통신부; 및 수신된 메시지를 다른 노드에 송신하기 전에, 자신의 경로 테이블을 검색하고, 자신의 경로 테이블에 최단 경로가 검색되지 않으면, 메시지가 송신된 이후, 응답 메시지가 수신되는 특정 방향 포트를 이용하는 경로를 자신의 경로 테이블에 최단 경로로 기록하는 프로세서;를 포함한다.In addition, according to another embodiment of the present invention, an automatic route setting system is provided in a node constituting a dual route network, and a communication unit is provided with a bidirectional port to transmit and receive messages; And before sending the received message to another node, search its own route table, and if the shortest route is not found in its own route table, after the message is transmitted, a route using a specific direction port to which the response message is received. It includes; 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, a separate process for identifying the shortest path and a delay time accordingly are not consumed, data can be quickly transferred, and the auto-configuration mechanism is consumed. You can reduce the bandwidth.
또한, 본 발명의 실시예들에 따르면, 고장 시, Auto-Configuration Mechanism을 다시 수행해야 하는 불편함이 없어, 고장에 대한 복구를 더 신속하게 수행할 수 있다. In addition, according to embodiments of the present invention, in case of a failure, there is no inconvenience of performing the Auto-Configuration Mechanism again, so that the failure can be recovered more quickly.
도 1은 본 발명의 일 실시예에 따른 자동 경로 설정 방법의 설명에 제공되는 흐름도, 1 is a flow chart provided to explain a method for automatically setting a route according to an embodiment of the present invention;
도 2 내지 도 4는 최단 경로 테이블을 구성하는 과정의 설명에 제공된 도면, 2 to 4 are diagrams provided for explanation of the process of configuring the shortest route table;
도 5 내지 도 6은 제3 노드의 최단 경로 테이블을 구성하는 과정의 설명에 제공된 도면,5 to 6 are diagrams provided for explanation of a process of configuring a shortest route table of a third node;
도 7 내지 도 8은 제3 노드의 최단 경로 테이블을 검증하여 삭제하는 과정의 설명에 제공된 도면,7 to 8 are diagrams provided for explaining a process of verifying and deleting the shortest path table of a third node;
도 9는 본 발명의 일 실시예에 따른 자동 경로 설정 시스템의 설명에 제공되는 도면, 그리고 9 is a diagram provided to explain an automatic route setting system according to an embodiment of the present invention, and
도 10은 본 발명의 다른 실시예에 따른 자동 경로 설정 방법의 설명에 제공되는 흐름도이다. 10 is a flowchart for explaining 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 a method for automatically setting a route according to an embodiment of the present invention, and FIGS. 2 to 4 are diagrams provided for explaining a process of configuring a shortest route table.
전술한 바와 같이 이중 경로 네트워크를 구성하는 각각의 노드는 우선순위 또는 중요도가 낮은 데이터를 단방향으로 전송하게 되는데, 최단 경로에 대한 정보가 없는 경우에는, 우선순위 또는 중요도가 낮은 데이터라도 양방향으로 전송하게 되기 때문에, 데이터의 신속한 전달을 위해, 최단 경로를 설정하는 것이 필요하다. As described above, each node constituting a dual-path network transmits data of low priority or importance in one direction.If there is no information on the shortest path, even data of low priority or importance is transmitted in both directions. Therefore, it is necessary to set the shortest path for rapid data transfer.
본 발명의 일 실시예에 따른 자동 경로 설정 방법은 이중 경로의 이더넷 프레임의 헤더 정보를 이용해 송신지와 수신지의 노드의 최단 경로를 자동으로 설정하여, 최단 경로를 파악하기 위한 별도의 과정 및 이에 따른 지연 시간을 소비하지 않고, 데이터를 신속하게 전달할 수 있다.In the automatic route setting method according to an embodiment of the present invention, a separate process for identifying the shortest path by automatically setting the shortest paths of nodes of a transmission destination and a destination using header information of a dual path Ethernet frame, and Data can be delivered quickly without consuming the corresponding 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 construct a route table while transmitting and receiving a message Msg, and construct a dual-path network, The third node 10-3 provided between the node 10-1 and the second node 10-2 transmits and receives messages transmitted and received by 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 can record the shortest path between itself and other nodes constituting the dual path in its path table.
이때, 제3 노드(10-3)는 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하여, 메시지의 출발지 또는 목적지가 아닌 경우에도, 최단 경로를 자동으로 설정할 수 있다. 즉, 제3 노드(10-3)는, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블(Ta3)에 기록하여, 자신의 경로 테이블(Ta3)에 자신과 제1 노드(10-1) 및/또는 자신과 제2 노드(10-2) 간의 최단 경로를 기록할 수 있다. At this time, 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 when the message is not the origin or destination. That is, the third node 10-3 records the route of the message passing through it in its own route table Ta3, and the third node 10-3 records itself, the first node 10-1 and the first node 10-1 in its own route table Ta3. / Or it is possible to record the shortest path between itself and the second node (10-2).
또한, 이중 경로 네트워크를 구성하는 각각의 노드는, 메시지를 송신하기 전에, 자신의 경로 테이블을 검색하여, 메시지 송신 시, 검색되는 최단 경로를 이용할 수 있다. In addition, each node constituting the dual-path network may search its own route table before transmitting a message, and use the shortest route searched when transmitting a message.
따라서, 제1 노드(10-1)는 메시지를 송신하기 이전에, 자신의 경로 테이블을 검색하고, 검색되는 제1 노드(10-1)와 제2 노드(10-2) 간 최단 경로가 없으면, 도 2에 예시된 바와 같이 양방향으로 메시지를 송신할 수 있다(S110). Therefore, before sending the message, the first node 10-1 searches its own route table, and if there is no shortest route between the searched first node 10-1 and the second node 10-2, , As illustrated in FIG. 2, a message can be transmitted 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 the origin of the message T1 and the second node 10-2 is the destination of the message T3, T2 is the third node ( 10-3) can be.
여기서 양방향은 시계 방향(cw) 및 반시계 방향(ccw)을 의미하며, 메시지는 우선 순위가 낮아, 최단 경로가 설정된 경우, 최단 경로를 따라 단방향으로 전송되도록 설정되는 메시지일 수 있다. Here, the two-way direction means a clockwise direction (cw) and a counterclockwise direction (ccw), and the message may be a message set to be transmitted in one direction along the shortest path when the priority is low and the shortest path is set.
제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 a 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 a path using a specific direction port from which a message was received first among the two-way ports, as the shortest path between the first node 10-1 and the second node 10-2. The route is recorded in its own route table (S140), and first, a reply to the third node 10-3 through a specific direction port from which the message is received (S150).
예를 들면, 제2 노드(10-2)는, 양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드(10-1)와 제2 노드(10-2) 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록할 수 있다. For example, when a message is received through a specific direction port among bidirectional ports, the second node 10-2 searches for the shortest path between the first node 10-1 and the second node 10-2. And, if there is no shortest path to be searched, the port to which the message has arrived can be recorded in its own path table as the shortest path.
이때, 제2 노드(10-2)는 최단 경로가 검색되는 경우, 검색된 최단 경로를 통해, 응답 메시지(Reply)를 한 방향으로만 송신하게 된다. At this time, when the shortest path is searched, 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 can also receive messages 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 the data transmitted through T2, it is processed as a duplicate message and is skipped.
제3 노드(10-3)는 제2 노드(10-2)로부터 응답 메시지를 수신하여, 메시지 경로(메시지가 수신된 방향의 포트의 경로)에 응답 메시지가 수신된 방향의 포트의 경로를 응답 메시지 경로로 매칭시켜 최단 경로로 기록하고(S160), 제1 노드(10-1)에 수신된 응답 메시지를 송신할 수 있다(S170). The third node 10-3 receives a response message from the second node 10-2 and responds to the path of the port in the direction in which the response message was received in the message path (the path of the port in the direction where the message was received). The message path is matched and recorded as the shortest path (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). Meanwhile, the first node 10-1 receives a response message transmitted from the second node 10-2 through the third node 10-3 as illustrated in FIG. The 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 for explaining the process of configuring the shortest path table of the third node 10-3, and FIGS. 7 to 8 are diagrams provided by verifying the shortest path table of the third node 10-3. It is a diagram provided for explanation of the deletion process.
도 5 내지 도 8에 예시된 바와 같이 각각의 경로 테이블에는 메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록될 수 있다. As illustrated in FIGS. 5 to 8, information on whether a transmission message and a response message are respectively received through a destination and a delivery direction corresponding to a path of a message and a bidirectional port may be recorded in each route 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 when the message is not the origin or destination.
즉, 제3 노드(10-3)는, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하여, 자신의 경로 테이블에 자신과 제1 노드(10-1) 및/또는 자신과 제2 노드(10-2) 간의 최단 경로를 기록할 수 있다. That is, the third node 10-3 records the route of the message passing through it in its own route table, and the third node 10-3 records itself and the first node 10-1 and/or itself and the second in its route table. It is possible to record the shortest path between nodes 10-2.
반대로, 제3 노드(10-3)는, 제1 노드(10-1)와 제2 노드(10-2) 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않을 수 있다. Conversely, when the third node 10-3 receives a transmission message only from 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 the response message passes through itself, the third node 10-3 matches and records the fact that the response message has passed with the path of the message, As illustrated in FIG. 6, if a response message matching the route table of the third node 10-3, which is T2, is recorded as passing within a predetermined time after the route of the message is recorded, the route table is configured. , Even if it is not the origin or destination of the message, the shortest route can be automatically set.
반대로, 제3 노드(10-3)가, 도 7에 예시된 바와 같이 T4라고 가정하면, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록하고, 도 8에 예시된 바와 같이 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제하여, 경로 테이블의 유효성을 검증할 수 있다. On the contrary, assuming that the third node 10-3 is T4 as illustrated in FIG. 7, when the response message passes through itself, the fact that the response message has passed is matched to the path of the message and recorded. As illustrated in FIG. 2, if the matching response message is not recorded as passing through within a certain time, the validity of the route table can be verified by deleting the route of the message from the route 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 route 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 a communication means provided in each node constituting a dual path network and connected to other nodes to form a dual path, and two Ethernet ports are provided to receive messages, and to other nodes. You can send a message.
프로세서(200)는, 이중 경로 네트워크를 구성하는 각각의 노드에 마련되어, 메시지를 송수신하면서 경로 테이블을 구성하거나 또는 자신을 거쳐가는 메시지를 이용하여 자신의 경로 테이블을 구성할 수 있다. The processor 200 may be provided in each node constituting a dual path network, and may 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 route searched 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 transmitted, the response message is received. You can record the route that uses a specific direction port in your own route table as the shortest route.
저장부(300)는, 이중 경로 네트워크를 구성하는 각각의 노드에 마련되어, 프로세서(200)가 동작함에 있어 필요한 저장 공간을 제공하는 저장매체이다. 예를 들면, 저장부(300)는, 각각의 노드가 개별적으로 구성하는 자신의 경로 테이블을 저장할 수 있다. The storage unit 300 is a storage medium that is provided in each node constituting a dual path network and provides a storage space necessary for the processor 200 to operate. For example, the storage unit 300 may store its own route table individually configured by each node.
도 10은 본 발명의 다른 실시예에 따른 자동 경로 설정 방법의 설명에 제공되는 흐름도이다. 10 is a flowchart for explaining 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, before the first node 10-1, which is the origin of the message, transmits the message, it searches its own route table (S1010), and the search result , If the shortest path to 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 (10-2) direction (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, , The route using the port in the specific direction from which the message was received is recorded in its route table (S1050), and the message is transmitted through the port in the opposite direction to the port in the specific direction from which the message was received (S1060), When a response message is received from the second node 10-2 through the port, the path of the port in the direction where the response message is received is matched with the response message path with the message path (the path of the port in the direction from which the message is received). 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 when the message is not the origin or destination.
한편, 본 실시예에 따른 장치와 방법의 기능을 수행하게 하는 컴퓨터 프로그램을 수록한 컴퓨터로 읽을 수 있는 기록매체에도 본 발명의 기술적 사상이 적용될 수 있음은 물론이다. 또한, 본 발명의 다양한 실시예에 따른 기술적 사상은 컴퓨터로 읽을 수 있는 기록매체에 기록된 컴퓨터로 읽을 수 있는 코드 형태로 구현될 수도 있다. 컴퓨터로 읽을 수 있는 기록매체는 컴퓨터에 의해 읽을 수 있고 데이터를 저장할 수 있는 어떤 데이터 저장 장치이더라도 가능하다. 예를 들어, 컴퓨터로 읽을 수 있는 기록매체는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광디스크, 하드 디스크 드라이브, 등이 될 수 있음은 물론이다. 또한, 컴퓨터로 읽을 수 있는 기록매체에 저장된 컴퓨터로 읽을 수 있는 코드 또는 프로그램은 컴퓨터간에 연결된 네트워크를 통해 전송될 수도 있다.Meanwhile, it goes without saying that the technical idea of the present invention can be applied to a computer-readable recording medium containing a computer program that performs functions of the apparatus and method according to the present embodiment. Further, the technical idea according to various embodiments of the present disclosure may be implemented in the form of a computer-readable code recorded on a computer-readable recording medium. The computer-readable recording medium can be any data storage device that can be read by a computer and can store data. For example, a computer-readable recording medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical disk, hard disk drive, or the like. Also, a computer-readable code or program stored in a computer-readable recording medium may be transmitted through a network connected between computers.
또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, although the 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 claimed in the claims. In addition, 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.

Claims (17)

  1. 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및 A first step of constructing a route table while the first node and the second node constituting the dual route network transmit and receive messages; And
    이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 제2 단계;를 포함하는 자동 경로 설정 방법.A second step of configuring its own route table by using a message transmitted/received by the first node and the second node by the third node constituting the dual-path network.
  2. 청구항 1에 있어서,The method according to claim 1,
    제3 노드는, The third node,
    자신의 경로 테이블에 자신과 제1 노드 및 제2 노드와의 최단 경로를 기록하는 것을 특징으로 하는 자동 경로 설정 방법.An automatic route setting method, characterized in that the shortest route between itself and the first node and the second node is recorded in the own route table.
  3. 청구항 2에 있어서,The method according to claim 2,
    각각의 노드는, Each node,
    메시지를 송신하기 전에, 자신의 경로 테이블을 검색하여, 메시지 송신 시, 검색되는 최단 경로를 이용하는 것을 특징으로 하는 자동 경로 설정 방법.An automatic route setting method, characterized in that before sending a message, a route table of itself is searched, and the shortest route to be searched when transmitting a message is used.
  4. 청구항 1에 있어서,The method according to claim 1,
    제1 단계는,The first step is,
    제1 노드가 양방향으로 메시지를 송신하는 것을 특징으로 하는 자동 경로 설정 방법.The automatic route setting method, characterized in that the first node transmits a message in both directions.
  5. 청구항 4에 있어서,The method of claim 4,
    제1 단계는,The first step is,
    제2 노드가, 양방향 포트 중 먼저 메시지가 수신된 특정 방향 포트를 통해 제1 노드에 응답하고, 특정 방향 포트를 이용하는 경로를 제1 노드와 제2 노드 간 최단 경로로 자신의 경로 테이블에 기록하는 것을 특징으로 하는 자동 경로 설정 방법.The second node responds to the first node through a specific direction port from which a message was received first among bidirectional ports, and records a route using the specific direction port in its own route table as the shortest route between the first node and the second node. Automatic route setting method, characterized in that.
  6. 청구항 5에 있어서,The method of claim 5,
    제1 단계는,The first step is,
    제1 노드가, 메시지를 송신하기 이전에, 자신의 경로 테이블을 검색하고, 검색되는 제1 노드와 제2 노드 간 최단 경로가 없으면, 양방향으로 메시지를 송신하는 것을 특징으로 하는 자동 경로 설정 방법.The first node, before transmitting the message, searches its own route table, and if there is no shortest route between the first node and the second node to be searched, transmits a message in both directions.
  7. 청구항 5에 있어서,The method of claim 5,
    제1 단계는,The first step is,
    제2 노드가, 양방향 포트 중 특정 방향 포트를 통해, 메시지가 수신되면, 제1 노드와 제2 노드 간 최단 경로를 검색하고, 검색되는 최단 경로가 없으면, 메시지가 도착한 포트를 최단 경로로 자신의 경로 테이블에 기록하는 것을 특징으로 하는 자동 경로 설정 방법.When a message is received through a specific direction port among the bidirectional ports, the second node searches for the shortest path between the first node and the second node, and if there is no shortest path to be searched, the port where the message arrives is used as the shortest path. Automatic route setting method, characterized in that recording in the route table.
  8. 청구항 5에 있어서,The method of claim 5,
    제1 단계는,The first step is,
    제2 노드가 양방향 포트 중 특정 방향 포트를 통해 메시지가 수신되면, 반대 방향 포트를 통해 도착하는 중복된 메시지를 스킵하는 것을 특징으로 하는 자동 경로 설정 방법.When the second node receives a message through a specific direction port among the bidirectional ports, the automatic route setting method comprising skipping duplicate messages arriving through the opposite direction port.
  9. 청구항 1에 있어서,The method according to claim 1,
    제2 단계는,The second step is,
    제3 노드가, 자신을 거쳐가는 메시지의 경로를 자신의 경로 테이블에 기록하는 것을 특징으로 하는 자동 경로 설정 방법.An automatic route setting method, characterized in that the third node records a route of a message going through itself in its own route table.
  10. 청구항 9에 있어서,The method of claim 9,
    각각의 경로 테이블은,Each route table,
    메시지의 경로에 해당하는 목적지 및 전달 방향과 양방향 포트를 통해 송신 메시지 및 응답 메시지가 각각 수신되는지 여부에 대한 정보가 함께 기록됨으로써, 제3 노드가 제1 노드와 제2 노드 중 어느 하나에서만 송신 메시지를 수신하고, 다른 하나에서는 응답 메시지를 수신하지 않는 경우, 메시지를 이용하여 자신의 경로 테이블을 구성하지 않도록 하는 것을 특징으로 하는 자동 경로 설정 방법.The destination and delivery direction corresponding to the path of the message and information on whether the transmission message and the response message are respectively received through the bidirectional port are recorded together, so that the third node sends the message only to either the first node or the second node. When receiving and the other does not receive a response message, the automatic route setting method, characterized in that not to configure its own route table using the message.
  11. 청구항 10에 있어서,The method of claim 10,
    제2 단계는,The second step is,
    제3 노드가, 응답 메시지가 자신을 거쳐가면, 응답 메시지가 거쳐간 사실 여부를 메시지의 경로에 매칭시켜 기록하는 것을 특징으로 하는 자동 경로 설정 방법.When the response message passes through itself, the third node matches and records whether the response message has passed with the path of the message.
  12. 청구항 11에 있어서,The method of claim 11,
    제2 단계는,The second step is,
    제3 노드가, 메시지의 경로가 기록되고 일정 시간 이내에, 매칭되는 응답 메시지가 거쳐간 것으로 기록되지 않는 경우, 메시지의 경로를 자신의 경로 테이블에서 삭제하는 것을 특징으로 하는 자동 경로 설정 방법.The third node, when the route of the message is recorded and within a certain period of time, if the matching response message is not recorded as being passed, the route of the message is deleted from its route table.
  13. 청구항 1에 있어서,The method according to claim 1,
    메시지는,The message is,
    우선 순위가 낮아, 최단 경로가 설정된 경우, 최단 경로를 따라 단방향으로 전송되도록 설정되는 메시지인 것을 특징으로 하는 자동 경로 설정 방법.When the priority is low and the shortest path is set, the automatic path setting method, characterized in that the message is set to be transmitted in one direction along the shortest path.
  14. 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드 사이에 배치되는 제3 노드에 마련되어, 메시지를 송수신하는 통신부;A communication unit provided in a third node disposed between a first node and a second node constituting a dual path network, and transmitting and receiving messages;
    제3 노드에 마련되어, 송수신하는 메시지를 이용하여 자신의 경로 테이블을 구성하는 프로세서;를 포함하는 자동 경로 설정 시스템.An automatic route setting system including a; processor provided in the third node and configuring its own route table using messages transmitted and received.
  15. 이중 경로 네트워크를 구성하는 제1 노드와 제2 노드가 메시지를 송수신하면서 경로 테이블을 구성하는 제1 단계; 및 A first step of constructing a route table while a first node and a second node constituting a dual route network transmit and receive messages; And
    이중 경로 네트워크를 구성하는 제3 노드가, 제1 노드와 제2 노드가 송수신하는 메시지를 이용하여, 자신의 경로 테이블을 구성하는 제2 단계;를 포함하는 자동 경로 설정 방법을 수행하는 컴퓨터 프로그램이 수록된 컴퓨터로 읽을 수 있는 기록매체.A computer program for performing an automatic route setting method including; a second step of configuring its own route table by using a message transmitted and received by the first node and the second node by the third node constituting the dual route network Recorded media that can be read by a computer.
  16. 이중 경로 네트워크를 구성하는 노드가, 수신된 메시지를 다른 노드에 송신하기 전에, 자신의 경로 테이블을 검색하는 단계; 및A step of, by a node constituting a dual path network, searching its own path table before transmitting the received message to another node; And
    자신의 경로 테이블에 최단 경로가 검색되지 않으면, 양방향 포트를 통해 메시지가 송신된 이후, 응답 메시지가 수신되는 특정 방향 포트를 이용하는 경로를 자신의 경로 테이블에 최단 경로로 기록하는 단계;를 포함하는 자동 경로 설정 방법.If the shortest path is not found in the own route table, after the message is transmitted through the bidirectional port, recording a route using a specific direction port to which the response message is received is recorded as the shortest route in the own route table. How to set the route.
  17. 이중 경로 네트워크를 구성하는 노드에 마련되며, 양방향 포트가 구비되어, 메시지의 송수신하는 통신부; 및A communication unit provided in a node constituting a dual path network and provided with a bidirectional port to transmit and receive messages; 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 route table, after the message is sent, the route using a specific direction port to which the response message is received is self-contained. Automatic route setting system comprising a; processor for recording the shortest route in the route table of.
PCT/KR2019/009301 2019-07-25 2019-07-26 Method for automatically setting route in dual route network WO2021015349A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2021015349A1 true WO2021015349A1 (en) 2021-01-28

Family

ID=74193784

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12034570B2 (en) 2022-03-14 2024-07-09 T-Mobile Usa, Inc. Multi-element routing system for mobile communications

Citations (5)

* 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
KR20050046272A (en) * 2003-11-13 2005-05-18 한국전자통신연구원 Method for deciding a optimal path in a rpr network
US20140269260A1 (en) * 2013-03-14 2014-09-18 Qualcomm Incorporated Distributed path update in hybrid networks
US20150365319A1 (en) * 2014-06-13 2015-12-17 Cisco Technology, Inc. Active/Static Path Redundancy
US20180019955A1 (en) * 2013-03-15 2018-01-18 Innovasic, Inc. Packet data traffic management apparatus

Patent Citations (5)

* 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
KR20050046272A (en) * 2003-11-13 2005-05-18 한국전자통신연구원 Method for deciding a optimal path in a rpr network
US20140269260A1 (en) * 2013-03-14 2014-09-18 Qualcomm Incorporated Distributed path update in hybrid networks
US20180019955A1 (en) * 2013-03-15 2018-01-18 Innovasic, Inc. Packet data traffic management apparatus
US20150365319A1 (en) * 2014-06-13 2015-12-17 Cisco Technology, Inc. Active/Static Path Redundancy

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12034570B2 (en) 2022-03-14 2024-07-09 T-Mobile Usa, Inc. Multi-element routing system for mobile communications

Also Published As

Publication number Publication date
KR20210012524A (en) 2021-02-03
KR102271947B1 (en) 2021-07-02

Similar Documents

Publication Publication Date Title
US5323384A (en) Method for establishing communication between tasks of a limited number of repeaters in a communication system
JP3309336B2 (en) Method and apparatus for providing a three-way connection between a mobile computing device, a fixed computing device, and a computer network
EP1180883B1 (en) Distributed source learning for data communication switch
US6853620B2 (en) Bus protocol
EP0156542A2 (en) Interconnection of communications networks
JPH05219064A (en) Method of transferring frame and bridge device
EP0526717A2 (en) Message stripping protocol for a communication network
JP2003174479A (en) Packet communication method and device therefor
CN101257447A (en) Method, system and routing apparatus of load sharing
US7818363B2 (en) Communications system, communications method, network manager, and transfer device
WO2018062625A1 (en) Method for removing data frame redundancy in network environment, and device and computer program for carrying out same
WO2021015349A1 (en) Method for automatically setting route in dual route network
US20030016677A1 (en) Fabric bus architeture
WO2018186681A1 (en) Device and method for setting transmission rules of data packet in software defined network
CN107241249B (en) Ethernet bus switch, Ethernet bus system and data communication method
WO2022227695A1 (en) Message transmission method, apparatus, and device
US20050165955A1 (en) Method of using a storage switch and apparatus using and controlling same
KR102161951B1 (en) Method for Control message delivery for automatic route configuration in ring topology network
WO2021157079A1 (en) Signal transfer system, terminal function device, proxy transfer agent device, and signal transfer method
JPS5963839A (en) Regenerative repeating device
JPH11331231A (en) Multiplex network system and its communication equipment
JPH0799833B2 (en) Data transmission method and device
KR20220095549A (en) Method of communication using reply message for duplexing message in ring topology
JP3640917B2 (en) Optical communication network and node, program and recording medium
JP2000049856A (en) Inter-network repeater

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19938917

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19938917

Country of ref document: EP

Kind code of ref document: A1