KR101501926B1 - Apparatus and Method for Controlling Transmission of Message, and Recording Medium Using the Same - Google Patents
Apparatus and Method for Controlling Transmission of Message, and Recording Medium Using the Same Download PDFInfo
- Publication number
- KR101501926B1 KR101501926B1 KR20130130283A KR20130130283A KR101501926B1 KR 101501926 B1 KR101501926 B1 KR 101501926B1 KR 20130130283 A KR20130130283 A KR 20130130283A KR 20130130283 A KR20130130283 A KR 20130130283A KR 101501926 B1 KR101501926 B1 KR 101501926B1
- Authority
- KR
- South Korea
- Prior art keywords
- request message
- received
- local controller
- message
- communication unit
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
Abstract
Description
본 발명은 메시지 중계 제어 장치 및 방법과 이를 이용한 기록 매체에 관한 것이다. 보다 상세하게는, 본 발명은 공장이나 빌딩 등에 존재하는 각 지역 제어기로부터 데이터를 요청하는 이종 시스템이 존재할 때, 이종 시스템의 효율을 향상시키기 위한 메시지 중계 제어 장치 및 방법과 이를 이용한 기록 매체에 관한 것이다.The present invention relates to a message relay control apparatus and method, and a recording medium using the same. More particularly, the present invention relates to a message relay control apparatus and method for improving the efficiency of a heterogeneous system when there is a heterogeneous system for requesting data from each local controller existing in a factory or a building, and a recording medium using the same .
최근 빌딩은 이전과는 달리 조명, 난방, 공조, 소방, 보안 등의 여러 시스템을 통제하는 설비 제어망(Control Network)를 통하여 관리되는 경우가 증가하고 있다.Recently, buildings are increasingly managed through a control network that controls various systems such as lighting, heating, air conditioning, fire protection, and security.
설비 제어망은 건물 내 열 장소에 나누어져 있는 각종 제어 장치들과 설비 제어 프로토콜을 이용하여 통신을 수행하며, 건물 내 제어 장치들과 메시지 송수신을 수행한다. 이러한 과정은 일반적으로 중앙 제어실에서 모니터링 및 제어가 가능하다.The facility control network performs communication using various control devices and equipment control protocols that are divided in a heat place in the building, and performs transmission and reception of messages with control devices in the building. This process is typically monitored and controlled in the central control room.
이러한 설비 제어망 시스템을 운영하기 위해서 사용되는 빌딩 분야의 프로토콜로는 BACnet, KNX, LonTalk 등이 존재한다. 최근에는 빌딩 내 에너지 관리 측면 등 다양한 이유를 이유로, 기존 빌딩에 설치된 제1 시스템과는 상이한 제2 시스템을 추가하는 경우가 증가하고 있다.BACnet, KNX, LonTalk, etc. exist in the field of the building sector used for operating the facility control network system. Recently, a second system different from the first system installed in an existing building is increasingly added for various reasons such as energy management in buildings.
예를 들면, 기존에 존재하는 제1 시스템인 건물 자동화 시스템(BAS, Building Automation System)에 제2 시스템으로 빌딩 에너지를 관리하고자 하는 BEMS(Building Energy Management) 시스템을 추가하는 경우가 될 수 있다.For example, a BEMS (Building Energy Management) system for managing building energy as a second system may be added to a building automation system (BAS), which is a first existing system.
제1 시스템이 네트워크를 점유하고 구동되고 있는 상황에서 제2 시스템을 추가하는 경우 몇 가지 문제점이 발생할 수 있다.Some problems may arise when adding the second system in a situation where the first system occupies and drives the network.
이러한 문제점을 도 1 및 2를 참조하여 설명한다.This problem will be described with reference to FIGS. 1 and 2. FIG.
도 1은 기존 설비 제어 시스템에 관한 블록도이다.1 is a block diagram of an existing facility control system.
도 1을 참조하면, 제1 지역 제어기(21), 제2 지역 제어기(22) 및 제3 지역 제어기(23) 등 하나 이상의 지역 제어기를 포함하는 각 지역 제어기(20)가 존재하고, 각 지역 제어기(20)에 정보를 요청하는 요청 메시지를 발신하는 제1 시스템(10)이 존재한다.Referring to FIG. 1, there is a respective local controller 20 including one or more local controllers such as a first
도 1과 같이 제1 시스템(10)이 존재하고 있는 상황에서, 제2 시스템이 추가되는 경우는 도 2와 같다.The case where the
도 2는 기존 설비 제어 시스템에 제2 시스템이 추가된 시스템에 관한 블록도이다.2 is a block diagram of a system in which a second system is added to an existing facility control system.
도 2를 참조하면, 데이터를 수집하는 데이터 수집기(33) 및 데이터를 분석하는 데이터 분석기(31)를 포함하는 제2 시스템(30)이 도 1에 추가된 것을 볼 수 있다.Referring to FIG. 2, a
제2 시스템(30)은 기존 제1 시스템(10)이 정보의 송수신을 위하여 이용하는 망을 이용하여 지역 제어기로부터 필요한 정보를 요청하고 수신한다.The
도 2와 같은 상황에서, 기존에는 제2 시스템에서 발신되는 요청 메시지가 임의의 시점에 제1 시스템이 이용하는 네트워크 망으로 주입되었다. 이러한 기존 방식은 주입된 제2 시스템의 요청 메시지가 제1 시스템의 성능에 문제를 일으키는 경우가 빈번하게 존재하였다.In the situation shown in FIG. 2, a request message originated from the second system has been injected into a network used by the first system at a certain point in time. In this conventional method, the request message of the injected second system frequently causes a problem in the performance of the first system.
즉, 제2 시스템의 요청 메시지가 제1 시스템의 요청 메시지 전송을 방해하여 데이터 수집 주기에 영향을 주며, 데이터의 손실 등 시스템의 성능을 떨어트리는 문제점이 존재하였다.That is, the request message of the second system interferes with the transmission of the request message of the first system, thereby affecting the data collection period, and there is a problem that the performance of the system such as data loss is deteriorated.
따라서, 이러한 문제점을 해결하기 위한 방안이 필요하다.Therefore, a solution for solving such a problem is needed.
본 발명이 해결하고자 하는 기술적 과제는, 공장이나 빌딩 등에 존재하는 각 지역 제어기로부터 데이터를 요청하는 이종 시스템이 존재할 때, 데이터를 요청하는 메시지의 잉여 요청 메시지인지 여부 및 드롭 확률을 이용하여 이종 시스템의 효율을 향상시키기 위한 메시지 중계 제어 장치 및 방법을 제공하는 것이다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a system and a method for controlling a heterogeneous system by using a drop probability and whether or not a redundancy request message of a message requesting data exists when a heterogeneous system for requesting data from each local controller existing in a factory, And to provide a message relay control apparatus and method for improving efficiency.
또한, 본 발명이 해결하고자 하는 기술적 과제는, 이종 시스템 중 성능이 우선시 보장되어야 하는 시스템이 존재하는 경우, 시스템의 성능 보장 및 안정적 동작을 확보함과 동시에 다른 시스템도 효율적으로 활용할 수 있는 메시지 중계 제어 장치 및 방법을 제공하는 것이다.It is another object of the present invention to provide a system and method for securing the performance of a system and ensuring stable operation of the system, Apparatus and method.
본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해 될 수 있을 것이다.The technical objects of the present invention are not limited to the above-mentioned technical problems, and other technical subjects not mentioned can be clearly understood by those skilled in the art from the following description.
상기 기술적 과제를 달성하기 위한 본 발명의 제1 태양(ASPECT)에 따른 메시지 중계 제어 장치는, 제1 시스템이 지역 제어기에 정보를 요청하는 제1 요청 메시지를 상기 제1 시스템으로부터 수신하는 제1 통신부; 제2 시스템이 상기 지역 제어기에 정보를 요청하는 제2 요청 메시지를 상기 제2 시스템으로부터 수신하는 제2 통신부; 상기 제1 요청 메시지 또는 상기 제2 요청 메시지를 상기 지역 제어기로 전송하는 제3 통신부; 상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지가 아닌 경우에는 상기 제3 통신부를 통하여 상기 지역 제어기로 상기 수신된 제1 요청 메시지를 전송하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우에는 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는 전송 제어부를 포함할 수 있다.According to a first aspect of the present invention, there is provided a message relay control apparatus comprising a first communication unit for receiving a first request message for requesting information from a first system from a first system, ; A second communication unit for receiving from the second system a second request message for requesting information from the second system to the local controller; A third communication unit for transmitting the first request message or the second request message to the local controller; The method of claim 1, further comprising: determining whether the received first request message is a redundant request message according to a predefined time; if the received first request message is not the redundant request message, And a transmission controller for transmitting the first request message and the received second request message to the area controller through the third communication unit when the received first request message is the redundancy request message .
상기 전송 제어부는, 상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단한 후, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우, 난수를 발생시켜 기 설정된 드롭 확률과 비교하여 상기 수신된 제1 요청 메시지의 드롭 여부를 결정하고, 상기 수신된 제1 요청 메시지를 드롭하는 것으로 결정된 경우에만, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송할 수 있다.Wherein the transmission control unit determines whether the received first request message is a redundant request message according to a predetermined rule and then generates a random number when the received first request message is the redundant request message, Determines whether to drop the received first request message, and transmits the received second request message to the area controller through the third communication unit only when it is determined to drop the received first request message .
상기 전송 제어부는, 상기 수신된 제1 요청 메시지를 드롭하지 않는 것으로 결정된 경우, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하지 않고, 상기 드롭되지 않은 제1 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송할 수 있다.Wherein the transmission control unit does not transmit the received second request message to the local controller through the third communication unit when it is determined not to drop the received first request message, To the local controller through the third communication unit.
상기 메시지 중계 제어 장치는, 상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 메시지 저장부를 더 포함하고, 상기 메시지 저장부에 저장된 상기 제2 요청 메시지의 양이 증가하면 상기 기 설정된 드롭 확률이 증가할 수 있다.Wherein the message relay control apparatus further comprises a message storage unit for storing a second request message that can not be transmitted to the local controller among the received second request message, wherein the amount of the second request message stored in the message storage unit The predetermined drop probability can be increased.
상기 제3 통신부는, 상기 제1 요청 메시지 및 상기 제2 요청 메시지를 동시에 상기 지역 제어기로 전송하지 않는 것을 특징으로 할 수 있다.The third communication unit does not transmit the first request message and the second request message to the local controller at the same time.
상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 메시지 저장부를 더 포함할 수 있다.And a message storage unit for storing a second request message that can not be transmitted to the local controller among the received second request message.
상기 기 설정된 바에 따른 잉여 요청 메시지는, 기 설정된 시간 동안 기 설정된 횟수 이상 반복 요청 되는 경우, 상기 요청 메시지의 종류 및 상기 요청 메시지의 컨텍스트 중 적어도 어느 하나를 고려하여 설정된 것을 특징으로 할 수 있다.The reassignment request message may be set according to at least one of the type of the request message and the context of the request message when the request message is repeatedly requested for a predetermined number of times or more for a predetermined period of time.
상기 기술적 과제를 달성하기 위한 본 발명의 제2 태양(ASPECT)에 따른 컴퓨터로 읽을 수 있는 기록 매체는, 제1 시스템이 지역 제어기에 정보를 요청하는 제1 요청 메시지를 상기 제1 시스템으로부터 수신하는 과정; 제2 시스템이 상기 지역 제어기에 정보를 요청하는 제2 요청 메시지를 상기 제2 시스템으로부터 수신하는 과정; 상기 제1 요청 메시지 또는 상기 제2 요청 메시지를 상기 지역 제어기로 전송하는 과정; 및 상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지가 아닌 경우에는 상기 제3 통신부를 통하여 상기 지역 제어기로 상기 수신된 제1 요청 메시지를 전송하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우에는 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는 과정을 수행하는 프로그램을 기록할 수 있다.According to a second aspect of the present invention, there is provided a computer readable recording medium having a first system for receiving a first request message from a first system for requesting information from a local controller, process; Receiving a second request message from the second system requesting information from the second system; Transmitting the first request message or the second request message to the local controller; And determining whether the received first request message is a redundant request message according to a predetermined rule, and, if the received first request message is not the redundant request message, And transmitting the received second request message to the area controller through the third communication unit when the received first request message is the redundancy request message, Can be recorded.
상기 기술적 과제를 달성하기 위한 본 발명의 제3 태양(ASPECT)에 따른 메시지 중계 제어 방법은, 제1 통신부가 제1 시스템이 지역 제어기에 정보를 요청하는 제1 요청 메시지를 상기 제1 시스템으로부터 수신하는 (a) 단계;According to a third aspect of the present invention, there is provided a message relay control method in which a first communication unit receives a first request message from a first system for requesting information from a first controller (A);
제2 통신부가 제2 시스템이 상기 지역 제어기에 정보를 요청하는 제2 요청 메시지를 상기 제2 시스템으로부터 수신하는 (b) 단계:(B) the second communication unit receives from the second system a second request message in which the second system requests information from the local controller;
제3 통신부가 상기 제1 요청 메시지 또는 상기 제2 요청 메시지를 상기 지역 제어기로 전송하고, 상기 지역 제어기로부터 데이터를 수신하는 (c) 단계;(C) transmitting, by the third communication unit, the first request message or the second request message to the local controller and receiving data from the local controller;
상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지가 아닌 경우에는 상기 제3 통신부를 통하여 상기 지역 제어기로 상기 수신된 제1 요청 메시지를 전송하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우에는 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는 (d) 단계를 포함할 수 있다.The method of claim 1, further comprising: determining whether the received first request message is a redundant request message according to a predefined time; if the received first request message is not the redundant request message, (D) transmitting the first request message and, if the received first request message is the redundancy request message, transmitting the received second request message to the area controller through the third communication unit .
상기 (d) 단계는, 상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단한 후, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우, 난수를 발생시켜 기 설정된 드롭 확률과 비교하여 상기 수신된 제1 요청 메시지의 드롭 여부를 결정하는 단계를 포함하며 상기 수신된 제1 요청 메시지를 드롭하는 것으로 결정된 경우, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송할 수 있다.In step (d), it is determined whether or not the received first request message is a redundant request message according to a predefined limit. If the received first request message is the redundant request message, a random number is generated, Determining whether to drop the received first request message by comparing the received first request message with a probability, and when it is determined to drop the received first request message, transmitting the received second request message through the third communication unit Can be transmitted to the local controller.
상기 (d) 단계는, 상기 수신된 제1 요청 메시지를 드롭하지 않는 것으로 결정된 경우, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하지 않고, 상기 드롭되지 않은 제1 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송할 수 있다.Wherein, in the step (d), when it is determined not to drop the received first request message, the received second request message is not transmitted to the local controller through the third communication unit, And transmit the request message to the local controller through the third communication unit.
상기 메시지 중계 제어 방법은, 상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 단계를 더 포함하고, 상기 메시지를 저장하는 단계에서 저장된 상기 제2 요청 메시지의 양이 증가하면 상기 기 설정된 드롭 확률이 증가할 수 있다.Wherein the message relay control method further comprises storing a second request message which is not transmitted to the local controller among the received second request message, The preset drop probability can be increased.
상기 제3 통신부는, 상기 제1 요청 메시지 및 상기 제2 요청 메시지를 동시에 상기 지역 제어기로 전송하지 않는 것을 특징으로 할 수 있다.The third communication unit does not transmit the first request message and the second request message to the local controller at the same time.
상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 단계를 더 포함할 수 있다.And storing a second request message that is not transmitted to the local controller among the received second request message.
본 발명은 이종 시스템의 효율을 향상시킬 수 있다.The present invention can improve the efficiency of heterogeneous systems.
또한, 본 발명은 이종 시스템 중 성능이 우선시 보장되어야 하는 시스템이 존재하는 경우, 성능이 보장되어야 하는 시스템의 성능 보장 및 안정적 동작을 확보할 수 있으며, 동시에 다른 시스템도 효율적으로 활용할 수 있다.In addition, in the present invention, when there is a system in which the performance of the heterogeneous system should be guaranteed in the priority, it is possible to ensure the performance guarantee and stable operation of the system to guarantee the performance, and at the same time, other systems can be utilized efficiently.
도 1은 기존 설비 제어 시스템에 관한 블록도이다.
도 2는 기존 설비 제어 시스템에 제2 시스템이 추가된 시스템에 관한 블록도이다.
도 3은 본 발명의 일 실시예에 따른 메시지 중계 제어 장치가 적용된 시스템에 관한 블록도이다.
도 4는 본 발명의 일 실시예에 따른 메시지 중계 제어 장치에 관한 블록도이다.
도 5는 본 발명의 일 실시예에 따른 메시지 중계 제어 방법에 관한 순서도이다.1 is a block diagram of an existing facility control system.
2 is a block diagram of a system in which a second system is added to an existing facility control system.
3 is a block diagram of a system to which a message relay control apparatus according to an embodiment of the present invention is applied.
4 is a block diagram of a message relay control apparatus according to an embodiment of the present invention.
5 is a flowchart illustrating a message relay control method according to an embodiment of the present invention.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.
어떤 구성요소가 다른 구성요소에 “연결되어”있다거나 “접속되어”있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 “직접 연결되어”있다거나 “직접 접속되어”있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.
다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless defined otherwise, all terms (including technical and scientific terms) used herein may be used in a sense commonly understood by one of ordinary skill in the art to which this invention belongs. Also, commonly used predefined terms are not ideally or excessively interpreted unless explicitly defined otherwise.
본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함될 수 있다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.In this specification, a singular form may include plural forms unless specifically stated in the phrase. It is noted that the terms "comprises" and / or "comprising" used in the specification are intended to be inclusive in a manner similar to the components, steps, operations, and / Or additions.
본 발명은 기존에 존재하는 제1 시스템인 건물 자동화 시스템(BAS, Building Automation System)에 제2 시스템으로 빌딩 에너지를 관리하고자 하는 BEMS(Building Energy Management) 시스템을 추가하는 경우와 같이, 동일 네트워크 및 동일한 지역 제어기를 제어 및 관리하거나 동일한 지역 제어기에 정보를 요청하는 서로 다른 이종간의 시스템이 존재하는 시스템에 적용될 수 있다.The present invention can be applied to a building automation system (BAS), which is a first system existing in the past, as a second system, such as a BEMS (Building Energy Management) system for managing building energy, It can be applied to a system in which there are different disparate systems that control and manage the local controller or request information from the same local controller.
특히, 본 발명은 제1 시스템이 먼저 설비가 되어 있고, 제2 시스템이 후에 설비가 된 경우, 제2 시스템이 제1 시스템으로부터 데이터를 수집할 수도 있지만, 제1 시스템이 제2 시스템의 데이터 수집을 위한 인터페이스를 제공하지 않아서 제2 시스템이 직접 지역 제어기로부터 데이터를 수집해야 하는 경우에 보다 효율적으로 적용될 수 있다.Particularly, the present invention can be applied to the case where the first system is first equipped and the second system is later installed, the second system may collect data from the first system, So that the second system can be applied more efficiently when it has to collect data directly from the local controller.
지역 제어기는 온도 센서, 벨브, 제조 설비 등 각종 장치와 연결될 수 있으며, 제1 시스템 또는 제2 시스템이 요청 메시지를 통하여 요청하는 정보에 관한 데이터를 제공할 수 있다. 예를 들어, 지역 제어기는 제1 시스템 또는 제2 시스템이 발신한 특정 온도 센서의 값에 관한 정보를 요청하는 요청 메시지를 전송 받으면, 요청 메시지에 응답하여 해당 특정 온도 센서의 값에 관한 데이터를 제공할 수 있다. 지역 제어기는 제1 시스템 또는 제2 시스템에서 제어 또는 관리하거나 요청 메시지에 대한 응답 데이터를 제공할 수 있는 다양한 장치가 될 수도 있다.The local controller can be connected to various devices such as a temperature sensor, a valve, a manufacturing facility, and the like, and the first system or the second system can provide data on information requested through a request message. For example, when the local controller receives a request message requesting information on the value of a specific temperature sensor sent from the first system or the second system, the local controller provides data on the value of the specific temperature sensor in response to the request message can do. The local controller may be a variety of devices capable of controlling or managing in the first or second system or providing response data for the request message.
요청 메시지는 제1 시스템 또는 제2 시스템에 의하여 발신되는 메시지이며, 지역 제어기로부터 특정 정보를 요청하는 메시지를 의미 할 수 있다.The request message is a message transmitted by the first system or the second system, and may be a message requesting specific information from the local controller.
지역 제어기는 요청 메시지에 응답하여 응답 데이터를 제공할 수 있다. 즉, 응답 데이터란 요청 메시지가 요청한 정보에 대응되는 데이터를 의미할 수 있다.The local controller may provide the response data in response to the request message. That is, the response data may mean data corresponding to the information requested by the request message.
제1 시스템 또는 제2 시스템이 지역 제어기로 요청 메시지를 전송하고, 지역 제어기가 요청 메시지에 응답한 데이터를 제1 시스템 또는 제2 시스템으로 전송하는 것은 본 발명에 따른 메시지 중계 제어 장치에 의하여 제어될 수 있다.The first system or the second system sends a request message to the local controller and the local controller transmits the data in response to the request message to the first system or the second system is controlled by the message relay control apparatus according to the present invention .
본 발명에 따른 메시지 중계 제어 장치에 관한 구체적인 설명은 도 3 내지 5를 참조하여 설명한다.A detailed description of the message relay control apparatus according to the present invention will be described with reference to Figs.
도 3은 본 발명의 일 실시예에 따른 메시지 중계 제어 장치가 적용된 시스템에 관한 블록도이다.3 is a block diagram of a system to which a message relay control apparatus according to an embodiment of the present invention is applied.
도 3을 참조하면, 본 발명의 일 실시예에 따른 메시지 중계 제어 장치(40)가 적용된 시스템(300)은 제1 시스템(10), 각 지역 제어기(20), 제2 시스템(30) 및 메시지 중계 제어 장치(40)를 포함할 수 있다.3, a system 300 to which a message
즉, 기존 기술인 도 2와 비교하면, 메시지 중계 제어 장치(40)가 포함되는 것이 특징임을 알 수 있다.That is, it can be seen that the message
본 발명에 따른 메시지 중계 제어 장치(40)는 제1 시스템(10)이 발신하는 요청 메시지인 제1 요청 메시지를 수신하고, 제2 시스템(30)이 발신하는 요청 메시지인 제2 요청 메시지를 수신한다.The message
또한, 본 발명에 따른 메시지 중계 제어 장치(40)는 수신한 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단하고, 드롭 시킬 것인지 여부를 판단할 수 있다.In addition, the message
또한, 본 발명에 따른 메시지 중계 제어 장치(40)는 상기 잉여 요청 메시지인지 여부 및 드롭 시킬 것인지 여부에 따라서, 제1 요청 메시지를 각 지역 제어기(20)로 전송할 것인지, 제2 요청 메시지를 각 지역 제어기(20)로 전송할 것인지 여부를 결정할 수 있다.The message
본 발명에 따른 메시지 중계 제어 장치(40)에 관한 구체적인 설명은 도 4를 참조하여 설명한다.A detailed description of the message
도 4는 본 발명의 일 실시예에 따른 메시지 중계 제어 장치에 관한 블록도이다.4 is a block diagram of a message relay control apparatus according to an embodiment of the present invention.
도 4를 참조하면, 본 발명의 일 실시예에 따른 메시지 중계 제어 장치(40)는 제1 통신부(41), 제2 통신부(42), 전송 제어부(43), 메시지 저장부(44) 및 제3 통신부(45)를 포함할 수 있다.4, a message
제1 통신부(41)는 제1 시스템(10)이 지역 제어기에 정보를 요청하는 제1 요청 메시지를 상기 제1 시스템(10)으로부터 수신할 수 있다.The first communication unit 41 may receive a first request message from the
또한, 제1 통신부(41)는 제1 요청 메시지에 대한 응답 데이터를 각 지역 제어기(20)로부터 수신하면, 수신된 응답 데이터를 제1 시스템(10)으로 전송할 수도 있다.Also, the first communication unit 41 may transmit the received response data to the
또한, 제1 통신부(41)는 제1 요청 메시지를 드롭(Drop)하는 경우, 제1 요청 메시지를 드롭 하였다는 정보를 제1 시스템(10)으로 전송할 수도 있다.In addition, when the first communication unit 41 drops the first request message, the first communication unit 41 may transmit to the
제2 통신부(42)는 제2 시스템(30)이 상기 지역 제어기에 정보를 요청하는 제2 요청 메시지를 상기 제2 시스템(30)으로부터 수신할 수 있다.The
또한, 제2 통신부(42)는 제2 요청 메시지에 대한 응답 데이터를 각 지역 제어기(20)로부터 수신하면, 수신된 응답 데이터를 제2 시스템(30)으로 전송할 수도 있다.Also, the
제3 통신부(45)는 제1 요청 메시지 또는 제2 요청 메시지를 각 지역 제어기(20)로 전송할 수 있다.The
또한, 제3 통신부(45)는 각 지역 제어기(20)로부터 응답 데이터를 수신할 수도 있다.Also, the
제3 통신부(45)는 제1 요청 메시지 또는 제2 요청 메시지를 동시에 각 지역 제어기(20)로 전송 않고, 기 설정된 바에 따라서 제1 요청 메시지 및 제2 요청 메시지 중 어느 하나만을 각 지역 제어기(20)로 전송할 수 있다.The
제3 통신부(45)가 각 지역 제어기(20)로 요청 메시지를 전송하는 것은, 각 지역 제어기(20)에 포함되어 있는 제1 지역 제어기(21), 제2 지역 제어기(22) 및 제3 지역 제어기(23) 등의 하나 이상의 지역 제어기 모두에게 요청 메시지를 전송할 수도 있지만, 요청 메시지가 요청하는 정보를 제공할 수 있는 지역 제어기로만 요청 메시지를 전송할 수도 있다.The
메시지 저장부(44)는 제2 요청 메시지를 저장할 수 있다.The message storage unit 44 may store the second request message.
구체적으로 메시지 저장부(44)는 전송 제어부(43)가 제1 요청 메시지를 각 지역 제어기(20)로 전송하고 있어, 제2 요청 메시지를 각 지역 제어기(20)로 전송할 수 없는 상황인 경우, 메시지 저장부(44)는 제2 시스템(30)으로부터 수신한 제2 요청 메시지를 저장할 수 있다.Specifically, when the
메시지 저장부(44)에 저장된 제2 요청 메시지는 메시지 전송부가 제1 요청 메시지를 전송하지 않을 때, 각 지역 제어기(20)로 전송되어 응답 데이터를 요청할 수 있다.The second request message stored in the message storage unit 44 may be transmitted to each local controller 20 to request response data when the message transmission unit does not transmit the first request message.
본 발명의 전송 제어부(43)는 먼저 설치된 시스템, 최우선 적으로 성능 확보가 유지되어야 하는 시스템 또는 성능 저하를 최소화 할 필요성이 있는 시스템이 제1 시스템(10)인 경우, 제1 시스템(10)의 성능 확보를 위하여, 제1 시스템(10)이 발신한 요청 메시지를 우선적으로 처리할 수 있다. 또한, 전송 제어부(43)는 제1 요청 메시지가 불필요 하거나 중요성이 낮은 잉여 요청 메시지인 경우에는 제1 요청 메시지의 응답 데이터를 요청하지 않고, 제2 요청 메시지의 응답 데이터를 요청할 수 있다.The
또한, 전송 제어부(43)는 제1 시스템(10)의 안정성을 고려하기 위하여, 제1 요청 메시지 중 잉여 요청 메시지의 전부에 관하여 응답 데이터를 요청하지 않는 것이 아니라, 잉여 요청 메시지 중 일부만을 드롭(Drop) 시킬 수 있다. 전송 제어부(43)는 수신된 제1 요청 메시지가 드롭된 경우에는 제1 요청 메시지가 아닌 제2 요청 메시지를 각 지역 제어기(20)로 전송할 수 있다.In order to consider the stability of the
전송 제어부(43)에 관하여 보다 구체적으로 설명한다.The
전송 제어부(43)는 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단할 수 있다.The
전송 제어부(43)는 기 설정된 시간 동안 기 설정된 횟수 이상 반복 요청 되는 경우, 요청 메시지의 종류, 요청 메시지의 컨텍스트 등을 고려하여 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단할 수 있다.If the
전송 제어부(43)가 잉여 요청 메시지인 것으로 판단 하는 경우의 예를 들면, 5분 단위로 수집되면 충분한 응답 데이터를 5초 단위로 요청 메시지를 발신하는 경우, 해당 요청 메시지 중 일부는 잉여 요청 메시지인 것으로 판단할 수 있다. 즉, 구체적으로 예를 들면, 제1 통신부(41)가 수신한 제1 요청 메시지 중 1분 동안 4회 이상의 동일한 요청 메시지를 수신 받는 경우, 전송 제어부(43)는 마지막 4회째의 제1 요청 메시지는 잉여 요청 메시지인 것으로 판단할 수 있다.For example, when the
또는, 전송 제어부(43)는 각 지역 제어기(20)에 포함된 지역 제어기들의 정상 동작 상태(온, 오프)에 관한 응답 데이터를 요청하는 제1 요청 메시지의 경우에도, 기 설정된 시간 동안 기 설정된 횟수 이상 반복 요청되는 경우에는 복수 회의 동일한 제1 요청 메시지 중 하나 이상을 잉여 요청 메시지인 것으로 판단할 수 있다.Alternatively, in the case of the first request message requesting the response data regarding the normal operation states (on and off) of the local controllers included in each local controller 20, the
전송 제어부(43)가 잉여 요청 메시지인 것으로 판단하는 경우는 시스템 관리자, 시스템 환경, 네트워크 환경, 각 지역 제어기(20)에 포함된 지역 제어기의 종류, 메시지 저장부(44)의 용량 등을 기반으로 하여 설정될 수 있으며 변경될 수도 있다.When the
전송 제어부(43)는 제1 통신부(41)를 통해 수신된 제1 요청 메시지가 잉여 요청 메시지가 아닌 것으로 판단한 경우에는 제3 통신부(45)를 통하여 각 지역 제어기(20)로 수신된 제1 요청 메시지를 전송할 수 있다.If the
또한, 전송 제어부(43)는 제1 통신부(41)를 통해 수신된 제1 요청 메시지가 잉여 요청 메시지인 것으로 판단한 경우에는, 수신된 제1 요청 메시지를 제3 통신부(45)를 통하여 각 지역 제어기(20)로 전송하지 않고, 수신되어 메시지 저장부(44)에 저장된 제2 요청 메시지를 제3 통신부(45)를 통하여 각 지역 제어기(20)로 전송할 수 있다.When it is determined that the first request message received through the first communication unit 41 is a redundancy request message, the
전송 제어부(43)가 저장된 제2 요청 메시지를 각 지역 제어기(20)로 전송할 때, 메시지 저장부(44)에 저장된 제2 요청 메시지가 복수 개 존재하는 경우, 저장된 순서를 기반으로 하나씩 선택하거나 랜덤적으로 선택하여 각 지역 제어기(20)로 전송할 수 있다.When there are a plurality of second request messages stored in the message storage unit 44 when the
전송 제어부(43)는 제1 통신부(41)를 통해 수신된 제1 요청 메시지가 잉여 요청 메시지인 것으로 판단한 경우에도 모든 잉여 요청 메시지를 각 지역 제어기(20)로 전송하지 않는 것은 아니며, 추가적으로, 제1 요청 메시지를 드롭 시킬 것인지 여부를 판단 한 후, 드롭된 경우에만, 수신된 제1 요청 메시지를 제3 통신부(45)를 통하여 각 지역 제어기(20)로 전송하지 않을 수 있다.The
즉, 전송 제어부(43)는 제1 통신부(41)를 통해 수신된 제1 요청 메시지가 잉여 요청 메시지인 것으로 판단한 경우이더라도, 제1 요청 메시지를 드롭 시키지 않는 것으로 판단한 경우에는, 제1 요청 메시지를 각 지역 제어기(20)로 전송할 수 있다.That is, even if the
반면에, 전송 제어부(43)는 수신된 제1 요청 메시지가 잉여 요청 메시지이며, 기 설정된 바에 따라서 드롭된 경우에는 수신된 제1 요청 메시지가 아닌 메시지 저장부(44)에 저장된 제2 요청 메시지를 제3 통신부(45)를 통하여 각 지역 제어기(20)로 전송할 수 있다.On the other hand, if the received first request message is a redundant request message and the received first request message is dropped according to a predetermined setting, the
전송 제어부(43)가 제1 요청 메시지를 드롭 시킬 것인지 여부를 판단하는 것은 랜덤 함수 등을 이용하여 난수를 발생 시킨 후 기 설정된 드롭 확률과 비교하여 판단할 수 있다.The
예를 들어, 드롭 확률을 0 내지 1로 표현하고, 난수를 0부터 1까지 0.1 단위로 발생시키도록 설정한 경우를 예로 들어 전송 제어부(43)가 제1 요청 메시지를 드롭 시키는 일 예를 설명한다. 기 설정된 드롭 확률을 30%로 설정하면, 전송 제어부(43)는 발생된 난수가 0.3 이하인 경우에는 제1 요청 메시지를 드롭 시키고, 발생된 난수가 0.3을 초과한 경우에는 제1 요청 메시지를 드롭 시키지 않을 수 있다.For example, an example will be described in which the
기 설정된 드롭 확률은 시스템 관리자에 의하여 설정될 수 있으며, 시스템 환경, 네트워크 환경, 각 지역 제어기(20)에 포함된 지역 제어기의 종류, 메시지 저장부(44)의 용량 등을 기반으로 하여 설정될 수 있으며 변경될 수도 있다.The predetermined drop probability can be set by the system administrator and can be set based on the system environment, the network environment, the type of the local controller included in each local controller 20, the capacity of the message storage unit 44, And may change.
또한, 기 설정된 드롭 확률은 상황에 따라 동적으로 변화하도록 설정될 수도 있다.Also, the preset drop probability may be set to change dynamically depending on the situation.
예를 들어, 기 설정된 드롭 확률은 메시지 저장부(44)에 저장된 제2 요청 메시지의 양이나 메시지 저장부(44)의 남아있는 메모리 용량에 따라서, 변화하도록 설정될 수 있다. 구체적으로, 기 설정된 드롭 확률은 메시지 저장부(44)에 저장된 제2 요청 메시지의 양이 많을수록, 메시지 저장부(44)에 남아있는 메모리 용량이 적을수록, 높은 확률을 가지도록 설정될 수 있다. 즉, 앞서 설명한 예에서, 기 설정된 드롭 확률이 1이 되면, 잉여 요청 메시지는 모두 드롭될 수 있는 것이다.For example, the preset drop probability may be set to change according to the amount of the second request message stored in the message storage unit 44 or the remaining memory capacity of the message storage unit 44. [ Specifically, the predetermined drop probability can be set to have a higher probability that the larger the amount of the second request message stored in the message storage unit 44, the smaller the memory capacity remaining in the message storage unit 44 is. That is, in the example described above, when the predetermined drop probability becomes 1, all of the redundancy request messages can be dropped.
전송 제어부(43)는 기 설정된 드롭 확률이 메시지 저장부(44)에 저장된 제2 요청 메시지의 양이 많거나 메시지 저장부(44)에 남아 있는 메모리 용량이 적을수록 높은 확률을 가지도록 설정함으로써, 본 발명은 필요한 경우 메시지 저장부(44)에 저장된 제2 요청 메시지를 신속하게 처리할 수 있다.The
전송 제어부(43)는 제1 요청 메시지 또는 제2 요청 메시지에 대한 응답 데이터를 제3 통신부(45)를 통하여 각 지역 제어기(20)로부터 전송 받으면, 응답 데이터와 대응되는 요청 메시지를 발신한 시스템으로 해당 응답 데이터를 제1 통신부(41) 또는 제2 통신부(42)를 통하여 전송할 수 있다.When the
도 5는 본 발명의 일 실시예에 따른 메시지 중계 제어 방법에 관한 순서도이다.5 is a flowchart illustrating a message relay control method according to an embodiment of the present invention.
도 5를 참조하여 본 발명의 일 실시예에 따른 메시지 중계 제어 방법에 관하여 설명하면, 제1 통신부(41) 및 제2 통신부(42)가 각각 제1 시스템(10) 및 제2 시스템(30)으로부터 제1 요청 메시지 및 제2 요청 메시지를 수신할 수 있다(S510 단계).The first communication unit 41 and the
제2 시스템(30)이 발신한 제2 요청 메시지를 제2 통신부(42)에 의하여 수신한 경우에는 제2 시스템(30)이 발생한 제2 요청 메시지를 메시지 저장부(44)에 저장할 수 있다(S520, S530 단계). 구체적으로 메시지 저장부(44)는 큐(Queue)를 이용하여 제2 요청 메시지를 저장할 수 있다.When the second request message transmitted from the
제2 요청 메시지가 아닌 제1 통신부(41)가 제1 시스템(10)으로부터 수신한 제1 요청 메시지인 경우, 전송 제어부(43)는 수신한 제1 요청 메시지가 잉여 요청 메시지인지 여부를 판단할 수 있다(S540 단계).If the first communication unit 41, not the second request message, is the first request message received from the
전송 제어부(43)는 수신한 제1 요청 메시지가 잉여 요청 메시지가 아닌 경우에는 수신한 제1 요청 메시지를 각 지역 제어기(20)로 전송할 수 있다(S570 단계).If the received first request message is not a remainder request message, the
전송 제어부(43)는 수신한 제1 요청 메시지가 잉여 요청 메시지인 경우에는 난수 발생 후 드롭 확률과 비교하여 잉여 요청 메시지를 드롭(Drop) 시킬 것인지 결정할 수 있다(S540, S550 단계).If the received first request message is a remainder request message, the
전송 제어부(43)는 비교 결과 잉여 요청 메시지를 드롭 시키지 않는 경우, 제1 요청 메시지가 잉여 요청 메시지인 경우에도 제1 요청 메시지를 각 지역 제어기(20)로 전송할 수 있다(S570 단계).The
다만, 전송 제어부(43)는 비교 결과 잉여 요청 메시지를 드롭 시킬 경우, 제1 요청 메시지의 드롭 결과를 제1 시스템(10)에 제1 통신부(41)를 통하여 알려주고(S580 단계), 제1 요청 메시지가 아닌, 큐(Queue)를 이용한 메시지 저장부(44)에 저장된 제2 요청 메시지를 각 지역 제어기(20)로 전송할 수 있다(S590 단계).The
즉, 전송 제어부(43)는 기본적으로 제1 시스템(10)의 성능 확보를 우선시 하는 상황에서, 제1 시스템(10)이 발신한 제1 요청 메시지를 우선적으로 처리하되, 제1 요청 메시지가 잉여 메시지인 경우, 제1 요청 메시지가 아닌 제2 요청 메시지를 처리하도록 할 수 있다. 이러한 과정에서, 전송 제어부(43)는 제1 시스템(10)의 안정성 확보를 위하여 모든 잉여 메시지를 드롭 시키지 않으며, 메시지 저장부(44)에 저장된 제2 요청 메시지의 양에 기반하여 드롭 확률을 증가시켜, 제2 요청 메시지도 적절하게 처리될 수 있도록 할 수 있다.That is, the
이상 설명한 바와 같은 메시지 중계 제어 방법은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로서 구현할 수도 있다. The message relay control method as described above can be implemented as a computer readable code on a computer readable recording medium.
즉, 본 발명에 따른 메시지 중계 제어 방법을 구현한 기록 매체는 제1 시스템(10)이 지역 제어기에 정보를 요청하는 제1 요청 메시지를 상기 제1 시스템(10)으로부터 수신하는 과정, 제2 시스템(30)이 상기 지역 제어기에 정보를 요청하는 제2 요청 메시지를 상기 제2 시스템(30)으로부터 수신하는 과정, 상기 제1 요청 메시지 또는 상기 제2 요청 메시지를 상기 지역 제어기로 전송하고, 상기 지역 제어기로부터 데이터를 수신하는 과정 및 상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지가 아닌 경우에는 상기 제3 통신부(45)를 통하여 상기 지역 제어기로 상기 수신된 제1 요청 메시지를 전송하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우에는 상기 수신된 제2 요청 메시지를 상기 제3 통신부(45)를 통하여 상기 지역 제어기로 전송하는 과정을 수행하는 프로그램을 기록한 것일 수 있다.That is, the recording medium implementing the message relay control method according to the present invention includes a process of receiving from the first system 10 a first request message in which the
컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 매체를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는, RAM, ROM, CD-ROM, 자기 테이프, 광 데이터 저장장치, 플로피 디스크 등이 있으며, 인터넷을 통한 전송, 캐리어 웨이브 형태로 구현될 수도 있다.A computer-readable recording medium includes all kinds of recording media in which data that can be read by a computer system is stored. Examples of the computer-readable recording medium include a RAM, a ROM, a CD-ROM, a magnetic tape, an optical data storage device, a floppy disk, and the like.
또한, 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 상기 기록 방법을 구현하기 위한 기능적인 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의하여 용이하게 추론될 수 있다.In addition, the computer-readable recording medium may be distributed over network-connected computer systems so that computer readable codes can be stored and executed in a distributed manner. And, functional programs, codes, and code segments for implementing the recording method can be easily deduced by programmers in the technical field to which the present invention belongs.
본 발명에 따른 메시지 중계 제어 장치(40) 및 방법은 이종 시스템의 효율을 향상시킬 수 있다.The message
또한, 본 발명에 따른 메시지 중계 제어 장치(40) 및 방법은 이종 시스템 중 성능이 우선시 보장되어야 하는 시스템이 존재하는 경우, 성능이 보장되어야 하는 시스템의 성능 보장 및 안정적 동작을 확보할 수 있으며, 동시에 다른 시스템도 효율적으로 활용할 수 있다.In addition, the message relay control device (40) and method according to the present invention can assure the performance guarantee and stable operation of the system in which performance should be assured when there is a system in which performance among the different systems should be secured at first Other systems can be utilized efficiently.
도 3의 각 구성요소는 소프트웨어(software) 또는, FPGA(field-programmable gate array)나 ASIC(application-specific integrated circuit)과 같은 하드웨어(hardware)를 의미할 수 있다. 그렇지만 상기 구성요소들은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니며, 어드레싱(addressing)할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 실행시키도록 구성될 수도 있다. 상기 구성요소들 안에서 제공되는 기능은 더 세분화된 구성요소에 의하여 구현될 수 있으며, 복수의 구성요소들을 합하여 특정한 기능을 수행하는 하나의 구성요소로 구현할 수도 있다.Each component of FIG. 3 may refer to software or hardware such as a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). However, the components are not limited to software or hardware, and may be configured to be in an addressable storage medium and configured to execute one or more processors. The functions provided in the components may be implemented by a more detailed component or may be implemented by a single component that performs a specific function by combining a plurality of components.
이상 첨부된 도면을 참조하여 본 발명의 실시예들을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, You will understand. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive.
Claims (15)
제2 시스템이 상기 지역 제어기에 정보를 요청하는 제2 요청 메시지를 상기 제2 시스템으로부터 수신하는 제2 통신부;
상기 제1 요청 메시지 또는 상기 제2 요청 메시지를 상기 지역 제어기로 전송하는 제3 통신부;
상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지가 아닌 경우에는 상기 제3 통신부를 통하여 상기 지역 제어기로 상기 수신된 제1 요청 메시지를 전송하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우에는 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는 전송 제어부를 포함하는, 메시지 중계 제어 장치.A first communication unit for receiving a first request message from the first system in which the first system requests information from the local controller;
A second communication unit for receiving from the second system a second request message for requesting information from the second system to the local controller;
A third communication unit for transmitting the first request message or the second request message to the local controller;
The method of claim 1, further comprising: determining whether the received first request message is a redundant request message according to a predefined time; if the received first request message is not the redundant request message, And a transmission controller for transmitting the first request message and the received second request message to the area controller through the third communication unit when the received first request message is the redundancy request message, Relay control device.
상기 전송 제어부는,
상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단한 후, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우, 난수를 발생시켜 기 설정된 드롭 확률과 비교하여 상기 수신된 제1 요청 메시지의 드롭 여부를 결정하고,
상기 수신된 제1 요청 메시지를 드롭하는 것으로 결정된 경우에만, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는, 메시지 중계 제어 장치.The method according to claim 1,
The transmission control unit,
A random number generator for generating a random number when the received first request message is the redundancy request message after determining whether the received first request message is a predetermined redundancy request message, Determining whether to drop the first request message,
And transmits the received second request message to the area controller through the third communication unit only when it is determined to drop the received first request message.
상기 전송 제어부는,
상기 수신된 제1 요청 메시지를 드롭하지 않는 것으로 결정된 경우, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하지 않고, 상기 드롭되지 않은 제1 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는, 메시지 중계 제어 장치.3. The method of claim 2,
The transmission control unit,
The first request message is not transmitted to the local controller through the third communication unit, and the first request message is not transmitted to the third communication unit when the first request message is determined not to be dropped, To the local controller.
상기 메시지 중계 제어 장치는,
상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 메시지 저장부를 더 포함하고,
상기 메시지 저장부에 저장된 상기 제2 요청 메시지의 양이 증가하면 상기 기 설정된 드롭 확률이 증가하는, 메시지 중계 제어 장치.3. The method of claim 2,
Wherein the message relay control device comprises:
Further comprising a message storage unit for storing a second request message that is not transmitted to the local controller among the received second request message,
Wherein the predetermined drop probability increases when an amount of the second request message stored in the message storage unit increases.
상기 제3 통신부는,
상기 제1 요청 메시지 및 상기 제2 요청 메시지를 동시에 상기 지역 제어기로 전송하지 않는 것을 특징으로 하는, 메시지 중계 제어 장치.The method according to claim 1,
The third communication unit,
And does not transmit the first request message and the second request message to the local controller at the same time.
상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 메시지 저장부를 더 포함하는, 메시지 중계 제어 장치.The method according to claim 1,
And a message storage unit for storing a second request message that can not be transmitted to the local controller among the received second request message.
상기 기 설정된 바에 따른 잉여 요청 메시지는, 기 설정된 시간 동안 기 설정된 횟수 이상 반복 요청 되는 경우, 상기 요청 메시지의 종류 및 상기 요청 메시지의 컨텍스트 중 적어도 어느 하나를 고려하여 설정된 것을 특징으로 하는, 메시지 중계 제어 장치.The method according to claim 1,
Wherein the predetermined amount of redundancy request message is set in consideration of at least any one of a type of the request message and a context of the request message when it is repeatedly requested for a predetermined number of times or more for a predetermined period of time. Device.
제2 통신부가 제2 시스템이 상기 지역 제어기에 정보를 요청하는 제2 요청 메시지를 상기 제2 시스템으로부터 수신하는 (b) 단계:
제3 통신부가 상기 제1 요청 메시지 또는 상기 제2 요청 메시지를 상기 지역 제어기로 전송하고, 상기 지역 제어기로부터 데이터를 수신하는 (c) 단계;
상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지가 아닌 경우에는 상기 제3 통신부를 통하여 상기 지역 제어기로 상기 수신된 제1 요청 메시지를 전송하고, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우에는 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는 (d) 단계를 포함하는, 메시지 중계 제어 방법.(A) receiving, by the first communication unit, a first request message from the first system in which the first system requests information from the local controller;
(B) the second communication unit receives from the second system a second request message in which the second system requests information from the local controller;
(C) transmitting, by the third communication unit, the first request message or the second request message to the local controller and receiving data from the local controller;
The method of claim 1, further comprising: determining whether the received first request message is a redundant request message according to a predefined time; if the received first request message is not the redundant request message, (D) transmitting the first request message and, if the received first request message is the redundancy request message, transmitting the received second request message to the local controller through the third communication unit , Message relay control method.
상기 (d) 단계는,
상기 수신된 제1 요청 메시지가 기 설정된 바에 따른 잉여 요청 메시지인지 여부를 판단한 후, 상기 수신된 제1 요청 메시지가 상기 잉여 요청 메시지인 경우, 난수를 발생시켜 기 설정된 드롭 확률과 비교하여 상기 수신된 제1 요청 메시지의 드롭 여부를 결정하는 단계를 포함하며
상기 수신된 제1 요청 메시지를 드롭하는 것으로 결정된 경우, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는, 메시지 중계 제어 방법.10. The method of claim 9,
The step (d)
A random number generator for generating a random number when the received first request message is the redundancy request message after determining whether the received first request message is a predetermined redundancy request message, Determining whether to drop the first request message
And transmits the received second request message to the local controller through the third communication unit when it is determined to drop the received first request message.
상기 (d) 단계는,
상기 수신된 제1 요청 메시지를 드롭하지 않는 것으로 결정된 경우, 상기 수신된 제2 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하지 않고, 상기 드롭되지 않은 제1 요청 메시지를 상기 제3 통신부를 통하여 상기 지역 제어기로 전송하는, 메시지 중계 제어 방법.11. The method of claim 10,
The step (d)
The first request message is not transmitted to the local controller through the third communication unit, and the first request message is not transmitted to the third communication unit when the first request message is determined not to be dropped, To the local controller.
상기 메시지 중계 제어 방법은,
상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 단계를 더 포함하고,
상기 메시지를 저장하는 단계에서 저장된 상기 제2 요청 메시지의 양이 증가하면 상기 기 설정된 드롭 확률이 증가하는, 메시지 중계 제어 방법.11. The method of claim 10,
The message relay control method includes:
Storing a second request message that is not transmitted to the local controller among the received second request message,
Wherein the predetermined drop probability increases when an amount of the second request message stored in the step of storing the message increases.
상기 제3 통신부는,
상기 제1 요청 메시지 및 상기 제2 요청 메시지를 동시에 상기 지역 제어기로 전송하지 않는 것을 특징으로 하는, 메시지 중계 제어 방법.10. The method of claim 9,
The third communication unit,
And does not transmit the first request message and the second request message to the local controller at the same time.
상기 수신된 제2 요청 메시지 중 상기 지역 제어기로 전송되지 못한 제2 요청 메시지를 저장하는 단계를 더 포함하는, 메시지 중계 제어 방법.10. The method of claim 9,
And storing a second request message that is not transmitted to the local controller among the received second request message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20130130283A KR101501926B1 (en) | 2013-10-30 | 2013-10-30 | Apparatus and Method for Controlling Transmission of Message, and Recording Medium Using the Same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20130130283A KR101501926B1 (en) | 2013-10-30 | 2013-10-30 | Apparatus and Method for Controlling Transmission of Message, and Recording Medium Using the Same |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101501926B1 true KR101501926B1 (en) | 2015-03-13 |
Family
ID=53027360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR20130130283A KR101501926B1 (en) | 2013-10-30 | 2013-10-30 | Apparatus and Method for Controlling Transmission of Message, and Recording Medium Using the Same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101501926B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060135339A (en) * | 2005-06-24 | 2006-12-29 | 엘지전자 주식회사 | Apparatus and method for communicating between different kinds of process in embedded system |
KR20070119374A (en) * | 2006-06-15 | 2007-12-20 | 주식회사 아트시스템 | Circumstances realtime monitoring system based on usn |
JP2010213101A (en) * | 2009-03-11 | 2010-09-24 | Toshiba Corp | Relay apparatus and program of relaying message |
KR20130109402A (en) * | 2012-03-27 | 2013-10-08 | 삼성중공업 주식회사 | Structure management system |
-
2013
- 2013-10-30 KR KR20130130283A patent/KR101501926B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060135339A (en) * | 2005-06-24 | 2006-12-29 | 엘지전자 주식회사 | Apparatus and method for communicating between different kinds of process in embedded system |
KR20070119374A (en) * | 2006-06-15 | 2007-12-20 | 주식회사 아트시스템 | Circumstances realtime monitoring system based on usn |
JP2010213101A (en) * | 2009-03-11 | 2010-09-24 | Toshiba Corp | Relay apparatus and program of relaying message |
KR20130109402A (en) * | 2012-03-27 | 2013-10-08 | 삼성중공업 주식회사 | Structure management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10834015B2 (en) | Dynamic resource allocation for sensor devices on a mixed-infrastructure network | |
US10992494B2 (en) | Gateway round-robin system | |
JP6378057B2 (en) | Connection control device, connection control method, connection control system, and computer program | |
EP1956758B1 (en) | Method and apparatus for automatically recognizing a connection of a device to a building management system | |
EP3329657B1 (en) | A method a server and a client for policy based control of m2m devices | |
US20060168189A1 (en) | Advanced IPMI system with multi-message processing and configurable capability and method of the same | |
CN111083180B (en) | Internet of things system and Internet of things equipment linkage method and device | |
WO2016165242A1 (en) | Method of adjusting number of nodes in system and device utilizing same | |
JP2010501912A (en) | System and method for managing a network | |
US9531597B2 (en) | Methods and systems to maintain data coherency | |
US20120124221A1 (en) | Element terminal and communication system | |
KR20160122572A (en) | Smart air conditioning control system based on cloud computing environment | |
CN108810042B (en) | Task processing method, related equipment and system | |
WO2018074136A1 (en) | Communication method, central control device and individual control device | |
KR101501926B1 (en) | Apparatus and Method for Controlling Transmission of Message, and Recording Medium Using the Same | |
JP2021114701A (en) | Server, management device, apparatus management system, apparatus management method, and program | |
JP6433851B2 (en) | Information collection system and method | |
KR101577254B1 (en) | Apparatus and Method for Scheduling Request Message, and Recording Medium Using the Same | |
CN113553194B (en) | Hardware resource management method, device and storage medium | |
KR101723561B1 (en) | Web of things plug-in system | |
KR20220078411A (en) | Edge computing node and method for sharing data thereof | |
KR101957582B1 (en) | Internet of things automatic management system and method based on sensor data identification algorithm | |
KR20180046615A (en) | Apparatus and method for collecting data of field device in industrial control system | |
JP5530878B2 (en) | Data replication management method in distributed system | |
JP7319853B2 (en) | CONTROL SYSTEM, CONTROL DEVICE AND METHOD OF CONTROLLING THE CONTROL DEVICE |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |