KR101593218B1 - Method for transmitting of control frame based on variable datagram, node apparatus and system for the same - Google Patents

Method for transmitting of control frame based on variable datagram, node apparatus and system for the same Download PDF

Info

Publication number
KR101593218B1
KR101593218B1 KR1020140125807A KR20140125807A KR101593218B1 KR 101593218 B1 KR101593218 B1 KR 101593218B1 KR 1020140125807 A KR1020140125807 A KR 1020140125807A KR 20140125807 A KR20140125807 A KR 20140125807A KR 101593218 B1 KR101593218 B1 KR 101593218B1
Authority
KR
South Korea
Prior art keywords
control frame
control
node
slave
slave node
Prior art date
Application number
KR1020140125807A
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 KR1020140125807A priority Critical patent/KR101593218B1/en
Application granted granted Critical
Publication of KR101593218B1 publication Critical patent/KR101593218B1/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

Landscapes

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

Abstract

The present invention relates to a control frame transmission system. More specifically, the present invention relates to a control frame transmission method based on a variable datagram, which has a master node variably set a datagram according to the size of control information by slave node located on a data transmission path, and generate a control frame including the same in a transmission system including a master node and a slave node, thereby more effectively using limited sources to generate and transmit the control frame. to a node for the same, and to a control frame transmission system.

Description

