KR20200112204A - Electronic device, server, and data processing mtehod thereof - Google Patents

Electronic device, server, and data processing mtehod thereof Download PDF

Info

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
Application number
KR1020190032294A
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 KR1020190032294A priority Critical patent/KR20200112204A/en
Publication of KR20200112204A publication Critical patent/KR20200112204A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements 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/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/189Transmission or retransmission of more than one copy of a message
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control 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/63Electronic processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements 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/1607Details of the supervisory signal
    • H04L1/1664Details of the supervisory signal the supervisory signal being transmitted together with payload signals; piggybacking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/826Involving 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

The present invention relates to an air conditioner, a server and a data processing method thereof. The air conditioner according to embodiments of the present invention includes: 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 a control unit, wherein the control unit obtains status data from at least one configuration through the communication unit; checks, among the obtained status data, partial data on a part that has a difference by more than a predetermined standard from the status data stored in the memory; transmits any one of the entire message for the acquired status data and the partial message for the partial data to the server, when the acquired state data is the first state data; and stores at least one of the entire message and the partial message in the memory when the acquired state data is the second state data, and transmits multiple messages stored in memory to the server together. Accordingly, a message is generated only for the part of the monitoring result different from the previous monitoring result by more than the certain standard and transmitted to the server, so that data transmission efficiency is improved. In addition, the message about the monitoring result is not required to be transmitted to the server every time, and the multiple messages are transmitted together at a certain period, so that the data processing efficiency of the server is improved. In addition, various embodiments are possible.

Description

공기조화기, 서버 및 그 데이터 처리 방법{ELECTRONIC DEVICE, SERVER, AND DATA PROCESSING MTEHOD THEREOF}Air conditioner, server, and data processing method {ELECTRONIC DEVICE, SERVER, AND DATA PROCESSING MTEHOD THEREOF}

본 발명은, 공기조화기, 서버 및 그 데이터 처리 방법에 관한 것으로, 특히, 데이터의 전송 효율 및 처리 효율을 향상시킬 수 있는 공기조화기, 서버 및 그 데이터 처리 방법에 관한 것이다.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 air conditioner system 100 according to various embodiments of the present disclosure may include an air conditioning unit 10, a controller 20, and/or a server 30. Meanwhile, hereinafter, a configuration including the air conditioning unit 10 and the controller 20 will be referred to as an air conditioner.

공조 유닛(10)은, 예를 들면, 적어도 하나의 실외기(11) 및 적어도 하나의 실내기(12)를 포함할 수 있다. The air conditioning unit 10 may include, for example, at least one outdoor unit 11 and at least one indoor unit 12.

실외기(11)는, 예를 들면, 냉매를 공급받아 압축하는 압축기(미도시), 냉매와 실외공기를 열교환하는 실외 열교환기(미도시), 공급되는 냉매로부터 기체 냉매를 추출하여 압축기로 공급하는 어큐뮬레이터(미도시), 및/또는 난방운전에 따른 냉매의 유로를 선택하는 사방밸브(미도시)를 포함할 수 있다. 또한, 실외기(11)는, 예를 들면, 복수의 센서(미도시), 밸브(미도시), 오일회수기(미도시) 등을 더 포함할 수 있다.The outdoor unit 11 includes, for example, a compressor (not shown) that receives and compresses a refrigerant, an outdoor heat exchanger (not shown) that heats the refrigerant with outdoor air, and extracts gaseous refrigerant from the supplied refrigerant and supplies it to the compressor. It may include an accumulator (not shown) and/or a four-way valve (not shown) for selecting a flow path of the refrigerant according to the heating operation. In addition, the outdoor unit 11 may further include, for example, a plurality of sensors (not shown), valves (not shown), and an oil recovery device (not shown).

실외기(11)는, 예를 들면, 구비되는 압축기를 통해 냉매를 압축시킬 수 있고, 실외 열교환기를 통해 냉매를 열교환하여 실내기(12)로 공급할 수 있다. 실외기(11)는, 예를 들면, 제어기(20) 또는 실내기(12)의 요구에 의해 구동될 수 있고, 구동되는 실내기(12)에 대응하여 냉/난방 용량이 가변됨에 따라 실외기(11)에 설치된 압축기의 작동 개수가 변경될 수 있다. The outdoor unit 11 may compress the refrigerant through a compressor provided, for example, and may heat-exchange the refrigerant through an outdoor heat exchanger and supply the refrigerant to the indoor unit 12. The outdoor unit 11 may be driven, for example, at the request of the controller 20 or the indoor unit 12, and the outdoor unit 11 is supplied with a variable cooling/heating capacity corresponding to the driven indoor unit 12. The number of operating compressors installed can be changed.

한편, 실외기(11)는, 예를 들면, 전원입력, 마스터 설정, 주소설정 등을 위한 입력장치(미도시)를 구비할 수 있다.Meanwhile, the outdoor unit 11 may be provided with an input device (not shown) for inputting power, setting a master, setting an address, and the like.

실내기(12)는, 예를 들면, 실외기(11)에 연결되어, 냉매를 공급받을 수 있고, 냉온 또는 열온의 공기를 실내로 토출할 수 있다. 예를 들면, 복수의 실내기(12)가 하나의 실외기(11)로부터 냉매를 공급받을 수 있다. The indoor unit 12 may be connected to the outdoor unit 11, for example, to receive a refrigerant, and discharge cold or hot air into the room. For example, a plurality of indoor units 12 may receive refrigerant from one outdoor unit 11.

실내기(12)는, 예를 들면, 실내 열교환기(미도시), 실내팬(미도시), 및/또는 다수의 센서(미도시)를 포함할 수 있다. 한편, 실내기(12)는, 예를 들면, 동작, 온도설정, 풍량, 풍향, 잠금 등의 운전설정을 위한 입력장치(미도시)를 구비할 수 있다. 한편, 실내기(12)는, 예를 들면, 동작, 온도설정, 풍량, 풍향, 잠금 등의 운전설정에 대한 정보를 출력할 수 있는 출력장치(미도시)를 구비할 수 있다.The indoor unit 12 may include, for example, an indoor heat exchanger (not shown), an indoor fan (not shown), and/or a plurality of sensors (not shown). Meanwhile, the indoor unit 12 may be provided with an input device (not shown) for setting operation, such as operation, temperature setting, air volume, wind direction, and locking. Meanwhile, the indoor unit 12 may include an output device (not shown) capable of outputting information on operation settings such as operation, temperature setting, air volume, wind direction, and lock.

한편, 실외기(11) 및/또는 실내기(12)는, 예를 들면, 냉매가 팽창되도록 하는 팽창밸브(미도시)를 더 포함할 수 있다. 팽창밸브는, 예를 들면, 전자식 팽창밸브(Electric Expansion Valve; EEV)를 포함할 수 있다.Meanwhile, the outdoor unit 11 and/or the indoor unit 12 may further include, for example, an expansion valve (not shown) for expanding the refrigerant. The expansion valve may include, for example, an electric expansion valve (EV).

실외기(11) 및 실내기(12)는, 예를 들면, 제어기(20)의 제어에 따라 동작할 수 있다. 한편, 실외기(11)는, 예를 들면, 실내기(12)의 제어에 따라 동작할 수도 있다. The outdoor unit 11 and the indoor unit 12 may operate under control of the controller 20, for example. On the other hand, the outdoor unit 11 may operate according to the control of the indoor unit 12, for example.

한편, 본 도면에서 도시하지 않았으나, 공조 유닛(10)는, 예를 들면, 리모컨(미도시)를 더 포함할 수 있다. Meanwhile, although not shown in this drawing, the air conditioning unit 10 may further include, for example, a remote control (not shown).

리모컨은, 예를 들면, 실내기(12)에 연결되어, 실내기(12)로 사용자의 제어명령을 전송할 수 있다. 예를 들면, 리모컨은, 동작 모드에 대한 제어명령을 실내기(12)에 전송할 수 있다.The remote control may be connected to, for example, the indoor unit 12 and transmit a user's control command to the indoor unit 12. For example, the remote control may transmit a control command for an operation mode to the indoor unit 12.

제어기(20)는, 예를 들면, 공조 유닛(10)에 포함된 구성들의 동작을 제어할 수 있다. 예를 들면, 제어기(20)는, 실외기(11) 및/또는 실내기(12)에 제어 명령을 전송할 수 있다. 여기서, 제어 명령은, 예를 들면, 장치의 온/오프, 운전모드 전환, 온도 조절 등과 관련된 명령일 수 있다.The controller 20 may control the operation of components included in the air conditioning unit 10, for example. For example, the controller 20 may transmit a control command to the outdoor unit 11 and/or the indoor unit 12. Here, the control command may be, for example, a command related to on/off of the device, switching of an operation mode, and temperature control.

제어기(20)는, 예를 들면, 실외기(11) 및/또는 실내기(12)와 신호를 송수신할 수 있다. 예를 들면, 제어기(20)는, 제어 명령이 포함된 신호를 실외기(11) 및/또는 실내기(12)에 전송할 수 있다. 예를 들면, 제어기(20)는, 실외기(11) 및/또는 실내기(12)로부터 수신된 신호에 기초하여, 실외기(11) 및/또는 실내기(12)의 동작 상태를 모니터링할 수 있다.The controller 20 may transmit and receive signals to and from the outdoor unit 11 and/or the indoor unit 12, for example. For example, the controller 20 may transmit a signal including a control command to the outdoor unit 11 and/or the indoor unit 12. For example, the controller 20 may monitor the operation state of the outdoor unit 11 and/or the indoor unit 12 based on a signal received from the outdoor unit 11 and/or the indoor unit 12.

제어기(20)는, 예를 들면, 공조 유닛(10)에 포함된 구성들과 소정의 통신 방식에 따라 통신을 수행할 수 있다. 이때, 제어기(20)는, 예를 들면, 통신선을 통한 유선 통신을 수행할 수도 있고, 무선 통신을 수행할 수도 있다.The controller 20 may perform communication according to, for example, components included in the air conditioning unit 10 and a predetermined communication method. In this case, the controller 20 may perform wired communication through, for example, a communication line, or may perform wireless communication.

한편, 제어기(20)는, 예를 들면, 사용자 단말(미도시)과 통신 연결될 수 있다. 예를 들면, 제어기(20)는, 유선/무선 통신 방식을 통해 사용자 단말로부터 명령을 수신할 수 있고, 수신된 명령에 따라 공조 유닛(10)에 구비된 각 구성의 동작을 제어할 수 있다. Meanwhile, the controller 20 may be communicatively connected with a user terminal (not shown), for example. For example, the controller 20 may receive a command from the user terminal through a wired/wireless communication method, and may control the operation of each component provided in the air conditioning unit 10 according to the received command.

제어기(20)는, 예를 들면, 무선 통신 또는 유선 통신을 통해서 네트워크(40)에 연결될 수 있고, 네트워크(40)를 통해 서버(30)와 통신할 수 있다. The controller 20 may be connected to the network 40 through, for example, wireless communication or wired communication, and may communicate with the server 30 through the network 40.

제어기(20)는, 예를 들면, 네트워크(40)를 통해, 서버(30)와 상호 간에 데이터를 송수신할 수 있다. 예를 들면, 제어기(20)는, 공조 유닛(10)의 동작 상태를 모니터링한 결과와 관련된 데이터(이하, 상태 데이터)에 대한 메시지를 생성할 수 있고, 생성된 메시지를 서버(30)에 전송할 수 있다. 이때, 메시지는, 예를 들면, JSON(JavaScript Object Notation) 형식의 메시지일 수 있다. The controller 20 may transmit/receive data to and from the server 30 through, for example, the network 40. For example, the controller 20 may generate a message for data (hereinafter, status data) related to the result of monitoring the operation state of the air conditioning unit 10, and transmit the generated message to the server 30. I can. In this case, the message may be, for example, a JSON (JavaScript Object Notation) format message.

서버(30)는, 예를 들면, 무선 통신 또는 유선 통신을 통해서 네트워크(40)에 연결될 수 있고, 네트워크(40)를 통해, 제어기(20)와 통신할 수 있다. The server 30 may be connected to the network 40 through, for example, wireless communication or wired communication, and may communicate with the controller 20 through the network 40.

서버(30)는, 예를 들면, 네트워크(40)를 통해, 제어기(20)와 상호 간에 데이터를 송수신할 수 있다. 예를 들면, 서버(30)는, 제어기(20)로부터 공조 유닛(10)의 동작 상태와 관련된 상태 데이터에 대한 메시지를 수신할 수 있다. The server 30 may transmit/receive data to and from the controller 20 through the network 40, for example. For example, the server 30 may receive a message about state data related to the operating state of the air conditioning unit 10 from the controller 20.

한편, 서버(30)는, 예를 들면, 제어기(20)로부터 수신한 메시지와 관련된 데이터를 저장할 수 있고, 저장된 데이터를 변경할 수 있다.Meanwhile, the server 30 may store data related to a message received from the controller 20, for example, and may change the stored data.

도 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 controller 20 according to various embodiments of the present invention includes, for example, a communication unit 210, a memory 220, an output unit 230, an input unit 240, and/or a control unit 250. ) Can be provided.

