KR101576044B1 - Method for checking plural node condition using check bits and system thereof - Google Patents

Method for checking plural node condition using check bits and system thereof Download PDF

Info

Publication number
KR101576044B1
KR101576044B1 KR1020140122274A KR20140122274A KR101576044B1 KR 101576044 B1 KR101576044 B1 KR 101576044B1 KR 1020140122274 A KR1020140122274 A KR 1020140122274A KR 20140122274 A KR20140122274 A KR 20140122274A KR 101576044 B1 KR101576044 B1 KR 101576044B1
Authority
KR
South Korea
Prior art keywords
node
control frame
status
master node
information
Prior art date
Application number
KR1020140122274A
Other languages
Korean (ko)
Inventor
오휘명
김영선
강지명
Original Assignee
한국전기연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전기연구원 filed Critical 한국전기연구원
Priority to KR1020140122274A priority Critical patent/KR101576044B1/en
Application granted granted Critical
Publication of KR101576044B1 publication Critical patent/KR101576044B1/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/40006Architecture of a communication node
    • H04L12/40026Details regarding a bus guardian
    • 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/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format

Abstract

The present invention relates to a technology for transmitting industrial large-amount object data. Particularly, a master node can selectively check information of a datagram according to a state bit as a check field area capable of checking an operation state of a slave node is added in a control frame and the master node checks whether the salve node normally operates. Therefore, load of an on-the-fly type network control system which is generated by calculation can be significantly reduced.

Description

