KR102139928B1 - Data processing server and method - Google Patents

Data processing server and method Download PDF

Info

Publication number
KR102139928B1
KR102139928B1 KR1020200063129A KR20200063129A KR102139928B1 KR 102139928 B1 KR102139928 B1 KR 102139928B1 KR 1020200063129 A KR1020200063129 A KR 1020200063129A KR 20200063129 A KR20200063129 A KR 20200063129A KR 102139928 B1 KR102139928 B1 KR 102139928B1
Authority
KR
South Korea
Prior art keywords
master
node
data processing
master node
slave
Prior art date
Application number
KR1020200063129A
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 KR1020200063129A priority Critical patent/KR102139928B1/en
Application granted granted Critical
Publication of KR102139928B1 publication Critical patent/KR102139928B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • H04L12/40202Flexible bus arrangements involving redundancy by using a plurality of master stations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer

Abstract

The present invention relates to a data processing server, which is connected to a plurality of endpoint nodes consisting of a master node and a slave node. The data processing server comprises: a communication unit which transmits current state data transmitted from the slave node to the master node and transmits a control command corresponding to a result of operation based on the current state data transmitted from the master node to the slave node; and a determination unit for checking the state of the master node, and generating a master authorization command that imparts or deprives the master authority for sending the control command corresponding to the result of the operation and the operation for the current state data in at least one of the endpoint node.

Description

데이터 처리 서버 및 방법{Data processing server and method}Data processing server and method

본 발명은 데이터 처리 서버 및 방법에 관한 것이다.The present invention relates to a data processing server and method.

최근 정밀한 환경제어를 통해 농산물의 생산량과 품질 등을 개선하기 위한 스마트팜(smart farm)의 도입이 증가하고 있다.Recently, the introduction of smart farms to improve production and quality of agricultural products through precise environmental control is increasing.

스마트팜은 팜 내부의 온도, 습도, 광량, 이산화탄소 농도 등을 제어하고 수경재배 방식을 이용하여 양액의 온도, pH, 전기전도도 또는 양액을 구성하는 개별 양분의 농도 등을 제어하는 기술로 이와 관련된 종래기술로는 한국등록특허 제10-2105359호가 있다.Smart Farm is a technology that controls the temperature, humidity, light quantity, carbon dioxide concentration, etc. inside the farm and controls the temperature, pH, electrical conductivity of the nutrient solution, or the concentration of individual nutrients constituting the nutrient solution using hydroponic cultivation. There is Korean Patent No. 10-2105359.

그러나 종래기술의 경우 스마트팜의 경우 팜 내부에 설치된 재배기를 제어하기 위하여 각 재배기에 설치된 엔드포인트 노드에서 보내오는 정보를 연산 등의 처리를 통해 제어하기 위하여 서버를 운영하고 있는데, 제어해야 하는 엔드포인트 노드가 설치된 재배기가 증가할수록 이를 연상 등의 처리하기 위한 서버의 숫자도 증가하기 때문에 다량의 서버를 수용할 수 있는 서버실을 별도로 구비 해야 하기 때문에 공간활용도가 떨어지는 문제점이 있다.However, in the case of the prior art, in the case of a smart farm, a server is operated to control information sent from an endpoint node installed in each cultivator through processing such as calculation to control a cultivator installed inside the farm. Since the number of servers for processing such as association increases as the number of cultivators installed with nodes increases, there is a problem in that space utilization decreases because a server room capable of accommodating a large number of servers must be provided separately.

또한, 스마트팜 시설이 넓어질수록 서버 성능에 부담이 증가하거나 서버를 계속 추가해야 하기 때문에 비용이 증가하는 문제점이 있다.In addition, as the smart farm facility gets wider, there is a problem in that the cost increases because the server performance increases or the server needs to be continuously added.

또한, 서버가 고장날 경우 스마트팜 시설 전체가 가동이 중단되는 문제점이 있다.In addition, if the server fails, the entire smart farm facility is stopped.

이런 공간활용도와 서버 성능 부담의 문제점을 해결하기 위해 최근에는 클라우드 서버를 이용하는 방법도 있지만, 클라우드 서버와의 통신이 원활하지 않을 경우 스마트팜 시설 내의 제어시스템이 원활하게 작동하지 않는 문제점이 있다.In order to solve the problems of space utilization and server performance burden, there is a method of using a cloud server in recent years, but when communication with the cloud server is not smooth, there is a problem that the control system in the smart farm facility does not operate smoothly.

본 발명이 해결하고자 하는 과제는, 별도의 서버실 구비 하지 않아 공간활용도가 좋은 데이터 처리 서버 및 방법을 제공하는 데 있다.The problem to be solved by the present invention is to provide a data processing server and method having good space utilization without having a separate server room.

본 발명이 해결하고자 하는 다른 과제는, 저비용으로 구현 가능한 데이터 처리 서버 및 방법을 제공하는 데 있다.Another problem to be solved by the present invention is to provide a data processing server and method that can be implemented at low cost.

본 발명이 해결하고자 하는 또 다른 과제는, 서버가 고장나거나 통신이 원활하지 않아도 제어가 가능한 데이터 처리 서버 및 방법을 제공하는 데 있다.Another problem to be solved by the present invention is to provide a data processing server and method that can be controlled even if a server fails or communication is not smooth.

상기와 같은 기술적 과제를 해결하기 위해, 본 발명의 바람직한 일 측면에 따르면, 마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드와 연결된 데이터 처리 서버에 있어서, 상기 슬레이브 노드가 전송한 현재 상태 데이터를 상기 마스터 노드로 전송하고, 상기 마스터 노드가 전송한 상기 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 제어 명령을 상기 슬레이브 노드로 전송하는 통신부; 및 상기 마스터 노드의 상태를 체크하고, 상기 현재 상태 데이터에 대한 연산과 상기 연산한 결과에 상응하는 상기 제어 명령을 전송할 수 있는 마스터 권한을 상기 엔드포인트 노드 중 적어도 어느 하나에 부여 또는 박탈하는 마스터 권한 명령을 생성하는 판단부;를 포함하는 데이터 처리 서버를 제공할 수 있다.In order to solve the above technical problem, according to a preferred aspect of the present invention, in a data processing server connected to a plurality of endpoint nodes composed of a master node and a slave node, the current state data transmitted by the slave node is the A communication unit transmitting to a master node and transmitting a control command corresponding to a result calculated based on the current state data transmitted by the master node to the slave node; And a master authority that checks the status of the master node and grants or deprives at least one of the endpoint nodes the master authority to transmit the control command corresponding to the operation of the current status data and the result of the operation. It may provide a data processing server comprising a; determining unit for generating a command.

여기서, 상기 판단부가 상기 마스터 노드의 상태가 정상이 아닌 것으로 판단한 경우, 상기 판단부는 상기 통신부를 통해 상기 마스터 권한을 박탈하는 상기 마스터 권한 명령을 상기 마스터 노드로 전송하게 하여 상기 마스터 노드의 상기 마스터 권한을 박탈해 상기 슬레이브 노드로 변경하고, 상기 복수의 슬레이브 노드 중 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 상기 통신부를 통해 전송하게 할 수 있다.Here, when the determination unit determines that the state of the master node is not normal, the determination unit causes the master authority of the master node to transmit the master authority command that deprives the master authority through the communication unit to the master node. It may be deprived and changed to the slave node, and the master authority command granting the master authority to one of the plurality of slave nodes may be transmitted through the communication unit.

또한, 상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 최대 상기 슬레이브 노드 수가 저장된 저장부;를 더 포함하되, 상기 판단부는 상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 상기 슬레이브 노드 수가 상기 저장부에 저장된 상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 최대 상기 슬레이브 노드 수를 넘은 상태인 경우, 상기 슬레이브 노드 중 어느 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 상기 통신부를 통해 전송하게 하고, 상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 상기 슬레이브 노드 수를 분배할 수 있다.The storage unit may further include a storage unit in which the maximum number of slave nodes connected through the communication unit to which the master node is to be calculated is stored. The determination unit may further include the number of slave nodes connected through the communication unit to which the master node should be calculated. When the master node stored in the state exceeds the maximum number of slave nodes connected through the communication unit to be calculated, the master authority command that grants the master authority to any one of the slave nodes is transmitted through the communication unit In addition, the number of the slave nodes connected through the communication unit that the master node needs to calculate can be distributed.

여기서, 상기 판단부는 과거 상기 마스터 노드의 상태가 정상일 때 응답속도의 평균값 및 정규분포를 토대로 계산한 확률밀도함수와 최근 상기 마스터 노드의 작동 시점의 응답속도의 평균값과 정규분포를 토대로 계산한 확률밀도함수의 교차영역의 면적을 계산하여 상기 면적이 일정수준 이하로 떨어질 경우 상기 마스터 노드의 상기 마스터 권한을 박탈하는 것으로 판단하는 머신러닝 알고리즘을 이용하여 상기 마스터 권한 명령을 생성할 수 있다. Here, the determining unit calculates the probability density function calculated based on the average value and normal distribution of the response speed when the state of the master node is normal in the past, and the probability density calculated based on the average value and normal distribution of the response speed at the time of operation of the master node in the past. The master authority command may be generated by using a machine learning algorithm that calculates the area of the intersection area of the function and determines that the master authority is deprived of the master node when the area falls below a certain level.

본 발명의 바람직한 다른 측면에 따르면, 데이터 처리 서버와 연결된 마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드에 있어서, 상기 데이터 처리 서버로부터 마스터 권한 명령을 수신하는 통신부; 상기 마스터 권한 명령 수신 여부 및 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여 또는 박탈하는 것인지 분석하는 분석부; 및 상기 분석부에서 분석한 결과에 상응하여 상기 엔드포인트 노드를 상기 마스터 노드 또는 상기 슬레이브 노드로 동작하게 제어하는 제어부;를 포함하는 엔드포인트 노드를 제공할 수 있다.According to another preferred aspect of the present invention, a plurality of endpoint nodes composed of a master node and a slave node connected to a data processing server, the communication unit receiving a master authorization command from the data processing server; An analysis unit for analyzing whether the master authority command is received and whether the received master authority command grants or deprives the master authority; And a control unit configured to control the endpoint node to operate as the master node or the slave node according to the result analyzed by the analysis unit.

또한, 현재 상태를 검출하는 센서부;를 더 포함하고, 상기 제어부는 상기 분석부가 상기 마스터 권한 명령을 수신 받지 않거나 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 박탈하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 슬레이브 노드로 동작하게 제어하되, 상기 제어부가 상기 슬레이브 노드로 동작하게 제어하는 것은, 상기 통신부를 통해 상기 센서부가 검출한 상기 현재 상태에 대한 현재 상태 데이터를 상기 데이터 처리 서버로 전송하게 하는 것일 수 있다.In addition, further comprising a sensor unit for detecting the current state, the control unit, if the analysis unit does not receive the master authority command or the received master authority command determines that the master authority is deprived of the master node Controlling to operate as the slave node, but controlling the controller to operate as the slave node may be to transmit current state data about the current state detected by the sensor unit through the communication unit to the data processing server. have.

여기서, 상기 제어부는 상기 분석부가 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 마스터 노드로 동작하게 제어하되, 상기 제어부가 상기 마스터 노드로 동작하게 제어하는 것은, 상기 분석부가 상기 통신부를 통해 수신받은 상기 데이터 처리 서버로부터 전송된 상기 슬레이브 노드의 상기 현재 상태 데이터를 바탕으로 연산하고, 상기 연산결과에 상응하는 제어 명령을 생성하게 하는 한편, 상기 통신부를 통해 상기 제어 명령을 상기 데이터 처리 서버로 전송하게 하는 것일 수 있다.Here, when the controller determines that the received master authority command grants the master authority, the controller controls the endpoint node to operate as the master node, but controls the controller to operate as the master node. On the other hand, the analysis unit makes a calculation based on the current state data of the slave node transmitted from the data processing server received through the communication unit, and generates a control command corresponding to the calculation result. It may be to send a control command to the data processing server.

본 발명의 바람직한 또 다른 측면에 따르면, 마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드와 연결된 데이터 처리 서버가 데이터를 처리하는 방법에 있어서, 현재 상태 데이터에 대한 연산과 상기 연산한 결과에 상응하는 제어 명령을 전송할 수 있는 마스터 권한을 부여하는 마스터 권한 명령을 상기 복수의 엔드포인트 노드 중 적어도 어느 하나에 전송해 상기 마스터 노드로 설정하는 단계; 상기 슬레이브 노드가 전송한 현재 상태 데이터를 상기 마스터 노드로 전송하는 단계; 상기 마스터 노드가 전송한 상기 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 상기 제어 명령을 상기 슬레이브 노드로 전송하는 단계; 및 상기 마스터 노드의 상태를 체크하는 단계;를 포함하는 데이터 처리 방법을 제공할 수 있다.According to another preferred aspect of the present invention, in a method of processing data by a data processing server connected to a plurality of endpoint nodes composed of a master node and a slave node, the operation of the current state data corresponds to the result of the operation Transmitting a master authority command that gives a master authority to transmit a control command to at least one of the plurality of endpoint nodes and setting the master authority as the master node; Transmitting the current state data transmitted by the slave node to the master node; Transmitting the control command corresponding to a result calculated based on the current state data transmitted by the master node to the slave node; And checking the status of the master node.

여기서, 상기 데이터 처리 서버는 상기 마스터 노드의 상태를 체크하여 상기 마스터 노드가 정상이 아닌 것으로 판단한 경우, 상기 마스터 노드의 상기 마스터 권한을 박탈하는 상기 마스터 권한 명령을 전송해 상기 마스터 노드를 상기 슬레이브 노드로 변경하고, 상기 복수의 슬레이브 노드 중 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 전송할 수 있다.Here, the data processing server checks the status of the master node, and when it is determined that the master node is not normal, transmits the master authority command that deprives the master authority of the master node to transmit the master node to the slave node. Change to, and send the master authority command to grant the master authority to one of the plurality of slave nodes.

여기서, 상기 데이터 처리 서버는 상기 마스터 노드에 연결된 상기 슬레이브 노드 수가 상기 마스터 노드에 연결되는 최대 상기 슬레이브 노드 수를 넘은 상태인 경우, 상기 슬레이브 노드 중 어느 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 전송하고, 상기 마스터 노드에 연결되는 상기 슬레이브 노드를 분배할 수 있다.Here, when the number of the slave nodes connected to the master node exceeds the maximum number of slave nodes connected to the master node, the data processing server grants the master authority to any one of the slave nodes. And the slave node connected to the master node.

여기서, 상기 데이터 처리 서버는 과거 상기 마스터 노드의 상태가 정상일 때 응답속도의 평균값 및 정규분포를 토대로 계산한 확률밀도함수와 최근 상기 마스터 노드의 작동 시점의 응답속도의 평균값과 정규분포를 토대로 계산한 확률밀도함수의 교차영역의 면적을 계산하여 상기 면적이 일정수준 이하로 떨어질 경우 상기 마스터 노드의 상기 마스터 권한을 박탈하는 것으로 판단하는 머신러닝 알고리즘을 이용하여 상기 마스터 권한 명령을 생성할 수 있다.Here, the data processing server calculates the probability density function calculated based on the average value and normal distribution of the response speed when the status of the master node is normal in the past and the average value and normal distribution of the response speed at the time of operation of the master node recently. The master authority command can be generated using a machine learning algorithm that calculates the area of the intersection area of the probability density function and determines that the master authority is deprived of the master node when the area falls below a certain level.

본 발명의 바람직한 또 다른 측면에 따르면, 데이터 처리 서버와 연결된 마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드가 데이터를 처리하는 방법에 있어서, 상기 데이터 처리 서버로부터 마스터 권한 명령을 수신하는 단계; 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여 또는 박탈하는 것인지 분석하는 단계; 및 상기 분석한 마스터 권한 명령에 따라 상기 엔드포인트 노드를 상기 마스터 노드 또는 상기 슬레이브 노드로 동작하게 제어하는 단계;를 포함하는 데이터 처리 방법을 제공할 수 있다.According to another preferred aspect of the present invention, a method of processing data by a plurality of endpoint nodes composed of a master node and a slave node connected to a data processing server, the method comprising: receiving a master authorization command from the data processing server; Analyzing whether the received master authority command grants or deprives the master authority; And controlling the endpoint node to operate as the master node or the slave node according to the analyzed master authority command.

여기서, 수신한 마스터 권한 명령이 상기 마스터 권한을 박탈하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 슬레이브 노드로 동작하게 제어하되, 상기 슬레이브 노드로 동작하게 제어하는 것은, 현재 상태 데이터를 상기 데이터 처리 서버로 전송하게 하는 것일 수 있다.Here, when it is determined that the received master authority command deprives the master authority, the endpoint node is controlled to operate as the slave node, but controlling to operate as the slave node is used to control the current state data to the data processing server. It may be to send.

여기서, 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 마스터 노드로 동작하게 제어하되, 상기 마스터 노드로 동작하게 제어하는 것은, 상기 데이터 처리 서버로부터 수신된 상기 슬레이브 노드의 현재 상태 데이터를 바탕으로 연산하고, 상기 연산결과에 상응하는 제어 명령을 생성하는 한편, 상기 제어 명령을 상기 데이터 처리 서버로 전송하게 하는 것일 수 있다.Here, when it is determined that the received master authority command grants the master authority, the endpoint node is controlled to operate as the master node, but controlling to operate as the master node is the received from the data processing server. The operation may be performed based on the current state data of the slave node, and a control command corresponding to the operation result may be generated, and the control command may be transmitted to the data processing server.

본 발명의 바람직한 또 다른 측면에 따르면, 데이터 처리 방법을 이용하는 스마트팜을 제공할 수 있다.According to another preferred aspect of the present invention, it is possible to provide a smart farm using a data processing method.

본 발명의 바람직한 또 다른 측면에 따르면, 데이터 처리 방법을 이용하는 스마트 팩토리를 제공할 수 있다.According to another preferred aspect of the present invention, it is possible to provide a smart factory using a data processing method.

본 발명의 바람직한 또 다른 측면에 따르면, 데이터 처리 방법을 이용하는 loT 엔드포인트 노드 데이터 처리 시스템을 제공할 수 있다.According to another preferred aspect of the present invention, a loT endpoint node data processing system using a data processing method may be provided.

본 발명은 서버가 고장나거나 통신이 원활하지 않아도 제어가 가능한 효과가 있다.The present invention has an effect that can be controlled even if the server fails or communication is not smooth.

또한, 본 발명은 서버가 아닌 엔드포인트 노드 중 마스터 노드를 통해 수행하는 한편, 마스터 노드의 부하 발생 시 복수의 슬레이브 노드 중 적어도 하나를 마스터 노드로 변경해 데이터를 분배하기 때문에 서버 증설 등의 비용을 줄일 수 있는 효과가 있다.In addition, the present invention is performed through a master node among endpoint nodes rather than a server, and when load of the master node occurs, at least one of the plurality of slave nodes is changed to a master node to distribute data, thereby reducing costs such as server expansion. It has the effect.

또한, 본 발명은 엔드포인트 노드 중 제어 명령을 생성하는 마스터 노드가 고장 시 복수의 슬레이브 노드 중 적어도 하나를 마스터 노드로 변경하여 안정성을 확보할 수 있는 효과가 있다.In addition, the present invention has an effect of securing stability by changing at least one of a plurality of slave nodes to a master node when a master node generating a control command among the endpoint nodes fails.

또한, 본 발명은 별도의 서버실을 구비하지 않아 공간활용도가 좋은 효과가 있다.In addition, the present invention does not have a separate server room has the effect of good space utilization.

도 1은 본 발명의 일 실시예에 따른 데이터 처리 시스템의 구성도이다.
도 2는 본 발명의 일 실시예에 따른 데이터 처리 서버의 구성도이다.
도 3은 본 발명의 일 실시예에 따른 마스터 노드가 정상 상태가 아닌 경우 마스터 권한의 부여 또는 박탈을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른 마스터 노드가 연산해야 하는 슬레이브 노드 수에 따라 추가로 마스터 권한을 부여하는 것을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따른 엔드포인트 노드의 구성도이다.
도 6은 본 발명의 다른 실시예에 따른 데이터 처리 방법의 순서도이다.
도 7은 본 발명의 또 다른 실시예에 따른 데이터 처리 방법의 순서도이다.
1 is a block diagram of a data processing system according to an embodiment of the present invention.
2 is a block diagram of a data processing server according to an embodiment of the present invention.
3 is a view for explaining the granting or deprivation of master authority when the master node according to an embodiment of the present invention is not in a normal state.
4 is a view for explaining that the master node additionally grants master authority according to the number of slave nodes to be calculated by the master node according to an embodiment of the present invention.
5 is a configuration diagram of an endpoint node according to an embodiment of the present invention.
6 is a flowchart of a data processing method according to another embodiment of the present invention.
7 is a flowchart of a data processing method according to another embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시 예를 가질 수 있는바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. The present invention can be applied to various changes and can have various embodiments, and specific embodiments will be illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 해당 구성요소들은 이와 같은 용어들에 의해 한정되지는 않는다. 이 용어들은 하나의 구성요소들을 다른 구성요소로부터 구별하는 목적으로만 사용된다.Terms including ordinal numbers such as first and second may be used to describe various components, but the corresponding components are not limited by these terms. These terms are only used to distinguish one component from another.

어떤 구성요소가 다른 구성요소에 '연결되어' 있다거나, 또는 '접속되어' 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 '직접 연결되어' 있다거나, '직접 접속되어' 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When an element is said to be'connected' or'connected' to another component, it may be directly connected to or connected to the other component, but other components may exist in the middle. It should be understood that. On the other hand, when a component is said to be'directly connected' or'directly connected' to another component, it should be understood that no other component exists in the middle.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, '포함한다' 또는 '가지다' 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in this application are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, terms such as'comprises' or'have' are intended to indicate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, and that one or more other features are present. It should be understood that the existence or addition possibilities of fields or numbers, steps, operations, components, parts or combinations thereof are not excluded in advance.

도 1은 본 발명의 일 실시예에 따른 데이터 처리 시스템의 구성도이다.1 is a block diagram of a data processing system according to an embodiment of the present invention.

도 1을 참조하면, 데이터 처리 시스템(10)은 데이터 처리 서버(100) 및 복수의 엔드포인트 노드(200)를 포함한다.Referring to FIG. 1, the data processing system 10 includes a data processing server 100 and a plurality of endpoint nodes 200.

데이터 처리 서버(100)는 복수의 엔드포인트 노드(200)와 유무선으로 연결되어 엔드포인트 노드(200) 중 슬레이브 노드(220)가 전송한 현재 상태 데이터를 수신받아 엔드포인트 노드(200) 중 마스터 노드(210)로 전송하고, 마스터 노드(210)가 전송한 제어 명령을 수신받아 슬레이브 노드(220)로 전송한다. 여기서, 데이터 처리 서버(100)는 클라우드 서버 또는 일반 서버일 수 있다.The data processing server 100 is connected to a plurality of endpoint nodes 200 by wire or wirelessly to receive the current state data transmitted by the slave node 220 among the endpoint nodes 200 and the master node among the endpoint nodes 200 It transmits to 210, receives the control command transmitted by the master node 210 and transmits it to the slave node 220. Here, the data processing server 100 may be a cloud server or a general server.

또한, 데이터 처리 서버(100)는 현재 상태 데이터에 대한 연산과 연산한 결과에 상응하는 제어 명령을 전송할 수 있는 마스터 권한을 복수의 엔드포인트 노드(200) 중 적어도 어느 하나에 부여 또는 박탈한다.In addition, the data processing server 100 grants or deprives at least one of the plurality of endpoint nodes 200 a master authority to transmit a control command corresponding to an operation result and an operation result for the current state data.

복수의 엔드포인트 노드(200)는 마스터 노드(210) 및 슬레이브 노드(220)로 구성된다.The plurality of endpoint nodes 200 is composed of a master node 210 and a slave node 220.

마스터 노드(210)는 복수의 슬레이브 노드(220)가 전송한 현재 상태 데이터를 데이터 처리 서버(100)로부터 수신받으며, 수신받은 현재 상태 데이터를 바탕으로 연산하여 연산한 결과에 상응하는 제어 명령을 데이터 처리 서버(100)로 전송한다. 여기서, 마스터 노드(210)는 복수의 엔드포인트 노드(200) 중 데이터 처리 서버(100)로부터 마스터 권한을 부여받은 엔드포인트 노드(200)가 마스터 노드(210)가 되며, 마스터 노드(210)와 슬레이브 노드(220)의 성능은 같거나 마스터 노드(210)의 성능이 더 좋을 수 있다. The master node 210 receives the current state data transmitted by the plurality of slave nodes 220 from the data processing server 100, and calculates a control command corresponding to the result of the calculation based on the received current state data. Transfer to the processing server 100. Here, in the master node 210, the endpoint node 200, which has been given the master authority from the data processing server 100 among the plurality of endpoint nodes 200, becomes the master node 210, and the master node 210 The performance of the slave node 220 may be the same or the performance of the master node 210 may be better.

또한, 마스터 노드(210)는 슬레이브 노드(220)의 정보를 열람하거나 제어 명령을 내릴 수 있으며, 슬레이브 노드(220)는 마스터 노드(210)의 정보를 열람하거나 제어 명령을 내릴 수 없고, 마스터 노드(210)는 한 개 또는 복수 개가 될 수 있다.Further, the master node 210 can view information of the slave node 220 or issue a control command, and the slave node 220 cannot view information of the master node 210 or issue a control command, and the master node 210 may be one or a plurality.

슬레이브 노드(220)는 현재 상태 데이터를 서버(100)로 전송하고, 데이터 처리 서버(100)로부터 수신받은 제어 명령에 따라 제어된다.The slave node 220 transmits the current state data to the server 100 and is controlled according to a control command received from the data processing server 100.

도 2는 본 발명의 일 실시예에 따른 데이터 처리 서버의 구성도이다.2 is a block diagram of a data processing server according to an embodiment of the present invention.

도 2를 참조하면, 데이터 처리 서버(100)는 통신부(110), 판단부(120) 및 저장부(130)를 포함한다.Referring to FIG. 2, the data processing server 100 includes a communication unit 110, a determination unit 120, and a storage unit 130.

통신부(110)는 유무선으로 연결된 복수의 엔드포인트 노드(200) 중 복수의 슬레이브 노드(220)가 전송한 현재 상태 데이터를 수신받아 마스터 노드(210)로 전송하고, 마스터 노드(210)가 전송한 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 제어 명령을 수신받아 슬레이브 노드(220)로 전송한다. 여기서, 통신부(110)는 마스터 노드(210)가 전송한 현재 상태 데이터를 수신할 수도 있다.The communication unit 110 receives the current state data transmitted by the plurality of slave nodes 220 among the plurality of endpoint nodes 200 connected by wire/wirelessly, transmits it to the master node 210, and transmits the current status data to the master node 210. A control command corresponding to a result calculated based on the current state data is received and transmitted to the slave node 220. Here, the communication unit 110 may receive the current state data transmitted by the master node 210.

이때, 복수의 슬레이브 노드(220)가 전송한 현재 상태 데이터에는 슬레이브 노드(220)의 식별 정보가 포함되어 있어, 마스터 노드(210)가 연산 시 식별 정보를 바탕으로 복수의 슬레이브 노드(220) 각각의 현재 상태 데이터를 바탕으로 연산을 하고, 복수의 슬레이브 노드(220) 각각의 연산한 결과에 상응하는 제어 명령을 데이터 처리 서버(100)로 전송하면, 데이터 처리 서버(100)는 제어 명령에 상응하는 슬레이브 노드(220)로 제어 명령을 전송한다.At this time, the current state data transmitted from the plurality of slave nodes 220 includes identification information of the slave nodes 220, so that each of the plurality of slave nodes 220 is based on the identification information when the master node 210 is operated. When the operation is performed based on the current state data of the, and the control command corresponding to the operation result of each of the plurality of slave nodes 220 is transmitted to the data processing server 100, the data processing server 100 corresponds to the control command And transmits a control command to the slave node 220.

또한, 통신부(110)는 판단부(120)에서 판단하여 생성한 마스터 권한의 부여 또는 박탈에 대한 마스터 권한 명령을 복수의 엔드포인트 노드(200) 중 해당 엔드포인트 노드(200)로 전송하며, 통신부(110)는 마스터 노드(210)와 정상적으로 연결이 되어 있는지 주기적으로 콜(call)을 마스터 노드(210)와 주고 받는다. In addition, the communication unit 110 transmits a master authority command for granting or deprivation of the master authority generated by the determination unit 120 to the corresponding endpoint node 200 among the plurality of endpoint nodes 200, and the communication unit The 110 periodically exchanges a call with the master node 210 to see if the master node 210 is normally connected.

판단부(120)는 마스터 노드(210)의 상태를 체크한다. 구체적으로, 통신부(110)를 통해 수신받은 주기적으로 주고받은 콜(call)을 바탕으로 마스터 노드(210)와의 통신 단절 또는 통신 품질이 불량한지는 판단하며, 마스터 노드(210)의 통신이 정상인데 마스터 노드(210)로부터 연산한 결과에 상응하는 제어 명령이 오지 않는 등 마스터 노드(210)가 기능을 수행하지 못하는 정상 상태가 아닌지 판단하고, 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수가 저장부(130)에 저장된 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 최대 슬레이브 노드(220) 수를 넘은 상태인지 판단한다.The determination unit 120 checks the state of the master node 210. Specifically, it is determined whether the communication with the master node 210 is broken or the communication quality is poor based on the periodically exchanged call received through the communication unit 110, and the communication of the master node 210 is normal. It is determined whether the master node 210 is not in a normal state in which a function cannot be performed, such as a control command corresponding to a result calculated from the node 210, and the communication unit 110 through which the master node 210 should operate. It is determined whether the number of connected slave nodes 220 exceeds the maximum number of slave nodes 220 connected through the communication unit 110 that the master node 210 stored in the storage unit 130 needs to calculate.

또한, 판단부(120)는 판단한 결과에 따라 마스터 노드(210)의 현재 상태 데이터에 대한 연산과 연산한 결과에 상응하는 상기 제어 명령을 전송할 수 있는 마스터 권한을 박탈하거나, 복수의 슬레이브 노드(220) 중 적어도 어느 하나에 마스터 권한을 부여할지 판단하여 이에 상응하는 마스터 권한 명령을 생성하고 통신부(110)를 통해 마스터 권한 명령을 전송하게 한다. 여기서, 판단부(120)는 엔드포인트 노드(200)의 성능이 상이할 경우 복수의 슬레이브 노드(220) 중 어느 하나에 마스터 권한을 부여할 때 성능이 가장 좋은 슬레이브 노드(220)가 어느 것인지 판단하여 해당 슬레이브 노드(220)에 마스터 권한을 부여하는 마스터 권한 명령을 생성하여 통신부(110)를 통해 전송하게 할 수 있다.In addition, the determination unit 120 deprives the master authority to transmit the control command corresponding to the operation result and the operation result of the current state data of the master node 210 according to the determined result, or a plurality of slave nodes 220 ) To determine whether to grant the master authority to generate a master authority command corresponding to the master authority command through the communication unit 110. Here, when the performance of the endpoint node 200 is different, the determination unit 120 determines which slave node 220 has the best performance when granting master authority to one of the plurality of slave nodes 220. By creating a master authority command that gives the master authority to the corresponding slave node 220, it can be transmitted through the communication unit 110.

구체적으로, 판단부(120)는 과거 마스터 노드(210)의 상태가 정상일 때 응답속도의 평균값 및 정규분포를 토대로 계산한 확률밀도함수와 최근 마스터 노드(210)의 작동 시점의 응답속도의 평균값과 정규분포를 토대로 계산한 확률밀도함수의 교차영역의 면적을 계산하여 이 면적이 일정수준 이하로 떨어질 경우 마스터 노드(210)의 마스터 권한을 박탈하는 것으로 판단하는 머신러닝 알고리즘을 이용하여 마스터 권한 명령을 생성한다.Specifically, the determination unit 120 may calculate the probability density function calculated based on the average value and the normal distribution of the response speed when the state of the master node 210 is normal in the past, and the average value of the response speed at the time of operation of the recent master node 210. Calculate the area of the intersection area of the probability density function calculated based on the normal distribution, and if this area falls below a certain level, use the machine learning algorithm to determine that the master authority of the master node 210 is deprived. To create.

또한, 판단부(120)는 마스터 노드(210)에 부하가 가지 않는 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수를 판단하고, 이에 상응하게 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수를 분배한다.In addition, the determination unit 120 determines the number of slave nodes 220 connected through the communication unit 110 to which the master node 210 that does not have a load on the master node 210 needs to calculate, and correspondingly the master node ( 210) distributes the number of slave nodes 220 connected through the communication unit 110 to be calculated.

저장부(130)는 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 최대 슬레이브 노드(220) 수와 통신부(110)를 통해 수신 받은 마스터 노드(210) 및 슬레이브 노드(220)의 현재 상태 데이터를 저장한다.The storage unit 130 includes the maximum number of slave nodes 220 connected through the communication unit 110 that the master node 210 needs to calculate and the master node 210 and slave nodes 220 received through the communication unit 110. Save the current status data.

도 3은 본 발명의 일 실시예에 따른 마스터 노드가 정상 상태가 아닌 경우 마스터 권한의 부여 또는 박탈을 설명하기 위한 도면이다.3 is a view for explaining the granting or deprivation of master authority when the master node according to an embodiment of the present invention is not in a normal state.

도 3을 참고하면, 데이터 처리 서버(100)의 판단부(120)가 통신부(110)를 통해 주기적으로 주고받은 콜(call)을 통해 마스터 노드(310)와의 통신 단절 또는 통신 품질이 불량하다고 판단하거나 마스터 노드(310)의 통신이 정상인데 마스터 노드(310)로부터 연산한 결과에 상응하는 제어 명령이 오지 않는 등 마스터 노드(310)가 기능을 수행하지 못하는 정상 상태가 아니라고 판단하면, 해당 마스터 노드(310)의 마스터 권한을 박탈하는 마스터 권한 명령을 통신부(110)를 통해 마스터 노드(310)에 전송하게 하여 마스터 권한을 박탈하고 슬레이브 노드(310)로 변경한다. Referring to FIG. 3, the determination unit 120 of the data processing server 100 determines that communication with the master node 310 is disconnected or communication quality is poor through a call periodically exchanged through the communication unit 110. Or, if it is determined that the master node 310 is not in a normal state in which the master node 310 cannot perform a function, such as when the communication of the master node 310 is normal and a control command corresponding to a result calculated from the master node 310 is not received, the corresponding master node The master authority command to deprive the master authority of 310 is transmitted to the master node 310 through the communication unit 110, thereby depriving the master authority and changing it to the slave node 310.

이어 판단부(120)는 복수의 슬레이브 노드(220) 중 적어도 어느 하나에 마스터 권한을 부여하는 마스터 권한 명령을 통신부(110)를 통해 해당 슬레이브 노드(320)에 전송하게 하여 마스터 노드(320)로 변경하는 한편, 통신부(110)를 통해 관리자에게 마스터 권한이 박탈된 마스터 노드(310)의 점검을 요청한다.Subsequently, the determination unit 120 transmits a master authority command that gives a master authority to at least one of the plurality of slave nodes 220 to the corresponding slave node 320 through the communication unit 110 to the master node 320. On the other hand, through the communication unit 110, the administrator requests a check of the master node 310 from which the master authority is deprived.

도 4는 본 발명의 일 실시예에 따른 마스터 노드가 연산해야 하는 슬레이브 노드 수에 따라 추가로 마스터 권한을 부여하는 것을 설명하기 위한 도면이다.4 is a view for explaining that the master node additionally grants master authority according to the number of slave nodes to be calculated by the master node according to an embodiment of the present invention.

도 4를 참고하면, 판단부(120)는 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수가 저장부(130)에 저장된 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 최대 슬레이브 노드(220) 수를 넘었다고 판단하면, 복수의 슬레이브 노드(220) 중 적어도 어느 하나에 마스터 권한을 부여하는 마스터 권한 명령을 통신부(110) 통해 전송하게 하여 해당 슬레이브 노드(410)를 마스터 노드(410)로 변경하는 한편, 마스터 노드(210, 410)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수를 분배한다.Referring to FIG. 4, the determination unit 120 should calculate the number of slave nodes 220 connected through the communication unit 110 that the master node 210 needs to calculate, which must be calculated by the master node 210 stored in the storage unit 130. When it is determined that the maximum number of slave nodes 220 connected through the communication unit 110 is exceeded, a master authority command that grants a master authority to at least one of the plurality of slave nodes 220 is transmitted through the communication unit 110. While changing the slave node 410 to the master node 410, the number of slave nodes 220 connected through the communication unit 110 that the master nodes 210 and 410 need to calculate is distributed.

도 5는 본 발명의 일 실시예에 따른 엔드포인트 노드의 구성도이다.5 is a configuration diagram of an endpoint node according to an embodiment of the present invention.

도 5를 참조하면, 엔드포인트 노드(200)는 센서부(201), 분석부(202), 제어부(203) 및 통신부(204)를 포함한다.Referring to FIG. 5, the endpoint node 200 includes a sensor unit 201, an analysis unit 202, a control unit 203, and a communication unit 204.

센서부(201)는 엔드포인트 노드(200)의 작동 상태 및 주변 환경 데이터 등 현재 상태 데이터를 검출한다. 여기서, 주변 환경 데이터는 온도, 습도, 가스 농도, 양액의 농도 등일 수 있다.The sensor unit 201 detects current state data such as the operating state of the endpoint node 200 and surrounding environment data. Here, the ambient environment data may be temperature, humidity, gas concentration, nutrient solution concentration, and the like.

분석부(202)는 통신부(204)를 통해 데이터 처리 서버(100)로부터 마스터 권한 명령을 수신받았는지 수신한 마스터 권한 명령이 마스터 권한을 부여 또는 박탈하는 명령 중 어느 명령인지 분석하여, 해당 엔드포인트 노드(200)가 마스터 노드(210) 인지 슬레이브 노드(220)인지 분석한다.The analysis unit 202 analyzes which of the commands that the master authority command receives or deprives of the master authority is received from the data processing server 100 through the communication unit 204, and the corresponding endpoint. It is analyzed whether the node 200 is the master node 210 or the slave node 220.

또한, 분석부(202)는 통신부(204)를 통해 수신받은 데이터 처리 서버(100)로부터 전송된 복수의 슬레이브 노드(220)의 현재 상태 데이터를 바탕으로 연산하여 복수의 슬레이브 노드(220)의 상태를 분석하고, 연산한 결과에 상응하는 제어 명령을 생성한다. 여기서, 분석부(202)는 엔드포인트 노드(200) 중 데이터 처리 서버(100)로부터 마스터 권한을 부여받는 마스터 권한 명령을 수신한 마스터 노드(210)일 경우에만 연산하며, 통신부(204)를 통해 수신받은 데이터 처리 서버(100)로부터 전송된 복수의 슬레이브 노드(220)의 현재 상태 데이터 외 연산 동작을 수행한 분석부(202)를 포함한 엔드포인트 노드(200)의 센서부(201)를 통해 검출한 현재 상태 데이터도 연산하여 상태를 분석하고, 연산한 결과에 상응하는 제어 명령을 생성할 수 있다.In addition, the analysis unit 202 calculates based on the current state data of the plurality of slave nodes 220 transmitted from the data processing server 100 received through the communication unit 204, and the state of the plurality of slave nodes 220 Analyzes and generates a control command corresponding to the calculated result. Here, the analysis unit 202 calculates only when the master node 210 receives a master authority command that is granted master authority from the data processing server 100 among the endpoint nodes 200, and through the communication unit 204 Detected through the sensor unit 201 of the endpoint node 200 including the analysis unit 202 that performed arithmetic operations other than the current state data of the plurality of slave nodes 220 transmitted from the received data processing server 100 One current state data is also calculated to analyze the state, and a control command corresponding to the calculated result can be generated.

또한, 분석부(202)는 통신부(204)로부터 제어 명령을 수신하거나 분석부(202)가 자신의 제어 명령을 생성한 경우 제어 명령을 분석한다.In addition, the analysis unit 202 analyzes the control command when a control command is received from the communication unit 204 or the analysis unit 202 generates its own control command.

제어부(203)는 마스터 노드(210) 인지 슬레이브 노드(220)인지 판단부(202)가 분석한 결과에 따라 엔드포인트 노드(200)의 동작을 제어한다.The control unit 203 controls the operation of the endpoint node 200 according to the analysis result of the determination unit 202 whether it is the master node 210 or the slave node 220.

구체적으로, 제어부(203)는 분석부(202)가 마스터 권한을 부여받았다고 분석하면, 분석부(202)가 복수의 슬레이브 노드(220)의 현재 상태 데이터를 바탕으로 연산하여 복수의 슬레이브 노드(220)의 상태를 분석하고, 연산한 결과에 상응하는 제어 명령을 생성하도록 제어하는 한편, 분석부(202)가 자신의 제어 명령을 생성한 경우 제어 명령에 따라 제어한다.Specifically, if the analysis unit 202 analyzes that the analysis unit 202 has been granted the master authority, the analysis unit 202 calculates based on the current state data of the plurality of slave nodes 220 to calculate the plurality of slave nodes 220 ), and controls to generate a control command corresponding to the calculated result, while the analysis unit 202 generates control commands according to the control command.

또한, 제어부(203)는 분석부(202)가 마스터 권한이 박탈되었다고 분석하거나 마스터 권한 명령을 수신받지 않아 마스터 권한이 없다고 분석하면, 분석부(202)가 연산 동작을 하지 않게 제어하는 한편, 통신부(204)를 통해 수신된 데이터 처리 서버(100)로부터 전송된 제어 명령에 따라 엔드포인트 노드(200)가 동작하게 제어한다.Further, the control unit 203 analyzes that the analysis unit 202 has been deprived of the master authority or analyzes that the master authority is not received because the master authority command has not been received. The endpoint node 200 is controlled to operate according to a control command transmitted from the data processing server 100 received through 204.

또한, 제어부(203)는 분석부(202)가 제어 명령을 생성한 경우 통신부(204)를 통해 제어 명령을 데이터 처리 서버(100)로 전송하게 제어한다.In addition, the control unit 203 controls the analysis unit 202 to transmit the control command to the data processing server 100 through the communication unit 204 when the control command is generated.

통신부(204)는 데이터 처리 서버(100)로부터 마스터 권한 부여 또는 박탈 중 어느 하나의 명령, 복수의 슬레이브 노드(220)의 현재 상태 데이터, 제어 명령 및 콜(call) 중 적어도 어느 하나를 수신 받고, 센서부(201)를 통해 검출한 현재 상태 데이터, 제어 명령 및 콜(call)에 상응하는 응답 중 적어도 어느 하나를 전송한다. The communication unit 204 receives at least one of a command of any one of authorization or deprivation of a master authority, a current state data of a plurality of slave nodes 220, a control command and a call from the data processing server 100, At least one of the current state data detected through the sensor unit 201, a control command, and a response corresponding to a call is transmitted.

도 6은 본 발명의 다른 실시예에 따른 데이터 처리 방법의 순서도이다.6 is a flowchart of a data processing method according to another embodiment of the present invention.

도 6을 참고하면, S610단계에서는 데이터 처리 서버(100)의 통신부(110)가 현재 상태 데이터에 대한 연산과 연산한 결과에 상응하는 제어 명령을 전송할 수 있는 마스터 권한을 부여하는 마스터 권한 명령을 복수의 엔드포인트 노드(200) 중 적어도 어느 하나에 전송해 마스터 노드(210)로 설정한다. 여기서, 판단부(120)가 마스터 노드(210)의 상태가 정상이 아니라고 판단한 경우에는 통신부(110)를 통해 마스터 권한을 박탈하는 마스터 권한 명령을 마스터 노드(210)에 전송하게 하여 마스터 권한을 박탈하고 슬레이브 노드(220)로 변경하게 하는 한편, 복수의 슬레이브 노드(220)중 적어도 어느 하나에 마스터 권한을 부여하는 마스터 권한 명령을 통신부(110)를 통해 전송하게 하여 마스터 권한을 부여하여 마스터 노드(210)로 변경하게 할 수 있다.Referring to FIG. 6, in step S610, a plurality of master authority commands that give a master authority to transmit a control command corresponding to an operation result and an operation result for the current state data by the communication unit 110 of the data processing server 100 are plural. Send to at least one of the endpoint node 200 of the master node 210. Here, when the determination unit 120 determines that the state of the master node 210 is not normal, the master authority is deprived by sending the master authority command to deprive the master authority through the communication unit 110 to the master node 210. And, while changing to the slave node 220, while transmitting the master authority command that gives the master authority to at least one of the plurality of slave nodes 220 through the communication unit 110, the master node is granted the master authority ( 210).

S620단계에서는 데이터 처리 서버(100)의 통신부(110)가 슬레이브 노드(220)가 전송한 현재 상태 데이터를 수신받아 마스터 노드(210)로 전송한다.In step S620, the communication unit 110 of the data processing server 100 receives the current state data transmitted by the slave node 220 and transmits it to the master node 210.

S630단계에서는 데이터 처리 서버(100)의 통신부(110)가 마스터 노드(210)가 전송한 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 제어 명령을 수신받아 슬레이브 노드(220)로 전송한다.In step S630, the communication unit 110 of the data processing server 100 receives a control command corresponding to a result calculated based on the current state data transmitted by the master node 210 and transmits it to the slave node 220.