통신부(210)는, 예를 들면, 적어도 하나의 통신 모듈을 포함할 수 있다. 예를 들면, 통신부(210)는, 전력선을 이용한 통신 방식, 시리얼 통신 방식(예: RS-485 통신, UART 통신), 냉매 배관 등을 통한 유선 통신 방식 뿐만 아니라, 와이파이(Wi-fi), 블루투스(Bluetooth), 비콘(Beacon), 지그비(zigbee)등의 무선 통신 방식을 지원하는 적어도 하나의 통신 모듈을 구비할 수 있다.The communication unit 210 may include, for example, at least one communication module. For example, the communication unit 210 includes a communication method using a power line, a serial communication method (eg, RS-485 communication, UART communication), a wired communication method through a refrigerant pipe, etc., as well as Wi-fi, Bluetooth. At least one communication module supporting wireless communication methods such as (Bluetooth), beacon, and zigbee may be provided.

통신부(210)는, 예를 들면, 공조 유닛(10)에 구비된 각 구성과의 통신을 지원하는 내부 통신 모듈(211) 및 서버(30)와의 통신을 지원하는 외부 통신 모듈(212)을 포함할 수 있다.The communication unit 210 includes, for example, an internal communication module 211 supporting communication with each component provided in the air conditioning unit 10 and an external communication module 212 supporting communication with the server 30 can do.

통신부(210)는, 예를 들면, 내부 통신 모듈(211)을 통해, 공조 유닛(10)에 구비된 실외기(11) 및/또는 실내기(12)와 통신할 수 있고, 실외기(11) 및/또는 실내기(12)와 상호 간에 데이터를 송수신할 수 있다.The communication unit 210 may communicate with the outdoor unit 11 and/or the indoor unit 12 provided in the air conditioning unit 10, for example, through the internal communication module 211, and the outdoor unit 11 and/or Alternatively, data may be transmitted and received between the indoor unit 12 and each other.

통신부(210)는, 예를 들면, 외부 통신 모듈(212)을 통해, 네트워크(40)에 접속하여, 서버(30)와 통신할 수 있고, 서버(30)와 상호 간에 데이터를 송수신할 수 있다. 이때, 통신부(210)는, 예를 들면, 메시지를 통해 데이터를 송수신할 수 있다. 여기서, 메시지는, 예를 들면, HTTP 기반의 REST API를 통해 공기조화기와 서버(30) 간에 송수신될 수 있다. 한편, 공기조화기와 서버(30)는, 예를 들면, HTTPS를 활용하여, 메시지의 송수신에 대한 보안성을 강화할 수도 있다. The communication unit 210 may communicate with the server 30 by accessing the network 40 through the external communication module 212, for example, and transmit and receive data between the server 30 and the server 30. . In this case, the communication unit 210 may transmit and receive data through, for example, a message. Here, the message may be transmitted and received between the air conditioner and the server 30 through, for example, an HTTP-based REST API. On the other hand, the air conditioner and the server 30 may enhance security for transmission and reception of messages by, for example, using HTTPS.

메모리(220)는, 예를 들면, 제어부(250)의 처리 또는 제어를 위한 프로그램 등, 제어기(20)의 전반의 동작을 위한 다양한 데이터를 저장할 수 있다. The memory 220 may store various data for the overall operation of the controller 20, such as, for example, a program for processing or controlling the controller 250.

메모리(220)는, 예를 들면, 공조 유닛(10)에 구비된 각 구성에 대한 데이터를 저장할 수 있다. 예를 들면, 공조 유닛(10)에 구비된 각 구성의 동작 상태와 관련된 상태 데이터를 저장할 수 있다. 이때, 메모리(220)는, 예를 들면, 상태 데이터를 공조 유닛(10)에 구비된 각 구성별로 저장할 수 있다. The memory 220 may store, for example, data for each component included in the air conditioning unit 10. For example, it is possible to store state data related to the operation state of each component provided in the air conditioning unit 10. In this case, the memory 220 may store, for example, state data for each component provided in the air conditioning unit 10.

한편, 메모리(220)는, 예를 들면, 모니터링 결과의 타입에 따라 상태 데이터를 구분하여 저장할 수 있다. Meanwhile, the memory 220 may classify and store state data according to a type of monitoring result, for example.

예를 들면, 메모리(220)는, 공조 유닛(10)의 일반적인 동작 상태를 모니터링한 결과(예: 공조 유닛(10)에 구비된 각 구성의 동작 여부, 각 실내기(12)의 설정 온도, 풍량, 실내 온도 등)과 관련된 제1 상태 데이터와, 공조 유닛(10)의 성능과 관련된 동작 상태를 모니터링한 결과(예: 압축기의 흡입압력, 토출압력, 열교환기의 증발온도, 전자식 팽창팰브(EEV)의 개도 변화 등)과 관련된 제2 상태 데이터를 구분하여 저장할 수 있다.For example, the memory 220 is a result of monitoring the general operating state of the air conditioning unit 10 (eg, whether each component provided in the air conditioning unit 10 is operated, the set temperature of each indoor unit 12, the air volume) , Room temperature, etc.) and the result of monitoring the operation status related to the performance of the air conditioning unit 10 (e.g., suction pressure of the compressor, discharge pressure, evaporation temperature of the heat exchanger, electronic expansion valve (EEV)) ), the second state data related to the change of the opening degree, etc.) can be classified and stored.

메모리(220)는, 예를 들면, 상태 데이터에 대한 메시지를 저장할 수 있다. 예를 들면, 제어부(250)에서 생성된 메시지를 저장할 수 있다. The memory 220 may store, for example, a message regarding state data. For example, a message generated by the controller 250 may be stored.

출력부(230)는, 예를 들면, 숫자, 문자, 특수문자 또는 이미지를 출력할 수 있는 디스플레이, 발광 다이오드(light emitting diode: LED) 등의 표시 장치를 구비할 수 있고, 공조 유닛(10)의 운전 상태, 에러 발생 등과 관련된 동작 상태를 표시할 수 있다. The output unit 230 may include, for example, a display capable of outputting numbers, characters, special characters, or images, and a display device such as a light emitting diode (LED), and the air conditioning unit 10 It is possible to display the operation status related to the operation status and error occurrence.

출력부(230)는, 예를 들면, 스피커, 버저 등의 오디오 장치을 구비할 수 있고, 공조 유닛(10)의 운전 상태에 대한 효과음을 출력할 수 있고, 에러 발생시 소정의 경고음을 출력할 수 있다. The output unit 230 may include, for example, an audio device such as a speaker or a buzzer, may output sound effects for the driving state of the air conditioning unit 10, and may output a predetermined warning sound when an error occurs. .

입력부(240)는, 예를 들면, 예를 들면, 사용자 입력을 수신할 수 있는 입력 장치(예: 키, 터치 패널 등)을 구비할 수 있다. 예를 들면, 입력부(240)는, 입력장치를 통해, 사용자 입력을 수신할 수 있고, 수신된 사용자 입력에 대응하는 명령을 제어부(250)에 전송할 수 있다. The input unit 240 may include, for example, an input device (eg, a key, a touch panel, etc.) capable of receiving a user input. For example, the input unit 240 may receive a user input through the input device and may transmit a command corresponding to the received user input to the control unit 250.

