KR101576050B1 - Method, apparatus and system for upgrading software of nodes - Google Patents

Method, apparatus and system for upgrading software of nodes Download PDF

Info

Publication number
KR101576050B1
KR101576050B1 KR1020140120998A KR20140120998A KR101576050B1 KR 101576050 B1 KR101576050 B1 KR 101576050B1 KR 1020140120998 A KR1020140120998 A KR 1020140120998A KR 20140120998 A KR20140120998 A KR 20140120998A KR 101576050 B1 KR101576050 B1 KR 101576050B1
Authority
KR
South Korea
Prior art keywords
data
upgrade
control
information
control message
Prior art date
Application number
KR1020140120998A
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 KR1020140120998A priority Critical patent/KR101576050B1/en
Application granted granted Critical
Publication of KR101576050B1 publication Critical patent/KR101576050B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/42Loop networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a method, an apparatus, and a system for upgrading software of multiple nodes. A master node sets multiple modes, generates control data including control information in a first mode, transmits a control message including the generated control data, generates upgrade data including upgrade information by converting a mode into a second mode if a software upgrade event occurs, and additionally transmits the generated upgrade data to the control message. A plurality of slave nodes upgrade the software by corresponding to the upgrade information thereof included in the upgrade data if receiving the control message including the upgrade data. The control message can go back to the master node after sequentially passing through the slave nodes located on a route in a ring structure. Therefore, the slave nodes, connected to the master node, can be selectively upgraded in a common node and an upgrade mode while continuity of operation is maintained. The size of the control data can be reduced in a common circumstance by generating a data frame to be variable according to the mode.

Description

복수 노드의 소프트웨어 업그레이드를 위한 방법, 이를 위한 장치 및 시스템{Method, apparatus and system for upgrading software of nodes}TECHNICAL FIELD The present invention relates to a method for upgrading software of a plurality of nodes,

본 발명은 산업용 대량 객체 데이터 전송 기술에 관한 것으로서, 특히 산업용 대량 객체 데이터를 복수의 노드로 전송하여 복수 노드의 소프트웨어를 업그레이드하기 위한 방법, 이를 위한 장치 및 시스템에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to industrial mass object data transmission technology, and more particularly, to a method, apparatus, and system for upgrading software of a plurality of nodes by transmitting industrial mass object data to 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.

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

이러한 시점에서 'Industrial Ethernet' 통신 방식을 기반으로 하는 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 have.

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

특히, 최근 차세대 전력망이 발달함에 따라 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.

일본공개특허 제4107110호, 2008년 04월 11일 등록(명칭: FIELD BUS SYSTEM, CNNECION CONFIRMING METHOD, MASTER AND SLAVE)Japanese Patent Publication No. 4107110, Registered on Apr. 11, 2008 (Name: FIELD BUS SYSTEM, CNNECION CONFIRMING METHOD, MASTER AND SLAVE)

본 발명은 종래의 불편함을 해소하기 위하여 제안된 것으로서, 온 더 플라이(on the fly) 방식으로 복수의 슬레이브 노드를 제어하기 위한 제어 메시지를 전송 시 복수의 모드를 설정하여, 모드에 따라 가변적으로 데이터 프레임을 구성하고, 업그레이드 이벤트가 발생하면, 업그레이드 모드로 전환하여 업그레이드 데이터를 포함한 데이터 프레임을 제어 메시지에 실어 전송하기 위한 복수의 슬레이브 노드의 소프트웨어를 업그레이드하기 위한 방법, 이를 위한 장치 및 시스템을 제공하고자 한다. DISCLOSURE OF THE INVENTION The present invention has been proposed in order to overcome the inconvenience of the prior art, and it is an object of the present invention to set a plurality of modes when transmitting a control message for controlling a plurality of slave nodes in an on-the-fly manner, A method for upgrading software of a plurality of slave nodes for transferring data frames including upgrade data in a control message by switching to an upgrade mode when an upgrade event occurs, and a device and a system therefor are provided I want to.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따른 복수 노드의 소프트웨어 업그레이드를 위한 시스템은, 복수의 모드를 설정하여, 제1 모드에서 제어 정보를 포함한 제어 데이터를 생성하고, 생성된 제어 데이터를 포함한 제어 메시지를 전송하고, 소프트웨어 업그레이드 이벤트가 발생하면, 제2 모드로 전환하여 업그레이드 정보를 포함한 업그레이드 데이터를 생성하고, 상기 제어 메시지에 생성된 업그레이드 데이터를 추가하여 전송하는 마스터 노드; 및 상기 업그레이드 데이터를 포함하는 상기 제어 메시지를 수신하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 복수의 슬레이브 노드를 포함하며, 상기 제어 메시지는, 링 구조의 경로 상에 위치한 상기 복수의 슬레이브 노드를 순차적으로 거쳐 상기 마스터 노드로 다시 되돌아 갈 수 있다. According to another aspect of the present invention, there is provided a system for upgrading software of a plurality of nodes, the method comprising: generating a control data including control information in a first mode by setting a plurality of modes; A master node for transmitting control messages including control data, generating upgrade data including upgrade information by switching to a second mode when a software upgrade event occurs, adding the upgrade data generated in the control message, and transmitting the upgrade data; And a plurality of slave nodes for upgrading software corresponding to the upgrade information included in the upgrade data upon receiving the control message including the upgrade data, The plurality of slave nodes located in the slave node may be sequentially returned to the master node.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따른 복수 노드의 소프트웨어 업그레이드를 위한 장치는, 제1 모드에서 링 구조의 경로 상의 복수의 슬레이브 노드를 제어할 제어 정보를 포함한 제어 데이터를 생성하고, 소프트웨어 업그레이드 이벤트가 발생하면, 제2 모드로 전환하여 상기 복수의 슬레이브 노드의 소프트웨어를 업그레이드하기 위한 업그레이드 정보를 생성하는 제어부; 및 상기 제1 모드에서는 제어 데이터를 포함한 제어 메시지를 상기 복수의 슬레이브 노드로 순차적으로 전송하고, 상기 제2 모드에서는 업그레이드 데이터를 포함한 제어 메시지를 연결된 슬레이브 노드로 전송하는 데이터 송수신부를 포함하며, 상기 제어 메시지는, 상기 연결된 슬레이브 노드를 거쳐 경로 상에 위치한 나머지 복수의 슬레이브 노드로 순차적으로 전송되어, 다시 되돌아 올 수 있다. According to another aspect of the present invention, there is provided an apparatus for upgrading software for a plurality of nodes, the system including: a control module for controlling a plurality of slave nodes on a path of a ring structure in a first mode, And generating upgrade information for upgrading software of the plurality of slave nodes by switching to a second mode when a software upgrade event occurs; And a data transmission / reception unit for sequentially transmitting a control message including control data to the plurality of slave nodes in the first mode and transmitting a control message including upgrade data to a connected slave node in the second mode, The message is sequentially transmitted to the remaining plurality of slave nodes located on the path via the connected slave node and can be returned.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따른 복수 노드의 소프트웨어 업그레이드를 위한 장치는, 마스터 노드에서 생성된 제어 메시지를 수신하고, 응답 데이터를 추가한 상기 제어 메시지를 링 구조의 경로 상의 다음 슬레이브 노드 또는 상기 마스터 노드로 전송하는 데이터 송수신부; 업그레이드 데이터를 포함하는 상기 메시지를 수신하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보를 추출하는 데이터 처리부; 및 상기 데이터 처리부에서 추출된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 동작 수행부를 포함하며, 상기 제어 메시지는, 상기 링 구조의 경로 상에 위치한 복수의 슬레이브 노드로 순차적으로 전송되어, 상기 마스터 노드로 되돌아 갈 수 있다. According to another aspect of the present invention, there is provided an apparatus for upgrading software of a plurality of nodes, the method comprising: receiving a control message generated at a master node; A data transmitting / receiving unit for transmitting to a next slave node on the path or to the master node; A data processing unit for receiving the upgrade information and extracting its upgrade information included in the upgrade data; And an operation performing unit for upgrading software corresponding to the upgrade information extracted by the data processing unit, wherein the control message is sequentially transmitted to a plurality of slave nodes located on a path of the ring structure, . ≪ / RTI >

상술한 바와 같은 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따른 마스터 노드에서 복수 노드의 소프트웨어 업그레이드를 위한 방법은, 제1 모드인 경우, 링 구조의 경로 상의 복수의 슬레이브 노드를 제어할 제어 정보를 포함한 제어 데이터를 생성하는 단계; 제어 데이터를 포함한 제어 메시지를 연결된 슬레이브 노드로 전송하는 단계; 소프트웨어 업그레이드 이벤트가 발생하면, 제2 모드로 전환하여 상기 복수의 슬레이브 노드의 소프트웨어를 업그레이드하기 위한 업그레이드 데이터를 생성하는 단계; 및 상기 제어 메시지에 생성된 업그레이드 데이터를 추가하여 연결된 슬레이브 노드로 전송하는 단계를 포함하며, 상기 제어 메시지는, 상기 연결된 슬레이브 노드를 거쳐 경로 상에 위치한 나머지 복수의 슬레이브 노드로 순차적으로 전송되어, 다시 되돌아 올 수 있다. According to another aspect of the present invention, there is provided a method for upgrading software of a plurality of nodes in a master node, comprising the steps of: controlling a plurality of slave nodes on a path of a ring structure, Generating control data including the control data; Transmitting a control message including control data to a connected slave node; Generating upgrade data for upgrading software of the plurality of slave nodes by switching to a second mode when a software upgrade event occurs; And transmitting the upgrade message to the connected slave node, wherein the control message is sequentially transmitted to the plurality of slave nodes located on the path via the connected slave node, You can come back.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따른 슬레이브 노드에서의 마스터 노드에서 복수 노드의 소프트웨어 업그레이드를 위한 방법은, 마스터 노드에서 생성된 제어 메시지를 수신하는 단계; 수신된 제어 메시지에 업그레이드 데이터가 존재하는 지를 확인하는 단계; 상기 업그레이드 데이터가 존재하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보를 추출하여, 추출된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 단계; 및 업그레이드 수행 결과에 대한 응답 데이터를 추가한 상기 제어 메시지를 링 구조의 경로 상의 다음 슬레이브 노드 또는 상기 마스터 노드로 전송하는 단계를 포함하며, 상기 제어 메시지는, 상기 링 구조의 경로 상에 위치한 복수의 슬레이브 노드로 순차적으로 전송되어, 상기 마스터 노드로 되돌아 갈 수 있다. According to another aspect of the present invention, there is provided a method for upgrading software of a plurality of nodes in a master node in a slave node, the method comprising: receiving a control message generated in a master node; Confirming whether upgrade data exists in the received control message; Extracting upgrade information included in the upgrade data if the upgrade data exists, and upgrading software corresponding to the extracted upgrade information; And transmitting the control message to the slave node or the master node on the path of the ring structure, the control message including response data for the result of performing the upgrade, wherein the control message includes a plurality of Can be sequentially transferred to the slave node, and can be returned to the master node.

본 발명은 복수의 전송 모드를 구성하여, 마스터 노드에 연결된 복수의 슬레이브 노드를 일반 모드 및 업그레이드 모드로 나누어 동작의 연속성을 유지하면서 업그레이드를 수행할 수 있으며, 모드에 따라 데이터 프레임을 가변적으로 생성함으로써, 평상 시에 제어 데이터의 사이즈를 줄일 수 있는 효과가 있다. In the present invention, a plurality of transmission modes are configured, and a plurality of slave nodes connected to a master node are divided into a normal mode and an upgrade mode to perform an upgrade while maintaining continuity of operation, and data frames are variably generated according to a mode , It is possible to reduce the size of the control data in normal operation.

또한, 본 발명은 온 더 플라이 방식을 적용하여 제어 정보를 대량 노드에 전송함으로써, 각 노드에 제어 데이터를 전달 시 기존의 polling, time slicing 방식을 사용하지 않고 전송할 수 있으므로 제어 주기가 감소될 수 있어, 보다 빠른 속도로 슬레이브 노드들을 제어할 수 있는 효과가 있다. Further, since the control information is transmitted to the mass node by applying the on-the-fly method, the control period can be reduced because the control data can be transmitted to each node without using the existing polling and time slicing method , It is possible to control the slave nodes at a higher speed.

도 1은 본 발명의 실시예들에 따른 복수의 노드를 소프트웨어를 업그레이드하기 위한 제어 시스템의 구성을 도시한 도면이다.
도 2는 본 발명의 실시예들에 따라 온 더 플라이 방식을 적용하여 복수의 슬레이브 노드로 제어 데이터를 전송하기 위한 일 예를 도시한 도면이다.
도 3은 본 발명의 실시예에 따라 마스터 노드에서 모드에 따라 복수의 슬레이브 노드로 전송되는 제어 메시지들의 구조를 도시한 도면이다.
도 4는 본 발명의 실시예들에 따른 제어 시스템에서의 마스터 노드의 구체적인 구성을 도시한 도면이다.
도 5는 본 발명의 실시예들에 따른 제어 시스템에서의 슬레이브 노드의 구체적인 구성을 도시한 도면이다.
도 6은 본 발명의 실시예들에 따라 마스터 노드에서 복수 노드의 소프트웨어를 업그레이드하기 위한 방법을 도시한 도면이다.
도 7은 본 발명의 제1 실시예에 따라 슬레이브 노드에서 소프트웨어를 업그레이드하기 위한 방법을 도시한 도면이다.
도 8은 본 발명의 제2 실시예에 따라 슬레이브 노드에서 소프트웨어를 업그레이드하기 위한 방법을 도시한 도면이다.
도 9는 본 발명의 제3 실시예에 따라 슬레이브 노드에서 소프트웨어 업그레이드하기 위한 방법을 도시한 도면이다.
1 is a diagram showing a configuration of a control system for upgrading software of a plurality of nodes according to embodiments of the present invention.
2 is a diagram illustrating an example of transmitting control data to a plurality of slave nodes by applying on-the-fly method according to embodiments of the present invention.
3 is a diagram illustrating a structure of control messages transmitted from a master node to a plurality of slave nodes according to a mode according to an embodiment of the present invention.
4 is a diagram showing a specific configuration of a master node in the control system according to the embodiments of the present invention.
5 is a diagram illustrating a specific configuration of a slave node in a control system according to embodiments of the present invention.
6 is a diagram illustrating a method for upgrading software of multiple nodes at a master node in accordance with embodiments of the present invention.
7 is a diagram illustrating a method for upgrading software at a slave node according to a first embodiment of the present invention.
8 is a diagram illustrating a method for upgrading software at a slave node according to a second embodiment of the present invention.
9 is a diagram illustrating a method for upgrading software in a slave node according to a third 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.

우선, 본 발명의 실시예에 따른 복수의 노드를 소프트웨어를 업그레이드하기 위한 데이터 전송 시스템에 대해 첨부된 도면을 참조하여 구체적으로 설명하기로 한다. First, a data transmission system for upgrading software of a plurality of nodes according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예들에 따른 복수의 노드를 소프트웨어를 업그레이드하기 위한 제어 시스템의 구성을 도시한 도면이다. 1 is a diagram showing a configuration of a control system for upgrading software of a plurality of nodes according to embodiments of the present invention.

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

마스터 노드(100) 및 복수의 슬레이브 노드(200)는 산업 현장에 설치된 대량의 노드로서, 전력 공급 설비(직류를 이용해 교류 만듦), 구동 장치, 제조 설비 등이 포함될 수 있다. The master node 100 and the plurality of slave nodes 200 may be a large number of nodes installed in an industrial field, and may include power supply facilities (making AC using direct current), driving devices, manufacturing facilities, 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 connected to a plurality of slave nodes 200 connected in an on- And transmits a control message with a control message according to the mode.

마스터 노드(100)는 복수의 슬레이브 노드(200)의 소프트웨어 업그레이드가 필요함을 확인하면, 연결된 복수의 슬레이브 노드(200)로 소프트웨어 업그레이드 정보를 전송하기 위해 업그레이드 모드(이하, 제2 모드로 칭함)로 변경하여, 업그레이드 데이터를 생성할 수 있다. 그런 다음 마스터 노드(100)는 제어 데이터, 헤더 및 오류 체크 영역으로 형성된 일반 데이터 프레임(제1 데이터 프레임)의 데이터 포맷에 업그레이드 데이터 영역을 추가하여 업그레이드 데이터 프레임(제2 데이터 프레임)을 구성할 수 있다. 이러한 업그레이드 데이터 프레임 구조는 첨부된 도 3의 (b)에 도시된 바와 같으며, 제어 데이터(20), 업그레이드 데이터(30)를 포함하는 데이터 영역, 헤더 영역(10) 및 오류 체크(CRC) 영역(40)으로 구성될 수 있다. 여기서, 헤더 영역에는 모드 정보 및 제어 메시지에 대한 간단한 정보만이 포함될 수 있다. When the master node 100 determines that a plurality of slave nodes 200 need to be upgraded, the master node 100 transmits an upgrade mode (hereinafter, referred to as a second mode) to transmit the software upgrade information to the plurality of connected slave nodes 200 It is possible to generate upgrade data. Then, the master node 100 can construct an upgrade data frame (second data frame) by adding an upgrade data area to a data format of a general data frame (first data frame) formed of control data, a header and an error check area have. This upgrade data frame structure is as shown in FIG. 3 (b), which includes control data 20, a data area including upgrade data 30, a header area 10, and an error check (CRC) (40). Here, the header area may include only simple information on the mode information and the control message.

한편, 마스터 노드(100)는 복수의 슬레이브 노드(200)로 소프트웨어 업그레이드 정보를 전송하지 않는 경우, 일반 모드(이하, 제1 모드라 칭함)로 변경되어 제어 데이터를 생성하여 생성된 제어 데이터만을 복수의 슬레이브 노드(200)로 전송할 수 있다. 이러한 일반 모드인 경우, 마스터 노드(100)는 첨부된 도 3의 (a)에 도시된 바와 같이 제어 데이터(20)를 포함한 데이터 영역, 헤더 영역(10) 및 오류 체크(CRC)(40)로 형성된 일반 데이터 프레임(제1 데이터 프레임)을 구성할 수 있다. On the other hand, when the master node 100 does not transmit software upgrade information to a plurality of slave nodes 200, the master node 100 is changed to a general mode (hereinafter referred to as a first mode) to generate control data, To the slave node 200 of FIG. In this general mode, the master node 100 has a data area including the control data 20, a header area 10 and an error check (CRC) 40 as shown in FIG. 3 (a) A general data frame (first data frame) formed can be configured.