가변 데이터그램 기반 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템{METHOD FOR TRANSMITTING OF CONTROL FRAME BASED ON VARIABLE DATAGRAM, 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 variable datagram,

본 발명은 제어 프레임 전송 시스템에 관한 것으로, 특히 마스터 노드 및 슬레이브 노드를 포함하는 전송 시스템에서, 마스터 노드가 데이터 전송 경로 상에 위치하는 각 슬레이브 노드별로 제어 정보의 크기에 따라 데이터그램을 가변적으로 설정하고, 이를 포함하는 제어 프레임을 생성할 수 있는 가변 데이터그램 기반 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템에 관한 것이다. The present invention relates to a control frame transmission system, and in particular, in a transmission system including a master node and a slave node, a master node variably sets a datagram according to the size of control information for each slave node located on a data transmission path And a control frame transmission system including the node and the control frame transmission method.

이 부분에 기술된 내용은 단순히 본 실시 예에 대한 배경 정보를 제공할 뿐 종래기술을 구성하는 것은 아니다.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 can allocate only a fixed-size datagram corresponding to all the slave nodes, and the slave node confirms the control information corresponding to the fixed-allocated datagram, There is a problem that it is impossible to allocate a datagram.

한국공개특허 제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 problems of the prior art. In particular, a master node variably sets a datagram according to the size of control information for each slave node located on a data transmission path, And to provide a node and a control frame transmission system for the control frame transmission method.

또한, 본 발명은 마스터 노드가 슬레이브 노드별로 제어 정보의 크기에 따라 데이터그램을 가변적으로 설정하고, 이에 대한 태그 정보를 제어 프레임의 헤더 정보에 기록하여 복수의 슬레이브 노드로 전달하고, 복수의 슬레이브 노드는 상기 헤더 정보를 참조하여, 자신에 해당하는 데이터그램을 확인할 수 있는 가변 데이터그램 기반 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템을 제공하는 데 그 목적이 있다. The master node variably sets a datagram according to the size of control information for each slave node, writes the tag information in the header information of the slave node to a plurality of slave nodes, A control frame transmission method based on a variable datagram in which a datagram corresponding to itself can be identified by referring to the header information, 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.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 제어 프레임 전송 시스템은 데이터 전송 경로에 위치하는 복수의 슬레이브 노드 각각 할당된 유닛 데이터 블록의 개수에 따라, 각 슬레이브 노드에 해당하는 데이터그램을 구성하여 제어 정보를 작성하고, 각 슬레이브 노드별 데이터그램을 포함하는 제어 프레임을 생성한 후, 생성된 상기 제어 프레임을 전달하는 마스터 노드; 및 상기 데이터 전송 경로 전단에 위치한 상기 마스터 노드 또는 슬레이브 노드로부터 상기 마스터 노드로부터 전달된 상기 제어 프레임을 수신하며, 상기 제어 프레임에서 해당하는 데이터그램의 제어 정보를 확인하고, 확인된 상기 제어 정보에 대응하는 동작을 수행하며, 상기 제어 정보에 대응하는 응답 정보가 포함된 상기 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 다른 슬레이브 노드 또는 상기 마스터 노드로 전달하는 복수의 슬레이브 노드;를 포함하여 구성될 수 있다. According to an aspect of the present invention, there is provided a control frame transmission system including a plurality of slave nodes located in a data transmission path, A master node for generating control information, generating a control frame including a datagram for each slave node, and transmitting the generated control frame; And receiving the control frame transmitted from the master node or the slave node located at the previous stage of the data transmission path, checking the control information of the corresponding datagram in the control frame, And a plurality of slave nodes for transmitting the control frame including response information corresponding to the control information to another slave node or a master node located downstream of the data transmission path .

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 마스터 노드는 데이터 전송 경로에 위치하는 복수의 슬레이브 노드로 순차적으로 전달될 수 있는 제어 프레임을 전송하는 마스터 통신부; 및 상기 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드 각각 할당된 유닛 데이터 블록의 개수에 따라, 각 슬레이브 노드에 해당하는 데이터그램을 구성하여 제어 정보를 작성하고, 각 슬레이브 노드별 데이터그램을 포함하는 제어 프레임을 생성한 후, 생성된 상기 제어 프레임을 상기 마스터 통신부를 통해 상기 데이터 전송 경로 후단에 위치하는 슬레이브 노드로 전달하는 제어부;를 포함하여 구성될 수 있다. 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 generating a control information by configuring a datagram corresponding to each slave node according to the number of unit data blocks assigned to each of the plurality of slave nodes located on the data transmission path, And a control unit for generating the control frame and transmitting the generated control frame to the slave node located at the rear end of the data transmission path through the master communication unit.

이때, 상기 제어부는 상기 제어 프레임 생성 시 상기 제어 프레임의 헤더 영역에 각 슬레이브 노드별 할당된 유닛 데이터 블록의 개수에 대한 정보를 포함하여 생성되도록 제어할 수 있다. At this time, the control unit may control to generate information on the number of unit data blocks allocated to each slave node in the header area of the control frame when the control frame is generated.

또한, 상기 제어부는 일정 주기 동안 상기 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드로 전송된 제어 프레임의 제어 정보 또는 이에 대응하는 응답 정보를 기초로 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하거나, 사용자 설정에 따라 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당할 수 있다. Also, the controller may control the number of unit data blocks in each of the plurality of slave nodes based on the control information of the control frame transmitted to the plurality of slave nodes located on the data transmission path for a predetermined period or the corresponding response information Or allocate the number of unit data blocks to each of the plurality of slave nodes according to a user setting.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 슬레이브 노드는 데이터 전송 경로 전단에 위치한 마스터 노드 또는 다른 슬레이브 노드로부터 상기 마스터 노드가 전달한 제어 프레임을 수신하고, 이에 대한 응답 정보가 추가된 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 다른 슬레이브 노드 또는 상기 마스터 노드로 전달하는 통신부; 및 상기 통신부를 통해 상기 제어 프레임이 전달되면, 자신에게 할당된 유닛 데이터 블록의 개수에 대한 정보를 기초로, 상기 제어 프레임에서 해당하는 데이터그램의 제어 정보를 확인하고, 이에 대응하는 응답 정보를 상기 제어 프레임에 작성하여 상기 통신부로 전달하는 데이터 처리부;를 포함하여 구성될 수 있다. In order to accomplish the above object, a slave node according to an embodiment of the present invention receives a control frame transmitted from a master node or another slave node located at a preceding stage of a data transmission path, A communication unit for transmitting a control frame to another slave node or a master node located downstream of the data transmission path; And when the control frame is transmitted through the communication unit, based on the information on the number of unit data blocks assigned to the control frame, control information of the corresponding datagram in the control frame is confirmed, And a data processing unit for creating the control frame and transmitting the control frame to the communication unit.

이때, 상기 데이터 처리부는 상기 제어 프레임의 헤더 영역을 참조하여, 자신에게 할당된 유닛 데이터 블록의 개수를 확인할 수 있다. At this time, the data processing unit can check the number of unit data blocks allocated to itself by referring to the header area of the control frame.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 가변 데이터그램 기반 제어 프레임 전송 방법은 마스터 노드가 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드 각각에 할당된 유닛 데이터 블록의 개수를 확인하는 단계; 상기 마스터 노드가 상기 확인된 유닛 데이터 블록의 개수에 따라 각 슬레이브 노드에 해당하는 데이터그램을 구성하여 제어 정보를 작성하는 단계; 상기 마스터 노드가 상기 제어 정보가 작성된 데이터그램을 포함하는 제어 프레임을 생성하는 단계; 및 상기 마스터 노드가 생성된 상기 제어 프레임을 상기 데이터 전송 경로 상에 위치하는 각각의 슬레이브 노드로 순차적으로 전달되도록 상기 데이터 전송 경로 후단에 위치하는 슬레이브 노드로 전달하는 단계;를 포함하여 이뤄질 수 있다. According to another aspect of the present invention, there is provided a method of transmitting a variable-datagram-based control frame according to an embodiment of the present invention, the method comprising: determining a number of unit data blocks allocated to each of a plurality of slave nodes located on a data transmission path ; The master node constructing a datagram corresponding to each slave node according to the number of the unit data blocks identified and creating control information; The master node generating a control frame including a datagram in which the control information is generated; And transmitting the control frame in which the master node is generated to a slave node located at a rear end of the data transmission path so as to be sequentially transmitted to each of the slave nodes located on the data transmission path.

이때, 상기 제어 프레임을 생성하는 단계는 상기 마스터 노드가 상기 제어 프레임의 헤더 영역에 각 슬레이브 노드별 할당된 유닛 데이터 블록의 개수에 대한 정보를 포함하여 상기 제어 프레임을 생성할 수 있다. At this time, in the step of generating the control frame, the master node may generate the control frame by including information on the number of unit data blocks allocated to each slave node in the header area of the control frame.

또한, 상기 확인하는 단계 이전에, 상기 마스터 노드가 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하는 단계;를 더 포함하여 이뤄질 수 있다. Further, before the step of confirming, the master node may allocate the number of unit data blocks to each of the plurality of slave nodes.

또한, 상기 할당하는 단계는 상기 마스터 노드가 일정 주기 동안 상기 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드로 전송된 제어 프레임의 제어 정보 또는 이에 대응하는 응답 정보를 기초로 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하거나, 사용자 설정에 따라 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당할 수 있다. In addition, the allocating step may include a step of allocating, to the plurality of slave nodes based on the control information of the control frame transmitted to the plurality of slave nodes located on the data transmission path, The number of unit data blocks may be allocated or the number of unit data blocks may be allocated to each of the plurality of slave nodes according to a user setting.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 가변 데이터그램 기반 제어 프레임 전송 방법은 데이터 전송 경로 상에 위치한 복수의 슬레이브 노드 중 어느 하나의 슬레이브 노드에 있어서, 상기 슬레이브 노드가 상기 데이터 전송 경로 전단에 위치한 마스터 노드 또는 다른 슬레이브 노드로부터 상기 마스터 노드가 전달한 제어 프레임을 수신하는 단계; 상기 슬레이브 노드가 상기 제어 프레임의 헤더 영역을 참조하여 자신에게 할당된 유닛 데이터 블록의 개수에 대한 정보를 확인하는 단계; 상기 슬레이브 노드가 상기 확인된 유닛 데이터 블록의 개수에 대한 정보를 기초로 상기 제어 프레임에서 해당하는 데이터그램의 제어 정보를 확인하는 단계; 및 상기 슬레이브 노드가 확인된 제어 정보에 따라 대응하는 동작을 수행하는 단계;를 포함하여 이뤄질 수 있다. According to another aspect of the present invention, there is provided a method for transmitting a variable-datagram-based control frame in a slave node among a plurality of slave nodes located on a data transmission path, Receiving a control frame transmitted by the master node from a master node or another slave node located at a preceding stage of the transmission path; The slave node referring to a header area of the control frame and confirming information on the number of unit data blocks assigned to the slave node; Checking, by the slave node, control information of a corresponding datagram in the control frame based on information about the number of the unit data blocks identified; And performing a corresponding operation according to the determined control information by the slave node.

추가로 본 발명은 상술한 바와 같은 본 발명의 실시 예에 따른 가변 데이터그램 기반 제어 프레임 전송 방법을 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체를 제공할 수 있다.In addition, the present invention can provide a computer-readable recording medium on which a program for executing a variable-datagram-based control frame transmission method according to an embodiment of the present invention as described above is recorded.

본 발명의 가변 데이터그램 기반 제어 프레임 전송 방법, 이를 위한 노드 및 제어 프레임 전송 시스템에 의하면, 마스터 노드에서 제어 프레임 생성 시 각 슬레이브 노드로 전송할 데이터의 양에 따라 데이터그램을 가변적으로 설정하고, 각 슬레이브 노드별로 할당된 데이터그램에 대한 정보를 제어 프레임의 헤더 정보에 기록하여 전송함으로써, 보다 효율적으로 한정된 자원을 사용할 수 있게 된다. According to the variable-datagram-based control frame transmission method, the node and the control-frame transmission system for the variable-datagram-based control frame transmission method of the present invention, the datagram is variably set according to the amount of data to be transmitted to each slave node when the control frame is generated in the master node, By recording information on the datagrams allocated for each node in the header information of the control frame and transmitting the header information, it is possible to use resources more efficiently.

아울러, 상술한 효과 이외의 다양한 효과들이 후술될 본 발명의 실시 예에 따른 상세한 설명에서 직접적 또는 암시적으로 개시될 수 있다.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은 본 발명의 실시 예에 따른 마스터 노드에서의 동작을 설명하기 위한 흐름도이다.
도 7은 본 발명의 실시 예에 따른 슬레이브 노드에서의 동작을 설명하기 위한 흐름도이다.
1 and 2 are diagrams for explaining a control frame transmission system according to an embodiment of the present invention.
3 is a block diagram illustrating a main configuration of a master node according to an embodiment of the present invention.
4 is an exemplary diagram illustrating a structure of a control frame according to an embodiment of the present invention.
5 is a block diagram illustrating a main configuration of a slave node according to an embodiment of the present invention.
6 is a flowchart for explaining an operation in a master node according to an embodiment of the present invention.
7 is a flowchart illustrating an operation in a slave node according to an 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 variable datagram-based control frame transmission method, a node and a control frame transmission system according to an embodiment of the present invention 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 variable-datagram-based control frame transmission system according to the present invention will be described.

도 1 및 도 2는 본 발명의 실시 예에 따른 제어 프레임 전송 시스템을 설명하기 위한 예시도이다. 1 and 2 are diagrams for explaining a control frame transmission system according to an embodiment of the present invention.

먼저, 도 1을 참조하면, 본 발명의 실시 예에 따른 제어 프레임 전송 시스템은 산업용 대량 객체 데이터 전송을 위한 시스템으로서, 마스터 노드(100)와 복수의 슬레이브 노드(200)를 포함하여 구성될 수 있다. Referring to FIG. 1, a control frame transmission system according to an embodiment of the present invention is a system for industrial mass object data transmission, and may include a master node 100 and a plurality of slave nodes 200 .

마스터 노드(100)는 복수의 슬레이브 노드(200)를 제어할 수 있는 제어 시스템을 의미하며, 복수의 슬레이브 노드(200)는 상기 마스터 노드(100)의 제어에 따라 동작하며, 산업 현장에 설치된 대량의 노드, 예를 들어, 전력 공급 설비, 구동 장치 및 제조 설비 등이 포함될 수 있다. The master node 100 is a control system capable of controlling a plurality of slave nodes 200. A plurality of slave nodes 200 operate under the control of the master node 100, For example, a power supply facility, a drive system, a manufacturing facility, and the like.

이러한, 마스터 노드(100)와 복수의 슬레이브 노드(200)는 통신 라인, 예컨대, RJ45 포트를 통해 물리적으로 연결될 수 있으며, 이때 상기 마스터 노드(100)와 복수의 슬레이브 노드(200)는 라인, 링, 드롭 라인, 스타 토폴로지 등 다양한 형태의 토폴로지를 지원하며, 매우 유연하게 네트워크를 구성할 수 있다. The master node 100 and the plurality of slave nodes 200 may be physically connected to each other through a communication line such as an RJ45 port. , Drop line, and star topology, and it is possible to configure the network very flexibly.

마스터 노드(100)에 대해 보다 구체적으로 설명하면, 마스터 노드(100)는 산업 현장에서 복수의 슬레이브 노드(200)를 제어하기 위한 객체로서, 중앙 처리 장치, 메모리, NIC, OS 및 스택 등을 포함할 수 있다. 특히, 본 발명의 실시 예에 따른 마스터 노드(100)는 온 더 플라이(on the fly) 방식으로 연결된 복수의 슬레이브 노드(200)별로 서로 다른 데이터그램을 구성하고, 각각의 슬레이브 노드(200)에 매칭되는 데이터그램을 상기 슬레이브 노드(200)를 제어할 수 있는 제어 메시지에 실어 전송할 수 있다. 여기서, 제어 메시지는 제어 프레임 형태로 생성될 수 있다. More specifically, the master node 100 includes a central processing unit (CPU), a memory, an NIC, an OS, a stack, and the like as objects for controlling a plurality of slave nodes 200 in an industrial field can do. In particular, 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 the fly, and each slave node 200 And transmits the matched datagram to a control message that can control the slave node 200. Here, the control message can be generated in the form of a control frame.

다시 말해, 마스터 노드(100)는 복수의 슬레이브 노드(200)별로 제어 정보를 포함하는 데이터그램을 구성하고, 복수의 데이터그램을 포함한 제어 프레임을 생성하여, 데이터 전송 경로 상에 인접한 슬레이브 노드, 즉 슬레이브 노드 1(200a)로 전달한다. 상기 제어 프레임은 마스터 노드(100)와 연결된 슬레이브 노드, 즉 슬레이브 노드 1(200a)을 시작으로 이더캣 네트워크 상에 위치한 나머지 슬레이브 노드들로 순차적으로 전송되며, 다시 마스터 노드(100)로 되돌아 오게 된다. 마스터 노드(100)는 되돌아온 상기 제어 프레임을 확인하고, 상기 제어 프레임에 대한 응답 정보가 포함되는 지 여부를 확인할 수 있게 된다. In other words, the master node 100 forms a datagram including control information for each of the plurality of slave nodes 200, generates a control frame including a plurality of datagrams, and transmits the control frame to the adjacent slave node To the slave node 1 (200a). The control frame is sequentially transmitted to the slave node connected to the master node 100, that is, the slave node 1 200a, the slave nodes located on the Ethernet network, and then returned to the master node 100 . The master node 100 can check the returned control frame and check whether the response information for the control frame is included.

즉, 마스터 노드(100)는 첨부된 도 2에 도시된 바와 같이, 온 더 플라이(on the fly) 방식으로 제어 주기 동안 링 구조의 데이터 전송 경로 상에 위치한 복수의 슬레이브 노드(200)로 데이터그램(제어 데이터)를 포함하여 구성된 제어 프레임을 전송할 수 있다. 여기서, 제어 프레임은 전술한 바와 같이, 마스터 노드(100)에서 생성되며, 복수의 슬레이브 노드(200)로 전송되고, 각각 순차적으로 연결된 모든 슬레이브 노드(200)를 통과하여 다시 마스터 노드(100)로 되돌아 올 수 있다. 이때, 마스터 노드(100)로 되돌아온 제어 프레임은 각 슬레이브 노드에 대한 정상 동작 여부를 확인할 수 있는 응답 정보를 포함한다. That is, the master node 100 is connected to a plurality of slave nodes 200 located on the data transmission path of the ring structure during a control period in an on-the-fly manner, as shown in FIG. 2, (Control data) to be transmitted. 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.

복수의 슬레이브 노드(200)는 마스터 노드(100)에 연결되어 작동하는 것으로, 상기 마스터 노드(100) 또는 이전 슬레이브 노드(200)로부터 전달된 제어 프레임을 분석하여 자신에 해당하는 제어 정보를 취하고, 이에 대한 응답 정보를 상기 자신의 정보가 위치한 영역 내에 작성하여 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송하는 역할을 수행한다. The plurality of slave nodes 200 operate in connection with the master node 100 and analyze control frames transmitted from the master node 100 or the previous slave node 200 to take control information corresponding thereto, And transmits response information to the slave node 200 or the master node 100 in the area where the information is located.

이러한 제어 프레임 전송 시스템에 있어서, 특히, 본 발명의 실시 예에 따른 마스터 노드(100)는 복수의 슬레이브 노드(200)로 제어 프레임 전송 시, 각 슬레이브 노드(200)별로 동일한 크기의 데이터그램을 포함하는 제어 프레임을 생성하는 것이 아니라, 슬레이브 노드(200)별로 전송하고자 하는 제어 정보를 고려하여 가변적으로 데이터그램 크기를 조절하여 제어 프레임을 생성하고, 생성된 제어 프레임을 데이터 전송 경로 상의 각 슬레이브 노드(200)로 전달하는 역할을 수행하게 된다. 이를 위해, 본 발명의 마스터 노드(100)는 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드(200)별로 유닛 데이터 블록의 개수를 할당하고, 이후, 제어 프레임 생성 시 복수의 슬레이브 노드(200)별로 할당된 유닛 데이터 블록의 개수를 확인하고, 확인된 상기 유닛 데이터 블록의 개수에 따라 각 슬레이브 노드(200)에 해당하는 데이터그램을 구성하여 제어 정보를 작성하고, 이를 포함하는 제어 프레임을 생성하여 복수의 슬레이브 노드(200)로 전달하게 된다. In this control frame transmission system, in particular, the master node 100 according to the embodiment of the present invention includes a datagram having the same size for each slave node 200 when transmitting a control frame to a plurality of slave nodes 200 The control frame is generated by adjusting the datagram size variably considering the control information to be transmitted for each slave node 200, and the generated control frame is transmitted to each of the slave nodes 200). To this end, the master node 100 of the present invention allocates the number of unit data blocks to each of a plurality of slave nodes 200 located on the data transmission path, and then allocates the number of unit data blocks to each of the plurality of slave nodes 200 The control information is generated by constructing a datagram corresponding to each slave node 200 according to the number of the unit data blocks identified, and a control frame including the generated control information is generated To the slave node 200 of FIG.

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

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

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

