KR20190045681A - Energy management system and Method of Data communication for the same - Google Patents

Energy management system and Method of Data communication for the same Download PDF

Info

Publication number
KR20190045681A
KR20190045681A KR1020170138540A KR20170138540A KR20190045681A KR 20190045681 A KR20190045681 A KR 20190045681A KR 1020170138540 A KR1020170138540 A KR 1020170138540A KR 20170138540 A KR20170138540 A KR 20170138540A KR 20190045681 A KR20190045681 A KR 20190045681A
Authority
KR
South Korea
Prior art keywords
packet
entity
gateway
data
address
Prior art date
Application number
KR1020170138540A
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 KR1020170138540A priority Critical patent/KR20190045681A/en
Publication of KR20190045681A publication Critical patent/KR20190045681A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3063Pipelined operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L61/2007
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a bidirectional communication method and, more specifically, to an energy management system and a method for bidirectional communication between a server and a gateway. According to an embodiment of the present invention, the bidirectional communication method using a dynamic IP address includes: a step of receiving a first dynamic IP address from a first entity; a step of transmitting a first packet for transmitting data every first transmission cycle or a second packet for maintaining a pipeline to the first dynamic IP address to a second entity by using the first dynamic IP address; a step of making the second entity stand by for the reception of the first or second packet when control data about the first entity is generated from the second entity; and a step of transmitting a third packet including the control data to the first entity through a pipeline to a received packet when the second entity receives the first or second packet.

Description

에너지 관리 시스템 및 그 통신 방법{Energy management system and Method of Data communication for the same}Energy management system and communication method therefor

본 발명은 양방향 통신 방법에 관한 것으로, 보다 상세히는 에너지 관리 시스템 및 그를 위한 게이트웨이와 서버 간의 양방향 통신 방법에 관한 것이다. The present invention relates to a two-way communication method, and more particularly, to an energy management system and a bi-directional communication method therefor between a gateway and a server.

최근 에너지 절약에 대한 관심이 높아짐에 따라, 보다 효율적으로 에너지를 관리하기 위한 연구가 활발히 진행되고 있으며, 그 적용 분야도 점차 넓어지는 추세이다. 이러한 에너지 관리가 적용되는 분야 중 하나로 건축물을 들 수 있다.As interest in energy conservation has increased in recent years, researches for managing energy more efficiently have been actively carried out, and the application fields thereof are also gradually widening. One of the areas where such energy management is applied is the building.

특히, 사람들의 요구나 기술 발달로 건축물에 요구되는 설비는 날로 세분화되고 복잡해짐에 따라, 건축물을 유지 관리하는 복잡한 시스템을 제각기 계획하고 관리하는 과정에서 관리가 누락되는 경우도 있고, 반대로 중복 관리돼 비효율적으로 되는 경우도 있다. 따라서 비용이나 에너지 절약의 측면에서 건축물 관리를 통합할 필요성이 제기되어, 건축물에도 에너지 관리 시스템이 도입되기 이르렀다.In particular, as the facilities required for buildings are becoming fragmented and complicated due to people's demands and technological developments, there are cases where management is omitted in the process of planning and managing complex systems for maintaining buildings, It may become inefficient. Therefore, the necessity of integrating building management in terms of cost and energy saving was raised, and an energy management system was introduced to buildings.

건축물에 적용되는 에너지 관리 시스템을 일반적으로 "건물 에너지 관리 시스템(BEMS: Building Energy Management System)"이라 칭한다. 건물 에너지 관리 시스템(이하, 편의상 "BEMS"라 칭함)은 건축, 기계, 전기, 신재생 등 건물 에너지와 관련된 고도의 전문 지식에 ICT(정보통신기술)를 접목시킨다는 점에서 기존 시스템과 차별화되며, 에너지 사용 정보를 자동 수집/분석해 건축물 특성에 따라 최적화된 개선 방안을 제시할 수 있다. The energy management system applied to buildings is generally called "Building Energy Management System (BEMS)". Building energy management system (hereinafter referred to as "BEMS" for convenience) is differentiated from existing system in that ICT (Information and Communication Technology) is integrated with highly specialized knowledge related to building energy such as building, machinery, Energy usage information can be automatically collected / analyzed and optimized solutions can be suggested according to the characteristics of the buildings.

뿐만 아니라, 최근 일부 국가에서는 소정 규모 이상의 소비 전력을 갖는 신축 건물은 의무적으로 BEMS를 설치하도록 하고 있기도 하다. In addition, in recent years, some countries have mandated the installation of BEMS in new buildings with power consumption higher than a certain level.

이러한 BEMS는 일반적으로 하나 이상의 게이트웨이와 서버(또는 플랫폼)를 포함한다. These BEMS typically include one or more gateways and servers (or platforms).

게이트웨이는 운영자의 직접 개입이 없이도 동작하는 IoT 기기 형태일 수 있으며, 각종 센서와 연결되어 공조, 전력, 조명등의 데이터를 수집하고, 수집된 데이터를 소정의 알고리즘으로 가공하여 서버에 전달하는 역할을 한다. 서버는 게이트웨이에서 수신된 데이터의 저장, 분석, 표시 기능을 수행하며, 에너지 관리를 위한 제어 신호를 게이트웨이에 송신할 수 있다. The gateway may be in the form of an IoT device that operates without any direct intervention of the operator, and is connected to various sensors to collect data such as air conditioning, power, and lighting, processes the collected data into a predetermined algorithm, and transmits the processed data to the server . The server performs storage, analysis, and display of data received from the gateway, and can transmit a control signal for energy management to the gateway.

게이트웨이와 서버는 유선으로 직접 연결될 수도 있으나, 게이트웨이 설치 위치의 자유도를 위해 IP 기반의 통신을 이용하기도 한다. 예컨대, 게이트웨이는 주변의 억세스 포인트(AP)를 통해 IP 주소를 할당받으며, 서버는 해당 게이트웨이에 데이터를 전송할 때 그를 찾기 위해 게이트웨이가 할당받은 IP 주소를 이용한다. The gateway and the server may be directly connected to the wired network, but the IP-based communication may be used for the freedom of the gateway installation location. For example, the gateway is assigned an IP address through an access point (AP) in the vicinity, and the server uses the IP address assigned by the gateway to find the gateway when it transmits data to the gateway.

그런데, 게이트웨이가 할당받은 IP 주소가 공인(고정) IP 주소인 경우에는 문제가 없으나, 유동 IP 주소인 경우 데이터 전송 간격에 따라 할당받은 IP 주소로 정의된 데이터 전달 경로(이하, 편의상 "파이프라인(pipeline)"이라 칭함)가 사라지는 경우가 있어 문제된다. 즉, 공인 IP 주소가 없는 경우, 게이트웨이는 자신에게 연결된 AP를 통해 할당받은 유동 IP 주소를 통하여 서버로 데이터 전송하나, 마지막 전송으로부터 일정 시간이 초과되면 해당 IP 주소에 의해 정의된 파이프 라인이 사라진다. 그에 따라 서버는 해당 게이트웨이를 찾지 못해 양방향 통신이 불가하게 된다. However, in the case of a dynamic IP address, there is no problem in the case where the IP address assigned by the gateway is a public (fixed) IP address. However, in the case of a dynamic IP address, quot; pipeline ") may disappear. That is, when there is no public IP address, the gateway transmits data to the server through the dynamic IP address allocated through the AP connected to the gateway, but if the predetermined time elapses from the last transmission, the pipeline defined by the IP address disappears. As a result, the server can not find the gateway and the bidirectional communication becomes impossible.

물론, 이러한 문제점은 게이트웨이마다 공인 IP 주소를 사용하도록 하면 간단히 해결될 것이나 공인 IP 발행과 유지는 비용이 수반되며, 특히 중소규모의 BEMS 설치에 있어서 큰 장애물이 된다. 또한, 국가별 공인 IP 주소의 발행 수에 한계도 존재하기 때문에 불필요한 공인 IP 주소의 증가는 국가 단위의 통신 시스템에 부담을 주게 된다.Of course, this problem can be solved simply by using a public IP address for each gateway, but issuing and maintaining public IPs is costly and is a major obstacle to the installation of small and medium sized BEMS. In addition, since there is a limit to the number of public IP addresses issued by each country, unnecessary increase of public IP addresses puts strain on the nationwide communication system.

뿐만 아니라, 공인 IP 주소가 존재할 경우 해당 IP가 상시 망 내에 존재하기 때문에 공격자로부터 노출될 가능성이 높아져 추가로 보안 모듈을 구성해야 하는 문제점도 있다.In addition, if there is a public IP address, the IP is always present in the network, so there is a high possibility that the IP is exposed from an attacker.

본 발명은 에너지 관리 시스템, 특히 BEMS에서 유동 IP 주소를 사용할 경우 보다 효율적으로 게이트웨이와 서버간 통신을 유지할 수 있는 양방향 통신 방법을 제공하기 위한 것이다.The present invention is intended to provide a bi-directional communication method capable of maintaining communication between a gateway and a server more efficiently when using a dynamic IP address in an energy management system, particularly BEMS.

특히, 본 발명은 유동 IP 주소를 사용할 경우 서버와 게이트웨이 간의 파이프 라인을 유지할 수 있는 방법 및 이를 위한 다양한 패킷 구조와 그를 통한 운영 방법을 제공하기 위한 것이다.In particular, the present invention provides a method for maintaining a pipeline between a server and a gateway when using a dynamic IP address, and various packet structures and a method for operating the same.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, unless further departing from the spirit and scope of the invention as defined by the appended claims. It will be possible.

상기와 같은 기술적 과제를 해결하기 위하여, 본 발명의 일 실시예에 따른 유동 IP 주소를 이용한 양방향 통신 방법은, 제1 개체에서 제1 유동 IP 주소를 할당받는 단계; 상기 제1 유동 IP 주소를 이용하여 제1 전송 주기마다 데이터 전송을 위한 제1 패킷 또는 상기 제1 유동 IP 주소에 대한 파이프라인 유지를 위한 제2 패킷을 제2 개체로 전송하는 단계; 상기 제2 개체에서 상기 제1 개체에 대한 제어 데이터가 생성되면, 상기 제2 개체에서 상기 제1 패킷 또는 상기 제2 패킷의 수신을 대기하는 단계; 및 상기 제2 개체에서 상기 제1 패킷 또는 상기 제2 패킷이 수신되면, 상기 수신된 패킷에 대한 파이프라인을 통해 상기 제어 데이터를 포함하는 제3 패킷을 상기 제1 개체로 전송하는 단계를 포함할 수 있다.According to an aspect of the present invention, there is provided a method for bidirectional communication using a dynamic IP address, the method comprising: receiving a first dynamic IP address from a first entity; Transmitting a first packet for data transmission or a second packet for maintaining a pipeline for the first floating IP address to the second entity every first transmission period using the first floating IP address; Waiting for reception of the first packet or the second packet at the second entity when control data for the first entity is generated at the second entity; And transmitting, when the first packet or the second packet is received at the second entity, a third packet including the control data through a pipeline for the received packet to the first entity .

또한, 본 발명의 일 실시예에 따른 건물 에너지 관리 시스템(BEMS: Building Energy Management System)은, 제1 유동 IP 주소를 할당받고, 상기 할당된 제1 유동 IP 주소를 이용하여 제1 전송 주기마다 데이터 전송을 위한 제1 패킷 또는 상기 제1 유동 IP 주소에 대한 파이프라인 유지를 위한 제2 패킷을 전송하는 게이트웨이; 및 상기 게이트웨이에 대한 제어 데이터가 생성되면, 상기 제1 패킷 또는 상기 제2 패킷의 수신을 대기하고, 상기 제1 패킷 또는 상기 제2 패킷이 상기 게이트웨이로부터 수신되면, 상기 수신된 패킷에 대한 파이프라인을 통해 상기 제어 데이터를 포함하는 제3 패킷을 상기 게이트웨이로 전송하는 서버를 포함할 수 있다.In addition, a building energy management system (BEMS) according to an embodiment of the present invention may be configured such that a first dynamic IP address is allocated and data A gateway for transmitting a first packet for transmission or a second packet for maintaining a pipeline for the first floating IP address; And when the control data for the gateway is generated, waiting for reception of the first packet or the second packet, and if the first packet or the second packet is received from the gateway, And transmitting a third packet including the control data to the gateway through the gateway.

상기와 같이 구성되는 본 발명의 적어도 하나의 실시예에 관련된 BEMS의 게이트웨이와 서버는 유동 IP 주소를 이용하더라도 안정적으로 통신을 유지할 수 있다.The gateway and the server of the BEMS according to at least one embodiment of the present invention configured as described above can stably maintain communication even when using a dynamic IP address.

특히, 제어를 위한 패킷 구조와 파이프라인 유지를 위한 패킷 구조를 정의하여, 양방향 통신의 효율성과 안정성이 향상된다.In particular, by defining a packet structure for control and a packet structure for pipeline maintenance, the efficiency and stability of bidirectional communication are improved.

본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtained by the present invention are not limited to the above-mentioned effects, and other effects not mentioned can be clearly understood by those skilled in the art from the following description will be.

도 1은 본 발명의 실시예들에 적용될 수 있는 BEMS 구조의 일례를 나타내는 블럭도이다.
도 2는 본 발명의 일 실시예에 따른 게이트웨이와 서버간 파이프라인 유지를 위한 통신 과정의 일례를 나타낸다.
도 3은 본 발명의 일 실시예에 따른 복수의 게이트웨이와 서버간 통신 과정의 일례를 나타낸다.
도 4는 공조기가 오프 상태일 때 실내외 온도 변화 추이를, 도 5는 공조기가 온 상태일 상태일 때 실내외 온도 변화 추이를 각각 나타내는 그래프이다.
1 is a block diagram showing an example of a BEMS structure that can be applied to embodiments of the present invention.
2 illustrates an example of a communication procedure for maintaining a pipeline between a gateway and a server according to an embodiment of the present invention.
3 shows an example of a communication process between a plurality of gateways and a server according to an embodiment of the present invention.
FIG. 4 is a graph showing the indoor / outdoor temperature change trend when the air conditioner is off, and FIG. 5 is a graph showing the indoor / outdoor temperature change trend when the air conditioner is in the on state.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서 전체에 걸쳐서 동일한 참조번호로 표시된 부분들은 동일한 구성요소들을 의미한다.Throughout the specification, when an element is referred to as " comprising ", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise. In addition, parts denoted by the same reference numerals throughout the specification denote the same components.