제어부(250)는, 예를 들면, 제어기(20)에 구비된 각 구성과 연결될 수 있다. 제어부(250)는, 예를 들면, 제어기(20)에 구비된 각 구성과 상호 간에 신호를 송수신할 수 있고, 각 구성의 전반적인 동작을 제어할 수 있다.The controller 250 may be connected to each component provided in the controller 20, for example. The controller 250 may transmit/receive signals to and from each component provided in the controller 20, for example, and control the overall operation of each component.

제어부(250)는, 예를 들면, 통신부(210)를 통해, 공조 유닛(10)와 통신을 수행할 수 있고, 상호 간에 데이터를 송수신할 수 있다. The control unit 250 may communicate with the air conditioning unit 10 through the communication unit 210, for example, and may transmit and receive data with each other.

제어부(250)는, 예를 들면, 공조 유닛(10)에 구비된 각 구성의 동작 상태를 모니터링할 수 있다. 예를 들면, 제어부(250)는, 통신부(210)를 통해, 공조 유닛(10)에 구비된 각 구성의 동작 상태와 관련된 상태 데이터를 수신할 수 있고, 수신된 상태 데이터에 기초하여 공조 유닛(10)에 구비된 각 구성의 동작 상태를 모니터링할 수 있다.The control unit 250 may monitor, for example, an operation state of each component provided in the air conditioning unit 10. For example, the controller 250 may receive state data related to the operation state of each component provided in the air conditioning unit 10 through the communication unit 210, and based on the received state data, the air conditioning unit ( You can monitor the operation status of each component provided in 10).

제어부(250)는, 예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터와 메모리(220)에 저장된 상태 데이터를 비교할 수 있고, 공조 유닛(10)으로부터 수신된 상태 데이터 중, 메모리(220)에 저장된 상태 데이터와 소정 기준 이상 차이가 있는 부분(이하, 부분 데이터)를 확인할 수 있다. The control unit 250, for example, may compare the state data received from the air conditioning unit 10 with the state data stored in the memory 220, among the state data received from the air conditioning unit 10, the memory 220 It is possible to check a portion (hereinafter, partial data) that differs by more than a predetermined standard from the state data stored in the.

예를 들면, 메모리(220)에 저장된 실내 온도에 대한 데이터와, 공조 유닛(10)으로부터 수신된 실내 온도에 대한 데이터가 소정 기준(예: 0.5 ℃) 이상 차이가 나는 경우, 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터 중 실내 온도에 대한 데이터를 부분 데이터로 판단할 수 있다. For example, if the data on the room temperature stored in the memory 220 and the data on the room temperature received from the air conditioning unit 10 differ by more than a predetermined standard (eg, 0.5 ℃), the controller 250 , Among the state data received from the air conditioning unit 10, data on the room temperature may be determined as partial data.

제어부(250)는, 예를 들면, 메모리(220)에 저장된 데이터를 변경할 수 있다. 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터에 기초하여, 메모리(220)에 저장된 상태 데이터를 변경할 수 있다.The controller 250 may change data stored in the memory 220, for example. The controller 250 may change state data stored in the memory 220 based on the state data received from the air conditioning unit 10.

예를 들면, 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터 중 부분 데이터를 확인하여, 메모리(220)에 저장된 상태 데이터 중 적어도 일부를 부분 데이터로 변경할 수 있다. For example, the controller 250 may check partial data of the state data received from the air conditioning unit 10 and change at least some of the state data stored in the memory 220 into partial data.

제어부(250)는, 예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터의 타입을 확인할 수 있고, 확인된 타입에 따라, 공조 유닛(10)으로부터 수신된 상태 데이터를 처리할 수 있다.The controller 250 may check the type of state data received from the air conditioning unit 10, for example, and may process state data received from the air conditioning unit 10 according to the identified type.

예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터가 제1 상태 데이터인 경우, 제어부(250)는, 수신된 상태 데이터 전체에 대한 메시지(이하, 전체 메시지)를 생성할 수 있다. For example, when the state data received from the air conditioning unit 10 is the first state data, the controller 250 may generate a message (hereinafter, referred to as the entire message) for all the received state data.

예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터가 제1 상태 데이터인 경우, 제어부(250)는, 수신된 상태 데이터의 부분 데이터에 대한 메시지(이하, 부분 메시지)를 생성할 수 있다For example, when the state data received from the air conditioning unit 10 is the first state data, the controller 250 may generate a message (hereinafter, referred to as a partial message) for partial data of the received state data.

한편, 예를 들면, 공조 유닛(10)으로부터 수신된 상태 데이터가 제2 상태 데이터인 경우, 제어부(250)는, 소정 주기(예: 1분) 동안 제2 상태 데이터를 주기적으로 수신(예: 10초마다 수신)할 수 있고, 수신된 상태 데이터에 대한 전체 메시지 및/또는 부분 메시지를 생성하여 메모리(220)에 저장할 수 있다. Meanwhile, for example, when the state data received from the air conditioning unit 10 is the second state data, the control unit 250 periodically receives the second state data for a predetermined period (eg, 1 minute) (eg: It may be received every 10 seconds), and the entire message and/or a partial message for the received state data may be generated and stored in the memory 220.

제어부(250)는, 예를 들면, 통신부(210)를 통해, 서버(30)와 통신을 수행할 수 있고, 상호 간에 데이터를 송수신할 수 있다. 제어부(250)는, 예를 들면, 통신부(210)를 통해, 전체 메시지 및/또는 부분 메시지를 서버(30)에 전송할 수 있다. The controller 250 may communicate with the server 30 through the communication unit 210, for example, and may transmit and receive data with each other. The controller 250 may transmit the entire message and/or a partial message to the server 30 through the communication unit 210, for example.

예를 들면, 제어부(250)는, 공조 유닛(10)으로부터 수신된 상태 데이터가 제1 상태 데이터인 경우, 수신된 상태 데이터에 기초하여 생성된 전체 메시지 및/또는 부분 메시지를 서버(30)에 전송할 수 있다. 이때, 제어부(250)는, 수신된 상태 데이터에 기초하여 생성된 전체 메시지 및/또는 부분 메시지를 메모리(220)에 저장하지 않고 서버(30)에 전송할 수도 있다. For example, when the state data received from the air conditioning unit 10 is the first state data, the controller 250 transmits the entire message and/or a partial message generated based on the received state data to the server 30. Can be transmitted. In this case, the controller 250 may transmit the entire message and/or a partial message generated based on the received state data to the server 30 without storing it in the memory 220.