각 구성 요소에 대해 보다 구체적으로 설명하면, 먼저, 제어부(110)는 마스터 노드(100)의 전반적인 제어를 수행하는 것으로, 하드웨어적으로 CPU(Central Processing Unit)/MPU(Micro Processing Unit)를 포함하는 적어도 하나 이상의 프로세서와 적어도 하나 이상의 메모리 로딩 데이터가 로딩되는 실행 메모리(예컨대, 레지스터 및/또는 RAM(Random Access Memory)) 및 상기 프로세서와 메모리로 적어도 하나 이상의 데이터들을 입출력하는 버스(BUS)를 포함하여 이루어질 수 있다. 또한 소프트웨어적으로 마스터 노드(100)에 정의된 기능(예컨대, 제어 프레임 생성)을 수행하기 위해 소정의 기록매체로부터 상기 실행 메모리로 로딩되어 상기 프로세서에 의해 연산 처리되는 소정의 프로그램 루틴(Routine) 또는 프로그램 데이터를 포함하여 이루어질 수 있다. First, the control unit 110 performs overall control of the master node 100 and includes a CPU (Central Processing Unit) / MPU (Micro Processing Unit) (E.g., a register and / or a RAM (Random Access Memory)) loaded with at least one or more memory loading data and a bus (BUS) for inputting / outputting at least one or more data to / from the processor and the memory Lt; / RTI > 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.

특히, 본 발명의 실시 예에 따른 제어부(110)는 복수의 슬레이브 노드(200)를 제어하기 위하여 제어 프레임 내 제어 데이터에 데이터그램을 생성하고, 제어 프레임을 복수의 슬레이브 노드(200)로 순차적으로 전송한다. 이를 위해, 제어부(110)는 제어 모듈(111) 및 프레임 생성 모듈(112)을 포함하여 구성될 수 있다. In particular, the control unit 110 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 sequentially transmits the control frame to the plurality of slave nodes 200 send. For this, the control unit 110 may include a control module 111 and a frame generation module 112.