이에 따라 본 발명의 실시예에 따른 마스터 노드(100)는 제1 및 제2 모드에 따라 데이터 프레임의 사이즈 및 포맷을 서로 다르게 구성할 수 있으므로 상황에 따라 모드를 변경하여 데이터 프레임의 사이즈를 가변적으로 구성할 수 있다. 즉, 소프트웨어 업그레이드 상황은 간헐적으로 발생하므로 업그레이드 모드로 변경된 경우에만 데이터 영역에 제어 데이터와 함께 업그레이드 데이터를 추가하여 데이터 프레임을 구성하고, 평상 시에는 제어 데이터만을 포함하여 데이터 프레임을 구성하여 데이터 프레임의 사이즈를 줄일 수 있다. Accordingly, the master node 100 according to the embodiment of the present invention can configure the sizes and formats of the data frames differently according to the first and second modes. Therefore, it is possible to change the size of the data frame by changing the mode according to the situation, Can be configured. That is, since the software upgrade situation occurs intermittently, only when the upgrade mode is changed, the upgrade data is added to the data area together with the control data to construct the data frame. In normal operation, the data frame is composed only of the control data, The size can be reduced.

또한, 마스터 노드(100)는 첨부된 도 2에 도시된 바와 같이, 온 더 플라이 방식으로 제어 주기 동안 링 구조의 경로 상에 위치한 복수의 슬레이브 노드(200)로 제어 데이터를 포함하여 구성된 데이터 프레임을 전송할 수 있다. 여기서, 전송되는 데이터 프레임 즉, 데이터 프레임을 포함한 제어 메시지는 마스터 노드(100)에 연결된 모든 슬레이브 노드(200)를 통과하여 다시 마스터 노드(100)로 되돌아 갈 수 있다. 이때, 마스터 노드(100)로 되돌아온 제어 메시지는 각 노드의 새 데이터를 포함할 수 있다. 2, the master node 100 transmits a data frame including control data to a plurality of slave nodes 200 located on a path of a ring structure during a control period in an on-the-fly manner Lt; / RTI > Here, the control message including the data frame to be transmitted, that is, the data frame, may be returned to the master node 100 through all the slave nodes 200 connected to the master node 100. At this time, the control message returned to the master node 100 may include new data of each node.

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

복수의 슬레이브 노드(200)는 마스터 노드(100) 또는 이전 슬레이브 노드(200)로부터 전달된 제어 메시지를 분석하여 자신의 정보를 취하고, 제어 메시지를 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송할 수 있다. 이때, 업그레이드 대상인 슬레이브 노드(200)는 제어 메시지에 자신의 제어 정보 및 업그레이드 정보가 포함되어 있는지를 확인한다. 만약, 업그레이드 정보가 포함된 경우, 자신의 현재 상태를 업그레이드 모드로 전환하고, 제어 메시지에 포함된 업그레이드 정보를 이용하여 자신의 소프트웨어를 업그레이드할 수 있다. The plurality of slave nodes 200 analyze the control message transmitted from the master node 100 or the previous slave node 200 and take their own information and send a control message to the next slave node 200 or the master node 100 Lt; / RTI > At this time, the slave node 200 to be upgraded confirms whether its control information and upgrade information are included in the control message. If the upgrade information is included, the user can change his / her current state to the upgrade mode and upgrade his / her software using the upgrade information included in the control message.

또한, 복수의 슬레이브 노드(200)는 수신된 제어 메시지를 확인하여 자신의 제어 정보 또는 업그레이드 정보가 포함되어 있지 않은 경우, 제어 메시지를 그대로 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송할 수 있다. If there is no control information or upgrade information of the slave node 200, the slave node 200 may transmit the control message to the next slave node 200 or the master node 100 have.

반면, 복수의 슬레이브 노드(200)는 수신된 제어 메시지에 제어 정보 또는 업그레이드 정보가 포함된 경우, 자신의 제어 정보 또는 업그레이드 정보를 추출하고, 추출된 제어 정보 또는 업그레이드 정보에 대응하여 제어 동작 또는 소프트웨어 업그레이드 동작을 수행한 후, 제어 메시지를 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송할 수 있다. On the other hand, when the control message or the upgrade information is included in the received control message, 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 After performing the upgrade operation, the control message may be transmitted to the next slave node 200 or the master node 100.

또한, 복수의 슬레이브 노드(200)는 전송할 제어 메시지에 자신의 새 데이터를 포함할 수 있다. 여기서, 각 슬레이브 노드(200)에서 제어 메시지에 포함되는 새 데이터는 제어 동작에 대한 결과 정보, 요청에 따른 응답 정보 또는 자신이 현재 상태에 대한 정보 등을 포함할 수 있다. In addition, the plurality of slave nodes 200 may include their new data in the control message to be transmitted. Here, the new data included in the control message in each slave node 200 may include the result information on the control operation, the response information according to the request, or information on the current state of the control message.

이와 같은 복수의 슬레이브 노드의 소프트웨어를 업그레이드하기 위한 제어 시스템에서의 마스터 노드(100) 및 복수의 슬레이브 노드(200)에 대해 구체적으로 설명하면 다음과 같다. 우선, 마스터 노드의 구체적인 구성을 첨부된 도면을 참조하여 구체적으로 설명하기로 한다. The master node 100 and the plurality of slave nodes 200 in the control system for upgrading the software of the plurality of slave nodes will be described in detail as follows. First, the specific configuration of the master node 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 the control system according to the embodiments of the present invention.

도 4를 참조하면, 본 발명의 실시예들에 따른 마스터 노드(100)는 제어부(110), 데이터 송수신부(120) 및 저장부(130)를 포함하여 구성될 수 있다. Referring to FIG. 4, the master node 100 according to embodiments of the present invention may include a controller 110, a data transmitting / receiving unit 120, and a storage unit 130.

제어부(110)는 모드를 변경하여 복수의 슬레이브 노드(200)를 제어하기 위한 제어 데이터를 생성하고, 생성된 제어 데이터를 복수의 슬레이브 노드(200)로 순차적으로 전송하기 위해 가변적인 데이터 프레임을 구성할 수 있다. 이를 위해, 제어부(110)는 제1 모드 제어 모듈(111), 제2 모드 제어 모듈(112) 및 데이터 프레임 생성 모듈(113)을 포함할 수 있다. The control unit 110 generates control data for controlling the plurality of slave nodes 200 by changing modes and configures a variable data frame to sequentially transmit the generated control data to the plurality of slave nodes 200 can do. For this, the controller 110 may include a first mode control module 111, a second mode control module 112, and a data frame generation module 113.

제1 모드 제어 모듈(111)은 일반적인 모드에서 링 구 조의 경로 상에 위치한 복수의 슬레이브 노드(200)의 각각을 제어하기 위한 제어 정보를 포함한 데이터 그램들을 포함하는 제어 데이터를 생성하고, 생성된 제어 데이터를 제어 메시지에 실어 연결된 슬레이브 노드(200)에 전송하도록 제어할 수 있다. The first mode control module 111 generates control data including datagrams including control information for controlling each of a plurality of slave nodes 200 located on a path of a ring structure in a general mode, It is possible to control the data to be transmitted to the slave node 200 connected to the control message.

제2 모드 제어 모듈(112)는 업그레이드 이벤트가 발생하면, 업그레이드 모드로 변경하고, 경로 상에 위치한 복수의 슬레이브 노드(200) 또는 지정된 슬레이브 노드(200)의 소프트웨어 업그레이드 정보를 전송하기 위해 공통 또는 개별적으로 소프트웨어 업그레이드 정보를 포함한 업그레이드 데이터를 생성할 수 있다. 그리고 제2 모드 제어 모듈(112)은 데이터 프레임 생성 모듈(113)에서 생성된 업그레이드 데이터 및 제어 데이터를 포함한 데이터 프레임을 전달받아 데이터 송수신부(120)를 통해 연결된 슬레이브 노드(200)로 전송하도록 제어할 수 있다. When the upgrade event occurs, the second mode control module 112 changes to the upgrade mode and transmits the software upgrade information of the plurality of slave nodes 200 or the designated slave nodes 200 located on the path, Can generate upgrade data including software upgrade information. The second mode control module 112 receives the data frame including the upgrade data and the control data generated by the data frame generation module 113 and transmits the data frame to the slave node 200 through the data transmission / can do.

데이터 프레임 생성 모듈(113)은 제1 모드로 변경된 경우, 제1 모드 제어 모듈(111)로부터 생성된 제어 데이터를 포함한 제1 데이터 프레임을 구성하고, 구성된 제1 데이터 프레임을 데이터 송수신부(120)로 전달할 수 있다. 여기서, 제1 데이터 프레임은 헤더, 제어 데이터 및 오류 체크 영역으로 구분하여 구성할 수 있다. The data frame generation module 113 constructs a first data frame including the control data generated from the first mode control module 111 when the first mode is changed and transmits the first data frame to the data transmission / . Here, the first data frame may be divided into a header, a control data, and an error check area.

또한, 데이터 프레임 생성 모듈(113)은 제2 모드로 변경된 경우, 제2 모드 제어 모듈(112)로부터 생성된 업그레이드 데이터 및 제어 데이터를 포함한 제2 데이터 프레임을 구성하고, 구성된 제2 데이터 프레임을 데이터 송수신부(120)로 전달할 수 있다. 여기서, 제2 데이터 프레임은 헤더, 제어 데이터, 업그레이드 데이터 및 오류 체크 영역으로 구분하여 구성할 수 있다. The data frame generation module 113 configures a second data frame including upgrade data and control data generated from the second mode control module 112 when the second mode is changed, To the transceiver unit 120. FIG. Here, the second data frame may be divided into a header, control data, upgrade data, and error check area.

한편, 본 발명의 다른 실시예에 따라, 제어부(110)는 연결된 복수의 슬레이브 노드(200)로부터 되돌아온 제어 메시지를 확인하여 소프트웨어 업그레이드가 필요한 슬레이브 노드를 판단할 수도 있다. 예를 들어, 제어부(110)는 일반 모드에서 제어 정보를 통해 실행중인 소프트웨어 버전 정보를 요청하는 제어 데이터를 생성하고, 생성된 제어 데이터를 복수의 슬레이브 노드(200)로 전송하도록 제어할 수 있다. 이에 따라 각 슬레이브 노드(200)에서는 자신의 버전 정보를 응답 정보로 제어 메시지에 포함하여 전달함으로써, 제어부(110)는 이러한 응답 정보를 확인하여 각 슬레이브 노드(200)의 소프트웨어 업그레이드 버전 정보를 확인할 수 있다. 그리고 제어부(110)는 외부 장치로부터 새로운 소프트웨어 업그레이드 정보가 수신되면, 각 슬레이브 노드(200)의 업그레이드 버전 정보를 확인하여 소프트웨어 업그레이드가 필요한 슬레이브 노드(200)를 지정한 후 업그레이드 데이터를 생성하여 생성된 업그레이드 데이터를 제어 메시지에 실어 전송하도록 제어할 수 있다. Meanwhile, according to another embodiment of the present invention, the control unit 110 may check the control message returned from the plurality of slave nodes 200 connected to determine a slave node requiring a software upgrade. For example, the control unit 110 may generate control data for requesting software version information to be executed through the control information in the normal mode, and may control the generated control data to be transmitted to the plurality of slave nodes 200. Accordingly, each slave node 200 transmits its own version information as response information in a control message, so that the controller 110 can confirm the software upgrade version information of each slave node 200 by checking the response information have. Upon receipt of the new software upgrade information from the external device, the control unit 110 confirms the upgrade version information of each slave node 200, designates the slave node 200 requiring software upgrade, generates upgrade data, It is possible to control the data to be transmitted in a control message.

또한, 본 발명의 또 다른 실시예에 따라, 새로운 소프트웨어 업그레이드 버전 정보가 즉, 소프트웨어 업그레이드 이벤트가 발생하면, 제어부(110)는 일반 모드의 제어 데이터에 버전 정보를 포함하여 각 슬레이브 노드(200)로 전송할 수도 있다. 이에 따라 연결된 복수의 슬레이브 노드(200)는 각각 제어 메시지를 확인하여 자신의 버전 정보와 제어 정보의 버전 정보를 비교하여 업그레이드가 필요한 경우, 업그레이드 여부에 대한 응답 정보를 제어 메시지에 포함하여 전송할 수 있다. In addition, according to another embodiment of the present invention, when new software upgrade version information, i.e., a software upgrade event occurs, the control unit 110 stores version information in the control data of the normal mode to each slave node 200 . Accordingly, each of the plurality of slave nodes 200 connected to the slave node 200 can check the control message and compare the version information of the slave node 200 with the version information of the control information, so that the slave node 200 can transmit the control message including the response information .

그러면 제어부(110)는 되돌아 온 제어 메시지에 포함된 응답 정보를 확인하여 소프트웨어 업그레이드 요청이 포함된 경우, 다음 제어 주기를 업그레이드 모드로 변경하여 업그레이드 데이터를 생성하고, 생성된 업그레이드 데이터를 제어 메시지에 실어 전송하도록 제어할 수 있다. Then, the control unit 110 checks the response information included in the returned control message. If the software upgrade request is included, the control unit 110 changes the next control cycle to the upgrade mode to generate upgrade data, To be transmitted.

데이터 송수신부(120)는 제어부(110)에서 생성된 제1 데이터 프레임 또는 제2 데이터를 전달받고, 전달된 데이터 프레임을 제어 메시지에 실어서 연결된 제1 슬레이브 노드(200)로 전송할 수 있다. 또한, 데이터 송수신부(120)는 온 더 플라이 방식으로 링 구조의 경로 상에 위치한 나머지 복수의 슬레이브 노드(200)로 순차적으로 전송된 후 되돌아 온 제어 메시지를 수신하여 수신된 제어 메시지를 제어부(110)로 전달할 수 있다. The data transmitting and receiving unit 120 receives the first data frame or the second data generated by the controller 110 and transmits the received data frame to the first slave node 200 connected in the control message. In addition, the data transmitting and receiving unit 120 sequentially transmits the control messages to the remaining slave nodes 200 located on the path of the ring structure in an on-fly manner, and then receives the control messages that have been returned and transmits the received control messages to the control unit 110 ). ≪ / RTI >