한편, 예를 들면, 제어부(250)는, 소정 주기(예: 1분) 동안 메모리(220)에 저장된 제2 상태 데이터에 대한 복수의 메시지를 서버(30)에 함께 전송할 수 있다. 이때, 제어부(250)는, 예를 들면, 메모리(220)에 저장된 제2 상태 데이터에 대한 복수의 메시지를 하나의 메시지로 구성하여 서버(30)에 전송할 수도 있다. Meanwhile, for example, the controller 250 may transmit a plurality of messages for the second state data stored in the memory 220 to the server 30 for a predetermined period (eg, 1 minute) together. In this case, the controller 250 may configure a plurality of messages for the second state data stored in the memory 220 into a single message and transmit them to the server 30.

한편, 제어부(250)는, 예를 들면, 제2 상태 데이터에 대한 복수의 메시지를 서버(30)에 전송한 후, 메모리(220)에 저장된 제2 상태 데이터에 대한 복수의 메시지를 삭제할 수도 있다. Meanwhile, the controller 250 may delete a plurality of messages for the second state data stored in the memory 220 after, for example, transmitting a plurality of messages for the second state data to the server 30. .

제어부(250)는, 예를 들면, 통신부(210)를 통해, 서버(30)로부터 메시지의 전송에 대한 응답 메시지를 수신할 수 있다. 한편, 제어부(250)는, 예를 들면, 서버(30)로부터 응답 메시지가 수신되는지 여부를 확인할 수 있고, 수신 여부에 따라 데이터를 처리할 수도 있다. The controller 250 may receive a response message for transmission of a message from the server 30 through the communication unit 210, for example. Meanwhile, the control unit 250 may check whether a response message is received from the server 30, for example, and may process data according to whether the response message is received.

도 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 server 30 according to various embodiments of the present disclosure may include, for example, a communication unit 310, a control unit 320, and/or a memory 330.

통신부(310)는, 예를 들면, 적어도 하나의 통신 모듈을 포함할 수 있다. 예를 들면, 통신부(310)는, 전력선을 이용한 통신 방식, 시리얼 통신 방식(예: RS-485 통신, UART 통신), 냉매 배관 등을 통한 유선 통신 방식 뿐만 아니라, 와이파이(Wi-fi), 블루투스(Bluetooth), 비콘(Beacon), 지그비(zigbee)등의 무선 통신 방식을 지원하는 적어도 하나의 통신 모듈을 구비할 수 있다.The communication unit 310 may include, for example, at least one communication module. For example, the communication unit 310 includes a communication method using a power line, a serial communication method (eg, RS-485 communication, UART communication), a wired communication method through a refrigerant pipe, etc., as well as Wi-Fi, Bluetooth. At least one communication module supporting wireless communication methods such as (Bluetooth), beacon, and zigbee may be provided.

통신부(310)는, 예를 들면, 네트워크(40)에 접속하여, 제어기(20)와 통신할 수 있고, 제어기(20)와 상호 간에 데이터를 송수신할 수 있다. 이때, 통신부(310)는, 예를 들면, 메시지를 통해 데이터를 송수신할 수 있다. The communication unit 310 may be connected to the network 40, for example, to communicate with the controller 20, and may transmit and receive data with the controller 20. At this time, the communication unit 310 may transmit and receive data through, for example, a message.

제어부(320)는, 예를 들면, 서버(30)에 구비된 각 구성과 연결될 수 있다. 제어부(320)는, 예를 들면, 서버(30)에 구비된 각 구성과 상호 간에 신호를 송수신할 수 있고, 각 구성의 전반적인 동작을 제어할 수 있다.The controller 320 may be connected to each component provided in the server 30, for example. The controller 320 may transmit and receive signals to and from each component provided in the server 30, for example, and control the overall operation of each component.

제어부(320)는, 예를 들면, 제어부(320)에서 수행되는 동작에 따라, API 서비스부(321), 메시지 큐 서비스부(322) 및/또는 파서부(323)를 포함할 수 있다. The control unit 320 may include, for example, an API service unit 321, a message queue service unit 322 and/or a parser unit 323 according to an operation performed by the control unit 320.

API 서비스부(321)는, 예를 들면, 통신부(310)를 통해, 제어기(20)와 상호 간에 메시지를 송수신할 수 있다. The API service unit 321 may transmit and receive messages to and from the controller 20 through, for example, the communication unit 310.

예를 들면, API 서비스부(321)는, 통신부(310)를 통해, 제어기(20)로부터 공조 유닛(10)의 동작 상태와 관련된 상태 데이터에 대한 메시지를 수신할 수 있다.For example, the API service unit 321 may receive a message regarding state data related to the operating state of the air conditioning unit 10 from the controller 20 through the communication unit 310.

예를 들면, API 서비스부(321)는, 제어기(20)로부터 공조 유닛(10)의 동작 상태와 관련된 상태 데이터에 대한 메시지가 수신되는 경우, 통신부(310)를 통해, 메시지의 수신에 대한 응답 메시지를 제어기(20)에 전송할 수 있다.For example, when the API service unit 321 receives a message about the state data related to the operation state of the air conditioning unit 10 from the controller 20, the response to the reception of the message through the communication unit 310 A message can be transmitted to the controller 20.

한편, API 서비스부(321)는, 예를 들면, 제어기(20)로부터 수신된 메시지를 확인할 수 있고, 수신된 메시지의 타입에 기초하여 데이터를 처리할 수 있다.Meanwhile, the API service unit 321 may check a message received from the controller 20, for example, and may process data based on the type of the received message.

API 서비스부(321)는, 예를 들면, 수신된 메시지가 제1 상태 데이터에 대한 메시지인 경우, 수신된 메시지에 기초하여, 메모리(330)의 제1 데이터베이스(331)에 저장된 제1 상태 데이터의 적어도 일부를 변경할 수 있다.The API service unit 321, for example, when the received message is a message for the first state data, based on the received message, the first state data stored in the first database 331 of the memory 330 At least some of the can be changed.

예를 들면, 수신된 메시지가 제1 상태 데이터에 대한 전체 메시지인 경우, API 서비스부(321)는, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 전체를 변경할 수 있다.For example, if the received message is the entire message for the first state data, the API service unit 321 may change the entire first state data stored in the first database 331 based on the received message. have.

예를 들면, 수신된 메시지가 제1 상태 데이터에 대한 부분 메시지인 경우, API 서비스부(321)는, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 중, 수신된 메시지에 대응하는 일부를 변경할 수 있다. For example, when the received message is a partial message for the first state data, the API service unit 321 may, based on the received message, among the first state data stored in the first database 331, the received You can change the part corresponding to the message.

API 서비스부(321)는, 예를 들면, 수신된 메시지가 제2 상태 데이터에 대한 메시지인 경우, 수신된 메시지를 메시지 큐 서비스부(322)로 전달할 수 있다. 이때, 서버(30)는 제어기(20)로부터 제2 상태 데이터에 대한 복수의 메시지를 함께 수신할 수 있어, API 서비스부(321)는, 예를 들면, 수신된 제2 상태 데이터에 대한 복수의 메시지를 함께 메시지 큐 서비스부(322)로 전달할 수 있다.The API service unit 321 may deliver the received message to the message queue service unit 322, for example, when the received message is a message for the second state data. At this time, the server 30 can receive a plurality of messages for the second state data from the controller 20 together, the API service unit 321, for example, a plurality of the received second state data The message may be delivered to the message queue service unit 322 together.

메시지 큐 서비스부(320)는, 예를 들면, API 서비스부(321)로부터 전달된 메시지를 저장할 수 있다. 예를 들면, 메시지 큐 서비스부(320)는, API 서비스부(321)로부터 전달된 메시지를 FIFO(First In First Out) 구조의 큐(queue)에 저장할 수 있다. 이때, 메시지가 저장되는 큐는, 예를 들면, 메시지 큐(message queue)일 수 있다. The message queue service unit 320 may store, for example, a message delivered from the API service unit 321. For example, the message queue service unit 320 may store a message delivered from the API service unit 321 in a queue having a first in first out (FIFO) structure. In this case, the queue in which the message is stored may be, for example, a message queue.

한편, 서버(30)는 제어기(20)로부터 제2 상태 데이터에 대한 복수의 메시지를 함께 수신할 수 있어, 메시지 큐 서비스부(320)는, 예를 들면, API 서비스부(321)로부터 전달된 복수의 메시지를 다른 복수의 메시지와 구분하여 저장할 수 있다. On the other hand, the server 30 can receive a plurality of messages for the second state data from the controller 20 together, the message queue service unit 320, for example, the API service unit 321 A plurality of messages can be stored separately from a plurality of other messages.

파서부(323)는, 예를 들면, 메시지 큐 서비스부(322)에 메시지가 저장되어 있는지 여부를 확인할 수 있다. The parser unit 323 may, for example, check whether a message is stored in the message queue service unit 322.

파서부(323)는, 예를 들면, 메시지 큐 서비스부(322)에 메시지가 저장되어 있는 경우, 메시지 큐 서비스부(322)에 저장된 메시지에 기초하여 데이터를 생성할 수 있다.The parser unit 323 may generate data based on a message stored in the message queue service unit 322, for example, when a message is stored in the message queue service unit 322.

파서부(323)는, 예를 들면, 메시지 큐 서비스부(322)에 저장된 복수의 메시지를 전체 메시지와 부분 메시지로 구분할 수 있다.The parser unit 323 may divide a plurality of messages stored in the message queue service unit 322 into an entire message and a partial message, for example.

파서부(323)는, 예를 들면, 복수의 메시지 중, 전체 메시지에 대응하는 제2 상태 데이터를 생성할 수 있다. The parser 323 may generate second state data corresponding to all messages among a plurality of messages, for example.

파서부(323)는, 예를 들면, 전체 메시지와 부분 메시지에 기초하여, 부분 메시지에 대응하는 제2 상태 데이터를 생성할 수 있다. 이때, 파서부(323)는, 예를 들면, 부분 메시지 각각에 기초하여, 각각의 부분 메시지에 대응하는 부분 데이터를 생성할 수 있고, 나머지 부분은 전체 메시지에 기초하여 생성할 수 있다. The parser 323 may generate second state data corresponding to the partial message based on, for example, the entire message and the partial message. In this case, the parser unit 323 may generate partial data corresponding to each partial message, for example, based on each partial message, and generate the remaining part based on the entire message.

파서부(323)는, 예를 들면, 생성된 제2 상태 데이터를 메모리(330)의 제2 데이터베이스(332)에 저장할 수 있다. 예를 들면, 파서부(323)는, 생성된 제2 상태 데이터를 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가할 수 있다.The parser 323 may store, for example, the generated second state data in the second database 332 of the memory 330. For example, the parser unit 323 may add the generated second state data to the second state data stored in the second database 332.

메모리(330)는, 예를 들면, 제어부(320)의 처리 또는 제어를 위한 프로그램 등, 서버(30)의 전반의 동작을 위한 다양한 데이터를 저장할 수 있다.The memory 330 may store various data for the overall operation of the server 30, such as, for example, a program for processing or controlling the controller 320.

메모리(330)는, 예를 들면, 제1 데이터베이스(321) 및 제2 데이터 베이스(322)를 구비할 수 있다.The memory 330 may include, for example, a first database 321 and a second database 322.

제1 데이터베이스(321)는, 예를 들면, 공조 유닛(10)의 일반적인 동작 상태를 모니터링한 결과(예: 공조 유닛(10)에 구비된 각 구성의 동작 여부, 각 실내기(12)의 설정 온도, 풍량, 실내 온도 등)과 관련된 제1 상태 데이터를 저장할 수 있다. 이때, 제1 데이터베이스(321)는, 예를 들면, 관계형 데이터베이스 관리 시스템(relational database management system; RDBMS)에 의해 관리되는 관계형 데이터베이스(relational database; RDB)일 수 있다.The first database 321 is, for example, a result of monitoring the general operating state of the air conditioning unit 10 (eg, whether each component provided in the air conditioning unit 10 is operated, the set temperature of each indoor unit 12) , Air volume, room temperature, etc.) related to the first state data can be stored. In this case, the first database 321 may be, for example, a relational database (RDB) managed by a relational database management system (RDBMS).

제2 데이터베이스(322)는, 예를 들면, 공조 유닛(10)의 성능과 관련된 동작 상태를 모니터링한 결과(예: 압축기의 흡입압력, 토출압력, 열교환기의 증발온도, 전자식 팽창팰브(EEV)의 개도 변화 등)과 관련된 제2 상태 데이터를 저장할 수 있다. 이때, 제2 데이터베이스(322)는, 예를 들면, 데이터 웨어하우스(data warehouse; DW)일 수 있다.The second database 322 is, for example, a result of monitoring the operation state related to the performance of the air conditioning unit 10 (e.g., suction pressure of the compressor, discharge pressure, evaporation temperature of the heat exchanger, electronic expansion valve (EEV)) It is possible to store second state data related to the change of the opening degree of In this case, the second database 322 may be, for example, a data warehouse (DW).

도 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 controller 20 included in the air conditioner may acquire first state data in operation S401. 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 air conditioning unit 10 is operated, the set temperature of each indoor unit 12) , Air volume, room temperature, etc.).

한편, 제어기(20)는, 예를 들면, 소정 주기(이하, 제1 상태 데이터 처리 주기) 동안 주기적으로 제1 상태 데이터를 획득할 수 있고, 획득한 제1 상태 데이터를 메모리(220)에 저장할 수 있다.Meanwhile, the controller 20 may periodically acquire the first state data for a predetermined period (hereinafter, the first state data processing period), and store the acquired first state data in the memory 220. I can.