먼저, 제어 모듈(111)은 각 슬레이브 노드(200)를 제어하기 위한 제어 정보를 생성하고, 프레임 생성 모듈(112)을 통해 생성된 제어 프레임을 슬레이브 노드로 전달되도록 제어하는 역할을 수행한다. First, the control module 111 generates control information for controlling each slave node 200, and controls the control frame generated through the frame generation module 112 to be transmitted to the slave node.

프레임 생성 모듈(112)는 제어 모듈(111)을 통해 생성된 제어 정보를 각 슬레이브 노드(200)에 해당하는 데이터그램을 구성하여 상기 데이터그램에 제어 정보를 작성하는 역할을 수행한다. 이때, 본 발명의 프레임 생성 모듈(112)은 복수의 슬레이브 노드(200) 각각에 할당된 유닛 데이터 블록의 개수를 확인한 후, 확인된 개수만큼 유닛 데이터 블록을 그룹핑하여 데이터그램을 구성하고, 해당 데이터그램에 제어 정보를 작성하게 된다. 그리고, 각 슬레이브 노드별 데이터그램을 포함하여 제어 프레임을 생성하고, 상기 제어 모듈(111)로 전달하여, 제어 프레임이 슬레이브 노드(200)로 전달되도록 제어하게 된다. The frame generation module 112 forms a datagram corresponding to each slave node 200 by generating control information generated through the control module 111 to create control information in the datagram. At this time, the frame generation module 112 of the present invention checks the number of unit data blocks allocated to each of the plurality of slave nodes 200, groups the unit data blocks into the number of the unit data blocks, forms a datagram, Control information is generated in the gram. A control frame including datagrams for each slave node is generated and transmitted to the control module 111 to control the control frame to be transmitted to the slave node 200.

프레임 생성 모듈(112)이 제어 프레임을 생성하는 과정에 대해 도 4를 참조하여 설명하도록 한다. The process of generating the control frame by the frame generation module 112 will be described with reference to FIG.

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

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