저장부(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 the 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 control system according to embodiments 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 data transmission / reception unit 210, a data processing unit 220, and an operation performing unit 230.

데이터 송수신부(210)는 링 구조의 경로 상에서 순차적으로 전송된 제어 메시지를 수신하고, 수신된 제어 메시지에 포함된 데이터 프레임을 데이터 처리부(220)로 전달할 수 있다. 또한, 데이터 송수신부(210)는 데이터 프레임에 포함된 제어 정보 및 업그레이드 정보에 따라 동작을 수행 후 동작 결과, 현재 상태 또는 요청된 정보 등에 대한 응답 정보가 추가된 데이터 프레임을 데이터 처리부(220)로부터 전달받아 이를 제어 메시지에 실어 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송할 수 있다. The data transmission / reception unit 210 may receive the control message sequentially transmitted on the ring structure path, and may transmit the data frame included in the received control message to the data processing unit 220. In addition, the data transmitting and receiving unit 210 performs an operation according to the control information and the upgrade information included in the data frame, and transmits the data frame to which the response information about the operation result, the current state, And transmits the control message to the slave node 200 or the master node 100 in the control message.

데이터 처리부(220)는 데이터 송수신부(210)로부터 수신된 데이터 프레임에 포함된 제어 데이터를 분석하여 자신의 제어 정보만을 추출하여 동작 수행부(230)로 추출한 제어 정보를 전달할 수 있다. 또한, 데이터 처리부(220)는 전달된 데이터 프레임에 업그레이드 데이터가 포함된 경우, 업그레이드 데이터를 분석하여 자신의 소프트웨어 업그레이드 정보를 취득 후, 취득한 소프트웨어 업그레이드 정보를 동작 수행부(230)로 전달할 수 있다. The data processing unit 220 may analyze the control data included in the data frame received from the data transmission / reception unit 210, extract only its control information, and may transmit control information extracted by the operation performing unit 230. If the data frame includes upgrade data, the data processing unit 220 may analyze the upgrade data to acquire the software upgrade information, and then transmit the acquired software upgrade information to the operation performing unit 230. [

또한, 데이터 처리부(220)는 제어 정보 또는 소프트웨어 업그레이드 정보에 따른 동작 수행에 대한 결과 정보, 응답 정보 또는 현재 상태에 대한 상태 정보 등의 새로운 데이터를 추가하여 데이터 프레임을 구성하고, 구성된 데이터 프레임을 데이터 송수신부(210)로 전달할 수 있다. In addition, the data processing unit 220 constructs a data frame by adding new data such as result information, response information, or status information on the current status of the operation according to control information or software upgrade information, To the transmitting / receiving unit 210.

동작 수행부(230)는 슬레이브 노드(200)의 전반적인 동작을 제어하고, 슬레이브 노드(200)의 상태를 파악하여 관리할 수 있다. 그리고 동작 수행부(230)는 데이터 처리부(220)로부터 전달된 제어 정보에 대응하는 동작을 수행하거나, 소프트웨어 업그레이드 정보에 대응하는 자신의 소프트웨어를 업그레이드 할 수 있다. 또한, 동작 수행부(230)는 동작 수행에 따른 결과 및 요청에 따른 응답 정보 및 현재 상태에 대한 정보를 파악하여 파악된 하나 이상의 정보를 데이터 처리부(220)로 전송할 수 있다. The operation performing unit 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 unit 230 may perform an operation corresponding to the control information transmitted from the data processing unit 220 or may upgrade its software corresponding to the software upgrade information. In addition, the operation performing unit 230 can receive one or more pieces of information, which are obtained by grasping the result of the operation, the response information according to the request, and information on the current state, to the data processing unit 220.

그러면 본 발명의 실시예들에 따른 복수 노드의 소프트웨어를 업그레이드하기 위한 방법에 대해 구체적으로 설명하기로 한다. 우선, 본 발명의 실시예들에 따라 마스터 노드에서 복수 노드의 소프트웨어를 업그레이드하기 위한 방법을 첨부된 도면을 참조하여 구체적으로 설명하기로 한다. Hereinafter, a method for upgrading software of a plurality of nodes according to embodiments of the present invention will be described in detail. First, a method for upgrading software of a plurality of nodes in a master node according to embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 6은 본 발명의 실시예들에 따라 마스터 노드에서 복수 노드의 소프트웨어를 업그레이드하기 위한 방법을 도시한 도면이다.6 is a diagram illustrating a method for upgrading software of multiple nodes at a master node in accordance with embodiments of the present invention.

도 6을 참조하면, 1101단계에서 마스터 노드(100)는 업그레이드 이벤트가 발생하였는지를 확인하여, 업그레이드 이벤트가 발생하지 않은 경우, 1102단계에서 마스터 노드(100)는 일반 모드인 제1 모드로 변경한다. 그런 다음 1103단계에서 마스터 노드(100)는 링 구조의 경로 상에 위치한 복수의 슬레이브 노드(200)를 제어하기 위한 제어 정보를 포함한 제어 데이터를 생성하고, 생성된 제어 데이터를 포함한 제1 데이터 프레임을 구성한다. 이후, 마스터 노드(100)는 1106단계로 진행하여, 제1 데이터 프레임을 실은 제어 메시지를 연결된 제1 슬레이브 노드(200a)로 전송한다. 이에 따라 전송한 제어 메시지는 순차적으로 경로 상의 나머지 슬레이브 노드(200)로 전송되어 다시 마스터 노드(100)로 되돌아온다. Referring to FIG. 6, in step 1101, the master node 100 determines whether an upgrade event has occurred. If no upgrade event has occurred, the master node 100 changes its mode to the first mode, which is a normal mode, in step 1102. In step 1103, the master node 100 generates control data including control information for controlling a plurality of slave nodes 200 located on the path of the ring structure, and generates a first data frame including the generated control data . Then, the master node 100 proceeds to step 1106 and transmits a control message including the first data frame to the connected first slave node 200a. Accordingly, the transmitted control message is sequentially transmitted to the remaining slave node 200 on the path and returned to the master node 100 again.

반면, 확인결과, 업그레이드 이벤트가 발생한 경우, 1104단계에서 마스터 노드(100)는 업그레이드 모드인 제2 모드로 변경한 후, 1105단계에서 업그레이드 이벤트 시 발생한 업그레이드 정보를 포함한 업그레이드 데이터를 생성하고, 생성된 업그레이드 데이터를 포함한 제2 데이터 프레임을 구성한다. On the other hand, if the upgrade event occurs as a result of checking, the master node 100 changes to the second mode, which is the upgrade mode, in step 1104, and then generates upgrade data including upgrade information generated in the upgrade event in step 1105, And constitutes a second data frame including upgrade data.

그런 다음 1106단계에서 마스터 노드(100)는 제2 데이터 프레임을 실은 제어 메시지를 연결된 제1 슬레이브 노드(200a)로 전송한다. 이에 따라 전송한 업그레이드 정보를 포함한 제어 메시지는 순차적으로 경로 상의 나머지 슬레이브 노드(200)로 전송되어 다시 마스터 노드(100)로 되돌아온다.In step 1106, the master node 100 transmits a control message including the second data frame to the first slave node 200a. Accordingly, the control message including the transmitted upgrade information is sequentially transmitted to the remaining slave node 200 on the path and returned to the master node 100 again.

이후, 1107단계에서 마스터 노드(100)는 복수의 슬레이브 노드(200)를 순차적으로 전송되어 되돌아온 제어 메시지를 수신하여, 수신된 제어 메시지에 포함된 새로운 데이터 내의 정보들을 확인한다. 여기서, 수신된 제어 메시지 내에 포함된 응답 정보에 버전 정보 등의 업그레이드를 위한 정보가 포함된 경우, 본 발명의 제2 및 제3 실시예에 따라 마스터 노드(100)는 업그레이드 이벤트를 발생할 수 있으며, 1101단계 이후 단계들을 수행할 수 있다. 본 발명의 제1 실시예에서는 외부 장치로부터 업그레이드 정보가 수신되는 경우, 업그레이드 이벤트가 발생할 수 있다. Thereafter, in step 1107, the master node 100 receives the control messages sequentially transmitted through the plurality of slave nodes 200, and confirms the information in the new data included in the received control message. Here, if the response information included in the received control message includes information for upgrade such as version information, the master node 100 may generate an upgrade event according to the second and third embodiments of the present invention, Steps after step 1101 may be performed. In the first embodiment of the present invention, when upgrade information is received from an external device, an upgrade event may occur.

다음으로, 본 발명의 제1 실시예에 따라 복수의 슬레이브 노드에서 소프트웨어를 업그레이드하기 위한 방법을 첨부된 도면을 참조하여 구체적으로 설명하기로 한다. Next, a method for upgrading software in a plurality of slave nodes according to a first embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 7은 본 발명의 제1 실시예에 따라 슬레이브 노드에서 소프트웨어를 업그레이드하기 위한 방법을 도시한 도면이다. 7 is a diagram illustrating a method for upgrading software at a slave node according to a first embodiment of the present invention.

도 7을 참조하면, 1201단계에서 복수의 슬레이브 노드(200) 각각은 이전 슬레이브 노드(200) 또는 마스터 노드(100)로부터 제어 메시지를 수신할 수 있다. Referring to FIG. 7, in step 1201, each of the plurality of slave nodes 200 may receive a control message from the previous slave node 200 or the master node 100.

이후, 1202단계에서 슬레이브 노드(200)는 수신된 제어 메시지에 포함된 업그레이드 데이터가 존재하는지를 확인한다. Thereafter, in step 1202, the slave node 200 checks whether there is upgrade data included in the received control message.

확인 결과, 업그레이드 데이터가 존재하지 않으면, 1205단계로 진행하여 제어 정보에 대응하는 동작을 수행한다. As a result of checking, if there is no upgrade data, the flow advances to step 1205 and an operation corresponding to the control information is performed.

반면, 업그레이드 데이터가 존재하면, 1203단계에서 슬레이브 노드(200)는 업그레이드 데이터에서 자신의 업그레이드 정보를 추출한 후, 추출한 업그레이드 정보에 대응하여 소프트웨어 업그레이드를 수행한다. On the other hand, if there is upgrade data, the slave node 200 extracts its upgrade information from the upgrade data in step 1203, and performs software upgrade according to the extracted upgrade information.

그런 다음 1204단계에서 슬레이브 노드(200)는 제어 메시지에 포함된 제어 데이터에 자신의 제어 정보가 존재하는지를 확인한다. 확인 결과, 자신의 제어 정보가 존재하지 않은 경우, 1207단계로 진행하여, 슬레이브 노드(200)는 제어 메시지를 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송한다. Then, in step 1204, the slave node 200 confirms whether its control information exists in the control data included in the control message. If the control information does not exist, the slave node 200 transmits a control message to the next slave node 200 or the master node 100 in step 1207.

반면, 확인 결과, 자신의 제어 정보가 존재하면, 1205단계에서 슬레이브 노드(200)는 자신의 제어 정보를 추출한 후 추출된 제어 정보에 대응하여 동작을 수행한다. On the other hand, if it is determined that the control information exists, the slave node 200 extracts the control information of the slave node 200 in step 1205 and performs the operation in accordance with the extracted control information.

그런 다음 1206단계에서 슬레이브 노드(200)는 업그레이드 결과, 요청에 따른 응답, 제어 정보에 따른 동작 결과 및 현재 상태에 대한 정보 중 하나 이상의 정보를 포함한 새로운 데이터 즉, 응답 데이터를 생성하고, 생성된 응답 데이터를 업그레이드 데이터 또는 제어 데이터에서 추출한 자신의 데이트그램에 또는 별도의 필드에 추가한다. 이후, 1207단계에서 슬레이브 노드(200)는 경로 상의 다음 노드 즉, 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 자신의 응답 데이터를 포함한 제어 메시지를 전송한다. Then, in step 1206, the slave node 200 generates new data, i.e., response data including at least one of the upgrade result, the response according to the request, the operation result according to the control information, and the current state information, Add the data to its own datagram extracted from the upgrade data or control data or to a separate field. Then, in step 1207, the slave node 200 transmits a control message including its response data to the next node on the path, that is, the next slave node 200 or the master node 100.

다음으로, 본 발명의 제2 실시예에 따라 복수의 슬레이브 노드에서 소프트웨어를 업그레이드하기 위한 방법을 첨부된 도면을 참조하여 구체적으로 설명하기로 한다. Next, a method for upgrading software in a plurality of slave nodes according to a second embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 8은 본 발명의 제2 실시예에 따라 슬레이브 노드에서 소프트웨어를 업그레이드하기 위한 방법을 도시한 도면이다. 8 is a diagram illustrating a method for upgrading software at a slave node according to a second embodiment of the present invention.

도 8을 참조하면, 1301단계에서 본 발명의 제2 실시예에 따른 슬레이브 노드(200)는 이전 슬레이브 노드(200) 또는 마스터 노드(100)로부터 제어 메시지를 수신할 수 있다. Referring to FIG. 8, in step 1301, the slave node 200 according to the second embodiment of the present invention can receive a control message from the previous slave node 200 or the master node 100.

1302단계에서 슬레이브 노드(200)는 제어 메시지에 포함된 제어 데이터를 확인하여 제어 데이터에 버전 정보를 요청하는 정보가 존재하는지를 확인한다. 확인 결과, 버전 정보의 요청이 있지 않으면, 1304단계로 진행하여 제어 정보에 대응하여 동작을 수행한다. In step 1302, the slave node 200 checks the control data included in the control message to check whether there is information for requesting version information in the control data. If it is determined that there is no request for version information, the flow advances to step 1304 to perform an operation corresponding to the control information.

반면, 버전 정보의 요청이 있는 경우, 1303단계에서 슬레이브 노드(200)는 자신의 소프트웨어에 대한 버전 정보를 확인하고, 확인된 버전 정보를 제어 데이터에 응답 데이터로 추가한다. On the other hand, if there is a request for version information, the slave node 200 checks version information of its software in step 1303, and adds the verified version information to the control data as response data.

그런 다음 1304단계에서 슬레이브 노드(200)는 제어 데이터에서 자신의 제어 정보 취득 후 자신의 제어 정보에 대응하여 동작을 수행한 후, 1305단계에서 슬레이브 노드(200)는 제어 정보에 따른 동작 결과 및 현재 상태에 대한 정보 등을 포함한 새로운 데이터를 제어 데이터에 포함한다. 이후, 1306단계에서 슬레이브 노드(200)는 경로 상의 다음 노드 즉, 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 자신의 응답 데이터를 포함한 제어 메시지를 전송한다. In step 1304, the slave node 200 performs an operation corresponding to its own control information after obtaining its control information from the control data. In step 1305, the slave node 200 transmits an operation result according to the control information, And new data including information on the state are included in the control data. Then, in step 1306, the slave node 200 transmits a control message including its response data to the next node on the path, that is, the next slave node 200 or the master node 100.

마지막으로, 본 발명의 제3 실시예에 따라 복수의 슬레이브 노드에서 소프트웨어를 업그레이드하기 위한 방법을 첨부된 도면을 참조하여 구체적으로 설명하기로 한다. Finally, a method for upgrading software in a plurality of slave nodes according to a third embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 9는 본 발명의 제3 실시예에 따라 슬레이브 노드에서 소프트웨어 업그레이드하기 위한 방법을 도시한 도면이다. 9 is a diagram illustrating a method for upgrading software in a slave node according to a third embodiment of the present invention.

도 9를 참조하면, 1401단계에서 본 발명의 제3 실시예에 따른 슬레이브 노드(200)는 이전 슬레이브 노드(200) 또는 마스터 노드(100)로부터 제어 메시지를 수신할 수 있다. Referring to FIG. 9, in step 1401, the slave node 200 according to the third embodiment of the present invention can receive a control message from the previous slave node 200 or the master node 100.

1402단계에서 슬레이브 노드(200)는 제어 메시지에 포함된 제어 데이터를 확인하여 제어 데이터에 소프트웨어에 대한 버전 정보가 존재하는지를 확인한다. 확인 결과, 버전 정보가 존재하지 않는 경우, 1406단계로 진행하여 제어 정보에 대응하여 동작을 수행한다. In step 1402, the slave node 200 checks the control data included in the control message to check whether the version information of the software exists in the control data. If the version information does not exist as a result of checking, the process proceeds to step 1406 and performs an operation corresponding to the control information.

반면, 버전 정보가 존재하는 경우, 1403단계에서 슬레이브 노드(200)는 수신된 버전 정보와 자신의 소프트웨어에 대한 버전 정보를 확인하고, 1404단계에서 슬레이브 노드(200)는 두 버전 정보가 일치하여 업그레이드가 필요한지를 확인한다. 확인결과, 업그레이드가 필요하지 않은 경우, 1406단계를 수행한다. On the other hand, if there is version information, the slave node 200 checks the received version information and version information of its software in step 1403, and in step 1404, the slave node 200 Is required. As a result of checking, if the upgrade is not required, perform step 1406.

반면, 업그레이드가 필요한 경우, 1405단계에서 슬레이브 노드(200)는 자신의 소프트웨어가 업그레이드가 필요함을 알리는 응답 정보를 제어 데이터에 추가한다.On the other hand, if upgrade is required, the slave node 200 adds response information to its control data indicating that its software needs to be upgraded in step 1405.

그런 다음 1406단계에서 슬레이브 노드(200)는 제어 데이터에 자신의 제어 정보를 추출한 후, 추출된 제어 정보에 대응하여 동작을 수행한다. In step 1406, the slave node 200 extracts its control information from the control data, and then performs an operation corresponding to the extracted control information.

이후, 1407단계에서 슬레이브 노드(200)는 동작에 대한 결과 정보 및 현재 상태 정보 등의 새로운 데이터를 응답 데이터로 제어 메시지에 추가한 후, 제어 메시지를 연결된 다음 슬레이브 노드(200) 또는 마스터 노드(100)로 전송한다. In step 1407, the slave node 200 adds new data such as the result information on the operation and the current status information to the control message as the response data, and then transmits the control message to the slave node 200 or the master node 100 ).

한편, 본 명세서와 도면에 개시된 본 발명의 실시 예들은 이해를 돕기 위해 특정 예를 제시한 것에 지나지 않으며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명한 것이다.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.

본 발명은 복수 노드의 소프트웨어 업그레이드를 위한 방법, 이를 위한 장치 및 시스템에 관한 것으로, 복수의 전송 모드를 구성하여, 마스터 노드에 연결된 복수의 슬레이브 노드를 일반 모드 및 업그레이드 모드로 나누어 동작의 연속성을 유지하면서 업그레이드를 수행할 수 있으며, 모드에 따라 데이터 프레임을 가변적으로 생성함으로써, 평상 시에 제어 데이터의 사이즈를 줄일 수 있는 효과가 있다. The present invention relates to a method for upgrading software of a plurality of nodes, an apparatus and a system therefor, and a plurality of transfer modes are configured to divide a plurality of slave nodes connected to a master node into a normal mode and an upgrade mode, And the data frame is variably generated according to the mode, thereby reducing the size of the control data in normal operation.

또한, 본 발명은 온 더 플라이 방식을 적용하여 제어 정보를 대량 노드에 전송함으로써, 각 노드에 제어 데이터를 전달 시 기존의 polling, time slicing 방식을 사용하지 않고 전송할 수 있으므로 제어 주기가 감소될 수 있어, 보다 빠른 속도로 슬레이브 노드들을 제어할 수 있는 효과가 있다. Further, since the control information is transmitted to the mass node by applying the on-the-fly method, the control period can be reduced because the control data can be transmitted to each node without using the existing polling and time slicing method , It is possible to control the slave nodes at a higher speed.

아울러, 본 발명은 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용가능성이 있다.In addition, the present invention has a possibility of commercial use or business, and is industrially applicable because it is practically possible to carry out clearly.

100: 마스터 노드 110: 제어부
111: 제1 모드 제어 모듈 112: 제2 모드 제어 모듈
113: 데이터 프레임 생성 모듈 120: 데이터 송수신부
130: 저장부 200: 슬레이브 노드
210: 데이터 송수신부 220: 데이터 처리부
230: 동작 수행부
100: Master node 110:
111: first mode control module 112: second mode control module
113: Data frame generation module 120: Data transmission /
130: storage unit 200: slave node
210: data transmission / reception unit 220:
230: Operation performing unit

Claims (16)

복수의 모드를 설정하여, 제1 모드에서 제어 정보를 포함한 제어 데이터를 생성하고, 생성된 제어 데이터를 포함한 제어 메시지를 전송하고, 소프트웨어 업그레이드 이벤트가 발생하면, 제2 모드로 전환하여 업그레이드 정보를 포함한 업그레이드 데이터를 생성하고, 상기 제어 메시지에 생성된 업그레이드 데이터를 추가하여 전송하는 마스터 노드; 및
상기 업그레이드 데이터를 포함하는 상기 제어 메시지를 수신하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 복수의 슬레이브 노드;
를 포함하며,
상기 제어 메시지는,
링 구조의 경로 상에 위치한 상기 복수의 슬레이브 노드를 순차적으로 거쳐 상기 마스터 노드로 다시 되돌아 가는 것을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 시스템.
A plurality of modes are set to generate control data including control information in the first mode, a control message including the generated control data is transmitted, and when a software upgrade event occurs, the mode is switched to the second mode, A master node for generating upgrade data and additionally transmitting the upgrade data generated in the control message; And
A plurality of slave nodes upgrading the software in response to upgrade information of the upgraded data when the control message including the upgrade data is received;
/ RTI >
The control message includes:
Wherein the plurality of slave nodes located on the path of the ring structure sequentially go back to the master node.
제1 모드에서 링 구조의 경로 상의 복수의 슬레이브 노드를 제어할 제어 정보를 포함한 제어 데이터를 생성하고, 소프트웨어 업그레이드 이벤트가 발생하면, 제2 모드로 전환하여 상기 복수의 슬레이브 노드의 소프트웨어를 업그레이드하기 위한 업그레이드 정보를 생성하는 제어부; 및
상기 제1 모드에서는 제어 데이터를 포함한 제어 메시지를 상기 복수의 슬레이브 노드로 순차적으로 전송하고, 상기 제2 모드에서는 업그레이드 데이터를 포함한 제어 메시지를 연결된 슬레이브 노드로 전송하는 데이터 송수신부;
를 포함하며,
상기 제어 메시지는,
상기 연결된 슬레이브 노드를 거쳐 경로 상에 위치한 나머지 복수의 슬레이브 노드로 순차적으로 전송되어, 다시 되돌아 오는 것을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
A control module for generating control data including control information for controlling a plurality of slave nodes on a path of a ring structure in a first mode and for switching to a second mode and upgrading software of the plurality of slave nodes when a software upgrade event occurs A control unit for generating upgrade information; And
A data transmission / reception unit for sequentially transmitting a control message including control data to the plurality of slave nodes in the first mode and transmitting a control message including upgrade data to the connected slave node in the second mode;
/ RTI >
The control message includes:
Wherein the plurality of slave nodes are sequentially transmitted to the plurality of slave nodes located on the path via the connected slave node, and are then returned.
제2항에 있어서, 상기 제어부는,
상기 제어 데이터를 포함한 상기 제어 메시지가 되돌아오면, 상기 제어 메시지에 포함된 버전 정보 또는 업그레이드 응답 정보를 확인하여 소프트웨어 업그레이드가 필요한 슬레이브 노드를 확인함을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
3. The apparatus of claim 2,
Wherein when the control message including the control data is returned, the control unit checks the version information or the upgrade response information included in the control message to identify a slave node that requires a software upgrade.
제3항에 있어서, 상기 제어부는,
제1 모드에서, 상기 제어 정보와 함께 소프트웨어 버전 정보 또는 소프트웨어 버전 정보를 요청하는 정보를 추가하여 상기 제어 데이터를 생성함을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
The apparatus of claim 3,
Wherein the control information is generated by adding information for requesting software version information or software version information together with the control information in the first mode.
제2항에 있어서, 상기 제어부는,
상기 제1 모드 및 제2 모드에서 각각 서로 다른 데이터 사이즈 및 포맷으로 제1 데이터 프레임 및 제2 데이터 프레임을 구성함을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
3. The apparatus of claim 2,
Wherein the first data frame and the second data frame are configured in different data sizes and formats in the first mode and the second mode, respectively.
제5항에 있어서, 상기 제2 데이터 프레임은,
상기 제2 모드인 경우, 제어 데이터, 헤더 및 오류 체크 영역으로 형성된 제1 데이터 프레임의 데이터 포맷에 업그레이드 데이터 영역을 추가하여 구성되고, 제어 메시지에 실려 전송됨을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
6. The method of claim 5,
Wherein the second mode is configured by adding an upgrade data area to a data format of a first data frame formed of control data, a header and an error check area, and is transmitted in a control message. Device.
마스터 노드에서 생성된 제어 메시지를 수신하고, 응답 데이터를 추가한 상기 제어 메시지를 링 구조의 경로 상의 다음 슬레이브 노드 또는 상기 마스터 노드로 전송하는 데이터 송수신부;
업그레이드 데이터를 포함하는 상기 메시지를 수신하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보를 추출하는 데이터 처리부; 및
상기 데이터 처리부에서 추출된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 동작 수행부;를 포함하며,
상기 제어 메시지는,
상기 링 구조의 경로 상에 위치한 복수의 슬레이브 노드로 순차적으로 전송되어, 상기 마스터 노드로 되돌아 가고,
상기 데이터 처리부는,
상기 수신된 제어 메시지에 업그레이드 데이터가 포함되어 있지 않으면, 상기 제어 메시지 내의 제어 데이터에서 자신의 제어 정보를 추출하고, 추출된 제어 정보에 대응하여 동작을 수행하도록 상기 추출된 제어 정보를 상기 동작 수행부로 전달함을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
A data transmitting and receiving unit receiving the control message generated by the master node and transmitting the control message to which the response data is added, to the next slave node on the path of the ring structure or the master node;
A data processing unit for receiving the upgrade information and extracting its upgrade information included in the upgrade data; And
And an operation performing unit for upgrading the software corresponding to the upgrade information extracted by the data processing unit,
The control message includes:
Sequentially transmitted to a plurality of slave nodes located on the path of the ring structure, returning to the master node,
Wherein the data processing unit comprises:
Extracting control information from the control data in the control message if upgrade data is not included in the received control message and outputting the extracted control information to the operation performing unit to perform operation corresponding to the extracted control information, Wherein the plurality of nodes communicate with the plurality of nodes.
삭제delete 마스터 노드에서 생성된 제어 메시지를 수신하고, 응답 데이터를 추가한 상기 제어 메시지를 링 구조의 경로 상의 다음 슬레이브 노드 또는 상기 마스터 노드로 전송하는 데이터 송수신부;
업그레이드 데이터를 포함하는 상기 메시지를 수신하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보를 추출하는 데이터 처리부; 및
상기 데이터 처리부에서 추출된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 동작 수행부;를 포함하며,
상기 제어 메시지는,
상기 링 구조의 경로 상에 위치한 복수의 슬레이브 노드로 순차적으로 전송되어, 상기 마스터 노드로 되돌아 가고,
상기 데이터 처리부는,
상기 수신된 제어 메시지 내의 제어 데이터에 버전 정보가 포함된 경우, 상기 버전 정보와 자신의 소프트웨어 버전 정보를 비교하여 업그레이드가 필요한지를 확인하고, 업그레이드가 필요함을 알리는 정보를 상기 응답 데이터에 추가함을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
A data transmitting and receiving unit receiving the control message generated by the master node and transmitting the control message to which the response data is added, to the next slave node on the path of the ring structure or the master node;
A data processing unit for receiving the upgrade information and extracting its upgrade information included in the upgrade data; And
And an operation performing unit for upgrading the software corresponding to the upgrade information extracted by the data processing unit,
The control message includes:
Sequentially transmitted to a plurality of slave nodes located on the path of the ring structure, returning to the master node,
Wherein the data processing unit comprises:
When the version information is included in the control data in the received control message, it is checked whether the upgrade is necessary by comparing the version information with its own software version information, and information indicating that upgrade is required is added to the response data For a software upgrade of multiple nodes.
마스터 노드에서 생성된 제어 메시지를 수신하고, 응답 데이터를 추가한 상기 제어 메시지를 링 구조의 경로 상의 다음 슬레이브 노드 또는 상기 마스터 노드로 전송하는 데이터 송수신부;
업그레이드 데이터를 포함하는 상기 메시지를 수신하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보를 추출하는 데이터 처리부; 및
상기 데이터 처리부에서 추출된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 동작 수행부;를 포함하며,
상기 제어 메시지는,
상기 링 구조의 경로 상에 위치한 복수의 슬레이브 노드로 순차적으로 전송되어, 상기 마스터 노드로 되돌아 가고,
상기 데이터 처리부는,
상기 수신된 제어 메시지 내의 제어 데이터에 소프트웨어 버전 정보를 요청하는 정보가 포함된 경우, 자신의 소프트웨어 버전 정보를 상기 응답 데이터에 추가함을 특징으로 하는 복수 노드의 소프트웨어 업그레이드를 위한 장치.
A data transmitting and receiving unit receiving the control message generated by the master node and transmitting the control message to which the response data is added, to the next slave node on the path of the ring structure or the master node;
A data processing unit for receiving the upgrade information and extracting its upgrade information included in the upgrade data; And
And an operation performing unit for upgrading the software corresponding to the upgrade information extracted by the data processing unit,
The control message includes:
Sequentially transmitted to a plurality of slave nodes located on the path of the ring structure, returning to the master node,
Wherein the data processing unit comprises:
And when the control data in the received control message contains information for requesting software version information, adds the software version information of the received software update information to the response data.
제1 모드인 경우, 링 구조의 경로 상의 복수의 슬레이브 노드를 제어할 제어 정보를 포함한 제어 데이터를 생성하는 단계;
제어 데이터를 포함한 제어 메시지를 연결된 슬레이브 노드로 전송하는 단계;
소프트웨어 업그레이드 이벤트가 발생하면, 제2 모드로 전환하여 상기 복수의 슬레이브 노드의 소프트웨어를 업그레이드하기 위한 업그레이드 데이터를 생성하는 단계; 및
상기 제어 메시지에 생성된 업그레이드 데이터를 추가하여 연결된 슬레이브 노드로 전송하는 단계;
를 포함하며,
상기 제어 메시지는,
상기 연결된 슬레이브 노드를 거쳐 경로 상에 위치한 나머지 복수의 슬레이브 노드로 순차적으로 전송되어, 다시 되돌아 오는 것을 특징으로 하는 마스터 노드에서 복수 노드의 소프트웨어 업그레이드를 위한 방법.
Generating control data including control information for controlling a plurality of slave nodes on the route of the ring structure in the first mode;
Transmitting a control message including control data to a connected slave node;
Generating upgrade data for upgrading software of the plurality of slave nodes by switching to a second mode when a software upgrade event occurs; And
Adding the upgrade data generated in the control message to the connected slave node;
/ RTI >
The control message includes:
Wherein the plurality of slave nodes are sequentially transmitted to the plurality of slave nodes located on the path via the connected slave node and are then returned.
제11항에 있어서,
상기 제어 데이터를 포함한 상기 제어 메시지가 되돌아오면, 상기 제어 메시지에 포함된 버전 정보 또는 업그레이드 응답 정보를 확인하여 소프트웨어 업그레이드가 필요한 슬레이브 노드를 확인하는 단계;
를 더 포함하는 것을 특징으로 하는 마스터 노드에서 복수 노드의 소프트웨어 업그레이드를 위한 방법.
12. The method of claim 11,
Checking the version information or the upgrade response information included in the control message when the control message including the control data is returned, and confirming a slave node requiring a software upgrade;
Further comprising the steps of: receiving a request for upgrading software from multiple nodes in the master node.
마스터 노드에서 생성된 제어 메시지를 수신하는 단계;
수신된 제어 메시지에 업그레이드 데이터가 존재하는 지를 확인하는 단계;
상기 업그레이드 데이터가 존재하면, 상기 업그레이드 데이터에 포함된 자신의 업그레이드 정보를 추출하여, 추출된 자신의 업그레이드 정보에 대응하여 소프트웨어를 업그레이드하는 단계; 및
업그레이드 수행 결과에 대한 응답 데이터를 추가한 상기 제어 메시지를 링 구조의 경로 상의 다음 슬레이브 노드 또는 상기 마스터 노드로 전송하는 단계;
를 포함하며,
상기 제어 메시지는,
상기 링 구조의 경로 상에 위치한 복수의 슬레이브 노드로 순차적으로 전송되어, 상기 마스터 노드로 되돌아 가는 것을 특징으로 하는 슬레이브 노드에서의 복수 노드의 소프트웨어 업그레이드를 위한 방법.
Receiving a control message generated at a master node;
Confirming whether upgrade data exists in the received control message;
Extracting upgrade information included in the upgrade data if the upgrade data exists, and upgrading software corresponding to the extracted upgrade information; And
Transmitting the control message to which the response data to the upgrade result is added to the next slave node or the master node on the path of the ring structure;
/ RTI >
The control message includes:
Wherein the plurality of slave nodes are sequentially transferred to a plurality of slave nodes located on a path of the ring structure, and are returned to the master node.
제13항에 있어서,
상기 업그레이드 데이터가 존재하지 않으면, 상기 제어 메시지 내의 제어 데이터에서 자신의 제어 정보를 추출하는 단계;
추출된 제어 정보에 대응하여 동작을 수행하는 단계; 및
제어 동작에 대한 결과에 대한 응답 데이터를 추가한 상기 제어 메시지를 링 구조의 경로 상의 다음 슬레이브 노드 또는 상기 마스터 노드로 전송하는 단계;
를 더 포함하는 것을 특징으로 하는 슬레이브 노드에서의 복수 노드의 소프트웨어 업그레이드를 위한 방법.
14. The method of claim 13,
Extracting control information from the control data in the control message if the upgrade data does not exist;
Performing an operation corresponding to the extracted control information; And
Transmitting the control message to which the response data on the result of the control operation is added to the next slave node or the master node on the path of the ring structure;
Further comprising the steps of: receiving a plurality of nodes in the slave node;
제14항에 있어서,
상기 제어 데이터에 버전 정보가 포함된 경우, 상기 버전 정보와 자신의 소프트웨어 버전 정보를 비교하여 업그레이드가 필요한지를 확인하는 단계; 및
업그레이드가 필요한 경우, 자신의 소프트웨어의 업그레이드를 요청하는 정보를 상기 응답 데이터에 추가하는 단계;
를 더 포함하는 것을 특징으로 하는 슬레이브 노드에서의 복수 노드의 소프트웨어 업그레이드를 위한 방법.
15. The method of claim 14,
Comparing the version information with its own software version information when the control information includes version information, and checking whether upgrade is required; And
Adding, to the response data, information requesting an upgrade of the software of the client, when an upgrade is required;
Further comprising the steps of: receiving a plurality of nodes in the slave node;
제14항에 있어서,
상기 제어 데이터에 소프트웨어 버전 정보를 요청하는 정보가 포함된 경우, 자신의 소프트웨어 버전 정보를 상기 응답 데이터에 추가하는 단계;
를 더 포함하는 것을 특징으로 하는 슬레이브 노드에서의 복수 노드의 소프트웨어 업그레이드를 위한 방법.
15. The method of claim 14,
Adding the software version information of the control data to the response data when the control data includes information requesting software version information;
Further comprising the steps of: receiving a plurality of nodes in the slave node;
KR1020140120998A 2014-09-12 2014-09-12 Method, apparatus and system for upgrading software of nodes KR101576050B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140120998A KR101576050B1 (en) 2014-09-12 2014-09-12 Method, apparatus and system for upgrading software of nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140120998A KR101576050B1 (en) 2014-09-12 2014-09-12 Method, apparatus and system for upgrading software of nodes

Publications (1)

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

Family

ID=55020694

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140120998A KR101576050B1 (en) 2014-09-12 2014-09-12 Method, apparatus and system for upgrading software of nodes

Country Status (1)

Country Link
KR (1) KR101576050B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190069722A (en) * 2017-12-12 2019-06-20 루이테크놀로지 주식회사 Ring network communication method for real time fault processing and restore connection between smart devices and system of the same
CN111459517A (en) * 2020-03-30 2020-07-28 中国电子科技集团公司第五十四研究所 Master-slave equipment online program upgrading method under optical fiber ring network architecture
WO2023132591A1 (en) * 2022-01-04 2023-07-13 엘지전자 주식회사 Functionally upgradable electronic device and method for upgrading function of same
US11736318B2 (en) 2017-05-24 2023-08-22 Wago Verwaltungsgesellschaft Mbh Initialization of data bus subscribers

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101179431B1 (en) 2011-06-17 2012-09-05 전자부품연구원 Network Management System based on a EhterCAT And Managing Method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101179431B1 (en) 2011-06-17 2012-09-05 전자부품연구원 Network Management System based on a EhterCAT And Managing Method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11736318B2 (en) 2017-05-24 2023-08-22 Wago Verwaltungsgesellschaft Mbh Initialization of data bus subscribers
KR20190069722A (en) * 2017-12-12 2019-06-20 루이테크놀로지 주식회사 Ring network communication method for real time fault processing and restore connection between smart devices and system of the same
KR101992228B1 (en) * 2017-12-12 2019-09-30 루이테크놀로지 주식회사 Ring network communication method for real time fault processing and restore connection between smart devices and system of the same
CN111459517A (en) * 2020-03-30 2020-07-28 中国电子科技集团公司第五十四研究所 Master-slave equipment online program upgrading method under optical fiber ring network architecture
WO2023132591A1 (en) * 2022-01-04 2023-07-13 엘지전자 주식회사 Functionally upgradable electronic device and method for upgrading function of same

Similar Documents

Publication Publication Date Title
EP3016306B1 (en) Method and apparatus for providing in-vehicle network time synchronization using redundant grandmaster
KR101576050B1 (en) Method, apparatus and system for upgrading software of nodes
KR101565345B1 (en) Method and apparatus for providing black-box for vehicle diagnosis using in-vehicle time synchronization message
US9270481B2 (en) Communication system and method for isochronous data transmission in real time
WO2020078203A1 (en) Data transmission method, apparatus and device
US11929827B2 (en) Apparatus and method for transmitting synchronization information in communication system
US11394480B2 (en) Systems and methods for synchronizing device clocks
JP7330395B2 (en) Methods, programs, media, and devices for interconnecting primary network domains with secondary network domains through gateway devices
CN106330628B (en) Interface rate control method and device based on Ethernet
KR101615252B1 (en) Method, apparatus and system for transferring data to plurality of nodes
KR101615259B1 (en) Method, apparatus and system for transferring data to plurality of nodes
KR101623076B1 (en) Integrated control Method, apparatus and system for nodes
KR101607273B1 (en) Method, apparatus and system for controlling plurality of sensor nodes
WO2015141014A1 (en) Method of constructing software-defined pci express (pci-e) switch
KR20120051632A (en) Method for clock synchronization in distributed system having ring topology and apparatus for the same
JP2010212938A (en) Ring type network system
EP4383925A1 (en) Communication method and apparatus
KR101556768B1 (en) Integrated control Method, apparatus and system for nodes
KR100433761B1 (en) Ring Topology Network Design Method using Token Ring Medium Access Control Method and Full-Duplex Fast Ethernet Method
KR101576044B1 (en) Method for checking plural node condition using check bits and system thereof
US20160006802A1 (en) Data sharing system
JP6478244B2 (en) Communication interface device
CN112615930B (en) Multi-node data synchronous distribution method, device, equipment and storage medium
EP3082298B1 (en) Slave device and method for controlling the same
JP6554002B2 (en) Communication device, control method therefor, and program

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