본 발명의 구체적인 실시예들을 설명하기 앞서, 본 발명의 실시예들에 적용될 수 있는 BEMS의 구조를 먼저 설명한다. 도 1은 본 발명의 실시예들에 적용될 수 있는 BEMS 구조의 일례를 나타내는 블럭도이다.Before describing specific embodiments of the present invention, the structure of BEMS that can be applied to embodiments of the present invention will be described first. 1 is a block diagram showing an example of a BEMS structure that can be applied to embodiments of the present invention.

도 1을 참조하면, BEMS(100)는 게이트웨이(110)와 서버(120)를 포함할 수 있다. 여기서 게이트웨이(110)는 설명의 편의를 위하여 하나만 도시되었으나, 건물에 설정된 관제점의 숫자에 따라 복수개가 구비될 수도 있다. 여기서 관제점이라 함은 건물 관리자가 건물의 상황을 파악하기 위해, 공조, 조명, 센서 등과 같은 각종 설비를 감시하는 위치로서, 각 관제점에는 감지기, 제어기, 밸브 등이 설치될 수 있다. Referring to FIG. 1, the BEMS 100 may include a gateway 110 and a server 120. Although only one gateway 110 is shown for convenience of explanation, a plurality of gateway 110 may be provided depending on the number of control points set in the building. Here, the monitoring point is a location for the building manager to monitor various facilities such as air conditioning, lighting, sensors, and the like in order to grasp the situation of the building, and a sensor, a controller, and a valve may be installed at each control point.

게이트웨이(110)는 상술한 바와 같이 IoT 방식의 장치일 수 있으며, 송수신부(111), 어플리케이션(112) 및 프로세서(113)를 포함할 수 있다. 송수신부(111)는 후술할 각종 설비(131 내지 134) 및 서버(120)와 통신하기 위한 적어도 하나의 모뎀을 포함할 수 있으며, 설비나 서버와의 통신 방식에 따라 복수의 통신 프로토콜을 지원할 수 있다. 본 발명의 실시예들은 통신 방식에 한정되지 아니하는 바, 구체적인 통신 프로토콜들에 대한 설명은 생략하기로 한다. 어플리케이션(112)은 송수신부(111)의 제어와 입출력 데이터의 처리/가공 등 게이트웨이(110) 기능의 전반적인 제어를 위한 프로그램 코드를 의미할 수 있으며, 프로세서(113)에 의해 구동될 수 있다.The gateway 110 may be an IoT device as described above and may include a transceiver 111, an application 112, and a processor 113. The transceiver unit 111 may include at least one modem for communicating with various facilities 131 to 134 and a server 120 to be described later and may support a plurality of communication protocols have. The embodiments of the present invention are not limited to the communication method, and the detailed description of the communication protocols will be omitted. The application 112 may refer to a program code for overall control of the function of the gateway 110, such as control of the transceiver 111 and processing / processing of input / output data, and may be driven by the processor 113.

한편, 게이트웨이(110)는 센서(131), 공조 시스템(132), 전력 제어 시스템(133), 조명 시스템(134) 등의 건물 설비와 연결되어 각 설비의 동작 상황에 대한 데이터를 수신하고 제어 신호를 전달할 수 있다. 여기서 센서(131)는 기온, 습도, 조도, 동작 등의 감지를 위한 센서를 포함할 수 있으나, 이는 예시적인 것으로 건물에 설치될 수 있는 센서라면 그 종류에 한정되지 아니한다. 공조 시스템(132)은 냉/난방과 관련된 설비라면 어떠한 설비에도 이에 해당하며, 전력 제어 시스템(133)은 해당 관제점의 전력 공급/차단을 위한 스위치를 의미할 수도 있고, 단순 전력량계일 수도 있다. The gateway 110 is connected to building facilities such as the sensor 131, the air conditioning system 132, the power control system 133 and the lighting system 134 to receive data on the operation status of each facility, . Here, the sensor 131 may include a sensor for sensing temperature, humidity, illuminance, operation, etc., but this is merely an example, and any type of sensor that can be installed in a building is not limited thereto. The air conditioning system 132 corresponds to any equipment related to cooling / heating, and the power control system 133 may be a switch for power supply / shutdown of the corresponding point, or may be a simple watt-hour meter.

서버(120)는 플랫폼(flatform)이라고도 하며, 송수신부(121), 통신분석기(122), 데이터베이스(123), 어플리케이션(124), 프로세서(125) 등을 포함할 수 있다. 송수신부(121), 어플리케이션(124)과 프로세서(125)는 게이트웨이의 그것과 그 기능이 유사한 바, 명세서의 간명함을 위해 중복되는 기재를 생략하기로 한다. 통신분석기(122)는 하나 이상의 게이트웨이(110)와의 후술될 파이프 라인 관리 등 통신 상태를 관리하고 분석할 수 있으며, 데이터베이스(123)는 각 게이트웨이(110)로부터 전달된 각 관제점의 데이터를 저장하고 관리하는 역할을 수행할 수 있다.The server 120 is also referred to as a platform and may include a transceiver 121, a communication analyzer 122, a database 123, an application 124, a processor 125, and the like. The transmission / reception unit 121, the application 124, and the processor 125 are similar in function to those of the gateway, and omit redundant descriptions for simplicity of description. The communication analyzer 122 can manage and analyze communication states such as pipeline management to be described later with one or more gateways 110. The database 123 stores the data of each point transmitted from each gateway 110 It can perform the role of management.

물론, 상술한 각 장치의 구성 요소들은 예시적인 것으로, 구현될 기능에 따라 더 많거나 적은 구성 요소를 포함할 수 있음은 당업자에 자명하다.Of course, it will be apparent to those skilled in the art that the components of each of the devices described above are exemplary and may include more or fewer components depending on the functionality to be implemented.

이하에서는 상술한 구조의 BEMS에 적용될 수 있는 본 발명의 실시예들에 따른 게이트웨이와 서버간의 통신 방법을 설명한다.Hereinafter, a communication method between a gateway and a server according to embodiments of the present invention applicable to the BEMS having the above-described structure will be described.

본 발명의 일 실시예에 의하면, 게이트웨이에서 유동 IP를 사용할 경우, 다양한 형태의 패킷을 통해 서버와 게이트웨이 사이의 파이프라인이 유지되면서도 효율적인 통신이 수행되도록 할 것을 제안한다.According to an embodiment of the present invention, when a dynamic IP is used in a gateway, it is proposed that efficient communication is performed while a pipeline between a server and a gateway is maintained through various types of packets.

본 실시예의 일 양상에 의하면, 패킷의 종류는 관제점 모니터링 패킷, 파이프라인 확인 패킷, 제어 패킷의 3종일 수 있다. 여기서 관제점 모니터링 패킷은 관제점 모니터링 데이터라고도 칭할 수 있으며, 게이트웨이에 연결된 센서 등 각종 설비에서 획득된 정보를 서버에 전달하기 위한 패킷을 의미할 수 있다. 파이프라인 확인 패킷은 파이프라인 확인용 데이터라고도 칭할 수 있으며, 유동 IP 주소를 사용할 경우 주기적으로 전송되어 서버와 게이트웨이 사이에 파이프라인이 사라지지 않도록 유지시키는 역할을 한다. 파이프라인을 유지시키는 목적은 서버가 제어 패킷을 전송이 필요해진 임의의 시점에 전송하는 것을 보장하기 위함이다.According to one aspect of the present embodiment, the packet type may be three types of control point monitoring packet, pipeline acknowledgment packet, and control packet. Here, the monitoring point monitoring packet may be referred to as monitoring point monitoring data, and may be a packet for transmitting information obtained from various facilities such as a sensor connected to the gateway to the server. Pipeline validation packets can also be referred to as pipeline validation data, which is periodically transmitted when a dynamic IP address is used to keep the pipeline between the server and the gateway from disappearing. The purpose of maintaining the pipeline is to ensure that the server sends control packets at any point in time that is required to transmit.