이 중, 헤더(500)는 복수의 슬레이브 노드(200)로 전송할 제어 프레임과 관련된 기본 정보를 포함하여 구성된다. 데이터(501)는 각 슬레이브 노드(200)별로 해당하는 제어 정보가 기록되는 영역을 의미한다. 데이터(501) 영역은 복수의 데이터그램으로 구성된다. 데이터그램은 각 슬레이브 노드(200)에 대응한 제어 정보를 포함하는 것으로, 하나의 슬레이브 노드(200)에 대응하여 하나의 데이터그램이 존재할 수 있다. 특히, 본 발명의 실시 예에 따른 데이터그램은 하나 이상의 유닛 데이터 블록(Un)으로 구성될 수 있다. 예를 들어, 제1 슬레이브 노드(200a)에 대응한 제1 데이터그램(505)은 1개의 유닛 데이터 블록(U1)으로 구성될 수 있으며, 제2 슬레이브 노드(200b)에 대응한 제2 데이터그램(506)은 2개의 유닛 데이터 블록(U2, U3)으로 구성될 수 있다. The header 500 includes basic information related to a control frame to be transmitted to a plurality of slave nodes 200. The data 501 refers to an area in which the corresponding control information is recorded for each slave node 200. The data 501 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. [ In particular, a datagram according to an embodiment of the present invention may consist of one or more unit data blocks Un. For example, the first datagram 505 corresponding to the first slave node 200a may be composed of one unit data block U1, and the second datagram 503 corresponding to the second slave node 200b (506) may be composed of two unit data blocks (U2, U3).

본 발명의 실시 예에 따른 프레임 생성 모듈(112)은 상술한 바와 같이 각 슬레이브 노드(200)별 유닛 데이터 블록의 개수를 이용하여 해당 데이터그램을 가변하여 생성할 수 있게 된다. The frame generation module 112 according to the embodiment of the present invention can generate a corresponding datagram by using the number of unit data blocks for each slave node 200 as described above.

이를 위해, 본 발명의 실시 예에 따른 프레임 생성 모듈(112)은 제어 프레임 생성 이전에 각 슬레이브 노드별로 할당된 유닛 데이터 블록의 개수를 확인하고, 이에 따라 각 슬레이브 노드에 해당하는 데이터그램을 구성하게 된다. 이때 데이터그램은 각 슬레이브 노드(200)에 해당하는 제어 정보를 포함하여 구성되며, 프레임 생성 모듈(112)은 각 슬레이브 노드(200)에 대응하는 데이터그램을 제어 프레임의 하나의 데이터(501) 영역으로 구성하게 된다. To this end, the frame generation module 112 according to the embodiment of the present invention checks the number of unit data blocks allocated to each slave node before generating a control frame, and constructs a datagram corresponding to each slave node do. In this case, the datagram includes control information corresponding to each slave node 200, and the frame generation module 112 transmits the datagram corresponding to each slave node 200 to one data area 501 of the control frame .

아울러, 본 발명의 슬레이브 노드별 유닛 데이터 블록의 개수는 주기에 따라 가변될 수 있다. 예를 들어, 1주기 동안 마스터 노드(100)를 시작으로 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드(200)를 돌아 마스터 노드(100)로 제어 프레임이 도착하면, 제어부(110)의 프레임 생성 모듈(112)은 상기 제어 프레임에 포함된 응답 정보를 확인하고, 이를 반영하여 다음 주기에서의 각 슬레이브 노드별 제어 정보를 작성하게 되며, 제어 정보의 크기에 따라 슬레이브 노드별 유닛 데이터 블록의 개수를 가변하여 할당할 수 있게 된다. 또한, 본 발명의 슬레이브 노드별 유닛 데이터 블록의 개수는 사용자 설정에 따라 가변될 수 있다. In addition, the number of unit data blocks per slave node of the present invention can be varied according to the period. For example, if a control frame arrives at the master node 100 through a plurality of slave nodes 200 located on the data transmission path starting from the master node 100 for one period, The module 112 confirms the response information included in the control frame and generates control information for each slave node in the next cycle by reflecting the response information. The number of unit data blocks for each slave node is determined according to the size of the control information So that it can be allocated by changing. In addition, the number of unit data blocks for each slave node of the present invention can be varied according to the user setting.

아울러, 본 발명의 실시 예에 따른 프레임 생성 모듈(112)은 상기 헤더(500) 영역에 각 슬레이브 노드별 할당된 유닛 데이터 블록의 개수에 대한 정보를 작성할 수 있다. 이때, 프레임 생성 모듈(112)은 상기 헤더(500) 영역에 각 슬레이브 노드(200)별 할당된 유닛 데이터 블록의 개수에 대한 정보를 작성 시 슬레이브 노드(200)에 대한 식별 정보에 대응하여 유닛 데이터 블록의 개수를 기재할 수 있다. 또한, 유닛 데이터 블록별로 시퀀스 번호를 기재할 수도 있다. In addition, the frame generation module 112 according to the embodiment of the present invention can generate information on the number of unit data blocks allocated to each slave node in the header 500 area. At this time, when generating information on the number of unit data blocks allocated to each slave node 200 in the header 500 area, the frame generation module 112 generates unit data corresponding to the identification information for the slave node 200 The number of blocks can be described. It is also possible to describe a sequence number for each unit data block.

다시 도 3을 참조하여, 이러한 과정을 거쳐 제어 프레임이 생성되면, 제어 모듈(111)은 마스터 통신부(120)를 통해 데이터 전송 경로 상에 위치하는 각 슬레이브 노드(200)로 순차적으로 전달될 수 있도록 제어하게 된다. Referring to FIG. 3 again, when a control frame is generated through such a process, the control module 111 can be sequentially transmitted to each slave node 200 located on the data transmission path through the master communication unit 120 Respectively.

마스터 통신부(120)는 제어부(110)에서 생성된 제어 프레임을 슬레이브 노드(200)로 전송할 수 있다. 또한, 마스터 통신부(120)는 온 더 플라이 방식으로 링 구조의 경로 상에 위치한 나머지 복수의 슬레이브 노드(200)로 순차적으로 전송된 후 되돌아 온 제어 프레임에 상응하는 응답 정보를 수신하거나, 응답 정보를 포함하는 제어 프레임을 이를 제어부(110)로 전달할 수 있다.The master communication unit 120 may transmit the control frame generated by the control unit 110 to the slave node 200. Also, the master communication unit 120 sequentially receives the response information corresponding to the returned control frame 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, And may transmit the control frame to the controller 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 master storage unit 130 stores information necessary for the operation of the master node 100. In particular, the master storage unit 130 stores information on the generated control information, control frame information, and the number of unit data blocks allocated to each slave node Can be stored. 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.

도 5는 본 발명의 실시 예에 따른 슬레이브 노드의 주요 구성을 도시한 블록도이다. 5 is a block diagram illustrating a main configuration of a slave node 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 embodiments of the present invention may include a communication unit 210, a data processing unit 220, and an operation performing unit 230.

통신부(210)는 마스터 노드(100)로부터 순차적으로 전송된 제어 프레임을 수신하고, 수신된 제어 프레임을 데이터 처리부(220)로 전달하는 역할을 수행한다. 또한, 데이터 처리부(220)를 통해 전달되는 제어 정보에 따라 동작을 수행한 후, 동작 결과, 현재 상태 또는 요청된 정보 등에 대한 응답 정보가 추가된 새로운 데이터를 포함하는 제어 프레임을 데이터 처리부(220)로부터 전달받아 데이터 전송 경로 상에 위치한 다음 노드, 즉 다음 슬레이브 노드 또는 마스터 노드(100)로 전달할 수 있다. The communication unit 210 receives control frames sequentially transmitted from the master node 100 and transmits the received control frames 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.

데이터 처리부(220)는 통신부(210)로부터 제어 프레임이 전달되면, 상기 제어 프레임의 데이터 영역에 기재된 데이터그램 중 자신에 해당하는 데이터그램을 확인하게 된다. 이때, 본 발명의 실시 예에 따른 데이터 처리부(220)는 제어 프레임의 헤더 영역에 기재된 각 슬레이브 노드별 할당된 유닛 데이터 블록의 개수에 대한 정보를 확인한 후, 데이터 영역에서 자신에 해당하는 데이터그램을 확인할 수 있다. 예를 들어, 본 슬레이브 노드가 제3 슬레이브 노드(200c)일 경우, 제3 슬레이브 노드(200c)의 데이터 처리부(220)의 수신된 제어 프레임의 헤더 영역을 확인하여, 자신의 식별 정보에 대응하여 기록된 유닛 데이터 블록의 개수에 대한 정보, 예컨대, U4, U5, U6을 확인할 수 있다. 그리고, 데이터 처리부(220)는 상기 확인된 유닛 데이터 블록의 개수에 따라, 데이터 영역에서 U4, U5, U6에 해당하는 부분을 자신의 데이터그램으로 확인하고, 상기 데이터그램에 기재된 제어 정보를 확인하게 된다. When the control frame is received from the communication unit 210, the data processing unit 220 checks the datagram corresponding to the datagram described in the data area of the control frame. At this time, the data processing unit 220 according to the embodiment of the present invention checks the information on the number of unit data blocks allocated for each slave node described in the header area of the control frame, and then, Can be confirmed. For example, when the present slave node is the third slave node 200c, it checks the header area of the received control frame of the data processing unit 220 of the third slave node 200c, Information on the number of unit data blocks recorded, for example, U4, U5, U6, can be confirmed. Then, the data processor 220 checks the portion corresponding to U4, U5, and U6 in the data area as its own datagram according to the number of the unit data blocks identified, and checks the control information described in the datagram do.

그리고, 데이터 처리부(220)는 확인된 제어 정보를 동작 수행부(230)로 전달할 수 있으며, 동작 수행부(230)에서 상기 제어 정보에 대응하여 동작을 수행한 결과 정보, 마스터 노드(100)에서 요청한 응답 정보, 현재 상태 정보 중 하나 이상을 포함하는 새로운 데이터를 자신에 해당하는 데이터그램에 기재되도록 작성할 수 있다. The data processing unit 220 can transmit the confirmed control information to the operation performing unit 230 and the result information obtained by performing the operation corresponding to the control information in the operation performing unit 230, 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.

동작 수행부(230)는 데이터 처리부(220)로부터 전달된 제어 정보에 따라 동작을 수행하고 동작 수행에 따른 결과를 데이터 처리부(220)를 전달할 수 있다.The operation performing unit 230 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.

본 발명의 일 실시 예에서는 제어 프레임의 헤더 영역에 각 슬레이브 노드별 할당된 유닛 데이터 블록의 개수에 대한 정보를 확인하여 제어 프레임의 데이터 영역에서 자신에 해당하는 데이터그램을 확인하는 구성을 중심으로 설명하였으나, 이 외 마스터 노드(100)가 제어 프레임 생성 시, 유닛 데이터 블록을 그룹핑하고, 그룹핑된 유닛 데이터 블록에 슬레이브 노드가 식별 가능한 식별자를 할당한 후, 슬레이브 노드에서는 상기 식별자를 이용하여 데이터 영역에서 자신에 해당하는 데이터그램을 확인할 수도 있다. In one embodiment of the present invention, a description will be given centering on a configuration for confirming information about the number of unit data blocks allocated to each slave node in the header area of the control frame and checking a datagram corresponding to the data frame in the data area of the control frame However, when the master node 100 generates a control frame, the master node 100 groups the unit data blocks, assigns an identifiable slave node to the grouped unit data block, and then, at the slave node, You can also check the datagrams that correspond to you.

이상으로, 본 발명의 실시 예에 따른 제어 프레임 전송 시스템을 구성하는 각 노드의 주요 구성 및 동작 방법에 대해 도 3 내지 도 5를 참조하여 설명하였다. 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. 3 to FIG.

그러나, 도 3 내지 도 5에 도시된 구성에 의해 본 발명의 각 노드가 한정되는 것은 아니며, 도시된 구성 요소보다 더 많은 구성 요소에 의해 각 노드가 구현될 수도 있다. 또한, 도 3 내지 도 5를 통해 도시된 각 노드의 주요 구성 요소의 위치는 얼마든지 편의상 또는 다른 이유로 바뀔 수 있음이 물론이다. However, each node of the present invention is not limited by the configuration shown in Figs. 3 to 5, and each node may be implemented by more components than the illustrated components. It should also be appreciated that the location of the major components of each node shown in FIGS. 3-5 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.

이하, 본 발명의 실시 예에 따른 가변 데이터그램 기반 제어 프레임 전송 방법에 대해 도 6 및 도 7을 참조하여 설명하도록 한다. Hereinafter, a variable datagram-based control frame transmission method according to an embodiment of the present invention will be described with reference to FIGS. 6 and 7. FIG.

도 6은 본 발명의 실시 예에 따른 마스터 노드에서의 동작을 설명하기 위한 흐름도이며, 도 7은 본 발명의 실시 예에 따른 슬레이브 노드에서의 동작을 설명하기 위한 흐름도이다. FIG. 6 is a flowchart illustrating an operation in a master node according to an embodiment of the present invention, and FIG. 7 is a flowchart illustrating operations in a slave node according to an embodiment of the present invention.

먼저, 도 6을 참조하면, 본 발명의 실시 예에 따른 마스터 노드(100)는 데이터 전송 경로 상에 위치한 복수의 슬레이브 노드(200)로 제어 프레임을 전송하기 위해서는 제어 프레임을 생성하는 과정을 수행한다. 이를 위해, 마스터 노드(100)는 복수의 슬레이브 노드(200) 각각에 할당된 유닛 데이터 블록 개수를 확인한다(S101). Referring to FIG. 6, the master node 100 according to an embodiment of the present invention performs a process of generating a control frame to transmit a control frame to a plurality of slave nodes 200 located on a data transmission path . To this end, the master node 100 checks the number of unit data blocks allocated to each of the plurality of slave nodes 200 (S101).

이를 위해, 마스터 노드(100)는 미리 슬레이브 노드(200)별로 대응하여 유닛 데이터 블록의 개수를 할당할 수 있다. 여기서, 슬레이브 노드(200)별로 할당되는 유닛 데이터 블록의 개수는 주기에 따라 가변될 수 있다. 예를 들어, 1주기 동안 마스터 노드(100)를 시작으로 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드(200)를 돌아 마스터 노드(100)로 제어 프레임이 도착하면, 마스터 노드(100)는 상기 제어 프레임에 포함된 응답 정보를 확인하고, 이를 반영하여 다음 주기에서의 각 슬레이브 노드별 제어 정보를 작성하게 되며, 제어 정보의 크기에 따라 슬레이브 노드별 유닛 데이터 블록의 개수를 가변하여 할당할 수 있게 된다. 또한, 본 발명의 슬레이브 노드별 유닛 데이터 블록의 개수는 사용자 설정에 따라 가변될 수 있다. To this end, the master node 100 may allocate the number of unit data blocks corresponding to each slave node 200 in advance. Here, the number of unit data blocks allocated to each slave node 200 may vary according to the period. For example, when a control frame arrives at the master node 100 through a plurality of slave nodes 200 located on the data transmission path starting from the master node 100 for one period, The response information included in the control frame is confirmed and the control information for each slave node in the next cycle is generated by reflecting the response information so that the number of unit data blocks for each slave node can be variably allocated according to the size of the control information do. In addition, the number of unit data blocks for each slave node of the present invention can be varied according to the user setting.

이러한 과정을 거쳐 각 슬레이브 노드(200)에 대응하여 유닛 데이터 블록의 개수가 할당되면, 마스터 노드(100)은 이를 이용하여 다음 주기에서 제어 프레임을 생성하게 된다. 다시 말해, 확인된 유닛 데이터 블록 개수에 따라 마스터 노드(100)는 각각의 슬레이브 노드(200)에 대응하는 데이터그램을 구성할 수 있다. 예컨대, 제1 슬레이브 노드(200a)에 대응하는 유닛 데이터 블록의 개수가 1개이고, 제2 슬레이브 노드(200b)에 대응하는 유닛 데이터 블록의 개수가 2개일 경우, 마스터 노드(100)는 제1 슬레이브 노드(200a)에 대응하여 1개의 유닛 데이터 블록으로 구성되는 데이터그램을 구성하고, 제2 슬레이브 노드(200b)에 대응하여 2개의 유닛 데이터 블록으로 구성되는 데이터그램을 구성할 수 있다. When the number of unit data blocks is assigned to each slave node 200 through the above process, the master node 100 generates a control frame in the next cycle. In other words, the master node 100 may configure a datagram corresponding to each slave node 200 according to the number of identified unit data blocks. For example, when the number of unit data blocks corresponding to the first slave node 200a is one and the number of unit data blocks corresponding to the second slave node 200b is two, It is possible to construct a datagram composed of one unit data block corresponding to the node 200a and a datagram composed of two unit data blocks corresponding to the second slave node 200b.

이후, 마스터 노드(100)는 각 슬레이브 노드(200)에 대응하여 구성된 데이터그램에 필요한 제어 정보를 작성하고, 이를 제어 프레임의 데이터 영역에 기재한다. 또한, 제어 프레임의 헤더 영역에는 각 슬레이브 노드(200)가 자신에 해당하는 데이터그램을 식별하기 위한 위한 슬레이브 노드에 대한 식별 정보에 해당하는 유닛 데이터 블록의 개수 또는 유닛 데이터 블록의 시퀀스 번호를 기재하게 된다. Then, the master node 100 creates control information required for the datagram configured corresponding to each slave node 200, and writes the control information in the data area of the control frame. In the header field of the control frame, each slave node 200 describes the number of unit data blocks or the sequence number of the unit data block corresponding to the identification information for the slave node for identifying the datagram corresponding to the slave node 200 do.

이러한 과정을 거쳐 제어 프레임이 생성되면(S105), 마스터 노드(100)는 데이터 전송 경로 상에 각각의 슬레이브 노드(200)로 순차적으로 전송하게 된다(S107).When the control frame is generated through this process (S105), the master node 100 sequentially transmits the control frame to each slave node 200 on the data transmission path (S107).

이하에서는 슬레이브 노드(200)에서의 가변 데이터그램 기반 제어 프레임 전송 방법에 대해 도 7을 참조하여 설명하면, 어느 하나의 슬레이브 노드(200)는 데이터 전송 경로 상 전단에 위치한 마스터 노드(100) 또는 다른 슬레이브 노드로부터 순차적으로 전달된 제어 프레임을 수신하게 된다(S201).Referring to FIG. 7, a method of transmitting a variable-datagram-based control frame in the slave node 200 will now be described. One of the slave nodes 200 is connected to the master node 100 located at the previous stage on the data transmission path, The control frame sequentially received from the slave node is received (S201).

예를 들어, 도 1에서, 제2 슬레이브 노드(200b)는 데이터 전송 경로 상 전단에 위치한 제1 슬레이브 노드(200a)로부터 마스터 노드(100)가 전달한 제어 프레임을 수신할 수 있으며, 제1 슬레이브 노드(200a)는 데이터 전송 경로 상 전단에 위치한 마스터 노드(100)로부터 제어 프레임을 수신할 수 있다. For example, in FIG. 1, the second slave node 200b may receive the control frame transmitted from the master node 100 from the first slave node 200a located at the previous stage on the data transmission path, The master node 200a may receive the control frame from the master node 100 located at the previous stage on the data transmission path.

그리고, 제어 프레임을 수신한 상기 어느 하나의 슬레이브 노드(200)는 제어 프레임에서 자신에 해당하는 데이터그램을 확인한다(S203). 이는 상기 제어 프레임의 헤더 영역을 참조하여 확인할 수 있다. 즉, 헤더 영역에 자신의 식별 정보에 대응하여 할당된 유닛 데이터 블록의 개수를 확인하고, 확인된 유닛 데이터 블록의 개수에 따라 제어 프레임의 데이터 영역에서 해당하는 해당하는 데이터그램을 확인할 수 있게 된다. 예컨대 제2 슬레이브 노드(200b)는 자신의 식별 정보에 대응하여 유닛 데이터 블록의 시퀀스 번호가 U2, U3에 매칭되었다면, 제2 슬레이브 노드(200b)는 데이터 영역의 유닛 데이터 블록의 시퀀스 번호에서 상기 매칭된 시퀀스 번호를 자신의 데이터그램으로 확인하여 제어 정보를 확인할 수 있게 된다. In step S203, the slave node 200 receiving the control frame checks the datagram corresponding to the control frame in the control frame. This can be confirmed by referring to the header area of the control frame. That is, it is possible to check the number of unit data blocks assigned in correspondence with the identification information in the header area, and check the corresponding datagram in the data area of the control frame according to the number of unit data blocks identified. For example, if the sequence number of the unit data block is matched to the U2 and U3 in correspondence with the identification information of the second slave node 200b, the second slave node 200b transmits the matching It is possible to confirm the control information by confirming the sequence number with its own datagram.

이후, 슬레이브 노드(200)는 상술한 과정을 거쳐 확인된 제어 정보에 따라 동작을 수행하고, 이에 대한 응답 정보를 자신에 해당하는 데이터그램에 작성하게 된다(S205). 그리고, 작성된 제어 프레임을 데이터 전송 경로 상 후단에 위치한 마스터 노드(100) 또는 다른 슬레이브 노드로 전달하게 된다(S207). 이러한 과정을 거치게 되면, 마스터 노드(100)는 데이터 전송 경로 상의 모든 슬레이브 노드를 거친 제어 프레임을 수신할 수 있으며, 상기 제어 프레임에 포함된 응답 정보를 확인하여 다음 주기에서의 제어 프레임 생성에 반영할 수 있게 된다. Thereafter, the slave node 200 performs an operation according to the control information confirmed through the above-described process, and writes the response information in the datagram corresponding to the control information (S205). Then, the generated control frame is transmitted to the master node 100 or another slave node located at the rear end of the data transmission path (S207). In this way, the master node 100 can receive the control frame through all the slave nodes on the data transmission path, check the response information included in the control frame, and reflect it in the control frame generation in the next cycle .

이상으로 본 발명의 실시 예에 따른 가변 데이터그램 기반 제어 프레임 전송 방법에 대해 설명하였다.The variable-datagram-based control frame transmission method according to the embodiment of the present invention has been described above.

상술한 바와 같은 본 발명의 가변 데이터그램 기반 제어 프레임 전송 방법은 컴퓨터 프로그램 명령어와 데이터를 저장하기에 적합한 컴퓨터로 판독 가능한 매체의 형태로 제공될 수도 있다. 본 발명의 일 실시 예에 따른 가변 데이터그램 기반 제어 프레임 전송 방법 마스터 노드가 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드 각각에 할당된 유닛 데이터 블록의 개수를 확인하는 단계, 상기 마스터 노드가 상기 확인된 유닛 데이터 블록의 개수에 따라 각 슬레이브 노드에 대응하여 데이터그램을 구성하고, 구성된 상기 데이터그램에 제어 정보를 작성하여 제어 프레임을 생성하는 단계 및 상기 마스터 노드가 생성된 상기 제어 프레임을 데이터 전송 경로 상에 위치하는 각각의 슬레이브 노드로 순차적으로 전달되도록 제어하는 단계 등을 실행할 수 있다. The variable-datagram-based control frame transmission method 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 method for transmitting a variable-datagram-based control frame according to an embodiment of the present invention includes the steps of: checking the number of unit data blocks allocated to each of a plurality of slave nodes located on a data transmission path of a master node; Generating a control frame by generating control information in the configured datagram, and generating the control frame by generating the control frame in which the master node is generated, in accordance with the number of unit data blocks, A step of sequentially controlling each of the slave nodes located on the slave node, and so on.

이때, 기록매체에 기록된 프로그램은 컴퓨터에서 읽히어 설치되고 실행됨으로써 전술한 기능들을 실행할 수 있다. 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 system, and in particular, in a transmission system including a master node and a slave node, a master node variably sets a datagram according to the size of control information for each slave node located on a data transmission path And a control frame transmission system including the node and the control frame transmission method.

본 발명에 의하면, 마스터 노드에서 제어 프레임 생성 시 각 슬레이브 노드로 전송할 데이터의 양에 따라 데이터그램을 가변적으로 설정하고, 각 슬레이브 노드별로 할당된 데이터그램에 대한 정보를 제어 프레임의 헤더 정보에 기록하여 전송함으로써, 보다 효율적으로 한정된 자원을 사용할 수 있게 되어, 산업용 이더넷 산업 발전에 이바지할 수 있다.According to the present invention, when a control frame is generated in a master node, a datagram is variably set according to the amount of data to be transmitted to each slave node, and information about a datagram allocated to each slave node is recorded in header information of a control frame Transmission can more efficiently use the limited resources, contributing to the development of the industrial Ethernet industry.

더불어, 본 발명은 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용가능성이 있다.In addition, since the present invention is not only possible to be marketed or operated, but also can be practically and practically carried out, it is industrially applicable.

100: 마스터 노드 110: 제어부
111: 제어 모듈 112: 프레임 생성 모듈
130: 마스터 저장부 200: 슬레이브 노드
210: 통신부 220: 데이터 처리부
230: 동작 수행부
100: Master node 110:
111: control module 112: frame generation module
130: master storage unit 200: slave node
210: communication unit 220:
230: Operation performing unit

Claims (12)

데이터 전송 경로에 위치하는 복수의 슬레이브 노드 각각 할당된 유닛 데이터 블록의 개수에 따라, 각 슬레이브 노드에 해당하는 데이터그램을 구성하여 제어 정보를 작성하고, 각 슬레이브 노드별 데이터그램을 포함하는 제어 프레임을 생성한 후, 생성된 상기 제어 프레임을 전달하는 마스터 노드; 및
상기 데이터 전송 경로 전단에 위치한 상기 마스터 노드 또는 슬레이브 노드로부터 상기 마스터 노드로부터 전달된 상기 제어 프레임을 수신하며, 상기 제어 프레임에서 해당하는 데이터그램의 제어 정보를 확인하고, 확인된 상기 제어 정보에 대응하는 동작을 수행하며, 상기 제어 정보에 대응하는 응답 정보가 포함된 상기 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 다른 슬레이브 노드 또는 상기 마스터 노드로 전달하는 복수의 슬레이브 노드;
를 포함하는 것을 특징으로 하는 제어 프레임 전송 시스템.
A plurality of slave nodes located in a data transmission path construct control data by configuring a datagram corresponding to each slave node according to the number of allocated unit data blocks and generate a control frame including a datagram for each slave node A master node for transmitting the generated control frame; And
Receiving the control frame transmitted from the master node or the slave node located at the previous stage of the data transmission path, checking the control information of the corresponding datagram in the control frame, A plurality of slave nodes for transmitting the control frame including response information corresponding to the control information to another slave node or a master node located downstream of the data transmission path;
The control frame transmission system 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
A plurality of slave nodes located on the data transmission path, each slave node configuring a datagram corresponding to each slave node according to the number of allocated unit data blocks to create control information, and a control including datagrams for each slave node A control unit for transmitting the generated control frame to a slave node located at a rear end of the data transmission path through the master communication unit;
And a master node.
제 2항에 있어서,
상기 제어부는
상기 제어 프레임 생성 시 상기 제어 프레임의 헤더 영역에 각 슬레이브 노드별 할당된 유닛 데이터 블록의 개수에 대한 정보를 포함하여 생성되도록 제어하는 것을 특징으로 하는 마스터 노드.
3. The method of claim 2,
The control unit
Wherein the master node generates the control frame including information on the number of unit data blocks allocated to each slave node in the header area of the control frame when the control frame is generated.
제 2항에 있어서,
상기 제어부는
일정 주기 동안 상기 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드로 전송된 제어 프레임의 제어 정보 또는 이에 대응하는 응답 정보를 기초로 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하거나, 사용자 설정에 따라 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하는 것을 특징으로 하는 마스터 노드.
3. The method of claim 2,
The control unit
Allocating the number of unit data blocks to each of the plurality of slave nodes based on control information of a control frame transmitted to a plurality of slave nodes located on the data transmission path for a predetermined period or corresponding response information thereof, And allocating the number of unit data blocks to each of the plurality of slave nodes according to the number of unit data blocks.
데이터 전송 경로 전단에 위치한 마스터 노드 또는 다른 슬레이브 노드로부터 상기 마스터 노드가 전달한 제어 프레임을 수신하고, 이에 대한 응답 정보가 추가된 제어 프레임을 상기 데이터 전송 경로 후단에 위치한 다른 슬레이브 노드 또는 상기 마스터 노드로 전달하는 통신부; 및
상기 통신부를 통해 상기 제어 프레임이 전달되면, 자신에게 할당된 유닛 데이터 블록의 개수에 대한 정보를 기초로, 상기 제어 프레임에서 해당하는 데이터그램의 제어 정보를 확인하고, 이에 대응하는 응답 정보를 상기 제어 프레임에 작성하여 상기 통신부로 전달하는 데이터 처리부;
를 포함하는 것을 특징으로 하는 슬레이브 노드.
A control frame received by the master node from a master node or another slave node located at a preceding stage of a data transmission path and transmits a control frame to which response information is added to another slave node or a master node located at a rear end of the data transmission path ; And
When the control frame is transmitted through the communication unit, the control information of the corresponding datagram in the control frame is checked based on information on the number of unit data blocks assigned to the control frame, A data processing unit for writing the data in the frame and transmitting the data to the communication unit;
And a slave node.
제 5항에 있어서,
상기 데이터 처리부는
상기 제어 프레임의 헤더 영역을 참조하여, 자신에게 할당된 유닛 데이터 블록의 개수를 확인하는 것을 특징으로 하는 슬레이브 노드.
6. The method of claim 5,
The data processing unit
And checks the number of unit data blocks assigned to the slave node by referring to a header area of the control frame.
마스터 노드가 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드 각각에 할당된 유닛 데이터 블록의 개수를 확인하는 단계;
상기 마스터 노드가 상기 확인된 유닛 데이터 블록의 개수에 따라 각 슬레이브 노드에 해당하는 데이터그램을 구성하여 제어 정보를 작성하는 단계;
상기 마스터 노드가 상기 제어 정보가 작성된 데이터그램을 포함하는 제어 프레임을 생성하는 단계; 및
상기 마스터 노드가 생성된 상기 제어 프레임을 상기 데이터 전송 경로 상에 위치하는 각각의 슬레이브 노드로 순차적으로 전달되도록 상기 데이터 전송 경로 후단에 위치하는 슬레이브 노드로 전달하는 단계;
를 포함하는 것을 특징으로 하는 가변 데이터그램 기반 제어 프레임 전송 방법.
Confirming the number of unit data blocks assigned to each of the plurality of slave nodes located on the data transmission path of the master node;
The master node constructing a datagram corresponding to each slave node according to the number of the unit data blocks identified and creating control information;
The master node generating a control frame including a datagram in which the control information is generated; And
Transmitting the control frame in which the master node is generated to a slave node located at a rear end of the data transmission path so as to be sequentially transmitted to each slave node located on the data transmission path;
Based control frame transmission method according to the present invention.
제 7항에 있어서,
상기 제어 프레임을 생성하는 단계는
상기 마스터 노드가 상기 제어 프레임의 헤더 영역에 각 슬레이브 노드별 할당된 유닛 데이터 블록의 개수에 대한 정보를 포함하여 상기 제어 프레임을 생성하는 것을 특징으로 하는 가변 데이터그램 기반 제어 프레임 전송 방법.
8. The method of claim 7,
The step of generating the control frame
Wherein the master node generates the control frame by including information on the number of unit data blocks allocated to each slave node in a header area of the control frame.
제 7항에 있어서,
상기 확인하는 단계 이전에,
상기 마스터 노드가 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하는 단계;
를 더 포함하는 것을 특징으로 하는 가변 데이터그램 기반 제어 프레임 전송 방법.
8. The method of claim 7,
Before the confirming step,
The master node allocating a number of unit data blocks to each of the plurality of slave nodes;
And transmitting the control information to the control unit.
제 9항에 있어서,
상기 할당하는 단계는
상기 마스터 노드가 일정 주기 동안 상기 데이터 전송 경로 상에 위치하는 복수의 슬레이브 노드로 전송된 제어 프레임의 제어 정보 또는 이에 대응하는 응답 정보를 기초로 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하거나, 사용자 설정에 따라 상기 복수의 슬레이브 노드 각각에 유닛 데이터 블록의 개수를 할당하는 것을 특징으로 하는 가변 데이터그램 기반 제어 프레임 전송 방법.
10. The method of claim 9,
The allocating step
The master node allocates the number of unit data blocks to each of the plurality of slave nodes based on the control information of the control frame transmitted to the plurality of slave nodes located on the data transmission path for a predetermined period or the corresponding response information Or allocates the number of unit data blocks to each of the plurality of slave nodes according to a user setting.
데이터 전송 경로 상에 위치한 복수의 슬레이브 노드 중 어느 하나의 슬레이브 노드의 동작 방법에 있어서,
상기 슬레이브 노드가 상기 데이터 전송 경로 전단에 위치한 마스터 노드 또는 다른 슬레이브 노드로부터 상기 마스터 노드가 전달한 제어 프레임을 수신하는 단계;
상기 슬레이브 노드가 상기 제어 프레임의 헤더 영역을 참조하여 자신에게 할당된 유닛 데이터 블록의 개수에 대한 정보를 확인하는 단계;
상기 슬레이브 노드가 상기 확인된 유닛 데이터 블록의 개수에 대한 정보를 기초로 상기 제어 프레임에서 해당하는 데이터그램의 제어 정보를 확인하는 단계; 및
상기 슬레이브 노드가 확인된 제어 정보에 따라 대응하는 동작을 수행하는 단계;
를 포함하는 것을 특징으로 하는 가변 데이터그램 기반 제어 프레임 전송 방법.
1. A method for operating a slave node among a plurality of slave nodes located on a data transmission path,
Receiving, by the slave node, a control frame transmitted from the master node or another slave node located at the previous stage of the data transmission path;
The slave node referring to a header area of the control frame and confirming information on the number of unit data blocks assigned to the slave node;
Checking, by the slave node, control information of a corresponding datagram in the control frame based on information about the number of the unit data blocks identified; And
The slave node performing a corresponding operation according to the identified control information;
Based control frame transmission method according to the present invention.
제 7항 내지 제 11항 중 어느 하나의 항에 기재된 가변 데이터그램 기반 제어 프레임 전송 방법을 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록매체.



A computer-readable recording medium recording a program for executing the variable-datagram-based control-frame transmission method according to any one of claims 7 to 11.



KR1020140125807A 2014-09-22 2014-09-22 Method for transmitting of control frame based on variable datagram, node apparatus and system for the same KR101593218B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140125807A KR101593218B1 (en) 2014-09-22 2014-09-22 Method for transmitting of control frame based on variable datagram, node apparatus and system for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140125807A KR101593218B1 (en) 2014-09-22 2014-09-22 Method for transmitting of control frame based on variable datagram, node apparatus and system for the same

Publications (1)

Publication Number Publication Date
KR101593218B1 true KR101593218B1 (en) 2016-02-12

Family

ID=55355229

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140125807A KR101593218B1 (en) 2014-09-22 2014-09-22 Method for transmitting of control frame based on variable datagram, node apparatus and system for the same

Country Status (1)

Country Link
KR (1) KR101593218B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140021304A (en) * 2012-08-10 2014-02-20 삼성중공업 주식회사 Communication system and real time data transmission method
KR20140021305A (en) 2012-08-10 2014-02-20 삼성중공업 주식회사 Communication system and real time frame switching method
KR20140049287A (en) * 2012-10-17 2014-04-25 삼성중공업 주식회사 Controller of power conversion equipment for energy storage system using ring structure serial communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140021304A (en) * 2012-08-10 2014-02-20 삼성중공업 주식회사 Communication system and real time data transmission method
KR20140021305A (en) 2012-08-10 2014-02-20 삼성중공업 주식회사 Communication system and real time frame switching method
KR20140049287A (en) * 2012-10-17 2014-04-25 삼성중공업 주식회사 Controller of power conversion equipment for energy storage system using ring structure serial communication

Similar Documents

Publication Publication Date Title
JP4691601B2 (en) Method, communication network, and control apparatus for cyclic transmission of data
US9557734B2 (en) Control network system, master apparatus, control data processing method, and control data processing program
US20100211711A1 (en) Method, bus components, and control system for ethernet-based control of an automation system
US20100241773A1 (en) Real-time industrial ethernet ethercat communication control
US10412042B2 (en) Topology based internet protocol (IP) addressing
US20190197016A1 (en) Control system and control device
US10877803B2 (en) Control apparatus, control method and non-transitory storage medium
JP2017529033A (en) Ethernet interface module
JP7330395B2 (en) Methods, programs, media, and devices for interconnecting primary network domains with secondary network domains through gateway devices
US8792518B2 (en) Automation system
CN111587560A (en) Master-slave bus system and method for operating a bus system
US9568905B2 (en) CPU of PLC, system program for PLC, and recording medium storing system program for PLC
US20150039929A1 (en) Method and Apparatus for Forming Software Fault Containment Units (SWFCUS) in a Distributed Real-Time System
JP2012150795A (en) Integration of field devices in distributed system
KR101593218B1 (en) Method for transmitting of control frame based on variable datagram, node apparatus and system for the same
CN104821948A (en) Method for realizing openSAFETY function security based on POWERLINK
EP2677693B1 (en) Communication system
WO2014167703A1 (en) Network system, communication method, and network device
US20220137604A1 (en) Coordination Device and Method for Providing Control Applications via a Communication Network for Transmitting Time-Critical Data
EP3879764B1 (en) Transporting a message from an industrial end device over an ethernet network
Marques et al. Efficient transient error recovery in FlexRay using the dynamic segment
TW201531068A (en) Methods and devices for connecting to multiple interfaces
KR101587421B1 (en) On-the-fly data transmission system, method for optimizing data transmission rate and slave device therefor
KR102182494B1 (en) EtherCAT network system with noise discrimination function and noise discriminating method of EtherCAT network system
JP5168182B2 (en) I / O data transfer method

Legal Events

Date Code Title Description
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190131

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20200204

Year of fee payment: 5