S640단계에서는 데어터 처리 서버(100)의 판단부(120)가 통신부(110)를 통해 수신받은 주기적으로 주고받은 콜(call)을 바탕으로 마스터 노드(210)와의 통신 단절 또는 통신 품질이 불량한지, 마스터 노드(210)의 통신이 정상인데 마스터 노드(210)로부터 연산한 결과에 상응하는 제어 명령이 오지 않는 등 마스터 노드(210)가 기능을 수행하지 못하는 정상 상태가 아닌지 판단한다. In step S640, the determination unit 120 of the data processing server 100 is based on a periodically exchanged call received through the communication unit 110, the communication with the master node 210 is disconnected or the communication quality is poor, The communication of the master node 210 is normal, but it is determined whether the master node 210 is not in a normal state in which a function cannot be performed, such as a control command corresponding to a result calculated from the master node 210 is not issued.

판단부(120)가 마스터 노드(210)의 상태가 정상 상태가 아니라고 판단하면 S610단계를 진행하고, 판단부(120)가 마스터 노드(210)의 상태가 정상 상태라고 판단하면 S650단계를 진행한다.If the determination unit 120 determines that the state of the master node 210 is not a normal state, it proceeds to step S610, and when the determination unit 120 determines that the state of the master node 210 is a normal state, it proceeds to step S650. .

S650단계에서는 데어터 처리 서버(100)의 판단부(120)가 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수가 저장부(130)에 저장된 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 최대 슬레이브 노드(220) 수를 넘은 상태인지 판단한다.In step S650, the determination unit 120 of the data processing server 100, the master node 210, the number of slave nodes 220 connected to the communication unit 110 through which the master node 210 needs to be calculated is the master node 210 stored in the storage unit 130 It is determined whether the maximum number of slave nodes 220 connected through the communication unit 110 to be calculated is exceeded.

판단부(120)가 저장부(130)에 저장된 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 최대 슬레이브 노드(220) 수를 넘은 상태라고 판단하면, S660단계를 진행하고, 저장부(130)에 저장된 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 최대 슬레이브 노드(220) 수를 넘지 않았다고 판단하면, S620단계를 진행한다.If the determination unit 120 determines that the master node 210 stored in the storage unit 130 exceeds the maximum number of slave nodes 220 connected through the communication unit 110 to be calculated, the process proceeds to step S660, and stores If it is determined that the master node 210 stored in the unit 130 has not exceeded the maximum number of slave nodes 220 connected through the communication unit 110 to be calculated, step S620 is performed.

S660단계에서는 데어터 처리 서버(100)의 판단부(120)가 복수의 슬레이브 노드(220) 중 적어도 어느 하나에 마스터 권한을 부여하는 마스터 권한 명령을 통신부(110) 통해 전송하게 하여 해당 슬레이브 노드(220)를 마스터 노드(210)로 변경하는 한편, 마스터 노드(210)에 부하가 가지 않는 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수를 판단하고, 이에 상응하게 마스터 노드(210)가 연산해야 하는 통신부(110)를 통해 연결된 슬레이브 노드(220) 수를 분배한다.In step S660, the determination unit 120 of the data processing server 100 transmits a master authority command that grants master authority to at least one of the plurality of slave nodes 220 through the communication unit 110, thereby corresponding slave node 220 ) Is changed to the master node 210, and the number of slave nodes 220 connected through the communication unit 110 to which the master node 210 does not have a load on the master node 210 needs to be calculated is determined, and corresponds to this. Thus, the number of slave nodes 220 connected through the communication unit 110 that the master node 210 needs to calculate is distributed.

도 7은 본 발명의 또 다른 실시예에 따른 데이터 처리 방법의 순서도이다.7 is a flowchart of a data processing method according to another embodiment of the present invention.

도 7을 참조하면, S710단계에서는 엔드포인트 노드(200)의 통신부(204)가 데이터 처리 서버(100)로부터 마스터 권한 명령을 수신한다.Referring to FIG. 7, in step S710, the communication unit 204 of the endpoint node 200 receives a master authority command from the data processing server 100.

S720단계에서는 엔드포인트 노드(200)의 분석부(202)가 통신부(204)를 통해 데이터 처리 서버(100)로부터 마스터 권한 명령를 수신 받았는지 수신한 마스터 권한 명령이 마스터 권한을 부여 또는 박탈하는 명령 중 어느 명령인지 분석하여, 해당 엔드포인트 노드(200)가 마스터 노드(210) 인지 슬레이브 노드(220)인지 분석한다.In step S720, the master authority command received whether the analysis unit 202 of the endpoint node 200 receives the master authority command from the data processing server 100 through the communication unit 204 is among the commands for granting or depriving the master authority. By analyzing which command, the corresponding endpoint node 200 analyzes whether it is the master node 210 or the slave node 220.

분석부(202)가 마스터 권한을 부여받았다고 분석하면, S730단계를 진행하고, 분석부(202)가 마스터 권한이 박탈되었다고 분석하거나 마스터 권한 명령을 수신받지 않아 마스터 권한이 없다고 분석하면 S760단계를 진행한다. If the analysis unit 202 analyzes that it has been granted the master authority, it proceeds to step S730, and when the analysis unit 202 analyzes that the master authority has been deprived or does not receive a master authority command and analyzes that there is no master authority, it proceeds to operation S760. do.

S730단계에서는 제어부(203)가 해당 엔드포인트 노드(200)를 마스터 노드(210)로 동작하게 제어한다.In step S730, the control unit 203 controls the corresponding endpoint node 200 to operate as the master node 210.

S740단계에서는 분석부(202)가 통신부(201)를 통해 수신한 복수의 슬레이브 노드(220)의 현재 상태 데이터를 바탕으로 연산하여 복수의 슬레이브 노드(220)의 상태를 분석하고, 연산한 결과에 상응하는 제어 명령을 생성하도록 제어부(203)가 제어한다.In step S740, the analysis unit 202 analyzes the states of the plurality of slave nodes 220 by calculating based on the current state data of the plurality of slave nodes 220 received through the communication unit 201, and the calculated results The control unit 203 controls to generate a corresponding control command.

S750단계에서는 통신부(204)가 분석부(202)를 통해 생성된 제어 명령을 데이터 처리 서버(100)로 전송한다.In step S750, the communication unit 204 transmits the control command generated through the analysis unit 202 to the data processing server 100.

S760단계에서는 제어부(203)가 해당 엔드포인트 노드(200)를 슬레이브 노드(220)로 동작하게 제어한다.In step S760, the control unit 203 controls the corresponding endpoint node 200 to operate as a slave node 220.

S770단계에서는 센서부(201)가 검출한 현재 상태에 대한 현재 상태 데이터를 통신부(204)를 통해 데이터 처리 서버(100)로 전송하고, 통신부(204)를 통해 수신한 제어 명령에 따라 제어부(203)가 슬레이브 노드(220)를 제어한다.In step S770, the current state data for the current state detected by the sensor unit 201 is transmitted to the data processing server 100 through the communication unit 204, and the control unit 203 according to the control command received through the communication unit 204. ) Controls the slave node 220.

상술한 본 발명의 실시 예들은 식물 재배용 온실의 환경제어 장치, 스마트 팩토리 및 loT 엔드포인트 노드 데이터 처리 시스템.에 구현될 수 있다.The above-described embodiments of the present invention may be implemented in an environment control device, a smart factory, and a loT endpoint node data processing system of a greenhouse for plant cultivation.

이상에서 본 발명에 따른 실시 예들이 설명되었으나, 이는 예시적인 것에 불과하며, 본 발명의 속하는 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 범위의 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 다음의 청구범위에 의해서 정해져야 할 것이다.Although embodiments according to the present invention have been described above, this is only exemplary, and those skilled in the art to which the present invention pertains will appreciate that various modifications and equivalent ranges of embodiments are possible. . Therefore, the true technical protection scope of the present invention should be defined by the following claims.

100 : 데이터 처리 서버 200 : 엔드포인트 노드100: data processing server 200: endpoint node

Claims (20)