앞의 두 패킷은 게이트웨이가 서버로 전송하는 패킷이며, 나머지 제어 패킷은 서버가 게이트웨이로 전송하는 것으로, 게이트웨이 자체 또는 게이트웨이에 연결된 각종 설비 중 적어도 하나를 제어하기 위한 제어 데이터가 포함될 수 있다.The two preceding packets are packets transmitted by the gateway to the server and the rest of the control packets are transmitted to the gateway by the server and may include control data for controlling at least one of the gateway itself and various facilities connected to the gateway.

또한, 본 실시예의 일 양상에 의하면, 상술한 패킷들은 하나의 패킷 포맷을 따를 수 있다. 예컨대, 상술한 패킷들은 JSON 표준 포맷을 따를 수 있다. 여기서 JSON 표준 포맷이란 속성-값 쌍으로 이루어진 데이터 오브젝트를 전달하기 위해 인간이 읽을 수 있는 텍스트를 사용하는 개방형 표준 포맷으로, 비동기 브라우저/서버 통신 (AJAX)을 위해, 넓게는 XML(AJAX가 사용)을 대체하는데 넓게 사용된다. 물론, 이러한 JSON 표준 포맷은 예시적인 것으로, 서버와 게이트웨이 간에 미리 정의된 패킷 포맷이라면 어떠한 패킷 포맷도 적용될 수 있음은 당업자에 자명하다. 다만, 설명의 편의를 위해 이하에서 각 패킷은 JSON 표준 포맷을 따르는 것으로 가정한다. Further, according to an aspect of this embodiment, the above-described packets may follow a packet format. For example, the packets described above may conform to the JSON standard format. The JSON standard format is an open standard format that uses human-readable text to convey data objects consisting of attribute-value pairs. It is widely used for asynchronous browser / server communication (AJAX), XML (AJAX used) Is widely used. Of course, such a JSON standard format is illustrative, and it is apparent to those skilled in the art that any packet format can be applied to a predefined packet format between a server and a gateway. However, for convenience of explanation, it is assumed that each packet follows the JSON standard format.

아래는 본 실시예의 일 양상에 따른 관제점 모니터링 패킷 구조의 일례를 나타낸다.The following shows an example of the monitoring point monitoring packet structure according to one aspect of the present embodiment.

[관제점 모니터링 패킷][Monitoring point monitoring packet]

PUT /HTTP/1.1PUT / HTTP / 1.1

Host: api.cyclogic.netHost: api.cyclogic.net

Accept: application/jsonAccept: application / json

User-Agent: Net-1User-Agent: Net-1

Content-Type: application/jsonContent-Type: application / json

{"protocol":"v1","sn":"XXXX","etype": "monitor", "channel": 1,{"protocol": "v1", "sn": "XXXX", "etype"

"field":{"device":"aircon",YYYYY,"field": {"device": "aircon", YYYYY,

"data": [{XXXXX,XXXXX,XXXXX,XXXXX}]}}"data": [{XXXXX, XXXXX, XXXXX, XXXXX}]}}

패킷은 헤더(Header, "{" 이전 정보)와 바디(Body, "{"부터 시작됨)로 구성되는데, 헤더에는 JSON 표준 포맷 관련 정보가 포함되며, 바디는 패킷 정보, 디바이스 시리얼 번호, 데이터필드로 구성될 수 있다. 패킷정보는 프로토콜 버전 및 패킷의 종류를 지시하는 정보가 포함된다. 패킷의 종류를 지시하는 정보는 패킷의 종류에 따라 Monitor, Event Pipe, Control 중 어느 하나로 설정되며, 각각 관제점 모니터링 패킷, 파이프라인 확인 패킷, 제어 패킷에 대응된다. 패킷의 종류에 따라 서버의 프로세스가 상이해질 수 있다. 데이터 필드는 패킷의 종류가 Monitor 및 Control인 경우에만 참조된다. 데이터 필드에는 디바이스 타입, 관제점 데이터 정보, 제어 포인트 등의 정보가 포함될 수 있다. A packet consists of a header ("{" preceding information) and a body ("{" starting with a header) containing information related to the JSON standard format, the body including packet information, device serial number, Lt; / RTI > The packet information includes information indicating the protocol version and the type of the packet. Information indicating the type of packet is set to one of Monitor, Event Pipe, and Control depending on the type of packet, and corresponds to the monitoring point monitoring packet, the pipeline confirmation packet, and the control packet, respectively. Depending on the type of packet, the server process can be different. The data field is only referenced if the packet type is Monitor and Control. The data field may include information such as device type, point data information, and control point.

[파이프라인 확인 패킷][Pipeline Verification Packet]

PUT /HTTP/1.1PUT / HTTP / 1.1

Host: api.cyclogic.netHost: api.cyclogic.net

Accept: application/jsonAccept: application / json

User-Agent: Net-1User-Agent: Net-1

Content-Type: application/jsonContent-Type: application / json

{"protocol":"v1","sn":"XXXX","etype": "evtpipe","field":{"data":[]}}{"protocol": "v1", "sn": "XXXX", "etype": "evtpipe"

한편, 파이프라인 확인 패킷은 위와 같은 구조를 가질 수 있다. 파이프라인 확인 패킷의 헤더는 관제점 모니터링 패킷과 동일한 구조를 가질 수 있으나, 데이터 필드가 비워져 있다. 이는 파이프라인 유지를 목적으로 비교적 짧은 주기(예컨대, 1초)로 전송되는 특성상, 최소한의 패킷 구조로 데이터 트래픽을 최소화하기 위함이다. 따라서, 바디에도 데이터 필드가 비어 있고, 디바이스 구분용 시리얼 넘버 정도가 포함된다. On the other hand, the pipeline confirmation packet can have the above structure. The header of the pipeline confirmation packet can have the same structure as the point monitoring packet, but the data field is empty. This is to minimize data traffic with a minimum packet structure due to the characteristics of being transmitted in a relatively short period (for example, 1 second) for the purpose of pipeline maintenance. Therefore, the data field is empty in the body, and includes the serial number of the device classification.

전술된 바와 같이, 파이프라인 확인 패킷은 짧은 주기로 전송된다. 그 이유는 다음과 같다.As described above, the pipeline confirmation packet is transmitted in a short period. The reason for this is as follows.

서버의 제어 기점 선택은 수동 또는 알고리즘을 통한 자동으로 이루어지며, 임의적으로 제어의 필요성이 발생되기 때문에 기존 시스템과 동일하게 작동하게 되어야 한다. 따라서, 서버가 언제든지 제어의 필요성이 있는 경우 제어 패킷을 유효한 파이프라인을 통해 게이트웨이로 전송할 수 있도록 파이프라인 확인 패킷이 짧은 주기로 전송되는 것이며, 전송 주기가 짧음에 따라 패킷 크기를 최소화하여 프래픽은 최소하되는 효과가 있다. 한편, 서버에서는 파이프라인 확인 패킷으로 파이프라인만 확인하고 이후 그를 파기할 수 있다.The control point selection of the server is automatic, either manually or through an algorithm, and it must operate the same as the existing system because of the need for arbitrary control. Therefore, if the server needs control at any time, the pipeline confirmation packet is transmitted in a short period so that the control packet can be transmitted to the gateway through the valid pipeline. By minimizing the packet size according to the short transmission period, There is an effect. On the other hand, the server can only check the pipeline with a pipeline confirmation packet and then discard it.

이하에서는 도 2 및 도 3을 참조하여 상술한 패킷을 이용한 게이트웨이와 서버간 통신이 수행되는 형태를 설명한다.Hereinafter, a mode in which communication between the gateway and the server using the packet described above with reference to FIG. 2 and FIG. 3 is performed will be described.

도 2는 본 발명의 일 실시예에 따른 게이트웨이와 서버간 파이프라인 유지를 위한 통신 과정의 일례를 나타낸다.2 illustrates an example of a communication procedure for maintaining a pipeline between a gateway and a server according to an embodiment of the present invention.

도 2에서 게이트웨이는 유동 IP 주소를 할당받았으며, 게이트웨이가 서버로 패킷을 전송하는 주기는 1초이고, 관제점 모니터링 데이터는 매 4초 주기로 게이트웨이에서 서버로 전송되는 것을 가정한다.In FIG. 2, it is assumed that the gateway is assigned a dynamic IP address, the period of time at which the gateway transmits a packet to the server is 1 second, and the monitoring point monitoring data is transmitted from the gateway to the server every 4 seconds.

도 2를 참조하면, 처음 관제점 모니터링 데이터가 전송된(1s) 후 1초(s) 간격으로 파이프라인 확인용 데이터가 서버로 전송된다. 첫 관제점 모니터링 데이터가 전송된 후 4초가 경과하면(5s) 다시 관제점 모니터링 데이터가 전송되며, 이때에는 파이프라인 확인용 데이터가 전송되지 않는다. 이는 관제점 모니터링 데이터의 전송으로 파이프라인이 유지되고 있기 때문이다. 두 번째 관제점 모니터링 데이터가 전송된 후 그 다음 관제점 모니터링 데이터가 전송되기 전까지는 다시 1초 간격으로 파이프라인 확인용 데이터가 서버로 전송된다.Referring to FIG. 2, data for pipeline identification is transmitted to the server at intervals of 1 second (s) after the first monitoring point monitoring data is transmitted (1s). When four seconds have elapsed after the first point monitoring data is transmitted (5s), the point monitoring data is again transmitted, and no data for pipeline confirmation is transmitted. This is because the pipeline is maintained by transmission of point monitoring data. After the second monitoring point monitoring data is transmitted, the pipeline check data is transmitted again to the server at intervals of 1 second until the next monitoring point monitoring data is transmitted.

이러한 과정을 통해 게이트웨이는 매초 서버로 패킷을 전송하게되므로 유동 IP 주소를 사용하더라도 파이프라인이 유지되며, 서버는 유지되는 파이프라인을 통해 희망하는 시점에 제어 패킷을 게이트웨이로 전송할 수 있게 된다. 또한, 관제점 모니터링 데이터를 전송하는 주기 사이에는 최소한의 용량을 갖는 파이프라인 확인용 데이터가 전송되므로, 과도한 트래픽 발생 또한 방지될 수 있는 효과가 있다.Through this process, the gateway transmits the packet to the server every second. Therefore, even if the dynamic IP address is used, the pipeline is maintained and the server can transmit the control packet to the gateway at the desired time through the maintained pipeline. In addition, since pipeline identification data having a minimum capacity is transmitted between the transmission points of monitoring point monitoring data, it is also possible to prevent excessive traffic generation.

도 3은 본 발명의 일 실시예에 따른 복수의 게이트웨이와 서버간 통신 과정의 일례를 나타낸다.3 shows an example of a communication process between a plurality of gateways and a server according to an embodiment of the present invention.

도 3에서는 도 2와 달리 복수의 게이트웨이(G/W, 110A 내지 110D)가 하나의 서버(120)에 연결되어 있으며, 모든 게이트웨이가 유동 IP 주소를 이용하는 것으로 가정한다. 다만, 도 2와 같이 각 게이트웨이는 매초 서버로 패킷을 전송하되, 관제점 모니터링 데이터는 4초 주기로 전송되는 것으로 가정한다.In FIG. 3, it is assumed that a plurality of gateways (G / W) 110A to 110D are connected to one server 120, unlike FIG. 2, and all the gateways use a dynamic IP address. However, as shown in FIG. 2, it is assumed that each gateway transmits a packet to the server every second, and the monitoring point monitoring data is transmitted every 4 seconds.

도 3을 참조하면, 각 게이트웨이(110A 내지 110D)는 정해진 주기에 따라 관제점 모니터링 데이터를 서버(120)로 전송하되, 관제점 모니터링 데이터가 전송되지 않는 전송 주기에는 파이프라인 확인용 데이터를 전송한다. 서버(120)는 각 게이트웨이(110A 내지 110D)로부터 전송되는 데이터를 저장하고, 이를 이용하여 에너지 분석을 수행할 수 있다. 3, each of the gateways 110A to 110D transmits monitoring point monitoring data to the server 120 according to a predetermined period, and transmits data for identifying the pipeline to the transmission period in which the monitoring point monitoring data is not transmitted . The server 120 stores data transmitted from the gateways 110A to 110D, and can perform energy analysis using the data.

만일, 데이터 분석 결과 또는 다른 이유(예컨대, 관리자의 조작)로 게이트웨이 C(G/W C, 110C)에 대한 제어가 필요한 경우, 서버(120)는 제어 데이터를 생성한다. 서버(120)는 해당 게이트웨이(110C)의 시리얼 번호를 확인하여 그(110C)로부터 파이프라인 확인용 데이터(또는 관제점 모니터링 데이터)가 수신됨을 확인하면, 해당 파이프라인을 통하여 생성한 제어 데이터를 전송할 수 있다. If it is necessary to control the gateway C (G / W C, 110C) by a data analysis result or another reason (for example, an administrator's operation), the server 120 generates control data. The server 120 checks the serial number of the gateway 110C and confirms that the pipeline confirmation data (or monitoring point monitoring data) is received from the server 110C, and transmits the control data generated through the pipeline .

게이트웨이 제어 데이터를 게이트웨이 C와의 통신을 위해 유지되고 있는 파이프라인을 통해 전송할 수 있다.The gateway control data can be transmitted through the pipeline that is maintained for communication with the gateway C. [

상술한 방법을 통해, 복수의 게이트웨이 각각에 대한 파이프라인이 유지되므로, 서버는 제어 필요성이 발생한 게이트웨이에 대하여 바로 제어 데이터를 전송할 수 있게 된다.Through the above-described method, since the pipeline for each of the plurality of gateways is maintained, the server can directly transmit the control data to the gateway in which the control need arises.

이하에서는 도 4 및 도 5를 참조하여 관제점 모니터링 데이터의 전송 주기를 설명한다.Hereinafter, the transmission period of monitoring point monitoring data will be described with reference to FIGS. 4 and 5. FIG.

BEMS에서 주요 통신사항은 관제점 모니터링이 주요하기 때문에 모니터링 데이터를 주기적으로 전송을 하며, 이러한 데이터의 전송 주기는 BEMS 특성상 서버(플랫폼)에 부하를 주지 않는 선에서 설정되는 것이 바람직하다. 실제 BEMS에서 모니터링되는 정보는 대부분 온도 데이터이기 때문에, 온도 데이터에 최적화된 데이터 전송 주기가 설정될 수 있다. In the BEMS, the monitoring data is periodically transmitted because the main point of communication is the monitoring point. It is desirable that the transmission period of such data is set in a line that does not load the server (platform) due to the BEMS characteristic. Since the information monitored in real BEMS is mostly temperature data, a data transmission period optimized for temperature data can be set.

도 4는 공조기가 오프 상태일 때 실내외 온도 변화 추이를, 도 5는 공조기가 온 상태일 상태일 때 실내외 온도 변화 추이를 각각 나타내는 그래프이다.FIG. 4 is a graph showing the indoor / outdoor temperature change trend when the air conditioner is off, and FIG. 5 is a graph showing the indoor / outdoor temperature change trend when the air conditioner is in the on state.

도 4의 시간별 실내외 온도와 도 5의 시간별 실내외 온도는 아래 표 1 및 표 2에 각각 정리되었다.The indoor and outdoor temperatures by time of FIG. 4 and the indoor and outdoor temperatures by time of FIG. 5 are summarized in Tables 1 and 2, respectively.

Time (시:분)Time (hour: minute) Out TempOut Temp In TempIn Temp 8:008:00 2.62.6 23.51623.516 8:018:01 2.62.6 23.38423.384 8:028:02 2.62.6 23.38423.384 8:038:03 2.62.6 23.43823.438 8:048:04 2.62.6 23.46223.462 8:058:05 2.62.6 23.62423.624 8:068:06 2.62.6 23.62423.624 8:078:07 2.62.6 23.79223.792 8:088:08 2.72.7 23.4823.48 8:098:09 2.72.7 23.4823.48 8:108:10 2.72.7 23.55223.552 8:118:11 2.82.8 23.63623.636 8:128:12 2.82.8 23.63623.636 8:138:13 2.92.9 23.53423.534 8:148:14 2.92.9 23.41423.414 8:158:15 2.92.9 23.41423.414 8:168:16 2.92.9 23.25223.252 8:178:17 33 23.47423.474 8:188:18 33 23.47423.474 8:198:19 33 23.44423.444 8:208:20 33 23.23423.234 8:218:21 33 23.23423.234 8:228:22 33 23.36623.366 8:238:23 33 23.55223.552 8:248:24 3.13.1 23.43223.432 8:258:25 3.13.1 23.43223.432 8:268:26 3.13.1 23.43823.438 8:278:27 3.13.1 23.43223.432 8:288:28 3.13.1 23.43223.432

도 4 및 표 1을 함께 참조하면, 실내외 온도 변화 추이는 공조기가 오프된 상태에서 온도의 변화차는 약 10분당 0.1~0.3도의 변동 폭이 있다. Referring to FIG. 4 and Table 1 together, the indoor / outdoor temperature change has a fluctuation range of 0.1 to 0.3 degrees per 10 minutes in a state where the air conditioner is off.

TimeTime Out TempOut Temp In TempIn Temp 12:0012:00 4.24.2 20.85820.858 12:0112:01 44 20.85820.858 12:0212:02 44 20.85820.858 12:0312:03 4.24.2 21.03821.038 12:0412:04 4.34.3 20.98420.984 12:0512:05 4.34.3 20.98420.984 12:0612:06 4.34.3 21.19421.194 12:0712:07 4.34.3 21.10421.104 12:0812:08 44 21.10421.104 12:0912:09 3.93.9 20.8720.87 12:1012:10 3.93.9 20.8720.87 12:1112:11 3.83.8 20.96620.966 12:1212:12 3.83.8 21.00821.008 12:1312:13 3.83.8 21.00821.008 12:1412:14 4.14.1 21.12221.122 12:1512:15 4.44.4 20.82820.828 12:1612:16 4.44.4 20.82820.828 12:1712:17 4.44.4 20.9620.96 12:1812:18 4.74.7 21.27821.278 12:1912:19 4.74.7 21.27821.278 12:2012:20 4.44.4 20.93620.936 12:2112:21 4.54.5 21.25421.254 12:2212:22 4.54.5 21.25421.254 12:2312:23 4.64.6 21.00821.008 12:2412:24 4.64.6 21.18821.188 12:2512:25 4.64.6 21.18821.188 12:2612:26 4.84.8 21.52421.524 12:2712:27 4.84.8 21.52421.524 12:2812:28 4.54.5 22.14822.148

또한, 도 5 및 표 2를 함께 참조하면, 실내외 온도 변화 추이는 공조기가 온 상태에서 공조기 오프 상태 대비 변동 폭이 조금 더 크기 했지만, 10분당 0.5~0.8도이다. 하절기의 경우라 하더라도 온도 변화차는 동절기에 비해 큰 경향이 있으나, 변동폭 또한 5분당 약 1도 이하이다. 따라서, 약 5초 내외의 주기로 관제점 모니터링 데이터를 전송할 경우, 실시간 데이터를 전송한 데이터와의 편차가 크지 않다.5 and Table 2 together, the variation of the indoor / outdoor temperature is 0.5 to 0.8 degrees per 10 minutes, although the variation width of the air conditioner is slightly larger than that of the air conditioner off state. Even in the case of the summer season, the temperature variation difference tends to be larger than that during the winter season, but the variation width is also about 1 degree or less per 5 minutes. Therefore, when the monitoring point monitoring data is transmitted at a cycle of about 5 seconds or less, there is not a large deviation from the data transmitted in real time.

물론, 이러한 관제점 모니터링 데이터의 전송 주기는 실시예에 따른 BEMS가 설치되는 건물의 상황에 따라 가변적으로 설정될 수 있으며, 본 발명의 실시예들은 관제점 모니터링 데이터의 전송 주기에 의해 한정되지 아니한다. 다만, 관제점 모니터링 데이터의 전송 주기는 기본 패킷 전송 주기의 배수인 것이 바람직하다. 예컨대, 기본 패킷 전송 주기가 1초라면, 관제점 모니터링 데이터의 전송 주기는 4초, 5초 또는 6초와 같이 설정되며, 매 기본 패킷 전송 주기에서 관제점 모니터링 데이터가 전송되지 않는 전송 주기에서는 파이프라인 확인용 데이터가 전송될 수 있다.Of course, the transmission period of the monitoring point monitoring data can be variably set according to the situation of the building where the BEMS according to the embodiment is installed, and the embodiments of the present invention are not limited by the transmission period of the monitoring point monitoring data. However, it is preferable that the transmission period of the monitoring point monitoring data is a multiple of the basic packet transmission period. For example, if the basic packet transmission period is 1 second, the transmission period of monitoring point monitoring data is set to 4 seconds, 5 seconds, or 6 seconds. In a transmission period in which no point monitoring data is transmitted in every basic packet transmission period, Data for line identification can be transmitted.

전술한 본 발명은, 프로그램이 기록된 매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 매체는, 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 매체의 예로는, HDD(Hard Disk Drive), SSD(Solid State Disk), SDD(Silicon Disk Drive), ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치 등이 있다. The present invention described above can be embodied as computer-readable codes on a medium on which a program is recorded. The computer readable medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of the computer readable medium include a hard disk drive (HDD), a solid state disk (SSD), a silicon disk drive (SDD), a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, .

따라서, 상기의 상세한 설명은 모든 면에서 제한적으로 해석되어서는 아니되고 예시적인 것으로 고려되어야 한다. 본 발명의 범위는 첨부된 청구항의 합리적 해석에 의해 결정되어야 하고, 본 발명의 등가적 범위 내에서의 모든 전환은 본 발명의 범위에 포함된다.Accordingly, the above description should not be construed in a limiting sense in all respects and should be considered illustrative. The scope of the present invention should be determined by rational interpretation of the appended claims, and all conversions within the scope of equivalents of the present invention are included in the scope of the present invention.

Claims (19)

유동 IP 주소를 이용한 양방향 통신 방법에 있어서,
제1 개체에서 제1 유동 IP 주소를 할당받는 단계;
상기 제1 유동 IP 주소를 이용하여 제1 전송 주기마다 데이터 전송을 위한 제1 패킷 또는 상기 제1 유동 IP 주소에 대한 파이프라인 유지를 위한 제2 패킷을 제2 개체로 전송하는 단계;
상기 제2 개체에서 상기 제1 개체에 대한 제어 데이터가 생성되면, 상기 제2 개체에서 상기 제1 패킷 또는 상기 제2 패킷의 수신을 대기하는 단계; 및
상기 제2 개체에서 상기 제1 패킷 또는 상기 제2 패킷이 수신되면, 상기 수신된 패킷에 대한 파이프라인을 통해 상기 제어 데이터를 포함하는 제3 패킷을 상기 제1 개체로 전송하는 단계를 포함하는, 유동 IP 주소를 이용한 양방향 통신 방법.
In a bidirectional communication method using a dynamic IP address,
Receiving a first dynamic IP address from a first entity;
Transmitting a first packet for data transmission or a second packet for maintaining a pipeline for the first floating IP address to the second entity every first transmission period using the first floating IP address;
Waiting for reception of the first packet or the second packet at the second entity when control data for the first entity is generated at the second entity; And
And transmitting a third packet including the control data through a pipeline for the received packet to the first entity when the first packet or the second packet is received at the second entity. A two - way communication method using a dynamic IP address.
제1 항에 있어서,
상기 제1 개체는 건물 에너지 관리 시스템(BEMS: Building Energy Management System)의 게이트웨이를 포함하고,
상기 제2 개체는 상기 BEMS의 서버 또는 플랫폼을 포함하는, 유동 IP 주소를 이용한 양방향 통신 방법.
The method according to claim 1,
The first entity comprising a gateway to a Building Energy Management System (BEMS)
Wherein the second entity comprises a server or platform of the BEMS.
제1 항에 있어서,
상기 제1 패킷 및 상기 제2 패킷 각각은,
헤더와 바디를 포함하되,
상기 제1 패킷은 상기 바디의 데이터 필드에 데이터를 포함하고,
상기 제2 패킷은 상기 데이터 필드가 비워진, 유동 IP 주소를 이용한 양방향 통신 방법.
The method according to claim 1,
Wherein each of the first packet and the second packet includes:
Including headers and body,
Wherein the first packet includes data in a data field of the body,
And wherein the second packet is empty of the data field.
제3 항에 있어서,
상기 제1 패킷 및 상기 제2 패킷 각각의 바디는,
패킷의 종류를 지시하는 패킷 정보 및 디바이스 식별 정보를 더 포함하는, 유동 IP 주소를 이용한 양방향 통신 방법.
The method of claim 3,
The bodies of the first packet and the second packet, respectively,
Further comprising packet information and device identification information for indicating a type of packet, and a bidirectional communication method using a dynamic IP address.
제4 항에 있어서,
상기 디바이스 식별 정보는 시리얼 넘버를 포함하고,
상기 대기하는 단계는,
상기 시리얼 넘버를 통해 상기 제1 개체에서 전송된 상기 제1 패킷 또는 상기 제2 패킷을 식별하는 단계를 포함하는, 유동 IP 주소를 이용한 양방향 통신 방법.
5. The method of claim 4,
Wherein the device identification information includes a serial number,
Wherein the waiting comprises:
And identifying the first packet or the second packet transmitted from the first entity via the serial number.
제1 항에 있어서,
상기 제1 패킷은 상기 제1 전송 주기의 배수로 설정되는 제2 전송 주기마다 상기 제2 개체로 전송되고,
상기 제2 패킷은 상기 제1 전송 주기에서 상기 제1 패킷이 전송되지 않는 전송 주기마다 상기 제2 개체로 전송되는, 유동 IP 주소를 이용한 양방향 통신 방법.
The method according to claim 1,
Wherein the first packet is transmitted to the second entity every second transmission period set to a multiple of the first transmission period,
Wherein the second packet is transmitted to the second entity every transmission period in which the first packet is not transmitted in the first transmission period.
제6 항에 있어서,
상기 제1 전송 주기는 1초이고,
상기 제2 전송 주기는 5초인, 유동 IP 주소를 이용한 양방향 통신 방법.
The method according to claim 6,
The first transmission period is one second,
Wherein the second transmission period is 5 seconds.
제1 항에 있어서,
소정 조건이 만족되면 상기 제1 개체에 대한 제어 데이터를 생성하는 단계를 더 포함하는, 유동 IP 주소를 이용한 양방향 통신 방법.
The method according to claim 1,
And generating control data for the first entity if the predetermined condition is satisfied.
제8 항에 있어서,
상기 소정 조건은,
관리자로부터 상기 제2 개체로 제어 명령이 입력된 경우, 또는 소정의 서버 알고리즘에 따른 제어 기점이 설정된 경우를 포함하는, 유동 IP 주소를 이용한 양방향 통신 방법.
9. The method of claim 8,
The predetermined condition is that,
When a control command is input from the manager to the second entity, or when a control origin point according to a predetermined server algorithm is set, the two-way communication method using the dynamic IP address.
제1 항 내지 제9 항 중 어느 한 항에 따른 유동 IP 주소를 이용한 양방향 통신 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터 해독 가능 기록 매체.A computer-readable recording medium recording a program for executing a two-way communication method using a dynamic IP address according to any one of claims 1 to 9. 건물 에너지 관리 시스템(BEMS: Building Energy Management System)에 있어서,
제1 유동 IP 주소를 할당받고, 상기 할당된 제1 유동 IP 주소를 이용하여 제1 전송 주기마다 데이터 전송을 위한 제1 패킷 또는 상기 제1 유동 IP 주소에 대한 파이프라인 유지를 위한 제2 패킷을 전송하는 게이트웨이; 및
상기 게이트웨이에 대한 제어 데이터가 생성되면, 상기 제1 패킷 또는 상기 제2 패킷의 수신을 대기하고, 상기 제1 패킷 또는 상기 제2 패킷이 상기 게이트웨이로부터 수신되면, 상기 수신된 패킷에 대한 파이프라인을 통해 상기 제어 데이터를 포함하는 제3 패킷을 상기 게이트웨이로 전송하는 서버를 포함하는, 건물 에너지 관리 시스템.
In a building energy management system (BEMS)
A first packet for data transmission or a second packet for maintaining the pipeline for the first dynamic IP address is allocated to each of the first transmission period by using the allocated first dynamic IP address, A transmitting gateway; And
When control data for the gateway is generated, waiting for reception of the first packet or the second packet, and when the first packet or the second packet is received from the gateway, And sending a third packet containing the control data to the gateway.
제11 항에 있어서,
상기 게이트웨이는 센서, 공조 시스템, 전력 제어 시스템 및 조명 시스템 중 적어도 하나를 포함하는 설비와 연결되어, 상기 설비로부터 전송된 데이터를 이용하여 상기 제1 패킷을 생성하는, 건물 에너지 관리 시스템.
12. The method of claim 11,
Wherein the gateway is coupled to a facility including at least one of a sensor, an air conditioning system, a power control system, and a lighting system to generate the first packet using data transmitted from the facility.
제11 항에 있어서,
상기 제1 패킷 및 상기 제2 패킷 각각은,
헤더와 바디를 포함하되,
상기 제1 패킷은 상기 바디의 데이터 필드에 데이터를 포함하고,
상기 제2 패킷은 상기 데이터 필드가 비워진, 건물 에너지 관리 시스템.
12. The method of claim 11,
Wherein each of the first packet and the second packet includes:
Including headers and body,
Wherein the first packet includes data in a data field of the body,
And the second packet is empty of the data field.
제13 항에 있어서,
상기 제1 패킷 및 상기 제2 패킷 각각의 바디는,
패킷의 종류를 지시하는 패킷 정보 및 디바이스 식별 정보를 더 포함하는, 건물 에너지 관리 시스템.
14. The method of claim 13,
The bodies of the first packet and the second packet, respectively,
Further comprising packet information and device identification information indicating a type of packet.
제14 항에 있어서,
상기 디바이스 식별 정보는 시리얼 넘버를 포함하고,
상기 서버는,
상기 시리얼 넘버를 통해 상기 게이트웨이에서 전송된 상기 제1 패킷 또는 상기 제2 패킷을 식별하는, 건물 에너지 관리 시스템.
15. The method of claim 14,
Wherein the device identification information includes a serial number,
The server comprises:
And identifies the first packet or the second packet transmitted at the gateway via the serial number.
제11 항에 있어서,
상기 제1 패킷은 상기 제1 전송 주기의 배수로 설정되는 제2 전송 주기마다 상기 서버로 전송되고,
상기 제2 패킷은 상기 제1 전송 주기에서 상기 제1 패킷이 전송되지 않는 전송 주기마다 상기 서버로 전송되는, 건물 에너지 관리 시스템.
12. The method of claim 11,
Wherein the first packet is transmitted to the server every second transmission period which is set to a multiple of the first transmission period,
Wherein the second packet is transmitted to the server every transmission cycle in which the first packet is not transmitted in the first transmission period.
제16 항에 있어서,
상기 제1 전송 주기는 1초이고,
상기 제2 전송 주기는 5초인, 건물 에너지 관리 시스템.
17. The method of claim 16,
The first transmission period is one second,
Wherein the second transmission period is 5 seconds.
제11 항에 있어서,
상기 서버는,
소정 조건이 만족되면 상기 게이트웨이에 대한 제어 데이터를 생성하는, 건물 에너지 관리 시스템.
12. The method of claim 11,
The server comprises:
And generates control data for the gateway when a predetermined condition is satisfied.
제18 항에 있어서,
상기 소정 조건은,
관리자로부터 상기 서버로 제어 명령이 입력된 경우, 또는 소정의 서버 알고리즘에 따른 제어 기점이 설정된 경우를 포함하는, 건물 에너지 관리 시스템.
19. The method of claim 18,
The predetermined condition is that,
When a control command is input from the manager to the server, or when a control origin according to a predetermined server algorithm is set.
KR1020170138540A 2017-10-24 2017-10-24 Energy management system and Method of Data communication for the same KR20190045681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170138540A KR20190045681A (en) 2017-10-24 2017-10-24 Energy management system and Method of Data communication for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170138540A KR20190045681A (en) 2017-10-24 2017-10-24 Energy management system and Method of Data communication for the same

Publications (1)

Publication Number Publication Date
KR20190045681A true KR20190045681A (en) 2019-05-03

Family

ID=66583063

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170138540A KR20190045681A (en) 2017-10-24 2017-10-24 Energy management system and Method of Data communication for the same

Country Status (1)

Country Link
KR (1) KR20190045681A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114172800A (en) * 2021-11-25 2022-03-11 浙江源创智控技术有限公司 KNX multi-gateway communication method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114172800A (en) * 2021-11-25 2022-03-11 浙江源创智控技术有限公司 KNX multi-gateway communication method, device, equipment and storage medium
CN114172800B (en) * 2021-11-25 2024-05-03 浙江源创智控技术有限公司 KNX multi-gateway communication method, KNX multi-gateway communication device, KNX multi-gateway communication equipment and storage medium

Similar Documents

Publication Publication Date Title
US20220121795A1 (en) Equipment fault detection, diagnostics and disaggregation system
KR100803575B1 (en) Unification management system and method for multi-air conditioner
US20220222056A1 (en) Building management system with cloud management of gateway configurations
US10613501B2 (en) Method and apparatus for providing equipment maintenance via a network
US8087257B2 (en) Air conditioner integrated management system and control method of the same
US20210126814A1 (en) System, Method and Apparatus for Integrated Building Operations Management
KR101986838B1 (en) SAFETY MANAGEMENT SYSTEM FOR MEASUREMENT DEEP-LEARNING AND CONTROL SENSOR BASED LoRa NETWORK
EP2971988B1 (en) Methods and systems for remotely monitoring and controlling hvac units
JP2017130009A (en) Maintenance support system and method
US10979962B2 (en) Wireless system configuration of master zone devices based on signal strength analysis
JP7244744B2 (en) Equipment management system
WO2013040850A1 (en) Cloud computing-based system and method for management and control of air processing apparatus
JP5951270B2 (en) Air conditioner power consumption management control system, server device, client device, and air conditioner power consumption management control method
KR20190045681A (en) Energy management system and Method of Data communication for the same
JP3821157B2 (en) Equipment management system, management device, equipment management method and equipment management program
US20230272933A1 (en) Building management system with particulate sensing
JP6072906B2 (en) Air conditioning system
WO2023094824A1 (en) Apparatus, method and computer program for remote monitoring of environmental conditions within a plurality of buildings
CN107431734B (en) Indoor device, communication adapter, control method, and recording medium
JP6399853B2 (en) Facility integrated management system and facility integrated management method
CN112313964B (en) Clearance data collection for low energy devices
JP2013099182A (en) Local energy management system, and correction method of amount of supply/demand adjustment
JP2004005496A (en) Remote control system of facility equipment, facility equipment controller and server
KR102586859B1 (en) System and method to manage power consumption of air conditioners based on air quality measurement for net zero
KR20170122027A (en) IoT based Data Aggregation Method for District Heating User-side Management of Energy Efficiency and Failure Analysis and Systems applying the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application
AMND Amendment