KR101623063B1 - Method for transmitting of control frame using detour link, node apparatus and system for the same - Google Patents

Method for transmitting of control frame using detour link, node apparatus and system for the same Download PDF

Info

Publication number
KR101623063B1
KR101623063B1 KR1020140125806A KR20140125806A KR101623063B1 KR 101623063 B1 KR101623063 B1 KR 101623063B1 KR 1020140125806 A KR1020140125806 A KR 1020140125806A KR 20140125806 A KR20140125806 A KR 20140125806A KR 101623063 B1 KR101623063 B1 KR 101623063B1
Authority
KR
South Korea
Prior art keywords
node
control frame
port
slave
slave node
Prior art date
Application number
KR1020140125806A
Other languages
Korean (ko)
Other versions
KR20160035139A (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 KR1020140125806A priority Critical patent/KR101623063B1/en
Publication of KR20160035139A publication Critical patent/KR20160035139A/en
Application granted granted Critical
Publication of KR101623063B1 publication Critical patent/KR101623063B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • H04L12/40182Flexible bus arrangements involving redundancy by using a plurality of communication lines
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0084Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring voltage only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

본 발명은 우회 경로를 이용한 제어 프레임 전송 방법에 관한 것으로, 더욱 상세하게는 산업용 네트워크를 구성하는 각각의 노드들 데이터 전송 경로 상에 인접 노드와 연결되는 제1 포트와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와 연결되는 제2 포트를 구비하며, 제1 포트를 통해 인접 노드로 제어 프레임 전송 시 장애가 발생된 경우, 제2 포트를 이용하여 다른 노드로 제어 프레임을 전송할 수 있는 우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템에 관한 것이다. The present invention relates to a control frame transmission method using a bypass path, and more particularly, to a control frame transmission method using a bypass path in which a first port connected to a neighboring node on a data transmission path of each node constituting an industrial network, And a second port connected to another node to which the second port is connected. In the case where a failure occurs in transmitting a control frame to the neighboring node through the first port, control using a detour path capable of transmitting a control frame to another node using the second port A frame transmission method, a node and a control frame transmission system therefor.

Description

우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템{METHOD FOR TRANSMITTING OF CONTROL FRAME USING DETOUR LINK, NODE APPARATUS AND SYSTEM FOR THE SAME}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a control frame transmission method using a bypass path, a node control frame transmission method,

본 발명은 우회 경로를 이용한 제어 프레임 전송 방법에 관한 것으로, 더욱 상세하게는 산업용 네트워크를 구성하는 각각의 노드들 연결 시 주 통신 라인과 별도의 통신 라인을 구비함으로써, 장애 발생에 보다 유연하게 대처할 수 있는 우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템에 관한 것이다. The present invention relates to a control frame transmission method using a bypass path, and more particularly, to a control frame transmission method using a bypass path, more specifically, by providing a communication line separate from a main communication line when connecting each node constituting an industrial network, A control frame transmission method using the bypass path, and a node and a control frame transmission system therefor.

이 부분에 기술된 내용은 단순히 본 실시 예에 대한 배경 정보를 제공할 뿐 종래기술을 구성하는 것은 아니다.The contents described in this section merely provide background information on the present embodiment and do not constitute the prior art.

자동차 산업이나 로봇 산업 등에 이용되는 산업용 네트워크 시스템은 산업현장에서 필요로 하는 다양한 요구 사항을 만족하기 위하여 끊임없는 발전을 거듭하고 있다. 1970년대 G사에 의해 개발되어 생산 자동화 네트워크의 발전을 이끌었던 MAP에서부터 PLC공정에 적합한 CC-Link, CAN 기반의 Device Net과 CAN Open, 모션제어 어플리케이션을 위한 통신 인터페이스인 SERCOS 등 다양한 산업용 네트워크들이 개발 및 발전해 왔다.The industrial network system used in the automobile industry or the robot industry has been continuously developed to meet various requirements required in the industrial field. Various industrial networks such as CC-Link, CAN-based DeviceNet and CAN Open, and SERCOS, which is a communication interface for motion control applications, developed and developed by G Company in the 1970s led to the development of production automation network, Has evolved.

그리고, 최근 들어 생산기술이 급속도로 발전함에 따라 보다 효율적이고 신뢰성 높은 결과를 얻기 위한 산업용 네트워크의 요구사항은 계속해서 증가하고 있다. 또한, 산업용 네트워크를 이용한 공장자동화 시스템에서의 액추에이터(Actuation) 레벨, 센서 레벨이 점차 디지털 신호 전송형태로 교체됨에 따라 다양한 마이크로프로세서를 이용한 지능형 스마트 액추에이터로의 통합의 필요성이 증가하고 있다.And recently, as the production technology rapidly develops, the requirements of the industrial network to obtain more efficient and reliable results are continuously increasing. In addition, since the actuator level and the sensor level in a factory automation system using an industrial network are gradually replaced with a digital signal transmission type, there is an increasing need for integration into an intelligent smart actuator using various microprocessors.

이와 같은 흐름에 발맞추어 최근 공장설비, 공정제어 설비, 빌딩자동화, 인프라 부문에서 사용되는 산업용 통신 네트워크에 이더넷(Ethernet)을 기반으로 하는 통신 프로토콜 시스템 적용이 주류로 부상하고 있다.In line with this trend, the application of communication protocol systems based on Ethernet is emerging as the mainstream for industrial communication networks used in factory facilities, process control facilities, building automation and infrastructure.

특히, 자동화 영역의 필요에 의해 탄생한 산업용 Ethernet 기술 즉 이더캣 기술은 공정 자동화, 전력 IT, 모션 분야 등 전산업 분야로 적용이 확산되고 있다. 이와 더불어 국외에서는 산업용 이더넷 시장의 선점을 위하여 Ethernet/IP, Profinet, 이더캣 등의 표준화 작업이 IEC에서 진행 중에 있다. 이러한 이더캣 통신은 성능이 뛰어나고 시스템의 구축비용이 기존의 산업용 이더넷 통신 시스템보다 저렴하며, 사용자들의 접근성이 뛰어나기 때문에 향후 산업용 이더넷의 대표적인 통신방식으로 대두되고 있으며 그에 따른 산업용 이더넷 통신 시스템 구축에 필요한 하드웨어의 개발이 이루어지고 있는 실정이다.Especially, the industrial Ethernet technology which is born by the necessity of the automation field, ie, Ethernet technology, is spreading to all industrial fields such as process automation, power IT, and motion. In addition, standardization work of Ethernet / IP, Profinet, Ethercat, etc. is going on in the IEC to prevail in industrial Ethernet market outside the country. Since the Ethernet communication is superior in performance, the cost of constructing the system is lower than that of the existing industrial Ethernet communication system, and the accessibility of the user is excellent, it is emerging as a typical communication method of the industrial Ethernet in the future and it is necessary to construct the industrial Ethernet communication system Hardware is being developed.

이러한 이더캣 기반 프레임 전송 방법 중 일례를 들면, 마스터 노드가 데이터 전송 경로 상에 연결된 각각의 슬레이브 노드로 전송하기 위한 제어 프레임을 생성하여 상기 슬레이브 노드로 전달하되, 이때의 생성된 제어 프레임은 슬레이브 노드 각각에 해당하는 제어 정보를 기록한 복수의 데이터 그램을 포함하여 구성한 후 슬레이브 노드로 전달하는 방식이 있다. For example, the master node generates a control frame for transmission to each slave node connected to the data transmission path and transmits the control frame to the slave node. At this time, the generated control frame is transmitted to the slave node A plurality of datagrams in which control information corresponding to each of the plurality of datagrams is recorded, and then transmitting the datagrams to the slave node.

그러나, 이 경우 마스터 노드 및 슬레이브 노드는 인접된 노드 간의 통신 라인을 형성함으로써, 연결된 인접 노드 또는 특정 통신 라인에 문제가 발생된 경우, 해당 노드 이후부터는 정보의 송수신이 불가능하게 된다. 또한, 특정 노드 또는 특정 통신 라인에 문제가 발생되더라도, 마스터 노드에서 이를 인지하기 까지 상당한 시간이 소요되며, 장애가 발생된 노드 또는 통신 라인을 복구하는 데까지 상당한 시간이 소요된다는 문제점이 있다. However, in this case, the master node and the slave node form a communication line between adjacent nodes, so that when a problem occurs in a connected adjacent node or a specific communication line, transmission / reception of information becomes impossible after the corresponding node. In addition, even if a problem occurs in a specific node or a specific communication line, it takes a considerable time to recognize it at the master node, and it takes a long time to recover the node or the communication line in which the failure occurs.

일반적으로 산업용 이더넷 통신 시스템이 적용되는 분야는 산업 자동화, 로봇 시스템 등 고속 및 안전이 중요시 되는데 상술한 바와 같이 종래 산업용 이더넷 통신 시스템은 장애에 대한 즉시 검출이 불가능하여, 결과적으로 시스템의 안정성을 보장하지 못하는 문제점이 있다. In general, industrial Ethernet communication systems are applied to industrial automation, robot systems, and the like. High speed and safety are important. As described above, conventional industrial Ethernet communication systems can not detect an obstacle immediately, There is a problem that can not be done.

한국공개특허 제2014-0021305호, 2014년 2월 20일 공개 (명칭: 통신 네트워크 시스템)Korean Patent Publication No. 2014-0021305, published on February 20, 2014 (name: communication network system)

본 발명은 상기한 종래의 문제점을 해결하기 위해 제안된 것으로서, 산업용 네트워크를 구성하는 각각의 노드들 연결 시 주 통신 라인과 별도의 통신 라인을 구비함으로써, 장애 발생에 보다 유연하게 대처할 수 있는 우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템을 제공하는 데 목적이 있다. SUMMARY OF THE INVENTION The present invention has been proposed in order to solve the above-described problems of the prior art, and it is an object of the present invention to provide a bypass communication method, A control frame transmission method using the same, and a node and a control frame transmission system for the same.

특히, 본 발명은 데이터 전송 경로 상에 인접 노드와 연결되는 제1 포트와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와 연결되는 제2 포트를 구비하며, 제1 포트를 통해 인접 노드로 제어 프레임 전송 시 장애가 발생된 경우, 제2 포트를 이용하여 다른 노드로 제어 프레임을 전송할 수 있는 우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템을 제공하는 데 그 목적이 있다. In particular, the present invention provides a data transmission system including a first port connected to a neighboring node on a data transmission path and a second port connected to at least another node between the adjacent nodes, A control frame transmission method using a bypass path that can transmit a control frame to another node using a second port when a failure occurs in transmission, and a node and a control frame transmission system therefor.

그러나, 이러한 본 발명의 목적은 상기의 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 명확하게 이해될 수 있을 것이다.However, the object of the present invention is not limited to the above-mentioned objects, and other objects not mentioned can be clearly understood from the following description.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 제어 프레임 전송 시스템은 데이터 전송 경로에 위치하는 각 슬레이브 노드의 동작 제어를 위한 제어 정보를 포함하는 제어 프레임을 생성하고, 생성된 상기 제어 프레임을 상기 데이터 전송 경로 후단에 연결된 인접 슬레이브 노드로 전달하는 마스터 노드; 및 상기 제어 프레임을 상기 데이터 전송 경로 전단에 위치한 상기 마스터 노드 또는 인접 슬레이브 노드로부터 수신하여, 상기 제어 프레임에서 자신에 해당하는 동작 제어를 위한 제어 정보를 확인하고, 상기 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 상기 마스터 노드 또는 다른 인접 슬레이브 노드로 전달하는 복수의 슬레이브 노드;를 포함하며, 상기 마스터 노드 및 슬레이브 노드는 인접 노드 간의 연결을 지원하는 제1 포트와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트를 포함하여 구성되며, 상기 제1 포트를 이용하여 상기 제어 프레임 전달 시 상기 인접 노드 또는 상기 인접 노드와 연결된 특정 라인에 장애가 발생한 경우, 상기 제2 포트를 이용하여 상기 제어 프레임을 전달할 수 있다. According to another aspect of the present invention, there is provided a control frame transmission system for generating control frames including control information for controlling operations of respective slave nodes located in a data transmission path, A master node for transferring a frame to a neighboring slave node connected to a downstream end of the data transmission path; And receiving the control frame from the master node or a neighboring slave node located at a preceding stage of the data transmission path to check control information for operation control corresponding to the control frame in the control frame, Wherein the master node and the slave node each include a first port for supporting connection between adjacent nodes and a second port for supporting connection between adjacent nodes, And a second port for supporting connection with a node, and when a failure occurs in a specific line connected to the adjacent node or the neighboring node during the transmission of the control frame using the first port, And transmit the control frame.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 마스터 노드는 데이터 전송 경로에 위치하는 복수의 슬레이브 노드로 순차적으로 전달될 수 있는 제어 프레임을 전송하는 마스터 통신부; 및 상기 데이터 전송 경로에 위치하는 각 슬레이브 노드의 동작 제어를 위한 제어 정보를 포함하는 제어 프레임을 생성하고, 생성된 상기 제어 프레임을 상기 마스터 통신부를 통해 상기 데이터 전송 경로 후단에 연결된 인접 슬레이브 노드로 전달하는 마스터 제어부;를 포함하며, 상기 마스터 통신부는 상기 인접 슬레이브 노드와의 연결을 지원하는 제1 포트와, 상기 인접 슬레이브 노드를 사이에 둔 다른 슬레이브 노드와의 연결을 지원하는 제2 포트를 포함하여 구성되며, 상기 마스터 제어부는 상기 제1 포트를 이용하여 상기 인접 슬레이브 노드로 상기 제어 프레임 전달 시 상기 인접 슬레이브 노드 또는 상기 인접 슬레이브 노드와 연결된 통신 라인에 장애가 발생한 경우, 상기 제2 포트를 통해 상기 다른 슬레이브 노드로 상기 제2 제어 프레임을 전달할 수 있다. According to an aspect of the present invention, there is provided a master node comprising: a master communication unit for transmitting a control frame that can be sequentially transmitted to a plurality of slave nodes located in a data transmission path; And control information for controlling the operation of each slave node located in the data transmission path, and transmits the generated control frame to the adjacent slave node connected to the rear end of the data transmission path through the master communication unit Wherein the master communication unit includes a second port for supporting a connection between the first slave node and a first port for supporting connection with the adjacent slave node, Wherein when the control frame is transmitted to the adjacent slave node using the first port, the master control unit transmits the control frame to the adjacent slave node or the adjacent slave node via the second port, The second control frame is transmitted to the slave node There can reach.

이때, 상기 마스터 제어부는 상기 통신 라인의 전압을 감지하여, 감지된 전압이 기 설정된 값 이하인 경우, 상기 통신 라인에 장애가 발생한 것으로 판단하거나, 상기 인접 슬레이브 노드로 상기 제어 프레임을 전달한 후 기 설정된 시간 이내 상기 인접 슬레이브 노드로부터 응답 정보 또는 상기 응답 정보를 포함하는 제어 프레임이 수신되지 않거나, 상기 데이터 전송 경로에 위치하는 모든 슬레이브 노드를 거쳐 전달된 제어 프레임에 상기 인접 슬레이브 노드에 대응하는 응답 정보가 포함되어 있지 않을 경우, 상기 인접 슬레이브 노드에 장애가 발생한 것으로 판단할 수 있다. At this time, the master control unit senses the voltage of the communication line, determines that a failure has occurred in the communication line when the sensed voltage is less than a preset value, The control frame including the response information or the response information is not received from the neighboring slave node or the response frame corresponding to the neighboring slave node is included in the control frame transmitted through all the slave nodes located in the data transmission path It can be determined that the neighboring slave node has failed.

또한, 상기 각각의 슬레이브 노드별 포트 연결 정보를 저장하는 마스터 저장부;를 더 포함하며, 상기 마스터 제어부는 상기 제1 포트를 통해 연결된 인접 슬레이브 노드와 상기 제2 포트를 통해 연결된 다른 슬레이브 노드 모두 장애가 발생된 것으로 판단되면, 상기 마스터 저장부에 기 저장된 상기 슬레이브 노드별 포트 연결 정보를 확인하여, 확인된 포트 연결 정보에 따라 해당하는 슬레이브 노드로 무선 통신 방식으로 상기 제어 프레임을 전달할 수 있다. The master control unit further includes a master storage unit for storing port connection information for each of the slave nodes, wherein the master control unit controls the slave node connected to the first port and the slave node connected to the second port, It is possible to confirm the port connection information for each slave node previously stored in the master storage unit and to transmit the control frame to the corresponding slave node according to the confirmed port connection information.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 슬레이브 노드는 데이터 전송 경로 전단에 위치한 마스터 노드 또는 다른 슬레이브 노드로부터 상기 마스터 노드가 전달한 제어 프레임을 수신하여 데이터 처리부로 전달하고, 상기 데이터 처리부의 제어에 따라 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 인접 노드로 전달하는 슬레이브 통신부; 상기 통신부를 통해 상기 제어 프레임이 전달되면, 상기 제어 프레임에서 해당하는 데이터 그램의 제어 정보를 확인하는 데이터 처리부; 및 상기 데이터 처리부에서 확인된 제어 정보에 대응하는 동작을 수행하는 동작 수행부;를 포함하며, 상기 슬레이브 통신부는 인접 노드 간의 연결을 지원하는 제1 포트와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트를 포함하여 구성되며, 상기 데이터 처리부는 상기 제1 포트를 이용하여 상기 제어 프레임 전달 시 상기 인접 노드 또는 상기 인접 노드와 연결된 특정 라인에 장애가 발생한 경우, 상기 제2 포트를 이용하여 상기 제어 프레임을 전달할 수 있다. According to an aspect of the present invention, a slave node receives a control frame transmitted from a master node or another slave node located at a preceding stage of a data transmission path, transfers the control frame to a data processing unit, A slave communication unit for transmitting a control frame to a neighboring node located downstream of the data transmission path under the control of the processing unit; A data processing unit for checking the control information of the corresponding datagram in the control frame when the control frame is transmitted through the communication unit; And an operation performing unit operable to perform an operation corresponding to the control information confirmed by the data processing unit, wherein the slave communication unit includes a first port for supporting connection between adjacent nodes, and at least another node And a second port for supporting a connection with the neighboring node or the neighboring node when the control frame is transmitted using the first port, Port to transmit the control frame.

이때, 상기 데이터 처리부는 상기 제1 포트를 통해 연결된 통신 라인의 전압을 감지하여, 감지된 전압이 기 설정된 값 이하인 경우, 상기 통신 라인에 장애가 발생한 것으로 판단하거나, 상기 인접 노드로 상기 제어 프레임을 전달한 후 기 설정된 시간 이내 상기 인접 노드로부터 응답 정보가 수신되지 않을 경우, 상기 인접 노드에 장애가 발생한 것으로 판단할 수 있다. At this time, the data processor senses a voltage of a communication line connected through the first port, determines that a fault has occurred in the communication line when the sensed voltage is less than a predetermined value, or transmits the control frame to the adjacent node When the response information is not received from the neighboring node within the set time, it can be determined that the failure has occurred in the neighboring node.

또한, 상기 데이터 처리부는 상기 인접 노드 및 상기 다른 노드 모두 장애가 발생된 것으로 판단되면, 상기 마스터 노드로 장애 발생을 보고하고, 상기 마스터 노드로부터 연결 가능한 또 다른 노드에 대한 정보가 수신되면, 상기 또 다른 노드로 무선 통신 방식으로 상기 제어 프레임을 전달할 수 있다. In addition, the data processing unit may report a failure occurrence to the master node when it is determined that a failure has occurred in both the neighbor node and the other node, and if information about another node connectable from the master node is received, And may transmit the control frame in a wireless communication manner to the node.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법은 마스터 노드 및 복수의 슬레이브 노드를 포함하는 제어 프레임 전송 시스템에 있어서, 어느 하나의 노드가 제1 포트를 통해 연결된 인접 노드로 제어 프레임을 전달하는 단계; 상기 어느 하나의 노드가 상기 인접 노드 또는 인접 노드 간 연결된 통신 라인의 장애를 감지하는 단계; 및 상기 어느 하나의 노드가 장애가 발생된 것으로 감지하면, 제2 포트를 통해 연결되며, 상기 인접 노드를 사이에 둔 다른 노드로 상기 제어 프레임을 전달하는 단계;를 포함하여 이뤄질 수 있다. According to another aspect of the present invention, there is provided a control frame transmission system including a master node and a plurality of slave nodes, Transmitting a control frame to a neighboring node connected thereto through a link; Detecting any one of the nodes having a fault in the communication line connected between the adjacent node or the adjacent node; And transmitting the control frame to another node connected to the neighboring node via the second port when the node detects that one of the nodes has failed.

이때, 상기 감지하는 단계는 상기 통신 라인의 전압을 감지하여, 감지된 전압이 기 설정된 값 이하인 경우, 상기 통신 라인에 장애가 발생한 것으로 판단하거나, 상기 인접 노드로 상기 제어 프레임을 전달한 후 기 설정된 시간 이내 상기 인접 노드로부터 응답 정보 또는 상기 응답 정보를 포함하는 제어 프레임이 수신되지 않거나, 상기 어느 하나의 노드가 상기 마스터 노드인 경우 상기 데이터 전송 경로에 위치하는 모든 슬레이브 노드를 거쳐 전달된 제어 프레임에 상기 인접 슬레이브 노드에 대응하는 응답 정보가 포함되어 있지 않을 경우, 상기 인접 노드에 장애가 발생한 것으로 판단할 수 있다. The sensing may include detecting a voltage of the communication line, determining that a failure has occurred in the communication line when the sensed voltage is less than a preset value, If the control frame including the response information or the response information is not received from the neighbor node or if the node is the master node, the control frame transmitted through all the slave nodes located in the data transmission path If the response information corresponding to the slave node is not included, it can be determined that a failure has occurred in the neighboring node.

또한, 상기 다른 노드로 상기 제어 프레임을 전달하는 단계 이후에, 상기 인접 노드 및 상기 다른 노드 모두 장애가 발생된 것으로 판단되면, 상기 마스터 노드에 기 저장된 슬레이브 노드별 포트 연결 정보를 확인하여, 확인된 포트 연결 정보에 따라 해당하는 슬레이브 노드로 무선 통신 방식으로 상기 제어 프레임을 전달할 수 있다. If it is determined that a failure has occurred in both the neighboring node and the other node after the step of transmitting the control frame to the other node, port connection information for each slave node previously stored in the master node is checked, And can transmit the control frame to the corresponding slave node according to the connection information in a wireless communication manner.

추가로 본 발명은 상술한 바와 같인 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법을 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체를 제공할 수 있다.Furthermore, the present invention can provide a computer readable recording medium on which a program for executing a control frame transmission method using a bypass path according to the above-described embodiment is recorded.

본 발명의 우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템에 의하면, 데이터 전송 경로 상에 인접 노드와 연결되는 제1 포트와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와 연결되는 제2 포트를 구비하며, 제1 포트를 통해 인접 노드로 제어 프레임 전송 시 장애가 발생된 경우, 제2 포트를 이용하여 다른 노드로 제어 프레임을 전송함으로써, 특정 노드 또는 특정 통신 라인에 장애가 발생된 경우, 우회 경로를 이용하여 제어 프레임을 정상적으로 전송할 수 있으며, 장애의 즉각 검출 및 수리가 가능하여 보다 안정한 데이터 전송이 가능하게 된다. According to the control frame transmission method using the bypass path of the present invention, the node and the control frame transmission system for the same, a first port connected to the adjacent node on the data transmission path and a second port connected to at least another node between the adjacent node When a failure occurs in transmission of a control frame to a neighboring node via the first port, a control frame is transmitted to another node using the second port, so that a failure occurs in a specific node or a specific communication line The control frame can be normally transmitted using the bypass path and the failure can be detected and repaired instantly, thereby enabling more stable data transmission.

아울러, 상술한 효과 이외의 다양한 효과들이 후술될 본 발명의 실시 예에 따른 상세한 설명에서 직접적 또는 암시적으로 개시될 수 있다.In addition, various effects other than the above-described effects can be directly or implicitly disclosed in the detailed description according to the embodiment of the present invention to be described later.

도 1은 본 발명의 실시 예에 따른 제어 프레임 전송 시스템을 설명하기 위한 예시도이다.
도 2는 본 발명의 실시 예에 따른 마스터 노드의 주요 구성을 도시한 블록도이다.
도 3은 본 발명의 실시 예에 따른 제어 프레임의 구조를 설명하기 위한 예시도이다.
도 4는 본 발명의 실시 예에 따른 슬레이브 노드의 주요 구성을 도시한 블록도이다.
도 5는 본 발명의 일 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법을 개략적으로 설명하기 위한 흐름도이다.
도 6은 본 발명의 일 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법을 보다 더 구체적으로 설명하기 위한 흐름도이다.
1 is an exemplary diagram illustrating a control frame transmission system according to an embodiment of the present invention.
2 is a block diagram illustrating a main configuration of a master node according to an embodiment of the present invention.
3 is an exemplary diagram illustrating a structure of a control frame according to an embodiment of the present invention.
4 is a block diagram illustrating a main configuration of a slave node according to an embodiment of the present invention.
5 is a flowchart schematically illustrating a control frame transmission method using a detour path according to an embodiment of the present invention.
6 is a flowchart illustrating a control frame transmission method using a bypass path according to an exemplary embodiment of the present invention.

이하 첨부된 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있는 바람직한 실시예를 상세히 설명한다. 다만, 본 발명의 바람직한 실시예에 대한 동작 원리를 상세하게 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다. 이는 불필요한 설명을 생략함으로써 본 발명의 핵심을 흐리지 않고 더욱 명확히 전달하기 위함이다. 또한 본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 하나, 이는 본 발명을 특정한 실시 형태로 한정하려는 것은 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the detailed description of known functions and configurations incorporated herein will be omitted when it may unnecessarily obscure the subject matter of the present invention. This is to omit the unnecessary description so as to convey the key of the present invention more clearly without fading. While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. However, it should be understood that the invention is not limited to the specific embodiments thereof, It is to be understood that the invention is intended to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

또한, 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하기 위해 사용하는 것으로, 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용될 뿐, 상기 구성요소들을 한정하기 위해 사용되지 않는다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제2 구성요소는 제1 구성요소로 명명될 수 있고, 유사하게 제1 구성요소도 제2 구성요소로 명명될 수 있다.Also, terms including ordinal numbers such as first, second, etc. are used to describe various elements, and are used only for the purpose of distinguishing one element from another, Not used. For example, without departing from the scope of the present invention, the second component may be referred to as a first component, and similarly, the first component may also be referred to as a second component.

더하여, 어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급할 경우, 이는 논리적 또는 물리적으로 연결되거나, 접속될 수 있음을 의미한다. 다시 말해, 구성요소가 다른 구성요소에 직접적으로 연결되거나 접속되어 있을 수 있지만, 중간에 다른 구성요소가 존재할 수도 있으며, 간접적으로 연결되거나 접속될 수도 있다고 이해되어야 할 것이다. In addition, when referring to an element as being "connected" or "connected" to another element, it means that it can be connected or connected logically or physically. In other words, it is to be understood that although an element may be directly connected or connected to another element, there may be other elements in between, or indirectly connected or connected.

또한, 본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 또한, 본 명세서에서 기술되는 "포함 한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Also, the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. It is also to be understood that the terms such as " comprising "or" having ", as used herein, are intended to specify the presence of stated features, integers, It should be understood that the foregoing does not preclude the presence or addition of other features, numbers, steps, operations, elements, parts, or combinations thereof.

이제 본 발명의 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템에 대하여 도면을 참조하여 상세하게 설명하도록 한다. 이때, 도면 전체에 걸쳐 유사한 기능 및 작용을 하는 부분에 대해서는 동일한 도면 부호를 사용하며, 이에 대한 중복되는 설명은 생략하기로 한다.Now, a control frame transmission method using a bypass path according to an embodiment of the present invention, a node and a control frame transmission system therefor will be described in detail with reference to the drawings. Here, the same reference numerals are used for similar functions and functions throughout the drawings, and a duplicate description thereof will be omitted.

먼저, 본 발명의 우회 경로를 이용한 제어 프레임 전송 방법이 적용된 제어 프레임 전송 시스템에 대하여 설명하도록 한다. First, a control frame transmission system to which a control frame transmission method using a bypass path according to the present invention is applied will be described.

도 1은 본 발명의 실시 예에 따른 제어 프레임 전송 시스템을 설명하기 위한 예시도이다. 1 is an exemplary diagram illustrating a control frame transmission system according to an embodiment of the present invention.

도 1을 참조하여 설명하기에 앞서, 설명의 편의를 위해 본 발명의 실시 예에 따른 제어 프레임 전송 시스템(1000)은 마스터 노드(100)와 제1 슬레이브 노드(200a), 제2 슬레이브 노드(200b), 제3 슬레이브 노드(200c)로 이루어진 데이터 전송 경로를 형성하는 것을 예로 들어 설명하도록 한다. 그러나 이에 한정되는 것은 아니며, 데이터 전송 경로를 형성하는 슬레이브 노드(200, 별도의 구분이 필요하지 않은 경우 200으로 통칭함)는 복수 개 존재할 수 있으며, 마스터 노드(100) 또한 일정의 슬레이브 노드(200)를 제어하는 서브 마스터 노드와 서비스 마스터 노드를 제어하는 마스터 노드로 구성되는 등 다양한 형태로 구성될 수 있다. 1, a control frame transmission system 1000 according to an embodiment of the present invention includes a master node 100, a first slave node 200a, a second slave node 200b ), And a third slave node 200c, as shown in FIG. However, the present invention is not limited thereto, and a plurality of slave nodes 200 (collectively referred to as 200 when no separate distinction is required) may exist, and the master node 100 may also include a certain slave node 200 And a master node for controlling the service master node.

또한, 본 발명의 노드는 마스터 노드(100)와 복수의 슬레이브 노드(200) 모두를 포함하는 개념이며, 인접 노드 또는 다른 노드와 같이, 마스터 노드(100)와 복수의 슬레이브 노드(200)를 구분하지 않는 경우, 상기 노드는 마스터 노드(100) 또는 슬레이브 노드 중 어느 하나가 될 수 있다.The node of the present invention includes both the master node 100 and the plurality of slave nodes 200 and is configured to distinguish between the master node 100 and the plurality of slave nodes 200, Otherwise, the node may be either the master node 100 or the slave node.

도 1a를 먼저 참조하면, 마스터 노드(100)는 복수의 슬레이브 노드(200)를 제어할 수 있는 제어 시스템을 의미하는 것으로, 중앙 처리 장치, 메모리, NIC, OS 및 스택 등을 포함하여 구성될 수 있다. 본 발명의 실시 예에 따른 마스터 노드(100)는 온 더 플라이(on the fly) 방식으로 연결된 복수의 슬레이브 노드(200)별로 서로 다른 데이터 그램을 구성하고, 각각의 슬레이브 노드(200)에 매칭되는 데이터 그램을 상기 슬레이브 노드(200)를 제어할 수 있는 제어 메시지에 실어 전송할 수 있다. 여기서, 제어 메시지는 제어 프레임 형태로 생성될 수 있다. 1A, the master node 100 refers to a control system that can control a plurality of slave nodes 200, and may include a central processing unit, a memory, an NIC, an OS, and a stack. have. The master node 100 according to the embodiment of the present invention configures different datagrams for each of a plurality of slave nodes 200 connected on an on-fly basis, and matches each slave node 200 A datagram can be transmitted in a control message for controlling the slave node 200. Here, the control message can be generated in the form of a control frame.