마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드와 연결된 데이터 처리 서버에 있어서,
상기 슬레이브 노드가 전송한 현재 상태 데이터를 상기 마스터 노드로 전송하고, 상기 마스터 노드가 전송한 상기 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 제어 명령을 상기 슬레이브 노드로 전송하는 통신부;
상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 최대 상기 슬레이브 노드 수가 저장된 저장부; 및
상기 마스터 노드의 상태를 체크하고, 상기 현재 상태 데이터에 대한 연산과 상기 연산한 결과에 상응하는 상기 제어 명령을 전송할 수 있는 마스터 권한을 상기 엔드포인트 노드 중 적어도 어느 하나에 부여 또는 박탈하는 마스터 권한 명령을 생성하며, 상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 상기 슬레이브 노드 수가 상기 저장부에 저장된 상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 최대 상기 슬레이브 노드 수를 넘은 상태인 경우, 상기 슬레이브 노드 중 어느 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 상기 통신부를 통해 전송하게 하고, 상기 마스터 노드가 연산해야 하는 상기 통신부를 통해 연결된 상기 슬레이브 노드 수를 분배하는 판단부;를 포함하는 것
을 특징으로 하는 데이터 처리 서버.
In the data processing server connected to a plurality of endpoint nodes consisting of a master node and a slave node,
A communication unit transmitting the current state data transmitted by the slave node to the master node, and transmitting a control command corresponding to a result calculated based on the current state data transmitted by the master node to the slave node;
A storage unit storing the maximum number of the slave nodes connected through the communication unit to which the master node must calculate; And
A master authority command that checks the status of the master node and grants or deprives at least one of the endpoint nodes the master authority to transmit the control command corresponding to the operation on the current state data and the result of the operation. When the number of the slave nodes connected through the communication unit to be calculated by the master node exceeds the maximum number of slave nodes connected through the communication unit to be calculated by the master node stored in the storage unit, the slave And a determining unit configured to transmit the master authority command granting the master authority to any one of the nodes through the communication unit, and to distribute the number of slave nodes connected through the communication unit to which the master node should operate.
Data processing server, characterized in that.
마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드와 연결된 데이터 처리 서버에 있어서,
상기 슬레이브 노드가 전송한 현재 상태 데이터를 상기 마스터 노드로 전송하고, 상기 마스터 노드가 전송한 상기 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 제어 명령을 상기 슬레이브 노드로 전송하는 통신부; 및
상기 마스터 노드의 상태를 체크하고, 상기 현재 상태 데이터에 대한 연산과 상기 연산한 결과에 상응하는 상기 제어 명령을 전송할 수 있는 마스터 권한을 상기 엔드포인트 노드 중 적어도 어느 하나에 부여 또는 박탈하는 마스터 권한 명령을 생성하는 판단부;를 포함하되,
상기 판단부는 과거 상기 마스터 노드의 상태가 정상일 때 응답속도의 평균값 및 정규분포를 토대로 계산한 확률밀도함수와 최근 상기 마스터 노드의 작동 시점의 응답속도의 평균값과 정규분포를 토대로 계산한 확률밀도함수의 교차영역의 면적을 계산하여 상기 면적이 일정수준 이하로 떨어질 경우 상기 마스터 노드의 상기 마스터 권한을 박탈하는 것으로 판단하는 머신러닝 알고리즘을 이용하여 상기 마스터 권한 명령을 생성하는 것
을 특징으로 하는 데이터 처리 서버.
In the data processing server connected to a plurality of endpoint nodes consisting of a master node and a slave node,
A communication unit transmitting the current state data transmitted by the slave node to the master node, and transmitting a control command corresponding to a result calculated based on the current state data transmitted by the master node to the slave node; And
A master authority command that checks the status of the master node and grants or deprives at least one of the endpoint nodes the master authority to transmit the control command corresponding to the operation on the current state data and the result of the operation. Includes a determination unit for generating;
The determination unit includes a probability density function calculated based on an average value and a normal distribution of the response speed when the state of the master node is normal in the past, and a probability density function calculated based on an average value and a normal distribution of the response speed at the time of operation of the master node in the past. Generating the master authority command using a machine learning algorithm that calculates the area of the crossing area and determines that the master authority is deprived of the master node when the area falls below a certain level.
Data processing server, characterized in that.
제1항 또는 제2항에 있어서,
상기 판단부가 상기 마스터 노드의 상태가 정상이 아닌 것으로 판단한 경우,
상기 판단부는 상기 통신부를 통해 상기 마스터 권한을 박탈하는 상기 마스터 권한 명령을 상기 마스터 노드로 전송하게 하여 상기 마스터 노드의 상기 마스터 권한을 박탈해 상기 슬레이브 노드로 변경하고, 상기 복수의 슬레이브 노드 중 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 상기 통신부를 통해 전송하게 하는 것
을 특징으로 하는 데이터 처리 서버.
The method according to claim 1 or 2,
When the determination unit determines that the state of the master node is not normal,
The determining unit transmits the master authority command that deprives the master authority through the communication unit to the master node, thereby depriving the master authority of the master node and changing it to the slave node, to one of the plurality of slave nodes. Sending the master authority command to grant the master authority through the communication unit
Data processing server, characterized in that.
삭제delete 데이터 처리 서버와 연결된 마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드에 있어서,
상기 데이터 처리 서버로부터 마스터 권한 명령을 수신하는 통신부;
상기 마스터 권한 명령 수신 여부 및 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여 또는 박탈하는 것인지 분석하는 분석부;
현재 상태를 검출하는 센서부; 및
상기 분석부에서 분석한 결과에 상응하여 상기 엔드포인트 노드를 상기 마스터 노드 또는 상기 슬레이브 노드로 동작하게 제어하는 제어부;를 포함하되,
상기 제어부는 상기 분석부가 상기 마스터 권한 명령을 수신 받지 않거나 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 박탈하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 슬레이브 노드로 동작하게 제어하고, 상기 제어부는 상기 분석부가 상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 마스터 노드로 동작하게 제어하며,
상기 제어부가 상기 슬레이브 노드로 동작하게 제어하는 것은, 상기 통신부를 통해 상기 센서부가 검출한 상기 현재 상태에 대한 현재 상태 데이터를 상기 데이터 처리 서버로 전송하게 하는 것이고,
상기 제어부가 상기 마스터 노드로 동작하게 제어하는 것은, 상기 분석부가 상기 통신부를 통해 수신받은 상기 데이터 처리 서버로부터 전송된 상기 슬레이브 노드의 상기 현재 상태 데이터를 바탕으로 연산하고, 상기 연산결과에 상응하는 제어 명령을 생성하게 하는 한편, 상기 통신부를 통해 상기 제어 명령을 상기 데이터 처리 서버로 전송하게 하는 것인 것
을 특징으로 하는 엔드포인트 노드.
In a plurality of endpoint nodes consisting of a master node and a slave node connected to the data processing server,
A communication unit receiving a master authority command from the data processing server;
An analysis unit for analyzing whether the master authority command is received and whether the received master authority command grants or deprives the master authority;
A sensor unit for detecting a current state; And
Includes a control unit for controlling the endpoint node to operate as the master node or the slave node in accordance with the analysis results from the analysis unit;
The controller controls the endpoint node to operate as the slave node when the analysis unit does not receive the master authority command or determines that the received master authority command is depriving the master authority, and the controller controls the analysis unit When it is determined that the received master authority command grants the master authority, the endpoint node is controlled to operate as the master node,
Controlling the control unit to operate as the slave node is to transmit the current state data for the current state detected by the sensor unit through the communication unit to the data processing server,
Controlling the control unit to operate as the master node is performed by the analysis unit based on the current state data of the slave node transmitted from the data processing server received through the communication unit, and control corresponding to the calculation result On the other hand, to generate a command, to transmit the control command to the data processing server through the communication unit
Endpoint node characterized by.
삭제delete 삭제delete 마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드와 연결된 데이터 처리 서버가 데이터를 처리하는 방법에 있어서,
현재 상태 데이터에 대한 연산과 상기 연산한 결과에 상응하는 제어 명령을 전송할 수 있는 마스터 권한을 부여하는 마스터 권한 명령을 상기 복수의 엔드포인트 노드 중 적어도 어느 하나에 전송해 상기 마스터 노드로 설정하는 단계;
상기 슬레이브 노드가 전송한 현재 상태 데이터를 상기 마스터 노드로 전송하는 단계;
상기 마스터 노드가 전송한 상기 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 상기 제어 명령을 상기 슬레이브 노드로 전송하는 단계; 및
상기 마스터 노드의 상태를 체크하는 단계;를 포함하되,
상기 데이터 처리 서버는 상기 마스터 노드에 연결된 상기 슬레이브 노드 수가 상기 마스터 노드에 연결되는 최대 상기 슬레이브 노드 수를 넘은 상태인 경우, 상기 슬레이브 노드 중 어느 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 전송하고, 상기 마스터 노드에 연결되는 상기 슬레이브 노드를 분배하는 것
을 특징으로 하는 데이터 처리 방법.
A method for processing data by a data processing server connected to a plurality of endpoint nodes composed of a master node and a slave node,
Setting a master authority command to grant at least one of the plurality of endpoint nodes to the master node by giving a master authority to transmit a control command corresponding to an operation on the current state data and a result of the operation;
Transmitting the current state data transmitted by the slave node to the master node;
Transmitting the control command corresponding to a result calculated based on the current state data transmitted by the master node to the slave node; And
Including the step of checking the state of the master node;
When the number of slave nodes connected to the master node exceeds the maximum number of slave nodes connected to the master node, the data processing server transmits the master authority command granting the master authority to any one of the slave nodes. And distributing the slave node connected to the master node
Data processing method characterized in that.
마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드와 연결된 데이터 처리 서버가 데이터를 처리하는 방법에 있어서,
현재 상태 데이터에 대한 연산과 상기 연산한 결과에 상응하는 제어 명령을 전송할 수 있는 마스터 권한을 부여하는 마스터 권한 명령을 상기 복수의 엔드포인트 노드 중 적어도 어느 하나에 전송해 상기 마스터 노드로 설정하는 단계;
상기 슬레이브 노드가 전송한 현재 상태 데이터를 상기 마스터 노드로 전송하는 단계;
상기 마스터 노드가 전송한 상기 현재 상태 데이터를 바탕으로 연산한 결과에 상응하는 상기 제어 명령을 상기 슬레이브 노드로 전송하는 단계; 및
상기 마스터 노드의 상태를 체크하는 단계;를 포함하되,
상기 데이터 처리 서버는 과거 상기 마스터 노드의 상태가 정상일 때 응답속도의 평균값 및 정규분포를 토대로 계산한 확률밀도함수와 최근 상기 마스터 노드의 작동 시점의 응답속도의 평균값과 정규분포를 토대로 계산한 확률밀도함수의 교차영역의 면적을 계산하여 상기 면적이 일정수준 이하로 떨어질 경우 상기 마스터 노드의 상기 마스터 권한을 박탈하는 것으로 판단하는 머신러닝 알고리즘을 이용하여 상기 마스터 권한 명령을 생성하는 것
을 특징으로 하는 데이터 처리 방법.
A method for processing data by a data processing server connected to a plurality of endpoint nodes composed of a master node and a slave node,
Setting a master authority command to grant at least one of the plurality of endpoint nodes to the master node to grant a master authority to transmit an operation command for a current state data and a control command corresponding to the calculated result;
Transmitting the current state data transmitted by the slave node to the master node;
Transmitting the control command corresponding to a result calculated based on the current state data transmitted by the master node to the slave node; And
Including the step of checking the state of the master node;
The data processing server calculates the probability density function calculated based on the average value and normal distribution of the response speed when the status of the master node is normal in the past, and the probability density calculated based on the average value and normal distribution of the response speed at the time of operation of the master node. Generating the master authority command using a machine learning algorithm that calculates the area of the intersection of the function and determines that the master authority is deprived of the master node when the area falls below a certain level
Data processing method characterized in that.
제8항 또는 제9항에 있어서,
상기 데이터 처리 서버는 상기 마스터 노드의 상태를 체크하여 상기 마스터 노드가 정상이 아닌 것으로 판단한 경우, 상기 마스터 노드의 상기 마스터 권한을 박탈하는 상기 마스터 권한 명령을 전송해 상기 마스터 노드를 상기 슬레이브 노드로 변경하고, 상기 복수의 슬레이브 노드 중 하나에 상기 마스터 권한을 부여하는 상기 마스터 권한 명령을 전송하는 것
을 특징으로 하는 데이터 처리 방법.
The method of claim 8 or 9,
When the data processing server determines that the master node is not normal by checking the state of the master node, the master processing command is sent to the master node to deprive the master authority of the master node, thereby changing the master node to the slave node. And transmitting the master authority command granting the master authority to one of the plurality of slave nodes.
Data processing method characterized in that.
삭제delete 데이터 처리 서버와 연결된 마스터 노드 및 슬레이브 노드로 구성된 복수의 엔드포인트 노드가 데이터를 처리하는 방법에 있어서,
상기 데이터 처리 서버로부터 마스터 권한 명령을 수신하는 단계;
상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여 또는 박탈하는 것인지 분석하는 단계; 및
상기 분석한 마스터 권한 명령에 따라 상기 엔드포인트 노드를 상기 마스터 노드 또는 상기 슬레이브 노드로 동작하게 제어하는 단계;를 포함하되,
상기 수신한 마스터 권한 명령이 상기 마스터 권한을 부여하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 마스터 노드로 동작하게 제어하며,
상기 마스터 노드로 동작하게 제어하는 것은, 상기 데이터 처리 서버로부터 수신된 상기 슬레이브 노드의 현재 상태 데이터를 바탕으로 연산하고, 상기 연산결과에 상응하는 제어 명령을 생성하는 한편, 상기 제어 명령을 상기 데이터 처리 서버로 전송하게 하는 것인 것
을 특징으로 하는 데이터 처리 방법.
A method for processing data by a plurality of endpoint nodes composed of a master node and a slave node connected to a data processing server,
Receiving a master authorization command from the data processing server;
Analyzing whether the received master authority command grants or deprives the master authority; And
Including the step of controlling the endpoint node to operate as the master node or the slave node according to the analyzed master authority command;
When it is determined that the received master authority command grants the master authority, the endpoint node is controlled to operate as the master node,
Controlling to operate as the master node calculates based on the current state data of the slave node received from the data processing server, generates a control command corresponding to the calculation result, and processes the control command to the data To send it to the server
Data processing method characterized in that.
제12항에 있어서,
수신한 마스터 권한 명령이 상기 마스터 권한을 박탈하는 것으로 판단한 경우 상기 엔드포인트 노드를 상기 슬레이브 노드로 동작하게 제어하되,
상기 슬레이브 노드로 동작하게 제어하는 것은, 현재 상태 데이터를 상기 데이터 처리 서버로 전송하게 하는 것인 것
을 특징으로 하는 데이터 처리 방법.
The method of claim 12,
If it is determined that the received master authority command deprives the master authority, the endpoint node is controlled to operate as the slave node,
Controlling to operate as the slave node is to transmit current state data to the data processing server.
Data processing method characterized in that.
삭제delete 제8항 및 제9항 중 어느 한 항의 데이터 처리 방법을 이용한 스마트팜.
A smart farm using the data processing method of any one of claims 8 and 9.
제8항 및 제9항 중 어느 한 항의 데이터 처리 방법을 이용한 스마트 팩토리.
A smart factory using the data processing method of any one of claims 8 and 9.
제8항 및 제9항 중 어느 한 항의 데이터 처리 방법을 이용한 loT 엔드포인트 노드 데이터 처리 시스템.
10. A loT endpoint node data processing system using the data processing method of any one of claims 8 and 9.
제12항 및 제13항 중 어느 한 항의 데이터 처리 방법을 이용하는 스마트팜.
A smart farm using the data processing method of any one of claims 12 and 13.
제12항 및 제13항 중 어느 한 항의 데이터 처리 방법을 이용하는 스마트 팩토리.
A smart factory using the data processing method of any one of claims 12 and 13.
제12항 및 제13항 중 어느 한 항의 데이터 처리 방법을 이용하는 loT 엔드포인트 노드 데이터 처리 시스템.
A loT endpoint node data processing system using the data processing method of any one of claims 12 and 13.
KR1020200063129A 2020-05-26 2020-05-26 Data processing server and method KR102139928B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200063129A KR102139928B1 (en) 2020-05-26 2020-05-26 Data processing server and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200063129A KR102139928B1 (en) 2020-05-26 2020-05-26 Data processing server and method