제어기(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 controller 20 may generate an entire message for the received first state data, and transmit the generated entire message to the server ( 30) can be transmitted.

제어기(20)는, S403 동작에서, 서버(30)로부터 전체 메시지의 전송에 대한 응답 메시지를 수신할 수 있고, 서버(30)로부터 응답 메시지가 수신되는지 여부를 확인할 수 있다.The controller 20 may receive a response message for transmission of the entire message from the server 30 in operation S403, and may check whether a response message is received from the server 30.

제어기(20)는, 전체 메시지의 전송에 대한 응답 메시지를 서버(30)로부터 수신하지 못한 경우, S401 동작으로 분기하여, 제1 상태 데이터를 획득하고, 전체 메시지를 생성하여, 서버(30)에 재전송할 수 있다. When the response message for the transmission of the entire message is not received from the server 30, the controller 20 branches to operation S401, obtains the first state data, generates the entire message, and sends it to the server 30. You can retransmit.

한편, 제어기(20)는, 전체 메시지의 전송에 대한 응답 메시지를 서버(30)로부터 수신한 경우, S404 동작에서, 제1 상태 데이터를 획득할 수 있다.On the other hand, when the controller 20 receives a response message for transmission of the entire message from the server 30, in operation S404, the first state data may be obtained.

제어기(20)는, S405 동작에서, 제1 상태 데이터의 부분 데이터에 대한 부분 메시지를 생성할 수 있고, 생성된 부분 메시지를 서버(30)에 전송할 수 있다.The controller 20 may generate a partial message for partial data of the first state data in operation S405 and transmit the generated partial message to the server 30.

예를 들면, 제어기(20)는, S401 동작에서 획득한 제1 상태 데이터와, S404 동작에서 획득한 제1 상태 데이터를 비교할 수 있다. 이때, S404 동작에서 획득한 제1 상태 데이터 중, S401 동작에서 획득한 제1 상태 데이터와 소정 기준 이상 차이가 있는 부분 데이터를 확인하여, 부분 메시지를 생성할 수 있다.For example, the controller 20 may compare the first state data acquired in operation S401 with the first state data acquired in operation S404. In this case, among the first state data acquired in operation S404, partial data having a difference between the first state data acquired in operation S401 and a predetermined reference or more may be checked, and a partial message may be generated.

제어기(20)는, S406 동작에서, 서버(30)로부터 부분 메시지의 전송에 대한 응답 메시지를 수신할 수 있다. 이때, 제어기(20)는, 예를 들면, S403 동작과 달리, 서버(30)로부터 응답 메시지를 수신하지 못한 경우에도, S407 동작을 수행할 수 있다.The controller 20 may receive a response message for transmission of the partial message from the server 30 in operation S406. At this time, the controller 20 may perform the operation S407 even when the response message is not received from the server 30, unlike operation S403, for example.

제어기(20)는, S407 동작에서, 제1 상태 데이터 처리 주기의 종료 시점의 도래 여부를 확인할 수 있다. The controller 20 may check whether the end point of the first state data processing cycle has arrived in operation S407.

제어기(20)는, 제1 상태 데이터 처리 주기의 종료 시점이 도래하지 않은 경우, S404 동작으로 분기하여, 제1 상태 데이터를 획득하고, 부분 메시지를 생성하여 서버(30)로 전송하는 동작을 주기적으로 수행할 수 있다.If the end point of the first state data processing cycle has not arrived, the controller 20 periodically performs an operation of branching to operation S404, obtaining the first state data, generating a partial message, and transmitting it to the server 30. Can be done with

상기와 같이, 본 발명의 다양한 실시 예에 따른 공기조화기는, 공조 유닛(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 air conditioning unit 10 that is different from the previous monitoring result by more than a predetermined standard. Thus, data transmission efficiency can be improved by transmitting to the server. In addition, the air conditioner may improve the reliability of data stored in the server 30 by transmitting all messages to the server 30 according to a predetermined period.

도 4b를 참조하면, 공기조화기에 포함된 제어기(20)는, S411 동작에서, 제2 상태 데이터를 획득할 수 있다. 이때, 제2 상태 데이터는, 예를 들면, 공조 유닛(10)의 성능과 관련된 동작 상태를 모니터링한 결과(예: 압축기의 흡입압력, 토출압력, 열교환기의 증발온도, 전자식 팽창팰브(EEV)의 개도 변화 등)과 관련된 상태 데이터일 수 있다. Referring to FIG. 4B, the controller 20 included in the air conditioner may acquire second state data in operation S411. At this time, the second state data is, for example, a result of monitoring the operation state related to the performance of the air conditioning unit 10 (e.g., suction pressure, discharge pressure of the compressor, evaporation temperature of the heat exchanger, electronic expansion valve (EEV)) It may be status data related to a change in the opening degree of

한편, 제어기(20)는, 예를 들면, 소정 주기(이하, 제2 상태 데이터 처리 주기) 동안 주기적으로 제2 상태 데이터를 획득할 수 있고, 획득한 제2 상태 데이터를 메모리(220)에 저장할 수 있다.Meanwhile, the controller 20 may periodically acquire the second state data for a predetermined period (hereinafter, referred to as the second state data processing period), and store the acquired second state data in the memory 220. I can.

제어기(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 controller 20 may generate an entire message for the received second state data, and store the generated entire message in the memory ( 220).

제어기(20)는, S413 동작에서, 제2 상태 데이터를 획득할 수 있다.The controller 20 may acquire second state data in operation S413.

제어기(20)는, S414 동작에서, 제2 상태 데이터의 부분 데이터에 대한 부분 메시지를 생성할 수 있고, 생성된 부분 메시지를 메모리(220)에 저장할 수 있다. The controller 20 may generate a partial message for partial data of the second state data in operation S414 and store the generated partial message in the memory 220.

제어기(20)는, S415 동작에서, 제2 상태 데이터 처리 주기의 종료 시점의 도래 여부를 확인할 수 있다. In operation S415, the controller 20 may check whether the end point of the second state data processing period has arrived.

제어기(20)는, 제2 상태 데이터 처리 주기의 종료 시점이 도래하지 않은 경우, S413 동작으로 분기하여, 제2 상태 데이터를 획득하고, 부분 메시지를 생성하여 메모리(220)에 저장하는 동작을 주기적으로 수행할 수 있다.If the end point of the second state data processing cycle has not arrived, the controller 20 periodically branches to operation S413, obtains the second state data, generates a partial message, and stores it in the memory 220. Can be done with

한편, 제어기(20)는, 제2 상태 데이터 처리 주기의 종료 시점이 도래한 경우, S416 동작에서, 제2 상태 데이터 처리 주기 동안 메모리(220)에 저장된 복수의 메시지를 서버(30)에 함께 전송할 수 있다.On the other hand, when the end time of the second state data processing period has arrived, the controller 20 transmits a plurality of messages stored in the memory 220 during the second state data processing period to the server 30 in operation S416. I can.

상기와 같이, 본 발명의 다양한 실시 예에 따른 공기조화기는, 공조 유닛(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 air conditioning unit 10 to the server every time, By transmitting together, the data processing efficiency of the server can be improved.

도 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 server 30 may receive a message from the air conditioner in operation S501. For example, the server 30 may receive a message for state data related to the operating state of the air conditioning unit 10 from the controller 20 included in the air conditioner.

서버(30)는, S502 동작에서, 공기조화기로부터 수신된 메시지의 타입을 확인할 수 있고, 수신된 메시지가 제1 상태 데이터에 관한 메시지인지, 아니면 제2 상태 데이터에 관한 메시지인지 여부를 판단할 수 있다. The server 30, in operation S502, can check the type of message received from the air conditioner, and determine whether the received message is a message related to the first state data or a message related to the second state data. I can.

이때, 제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 air conditioning unit 10 is operated, the set temperature of each indoor unit 12) , Air volume, room temperature, etc.). Meanwhile, the second state data is, for example, a result of monitoring the operation state related to the performance of the air conditioning unit 10 (e.g., suction pressure of the compressor, discharge pressure, evaporation temperature of the heat exchanger, electronic expansion valve (EEV) It may be status data related to a change in the opening degree of

서버(30)는, S503 동작에서, 수신된 메시지가 제1 상태 데이터에 관한 메시지인 경우, 수신된 메시지에 기초하여, 메모리(330)의 제1 데이터베이스에 저장된 제1 상태 데이터의 적어도 일부를 변경할 수 있다.In operation S503, when the received message is a message related to the first state data, the server 30 changes at least a part of the first state data stored in the first database of the memory 330 based on the received message. I can.

예를 들면, 서버(30)는, 수신된 메시지가 제1 상태 데이터에 대한 전체 메시지인 경우, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 전체를 변경할 수 있다.For example, when the received message is the entire message for the first state data, the server 30 may change the entire first state data stored in the first database 331 based on the received message.

예를 들면, 서버(30)는, 수신된 메시지가 제1 상태 데이터에 대한 부분 메시지인 경우, 수신된 메시지에 기초하여, 제1 데이터베이스(331)에 저장된 제1 상태 데이터 중, 수신된 메시지에 대응하는 일부를 변경할 수 있다. For example, if the received message is a partial message for the first state data, the server 30 may, based on the received message, the received message among the first state data stored in the first database 331. You can change the corresponding part.

한편, 서버(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 server 30 generates status data corresponding to the received message in operation S504, and the second It can be added to the second state data stored in the database 332, and a detailed description thereof will be described with reference to FIG. 5B.

도 5b를 참조하면, 서버(30)는, S511 동작에서, 공기조화기로부터 수신된 메시지가 제2 상태 데이터에 관한 메시지인 경우, 공기조화기로부터 수신된 메시지를, 전체 메시지와 부분 메시지로 구분할 수 있다.5B, the server 30 divides the message received from the air conditioner into a full message and a partial message when the message received from the air conditioner is a message related to the second state data in operation S511. I can.

서버(30)는, S512 동작에서, 전체 메시지에 대응하는 상태 데이터를 생성할 수 있다. The server 30 may generate state data corresponding to the entire message in operation S512.

서버(30)는, S513 동작에서, 부분 메시지에 대응하는 상태 데이터를 생성할 수 있다. 예를 들면, 서버(30)는, 부분 메시지에 기초하여 부분 데이터를 생성할 수 있고, 부분 데이터를 제외한 상태 데이터의 나머지 부분은 전체 메시지에 기초하여 생성할 수 있다. The server 30 may generate state data corresponding to the partial message in operation S513. For example, the server 30 may generate partial data based on the partial message, and the rest of the state data excluding the partial data may be generated based on the entire message.

서버(30)는, S514 동작에서, S512 동작 및 S513 동작에서 생성된 상태 데이터를 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가할 수 있다. 한편, 본 순서도에서는 S514 동작이 S512 동작 및 S513 동작을 수행한 이후에 수행되는 것으로 도시되었으나, 본 발명이 이에 한정되는 것은 아니며, S512 동작에서 상태 데이터를 생성하여, 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가한 후, S513 동작에서 상태 데이터를 생성하여 제2 데이터베이스(332)에 저장된 제2 상태 데이터에 추가할 수도 있다.The server 30 may add the state data generated in operations S512 and S513 to the second state data stored in the second database 332 in operation S514. Meanwhile, in this flowchart, operation S514 is shown to be performed after operations S512 and S513 are performed, but the present invention is not limited thereto, and state data is generated in operation S512 and stored in the second database 332. After adding to the second state data, state data may be generated in operation S513 and added to the second state data stored in the second database 332.

상기와 같이, 본 발명의 다양한 실시 예에 따른 서버(30)는, 공기조화기로부터 메시지의 크기가 작은 부분 메시지를 수신하여 처리하므로, 서버의 처리 부하가 줄어들어, 공기조화기 시스템(100)의 안정성 및 서버(30)의 데이터 처리 효율을 높일 수 있다. 또한, 서버(30)는, 공기조화기로부터 공조 유닛(10)에 구비된 각 구성의 동작 상태에 대한 모니터링 결과에 대한 메시지를 매번 수신하지 않고, 일정 주기에 따라 복수개를 함께 수신하므로, 데이터 처리 효율을 높일 수 있다. As described above, since the server 30 according to various embodiments of the present invention receives and processes a partial message having a small message size from the air conditioner, the processing load of the server is reduced, and thus the air conditioner system 100 It is possible to increase stability and data processing efficiency of the server 30. In addition, the server 30 does not receive a message from the air conditioner about the monitoring result of the operation state of each component provided in the air conditioner 10 every time, but receives a plurality of messages together according to a predetermined period, thus processing data You can increase the efficiency.

첨부된 도면은 본 명세서에 개시된 실시예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.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 상태 데이터에 대한 전체 메시지를 상기 서버로 전송한 경우, 상기 서버로부터 메시지의 전송에 대한 응답 메시지가 수신되는지 여부를 확인하고,
상기 응답 메시지를 수신하지 못한 경우, 상기 제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.
제2항에 있어서,
상기 제어부는,
상기 응답 메시지를 수신한 경우, 상기 제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 상태 데이터에 대한 전체 메시지와, 상기 제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.
제5항에 있어서,
상기 제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.
제6항에 있어서,
상기 제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.
제7항에 있어서,
상기 제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.
제9항에 있어서,
상기 제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.
제10항에 있어서,
상기 제어부는,
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.
KR1020190032294A 2019-03-21 2019-03-21 Electronic device, server, and data processing mtehod thereof KR20200112204A (en)

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)

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