복수의 슬레이브 노드(200)는 마스터 노드(100)에 연결되어 작동하는 것으로, 산업 현장에 설치된 대량의 노드, 예를 들어, 전력 공급 설비, 구동 장치 및 제조 설비 등이 이에 해당될 수 있다. 특히 본 발명의 실시 예에 따른 슬레이브 노드(200)는 전달되는 제어 프레임에서 자신에 해당하는 제어 정보를 취하고, 이에 대한 응답 정보를 상기 해당하는 제어 정보가 기록된 영역에 기록한 후 다시 제어 프레임을 상기 마스터 노드(100) 또는 다른 슬레이브 노드로 전달할 수 있다. 또 다른 실시 예에서는 제어 프레임이 수신되면, 이에 대한 응답 정보를 제어 프레임에 기록하지 않고 바로 마스터 노드(100)로 전달할 수도 있다. A plurality of slave nodes 200 operate in connection with the master node 100, which may include a large number of nodes installed in an industrial field, for example, a power supply facility, a driving apparatus, and a manufacturing facility. In particular, the slave node 200 according to the embodiment of the present invention takes the control information corresponding to itself in the control frame to be transmitted, records the response information in the area in which the corresponding control information is recorded, To the master node 100 or to another slave node. In another embodiment, when a control frame is received, the response information may be directly transmitted to the master node 100 without being recorded in the control frame.

이러한 마스터 노드(100)와, 슬레이브 노드(200)는 도 1a에 도시된 바와 같이, 마스터 노드(100)와, 복수의 슬레이브 노드(200)는 통신 케이블을 통해 순차적으로 연결될 수 있다. As shown in FIG. 1A, the master node 100 and the plurality of slave nodes 200 may be sequentially connected through a communication cable, as shown in FIG. 1A.

이러한, 마스터 노드(100)와 복수의 슬레이브 노드(200)는 통신 케이블, 예컨대, RJ45 포트를 통해 물리적으로 연결될 수 있다. 마스터 노드(100)는 먼저 각 슬레이브 노드(200)로 전달하기 위한 각 슬레이브 노드(200)별 대응하는 제어 정보를 기록한 제어 프레임을 생성하고, 생성된 제어 프레임을 제1 포트(A)를 통해 연결된 제1 슬레이브 노드(200a)로 전달한다. 이를 수신한 제1 슬레이브 노드(200a)는 상기 제어 프레임에서 자신에 해당하는 제어 정보가 기록된 데이터 그램을 확인하고, 제어 정보에 의해 지정된 처리를 수행하며 이에 대한 응답 정보를 양방향 통신을 지원하는 제1 포트(A)를 통해 마스터 노드(100)로 전달함과 동시에, 제1 포트(A)와 연결된 데이터 전송 경로 후단에 위치한 제2 슬레이브 노드(200b)로 전달한다. 제2 슬레이브 노드(200b)는 제1 슬레이브 노드(200a)와 마찬가지로, 전달된 제어 프레임에서 자신에 해당하는 제어 정보를 취하고, 이에 대한 응답 정보를 제1 슬레이브 노드(200a)를 거쳐 마스터 노드(100)로 전달한다. 이와 동시에 제2 슬레이브 노드(200b)는 전달된 제어 프레임을 제3 슬레이브 노드(200c)로 전달하고, 제3 슬레이브 노드(200c)는 이에 대한 응답 정보를 제2 슬레이브 노드(200b) 및 제1 슬레이브 노드(200a)를 거쳐 마스터 노드(100)로 전달할 수 있다. The master node 100 and the plurality of slave nodes 200 may be physically connected through a communication cable, for example, an RJ45 port. The master node 100 first generates a control frame in which corresponding control information for each slave node 200 for transfer to each slave node 200 is recorded and transmits the generated control frame to the slave node 200 through the first port A To the first slave node 200a. The first slave node 200a receives the control frame, checks the datagram in which the control information corresponding to the control frame is stored in the control frame, performs the process specified by the control information, and transmits the response information to the first slave node 200a 1 to the master node 100 via the first port A and to the second slave node 200b located at the rear end of the data transmission path connected to the first port A. [ Similarly to the first slave node 200a, the second slave node 200b takes control information corresponding to itself in the transferred control frame and transmits the response information to the master node 100a via the first slave node 200a ). At the same time, the second slave node 200b transmits the transferred control frame to the third slave node 200c, and the third slave node 200c transmits the response information to the second slave node 200b and the first slave node 200c. To the master node 100 via the node 200a.

특히, 본 발명의 실시 예에 따른 제어 프레임 전송 시스템(1000)을 구성하는 각각의 노드는 인접 노드 간의 연결을 지원하는 제1 포트(A)와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트(B)를 포함하여 구성될 수 있다. 이때, 마스터 노드(100)는 제1 포트(A)를 통해 연결된 제1 슬레이브 노드(200a)로 제어 프레임 전달 시, 제1 슬레이브 노드(200a) 또는 제1 슬레이브 노드(200a)와 연결되는 통신 라인에 장애 여부를 감지하고, 장애가 발생된 것으로 판단되면, 제2 포트(B)를 통해 연결된 제2 슬레이브 노드(200b)로 제어 프레임을 전달할 수 있다. In particular, each node constituting the control frame transmission system 1000 according to the embodiment of the present invention includes a first port A for supporting connection between adjacent nodes, and a second port A And a second port (B) for supporting connection. At this time, when transferring the control frame to the first slave node 200a connected through the first port A, the master node 100 transmits the control frame to the first slave node 200a or the first slave node 200a, And may transmit a control frame to the second slave node 200b connected through the second port B if it is determined that a failure has occurred.

본 발명의 마스터 노드(100)와, 슬레이브 노드(200)는 도 1a에 도시된 바와 같이, 양방향 통신 방식의 토폴로지 형태로 연결될 수 있으나, 도 1b에 도시된 바와 같이, 단방향 링 통신 방식의 토폴로지 형태로 연결될 수도 있다. 이때, 마스터 노드(100)는 데이터 전송 경로 상에 위치한 복수의 슬레이브 노드(200)로 데이터 그램(제어 데이터)를 포함하여 구성된 제어 프레임을 전송할 수 있다. 여기서, 제어 프레임은 전술한 바와 같이, 마스터 노드(100)에서 생성되며, 복수의 슬레이브 노드(200)로 전송되고, 각각 순차적으로 연결된 모든 슬레이브 노드(200)를 통과하여 다시 마스터 노드(100)로 되돌아 올 수 있다. 이때, 마스터 노드(100)로 되돌아온 제어 프레임은 각 슬레이브 노드에 대한 정상 동작 여부를 확인할 수 있는 응답 정보를 포함한다. The master node 100 and the slave node 200 of the present invention may be connected in a topology form of a two-way communication scheme as shown in FIG. 1A, but as shown in FIG. 1B, a topology form of a unidirectional ring communication scheme . At this time, the master node 100 may transmit a control frame including a datagram (control data) to a plurality of slave nodes 200 located on a data transmission path. Here, the control frame is generated in the master node 100, transmitted to the plurality of slave nodes 200, passed through all the slave nodes 200 sequentially connected to the master node 100, You can come back. At this time, the control frame returned to the master node 100 includes response information for confirming whether the slave node is normally operated.

그리고 마스터 노드(100)는 링 구조의 경로 상 위치한 복수의 슬레이브 노드(200)로 순차적으로 전송한 제어 프레임이 되돌아 오면, 각 슬레이브 노드(200)에서 제어 프레임에 포함한 응답 정보 등을 확인하여, 제어 결과 및 각 슬레이브 노드(200)의 상태를 확인할 수 있다. When the control frame sequentially returned to the plurality of slave nodes 200 located on the route of the ring structure is returned, the master node 100 checks the response information included in the control frame in each slave node 200, And the state of each slave node 200 can be confirmed.

이러한 제어 프레임 전송 시스템에 있어서, 특히, 본 발명의 실시 예에 따른 각각의 노드는 전술한 바와 같이, 인접 노드 간의 연결을 지원하는 제1 포트(A)와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트(B)를 포함하여 구성될 수 있다. 이때, 마스터 노드(100)는 제1 포트(A)를 통해 연결된 제1 슬레이브 노드(200a)로 제어 프레임 전달 시, 제1 슬레이브 노드(200a) 또는 제1 슬레이브 노드(200a)와 연결되는 통신 라인에 장애 여부를 감지하고, 장애가 발생된 것으로 판단되면, 제2 포트(B)를 통해 연결된 제2 슬레이브 노드(200b)로 제어 프레임을 전달할 수 있다.In this control frame transmission system, in particular, each node according to an embodiment of the present invention includes a first port (A) for supporting a connection between adjacent nodes, and a second port And a second port (B) for supporting connection with the node. At this time, when transferring the control frame to the first slave node 200a connected through the first port A, the master node 100 transmits the control frame to the first slave node 200a or the first slave node 200a, And may transmit a control frame to the second slave node 200b connected through the second port B if it is determined that a failure has occurred.

이하, 본 발명의 실시 예에 따른 마스터 노드(100)의 주요 구성 및 동작 방법에 대해 설명하도록 한다. Hereinafter, the main configuration and operation method of the master node 100 according to the embodiment of the present invention will be described.

도 2는 본 발명의 실시 예에 따른 마스터 노드의 주요 구성을 도시한 블록도이다. 2 is a block diagram illustrating a main configuration of a master node according to an embodiment of the present invention.

도 1 및 도 2를 참조하면, 본 발명의 실시 예에 따른 마스터 노드(100)는 마스터 통신부(110), 마스터 제어부(120) 및 마스터 저장부(130)를 포함하여 구성될 수 있다. 1 and 2, a master node 100 according to an embodiment of the present invention may include a master communication unit 110, a master control unit 120, and a master storage unit 130.

각 구성 요소에 대해 보다 구체적으로 설명하면, 마스터 통신부(110)는 마스터 제어부(120)에서 생성된 제어 프레임을 슬레이브 노드(200)로 전송하는 역할을 수행한다. 특히, 본 발명의 실시 예에 따른 마스터 통신부(110)는 인접 노드 간의 연결을 지원하는 제1 포트(110a)와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트(110b)를 포함하여 구성될 수 있다. 예컨대, 제1 포트(110a)는 도 1에 도시된 바와 같이, 제1 슬레이브 노드(200a)와 연결될 수 있으며, 제2 포트(110b)는 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(200a)를 사이에 둔 다른 슬레이브 노드인 제2 슬레이브 노드(200b)와 연결될 수 있다. 여기서, 제2 포트(110b)는 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(200a)를 사이에 둔 어떠한 다른 슬레이브 노드와도 연결될 수 있다. 즉, 제3 슬레이브 노드(200c)와 연결될 수 있으며, 이는 시스템 구현에 따라 달라질 수 있다. More specifically, the master communication unit 110 transmits the control frame generated by the master control unit 120 to the slave node 200. In particular, the master communication unit 110 according to the embodiment of the present invention includes a first port 110a for supporting connection between neighboring nodes, and a second port 110a for supporting connection between at least another node located between the adjacent nodes 110b. For example, the first port 110a may be connected to the first slave node 200a and the second port 110b may be connected to the first slave node 200a connected through the first port 110a, The second slave node 200b, which is another slave node between the first slave node 200a and the second slave node 200b. Here, the second port 110b may be connected to any other slave node between the first slave node 200a connected through the first port 110a. That is, it may be connected to the third slave node 200c, which may vary depending on the system implementation.

아울러, 본 발명의 실시 예에 제어 프레임 전송 시스템이 양방향 통신 방식을 지원하는 라인 형태로 구현되는 경우, 제1 포트(110a) 및 제2 포트(110b)은 입출력 포트의 역할을 모두 수행할 수 있다. 반면, 도 1b에 도시된 바와 같이, 단방향 통신 방식의 링 형태로 구현되는 경우, 제1 포트(110a) 및 제2 포트(110b)은 입력 포트 및 출력 포트와 같이 물리적으로 분리된 투 포트 모두를 포함하는 개념이 될 수 있다. 이때, 마스터 노드(100)의 제1 포트(110a)의 출력 포트는 다음 노드, 예컨대, 제1 슬레이브 노드(100a)의 제1 포트(110a)의 입력 포트와 연결될 수 있다. In addition, in the embodiment of the present invention, when the control frame transmission system is implemented in the form of a line supporting the bidirectional communication method, the first port 110a and the second port 110b can perform all the roles of the input and output ports . On the other hand, as shown in FIG. 1B, when implemented as a ring of a unidirectional communication scheme, the first port 110a and the second port 110b are both physically separated, such as an input port and an output port, Can be included. At this time, the output port of the first port 110a of the master node 100 may be connected to the input port of the next node, for example, the first port 110a of the first slave node 100a.

아울러, 본 발명의 실시 예에 따른 마스터 통신부(110)는 마스터 제어부(120)에서 생성된 제어 프레임을 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(200a)로 전달하고, 제1 슬레이브 노드(200a)로부터 응답 정보 또는 응답 정보를 포함하는 제어 프레임을 수신할 수 있다. 또한 제1 포트(110a)를 통해 제1 슬레이브 노드(200a)로 제어 프레임을 수신하고, 데이터 전송 경로 상에 위치하는 모든 슬레이브 노드의 응답 정보를 포함하는 제어 프레임을 데이터 전송 경로의 마지막 슬레이브 노드인 제3 슬레이브 노드(200c)로부터 수신할 수 있다. 또한, 마스터 통신부(110)는 마스터 제어부(120)의 제어에 따라, 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(200a)에 장애가 발생된 경우, 제2 포트(110b)를 통해 연결된 제2 슬레이브 노드(200b)로 제어 프레임을 다시 전송할 수 있다. The master communication unit 110 according to the embodiment of the present invention transfers the control frame generated by the master control unit 120 to the first slave node 200a connected through the first port 110a, It is possible to receive the control frame including the response information or the response information from the control unit 200a. Also, a control frame is received through the first port 110a to the first slave node 200a, and a control frame including response information of all the slave nodes located on the data transmission path is transmitted to the first slave node 200a as the last slave node From the third slave node 200c. When the master slave node 200a is connected to the master slave node 200a via the first port 110a under the control of the master control unit 120, 2 slave node 200b to transmit the control frame again.

아울러, 본 발명의 실시 예에 따른 마스터 통신부(110)는 도면에는 도시하지 않았으나, 무선 통신 모듈을 더 포함할 수 있으며, 제1 포트(110a) 및 제2 포트(110b)를 통해 연결된 노드 모두에 장애가 발생된 것으로 판단되면, 마스터 제어부(120)의 제어에 따라 무선 통신 방식으로 지정된 슬레이브 노드로 제어 프레임을 전송할 수도 있다. The master communication unit 110 according to an embodiment of the present invention may further include a wireless communication module (not shown), and may be connected to all the nodes connected through the first port 110a and the second port 110b If it is determined that a failure has occurred, the master control unit 120 may transmit a control frame to a slave node designated by a wireless communication scheme.

마스터 제어부(120)는 마스터 노드(100)의 전반적인 제어를 수행하는 것으로, 하드웨어적으로 CPU(Central Processing Unit)/MPU(Micro Processing Unit)를 포함하는 적어도 하나 이상의 프로세서와 적어도 하나 이상의 메모리 로딩 데이터가 로딩되는 실행 메모리(예컨대, 레지스터 및/또는 RAM(Random Access Memory)) 및 상기 프로세서와 메모리로 적어도 하나 이상의 데이터들을 입출력하는 버스(BUS)를 포함하여 이루어질 수 있다. 또한 소프트웨어적으로 마스터 노드(100)에 정의된 기능(예컨대, 제어 프레임 생성)을 수행하기 위해 소정의 기록매체로부터 상기 실행 메모리로 로딩되어 상기 프로세서에 의해 연산 처리되는 소정의 프로그램 루틴(Routine) 또는 프로그램 데이터를 포함하여 이루어질 수 있다.  The master control unit 120 performs overall control of the master node 100 and includes at least one processor including a CPU (Central Processing Unit) / MPU (Micro Processing Unit) and at least one memory loading data (For example, a register and / or a RAM (Random Access Memory)) to be loaded and a bus (BUS) for inputting / outputting at least one or more data to / from the processor and the memory. A predetermined program routine (Routine) loaded from the predetermined recording medium to the execution memory and operated on by the processor to perform a function defined in the master node 100 (for example, control frame generation) And may include program data.

특히, 본 발명의 실시 예에 따른 마스터 제어부(120)는 복수의 슬레이브 노드(200)를 제어하기 위하여 제어 프레임 내 제어 데이터에 데이터 그램을 생성하고, 제어 프레임을 복수의 슬레이브 노드(200)로 순차적으로 전송한다. 이를 위해, 마스터 제어부(120)는 프레임 생성 모듈(120a) 및 이상 검출 모듈(120b)를 포함하여 구성될 수 있다. In particular, the master control unit 120 according to the embodiment of the present invention generates a datagram in the control data in the control frame to control the plurality of slave nodes 200, and transmits the control frame to the plurality of slave nodes 200 sequentially Lt; / RTI > To this end, the master control unit 120 may include a frame generation module 120a and an anomaly detection module 120b.

먼저, 프레임 생성 모듈(120a)는 데이터 전송 경로 상에 위치하는 각 슬레이브 노드(200)에 해당하는 데이터 그램을 구성하여 상기 데이터 그램에 제어 정보를 작성하고, 제어 정보가 작성된 데이터 그램을 포함하여 제어 프레임을 생성하게 된다. First, the frame generation module 120a constructs a datagram corresponding to each slave node 200 located on a data transmission path, creates control information in the datagram, Frame.

프레임 생성 모듈(120a)이 생성하는 제어 프레임의 구조에 대해 도 3을 참조하여 간략히 설명하도록 한다. The structure of the control frame generated by the frame generation module 120a will be briefly described with reference to FIG.

도 3은 본 발명의 실시 예에 따른 제어 프레임의 구조를 설명하기 위한 예시도이다. 3 is an exemplary diagram illustrating a structure of a control frame according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 본 발명의 제어 프레임은 헤더 영역, 데이터 영역, 오류 체크(CRC) 및 Interframe Gap 영역을 포함하는 테일 영역으로 구성될 수 있다. 여기서, 헤더 영역은 8바이트(byte)의 크기를 가질 수 있으며, 오류 체크 영역은 4바이트, Interframe Gap 영역은 12바이트의 크기를 가질 수 있다. 그러나, 이에 한정되는 것은 아니며, 필요에 따라 다양한 크기로 변경하여 구성할 수 있다. As shown in FIG. 3, the control frame of the present invention may be composed of a header area, a data area, a tail area including an error check (CRC) and an interframe gap area. Here, the header area may have a size of 8 bytes, the error check area may have a size of 4 bytes, and the Interframe gap area may have a size of 12 bytes. However, the present invention is not limited to this, and various sizes may be used as needed.

이 중, 헤더 영역은 복수의 슬레이브 노드(200)로 전송할 제어 프레임과 관련된 기본 정보를 포함하여 구성된다. 데이터 영역은 각 슬레이브 노드(200)별로 해당하는 제어 정보가 기록되는 영역을 의미한다. 데이터 영역은 복수의 데이터 그램으로 구성된다. 데이터 그램은 각 슬레이브 노드(200)에 대응한 제어 정보를 포함하는 것으로, 하나의 슬레이브 노드(200)에 대응하여 하나의 데이터 그램이 존재할 수 있다.The header area includes basic information related to a control frame to be transmitted to a plurality of slave nodes 200. The data area means an area in which corresponding control information is recorded for each slave node 200. The data area is composed of a plurality of datagrams. The datagram includes control information corresponding to each slave node 200, and one datagram may correspond to one slave node 200. [

본 발명의 실시 예에 따른 프레임 생성 모듈(120a)은 상술한 바와 같은 구조의 제어 프레임을 생성하고, 생성된 제어 프레임을 마스터 통신부(110)로 전달하여 먼저 제1 포트(110a)를 통해 연결된 인접 노드, 예컨대 제1 슬레이브 노드(200a)로 전달되도록 제어한다. The frame generation module 120a according to the embodiment of the present invention generates a control frame having the above-described structure, transfers the generated control frame to the master communication unit 110, Node, for example, the first slave node 200a.

반면, 이상 검출 모듈(120b)은 특정 노드 또는 특정 통신 라인의 장애 발생 여부를 검출하고, 우회 경로를 통해 제어 프레임이 전송되도록 제어하는 역할을 수행할 수 있다. On the other hand, the anomaly detection module 120b detects whether a specific node or a specific communication line has failed, and controls the control frame to be transmitted through the bypass path.

다시 말해, 이상 검출 모듈(120b)은 마스터 통신부(110)의 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(220a) 사이의 통신 라인에 대한 전압을 확인하여, 확인된 전압이 기 설정된 값 이하인 경우, 통신 라인에 장애가 발생한 것으로 판단할 수 있다. In other words, the abnormality detection module 120b checks the voltage of the communication line between the first slave node 220a connected through the first port 110a of the master communication unit 110, , It can be determined that a failure has occurred in the communication line.

또한, 이상 검출 모듈(120b)은 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(220a)로 제어 프레임을 전달한 후 기 설정된 시간 이내, 응답 정보 또는 상기 응답 정보를 포함하는 제어 프레임이 수신되지 않을 경우, 상기 제1 슬레이브 노드(220b)이 장애가 발생한 것으로 판단할 수 있다. 장애가 발생한 것으로 검출되면, 이상 검출 모듈(120b)은 제2 포트(110b)를 통해 연결된 제2 슬레이브 노드(220b)로 제어 프레임을 다시 전달할 수 있다. The anomaly detection module 120b transmits the control frame to the first slave node 220a connected through the first port 110a and then receives the control frame including the response information or the response information within a predetermined time The first slave node 220b may determine that a failure has occurred. If it is detected that a failure has occurred, the anomaly detection module 120b may retransmit the control frame to the second slave node 220b connected through the second port 110b.

또한, 이상 검출 모듈(120b)은 도 1b에 도시된 바와 같이 링 형태의 시스템으로 구현되는 경우, 데이터 전송 경로에 위치하는 모든 슬레이브 노드를 거쳐 전달된 제어 프레임에 특정 슬레이브 노드에 대응하는 응답 정보가 포함되어 있지 않을 경우, 해당 특정 슬레이브 노드에 장애가 발생한 것으로 판단하고, 다음 주기에서의 제어 프레임 전송 시 상기 특정 슬레이브 노드로 제어 프레임이 전달되지 않도록, 장애가 발생된 슬레이브 노드에 대한 정보를 포함하여 제어 프레임을 구성하고 전달할 수 있다. 1B, when the error detection module 120b is implemented as a ring system, response information corresponding to a specific slave node is transmitted to the control frame transmitted through all the slave nodes located in the data transmission path If the control frame is not included in the control frame, it is determined that the specific slave node has failed and the control frame is not transmitted to the specific slave node during the transmission of the control frame in the next period. Can be configured and delivered.

또한, 본 발명의 이상 검출 모듈(120b)은 특정 라인 또는 특정 노드에 이상이 발생되면, 이를 관리자에게 통보할 수도 있다. In addition, the anomaly detection module 120b of the present invention may notify the manager of an abnormality in a specific line or a specific node.

또한, 본 발명의 이상 검출 모듈(120b)은 제1 포트(110a)를 통해 연결된 노드와 제2 포트(110b)를 통해 연결된 노드 모두 장애가 발생된 것으로 판단되면, 마스터 통신부(110)의 무선 통신 모듈을 동작시켜, 무선 통신 방식으로 제어 프레임을 전송할 수 있다. 이때, 데이터 전송 경로에 위치하는 슬레이브 노드별 포트 연결 정보를 확인하고, 확인된 포트 연결 정보에 따라 해당하는 슬레이브 노드로 무선 통신 방식으로 제어 프레임을 전송할 수도 있다. 예를 들어, 마스터 노드(100)는 제1 슬레이브 노드(200a)는 제2 슬레이브 노드(200b)와 제1 포트를 통해 인접되어 연결되며, 제3 슬레이브 노드(200c)와 제2 포트를 통해 연결되는 것과 같이, 제1 슬레이브 노드(200a)에 대한 포트 연결 정보를 확인하고, 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(200a)와 제2 포트(110b)와 연결된 제2 슬레이브 노드(200b) 모두 장애가 발생된 경우, 제1 슬레이브 노드(200a)와 연결된 제3 슬레이브 노드(200c)로 무선 통신 방식으로 제어 프레임을 바로 전송할 수도 있다. If it is determined that the node connected through the first port 110a and the node connected through the second port 110b have failed, the anomaly detection module 120b of the present invention can detect the failure of the wireless communication module 110 of the master communication unit 110, To transmit the control frame in a wireless communication manner. At this time, the port connection information for each slave node located in the data transmission path may be checked, and the control frame may be transmitted to the corresponding slave node in accordance with the confirmed port connection information. For example, the master node 100 is connected to the second slave node 200b via the first port, and the third slave node 200a is connected to the third slave node 200c through the second port. The first slave node 200a connected through the first port 110a and the second slave node 200b connected to the second port 110b are connected to each other through the first port 110a, The first slave node 200a may transmit the control frame directly to the third slave node 200c connected to the first slave node 200a in a wireless communication manner.

이때, 포트 연결 정보에 따라 확인된 슬레이브 노드 중 무선 통신 모듈을 포함하는 슬레이브 노드를 확인하고, 확인된 슬레이브 노드로 제어 프레임을 우선하여 전송할 수 있다. 예를 들어, 100개의 슬레이브 노드로 구성된 시스템인 경우, 마스터 노드(100)는 자신의 제1 포트(110a)를 통해 연결된 제1 슬레이브 노드(200a)와 제2 포트(110b)를 통해 연결된 제2 슬레이브 노드(200b) 모두 장애가 발생되었을 경우, 다음 슬레이브 노드로 제어 프레임을 전송하기 위해, 무선 통신 모듈을 동작시키고, 슬레이브 노드별 포트 연결 정보를 확인하여, 자신과 가장 가까운 곳에 위치한 슬레이브 노드 중 무선 통신 모듈을 포함하여 자신이 전송한 제어 프레임을 수신할 수 있는 슬레이브 노드에 우선하여 제어 프레임을 전송할 수 있다. At this time, the slave node including the wireless communication module among the slave nodes identified according to the port connection information can be identified, and the control frame can be transmitted prior to the slave node that has been confirmed. For example, in the case of a system configured with 100 slave nodes, the master node 100 may communicate with a first slave node 200a connected through a first port 110a thereof and a second slave node 200a connected via a second port 110b, When a failure occurs in all of the slave nodes 200b, the wireless communication module is operated to transmit the control frame to the next slave node, the port connection information for each slave node is checked, and a slave node closest to the slave node 200b A control frame can be transmitted to a slave node that can receive a control frame transmitted by itself.

일반적으로 산업용 네트워크를 구성하는 슬레이브 노드 전부 무선 통신 모듈을 구비하기 어려우므로, 인접된 모든 노드에서 장애가 발생된 경우, 무선 통신 모듈을 구비하고 있는 슬레이브 노드에 우선하여 제어 프레임을 전송함으로써, 제1 포트 및 제2 포트를 통해 연결된 노드 모두 이상이 발생되더라도, 무선 통신 방식으로 제어 프레임의 안정적인 전송이 가능하게 된다. In general, it is difficult to provide all the slave nodes constituting the industrial network with the wireless communication module. Therefore, when a failure occurs in all adjacent nodes, the control frame is transmitted to the slave node having the wireless communication module, And the node connected through the second port, the control frame can be transmitted stably by the wireless communication method.

마스터 저장부(130)는 마스터 노드(100)의 동작에 필요한 정보들을 저장하며, 특히, 생성된 제어 정보, 제어 프레임에 대한 정보, 슬레이브 노드별 포트 연결 정보 등을 저장할 수 있다. 이러한 마스터 저장부(130)는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(Magnetic Media), CD-ROM(Compact Disk Read Only Memory), DVD(Digital Video Disk)와 같은 광 기록 매체(Optical Media), 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media) 및 롬(ROM), 램(RAM, Random Access Memory), 플래시 메모리를 포함한다.The master storage unit 130 stores information necessary for the operation of the master node 100, and may store the generated control information, information on the control frame, port connection information for each slave node, and the like. The master storage unit 130 may be an optical storage medium such as a magnetic medium such as a hard disk, a floppy disk and a magnetic tape, a compact disk read only memory (CD-ROM), and a digital video disk ), A magneto-optical medium such as a floppy disk and a ROM, a random access memory (RAM), and a flash memory.

다음으로, 슬레이브 노드(200)의 구체적인 구성을 첨부된 도면을 참조하여 구체적으로 설명하기로 한다.Next, the specific configuration of the slave node 200 will be described in detail with reference to the accompanying drawings.

도 4는 본 발명의 실시 예에 따른 슬레이브 노드의 주요 구성을 도시한 블록도이다. 4 is a block diagram illustrating a main configuration of a slave node according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 실시 예들에 따른 복수의 슬레이브 노드(200)는 슬레이브 통신부(210), 데이터 처리부(230) 및 동작 수행부(220)를 포함하여 구성될 수 있다. Referring to FIG. 4, a plurality of slave nodes 200 according to embodiments of the present invention may include a slave communication unit 210, a data processing unit 230, and an operation performing unit 220.

슬레이브 통신부(210)는 마스터 노드(100)로부터 순차적으로 전송된 제어 프레임을 수신하고, 수신된 제어 프레임을 데이터 처리부(220)로 전달하는 역할을 수행한다. 또한, 데이터 처리부(220)를 통해 전달되는 제어 정보에 따라 동작을 수행한 후, 동작 결과, 현재 상태 또는 요청된 정보 등에 대한 응답 정보가 추가된 새로운 데이터를 포함하는 제어 프레임을 데이터 처리부(220)로부터 전달받아 데이터 전송 경로 상에 위치한 다음 노드, 즉 다음 슬레이브 노드 또는 마스터 노드(100)로 전달할 수 있다. The slave communication unit 210 receives the control frame sequentially transmitted from the master node 100 and transmits the received control frame to the data processing unit 220. In addition, the data processing unit 220 performs a control operation according to the control information transmitted through the data processing unit 220, and then transmits a control frame including new data to which response information about the operation result, To the next slave node or master node 100 located on the data transmission path.

이러한 슬레이브 통신부(210)는 인접 노드 간의 연결을 지원하는 제1 포트(210a)와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트(210b)를 포함하여 구성될 수 있다.The slave communication unit 210 may include a first port 210a for supporting connection between adjacent nodes and a second port 210b for supporting connection between at least another node located between the adjacent nodes have.

데이터 처리부(220)는 슬레이브 통신부(210)로부터 제어 프레임이 전달되면, 상기 제어 프레임의 데이터 영역에 기재된 데이터 그램 중 자신에 해당하는 데이터 그램을 확인하고, 상기 데이터 그램에 기재된 제어 정보를 확인하게 된다. When the control frame is received from the slave communication unit 210, the data processing unit 220 confirms the datagram corresponding to the datagram described in the data area of the control frame and confirms the control information described in the datagram .

그리고, 데이터 처리부(220)는 확인된 제어 정보를 동작 수행부(220)로 전달할 수 있으며, 동작 수행부(220)에서 상기 제어 정보에 대응하여 동작을 수행한 결과 정보, 마스터 노드(100)에서 요청한 응답 정보, 현재 상태 정보 중 하나 이상을 포함하는 새로운 데이터를 자신에 해당하는 데이터 그램에 기재되도록 작성할 수 있다. 특히, 본 발명의 실시 예에 따른 데이터 처리부(220)는 제1 포트(210a)를 통해 연결된 노드로 제어 프레임 전달 시 인접 노드 또는 인접 노드와 연결된 특정 라인에 장애가 발생한 경우, 제2 포트(210b)를 이용하여 제어 프레임을 전달할 수 있다. 이때, 제1 포트(210a)를 통해 인접 노드, 예컨대 마스터 노드(100) 또는 다른 슬레이브 노드가 연결될 수 있으며, 제2 포트(210b)를 통해 다른 노드, 예컨대 상기 마스터 노드 또는 상기 슬레이브 노드를 사이에 둔 또 다른 슬레이브 노드가 연결될 수 있다. The data processing unit 220 can transmit the confirmed control information to the operation performing unit 220. The operation executing unit 220 can output the result information obtained by performing the operation corresponding to the control information in the master node 100 New data including at least one of the requested response information and the current state information may be written in the datagram corresponding to the new data. In particular, when a control line is transmitted to a node connected through the first port 210a, the data processing unit 220 according to an embodiment of the present invention transmits a control frame to the second port 210b, To transmit the control frame. At this time, a neighboring node such as the master node 100 or another slave node may be connected through the first port 210a and another node may be connected through the second port 210b, for example, between the master node or the slave node Another slave node may be connected.

또한, 데이터 처리부(230)는 제1 포트(210a)를 통해 연결된 인접 노드 또는 다른 노드 모두 장애가 발생된 것으로 판단되면, 상기 마스터 노드(100)로 장애 발생을 보고하고, 상기 마스터 노드(100)로부터 연결 가능한 또 다른 노드, 즉 또 다른 슬레이브 노드에 대한 정보가 수신되면, 상기 또 다른 슬레이브 노드로 무선 통신 방식으로 제어 프레임을 전달할 수도 있다. The data processing unit 230 reports a failure occurrence to the master node 100 when it is determined that a failure has occurred in the neighboring node or other nodes connected through the first port 210a, When information on another connectable node, that is, another slave node, is received, the control frame may be transmitted to the another slave node in a wireless communication manner.

동작 수행부(220)는 데이터 처리부(220)로부터 전달된 제어 정보에 따라 동작을 수행하고 동작 수행에 따른 결과를 데이터 처리부(220)를 전달할 수 있다.The operation performing unit 220 may perform an operation according to the control information transmitted from the data processing unit 220 and may transmit the operation result to the data processing unit 220.

이상으로, 본 발명의 실시 예에 따른 제어 프레임 전송 시스템을 구성하는 각 노드의 주요 구성 및 동작 방법에 대해 도 2 내지 도 4를 참조하여 설명하였다. The main configuration and operation method of each node constituting the control frame transmission system according to the embodiment of the present invention has been described with reference to FIG. 2 to FIG.

그러나, 도 2 내지 도 4에 도시된 구성에 의해 본 발명의 각 노드가 한정되는 것은 아니며, 도시된 구성 요소보다 더 많은 구성 요소에 의해 각 노드가 구현될 수도 있다. 또한, 도 2 내지 도 4를 통해 도시된 각 노드의 주요 구성 요소의 위치는 얼마든지 편의상 또는 다른 이유로 바뀔 수 있음이 물론이다. However, each node of the present invention is not limited by the configuration shown in Figs. 2 to 4, and each node may be implemented by more components than the illustrated components. It should also be appreciated that the locations of the major components of each node illustrated in Figures 2 through 4 may be varied for convenience or for other reasons.

또한, 본 발명의 실시 예에 따른 각 노드에 탑재되는 프로세서는 본 발명에 따른 방법을 실행하기 위한 프로그램 명령을 처리할 수 있다. 일 구현 예에서, 이 프로세서는 싱글 쓰레드(Single-threaded) 프로세서일 수 있으며, 다른 구현 예에서 본 프로세서는 멀티 쓰레드(Multithreaded) 프로세서일 수 있다. 나아가 본 프로세서는 메모리 혹은 저장 장치 상에 저장된 명령을 처리하는 것이 가능하다.Further, a processor mounted on each node according to an embodiment of the present invention may process program instructions for executing the method according to the present invention. In one implementation, the processor may be a single-threaded processor, and in other embodiments, the processor may be a multithreaded processor. Further, the processor is capable of processing instructions stored on a memory or storage device.

아울러, 본 발명의 실시 예에서 사용되는 '~모듈'이라는 용어는 소프트웨어 구성요소를 의미하며, '~모듈'은 어떤 역할들을 수행한다. 일 예로서 '~모듈'은 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들, 및 변수들을 포함한다. 또한, 구성요소들과 '~모듈'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '~모듈'들로 결합되거나 추가적인 구성요소들과 '~모듈'들로 더 분리될 수 있다.In addition, the term '~ module' used in the embodiment of the present invention means a software component, and '~ module' performs certain roles. By way of example, '~ module' may include components such as software components, object-oriented software components, class components and task components, and processes, functions, attributes, procedures, Routines, segments of program code, drivers, data, databases, data structures, tables, arrays, and variables. In addition, the functions provided in the components and 'modules' may be combined into a smaller number of components and '~ modules' or further separated into additional components and 'modules'.

비록 본 명세서와 도면에서는 예시적인 장치 구성을 기술하고 있지만, 본 명세서에서 설명하는 기능적인 동작과 주제의 구현물들은 다른 유형의 디지털 전자 회로로 구현되거나, 본 명세서에서 개시하는 구조 및 그 구조적인 등가물들을 포함하는 컴퓨터 소프트웨어, 펌웨어 혹은 하드웨어로 구현되거나, 이들 중 하나 이상의 결합으로 구현 가능하다. 본 명세서에서 설명하는 주제의 구현물들은 하나 이상의 컴퓨터 프로그램 제품, 다시 말해 본 발명에 따른 장치의 동작을 제어하기 위하여 혹은 이것에 의한 실행을 위하여 유형의 프로그램 저장매체 상에 인코딩된 컴퓨터 프로그램 명령에 관한 하나 이상의 모듈로서 구현될 수 있다. 컴퓨터로 판독 가능한 매체는 기계로 판독 가능한 저장 장치, 기계로 판독 가능한 저장 기판, 메모리 장치, 기계로 판독 가능한 전파형 신호에 영향을 미치는 물질의 조성물 혹은 이들 중 하나 이상의 조합일 수 있다.Although the present specification and drawings describe exemplary device configurations, the functional operations and subject matter implementations described herein may be embodied in other types of digital electronic circuitry, or alternatively, of the structures disclosed herein and their structural equivalents May be embodied in computer software, firmware, or hardware, including, or in combination with, one or more of the foregoing. Implementations of the subject matter described herein may be embodied in one or more computer program products, i. E. One for computer program instructions encoded on a program storage medium of the type for < RTI ID = 0.0 & And can be implemented as a module as described above. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter that affects the machine readable propagation type signal, or a combination of one or more of the foregoing.

이하, 본 발명의 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법에 도 5 및 도 6을 참조하여 설명하도록 한다. Hereinafter, a control frame transmission method using a bypass path according to an embodiment of the present invention will be described with reference to FIGS. 5 and 6. FIG.

도 5는 본 발명의 일 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법을 개략적으로 설명하기 위한 흐름도로, 데이터 전송 경로 상에 위치하는 복수의 슬레이브 중 어느 하나의 슬레이브 노드에서의 동작 과정을 설명한 도면이다. 5 is a flowchart schematically illustrating a control frame transmission method using a bypass path according to an exemplary embodiment of the present invention. Referring to FIG. 5, an operation procedure of a slave node among a plurality of slaves located on a data transmission path is described FIG.

도 5를 참조하면, 일 슬레이브 노드는 제1 포트를 통해 연결된 데이터 전송 경로 전단에 위치한 노드, 예컨대 마스터 노드(100) 또는 다른 슬레이브 노드로부터 제어 프레임이 수신되면(S101), 상기 제어 프레임에서 자신에 해당하는 데이터 그램을 확인하고, 해당 데이터 그램에 기재된 제어 정보를 확인한다. 그리고, 확인된 제어 정보에 대응하는 동작을 수행하고, 이에 대한 응답 정보를 마스터 노드(100)로 전달하거나, 상기 제어 프레임에 자신에 해당하는 데이터 그램에 기재할 수 있다. 그리고, 일 슬레이브 노드는 제2 포트를 통해 연결된 데이터 전송 경로 상 후단에 위치한 다음 슬레이브 노드로 제어 프레임을 전달하며, 이때, 상기 다음 슬레이브 노드에서 장애가 발생된 지 여부를 판단하여(S103) 장애가 발생되면, 제2 포트를 통해 연결된 상기 다음 슬레이브 노드를 사이에 둔 또 다른 슬레이브 노드로 상기 제어 프레임을 전송할 수 있다. Referring to FIG. 5, when a control frame is received from a node located at the preceding stage of the data transmission path connected through the first port, for example, the master node 100 or another slave node (S101) Check the corresponding datagram and check the control information described in the datagram. Then, an operation corresponding to the identified control information may be performed, and the response information may be transmitted to the master node 100, or may be written in the datagram corresponding to the control frame. Then, the one slave node transfers the control frame to the next slave node located at the rear end of the data transmission path connected through the second port. At this time, it is determined whether or not a failure has occurred in the next slave node (S103) , And transmits the control frame to another slave node having the next slave node connected thereto via the second port.

반면, S103 단계에서, 장애가 발생되지 않은 것으로 판단되면, 제1 포트를 통해 순차적으로 연결된 슬레이브 노드로 해당 제어 프레임을 전송할 수 있다(S107).On the other hand, if it is determined in step S103 that the failure has not occurred, the control frame may be transmitted to the slave node sequentially connected through the first port (S107).

이에 대해 도 6을 참조하여 보다 더 구체적으로 설명하도록 한다. This will be described in more detail with reference to FIG.

도 6은 본 발명의 일 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법을 보다 더 구체적으로 설명하기 위한 흐름도이다. 6 is a flowchart illustrating a control frame transmission method using a bypass path according to an exemplary embodiment of the present invention.

도 6을 참조하여 설명하기에 앞서, 설명의 편의를 위해, 본 발명의 제어 프레임 전송 시스템은 마스터 노드(100)와 제1 슬레이브 노드(200a), 제2 슬레이브 노드(200b), 제3 슬레이브 노드(200c)를 포함하여 구성되며, 마스터 노드(100)는 자신의 제1 포트를 통해 제1 슬레이브 노드(200a)와 연결되며, 자신의 제2 포트를 통해 제2 슬레이브 노드(200b)와 연결되고, 제1 슬레이브 노드(200a)는 자신의 제1 포트를 통해 제2 슬레이브 노드(200b)와 연결되며, 자신의 제2 포트를 통해 제3 슬레이브 노드(200c)와 연결되는 것을 예로 들어 설명하도록 한다. 그러나, 이에 한정되는 것은 아니며 더 많은 슬레이브 노드를 포함하여 시스템이 구현될 수 있다. 또한 각 노드의 제2 포트를 통해 연결되는 노드는 제1 포트를 통해 연결된 노드를 사이에 둔 노드라면 그 어떠한 노드와 연결될 수도 있다. 또한, 제2 슬레이브 노드(200b)에 장애가 발생된 경우를 가정하여 설명한다.6, the control frame transmission system of the present invention includes a master node 100 and a first slave node 200a, a second slave node 200b, a third slave node 200b, The master node 100 is connected to the first slave node 200a through the first port thereof and is connected to the second slave node 200b through the second port thereof, , The first slave node 200a is connected to the second slave node 200b through the first port thereof and is connected to the third slave node 200c through the second port thereof . However, the present invention is not limited to this, and a system including more slave nodes can be implemented. Also, the node connected through the second port of each node may be connected to any node if the node is connected to the node connected through the first port. Also, it is assumed that a failure occurs in the second slave node 200b.

먼저, 마스터 노드(100)는 제어 프레임을 생성하고(S301), 생성된 제어 프레임을 자신의 제1 포트를 통해 연결된 인접 슬레이브 노드인, 제1 슬레이브 노드(200a)로 전달한다(S303). First, the master node 100 generates a control frame (S301), and transmits the generated control frame to the first slave node 200a, which is a neighboring slave node connected through its first port (S303).

이를 수신한 제1 슬레이브 노드(200a)는 상기 제어 프레임에서 자신에게 해당하는 데이터 그램의 제어 정보를 확인하고(S305), 확인된 제어 정보에 대응하는 동작을 수행한 후 이에 대한 응답 정보를 작성한다(S307).The first slave node 200a receives the control information of the corresponding datagram in the control frame (S305), performs an operation corresponding to the checked control information, and generates response information therefrom (S307).

이후, 제1 슬레이브 노드(200a)는 작성된 응답 정보를 마스터 노드(100)로 직접 전달할 수 있으며, 제어 프레임에 포함한 후 자신과 제1 포트를 통해 연결된 제2 슬레이브 노드(200b)로 제어 프레임을 전달한다(S309).Then, the first slave node 200a can directly transmit the generated response information to the master node 100, and transmits the control frame to the second slave node 200b connected to the first slave node 200a through the first port, (S309).

이때, 제2 슬레이브 노드(200b)로부터 기 설정된 시간 이내 응답 정보 또는 응답 정보를 포함하는 제어 프레임이 수신되지 않을 경우, 또는 상기 통신 라인의 전압을 감지하여 감지된 전압이 기 설정된 값 이하인 경우, 제1 슬레이브 노드(200a)는 제2 슬레이브 노드(200b)에서 장애가 발생된 것으로 검출하고(S311), 제1 슬레이브 노드(200a)의 제2 포트를 통해 연결된 제3 슬레이브 노드(200c)로 제어 프레임을 전달한다(S313).If the control frame including the response information or the response information within a predetermined time is not received from the second slave node 200b or the voltage detected by sensing the voltage of the communication line is less than a predetermined value, The first slave node 200a detects that a failure has occurred in the second slave node 200b at step S311 and transmits a control frame to the third slave node 200c connected through the second port of the first slave node 200a (S313).

제3 슬레이브 노드(200c)는 제1 슬레이브 노드(200a)로부터 전달된 제어 프레임에서 자신에 해당하는 데이터 그램의 제어 정보를 확인하고(S315), 상기 제어 정보에 대응하는 동작을 수행한 후, 이에 대응하는 응답 정보를 작성하고(S317), 응답 정보만을 마스터 노드(100)로 전달하거나 이를 포함하는 제어 프레임을 자신과 제1 포트를 통해 연결된 마스터 노드(100)로 전달한다(S319).The third slave node 200c checks the control information of the corresponding datagram in the control frame transmitted from the first slave node 200a (S315), performs an operation corresponding to the control information, (S317), and transmits only the response information to the master node 100 or the control frame including the response information to the master node 100 connected thereto through the first port (S319).

마스터 노드(100)는 데이터 전송 경로 상에 위치하는 마지막 슬레이브 노드로부터 응답 정보 또는 응답 정보를 포함하는 제어 프레임이 수신되면, 응답 정보를 확인하거나, 제어 프레임에 포함된 응답 정보를 확인한다(S321). When receiving a control frame including response information or response information from the last slave node located on the data transmission path, the master node 100 confirms the response information or confirms the response information included in the control frame (S321) .