Publications (1)

Publication Number Publication Date
KR102139928B1 true KR102139928B1 (en) 2020-07-31

Family

ID=71834871

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200063129A KR102139928B1 (en) 2020-05-26 2020-05-26 Data processing server and method

Country Status (1)

Country Link
KR (1) KR102139928B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230065131A (en) * 2021-11-04 2023-05-11 모비두 주식회사 Data processing system in live commerce

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130038147A (en) * 2011-10-08 2013-04-17 브로드콤 코포레이션 Social network device communication resource allocation
KR101525811B1 (en) * 2014-03-28 2015-06-09 유틸라이팅(주) System and method for upgrading firmware in wireless sensor network
KR20160048432A (en) * 2014-10-24 2016-05-04 주식회사 엘지유플러스 Method for closing a gas valve remotely, and remote controlling server and mobilterminal therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130038147A (en) * 2011-10-08 2013-04-17 브로드콤 코포레이션 Social network device communication resource allocation
KR101525811B1 (en) * 2014-03-28 2015-06-09 유틸라이팅(주) System and method for upgrading firmware in wireless sensor network
KR20160048432A (en) * 2014-10-24 2016-05-04 주식회사 엘지유플러스 Method for closing a gas valve remotely, and remote controlling server and mobilterminal therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230065131A (en) * 2021-11-04 2023-05-11 모비두 주식회사 Data processing system in live commerce
KR102620994B1 (en) 2021-11-04 2024-01-05 모비두 주식회사 Data processing system in live commerce

Similar Documents

Publication Publication Date Title
US5581478A (en) Facility environmental control system
US7315768B2 (en) Remote monitoring and servicing of computer data centers
CA2514170C (en) Integrated control system to control addressable remote devices
US7953419B2 (en) Method for integration of network nodes
US20130053988A1 (en) Monitoring system and operating method thereof
KR102139928B1 (en) Data processing server and method
US20050076255A1 (en) Rack equipment management system and method
KR20110079483A (en) Ubiquitous plant factory environmental control system
KR102042690B1 (en) Edge-cloud system for auto controlling of IOT devices
KR102077175B1 (en) Server, air conditioner and method for controlling thereof
KR20190123915A (en) Virtual environment control device for integration and distribution control through virtualization of multiple environment control devices (or iot sensor nodes) and a system for generating the same
KR102630770B1 (en) Intelligent smart farm management apparatus and system thereof
KR102130464B1 (en) System for managing building with smart user orientation
KR102503776B1 (en) Smart cabinet for high-density data center server and its operation method
KR101354932B1 (en) Ubiquitous Sensor Network complex sensor communication apparatus and Plag and Play control method thereof
KR20070107324A (en) Air conditioner system and its operating method
KR20100002685A (en) Apparatus and system for controlling indoor environment
KR20160066434A (en) System and method for controlling a plant factory
KR20200079368A (en) Cloud based smart livestock system and method using LoRa network
KR102600416B1 (en) Smart Card-based Object History Management Method
KR102318681B1 (en) System for remote controlling smart farm
KR102569470B1 (en) Information management system of sensor network based on micro block chain
JP7438465B1 (en) Control devices, control systems, equipment control methods and programs
KR102646716B1 (en) Smart farm service management method through linkage analysis between distributed AI services and electronic device providing smart farm service
US20230231700A1 (en) Method for Managing Keys of a Security Group

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant