KR20200112204A - Electronic device, server, and data processing mtehod thereof - Google Patents
Electronic device, server, and data processing mtehod thereof Download PDFInfo
- Publication number
- KR20200112204A KR20200112204A KR1020190032294A KR20190032294A KR20200112204A KR 20200112204 A KR20200112204 A KR 20200112204A KR 1020190032294 A KR1020190032294 A KR 1020190032294A KR 20190032294 A KR20190032294 A KR 20190032294A KR 20200112204 A KR20200112204 A KR 20200112204A
- Authority
- KR
- South Korea
- Prior art keywords
- message
- state data
- data
- server
- partial
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/189—Transmission or retransmission of more than one copy of a message
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/1607—Details of the supervisory signal
- H04L1/1664—Details of the supervisory signal the supervisory signal being transmitted together with payload signals; piggybacking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/826—Involving periods of time
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
본 발명은, 공기조화기, 서버 및 그 데이터 처리 방법에 관한 것으로, 특히, 데이터의 전송 효율 및 처리 효율을 향상시킬 수 있는 공기조화기, 서버 및 그 데이터 처리 방법에 관한 것이다.The present invention relates to an air conditioner, a server, and a data processing method thereof, and more particularly, to an air conditioner, a server, and a data processing method thereof capable of improving data transmission efficiency and processing efficiency.
공기조화기는 쾌적한 실내 환경을 조성하기 위해, 실내로 냉온의 공기를 토출하여 실내 온도를 조절하고, 실내 공기를 정화하도록 함으로써, 인간에게 보다 쾌적한 실내 환경을 제공하기 위해 설치된다. The air conditioner is installed to provide a more comfortable indoor environment to humans by controlling the indoor temperature by discharging cold and hot air into the room, and purifying the indoor air in order to create a pleasant indoor environment.
일반적으로 공기조화기는 열교환기로 구성되어 실내에 설치되는 실내기와, 압축기 및 열교환기 등으로 구성되어 실내기로 냉매를 공급하는 실외기를 포함한다. 구체적으로, 공기조화기는 실외기 및 실내기가 냉매배관으로 연결되어, 실외기의 압축기로부터 압축된 냉매가 냉매배관을 통해 실내기의 열교환기로 공급되고, 실내기의 열교환기에서 열 교환된 냉매는 다시 냉매배관을 통해 실외기의 압축기로 유입된다. 그에 따라 실내기는 냉매를 이용한 열교환을 통해 냉온의 공기를 실내로 토출한다.In general, an air conditioner includes an indoor unit configured with a heat exchanger and installed indoors, and an outdoor unit configured with a compressor and a heat exchanger to supply refrigerant to the indoor unit. Specifically, the air conditioner is connected to the outdoor unit and the indoor unit through a refrigerant pipe, and the refrigerant compressed from the compressor of the outdoor unit is supplied to the heat exchanger of the indoor unit through the refrigerant pipe, and the refrigerant exchanged by the heat exchanger of the indoor unit is again passed through the refrigerant pipe. It flows into the outdoor unit's compressor. Accordingly, the indoor unit discharges hot and cold air into the room through heat exchange using a refrigerant.
멀티형 공기조화기는, 실외기, 실내기와 통신선을 통해 연결되고, 실외기, 실내기의 동작을 제어하는 제어기를 더 포함하여 구성된다. 예를 들면, 건물의 지하에 위치한 관리실에 배치되는 제어기가 건물의 외부에 배치되는 실외기와 통신선을 통해 연결되며, 건물의 실내에 배치되는 다수의 실내기와 실외기가 통신선을 통해 연결된다. The multi-type air conditioner is connected to the outdoor unit and the indoor unit through a communication line, and further includes a controller for controlling the operation of the outdoor unit and the indoor unit. For example, a controller disposed in a management room located at the basement of a building is connected to an outdoor unit disposed outside the building through a communication line, and a plurality of indoor units disposed indoors of the building and outdoor units are connected through a communication line.
한편, 공기조화기는, 공기조화기에 구비된 각 구성의 동작 상태를 모니터링(monitoring)하고, 모니터링 결과를 주기적으로 서버에 전송함으로써, 서버에 구비된 데이터베이스에 모니터링 결과가 저장되도록 한다. Meanwhile, the air conditioner monitors the operation state of each component provided in the air conditioner and periodically transmits the monitoring result to the server, so that the monitoring result is stored in a database provided in the server.
종래의 공기조화기는, 각 구성의 동작 상태에 대한 모든 모니터링 결과를 하나의 메시지로 생성하여 주기적으로 서버에 전송하기 때문에, 전송되는 메시지의 크기가 크고, 이로 인해 데이터 전송 효율이 낮아지는 문제점이 있다.Conventional air conditioners have a problem in that the size of the transmitted message is large and data transmission efficiency is lowered due to the fact that all monitoring results for the operation status of each component are generated as a single message and periodically transmitted to the server. .
또한, 서버에서 수신되는 메시지의 크기가 크고, 메시지에 포함된 모니터링 결과가 많아, 메시지를 처리하는 서버의 처리 부하(load)가 커지게 되어, 시스템의 안정성 및 데이터 처리 효율이 낮아지는 문제점도 있다. In addition, the size of the message received from the server is large, the monitoring results included in the message are large, and the processing load of the server that processes the message increases, resulting in a decrease in system stability and data processing efficiency. .
또한, 종래에는, 공기조화기와 서버가 TCP(Transmission Control Protocol) 기반의 자체 프로토콜을 사용하며, 서버는 TCP 연결을 지속적으로 유지한 상태로 주기적으로 모니터링 결과에 대한 메시지를 공기조화기로부터 수신함에 따라, 서버의 자원(resource)이 비효율적으로 소모되는 문제점도 있다.In addition, conventionally, the air conditioner and the server use their own protocol based on TCP (Transmission Control Protocol), and the server periodically receives a message about the monitoring result from the air conditioner while maintaining the TCP connection. , There is also a problem in that the server resources are consumed inefficiently.
본 발명의 목적은, 데이터의 전송 효율 및 처리 효율을 향상시킬 수 있는 공기조화기, 서버 및 그 데이터 처리 방법을 제공함에 있다.An object of the present invention is to provide an air conditioner, a server, and a data processing method capable of improving data transmission efficiency and processing efficiency.
상기 목적을 달성하기 위한, 본 발명의 실시예에 따른 공기조화기는, 적어도 하나의 통신 모듈을 구비하는 통신부, 공기조화기에 구비된 적어도 하나의 구성의 동작 상태와 관련된 상태 데이터를 저장하는 메모리 및 제어부를 포함하고, 제어부는, 통신부를 통해, 적어도 하나의 구성으로부터 상태 데이터를 획득하고, 획득한 상태 데이터 중, 메모리에 저장된 상태 데이터와 소정 기준 이상 차이가 있는 부분에 대한 부분 데이터를 확인하고, 획득한 상태 데이터가 제1 상태 데이터인 경우, 획득한 상태 데이터 전체에 대한 전체 메시지 및 부분 데이터에 대한 부분 메시지 중 어느 하나를 서버에 전송하고, 획득한 상태 데이터가 제2 상태 데이터인 경우, 전체 메시지 및 부분 메시지 중 적어도 어느 하나를 메모리에 저장한 후, 메모리에 저장된 복수의 메시지를 서버에 함께 전송할 수 있다.In order to achieve the above object, an air conditioner according to an embodiment of the present invention includes a communication unit including at least one communication module, a memory and a control unit for storing state data related to an operation state of at least one component provided in the air conditioner. Including, the control unit, through the communication unit, obtains the state data from at least one component, of the obtained state data, checks and obtains partial data for a portion having a difference between the state data stored in the memory and a predetermined reference or more When one state data is the first state data, one of the entire message for the entire acquired state data and a partial message for the partial data is transmitted to the server, and if the acquired state data is the second state data, the entire message And after storing at least one of the partial messages in the memory, a plurality of messages stored in the memory may be transmitted to the server together.
상기 목적을 달성하기 위한, 본 발명의 실시예에 따른 공기조화기의 데이터 처리 방법은, 공기조화기에 구비된 적어도 하나의 구성의 동작 상태와 관련된 상태 데이터를 획득하는 동작, 획득한 상태 데이터 중, 메모리에 저장된 상태 데이터와 소정 기준 이상 차이가 있는 부분에 대한 부분 데이터를 확인하는 동작, 획득한 상태 데이터가 제1 상태 데이터인 경우, 획득한 상태 데이터 전체에 대한 전체 메시지 및 부분 데이터에 대한 부분 메시지 중 어느 하나를 서버에 전송하는 제1 전송 동작 및 획득한 상태 데이터가 제2 상태 데이터인 경우, 전체 메시지 및 부분 메시지 중 어느 하나를 메모리에 저장한 후, 메모리에 저장된 복수의 메시지를 서버에 함께 전송하는 제2 전송 동작을 포함할 수 있다. In order to achieve the above object, a data processing method of an air conditioner according to an embodiment of the present invention includes an operation of acquiring state data related to an operation state of at least one component provided in the air conditioner, among the acquired state data, Checking partial data on a part that is different from the status data stored in the memory by more than a predetermined standard, and when the obtained status data is the first status data, a full message for the entire acquired status data and a partial message for the partial data When the first transmission operation of transmitting any one of the first transmission operation to the server and the acquired state data is the second state data, after storing any one of the entire message and the partial message in the memory, a plurality of messages stored in the memory are combined with the server. It may include a second transmission operation to transmit.
상기 목적을 달성하기 위한, 본 발명의 실시예에 따른 서버는, 적어도 하나의 통신 모듈을 구비하는 통신부, 공기조화기의 동작 상태와 관련된 제1 상태 데이터 및 제2 상태 데이터를 저장하는 메모리 및 제어부를 포함하고, 제어부는, 통신부를 통해, 공기조화기로부터 공기조화기에 대한 메시지를 수신하고, 수신된 메시지가 제1 상태 데이터에 관한 메시지인 경우, 수신된 메시지에 기초하여, 메모리에 저장된 제1 상태 데이터의 적어도 일부를 변경하고, 수신된 메시지가 제2 상태 데이터에 관한 메시지인 경우, 수신된 메시지에 대응하는 상태 데이터를 생성하여, 메모리에 저장된 제2 상태 데이터에 추가할 수 있다. In order to achieve the above object, a server according to an embodiment of the present invention includes a communication unit including at least one communication module, a memory and a control unit for storing first and second state data related to the operating state of the air conditioner. Including, the control unit, through the communication unit, receives a message for the air conditioner from the air conditioner, and when the received message is a message related to the first state data, based on the received message, the first stored in the memory When at least part of the state data is changed and the received message is a message related to the second state data, state data corresponding to the received message may be generated and added to the second state data stored in the memory.
본 발명의 다양한 실시예에 따르면, 모니터링 결과 중 이전 모니터링 결과와 일정 기준 이상의 차이가 있는 부분에 대해서 메시지를 생성하여 서버로 전송함으로써, 데이터 전송 효율을 높일 수 있다.According to various embodiments of the present disclosure, data transmission efficiency can be improved by generating a message for a portion of the monitoring result that has a difference greater than or equal to a predetermined standard from a previous monitoring result and transmitting the message to the server.
또한, 본 발명의 다양한 실시예에 따르면, 모니터링 결과의 타입을 구분하여, 특정 타입의 모니터링 결과에 대한 메시지는, 매번 서버로 전송하지 않고, 일정 주기에 따라 복수개를 함께 전송함으로써, 서버의 데이터 처리 효율을 높일 수 있다. In addition, according to various embodiments of the present invention, the type of monitoring result is classified, and a message for a specific type of monitoring result is not transmitted to the server every time, but a plurality of messages are transmitted together according to a predetermined period, thereby processing data of the server. You can increase the efficiency.
또한, 본 발명의 다양한 실시예에 따르면, 메시지를 처리하는 서버의 구조를 개선함으로써, 서버의 데이터 처리 성능과 시스템의 안정성을 높일 수 있다. In addition, according to various embodiments of the present disclosure, by improving the structure of a server that processes messages, it is possible to increase the data processing performance of the server and the stability of the system.
또한, 본 발명의 다양한 실시예에 따르면, HTTP(HyperText Transfer Protocol) 기반의 REST(Representational State Transfer) API(Application Programming Interface)를 통해 메시지를 송수신하는 경우, 서버의 부하 분산이 용이하며, HTTPS(HyperText Transfer Protocol over Secure Socket Layer)를 활용하여 보안성을 강화할 수도 있다. In addition, according to various embodiments of the present invention, when messages are transmitted and received through HTTP (HyperText Transfer Protocol) based REST (Representational State Transfer) API (Application Programming Interface), load balancing of the server is easy, and HTTPS (HyperText Transfer Protocol) Transfer Protocol over Secure Socket Layer) can be used to enhance security.
도 1은 본 발명의 일 실시예에 따른, 공기조화기 시스템의 일 예이다.
도 2는 본 발명의 일 실시예에 따른, 공기조화기에 포함된 제어기의 내부 블록도의 일 예이다.
도 3은 본 발명의 일 실시예에 따른, 서버의 내부 블록도의 일 예이다.
도 4a 및 4b는 본 발명의 일 실시예에 따른, 공기조화기의 데이터 처리 방법을 도시한 순서도이다.
도 5a 및 5b는 본 발명의 일 실시예에 따른, 서버의 데이터 처리 방법을 도시한 순서도이다. 1 is an example of an air conditioner system according to an embodiment of the present invention.
2 is an example of an internal block diagram of a controller included in an air conditioner according to an embodiment of the present invention.
3 is an example of an internal block diagram of a server according to an embodiment of the present invention.
4A and 4B are flowcharts illustrating a data processing method of an air conditioner according to an embodiment of the present invention.
5A and 5B are flowcharts illustrating a data processing method of a server according to an embodiment of the present invention.
이하에서는 도면을 참조하여 본 발명을 상세하게 설명한다. 도면에서는 본 발명을 명확하고 간략하게 설명하기 위하여 설명과 관계없는 부분의 도시를 생략하였으며, 명세서 전체를 통하여 동일 또는 극히 유사한 부분에 대해서는 동일한 도면 참조부호를 사용한다. Hereinafter, the present invention will be described in detail with reference to the drawings. In the drawings, in order to clearly and briefly describe the present invention, the illustration of parts not related to the description is omitted, and the same reference numerals are used for identical or extremely similar parts throughout the specification.
이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 단순히 본 명세서 작성의 용이함만이 고려되어 부여되는 것으로서, 그 자체로 특별히 중요한 의미 또는 역할을 부여하는 것은 아니다. 따라서, 상기 "모듈" 및 "부"는 서로 혼용되어 사용될 수도 있다.The suffixes "module" and "unit" for the constituent elements used in the following description are given in consideration of only the ease of writing in the present specification, and do not impart a particularly important meaning or role by themselves. Therefore, the "module" and "unit" may be used interchangeably with each other.
본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나, 숫자, 단계, 동작, 구성요소, 부품, 또는 이들을 조합한 것들의 존재, 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In the present application, terms such as "comprises" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, but one or more other features. It is to be understood that the presence or additional possibility of additions or numbers, steps, actions, components, parts, or combinations thereof, is not preliminarily excluded.
또한, 본 명세서에서, 다양한 요소들을 설명하기 위해 제1, 제2 등의 용어가 이용될 수 있으나, 이러한 요소들은 이러한 용어들에 의해 제한되지 아니한다. 이러한 용어들은 한 요소를 다른 요소로부터 구별하기 위해서만 이용된다. In addition, in this specification, terms such as first and second may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
도 1은 본 발명의 일 실시예에 따른, 공기조화기 시스템의 일 예이다.1 is an example of an air conditioner system according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 다양한 실시 예에 따른 공기조화기 시스템(100)은, 공조 유닛(10), 제어기(20), 및/또는 서버(30)를 포함할 수 있다. 한편, 이하에서는, 공조 유닛(10) 및 제어기(20)를 포함하는 구성을 공기조화기로 명명하도록 한다.Referring to FIG. 1, an
공조 유닛(10)은, 예를 들면, 적어도 하나의 실외기(11) 및 적어도 하나의 실내기(12)를 포함할 수 있다. The
실외기(11)는, 예를 들면, 냉매를 공급받아 압축하는 압축기(미도시), 냉매와 실외공기를 열교환하는 실외 열교환기(미도시), 공급되는 냉매로부터 기체 냉매를 추출하여 압축기로 공급하는 어큐뮬레이터(미도시), 및/또는 난방운전에 따른 냉매의 유로를 선택하는 사방밸브(미도시)를 포함할 수 있다. 또한, 실외기(11)는, 예를 들면, 복수의 센서(미도시), 밸브(미도시), 오일회수기(미도시) 등을 더 포함할 수 있다.The
실외기(11)는, 예를 들면, 구비되는 압축기를 통해 냉매를 압축시킬 수 있고, 실외 열교환기를 통해 냉매를 열교환하여 실내기(12)로 공급할 수 있다. 실외기(11)는, 예를 들면, 제어기(20) 또는 실내기(12)의 요구에 의해 구동될 수 있고, 구동되는 실내기(12)에 대응하여 냉/난방 용량이 가변됨에 따라 실외기(11)에 설치된 압축기의 작동 개수가 변경될 수 있다. The
한편, 실외기(11)는, 예를 들면, 전원입력, 마스터 설정, 주소설정 등을 위한 입력장치(미도시)를 구비할 수 있다.Meanwhile, the
실내기(12)는, 예를 들면, 실외기(11)에 연결되어, 냉매를 공급받을 수 있고, 냉온 또는 열온의 공기를 실내로 토출할 수 있다. 예를 들면, 복수의 실내기(12)가 하나의 실외기(11)로부터 냉매를 공급받을 수 있다. The
실내기(12)는, 예를 들면, 실내 열교환기(미도시), 실내팬(미도시), 및/또는 다수의 센서(미도시)를 포함할 수 있다. 한편, 실내기(12)는, 예를 들면, 동작, 온도설정, 풍량, 풍향, 잠금 등의 운전설정을 위한 입력장치(미도시)를 구비할 수 있다. 한편, 실내기(12)는, 예를 들면, 동작, 온도설정, 풍량, 풍향, 잠금 등의 운전설정에 대한 정보를 출력할 수 있는 출력장치(미도시)를 구비할 수 있다.The
한편, 실외기(11) 및/또는 실내기(12)는, 예를 들면, 냉매가 팽창되도록 하는 팽창밸브(미도시)를 더 포함할 수 있다. 팽창밸브는, 예를 들면, 전자식 팽창밸브(Electric Expansion Valve; EEV)를 포함할 수 있다.Meanwhile, the
실외기(11) 및 실내기(12)는, 예를 들면, 제어기(20)의 제어에 따라 동작할 수 있다. 한편, 실외기(11)는, 예를 들면, 실내기(12)의 제어에 따라 동작할 수도 있다. The
한편, 본 도면에서 도시하지 않았으나, 공조 유닛(10)는, 예를 들면, 리모컨(미도시)를 더 포함할 수 있다. Meanwhile, although not shown in this drawing, the
리모컨은, 예를 들면, 실내기(12)에 연결되어, 실내기(12)로 사용자의 제어명령을 전송할 수 있다. 예를 들면, 리모컨은, 동작 모드에 대한 제어명령을 실내기(12)에 전송할 수 있다.The remote control may be connected to, for example, the
제어기(20)는, 예를 들면, 공조 유닛(10)에 포함된 구성들의 동작을 제어할 수 있다. 예를 들면, 제어기(20)는, 실외기(11) 및/또는 실내기(12)에 제어 명령을 전송할 수 있다. 여기서, 제어 명령은, 예를 들면, 장치의 온/오프, 운전모드 전환, 온도 조절 등과 관련된 명령일 수 있다.The
제어기(20)는, 예를 들면, 실외기(11) 및/또는 실내기(12)와 신호를 송수신할 수 있다. 예를 들면, 제어기(20)는, 제어 명령이 포함된 신호를 실외기(11) 및/또는 실내기(12)에 전송할 수 있다. 예를 들면, 제어기(20)는, 실외기(11) 및/또는 실내기(12)로부터 수신된 신호에 기초하여, 실외기(11) 및/또는 실내기(12)의 동작 상태를 모니터링할 수 있다.The
제어기(20)는, 예를 들면, 공조 유닛(10)에 포함된 구성들과 소정의 통신 방식에 따라 통신을 수행할 수 있다. 이때, 제어기(20)는, 예를 들면, 통신선을 통한 유선 통신을 수행할 수도 있고, 무선 통신을 수행할 수도 있다.The
한편, 제어기(20)는, 예를 들면, 사용자 단말(미도시)과 통신 연결될 수 있다. 예를 들면, 제어기(20)는, 유선/무선 통신 방식을 통해 사용자 단말로부터 명령을 수신할 수 있고, 수신된 명령에 따라 공조 유닛(10)에 구비된 각 구성의 동작을 제어할 수 있다. Meanwhile, the
제어기(20)는, 예를 들면, 무선 통신 또는 유선 통신을 통해서 네트워크(40)에 연결될 수 있고, 네트워크(40)를 통해 서버(30)와 통신할 수 있다. The
제어기(20)는, 예를 들면, 네트워크(40)를 통해, 서버(30)와 상호 간에 데이터를 송수신할 수 있다. 예를 들면, 제어기(20)는, 공조 유닛(10)의 동작 상태를 모니터링한 결과와 관련된 데이터(이하, 상태 데이터)에 대한 메시지를 생성할 수 있고, 생성된 메시지를 서버(30)에 전송할 수 있다. 이때, 메시지는, 예를 들면, JSON(JavaScript Object Notation) 형식의 메시지일 수 있다. The
서버(30)는, 예를 들면, 무선 통신 또는 유선 통신을 통해서 네트워크(40)에 연결될 수 있고, 네트워크(40)를 통해, 제어기(20)와 통신할 수 있다. The
서버(30)는, 예를 들면, 네트워크(40)를 통해, 제어기(20)와 상호 간에 데이터를 송수신할 수 있다. 예를 들면, 서버(30)는, 제어기(20)로부터 공조 유닛(10)의 동작 상태와 관련된 상태 데이터에 대한 메시지를 수신할 수 있다. The
한편, 서버(30)는, 예를 들면, 제어기(20)로부터 수신한 메시지와 관련된 데이터를 저장할 수 있고, 저장된 데이터를 변경할 수 있다.Meanwhile, the
도 2는 본 발명의 일 실시예에 따른, 공기조화기에 포함된 제어기의 내부 블록도의 일 예이다.2 is an example of an internal block diagram of a controller included in an air conditioner according to an embodiment of the present invention.
도 2를 참조하면, 본 발명의 다양한 실시 예에 따른 제어기(20)는, 예를 들면, 통신부(210), 메모리(220), 출력부(230), 입력부(240) 및/또는 제어부(250)를 구비할 수 있다.Referring to FIG. 2, the
통신부(210)는, 예를 들면, 적어도 하나의 통신 모듈을 포함할 수 있다. 예를 들면, 통신부(210)는, 전력선을 이용한 통신 방식, 시리얼 통신 방식(예: RS-485 통신, UART 통신), 냉매 배관 등을 통한 유선 통신 방식 뿐만 아니라, 와이파이(Wi-fi), 블루투스(Bluetooth), 비콘(Beacon), 지그비(zigbee)등의 무선 통신 방식을 지원하는 적어도 하나의 통신 모듈을 구비할 수 있다.The
통신부(210)는, 예를 들면, 공조 유닛(10)에 구비된 각 구성과의 통신을 지원하는 내부 통신 모듈(211) 및 서버(30)와의 통신을 지원하는 외부 통신 모듈(212)을 포함할 수 있다.The
통신부(210)는, 예를 들면, 내부 통신 모듈(211)을 통해, 공조 유닛(10)에 구비된 실외기(11) 및/또는 실내기(12)와 통신할 수 있고, 실외기(11) 및/또는 실내기(12)와 상호 간에 데이터를 송수신할 수 있다.The
통신부(210)는, 예를 들면, 외부 통신 모듈(212)을 통해, 네트워크(40)에 접속하여, 서버(30)와 통신할 수 있고, 서버(30)와 상호 간에 데이터를 송수신할 수 있다. 이때, 통신부(210)는, 예를 들면, 메시지를 통해 데이터를 송수신할 수 있다. 여기서, 메시지는, 예를 들면, HTTP 기반의 REST API를 통해 공기조화기와 서버(30) 간에 송수신될 수 있다. 한편, 공기조화기와 서버(30)는, 예를 들면, HTTPS를 활용하여, 메시지의 송수신에 대한 보안성을 강화할 수도 있다. The
메모리(220)는, 예를 들면, 제어부(250)의 처리 또는 제어를 위한 프로그램 등, 제어기(20)의 전반의 동작을 위한 다양한 데이터를 저장할 수 있다. The
메모리(220)는, 예를 들면, 공조 유닛(10)에 구비된 각 구성에 대한 데이터를 저장할 수 있다. 예를 들면, 공조 유닛(10)에 구비된 각 구성의 동작 상태와 관련된 상태 데이터를 저장할 수 있다. 이때, 메모리(220)는, 예를 들면, 상태 데이터를 공조 유닛(10)에 구비된 각 구성별로 저장할 수 있다. The
한편, 메모리(220)는, 예를 들면, 모니터링 결과의 타입에 따라 상태 데이터를 구분하여 저장할 수 있다. Meanwhile, the
예를 들면, 메모리(220)는, 공조 유닛(10)의 일반적인 동작 상태를 모니터링한 결과(예: 공조 유닛(10)에 구비된 각 구성의 동작 여부, 각 실내기(12)의 설정 온도, 풍량, 실내 온도 등)과 관련된 제1 상태 데이터와, 공조 유닛(10)의 성능과 관련된 동작 상태를 모니터링한 결과(예: 압축기의 흡입압력, 토출압력, 열교환기의 증발온도, 전자식 팽창팰브(EEV)의 개도 변화 등)과 관련된 제2 상태 데이터를 구분하여 저장할 수 있다.For example, the
메모리(220)는, 예를 들면, 상태 데이터에 대한 메시지를 저장할 수 있다. 예를 들면, 제어부(250)에서 생성된 메시지를 저장할 수 있다. The
출력부(230)는, 예를 들면, 숫자, 문자, 특수문자 또는 이미지를 출력할 수 있는 디스플레이, 발광 다이오드(light emitting diode: LED) 등의 표시 장치를 구비할 수 있고, 공조 유닛(10)의 운전 상태, 에러 발생 등과 관련된 동작 상태를 표시할 수 있다. The
출력부(230)는, 예를 들면, 스피커, 버저 등의 오디오 장치을 구비할 수 있고, 공조 유닛(10)의 운전 상태에 대한 효과음을 출력할 수 있고, 에러 발생시 소정의 경고음을 출력할 수 있다. The
입력부(240)는, 예를 들면, 예를 들면, 사용자 입력을 수신할 수 있는 입력 장치(예: 키, 터치 패널 등)을 구비할 수 있다. 예를 들면, 입력부(240)는, 입력장치를 통해, 사용자 입력을 수신할 수 있고, 수신된 사용자 입력에 대응하는 명령을 제어부(250)에 전송할 수 있다. The
제어부(250)는, 예를 들면, 제어기(20)에 구비된 각 구성과 연결될 수 있다. 제어부(250)는, 예를 들면, 제어기(20)에 구비된 각 구성과 상호 간에 신호를 송수신할 수 있고, 각 구성의 전반적인 동작을 제어할 수 있다.The
제어부(250)는, 예를 들면, 통신부(210)를 통해, 공조 유닛(10)와 통신을 수행할 수 있고, 상호 간에 데이터를 송수신할 수 있다. The
제어부(250)는, 예를 들면, 공조 유닛(10)에 구비된 각 구성의 동작 상태를 모니터링할 수 있다. 예를 들면, 제어부(250)는, 통신부(210)를 통해, 공조 유닛(10)에 구비된 각 구성의 동작 상태와 관련된 상태 데이터를 수신할 수 있고, 수신된 상태 데이터에 기초하여 공조 유닛(10)에 구비된 각 구성의 동작 상태를 모니터링할 수 있다.The
제어부(250)는, 예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터와 메모리(220)에 저장된 상태 데이터를 비교할 수 있고, 공조 유닛(10)으로부터 수신된 상태 데이터 중, 메모리(220)에 저장된 상태 데이터와 소정 기준 이상 차이가 있는 부분(이하, 부분 데이터)를 확인할 수 있다. The
예를 들면, 메모리(220)에 저장된 실내 온도에 대한 데이터와, 공조 유닛(10)으로부터 수신된 실내 온도에 대한 데이터가 소정 기준(예: 0.5 ℃) 이상 차이가 나는 경우, 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터 중 실내 온도에 대한 데이터를 부분 데이터로 판단할 수 있다. For example, if the data on the room temperature stored in the
제어부(250)는, 예를 들면, 메모리(220)에 저장된 데이터를 변경할 수 있다. 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터에 기초하여, 메모리(220)에 저장된 상태 데이터를 변경할 수 있다.The
예를 들면, 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터 중 부분 데이터를 확인하여, 메모리(220)에 저장된 상태 데이터 중 적어도 일부를 부분 데이터로 변경할 수 있다. For example, the
제어부(250)는, 예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터의 타입을 확인할 수 있고, 확인된 타입에 따라, 공조 유닛(10)으로부터 수신된 상태 데이터를 처리할 수 있다.The
예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터가 제1 상태 데이터인 경우, 제어부(250)는, 수신된 상태 데이터 전체에 대한 메시지(이하, 전체 메시지)를 생성할 수 있다. For example, when the state data received from the
예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터가 제1 상태 데이터인 경우, 제어부(250)는, 수신된 상태 데이터의 부분 데이터에 대한 메시지(이하, 부분 메시지)를 생성할 수 있다For example, when the state data received from the
한편, 예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터가 제2 상태 데이터인 경우, 제어부(250)는, 소정 주기(예: 1분) 동안 제2 상태 데이터를 주기적으로 수신(예: 10초마다 수신)할 수 있고, 수신된 상태 데이터에 대한 전체 메시지 및/또는 부분 메시지를 생성하여 메모리(220)에 저장할 수 있다. Meanwhile, for example, when the state data received from the
제어부(250)는, 예를 들면, 통신부(210)를 통해, 서버(30)와 통신을 수행할 수 있고, 상호 간에 데이터를 송수신할 수 있다. 제어부(250)는, 예를 들면, 통신부(210)를 통해, 전체 메시지 및/또는 부분 메시지를 서버(30)에 전송할 수 있다. The
예를 들면, 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터가 제1 상태 데이터인 경우, 수신된 상태 데이터에 기초하여 생성된 전체 메시지 및/또는 부분 메시지를 서버(30)에 전송할 수 있다. 이때, 제어부(250)는, 수신된 상태 데이터에 기초하여 생성된 전체 메시지 및/또는 부분 메시지를 메모리(220)에 저장하지 않고 서버(30)에 전송할 수도 있다. For example, when the state data received from the
한편, 예를 들면, 제어부(250)는, 소정 주기(예: 1분) 동안 메모리(220)에 저장된 제2 상태 데이터에 대한 복수의 메시지를 서버(30)에 함께 전송할 수 있다. 이때, 제어부(250)는, 예를 들면, 메모리(220)에 저장된 제2 상태 데이터에 대한 복수의 메시지를 하나의 메시지로 구성하여 서버(30)에 전송할 수도 있다. Meanwhile, for example, the
한편, 제어부(250)는, 예를 들면, 제2 상태 데이터에 대한 복수의 메시지를 서버(30)에 전송한 후, 메모리(220)에 저장된 제2 상태 데이터에 대한 복수의 메시지를 삭제할 수도 있다. Meanwhile, the
제어부(250)는, 예를 들면, 통신부(210)를 통해, 서버(30)로부터 메시지의 전송에 대한 응답 메시지를 수신할 수 있다. 한편, 제어부(250)는, 예를 들면, 서버(30)로부터 응답 메시지가 수신되는지 여부를 확인할 수 있고, 수신 여부에 따라 데이터를 처리할 수도 있다. The
도 3은 본 발명의 일 실시예에 따른, 서버의 내부 블록도의 일 예이다. 3 is an example of an internal block diagram of a server according to an embodiment of the present invention.
도 3을 참조하면, 본 발명의 다양한 실시 예에 따른 서버(30)는, 예를 들면, 통신부(310), 제어부(320), 및/또는 메모리(330)를 포함할 수 있다.Referring to FIG. 3, a
통신부(310)는, 예를 들면, 적어도 하나의 통신 모듈을 포함할 수 있다. 예를 들면, 통신부(310)는, 전력선을 이용한 통신 방식, 시리얼 통신 방식(예: RS-485 통신, UART 통신), 냉매 배관 등을 통한 유선 통신 방식 뿐만 아니라, 와이파이(Wi-fi), 블루투스(Bluetooth), 비콘(Beacon), 지그비(zigbee)등의 무선 통신 방식을 지원하는 적어도 하나의 통신 모듈을 구비할 수 있다.The
통신부(310)는, 예를 들면, 네트워크(40)에 접속하여, 제어기(20)와 통신할 수 있고, 제어기(20)와 상호 간에 데이터를 송수신할 수 있다. 이때, 통신부(310)는, 예를 들면, 메시지를 통해 데이터를 송수신할 수 있다. The
제어부(320)는, 예를 들면, 서버(30)에 구비된 각 구성과 연결될 수 있다. 제어부(320)는, 예를 들면, 서버(30)에 구비된 각 구성과 상호 간에 신호를 송수신할 수 있고, 각 구성의 전반적인 동작을 제어할 수 있다.The
제어부(320)는, 예를 들면, 제어부(320)에서 수행되는 동작에 따라, API 서비스부(321), 메시지 큐 서비스부(322) 및/또는 파서부(323)를 포함할 수 있다. The
API 서비스부(321)는, 예를 들면, 통신부(310)를 통해, 제어기(20)와 상호 간에 메시지를 송수신할 수 있다. The
예를 들면, API 서비스부(321)는, 통신부(310)를 통해, 제어기(20)로부터 공조 유닛(10)의 동작 상태와 관련된 상태 데이터에 대한 메시지를 수신할 수 있다.For example, the
예를 들면, API 서비스부(321)는, 제어기(20)로부터 공조 유닛(10)의 동작 상태와 관련된 상태 데이터에 대한 메시지가 수신되는 경우, 통신부(310)를 통해, 메시지의 수신에 대한 응답 메시지를 제어기(20)에 전송할 수 있다.For example, when the
한편, API 서비스부(321)는, 예를 들면, 제어기(20)로부터 수신된 메시지를 확인할 수 있고, 수신된 메시지의 타입에 기초하여 데이터를 처리할 수 있다.Meanwhile, the
API 서비스부(321)는, 예를 들면, 수신된 메시지가 제1 상태 데이터에 대한 메시지인 경우, 수신된 메시지에 기초하여, 메모리(330)의 제1 데이터베이스(331)에 저장된 제1 상태 데이터의 적어도 일부를 변경할 수 있다.The
예를 들면, 수신된 메시지가 제1 상태 데이터에 대한 전체 메시지인 경우, API 서비스부(321)는, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 전체를 변경할 수 있다.For example, if the received message is the entire message for the first state data, the
예를 들면, 수신된 메시지가 제1 상태 데이터에 대한 부분 메시지인 경우, API 서비스부(321)는, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 중, 수신된 메시지에 대응하는 일부를 변경할 수 있다. For example, when the received message is a partial message for the first state data, the
API 서비스부(321)는, 예를 들면, 수신된 메시지가 제2 상태 데이터에 대한 메시지인 경우, 수신된 메시지를 메시지 큐 서비스부(322)로 전달할 수 있다. 이때, 서버(30)는 제어기(20)로부터 제2 상태 데이터에 대한 복수의 메시지를 함께 수신할 수 있어, API 서비스부(321)는, 예를 들면, 수신된 제2 상태 데이터에 대한 복수의 메시지를 함께 메시지 큐 서비스부(322)로 전달할 수 있다.The
메시지 큐 서비스부(320)는, 예를 들면, API 서비스부(321)로부터 전달된 메시지를 저장할 수 있다. 예를 들면, 메시지 큐 서비스부(320)는, API 서비스부(321)로부터 전달된 메시지를 FIFO(First In First Out) 구조의 큐(queue)에 저장할 수 있다. 이때, 메시지가 저장되는 큐는, 예를 들면, 메시지 큐(message queue)일 수 있다. The message
한편, 서버(30)는 제어기(20)로부터 제2 상태 데이터에 대한 복수의 메시지를 함께 수신할 수 있어, 메시지 큐 서비스부(320)는, 예를 들면, API 서비스부(321)로부터 전달된 복수의 메시지를 다른 복수의 메시지와 구분하여 저장할 수 있다. On the other hand, the
파서부(323)는, 예를 들면, 메시지 큐 서비스부(322)에 메시지가 저장되어 있는지 여부를 확인할 수 있다. The
파서부(323)는, 예를 들면, 메시지 큐 서비스부(322)에 메시지가 저장되어 있는 경우, 메시지 큐 서비스부(322)에 저장된 메시지에 기초하여 데이터를 생성할 수 있다.The
파서부(323)는, 예를 들면, 메시지 큐 서비스부(322)에 저장된 복수의 메시지를 전체 메시지와 부분 메시지로 구분할 수 있다.The
파서부(323)는, 예를 들면, 복수의 메시지 중, 전체 메시지에 대응하는 제2 상태 데이터를 생성할 수 있다. The
파서부(323)는, 예를 들면, 전체 메시지와 부분 메시지에 기초하여, 부분 메시지에 대응하는 제2 상태 데이터를 생성할 수 있다. 이때, 파서부(323)는, 예를 들면, 부분 메시지 각각에 기초하여, 각각의 부분 메시지에 대응하는 부분 데이터를 생성할 수 있고, 나머지 부분은 전체 메시지에 기초하여 생성할 수 있다. The
파서부(323)는, 예를 들면, 생성된 제2 상태 데이터를 메모리(330)의 제2 데이터베이스(332)에 저장할 수 있다. 예를 들면, 파서부(323)는, 생성된 제2 상태 데이터를 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가할 수 있다.The
메모리(330)는, 예를 들면, 제어부(320)의 처리 또는 제어를 위한 프로그램 등, 서버(30)의 전반의 동작을 위한 다양한 데이터를 저장할 수 있다.The
메모리(330)는, 예를 들면, 제1 데이터베이스(321) 및 제2 데이터 베이스(322)를 구비할 수 있다.The
제1 데이터베이스(321)는, 예를 들면, 공조 유닛(10)의 일반적인 동작 상태를 모니터링한 결과(예: 공조 유닛(10)에 구비된 각 구성의 동작 여부, 각 실내기(12)의 설정 온도, 풍량, 실내 온도 등)과 관련된 제1 상태 데이터를 저장할 수 있다. 이때, 제1 데이터베이스(321)는, 예를 들면, 관계형 데이터베이스 관리 시스템(relational database management system; RDBMS)에 의해 관리되는 관계형 데이터베이스(relational database; RDB)일 수 있다.The
제2 데이터베이스(322)는, 예를 들면, 공조 유닛(10)의 성능과 관련된 동작 상태를 모니터링한 결과(예: 압축기의 흡입압력, 토출압력, 열교환기의 증발온도, 전자식 팽창팰브(EEV)의 개도 변화 등)과 관련된 제2 상태 데이터를 저장할 수 있다. 이때, 제2 데이터베이스(322)는, 예를 들면, 데이터 웨어하우스(data warehouse; DW)일 수 있다.The
도 4a 및 4b는 본 발명의 일 실시예에 따른, 공기조화기의 데이터 처리 방법을 도시한 순서도이다. 보다 구체적으로, 도 4a는, 공기조화기의 제1 상태 데이터에 대한 데이터 처리 방법을 도시한 순서도이고, 도 4b는, 공기조화기의 제2 상태 데이터에 대한 데이터 처리 방법을 도시한 순서도이다.4A and 4B are flowcharts illustrating a data processing method of an air conditioner according to an embodiment of the present invention. More specifically, FIG. 4A is a flowchart illustrating a data processing method for the first state data of the air conditioner, and FIG. 4B is a flowchart illustrating a data processing method for the second state data of the air conditioner.
도 4a를 참조하면, 공기조화기에 포함된 제어기(20)는, S401 동작에서, 제1 상태 데이터를 획득할 수 있다. 이때, 제1 상태 데이터는, 예를 들면, 공조 유닛(10)의 일반적인 동작 상태를 모니터링한 결과(예: 공조 유닛(10)에 구비된 각 구성의 동작 여부, 각 실내기(12)의 설정 온도, 풍량, 실내 온도 등)과 관련된 상태 데이터일 수 있다.Referring to FIG. 4A, the
한편, 제어기(20)는, 예를 들면, 소정 주기(이하, 제1 상태 데이터 처리 주기) 동안 주기적으로 제1 상태 데이터를 획득할 수 있고, 획득한 제1 상태 데이터를 메모리(220)에 저장할 수 있다.Meanwhile, the
제어기(20)는, S402 동작에서, 제1 상태 데이터 처리 주기 동안 제1 상태 데이터를 최초 획득한 경우, 수신된 제1 상태 데이터에 대한 전체 메시지를 생성할 수 있고, 생성된 전체 메시지를 서버(30)에 전송할 수 있다.In operation S402, when the first state data is first acquired during the first state data processing period, the
제어기(20)는, S403 동작에서, 서버(30)로부터 전체 메시지의 전송에 대한 응답 메시지를 수신할 수 있고, 서버(30)로부터 응답 메시지가 수신되는지 여부를 확인할 수 있다.The
제어기(20)는, 전체 메시지의 전송에 대한 응답 메시지를 서버(30)로부터 수신하지 못한 경우, S401 동작으로 분기하여, 제1 상태 데이터를 획득하고, 전체 메시지를 생성하여, 서버(30)에 재전송할 수 있다. When the response message for the transmission of the entire message is not received from the
한편, 제어기(20)는, 전체 메시지의 전송에 대한 응답 메시지를 서버(30)로부터 수신한 경우, S404 동작에서, 제1 상태 데이터를 획득할 수 있다.On the other hand, when the
제어기(20)는, S405 동작에서, 제1 상태 데이터의 부분 데이터에 대한 부분 메시지를 생성할 수 있고, 생성된 부분 메시지를 서버(30)에 전송할 수 있다.The
예를 들면, 제어기(20)는, S401 동작에서 획득한 제1 상태 데이터와, S404 동작에서 획득한 제1 상태 데이터를 비교할 수 있다. 이때, S404 동작에서 획득한 제1 상태 데이터 중, S401 동작에서 획득한 제1 상태 데이터와 소정 기준 이상 차이가 있는 부분 데이터를 확인하여, 부분 메시지를 생성할 수 있다.For example, the
제어기(20)는, S406 동작에서, 서버(30)로부터 부분 메시지의 전송에 대한 응답 메시지를 수신할 수 있다. 이때, 제어기(20)는, 예를 들면, S403 동작과 달리, 서버(30)로부터 응답 메시지를 수신하지 못한 경우에도, S407 동작을 수행할 수 있다.The
제어기(20)는, S407 동작에서, 제1 상태 데이터 처리 주기의 종료 시점의 도래 여부를 확인할 수 있다. The
제어기(20)는, 제1 상태 데이터 처리 주기의 종료 시점이 도래하지 않은 경우, S404 동작으로 분기하여, 제1 상태 데이터를 획득하고, 부분 메시지를 생성하여 서버(30)로 전송하는 동작을 주기적으로 수행할 수 있다.If the end point of the first state data processing cycle has not arrived, the
상기와 같이, 본 발명의 다양한 실시 예에 따른 공기조화기는, 공조 유닛(10)에 구비된 각 구성의 동작 상태에 대한 모니터링 결과 중 이전 모니터링 결과와 일정 기준 이상의 차이가 있는 부분에 대해서만 메시지를 생성하여 서버로 전송함으로써, 데이터 전송 효율을 높일 수 있다. 또한, 공기조화기는, 소정 주기에 따라, 전체 메시지를 서버(30)에 전송하여, 서버(30)에 저장되는 데이터의 신뢰성을 향상시킬 수 있다. As described above, the air conditioner according to various embodiments of the present invention generates a message only for a portion of the monitoring result for the operation state of each component provided in the
도 4b를 참조하면, 공기조화기에 포함된 제어기(20)는, S411 동작에서, 제2 상태 데이터를 획득할 수 있다. 이때, 제2 상태 데이터는, 예를 들면, 공조 유닛(10)의 성능과 관련된 동작 상태를 모니터링한 결과(예: 압축기의 흡입압력, 토출압력, 열교환기의 증발온도, 전자식 팽창팰브(EEV)의 개도 변화 등)과 관련된 상태 데이터일 수 있다. Referring to FIG. 4B, the
한편, 제어기(20)는, 예를 들면, 소정 주기(이하, 제2 상태 데이터 처리 주기) 동안 주기적으로 제2 상태 데이터를 획득할 수 있고, 획득한 제2 상태 데이터를 메모리(220)에 저장할 수 있다.Meanwhile, the
제어기(20)는, S412 동작에서, 제2 상태 데이터 처리 주기 동안 제2 상태 데이터를 최초 획득한 경우, 수신된 제2 상태 데이터에 대한 전체 메시지를 생성할 수 있고, 생성된 전체 메시지를 메모리(220)에 저장할 수 있다.In operation S412, when the second state data is first acquired during the second state data processing period, the
제어기(20)는, S413 동작에서, 제2 상태 데이터를 획득할 수 있다.The
제어기(20)는, S414 동작에서, 제2 상태 데이터의 부분 데이터에 대한 부분 메시지를 생성할 수 있고, 생성된 부분 메시지를 메모리(220)에 저장할 수 있다. The
제어기(20)는, S415 동작에서, 제2 상태 데이터 처리 주기의 종료 시점의 도래 여부를 확인할 수 있다. In operation S415, the
제어기(20)는, 제2 상태 데이터 처리 주기의 종료 시점이 도래하지 않은 경우, S413 동작으로 분기하여, 제2 상태 데이터를 획득하고, 부분 메시지를 생성하여 메모리(220)에 저장하는 동작을 주기적으로 수행할 수 있다.If the end point of the second state data processing cycle has not arrived, the
한편, 제어기(20)는, 제2 상태 데이터 처리 주기의 종료 시점이 도래한 경우, S416 동작에서, 제2 상태 데이터 처리 주기 동안 메모리(220)에 저장된 복수의 메시지를 서버(30)에 함께 전송할 수 있다.On the other hand, when the end time of the second state data processing period has arrived, the
상기와 같이, 본 발명의 다양한 실시 예에 따른 공기조화기는, 공조 유닛(10)에 구비된 각 구성의 동작 상태에 대한 모니터링 결과에 대한 메시지를 매번 서버로 전송하지 않고, 일정 주기에 따라 복수개를 함께 전송함으로써, 서버의 데이터 처리 효율을 높일 수 있다.As described above, the air conditioner according to various embodiments of the present invention does not transmit a message about the monitoring result for the operation state of each component provided in the
도 5a 및 5b는 본 발명의 일 실시예에 따른, 서버의 데이터 처리 방법을 도시한 순서도이다. 5A and 5B are flowcharts illustrating a data processing method of a server according to an embodiment of the present invention.
도 5a를 참조하면, 서버(30)는, S501 동작에서, 공기조화기로부터 메시지를 수신할 수 있다. 예를 들면, 서버(30)는, 공기조화기에 포함된 제어기(20)로부터 공조 유닛(10)의 동작 상태와 관련된 상태 데이터에 대한 메시지를 수신할 수 있다.Referring to FIG. 5A, the
서버(30)는, S502 동작에서, 공기조화기로부터 수신된 메시지의 타입을 확인할 수 있고, 수신된 메시지가 제1 상태 데이터에 관한 메시지인지, 아니면 제2 상태 데이터에 관한 메시지인지 여부를 판단할 수 있다. The
이때, 제1 상태 데이터는, 예를 들면, 공조 유닛(10)의 일반적인 동작 상태를 모니터링한 결과(예: 공조 유닛(10)에 구비된 각 구성의 동작 여부, 각 실내기(12)의 설정 온도, 풍량, 실내 온도 등)과 관련된 상태 데이터일 수 있다. 한편, 제2 상태 데이터는, 예를 들면, 공조 유닛(10)의 성능과 관련된 동작 상태를 모니터링한 결과(예: 압축기의 흡입압력, 토출압력, 열교환기의 증발온도, 전자식 팽창팰브(EEV)의 개도 변화 등)과 관련된 상태 데이터일 수 있다. At this time, the first state data is, for example, a result of monitoring the general operating state of the air conditioning unit 10 (eg, whether each component provided in the
서버(30)는, S503 동작에서, 수신된 메시지가 제1 상태 데이터에 관한 메시지인 경우, 수신된 메시지에 기초하여, 메모리(330)의 제1 데이터베이스에 저장된 제1 상태 데이터의 적어도 일부를 변경할 수 있다.In operation S503, when the received message is a message related to the first state data, the
예를 들면, 서버(30)는, 수신된 메시지가 제1 상태 데이터에 대한 전체 메시지인 경우, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 전체를 변경할 수 있다.For example, when the received message is the entire message for the first state data, the
예를 들면, 서버(30)는, 수신된 메시지가 제1 상태 데이터에 대한 부분 메시지인 경우, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 중, 수신된 메시지에 대응하는 일부를 변경할 수 있다. For example, if the received message is a partial message for the first state data, the
한편, 서버(30)는, 수신된 메시지가 제1 상태 데이터에 관한 메시지가 아닌, 제2 상태 데이터에 관한 메시지인 경우, S504 동작에서, 수신된 메시지에 대응하는 상태 데이터를 생성하여, 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가할 수 있고, 이에 대한 상세한 설명은 도 5b를 참조하여 설명하도록 한다.On the other hand, when the received message is not a message about the first status data, but a message about the second status data, the
도 5b를 참조하면, 서버(30)는, S511 동작에서, 공기조화기로부터 수신된 메시지가 제2 상태 데이터에 관한 메시지인 경우, 공기조화기로부터 수신된 메시지를, 전체 메시지와 부분 메시지로 구분할 수 있다.5B, the
서버(30)는, S512 동작에서, 전체 메시지에 대응하는 상태 데이터를 생성할 수 있다. The
서버(30)는, S513 동작에서, 부분 메시지에 대응하는 상태 데이터를 생성할 수 있다. 예를 들면, 서버(30)는, 부분 메시지에 기초하여 부분 데이터를 생성할 수 있고, 부분 데이터를 제외한 상태 데이터의 나머지 부분은 전체 메시지에 기초하여 생성할 수 있다. The
서버(30)는, S514 동작에서, S512 동작 및 S513 동작에서 생성된 상태 데이터를 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가할 수 있다. 한편, 본 순서도에서는 S514 동작이 S512 동작 및 S513 동작을 수행한 이후에 수행되는 것으로 도시되었으나, 본 발명이 이에 한정되는 것은 아니며, S512 동작에서 상태 데이터를 생성하여, 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가한 후, S513 동작에서 상태 데이터를 생성하여 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가할 수도 있다.The
상기와 같이, 본 발명의 다양한 실시 예에 따른 서버(30)는, 공기조화기로부터 메시지의 크기가 작은 부분 메시지를 수신하여 처리하므로, 서버의 처리 부하가 줄어들어, 공기조화기 시스템(100)의 안정성 및 서버(30)의 데이터 처리 효율을 높일 수 있다. 또한, 서버(30)는, 공기조화기로부터 공조 유닛(10)에 구비된 각 구성의 동작 상태에 대한 모니터링 결과에 대한 메시지를 매번 수신하지 않고, 일정 주기에 따라 복수개를 함께 수신하므로, 데이터 처리 효율을 높일 수 있다. As described above, since the
첨부된 도면은 본 명세서에 개시된 실시예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.The accompanying drawings are only for making it easier to understand the embodiments disclosed in the present specification, and the technical idea disclosed in the present specification is not limited by the accompanying drawings, and all changes and equivalents included in the spirit and scope of the present invention It should be understood to include water or substitutes.
마찬가지로, 특정한 순서로 도면에서 동작들을 묘사하고 있지만, 이는 바람직한 결과를 얻기 위하여 도시된 그 특정한 순서나 순차적인 순서대로 그러한 동작들을 수행하여야 한다거나, 모든 도시된 동작들이 수행되어야 하는 것으로 이해되어서는 안 된다. 특정한 경우, 멀티태스킹과 병렬 프로세싱이 유리할 수 있다.Likewise, while depicting the actions in the drawings in a specific order, it should not be understood that such actions should be performed in that particular order or sequential order shown, or that all illustrated actions should be performed in order to obtain a desired result. . In certain cases, multitasking and parallel processing can be advantageous.
또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안될 것이다.In addition, although the preferred embodiments of the present invention have been illustrated and described above, the present invention is not limited to the specific embodiments described above, and the technical field to which the present invention belongs without departing from the gist of the present invention claimed in the claims. In addition, various modifications are possible by those of ordinary skill in the art, and these modifications should not be individually understood from the technical spirit or prospect of the present invention.
10: 공조 유닛
11: 실외기
12: 실내기
20: 제어기
30: 서버
40: 네트워크
100: 공기조화기 시스템10: air conditioning unit
11: outdoor unit
12: indoor unit
20: controller
30: server
40: network
100: air conditioner system
Claims (11)
적어도 하나의 통신 모듈을 구비하는 통신부;
상기 공기조화기에 구비된 적어도 하나의 구성의 동작 상태와 관련된 상태 데이터를 저장하는 메모리; 및
제어부를 포함하고,
상기 제어부는,
상기 통신부를 통해, 상기 적어도 하나의 구성으로부터 상기 상태 데이터를 획득하고,
상기 획득한 상태 데이터 중, 상기 메모리에 저장된 상태 데이터와 소정 기준 이상 차이가 있는 부분에 대한 부분 데이터를 확인하고,
상기 획득한 상태 데이터가 제1 상태 데이터인 경우, 상기 획득한 상태 데이터 전체에 대한 전체 메시지 및 상기 부분 데이터에 대한 부분 메시지 중 어느 하나를 서버에 전송하고,
상기 획득한 상태 데이터가 제2 상태 데이터인 경우, 상기 전체 메시지 및 상기 부분 메시지 중 적어도 어느 하나를 상기 메모리에 저장한 후, 상기 메모리에 저장된 복수의 메시지를 상기 서버에 함께 전송하는 것을 특징으로 하는 전자 장치.In the air conditioner,
A communication unit including at least one communication module;
A memory for storing state data related to an operation state of at least one component provided in the air conditioner; And
Including a control unit,
The control unit,
Obtaining the status data from the at least one component through the communication unit,
Of the obtained state data, check partial data on a portion having a difference by more than a predetermined reference from the state data stored in the memory,
When the acquired state data is the first state data, any one of a full message for the entire acquired state data and a partial message for the partial data is transmitted to the server,
When the acquired status data is the second status data, storing at least one of the entire message and the partial message in the memory, and then transmitting a plurality of messages stored in the memory to the server together. Electronic device.
상기 제어부는,
제1 주기 동안 상기 제1 상태 데이터를 최초 획득한 경우, 상기 제1 상태 데이터에 대한 전체 메시지를 상기 서버에 전송하고,
상기 제1 상태 데이터에 대한 전체 메시지를 상기 서버로 전송한 경우, 상기 서버로부터 메시지의 전송에 대한 응답 메시지가 수신되는지 여부를 확인하고,
상기 응답 메시지를 수신하지 못한 경우, 상기 제1 상태 데이터에 대한 전체 메시지를 상기 서버에 재전송하는 것을 특징으로 하는 전자 장치.The method of claim 1,
The control unit,
When the first state data is initially acquired during a first period, the entire message for the first state data is transmitted to the server,
When the entire message for the first state data is transmitted to the server, it is checked whether a response message for the transmission of the message is received from the server, and
When the response message is not received, the entire message for the first status data is retransmitted to the server.
상기 제어부는,
상기 응답 메시지를 수신한 경우, 상기 제1 주기 동안 상기 제1 상태 데이터를 획득하고,
상기 획득한 제1 상태 데이터의 부분 데이터에 대한 부분 메시지를 상기 서버에 전송하는 것을 특징으로 하는 전자 장치.The method of claim 2,
The control unit,
When receiving the response message, obtaining the first state data during the first period,
And transmitting a partial message for partial data of the obtained first state data to the server.
상기 제어부는,
제2 주기 동안 상기 제2 상태 데이터를 최초 획득한 경우, 상기 제2 상태 데이터에 대한 전체 메시지를 생성하여, 상기 메모리에 저장하고,
상기 제2 상태 데이터에 대한 전체 메시지가 상기 메모리에 저장된 경우, 상기 제2 주기 동안 상기 제2 상태 데이터를 획득하고,
상기 획득한 제2 상태 데이터의 부분 데이터에 대한 부분 메시지를 생성하여, 상기 메모리에 저장하고,
상기 메모리에 저장된, 상기 제2 상태 데이터에 대한 전체 메시지와, 상기 제2 상태 데이터의 부분 데이터에 대한 부분 메시지를 함께 상기 서버에 전송하는 것을 특징으로 하는 전자 장치.The method of claim 2,
The control unit,
When the second state data is initially acquired during a second period, a full message for the second state data is generated and stored in the memory,
When the entire message for the second state data is stored in the memory, obtaining the second state data during the second period,
Generate a partial message for partial data of the acquired second state data and store it in the memory,
And transmitting the entire message for the second state data and a partial message for the partial data of the second state data stored in the memory to the server.
상기 공기조화기에 구비된 적어도 하나의 구성의 동작 상태와 관련된 상태 데이터를 획득하는 동작;
상기 획득한 상태 데이터 중, 메모리에 저장된 상태 데이터와 소정 기준 이상 차이가 있는 부분에 대한 부분 데이터를 확인하는 동작;
상기 획득한 상태 데이터가 제1 상태 데이터인 경우, 상기 획득한 상태 데이터 전체에 대한 전체 메시지 및 상기 부분 데이터에 대한 부분 메시지 중 어느 하나를 서버에 전송하는 제1 전송 동작; 및
상기 획득한 상태 데이터가 제2 상태 데이터인 경우, 상기 전체 메시지 및 상기 부분 메시지 중 어느 하나를 상기 메모리에 저장한 후, 상기 메모리에 저장된 복수의 메시지를 상기 서버에 함께 전송하는 제2 전송 동작을 포함하는 전자 장치의 데이터 처리 방법.In the data processing method of the air conditioner,
Acquiring state data related to an operating state of at least one component provided in the air conditioner;
Checking partial data of a portion of the obtained state data that differs by more than a predetermined reference from the state data stored in the memory;
A first transmission operation of transmitting any one of a whole message for the entire acquired state data and a partial message for the partial data to a server when the acquired state data is the first state data; And
When the obtained status data is the second status data, a second transmission operation of storing any one of the entire message and the partial message in the memory and then transmitting a plurality of messages stored in the memory to the server together is performed. Data processing method of an electronic device including.
상기 제1 전송 동작은,
제1 주기 동안 상기 제1 상태 데이터를 최초 획득한 경우, 상기 제1 상태 데이터에 대한 전체 메시지를 상기 서버에 전송하는 동작;
상기 제1 상태 데이터에 대한 전체 메시지를 상기 서버로 전송한 경우, 상기 서버로부터 메시지의 전송에 대한 응답 메시지가 수신되는지 여부를 확인하는 동작; 및
상기 응답 메시지를 수신하지 못한 경우, 상기 제1 상태 데이터에 대한 전체 메시지를 상기 서버에 재전송하는 동작을 포함하는 것을 특징으로 하는 전자 장치의 데이터 처리 방법.The method of claim 5,
The first transmission operation,
When the first state data is initially acquired during a first period, transmitting an entire message for the first state data to the server;
Checking whether a response message to the transmission of the message is received from the server when the entire message for the first state data is transmitted to the server; And
And retransmitting the entire message for the first status data to the server when the response message is not received.
상기 제1 전송 동작은,
상기 응답 메시지를 수신한 경우, 상기 제1 주기 동안 상기 제1 상태 데이터를 획득하는 동작; 및
상기 획득한 제1 상태 데이터의 부분 데이터에 대한 부분 메시지를 상기 서버에 전송하는 동작을 더 포함하는 것을 특징으로 하는 전자 장치의 데이터 처리 방법.The method of claim 6,
The first transmission operation,
When receiving the response message, acquiring the first status data during the first period; And
And transmitting a partial message for partial data of the obtained first state data to the server.
상기 제2 전송 동작은,
제2 주기 동안 상기 제2 상태 데이터를 최초 획득한 경우, 상기 제2 상태 데이터에 대한 전체 메시지를 생성하여, 상기 메모리에 저장하는 동작;
상기 제2 상태 데이터에 대한 전체 메시지가 상기 메모리에 저장된 경우, 상기 제2 주기 동안 상기 제2 상태 데이터를 획득하는 동작;
상기 획득한 제2 상태 데이터의 부분 데이터에 대한 부분 메시지를 생성하여, 상기 메모리에 저장하는 동작; 및
상기 메모리에 저장된, 상기 제2 상태 데이터에 대한 전체 메시지와, 상기 제2 상태 데이터의 부분 데이터에 대한 부분 메시지를 함께 상기 서버에 전송하는 동작을 포함하는 것을 특징으로 하는 전자 장치의 데이터 처리 방법.The method of claim 7,
The second transmission operation,
When the second state data is first acquired during a second period, generating an entire message for the second state data and storing it in the memory;
Acquiring the second state data during the second period when the entire message for the second state data is stored in the memory;
Generating a partial message for partial data of the obtained second state data and storing the partial message in the memory; And
And transmitting an entire message for the second state data and a partial message for the partial data of the second state data stored in the memory to the server.
공기조화기의 동작 상태와 관련된 제1 상태 데이터 및 제2 상태 데이터를 저장하는 메모리; 및
제어부를 포함하고,
상기 제어부는,
상기 통신부를 통해, 상기 공기조화기로부터, 상기 공기조화기에 대한 메시지를 수신하고,
상기 수신된 메시지가 상기 제1 상태 데이터에 관한 메시지인 경우, 상기 수신된 메시지에 기초하여, 상기 메모리에 저장된 상기 제1 상태 데이터의 적어도 일부를 변경하고,
상기 수신된 메시지가 상기 제2 상태 데이터에 관한 메시지인 경우, 상기 수신된 메시지에 대응하는 상태 데이터를 생성하여, 상기 메모리에 저장된 상기 제2 상태 데이터에 추가하는 것을 특징으로 하는 서버.A communication unit including at least one communication module;
A memory for storing first state data and second state data related to an operating state of the air conditioner; And
Including a control unit,
The control unit,
Through the communication unit, from the air conditioner, receiving a message for the air conditioner,
When the received message is a message related to the first state data, based on the received message, at least part of the first state data stored in the memory is changed,
And when the received message is a message related to the second state data, generating state data corresponding to the received message and adding it to the second state data stored in the memory.
상기 제2 상태 데이터에 관한 메시지는,
하나의 전체 메시지와 적어도 하나의 부분 메시지를 포함하고,
상기 제어부는,
상기 복수의 메시지를 수신한 경우, 상기 복수의 메시지에 포함된 상기 하나의 전체 메시지에 대응하는 상태 데이터와, 상기 복수의 메시지에 포함된 상기 적어도 하나의 부분 메시지에 대응하는 적어도 하나의 상태 데이터를 생성하고,
상기 생성된 상태 데이터를 메모리에 저장하는 것을 특징으로 하는 서버.The method of claim 9,
The message regarding the second state data,
Contains one full message and at least one partial message,
The control unit,
When receiving the plurality of messages, state data corresponding to the one full message included in the plurality of messages and at least one state data corresponding to the at least one partial message included in the plurality of messages Create,
And storing the generated state data in a memory.
상기 제어부는,
API(application programming interface) 서비스부;
메시지 큐(message queue) 서비스부; 및
파서(parser)부를 포함하고,
상기 API 서비스부는, 상기 수신된 복수의 메시지를 상기 메시지 큐 서비스 부로 전달하고,
상기 메시지 큐 서비스부는, 상기 API 서비스부로부터 전달된 상기 복수의 메시지를 큐(queue)에 저장하고,
상기 파서부는,
상기 메시지 큐 서비스부에 상기 복수의 메시지가 저장되어 있는지 여부를 확인하고,
상기 메시지 큐 서비스부에 저장된 상기 복수의 메시지를 상기 하나의 전체 메시지와 상기 적어도 하나의 부분 메시지로 구분하고,
상기 하나의 전체 메시지에 대응하는 상태 데이터를 생성하고,
상기 적어도 하나의 부분 메시지에 대응하는 적어도 하나의 상태 데이터를 생성하는 것을 특징으로 하는 서버.The method of claim 10,
The control unit,
An application programming interface (API) service unit;
A message queue service unit; And
Contains a parser unit,
The API service unit delivers the received plurality of messages to the message queue service unit,
The message queue service unit stores the plurality of messages delivered from the API service unit in a queue,
The parser unit,
Checking whether the plurality of messages are stored in the message queue service unit,
Dividing the plurality of messages stored in the message queue service unit into the one full message and the at least one partial message,
Generating state data corresponding to the one entire message,
And generating at least one state data corresponding to the at least one partial message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190032294A KR20200112204A (en) | 2019-03-21 | 2019-03-21 | Electronic device, server, and data processing mtehod thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190032294A KR20200112204A (en) | 2019-03-21 | 2019-03-21 | Electronic device, server, and data processing mtehod thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20200112204A true KR20200112204A (en) | 2020-10-05 |
Family
ID=72809377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020190032294A KR20200112204A (en) | 2019-03-21 | 2019-03-21 | Electronic device, server, and data processing mtehod thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20200112204A (en) |
-
2019
- 2019-03-21 KR KR1020190032294A patent/KR20200112204A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4699722B2 (en) | Central control system for multi air conditioner and its operation method | |
JP2001241738A (en) | Refrigerator/cooler and its controlling method | |
JP2005274118A (en) | Central control system for air conditioner and operating method thereof | |
KR20100012660A (en) | Air conditioner and controlling method for the same | |
KR101962628B1 (en) | Multi type air conditioner and controlling method for the same | |
KR20150051033A (en) | Air-conditioner and method | |
KR101266100B1 (en) | Multi Air-conditioner and controlling method for the same | |
KR20110020555A (en) | Air conditioner and operating method thereof | |
KR102164805B1 (en) | Air conditioner and method | |
JP4300069B2 (en) | Air conditioning apparatus and control method thereof | |
KR101964626B1 (en) | Air conditioner and method for distributing addresses of the same | |
KR20200112204A (en) | Electronic device, server, and data processing mtehod thereof | |
KR102205162B1 (en) | Air-conditioning System and method | |
KR101949276B1 (en) | Air conditioner and controlling method of the same | |
KR100733302B1 (en) | Multi air-conditioner system | |
JPWO2019239830A1 (en) | Air conditioning system | |
KR102382213B1 (en) | Air-conditioner | |
KR102167899B1 (en) | Air-conditioner | |
KR20140099020A (en) | Showcase system and method for communication address setting thereof | |
KR102058971B1 (en) | Air conditioner and controlling method | |
KR20130035022A (en) | Air conditioner and method | |
KR102216408B1 (en) | Air conditioner and method thereof | |
JP3984945B2 (en) | Air conditioner system | |
KR102205165B1 (en) | Air conditioner and method thereof | |
KR102244841B1 (en) | Air conditioner and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
WITB | Written withdrawal of application |