확인 결과, 마스터 노드(100)는 제2 슬레이브 노드(200b)로부터 응답 정보가 수신되지 않음을 확인할 수 있다. 마지막 슬레이브 노드인 제3 슬레이브 노드(200c)를 거쳐 전달된 제어 프레임에 제2 슬레이브 노드(200b)에 대한 응답 정보가 포함되어 있지 않으므로, 마스터 노드(100)는 이를 이용하여 장애 발생된 슬레이브 노드를 확인하고(S323), 이를 관리자에게 통지할 수 있게 된다. As a result, the master node 100 can confirm that the response information is not received from the second slave node 200b. Since the response frame for the second slave node 200b is not included in the control frame transmitted via the third slave node 200c, which is the last slave node, the master node 100 uses the slave node (S323), and can notify the manager thereof.

이상으로 본 발명의 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법에 대해 설명하였다.The control frame transmission method using the bypass path according to the embodiment of the present invention has been described above.

상술한 바와 같은 본 발명의 우회 경로를 이용한 제어 프레임 전송 방법은 컴퓨터 프로그램 명령어와 데이터를 저장하기에 적합한 컴퓨터로 판독 가능한 매체의 형태로 제공될 수도 있다. 본 발명의 일 실시 예에 따른 우회 경로를 이용한 제어 프레임 전송 방법은 마스터 노드 및 복수의 슬레이브 노드를 포함하는 제어 프레임 전송 시스템에 있어서, 어느 하나의 노드가 제1 포트를 통해 연결된 인접 노드로 제어 프레임을 전달하는 단계, 상기 어느 하나의 노드가 상기 인접 노드 또는 인접 노드 간 연결된 통신 라인의 장애를 감지하는 단계, 상기 어느 하나의 노드가 장애가 발생된 것으로 감지하면, 제2 포트를 통해 연결되며, 상기 인접 노드를 사이에 둔 다른 노드로 상기 제어 프레임을 전달하는 단계 등을 실행할 수 있다. The control frame transmission method using the detour path of the present invention as described above may be provided in the form of a computer readable medium suitable for storing computer program instructions and data. A control frame transmission method using a detour path according to an embodiment of the present invention is a control frame transmission system including a master node and a plurality of slave nodes, Detecting a failure of one of the nodes connected to the adjacent node or a neighboring node; if the node detects that a failure has occurred, the node is connected through the second port; And transferring the control frame to another node between the adjacent nodes.

이때, 기록매체에 기록된 프로그램은 컴퓨터에서 읽히어 설치되고 실행됨으로써 전술한 기능들을 실행할 수 있다. At this time, the program recorded on the recording medium can be read and installed in the computer and executed, thereby executing the above-described functions.

여기서, 컴퓨터가 기록매체에 기록된 프로그램을 읽어 들여 프로그램으로 구현된 기능들을 실행시키기 위하여, 전술한 프로그램은 컴퓨터의 프로세서(CPU)가 컴퓨터의 장치 인터페이스(Interface)를 통해 읽힐 수 있는 C, C++, JAVA, 기계어 등의 컴퓨터 언어로 코드화된 코드(Code)를 포함할 수 있다. In order to allow a computer to read a program recorded on a recording medium and to execute functions implemented by the program, the above-mentioned program may be stored in a computer-readable medium such as C, C ++, JAVA, machine language, and the like.

이러한 코드는 전술한 기능들을 정의한 함수 등과 관련된 기능적인 코드(Function Code)를 포함할 수 있고, 전술한 기능들을 컴퓨터의 프로세서가 소정의 절차대로 실행시키는데 필요한 실행 절차 관련 제어 코드를 포함할 수도 있다. 또한, 이러한 코드는 전술한 기능들을 컴퓨터의 프로세서가 실행시키는데 필요한 추가 정보나 미디어가 컴퓨터의 내부 또는 외부 메모리의 어느 위치(주소 번지)에서 참조 되어야 하는지에 대한 메모리 참조 관련 코드를 더 포함할 수 있다. 또한, 컴퓨터의 프로세서가 전술한 기능들을 실행시키기 위하여 원격(Remote)에 있는 어떠한 다른 컴퓨터나 서버 등과 통신이 필요한 경우, 코드는 컴퓨터의 프로세서가 컴퓨터의 통신 모듈을 이용하여 원격(Remote)에 있는 어떠한 다른 컴퓨터나 서버 등과 어떻게 통신해야만 하는지, 통신 시 어떠한 정보나 미디어를 송수신해야 하는지 등에 대한 통신 관련 코드를 더 포함할 수도 있다.The code may include a function code related to a function or the like that defines the functions described above and may include an execution procedure related control code necessary for the processor of the computer to execute the functions described above according to a predetermined procedure. In addition, such code may further include memory reference related code as to what additional information or media needed to cause the processor of the computer to execute the aforementioned functions should be referenced at any location (address) of the internal or external memory of the computer . In addition, when a processor of a computer needs to communicate with any other computer or server that is remote to execute the above-described functions, the code may be stored in a memory of the computer using a communication module of the computer, It may further include a communication-related code such as how to communicate with another computer or a server, and what information or media should be transmitted or received during communication.

이러한, 컴퓨터 프로그램 명령어와 데이터를 저장하기에 적합한 컴퓨터로 판독 가능한 매체는, 예컨대 기록매체는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(Magnetic Media), CD-ROM(Compact Disk Read Only Memory), DVD(Digital Video Disk)와 같은 광 기록 매체(Optical Media), 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media), 및 롬(ROM, Read Only Memory), 램(RAM, Random Access Memory), 플래시 메모리, EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM)과 같은 반도체 메모리를 포함한다. 프로세서와 메모리는 특수 목적의 논리 회로에 의해 보충되거나, 그것에 통합될 수 있다. Such computer-readable media suitable for storing computer program instructions and data include, for example, magnetic media such as hard disks, floppy disks and magnetic tape, compact disk read only memory (CD-ROM) Optical media such as a DVD (Digital Video Disk), a magneto-optical medium such as a floppy disk, and a ROM (Read Only Memory), a RAM , Random Access Memory), flash memory, EPROM (Erasable Programmable ROM), and EEPROM (Electrically Erasable Programmable ROM). The processor and memory may be supplemented by, or incorporated in, special purpose logic circuits.

또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 본 발명을 구현하기 위한 기능적인(Functional) 프로그램과 이와 관련된 코드 및 코드 세그먼트 등은, 기록매체를 읽어서 프로그램을 실행시키는 컴퓨터의 시스템 환경 등을 고려하여, 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론되거나 변경될 수도 있다.The computer readable recording medium may also be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. The functional program for implementing the present invention and the related code and code segment may be implemented by programmers in the technical field of the present invention in consideration of the system environment of the computer that reads the recording medium and executes the program, Or may be easily modified or modified by the user.

본 명세서는 다수의 특정한 구현물의 세부사항들을 포함하지만, 이들은 어떠한 발명이나 청구 가능한 것의 범위에 대해서도 제한적인 것으로서 이해되어서는 안되며, 오히려 특정한 발명의 특정한 실시형태에 특유할 수 있는 특징들에 대한 설명으로서 이해되어야 한다. 개별적인 실시형태의 문맥에서 본 명세서에 기술된 특정한 특징들은 단일 실시형태에서 조합하여 구현될 수도 있다. 반대로, 단일 실시형태의 문맥에서 기술한 다양한 특징들 역시 개별적으로 혹은 어떠한 적절한 하위 조합으로도 복수의 실시형태에서 구현 가능하다. 나아가, 특징들이 특정한 조합으로 동작하고 초기에 그와 같이 청구된 바와 같이 묘사될 수 있지만, 청구된 조합으로부터의 하나 이상의 특징들은 일부 경우에 그 조합으로부터 배제될 수 있으며, 그 청구된 조합은 하위 조합이나 하위 조합의 변형물로 변경될 수 있다.While the specification contains a number of specific implementation details, it should be understood that they are not to be construed as limitations on the scope of any invention or claim, but rather on the description of features that may be specific to a particular embodiment of a particular invention Should be understood. Certain features described herein in the context of separate embodiments may be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented in multiple embodiments, either individually or in any suitable subcombination. Further, although the features may operate in a particular combination and may be initially described as so claimed, one or more features from the claimed combination may in some cases be excluded from the combination, Or a variant of a subcombination.

마찬가지로, 특정한 순서로 도면에서 동작들을 묘사하고 있지만, 이는 바람직한 결과를 얻기 위하여 도시된 그 특정한 순서나 순차적인 순서대로 그러한 동작들을 수행하여야 한다거나 모든 도시된 동작들이 수행되어야 하는 것으로 이해되어서는 안 된다. 특정한 경우, 멀티태스킹과 병렬 프로세싱이 유리할 수 있다. 또한, 상술한 실시형태의 다양한 시스템 컴포넌트의 분리는 그러한 분리를 모든 실시형태에서 요구하는 것으로 이해되어서는 안되며, 설명한 프로그램 컴포넌트와 시스템들은 일반적으로 단일의 소프트웨어 제품으로 함께 통합되거나 다중 소프트웨어 제품에 패키징 될 수 있다는 점을 이해하여야 한다.Likewise, although the operations are depicted in the drawings in a particular order, it should be understood that such operations must be performed in that particular order or sequential order shown to achieve the desired result, or that all illustrated operations should be performed. In certain cases, multitasking and parallel processing may be advantageous. Also, the separation of the various system components of the above-described embodiments should not be understood as requiring such separation in all embodiments, and the described program components and systems will generally be integrated together into a single software product or packaged into multiple software products It should be understood.

본 발명은 우회 경로를 이용한 제어 프레임 전송 방법에 관한 것으로, 더욱 상세하게는 산업용 네트워크를 구성하는 각각의 노드들 연결 시 주 통신 라인과 별도의 통신 라인을 구비함으로써, 장애 발생에 보다 유연하게 대처할 수 있는 우회 경로를 이용한 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템에 관한 것이다. The present invention relates to a control frame transmission method using a bypass path, and more particularly, to a control frame transmission method using a bypass path, more specifically, by providing a communication line separate from a main communication line when connecting each node constituting an industrial network, A control frame transmission method using the bypass path, and a node and a control frame transmission system therefor.

본 발명은 산업용 이더넷 산업 발전에 이바지할 수 있으며, 더불어, 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용가능성이 있다.INDUSTRIAL APPLICABILITY The present invention can contribute to the development of industrial Ethernet industry, and it is possible to be industrially applicable because it has a possibility of being commercially available or operating as well as being practically and practically possible.

100: 마스터 노드 110: 마스터 통신부
110a: 제1 포트 110b: 제2 포트
120: 마스터 제어부 120a: 프레임 생성 모듈
120b: 이상 검출 모듈 130: 마스터 저장부
200: 슬레이브 노드 210: 슬레이브 통신부
220: 동작 수행부 230: 데이터 처리부
100: master node 110: master communication section
110a: first port 110b: second port
120: Master control unit 120a: Frame generation module
120b: abnormality detection module 130:
200: Slave node 210: Slave communication part
220: operation performing unit 230: data processing unit

Claims (11)