상태 비트를 이용한 복수의 노드 상태 확인 방법 및 시스템{Method for checking plural node condition using check bits and system thereof}Method and System for Checking Multiple Node States Using Status Bits [

본 발명은 산업용 대량 객체 데이터 전송 기술에 관한 것으로서, 더욱 상세하게는 제어 프레임 내에 슬레이브 노드의 동작 상태를 확인할 수 있는 체크 필드 영역을 추가하고, 마스터 노드가 슬레이브 노드의 정상 동작 여부를 확인하는 상태 비트를 이용한 복수의 노드 상태 확인 방법 및 시스템에 관한 것이다.The present invention relates to an industrial mass object data transmission technology, and more particularly, to a technology for adding a check field area for checking the operation state of a slave node in a control frame, And more particularly, to a method and system for identifying a plurality of nodes using a plurality of nodes.

이 부분에 기술된 내용은 단순히 본 실시 예에 대한 배경 정보를 제공할 뿐 종래기술을 구성하는 것은 아니다.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.

하지만, 산업용 대량 객체 데이터 전송 기술은 산업 이더넷(Industrial Ethernet)를 기반으로 하는 30여개의 산업용 이더넷 시스템 중, 기술적인 측면, 표준화 상태 및 전략적 시장을 고려하여 PROFINET(RT, IRT), POWERLINK, Ethernet/IP, EtherCAT과 SERCOS Ⅲ 등이 각광받고 있으나, 시스템 제어를 위한 데이터 전송 기술 개발은 난이도가 높아 기술 개발에 어려움을 겪고 있다.However, industrial mass-data transmission technology uses PROFINET (RT, IRT), POWERLINK, Ethernet / Ethernet, etc., considering the technical aspects, standardization status and strategic market among 30 industrial Ethernet systems based on Industrial Ethernet. IP, EtherCAT and SERCOS Ⅲ, but it is difficult to develop data transmission technology for system control.

이러한 시점에서 산업 이더넷 통신 방식을 기반으로 하는 Ethernet 전송 방식은 구성의 용이함과 확장성의 강점으로 널리 사용되고 있으나, 제어 데이터와 같은 소량의 데이터를 전송하기 위해서는 많은 정보를 추가해야 하는 단점을 보유하고 있다.At this point, the Ethernet transmission method based on the industrial Ethernet communication method is widely used as the strength of the configuration and scalability, but it has a disadvantage of adding a lot of information in order to transmit a small amount of data such as control data.

이러한 산업용 이더넷 기술의 시장 확대는 산업 설비 자동화에 따른 이더넷 기반의 통신 기술의 발달에 따른 결과로, 지속적인 이더넷 기술의 시장 지배를 예측할 수 있으나, 최근 산업용 이더넷 기반의 데이터 전송 기술은 기술적 한계에 이르고 있어, 이를 극복할 수 있는 대량 객체 데이터 전송 기술 개발의 필요성이 점차 증대되고 있다.The market expansion of industrial Ethernet technology can predict the dominance of Ethernet technology in the market as a result of the development of Ethernet-based communication technology due to automation of industrial facilities. Recently, Industrial Ethernet based data transmission technology has reached technical limit , And the necessity of development of mass object data transmission technology that can overcome this is increasing.

특히, 최근 차세대 전력망이 발달함에 따라 1,000개 이상의 노드를 동시에 제어하기 위한 데이터 전송 기술이 필요하게 되었으며, 실시간으로 서비스 품질을 만족하기 위한 기술 개발이 절실한 시점이다.In particular, as the next generation power network develops, data transmission technology for controlling more than 1,000 nodes simultaneously becomes necessary, and it is time to develop technology to satisfy the service quality in real time.

한국등록특허 10-1102120 B1, 2011년 12월 27일 등록 (명칭: 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법 및 그 방법을 이용한 진단 정보 생성 장치)Korean Registered Patent No. 10-1102120 B1, Registered on December 27, 2011 (Name: Diagnosis method of channel fault of I / O module in fieldbus network and diagnostic information generating device using the method)

본 발명은 종래의 불편함을 해소하기 위하여 제안된 것으로서, 본 발명의 목적은 온 더 플라이(on the fly) 방식으로 복수의 슬레이브 노드를 제어하기 위해 복수의 슬레이브 노드에 각각 대응되는 복수의 데이터그램을 포함한 제어 프레임을 전송하고, 제어 프레임에 대한 응답 데이터를 수신하면 지정된 값으로 설정된 특정 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 정상 동작에 대한 유효성 검사를 수행하는 상태 비트를 이용한 복수의 노드 상태 확인 방법 및 시스템을 제공하고자 한다.SUMMARY OF THE INVENTION The present invention has been proposed in order to solve the conventional inconveniences and it is an object of the present invention to provide a method and apparatus for controlling a plurality of slave nodes in on- And receives a response frame for the control frame. When receiving the response data for the control frame, it checks the datagram information corresponding to the specific status bit set to the designated value, and performs a validity test for the normal operation. And to provide a node status checking method and system.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 시스템은 복수의 슬레이브 노드에 각각 대응되는 복수의 상태 비트 및 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송하고, 제어 프레임에 대한 응답 데이터가 수신되면, 지정된 값으로 설정된 각각의 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 해당 슬레이브 노드의 정상 동작 여부를 검사하는 마스터 노드 및 마스터 노드 또는 다른 슬레이브 노드로부터 순차적으로 전달된 제어 프레임이 수신되면, 마스터 노드로 보고할 정보를 특정 데이터그램에 추가로 저장하고, 해당 정보에 상응하는 상태 비트를 지정된 값으로 설정하고, 설정된 상태 비트를 포함하는 제어 프레임을 마스터 노드 또는 다른 슬레이브 노드 중 하나로 전달하는 복수의 슬레이브 노드를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a system for verifying a plurality of nodes using status bits, comprising: a plurality of status bits respectively corresponding to a plurality of slave nodes; When receiving the response frame for the control frame, checks the datagram information corresponding to each status bit set to the designated value and checks whether the corresponding slave node is operating normally When a control frame sequentially transmitted from a node and a master node or another slave node is received, information to be reported to the master node is additionally stored in a specific datagram, a status bit corresponding to the information is set to a specified value, The control frame containing the status bits is called the master node It characterized in that it comprises a plurality of slave nodes for transmitting to one of the other slave nodes.

또한, 본 발명에 따른 상태 비트를 이용한 복수의 노드 상태 확인 시스템에 있어서, 제어 프레임은 마스터 노드와 연결된 슬레이브 노드를 시작으로 온 더 플라이 방식의 네트워크 상에 위치한 나머지 슬레이브 노드로 순차적 전송되며, 최종적으로 다시 마스터 노드로 되돌아 오는 것을 특징으로 한다.In addition, in the plurality of node status checking systems using the status bits according to the present invention, the control frame is sequentially transmitted to the remaining slave nodes located on the on-the-fly network starting from the slave node connected to the master node, And returns to the master node again.

또한, 본 발명에 따른 상태 비트를 이용한 복수의 노드 상태 확인 시스템에 있어서, 슬레이브 노드는 통신 채널을 형성하고, 통신 채널을 통해 제어 프레임을 송수신하는 통신모듈과, 통신모듈을 통해 수신되는 제어 프레임의 데이터그램을 확인하고, 확인 후에 제어 프레임을 마스터 노드 또는 다른 슬레이브 노드로 전달하는 데이터 처리모듈 및 데이터그램에 대응하는 동작을 수행하도록 제어하는 동작 수행모듈을 포함하는 것을 특징으로 한다.In addition, in the plurality of node status checking systems using the status bits according to the present invention, the slave node may include a communication module for forming a communication channel, transmitting and receiving a control frame through a communication channel, A data processing module for confirming the datagram and transmitting the control frame to the master node or another slave node after confirmation, and an operation performing module for controlling to perform an operation corresponding to the datagram.

본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 방법은 마스터 노드가 복수의 슬레이브 노드에 각각 대응되는 복수의 상태 비트 및 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송하는 단계와, 마스터 노드가 제어 프레임에 대한 응답 데이터를 수신하는 단계 및 마스터 노드가 지정된 값으로 설정된 각각의 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 해당 슬레이브 노드의 정상 동작 여부를 검사하는 단계를 포함하는 것을 특징으로 한다.A method of verifying a plurality of nodes using state bits according to an embodiment of the present invention is a method in which a master node generates a control frame including a plurality of state bits corresponding to a plurality of slave nodes and a plurality of datagrams corresponding to a plurality of state bits A master node receiving response data for a control frame, and a master node selectively checking datagram information corresponding to each status bit set to a designated value to determine whether the corresponding slave node is operating normally And inspecting the image.

또한, 본 발명에 따른 상태 비트를 이용한 복수의 노드 상태 확인 방법에 있어서, 정상 동작 여부를 검사하는 단계는 마스터 노드가 제어 프레임 내 체크 필드에 포함된 상태 비트를 확인하는 단계 및 마스터 노드가 상태 비트에 따라 해당 슬레이브 노드에 대한 정상 동작 여부를 결정하는 단계를 포함하는 것을 특징으로 한다.In the method for checking the status of a plurality of nodes using status bits according to the present invention, the step of checking normal operation may include a step of the master node checking the status bits contained in the check field in the control frame, And determining whether the slave node is operating normally according to the determination result.

또한, 본 발명에 따른 상태 비트를 이용한 복수의 노드 상태 확인 방법에 있어서, 상태 비트는 각각의 슬레이브 노드의 정상 동작인 경우와 비정상 동작인 경우를 구별할 수 있는 비트인 것을 특징으로 한다.In the method for identifying a plurality of nodes using status bits according to the present invention, the status bits are bits that can distinguish between normal operation and abnormal operation of each slave node.

본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 방법은 슬레이브 노드가 마스터 노드 또는 다른 슬레이브 노드로부터 순차적으로 전달된 제어 프레임을 수신하는 단계와, 슬레이브 노드가 마스터 노드로 보고할 정보를 제어 프레임 내 해당 데이터그램에 추가로 저장하는 단계와, 슬레이브 노드가 해당 정보에 상응하는 상태 비트를 지정된 값으로 설정하는 단계 및 슬레이브 노드가 설정된 상태 비트를 포함하는 제어 프레임을 마스터 노드 또는 다른 슬레이브 노드 중 하나로 전달하는 단계를 포함하는 것을 특징으로 한다.A method for checking a plurality of nodes using a status bit according to an embodiment of the present invention includes receiving a control frame sequentially transmitted from a master node or another slave node and determining whether the slave node transmits information to be reported to the master node Storing a status bit corresponding to the information in the control frame; setting a status bit corresponding to the information to a designated value; and transmitting a control frame including a status bit set by the slave node to the master node or another slave node To the one of the plurality of devices.

본 발명의 과제 해결을 위한 또 다른 수단으로서, 복수의 슬레이브 노드에 각각 대응되는 복수의 상태 비트 및 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송하는 단계와, 제어 프레임에 대한 응답 데이터를 수신하는 단계 및 지정된 값으로 설정된 각각의 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 해당 슬레이브 노드의 정상 동작 여부를 검사하는 단계를 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록매체를 제공한다.As another means for solving the problem of the present invention, there is provided a method for controlling a slave node, comprising: transmitting a control frame including a plurality of status bits and a plurality of datagrams corresponding to a plurality of status bits respectively corresponding to a plurality of slave nodes; Receiving response data and selectively checking datagram information corresponding to each status bit set to a specified value to check whether the corresponding slave node operates normally or not. to provide.

또한, 본 발명의 과제 해결을 위한 또 다른 수단으로서, 마스터 노드 또는 다른 슬레이브 노드로부터 순차적으로 전달된 제어 프레임을 수신하는 단계와, 마스터 노드로 보고할 정보를 제어 프레임 내 해당 데이터그램에 추가로 저장하는 단계와, 해당 정보에 상응하는 상태 비트를 지정된 값으로 설정하는 단계 및 설정된 상태 비트를 포함하는 제어 프레임을 마스터 노드 또는 다른 슬레이브 노드 중 하나로 전달하는 단계를 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록매체를 제공한다.As another means for solving the problem of the present invention, there is provided a method for controlling a master node, comprising: receiving a control frame sequentially transmitted from a master node or another slave node; Setting a status bit corresponding to the information to a specified value, and transferring a control frame including the set status bit to one of a master node and another slave node, Lt; / RTI >

본 발명에 따르면, 각 슬레이브 노드의 동작 상태를 확인할 수 있는 상태 비트를 추가하고, 상태 비트가 0인 비트는 슬레이브 노드의 상태에 대한 보고 내용이 있는 것으로 확인하여 마스터 노드가 해당 슬레이브 노드의 데이터그램을 참조함으로써, 상세 정보를 확인할 수 있으며, 이에 마스터 노드는 상태 비트가 1인 비트의 슬레이브 노드의 데이터그램의 내용은 확인하지 않음으로써 연산 부담을 경감할 수 있다. 즉, 마스터 노드가 상태 비트에 따라 데이터그램의 정보를 선별적으로 확인할 수 있어, 온 더 플라이 방식의 네트워크 제어 시스템의 연산에 따른 부하가 현저히 경감될 수 있다.According to the present invention, a status bit for checking the operation status of each slave node is added, and a bit having a status bit of 0 is confirmed as having a report on the status of the slave node, The master node can reduce the computation burden by not confirming the contents of the datagram of the slave node of the bit whose status bit is 1. [ That is, the master node can selectively check the information of the datagram according to the status bit, so that the load due to the operation of the on-the-fly network control system can be remarkably reduced.

도 1은 본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 시스템의 구성을 도시한 도면이다.
도 2는 본 발명의 실시 예에 따라 온 더 플라이 방식을 적용하여 복수의 슬레이브 노드로 제어 프레임을 전송하기 위한 일 예를 도시한 도면이다.
도 3는 본 발명의 실시 예에 따라 마스터 노드에서 복수의 슬레이브 노드로 전송되는 제어 프레임의 구조를 도시한 도면이다.
도 4는 본 발명의 실시 예에 따른 복수의 노드 상태 확인 시스템에서의 마스터 노드의 구체적인 구성을 도시한 도면이다.
도 5는 본 발명의 실시 예에 따른 복수의 노드 상태 확인 시스템에서의 슬레이브 노드의 구체적인 구성을 도시한 도면이다.
도 6은 본 발명의 실시 예에 따라 상태 비트를 이용한 복수의 노드 상태 확인 방법을 설명하기 위한 마스터 노드의 동작 흐름도이다.
도 7은 본 발명의 실시 예에 따라 상태 비트를 이용한 복수의 노드 상태 확인 방법을 설명하기 위한 슬레이브 노드의 동작 흐름도이다.
1 is a diagram illustrating a configuration of a plurality of node status checking systems using status bits according to an embodiment of the present invention.
2 is a diagram illustrating an example of transmitting a control frame to a plurality of slave nodes by applying an on-the-fly method according to an embodiment of the present invention.
3 is a diagram illustrating a structure of a control frame transmitted from a master node to a plurality of slave nodes according to an embodiment of the present invention.
4 is a diagram showing a specific configuration of a master node in a plurality of node status checking systems according to an embodiment of the present invention.
5 is a diagram illustrating a specific configuration of a slave node in a plurality of node status checking systems according to an embodiment of the present invention.
6 is an operation flowchart of a master node for explaining a plurality of node status checking methods using status bits according to an embodiment of the present invention.
7 is a flowchart illustrating an operation of a slave node for explaining a plurality of node status checking methods using status bits according to an embodiment of the present invention.

이하, 본 발명의 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명한다. 다만, 하기의 설명 및 첨부된 도면에서 본 발명의 요지를 흐릴 수 있는 공지 기능 또는 구성에 대한 상세한 설명은 생략한다. 또한, 도면 전체에 걸쳐 동일한 구성 요소들은 가능한 한 동일한 도면 부호로 나타내고 있음에 유의하여야 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the accompanying drawings, detailed description of well-known functions or constructions that may obscure the subject matter of the present invention will be omitted. It should be noted that the same constituent elements are denoted by the same reference numerals as possible throughout the drawings.

이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위한 용어의 개념으로 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서 본 명세서에 기재된 실시 예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시 예에 불과할 뿐이고, 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형 예들이 있을 수 있음을 이해하여야 한다.The terms and words used in the present specification and claims should not be construed to be limited to ordinary or dictionary meanings and the inventor is not limited to the concept of terminology for describing his or her invention in the best way. It should be interpreted as meaning and concept consistent with the technical idea of the present invention. Therefore, the embodiments described in the present specification and the configurations shown in the drawings are merely the most preferred embodiments of the present invention, and not all of the technical ideas of the present invention are described. Therefore, It is to be understood that equivalents and modifications are possible.

우선, 본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 시스템에 대해 첨부된 도면을 참조하여 구체적으로 설명하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a plurality of node status checking systems using status bits according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 시스템의 구성을 도시한 도면이고, 도 2는 본 발명의 실시 예에 따라 온 더 플라이 방식을 적용하여 복수의 슬레이브 노드로 제어 프레임을 전송하기 위한 일 예를 도시한 도면이고, 도 3는 본 발명의 실시 예에 따라 마스터 노드에서 복수의 슬레이브 노드로 전송되는 제어 프레임의 구조를 도시한 도면이다.FIG. 1 is a diagram illustrating a configuration of a plurality of node status checking systems using status bits according to an embodiment of the present invention. FIG. 2 is a block diagram illustrating a configuration of a plurality of slave nodes FIG. 3 is a diagram illustrating a structure of a control frame transmitted from a master node to a plurality of slave nodes according to an embodiment of the present invention. Referring to FIG.

도 1을 참조하면, 본 발명의 실시 예에 따른 복수의 노드 상태 확인 시스템은 산업용 대량 객체 데이터 전송을 위한 시스템으로서, 통신망(미도시)을 통해 연결되는 마스터 노드(100) 및 복수의 슬레이브 노드(200)를 포함하여 구성할 수 있다.Referring to FIG. 1, a plurality of node status checking systems according to an embodiment of the present invention are systems for industrial mass object data transmission, and include a master node 100 and a plurality of slave nodes (not shown) connected through a communication network 200).

마스터 노드(100) 및 복수의 슬레이브 노드(200)는 산업 현장에 설치된 대량의 노드로서, 전력 공급 설비, 구동 장치 및 제조 설비 등이 포함될 수 있다.The master node 100 and the plurality of slave nodes 200 are a large number of nodes installed in an industrial field, and may include a power supply facility, a driving apparatus, a manufacturing facility, and the like.

마스터 노드(100)는 산업 현장에서 복수의 슬레이브 노드(200)를 제어하기 위한 객체로서, 온 더 플라이 방식으로 연결된 복수의 슬레이브 노드(200)로서, 데이터 사이즈 및 포맷이 서로 다른 데이터 프레임을 구성하고, 각각의 슬레이브 노드에 매칭되는 데이터그램을 제어 프레임에 실어 전송할 수 있다.The master node 100 is an object for controlling a plurality of slave nodes 200 in an industrial field and is composed of a plurality of slave nodes 200 connected in an on-the-fly manner and having different data sizes and formats from each other , A datagram matched to each slave node may be transmitted on a control frame.

마스터 노드(100)는 복수의 슬레이브 노드(200)에 각각 대응되는 복수의 상태 비트 및 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 인접한 슬레이브 노드로 전송한다. 그리고, 마스터 노드(100)는 제어 프레임에 대한 응답 데이터(피드백; feedback)가 수신되는지 확인한다. 여기서, 제어 프레임은 마스터 노드(100)와 연결된 슬레이브 노드를 시작으로 온 더 플라이 방식의 네트워크 상에 위치한 나머지 슬레이브 노드들로 순차적 전송되며, 다시 마스터 노드(100)로 되돌아 온다.The master node 100 transmits a control frame including a plurality of status bits corresponding to the plurality of slave nodes 200 and a plurality of datagrams corresponding to the plurality of status bits to the adjacent slave node. Then, the master node 100 checks whether response data (feedback) to the control frame is received. Here, the control frame is sequentially transmitted to the remaining slave nodes located on the on-fly network starting from the slave node connected to the master node 100, and then returned to the master node 100 again.

마스터 노드(100)는 다수의 데이터그램을 포함하는 제어 프레임에 대한 응답 데이터가 수신됨에 따라 지정된 값(0 또는 1)으로 설정된 특정 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 각각의 슬레이브 장치의 정상 동작에 대한 검사를 수행한다. 여기서, 상태 비트는 각각의 슬레이브 노드의 정상 동작인 경우(상태 비트 '0' 또는 '1')와 비정상 동작인 경우(상태 비트 '1' 또는 '0')를 구별할 수 있는 비트이다. 이때, 마스터 노드(100)는 제어 프레임의 체크 필드 내 포함된 상태 비트를 확인하고, 상태 비트에 따라 정상 동작 여부를 결정할 수 있다.The master node 100 selectively checks datagram information corresponding to a specific status bit set to a designated value (0 or 1) as response data for a control frame including a plurality of datagrams is received, And performs a check for normal operation of the apparatus. Here, the status bit is a bit that can distinguish between normal operation (status bit '0' or '1') and abnormal operation (status bit '1' or '0') of each slave node. At this time, the master node 100 can check the status bits included in the check field of the control frame, and determine whether the normal operation is performed according to the status bits.

한편, 첨부된 도 3에 도시된 바와 같이 제어 프레임은 헤더 영역(10), 체크 필드 영역(20), 제어 데이터 내 다수의 데이터그램 영역(31, 32, …, 3n) 및 CRC 영역(40)으로 구성될 수 있다. 여기서, 헤더 영역에는 모드 정보 및 제어 프레임에 대한 간단한 정보들이 포함될 수 있다. 또한, 체크 필드 영역에는 각 슬레이브 노드 별로 회신된 데이터그램에 대한 상태 비트(21, 22, …, 2n)를 포함한다. 예를 들어, 상태 비트는 슬레이브 노드가 정상 동작인 경우, 체크 필드 영역에 기 설정된 '0' 비트로 표시되고, 슬레이브 노드가 비정상 동작인 경우, 체크 필드 영역에 기 설정된 '1' 비트로 표시될 수 있다.3, the control frame includes a header area 10, a check field area 20, a plurality of datagram areas 31, 32, ..., 3n in the control data, and a CRC area 40, . Here, the header area may include simple information on the mode information and the control frame. Also, the check field area includes status bits 21, 22, ..., 2n for datagrams returned for each slave node. For example, if the slave node is in a normal operation, the status bit may be indicated by a pre-set '0' bit in the check field region, and if the slave node is in an abnormal state, .

또한, 마스터 노드(100)는 첨부된 도 2에 도시된 바와 같이, 온 더 플라이 방식으로 제어 주기 동안 링 구조의 경로 상에 위치한 복수의 슬레이브 노드(200)로 데이터그램(제어 데이터)를 포함하여 구성된 제어 프레임을 전송할 수 있다. 여기서, 제어 프레임은 마스터 노드(100)에서 생성되며, 복수의 슬레이브 노드(200)로 전송되고, 각각 순차적으로 연결된 모든 슬레이브 노드(200)를 통과하여 다시 마스터 노드(100)로 되돌아 올 수 있다. 이때, 마스터 노드(100)로 되돌아온 제어 프레임은 각 슬레이브 노드에 대한 정상 동작 여부를 확인할 수 있는 상태 비트를 포함할 수 있다.2, the master node 100 includes datagrams (control data) in a plurality of slave nodes 200 located on the path of the ring structure during a control period in an on-the-fly manner It is possible to transmit the configured control frame. Here, the control frame may be generated in the master node 100, transmitted to the plurality of slave nodes 200, and may be returned to the master node 100 through all of the slave nodes 200 sequentially connected thereto. At this time, the control frame returned to the master node 100 may include a status bit for checking whether the slave node is normally operated.

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

복수의 슬레이브 노드(200)는 마스터 노드(100) 또는 이전 슬레이브 노드(200)로부터 전달된 제어 프레임을 분석하여 자신의 정보를 취하고, 제어 프레임 내 체크 필드 영역에 상태 비트('0' 또는 '1')를 추가하여 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송할 수 있다. 한편, 복수의 슬레이브 노드(200)는 수신된 제어 프레임을 확인하여 자신에 매칭되는 데이터그램에 제어 정보 또는 업그레이드 정보가 포함되어 있지 않은 경우, 제어 프레임 내 체크 필드에 상태 비트('0' 또는 '1')를 추가하고, 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송할 수 있다.The plurality of slave nodes 200 analyze the control frame transmitted from the master node 100 or the previous slave node 200 and take their own information and write a status bit ('0' or '1' 'To the next slave node 200 or the master node 100. If the control frame or the upgrade information is not included in the datagram matching the received control frame, the plurality of slave nodes 200 transmits a status bit ('0' or ' 1 ') to the next slave node 200 or the master node 100.

만약, 복수의 슬레이브 노드(200)는 수신된 제어 프레임 내 제어 정보 또는 업그레이드 정보가 포함된 경우, 자신의 제어 정보 또는 업그레이드 정보를 추출하고, 추출된 제어 정보 또는 업그레이드 정보에 대응하여 제어 동작 또는 소프트웨어 업그레이드 동작을 수행할 수 있다.If the control information or upgrade information in the received control frame is included, the plurality of slave nodes 200 extract their own control information or upgrade information, and perform control operations or software corresponding to the extracted control information or upgrade information An upgrade operation can be performed.

즉, 슬레이브 노드(200)는 마스터 노드(100) 또는 다른 슬레이브 노드로부터 순차적으로 전달된 제어 프레임을 수신한다. 그리고, 슬레이브 노드(200)는 마스터 노드(100)로 보고할 정보를 제어 프레임 내 특정 데이터그램에 저장한다. 이후, 슬레이브 노드(200)는 정상 동작 여부와 매핑되는 특정 상태 비트를 지정된 값으로 설정하고, 설정된 상태 비트를 포함하는 제어 프레임을 마스터 노드(100) 또는 인접한 다른 슬레이브 노드로 전달한다.That is, the slave node 200 receives control frames sequentially transmitted from the master node 100 or another slave node. The slave node 200 stores information to be reported to the master node 100 in a specific datagram in the control frame. After that, the slave node 200 sets a specific status bit to be mapped with the normal operation status to a designated value, and delivers a control frame including the set status bit to the master node 100 or another adjacent slave node.

이를 통해, 본 발명은 각 슬레이브 노드의 동작 상태를 확인할 수 있는 상태 비트를 추가하고, 상태 비트가 0인 비트는 슬레이브 노드의 상태에 대한 보고 내용이 있는 것으로 확인하여 마스터 노드가 해당 슬레이브 노드의 데이터그램을 참조함으로써, 상세 정보를 확인할 수 있으며, 이에 마스터 노드는 상태 비트가 1인 비트의 슬레이브 노드의 데이터그램의 내용은 확인하지 않음으로써 연산 부담을 경감할 수 있다. 즉, 마스터 노드가 상태 비트에 따라 데이터그램의 정보를 선별적으로 확인할 수 있어, 온 더 플라이 방식의 네트워크 제어 시스템의 연산에 따른 부하가 현저히 경감될 수 있다.Accordingly, the present invention adds a status bit to check the operation status of each slave node, and confirms that the bit having a status bit of 0 has a report on the status of the slave node, The master node can reduce the computation burden by not confirming the contents of the datagram of the slave node of the bit whose status bit is 1. [ That is, the master node can selectively check the information of the datagram according to the status bit, so that the load due to the operation of the on-the-fly network control system can be remarkably reduced.

다음은 마스터 노드(100)의 구체적인 구성을 첨부된 도면을 참조하여 구체적으로 설명하기로 한다.Hereinafter, a specific configuration of the master node 100 will be described in detail with reference to the accompanying drawings.

도 4는 본 발명의 실시 예에 따른 복수의 노드 상태 확인 시스템에서의 마스터 노드의 구체적인 구성을 도시한 도면이다. 4 is a diagram showing a specific configuration of a master node in a plurality of node status checking systems according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 실시 예에 따른 마스터 노드(100)는 제어부(110), 통신부(120) 및 저장부(130)를 포함하여 구성될 수 있다. 여기서, 제어부(110)는 복수의 슬레이브 노드(200)를 제어하기 위하여 제어 프레임 내 제어 데이터에 데이터그램을 생성하고, 제어 프레임을 복수의 슬레이브 노드(200)로 순차적으로 전송한다. 이를 위해, 제어부(110)는 데이터그램 생성모듈(111) 및 체크 필드 확인모듈(112)을 포함할 수 있다.4, a master node 100 according to an embodiment of the present invention may include a controller 110, a communication unit 120, and a storage unit 130. Here, the control unit 110 generates a datagram in the control data in the control frame to control the plurality of slave nodes 200, and sequentially transmits the control frame to the plurality of slave nodes 200. For this, the control unit 110 may include a datagram generation module 111 and a check field confirmation module 112.

데이터그램 생성모듈(111)은 링 구 조의 경로 상에 위치한 복수의 슬레이브 노드(200)의 각각을 제어하기 위한 제어 정보를 데이터그램으로 생성하고, 생성된 데이터그램을 제어 프레임 내에 실어 연결된 슬레이브 노드(200)에 전송하도록 제어할 수 있다.The datagram generation module 111 generates control information for controlling each of the plurality of slave nodes 200 located on the path of the ring structure as a datagram and transmits the generated datagram to a slave node 200).

특히, 데이터그램 생성모듈(111)은 제어 프레임을 헤더 영역(10), 체크 필드 영역(20), 제어 데이터 내 데이터그램 영역(30) 및 CRC 영역(40)으로 구분하여 구성할 수 있다. 여기서, 체크 필드 영역(20)은 각 슬레이브 노드 별로 매칭되어 저장된 데이터그램에 대한 상태 비트(21, 22, …, 2n)를 포함한다.Particularly, the datagram generation module 111 can be configured by dividing a control frame into a header area 10, a check field area 20, a datagram area 30 in the control data, and a CRC area 40. Here, the check field area 20 includes status bits 21, 22, ..., 2n for the datagrams stored and matched for each slave node.

체크 필드 확인모듈(112)는 제어 데이터에 대한 슬레이브 노드의 정상 동작 여부를 확인할 수 있는 상태 비트(지정된 값으로 설정)를 선별적으로 확인하여 정상 동작에 대한 검사를 수행한다. 여기서, 체크 필드 확인모듈(112)는 제어 프레임의 체크 필드 내 포함된 상태 비트를 확인하고, 상태 비트에 따라 정상 동작 여부를 결정할 수 있다.The check field confirmation module 112 selectively checks a status bit (set to a designated value) for checking whether the slave node is normally operating with respect to control data, and performs a check for a normal operation. Here, the check field confirmation module 112 can check the status bits included in the check field of the control frame, and determine whether to operate normally according to the status bits.

통신부(120)는 제어부(110)에서 생성된 제어 프레임을 슬레이브 노드(200)로 전송할 수 있다. 또한, 통신부(120)는 온 더 플라이 방식으로 링 구조의 경로 상에 위치한 나머지 복수의 슬레이브 노드(200)로 순차적으로 전송된 후 되돌아 온 제어 프레임에 상응하는 응답 데이터를 수신하고, 수신된 응답 데이터를 제어부(110)로 전달할 수 있다.The communication unit 120 may transmit the control frame generated by the control unit 110 to the slave node 200. Also, the communication unit 120 sequentially receives the response data corresponding to the control frame that is returned after being sequentially transmitted to the remaining plurality of slave nodes 200 located on the path of the ring structure in an on-the-fly manner, To the control unit 110.

저장부(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 storage unit 130 stores information necessary for operation of the master node 100, and may store the generated control information, upgrade information, and received response information. The storage unit 130 may be an optical recording 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 (DVD) A magneto-optical medium such as a floppy disk and a ROM, a random access memory (RAM), and a flash memory.

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

도 5는 본 발명의 실시 예에 따른 복수의 노드 상태 확인 시스템에서의 슬레이브 노드의 구체적인 구성을 도시한 도면이다.5 is a diagram illustrating a specific configuration of a slave node in a plurality of node status checking systems according to an embodiment of the present invention.

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

통신모듈(210)은 링 구조의 경로 상에서 순차적으로 전송된 제어 프레임을 수신하고, 수신된 제어 프레임을 데이터 처리모듈(220)로 전달할 수 있다. 또한, 통신모듈(210)은 제어 프레임 내 제어 데이터의 데이터그램에 포함된 제어 정보 및 업그레이드 정보에 따라 동작을 수행하고, 동작 여부, 및 현재 상태 또는 요청된 정보 등에 대한 응답 정보를 체크 필드 내 상태 비트로 추가하고, 상태 비트가 추가된 제어 프레임을 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송할 수 있다.The communication module 210 may receive the control frame sequentially transmitted on the path of the ring structure, and may transmit the received control frame to the data processing module 220. In addition, the communication module 210 performs an operation according to the control information and the upgrade information included in the datagram of the control data in the control frame, and outputs response information on the operation state, the current state, Bit and the control frame to which the status bit is added can be transmitted to the next slave node 200 or the master node 100. [

데이터 처리모듈(220)은 입력 포트를 통해 수신되는 제어 프레임을 출력 포트를 통해 마스터 노드(100) 또는 다른 슬레이브 노드로 전달한다. 즉, 데이터 처리모듈(220)은 통신모듈(210)로부터 수신된 제어 프레임 내 제어 데이터에 포함된 데이터그램을 분석하여 자신과 매칭되는 제어 정보만을 추출하고, 추출된 제어 정보를 동작 수행모듈(230)로 전달할 수 있다. 또한, 데이터 처리모듈(220)은 수신된 제어 프레임 내 동작 제어 정보 또는 업그레이드 정보가 포함된 경우, 자신과 매칭되는 동작 제어 정보 또는 업그레이드 정보를 추출하고, 추출된 동작 제어 정보 또는 업그레이드 정보에 대응하여 제어 동작 또는 소프트웨어 업그레이드 기능을 수행할 수 있다. 또한, 데이터 처리모듈(220)는 동작 여부에 대응하는 응답 데이터 제어 프레임 내 체크 필드 영역에 상태 비트로 추가하여 다음 슬레이브 노드 또는 마스터 노드로 전송할 수 있다.The data processing module 220 transfers the control frame received through the input port to the master node 100 or another slave node through the output port. That is, the data processing module 220 analyzes the datagram included in the control data in the control frame received from the communication module 210, extracts only the control information matched with the received datagram, and transmits the extracted control information to the operation performing module 230 ). ≪ / RTI > When the received operation control information or upgrade information is included in the received control frame, the data processing module 220 extracts operation control information or upgrade information matching with the received operation control information or upgrade information, Control operation or software upgrade function. In addition, the data processing module 220 may add the status bit to the check field area in the response data control frame corresponding to the operation status, and may transmit the status bit to the next slave node or the master node.

동작 수행모듈(230)은 슬레이브 노드(200)의 전반적인 동작을 제어하고, 슬레이브 노드(200)의 상태를 파악하여 관리할 수 있다. 그리고 동작 수행모듈(230)은 데이터 처리모듈(220)로부터 전달된 동작 제어 정보에 대응하는 동작을 수행할 수 있다. 또한, 동작 수행모듈(230)은 동작 수행에 따른 결과 및 동작 요청에 따른 응답 정보 및 현재 상태에 대한 정보를 파악하고, 파악된 하나 이상의 정보를 데이터 처리모듈(220)로 전송할 수 있다.The operation performing module 230 can control the overall operation of the slave node 200 and can grasp and manage the state of the slave node 200. The operation performing module 230 may perform an operation corresponding to the operation control information transmitted from the data processing module 220. In addition, the operation performing module 230 can grasp the result of the operation and the response information according to the operation request and the information on the current state, and transmit the determined one or more pieces of information to the data processing module 220.

그러면 본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 방법에 대해 구체적으로 설명하기로 한다.Hereinafter, a method of verifying a plurality of nodes using a status bit according to an embodiment of the present invention will be described in detail.

도 6은 본 발명의 실시 예에 따라 상태 비트를 이용한 복수의 노드 상태 확인 방법을 설명하기 위한 마스터 노드의 동작 흐름도이다.6 is an operation flowchart of a master node for explaining a plurality of node status checking methods using status bits according to an embodiment of the present invention.

도 6을 참조하면, 본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 방법에 있어서, 마스터 노드(100)는 S11 단계에서 복수의 슬레이브 노드(200)에 각각 대응되는 복수의 상태 비트 및 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송한다. 여기서, 제어 프레임은 헤더 영역(10), 체크 필드 영역(20), 제어 데이터 내 다수의 데이터그램 영역(31, 32, …, 3n) 및 CRC 영역(40)으로 구성될 수 있다. 여기서, 헤더 영역에는 모드 정보 및 제어 프레임에 대한 간단한 정보들이 포함될 수 있다. 또한, 체크 필드 영역에는 각 슬레이브 노드 별로 회신된 데이터그램에 대한 상태 비트(21, 22, …, 2n)를 포함한다. 예를 들어, 상태 비트는 슬레이브 노드가 정상 동작인 경우, 체크 필드 영역에 기 설정된 '0' 비트로 표시되고, 슬레이브 노드가 비정상 동작인 경우, 체크 필드 영역에 기 설정된 '1' 비트로 표시될 수 있다. 이러한, 제어 프레임은 마스터 노드(100)와 연결된 슬레이브 노드를 시작으로 온 더 플라이 방식의 네트워크 상에 위치한 나머지 슬레이브 노드로 순차적 전송되며, 다시 마스터 노드(100)로 되돌아 온다.Referring to FIG. 6, in the method of verifying a plurality of nodes using state bits according to an embodiment of the present invention, the master node 100 generates a plurality of state bits corresponding to a plurality of slave nodes 200 in step S11, And a plurality of datagrams corresponding to the plurality of status bits. Here, the control frame may be composed of a header area 10, a check field area 20, a plurality of datagram areas 31, 32, ..., 3n in the control data, and a CRC area 40. Here, the header area may include simple information on the mode information and the control frame. Also, the check field area includes status bits 21, 22, ..., 2n for datagrams returned for each slave node. For example, if the slave node is in a normal operation, the status bit may be indicated by a pre-set '0' bit in the check field region, and if the slave node is in an abnormal state, . The control frame is sequentially transmitted from the slave node connected to the master node 100 to the remaining slave nodes located on the on-fly network, and then returned to the master node 100 again.

마스터 노드(100)는 S13 단계에서 슬레이브 노드로부터 기 전송된 제어 프레임에 포함된 제어 데이터와 연관된 응답 데이터가 수신되는지 확인한다.In step S13, the master node 100 determines whether response data associated with the control data included in the control frame transmitted from the slave node is received.

응답 데이터가 수신되면, 마스터 노드(100)는 S15 단계에서 지정된 값으로 설정된 특정 상태 비트를 확인한다. 예를 들어, 상태 비트는 슬레이브 노드의 동작 상태가 정상인 경우에는 '0' 비트로 표시되고, 슬레이브 노드의 동작 상태가 비정상인 경우에는 '1' 비트로 표시될 수 있다.When the response data is received, the master node 100 confirms the specific status bit set to the value specified in step S15. For example, the status bit may be represented by a '0' bit if the slave node is in an operational state, and may be represented by a '1' bit if the slave node is in an abnormal state.

그리고, 마스터 노드(100)는 S17 단계에서 확인된 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 정상 동작에 대한 유효성 검사를 수행한다. 이때, 마스터 노드(100)는 제어 프레임의 체크 필드 내 포함된 상태 비트를 확인하고, 상태 비트에 따라 각각의 슬레이브 노드의 정상 동작 여부를 결정할 수 있다.Then, the master node 100 selectively checks the datagram information corresponding to the status bits identified in step S17 and performs a validity check on the normal operation. At this time, the master node 100 can check the status bits included in the check field of the control frame, and determine whether each slave node operates normally according to the status bits.

도 7은 본 발명의 실시 예에 따라 상태 비트를 이용한 복수의 노드 상태 확인 방법을 설명하기 위한 슬레이브 노드의 동작 흐름도이다.7 is a flowchart illustrating an operation of a slave node for explaining a plurality of node status checking methods using status bits according to an embodiment of the present invention.

도 7을 참조하면, 본 발명의 실시 예에 따른 상태 비트를 이용한 복수의 노드 상태 확인 방법에 있어서, 슬레이브 노드(200)는 S21 단계에서 마스터 노드(100) 또는 인접한 다른 슬레이브 노드로부터 순차적으로 전달된 제어 프레임을 수신한다.Referring to FIG. 7, in the method of verifying a plurality of nodes using status bits according to the embodiment of the present invention, the slave node 200 sequentially transmits the status bits from the master node 100 or another adjacent slave node in step S21 And receives a control frame.

슬레이브 노드(200)는 S23 단계에서 마스터 노드로 보고할 정보를 제어 프레임 내 특정 데이터그램에 추가로 저장한다. 여기서, 슬레이브 노드(200)는 제어 프레임 내 제어 데이터에 포함된 데이터그램을 분석하여 자신의 제어 정보만을 추출하고, 수신된 제어 프레임 내 제어 정보 또는 업그레이드 정보가 포함된 경우, 자신의 제어 정보 또는 업그레이드 정보를 추출한다. 그리고, 슬레이브 노드(200)는 추출된 제어 정보 또는 업그레이드 정보에 대응하여 제어 동작 또는 소프트웨어 업그레이드 동작을 수행할 수 있다.The slave node 200 further stores information to be reported to the master node in the specific datagram in the control frame in step S23. Here, the slave node 200 analyzes the datagram included in the control data in the control frame and extracts only its own control information. If control information in the received control frame or upgrade information is included, Information is extracted. The slave node 200 may perform a control operation or a software upgrade operation corresponding to the extracted control information or upgrade information.

그리고, 슬레이브 노드(200)는 S25 단계에서 특정 상태 비트를 지정된 값으로 설정한다. 예를 들어, 슬레이브 노드(200)는 정상 동작인 경우, 체크 필드 내 상태 비트 '0' 비트로 표시하고, 동작 상태가 비정상인 경우에는 상태 비트를 '1' 비트로 표시할 수 있다. 이후, 슬레이브 노드(200)는 S27 단계에서 설정된 상태 비트를 포함하는 제어 프레임을 마스터 노드(100) 또는 인접한 다른 슬레이브 노드로 전달한다.In step S25, the slave node 200 sets a specific status bit to a designated value. For example, if the slave node 200 is in a normal operation, the status bit in the check field is indicated by a '0' bit, and if the operation state is abnormal, the slave node 200 may display a status bit by a '1' bit. Thereafter, the slave node 200 transmits a control frame including the status bits set in step S27 to the master node 100 or another adjacent slave node.

한편, 본 명세서와 도면에 개시된 본 발명의 실시 예들은 이해를 돕기 위해 특정 예를 제시한 것에 지나지 않으며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명한 것이다.It should be noted that the embodiments of the present invention disclosed in the present specification and drawings are only illustrative of specific examples for the purpose of understanding and are not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention are possible in addition to the embodiments disclosed herein.

또한, 본 명세서는 다수의 특정한 구현물의 세부사항들을 포함하지만, 이들은 어떠한 발명이나 청구 가능한 것의 범위에 대해서도 제한적인 것으로서 이해되어서는 안되며, 오히려 특정한 발명의 특정한 실시형태에 특유할 수 있는 특징들에 대한 설명으로서 이해되어야 한다. 개별적인 실시형태의 문맥에서 본 명세서에 기술된 특정한 특징들은 단일 실시형태에서 조합하여 구현될 수도 있다. 반대로, 단일 실시형태의 문맥에서 기술한 다양한 특징들 역시 개별적으로 혹은 어떠한 적절한 하위 조합으로도 복수의 실시형태에서 구현 가능하다. 나아가, 특징들이 특정한 조합으로 동작하고 초기에 그와 같이 청구된 바와 같이 묘사될 수 있지만, 청구된 조합으로부터의 하나 이상의 특징들은 일부 경우에 그 조합으로부터 배제될 수 있으며, 그 청구된 조합은 하위 조합이나 하위 조합의 변형물로 변경될 수 있다.In addition, 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 features that may be specific to a particular embodiment of a particular invention Should be understood as an explanation. 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. 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.

본 발명은 온 더 플라이(on the fly) 방식으로 복수의 슬레이브 노드를 제어하기 위해 복수의 슬레이브 노드에 각각 대응되는 복수의 상태 비트 및 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송하고, 제어 프레임에 대한 응답을 수신하면 지정된 값으로 설정된 특정 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 정상 동작에 대한 검사를 수행한다. 이에 따라, 본 발명은 각 슬레이브 노드의 동작 상태를 확인할 수 있는 상태 비트를 추가하고, 상태 비트가 0인 비트는 슬레이브 노드의 상태에 대한 보고 내용이 있는 것으로 확인하여 마스터 노드가 해당 슬레이브 노드의 데이터그램을 참조함으로써, 상세 정보를 확인할 수 있으며, 이에 마스터 노드는 상태 비트가 1인 비트의 슬레이브 노드의 데이터그램의 내용은 확인하지 않음으로써 연산 부담을 경감할 수 있다. 즉, 마스터 노드가 상태 비트에 따라 데이터그램의 정보를 선별적으로 확인할 수 있어, 온 더 플라이 방식의 네트워크 제어 시스템의 연산에 따른 부하가 현저히 경감될 수 있다. 이는 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용가능성이 있다.The present invention provides a control frame including a plurality of status bits corresponding to a plurality of slave nodes and a plurality of datagrams corresponding to a plurality of status bits in order to control a plurality of slave nodes on an on- And upon receipt of a response to the control frame, selectively checks the datagram information corresponding to the specific status bit set to the designated value to perform a check for normal operation. Accordingly, the present invention adds a status bit to check the operation status of each slave node, and confirms that the bit having a status bit of 0 has a report on the status of the slave node, The master node can reduce the computation burden by not confirming the contents of the datagram of the slave node of the bit whose status bit is 1. [ That is, the master node can selectively check the information of the datagram according to the status bit, so that the load due to the operation of the on-the-fly network control system can be remarkably reduced. This is not only a possibility of commercialization or sales, but also a possibility of being industrially applicable since it is practically possible to carry out clearly.

100: 마스터 노드 200a, 200b, …, 200n: 슬레이브 노드
110: 제어부 120: 통신부
130: 저장부 111: 데이터그램 생성모듈
112: 체크 필드 확인모듈 210: 통신모듈
220: 데이터 처리모듈 230: 동작 수행모듈
10: 헤더 20: 체크 필드
30: 데이터그램 40: CRC
100: master node 200a, 200b, ... , 200n: slave node
110: control unit 120: communication unit
130: storage unit 111: datagram generation module
112: check field confirmation module 210: communication module
220: data processing module 230: operation performing module
10: header 20: check field
30: Datagram 40: CRC

Claims (9)

복수의 슬레이브 노드에 각각 대응되는 복수의 상태 비트 및 상기 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송하고, 상기 제어 프레임에 대한 응답 데이터가 수신되면, 상기 제어 프레임 내 체크 필드에 포함된 상태 비트를 확인하고, 각각의 상태 비트가 기 지정된 값으로 설정된 경우에만상기 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 해당 슬레이브 노드의 정상 동작 여부 및 제어 정보나 업그레이드 정보가 정상 전달되었는지 여부를 검사하는 마스터 노드; 및
상기 마스터 노드 또는 다른 슬레이브 노드로부터 순차적으로 전달된 상기 제어 프레임이 수신되면, 상기 마스터 노드로 보고할 정보를 특정 데이터그램에 추가로 저장하고, 해당 정보에 상응하는 상태 비트를 기 지정된 값으로 설정하고, 설정된 상태 비트를 포함하는 제어 프레임을 상기 마스터 노드 또는 다른 슬레이브 노드 중 하나로 전달하는 상기 복수의 슬레이브 노드;
를 포함하는 것을 특징으로 하는 상태 비트를 이용한 복수의 노드 상태 확인 시스템.
A control frame including a plurality of status bits respectively corresponding to a plurality of slave nodes and a plurality of datagrams corresponding to the plurality of status bits, and when response data for the control frame is received, And only when the respective status bits are set to the predetermined values, it is possible to selectively check the datagram information corresponding to the status bits and determine whether the corresponding slave node is operating normally, A master node for checking whether it has been delivered normally; And
When the control frame sequentially transmitted from the master node or another slave node is received, information to be reported to the master node is additionally stored in a specific datagram, a status bit corresponding to the information is set to a designated value The plurality of slave nodes transmitting a control frame including the set state bits to one of the master node and the other slave nodes;
And a plurality of node statuses using the status bits.
제1항에 있어서, 상기 제어 프레임은
상기 마스터 노드와 연결된 슬레이브 노드를 시작으로 온 더 플라이 방식의 네트워크 상에 위치한 나머지 슬레이브 노드로 순차적 전송되며, 최종적으로 다시 상기 마스터 노드로 되돌아 오는 것을 특징으로 하는 상태 비트를 이용한 복수의 노드 상태 확인 시스템.
2. The apparatus of claim 1,
The slave nodes connected to the master node are sequentially transmitted to the remaining slave nodes located on the on-fly network, and finally the master node is returned to the master node. .
제1항에 있어서, 상기 슬레이브 노드는
통신 채널을 형성하고, 상기 통신 채널을 통해 제어 프레임을 송수신하는 통신모듈;
상기 통신모듈을 통해 수신되는 상기 제어 프레임의 데이터그램을 확인하고, 상기 확인 후에 상기 제어 프레임을 상기 마스터 노드 또는 다른 슬레이브 노드로 전달하는 데이터 처리모듈; 및
상기 데이터그램에 대응하는 동작을 수행하도록 제어하는 동작 수행모듈;
을 포함하는 것을 특징으로 하는 상태 비트를 이용한 복수의 노드 상태 확인 시스템.
2. The method of claim 1, wherein the slave node
A communication module for forming a communication channel and transmitting and receiving a control frame through the communication channel;
A data processing module for confirming a datagram of the control frame received through the communication module and transmitting the control frame to the master node or another slave node after the confirmation; And
Performing an operation corresponding to the datagram;
And a plurality of node status verification systems using the status bits.
마스터 노드가 복수의 슬레이브 노드에 각각 대응되는 복수의 상태 비트 및 상기 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송하는 단계;
상기 마스터 노드가 상기 제어 프레임에 대한 응답 데이터를 수신하는 단계; 및
상기 마스터 노드가 상기 제어 프레임 내 체크 필드에 포함된 상태 비트를 확인하고, 각각의 상태 비트가 기 지정된 값으로 설정된 경우에만 상기 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 해당 슬레이브 노드의 정상 동작 여부 및 제어 정보나 업그레이드 정보가 정상 전달되었는지 여부를 검사하는 단계;
를 포함하는 것을 특징으로 하는 상태 비트를 이용한 복수의 노드 상태 확인 방법.
Transmitting a control frame including a plurality of status bits corresponding to a plurality of slave nodes and a plurality of datagrams corresponding to the plurality of status bits;
The master node receiving response data for the control frame; And
The master node checks the status bits contained in the check field in the control frame and selectively checks the datagram information corresponding to the status bit only when each status bit is set to a predetermined value, Checking whether normal operation and control information or upgrade information are normally transmitted;
And a plurality of node statuses using the status bits.
삭제delete 제4항에 있어서, 상기 상태 비트는
각각의 슬레이브 노드의 정상 동작인 경우와 비정상 동작인 경우를 구별할 수 있는 비트인 것을 특징으로 하는 상태 비트를 이용한 복수의 노드 상태 확인 방법.
5. The method of claim 4,
Wherein each of the slave nodes is a bit that can distinguish between a normal operation and an abnormal operation.
삭제delete 복수의 슬레이브 노드에 각각 대응되는 복수의 상태 비트 및 상기 복수의 상태 비트에 대응하는 복수의 데이터그램을 포함한 제어 프레임을 전송하는 단계;
상기 제어 프레임에 대한 응답 데이터를 수신하는 단계; 및
상기 제어 프레임 내 체크 필드에 포함된 상태 비트를 확인하고, 각각의 상태 비트가 기 지정된 값으로 설정된 경우에만 상기 상태 비트에 대응하는 데이터그램 정보를 선별적으로 확인하여 해당 슬레이브 노드의 정상 동작 여부 및 제어 정보나 업그레이드 정보가 정상 전달되었는지 여부를 검사하는 단계를 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록매체.
Transmitting a control frame including a plurality of status bits respectively corresponding to a plurality of slave nodes and a plurality of datagrams corresponding to the plurality of status bits;
Receiving response data for the control frame; And
Checks the status bits included in the check field in the control frame and selectively checks the datagram information corresponding to the status bits when each status bit is set to a predetermined value, And checking whether control information or upgrade information has been normally transmitted.
삭제delete
KR1020140122274A 2014-09-15 2014-09-15 Method for checking plural node condition using check bits and system thereof KR101576044B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140122274A KR101576044B1 (en) 2014-09-15 2014-09-15 Method for checking plural node condition using check bits and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140122274A KR101576044B1 (en) 2014-09-15 2014-09-15 Method for checking plural node condition using check bits and system thereof

Publications (1)

Publication Number Publication Date
KR101576044B1 true KR101576044B1 (en) 2015-12-11

Family

ID=55020693

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140122274A KR101576044B1 (en) 2014-09-15 2014-09-15 Method for checking plural node condition using check bits and system thereof

Country Status (1)

Country Link
KR (1) KR101576044B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101385140B1 (en) * 2013-02-28 2014-04-14 삼성탈레스 주식회사 Method for detecting faulty node in distributed network system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101385140B1 (en) * 2013-02-28 2014-04-14 삼성탈레스 주식회사 Method for detecting faulty node in distributed network system

Similar Documents

Publication Publication Date Title
JP4732865B2 (en) Method and apparatus for operating a network
US9697164B2 (en) Method and control device for the operation of a contact-free transmission system for an IO link
US20140121785A1 (en) System and method for parameterizing field devices of an automation or control system
KR102566324B1 (en) Artificial intelligence computing device, control method and apparatus, engineer station, and industrial automation system
US11467566B2 (en) Communication device, communication terminal, communication device and method for operating a communication system for transmitting time-critical data
CN108369403A (en) Field bus coupler, system and the method for config failure insurance module
KR101576050B1 (en) Method, apparatus and system for upgrading software of nodes
US11218383B2 (en) Simulation system and method for simulating processing of reservation enquiries for multicast data streams in communications networks
KR101179431B1 (en) Network Management System based on a EhterCAT And Managing Method thereof
CN113261220B (en) Method and control node for handling failure of TSN communication link
JP7063976B2 (en) Data transmission between at least one secure producer and at least one secure consumer
CN114448908A (en) System and method for time sensitive networks
KR101252955B1 (en) The Apparatus of EtherCAT Slave Module for IEC 61800-based Power Driver System
KR101576044B1 (en) Method for checking plural node condition using check bits and system thereof
TWI648975B (en) Communication device, communication system, and communication method
US11258637B2 (en) Method for operating TSN-enabled network coupling elements
US20220294878A1 (en) Method and Gateway Device for Transmitting Datagrams via a Plurality of Networks
US11522762B2 (en) Coordination device and method for providing control applications via a communication network for transmitting time-critical data
KR101623076B1 (en) Integrated control Method, apparatus and system for nodes
KR101615252B1 (en) Method, apparatus and system for transferring data to plurality of nodes
KR101596247B1 (en) Method for transmitting data to divide read and write period and system
TW201531068A (en) Methods and devices for connecting to multiple interfaces
US11736318B2 (en) Initialization of data bus subscribers
KR101623063B1 (en) Method for transmitting of control frame using detour link, node apparatus and system for the same
KR20160036726A (en) Method, apparatus and system for transferring data to plurality of nodes

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20181204

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20191204

Year of fee payment: 5