데이터 전송 경로에 위치하는 각 슬레이브 노드의 동작 제어를 위한 제어 정보를 포함하는 제어 프레임을 생성하고, 생성된 상기 제어 프레임을 상기 데이터 전송 경로 후단에 연결된 인접 슬레이브 노드로 전달하는 마스터 노드; 및
상기 제어 프레임을 상기 데이터 전송 경로 전단에 위치한 상기 마스터 노드 또는 인접 슬레이브 노드로부터 수신하여, 상기 제어 프레임에서 자신에 해당하는 동작 제어를 위한 제어 정보를 확인하고, 상기 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 상기 마스터 노드 또는 다른 인접 슬레이브 노드로 전달하는 복수의 슬레이브 노드;
를 포함하며,
상기 마스터 노드 및 슬레이브 노드는
인접 노드 간의 연결을 지원하는 제1 포트와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트를 포함하여 구성되며,
상기 제1 포트를 이용하여 상기 제어 프레임 전달 시 상기 인접 노드 또는 상기 인접 노드와 연결된 특정 라인에 장애가 발생한 경우, 상기 제2 포트를 이용하여 상기 제어 프레임을 전달하는 것을 특징으로 하는 제어 프레임 전송 시스템.
A master node for generating a control frame including control information for controlling operation of each slave node located in a data transmission path and transmitting the generated control frame to a neighboring slave node connected downstream of the data transmission path; And
Receiving the control frame from the master node or a neighboring slave node located in the preceding stage of the data transmission path to check control information for operation control corresponding to the control frame in the control frame, A plurality of slave nodes communicating to the master node or another neighboring slave node located in the slave node;
/ RTI >
The master node and the slave node
And a second port for supporting a connection between a first port supporting connection between adjacent nodes and another node having at least a gap between the adjacent nodes,
Wherein when the failure occurs in a specific line connected to the adjacent node or the neighboring node when the control frame is transmitted using the first port, the control frame is transmitted using the second port.
데이터 전송 경로에 위치하는 복수의 슬레이브 노드로 순차적으로 전달될 수 있는 제어 프레임을 전송하는 마스터 통신부; 및
상기 데이터 전송 경로에 위치하는 각 슬레이브 노드의 동작 제어를 위한 제어 정보를 포함하는 제어 프레임을 생성하고, 생성된 상기 제어 프레임을 상기 마스터 통신부를 통해 상기 데이터 전송 경로 후단에 연결된 인접 슬레이브 노드로 전달하는 마스터 제어부;
를 포함하며,
상기 마스터 통신부는
상기 인접 슬레이브 노드와의 연결을 지원하는 제1 포트와, 상기 인접 슬레이브 노드를 사이에 둔 다른 슬레이브 노드와의 연결을 지원하는 제2 포트를 포함하여 구성되며,
상기 마스터 제어부는
상기 제1 포트를 이용하여 상기 인접 슬레이브 노드로 상기 제어 프레임 전달 시 상기 인접 슬레이브 노드 또는 상기 인접 슬레이브 노드와 연결된 통신 라인에 장애가 발생한 경우, 상기 제2 포트를 통해 상기 다른 슬레이브 노드로 상기 제어 프레임을 전달하는 것을 특징으로 하는 마스터 노드.
A master communication unit for transmitting a control frame that can be sequentially transmitted to a plurality of slave nodes located in a data transmission path; And
Generates a control frame including control information for controlling operation of each slave node located in the data transmission path, and transmits the generated control frame to the adjacent slave node connected to the rear end of the data transmission path through the master communication unit A master control unit;
/ RTI >
The master communication unit
And a second port for supporting a connection between the first slave node and the first slave node, the first port supporting connection with the adjacent slave node,
The master control unit
When a failure occurs in a communication line connected to the adjacent slave node or the adjacent slave node when transferring the control frame to the adjacent slave node using the first port, transmits the control frame to the other slave node via the second port To the master node.
제2 항에 있어서,
상기 마스터 제어부는
상기 통신 라인의 전압을 감지하여, 감지된 전압이 기 설정된 값 이하인 경우, 상기 통신 라인에 장애가 발생한 것으로 판단하거나,
상기 인접 슬레이브 노드로 상기 제어 프레임을 전달한 후 기 설정된 시간 이내 상기 인접 슬레이브 노드로부터 응답 정보 또는 상기 응답 정보를 포함하는 제어 프레임이 수신되지 않거나, 상기 데이터 전송 경로에 위치하는 모든 슬레이브 노드를 거쳐 전달된 제어 프레임에 상기 인접 슬레이브 노드에 대응하는 응답 정보가 포함되어 있지 않을 경우, 상기 인접 슬레이브 노드에 장애가 발생한 것으로 판단하는 것을 특징으로 하는 마스터 노드.
3. The method of claim 2,
The master control unit
Detecting a voltage of the communication line and determining that a failure has occurred in the communication line when the sensed voltage is lower than a predetermined value,
A control frame including the response information or the response information is not received from the adjacent slave node within a predetermined time after the control frame is transmitted to the adjacent slave node or is transmitted through all the slave nodes located in the data transmission path And determines that a failure has occurred in the neighboring slave node if response information corresponding to the neighboring slave node is not included in the control frame.
제2 항에 있어서,
상기 각각의 슬레이브 노드별 포트 연결 정보를 저장하는 마스터 저장부;
를 더 포함하며,
상기 마스터 제어부는
상기 제1 포트를 통해 연결된 인접 슬레이브 노드와 상기 제2 포트를 통해 연결된 다른 슬레이브 노드 모두 장애가 발생된 것으로 판단되면, 상기 마스터 저장부에 기 저장된 상기 슬레이브 노드별 포트 연결 정보를 확인하여, 확인된 포트 연결 정보에 따라 해당하는 슬레이브 노드로 무선 통신 방식으로 상기 제어 프레임을 전달하는 것을 특징으로 하는 마스터 노드.
3. The method of claim 2,
A master storage unit for storing port connection information for each slave node;
Further comprising:
The master control unit
If it is determined that a failure has occurred in both the neighboring slave node connected through the first port and the other slave node connected through the second port, the port connection information for each slave node previously stored in the master storage unit is checked, And transmits the control frame in a wireless communication manner to the corresponding slave node according to the connection information.
데이터 전송 경로 전단에 위치한 마스터 노드 또는 다른 슬레이브 노드로부터 상기 마스터 노드가 전달한 제어 프레임을 수신하여 데이터 처리부로 전달하고, 상기 데이터 처리부의 제어에 따라 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 인접 노드로 전달하는 슬레이브 통신부;
상기 통신부를 통해 상기 제어 프레임이 전달되면, 상기 제어 프레임에서 해당하는 데이터 그램의 제어 정보를 확인하는 데이터 처리부; 및
상기 데이터 처리부에서 확인된 제어 정보에 대응하는 동작을 수행하는 동작 수행부;
를 포함하며,
상기 슬레이브 통신부는
인접 노드 간의 연결을 지원하는 제1 포트와, 적어도 상기 인접 노드를 사이에 둔 다른 노드와의 연결을 지원하는 제2 포트를 포함하여 구성되며,
상기 데이터 처리부는
상기 제1 포트를 이용하여 상기 제어 프레임 전달 시 상기 인접 노드 또는 상기 인접 노드와 연결된 특정 라인에 장애가 발생한 경우, 상기 제2 포트를 이용하여 상기 제어 프레임을 전달하는 것을 특징으로 하는 슬레이브 노드.
Receiving a control frame transmitted by the master node from a master node or another slave node located in the preceding stage of the data transmission path and transferring the control frame to a data processing unit and transmitting a control frame to a neighboring node located at a rear end of the data transmission path, A slave communication unit;
A data processing unit for checking the control information of the corresponding datagram in the control frame when the control frame is transmitted through the communication unit; And
An operation performing unit operable to perform an operation corresponding to the control information confirmed by the data processing unit;
/ RTI >
The slave communication unit
And a second port for supporting a connection between a first port supporting connection between adjacent nodes and another node having at least a gap between the adjacent nodes,
The data processing unit
Wherein when the failure occurs in a certain line connected to the adjacent node or the adjacent node when the control frame is transmitted using the first port, the control frame is transmitted using the second port.
제5 항에 있어서,
상기 데이터 처리부는
상기 제1 포트를 통해 연결된 통신 라인의 전압을 감지하여, 감지된 전압이 기 설정된 값 이하인 경우, 상기 통신 라인에 장애가 발생한 것으로 판단하거나,
상기 인접 노드로 상기 제어 프레임을 전달한 후 기 설정된 시간 이내 상기 인접 노드로부터 응답 정보가 수신되지 않을 경우, 상기 인접 노드에 장애가 발생한 것으로 판단하는 것을 특징으로 하는 슬레이브 노드.
6. The method of claim 5,
The data processing unit
Detecting a voltage of a communication line connected through the first port and determining that a failure has occurred in the communication line when the sensed voltage is lower than a predetermined value,
Wherein if the response information is not received from the neighboring node within a predetermined time after the control frame is transmitted to the neighboring node, the slave node determines that a failure has occurred in the neighboring node.
제5 항에 있어서,
상기 데이터 처리부는
상기 인접 노드 및 상기 다른 노드 모두 장애가 발생된 것으로 판단되면, 상기 마스터 노드로 장애 발생을 보고하고, 상기 마스터 노드로부터 연결 가능한 또 다른 노드에 대한 정보가 수신되면, 상기 또 다른 노드로 무선 통신 방식으로 상기 제어 프레임을 전달하는 것을 특징으로 하는 슬레이브 노드.
6. The method of claim 5,
The data processing unit
If a fault has occurred in both of the neighboring node and the other node, reports a failure occurrence to the master node, and if information about another node connectable from the master node is received, And transmits the control frame.
마스터 노드 및 복수의 슬레이브 노드를 포함하는 제어 프레임 전송 시스템에 있어서,
어느 하나의 노드가 제1 포트를 통해 연결된 인접 노드로 제어 프레임을 전달하는 단계;
상기 어느 하나의 노드가 상기 인접 노드 또는 인접 노드 간 연결된 통신 라인의 장애를 감지하는 단계; 및
상기 어느 하나의 노드가 장애가 발생된 것으로 감지하면, 제2 포트를 통해 연결되며, 상기 인접 노드를 사이에 둔 다른 노드로 상기 제어 프레임을 전달하는 단계;를 포함하며,
상기 감지하는 단계는,
상기 통신 라인의 전압을 감지하여, 감지된 전압이 기 설정된 값 이하인 경우, 상기 통신 라인에 장애가 발생한 것으로 판단하거나,
상기 인접 노드로 상기 제어 프레임을 전달한 후, 기 설정된 시간 이내 상기 인접 노드로부터 응답 정보 또는 상기 응답 정보를 포함하는 제어 프레임이 수신되지 않거나,
수신된 제어 프레임에 응답 정보가 포함되어 있지 않은 경우,
상기 인접 노드에 장애가 발생한 것으로 판단하는 것을 특징으로 하는 우회 경로를 이용한 제어 프레임 전송 방법.
A control frame transmission system including a master node and a plurality of slave nodes,
Transmitting a control frame to a neighboring node through which a node is connected through a first port;
Detecting any one of the nodes having a fault in the communication line connected between the adjacent node or the adjacent node; And
And transmitting the control frame to another node connected to the neighboring node via a second port when the node detects that a failure has occurred,
Wherein the sensing comprises:
Detecting a voltage of the communication line and determining that a failure has occurred in the communication line when the sensed voltage is lower than a predetermined value,
A control frame including the response information or the response information is not received from the neighboring node within a predetermined time after the control frame is transmitted to the neighboring node,
If the received control frame does not contain the response information,
And determining that a failure has occurred in the neighboring node.
삭제delete 제8 항에 있어서,
상기 다른 노드로 상기 제어 프레임을 전달하는 단계 이후에,
상기 인접 노드 및 상기 다른 노드 모두 장애가 발생된 것으로 판단되면, 상기 마스터 노드에 기 저장된 슬레이브 노드별 포트 연결 정보를 확인하여, 확인된 포트 연결 정보에 따라 해당하는 슬레이브 노드로 무선 통신 방식으로 상기 제어 프레임을 전달하는 것을 특징으로 하는 우회 경로를 이용한 제어 프레임 전송 방법.
9. The method of claim 8,
After forwarding the control frame to the other node,
If it is determined that a fault has occurred in both the neighbor node and the other node, it checks the port connection information for each slave node previously stored in the master node, and transmits the control frame to the corresponding slave node in accordance with the checked port connection information, And transmitting the control frame using the bypass path.
제8 항 및 제10항 중 어느 하나의 항에 기재된 우회 경로를 이용한 제어 프레임 전송 방법을 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록매체.


A computer-readable recording medium on which a program for executing a control frame transmission method using a detour path as recited in any one of claims 8 to 10 is recorded.


KR1020140125806A 2014-09-22 2014-09-22 Method for transmitting of control frame using detour link, node apparatus and system for the same KR101623063B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140125806A KR101623063B1 (en) 2014-09-22 2014-09-22 Method for transmitting of control frame using detour link, node apparatus and system for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140125806A KR101623063B1 (en) 2014-09-22 2014-09-22 Method for transmitting of control frame using detour link, node apparatus and system for the same

Publications (2)

Publication Number Publication Date
KR20160035139A KR20160035139A (en) 2016-03-31
KR101623063B1 true KR101623063B1 (en) 2016-05-24

Family

ID=55651897

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140125806A KR101623063B1 (en) 2014-09-22 2014-09-22 Method for transmitting of control frame using detour link, node apparatus and system for the same

Country Status (1)

Country Link
KR (1) KR101623063B1 (en)

Also Published As

Publication number Publication date
KR20160035139A (en) 2016-03-31

Similar Documents

Publication Publication Date Title
JP5776618B2 (en) Network switch
US10429813B2 (en) Communication system, communication device, and communication program
KR101483045B1 (en) System and method for signal failure detection in a ring bus system
US20140025833A1 (en) Communication Device and Method for Transmitting Messages in a Redundantly Operable Industrial Communication Network
JP5894516B2 (en) Control system
US8320387B2 (en) Ring type ethernet system, ring type switch, ring connection control circuit, ring type ethernet system control method, ring type switch control method and ring connection control method
CN103107940B (en) For the redundant gateway system of device level looped network
US8559300B2 (en) Redundant communications network
CN101611615B (en) Filtering of redundant frames in a network node
US20140071812A1 (en) Backup system of ring network and backup method of ring network
US9952919B2 (en) Semantic deduplication
KR101179431B1 (en) Network Management System based on a EhterCAT And Managing Method thereof
CN102918809B (en) The method of network and expanding element and operational network
KR101574900B1 (en) Control system for steel plant
KR101623063B1 (en) Method for transmitting of control frame using detour link, node apparatus and system for the same
JP6830608B2 (en) Communication system, controlled device, and control method of communication system
JP4541241B2 (en) Plant control system
JP4287734B2 (en) Network equipment
JP2002073121A (en) Network control system and its communication module and remote control method
JP6359914B2 (en) Relay system and relay device
JP2011024000A (en) Node, and network control method
JP6614668B2 (en) Communication control system, device server, communication control method and program
JP2017184072A (en) Transmission method of field network
KR101593218B1 (en) Method for transmitting of control frame based on variable datagram, node apparatus and system for the same
KR101576044B1 (en) Method for checking plural node condition using check bits and system thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190516

Year of fee payment: 4