JP2021149289A - Air conditioner - Google Patents

Air conditioner Download PDF

Info

Publication number
JP2021149289A
JP2021149289A JP2020046518A JP2020046518A JP2021149289A JP 2021149289 A JP2021149289 A JP 2021149289A JP 2020046518 A JP2020046518 A JP 2020046518A JP 2020046518 A JP2020046518 A JP 2020046518A JP 2021149289 A JP2021149289 A JP 2021149289A
Authority
JP
Japan
Prior art keywords
software
update
indoor unit
file
updated
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2020046518A
Other languages
Japanese (ja)
Other versions
JP7322764B2 (en
Inventor
真枝 北島
Masae Kitajima
真枝 北島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP2020046518A priority Critical patent/JP7322764B2/en
Publication of JP2021149289A publication Critical patent/JP2021149289A/en
Application granted granted Critical
Publication of JP7322764B2 publication Critical patent/JP7322764B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Selective Calling Equipment (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Air Conditioning Control Device (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

To provide an air conditioner equipped with multiple pieces of software capable of preventing disturbance on the control of the air conditioner even when software that has been updated and software that has not been updated are mixed when updating the multiple pieces of software.SOLUTION: A server 41 stores: software information that includes a piece of information for identifying software to be updated of software and the priority indicating the order of updating of each piece of software; and a piece of updating software. An indoor unit 1 checks a piece of software information received from the server 41, and rewrites and updates the stored software with the piece of updating software in order from a software that has the highest priority.SELECTED DRAWING: Figure 1

Description

本発明は、室内機、室外機、リモートコントローラなどの複数のハードウェアと、これらのハードウェアをそれぞれ制御するためのソフトウェアを備えた空気調和機に係わり、より詳細には、この空気調和機の制御用ソフトウェアの更新機能に関する。 The present invention relates to a plurality of hardware such as an indoor unit, an outdoor unit, a remote controller, and an air conditioner equipped with software for controlling each of these hardware, and more specifically, the air conditioner of the air conditioner. Regarding the update function of the control software.

従来、遠隔制御による空気調和機の制御用ソフトウェアの更新は、例えば、特許文献1に制御プログラム更新システムとして開示されている。
制御プログラム更新システムは、通信ネットワークと、この通信ネットワークに接続されたサーバー及びパソコンと、このパソコンに接続された通信アダプタと、この通信アダプタと無線で通信接続された室内機で構成されている。
Conventionally, updating software for controlling an air conditioner by remote control is disclosed in Patent Document 1, for example, as a control program updating system.
The control program update system is composed of a communication network, a server and a personal computer connected to the communication network, a communication adapter connected to the personal computer, and an indoor unit wirelessly connected to the communication adapter.

パソコンは通信ネットワークを介してサーバーから室内機の更新プログラムを入手する。そしてパソコンは、この更新プログラムを通信アダプタを介して室内機へ送信する。室内機はこの更新プログラムを受信すると自身の制御プログラムをこの更新プログラムに書き換えて更新する。その後、室内機は再起動して新しいプログラムでの動作を開始する。 The personal computer obtains the update program of the indoor unit from the server via the communication network. Then, the personal computer transmits this update program to the indoor unit via the communication adapter. When the indoor unit receives this update program, it rewrites its own control program to this update program and updates it. After that, the indoor unit restarts and starts operating with the new program.

一方、例えば空気調和機は、室内機と室外機とリモコンの3つの機器で1つの製品を構成することが一般的である。また、これらの機器には1つないし複数のマイコンが搭載されており、各マイコンには制御用のソフトウェアが搭載されている。例えばリモコンには使用者の操作を受け付け、この操作に対応した指示を室内機へ送信するマイコンが搭載されている。また、室内機には室内機全体を制御すると共に、室外機への動作指示を行い、空気調和機全体を制御するマイコンが搭載されている。また、室外機には室内機からの動作指示を受け付け、圧縮機のインバータ制御を含む室外機全体を制御するマイコンが搭載されている。それぞれのマイコンには制御用のソフトウェアが、記憶手段であるフラッシュメモリーに記憶されている。この制御用のソフトウェアはマイコン上で動作するプログラムである。 On the other hand, for example, in an air conditioner, one product is generally composed of three devices, an indoor unit, an outdoor unit, and a remote controller. Further, these devices are equipped with one or a plurality of microcomputers, and each microcomputer is equipped with control software. For example, the remote controller is equipped with a microcomputer that accepts the user's operation and sends an instruction corresponding to this operation to the indoor unit. In addition, the indoor unit is equipped with a microcomputer that controls the entire indoor unit, gives an operation instruction to the outdoor unit, and controls the entire air conditioner. Further, the outdoor unit is equipped with a microcomputer that receives an operation instruction from the indoor unit and controls the entire outdoor unit including the inverter control of the compressor. Control software is stored in each microcomputer in flash memory, which is a storage means. This control software is a program that runs on a microcomputer.

さらに、このプログラムの他にも各種の設定情報(以下データ)が各機器に搭載されたEEPROMに記憶されている。このデータは各プログラムの実行に伴なって読み書きされるためプログラムとは異なるが、プログラムと連携して空気調和機の運転制御を行うため、ここではプログラムとこれによって読み書きされるデータを含めてソフトウェアと呼称する。
通常、空気調和機として新機能を追加するために、例えばリモコンのソフトウェアと室内機のマイコンのソフトウェアと室外機のマイコンのソフトウェアなどが各マイコン上で実行された時、互いのマイコンが連携して動作する場合、これらのソフトウェアを一式として更新する必要がある。各ソフトウェアは空気調和機が運転を停止している状態であれば任意のタイミングで更新される。
Further, in addition to this program, various setting information (hereinafter referred to as data) is stored in the EEPROM mounted on each device. This data is different from the program because it is read and written as each program is executed, but since the operation control of the air conditioner is performed in cooperation with the program, here the software including the program and the data read and written by it is included. It is called.
Normally, when new functions are added as an air conditioner, for example, remote control software, indoor unit microcomputer software, and outdoor unit microcomputer software are executed on each microcomputer, the microcomputers cooperate with each other. If it works, you need to update these software as a set. Each software is updated at any time as long as the air conditioner is stopped.

ところで、複数のソフトウェアのうち、あるソフトウェアの更新が完了し、残りのソフトウェアの更新が完了していない状態で、停電などにより外部からの電源供給が断たれ、そして、電源が復旧した時に室内機や室外機が自動的に起動する。この場合、各マイコンやEEPROMに対するソフトウェアの更新完了(新ソフトウェア)と未更新(旧ソフトウェア)の組み合わせが存在したまま1つの空気調和機として動作を開始することになる。
この状態で例えばユーザーがリモコンで新機能に関する操作指示を行った時、室内機や室外機、リモコンなどで制御上の問題が発生することを本願発明者は見出した。
By the way, among a plurality of software, when the update of a certain software is completed and the update of the remaining software is not completed, the power supply from the outside is cut off due to a power failure or the like, and the indoor unit is restored. And the outdoor unit starts automatically. In this case, the operation is started as one air conditioner while the combination of software update completion (new software) and unupdated (old software) for each microcomputer or EEPROM exists.
In this state, for example, the inventor of the present application has found that when a user gives an operation instruction regarding a new function with a remote controller, a control problem occurs in the indoor unit, the outdoor unit, the remote controller, and the like.

特開2009−133549号公報(段落番号0041〜0044)Japanese Unexamined Patent Publication No. 2009-133549 (paragraph numbers 0041 to 0044)

本発明は以上述べた問題点を解決し、複数のソフトウェアを搭載した空気調和機において、複数のソフトウェアを更新する場合、更新が完了したソフトウェアと、更新が完了していないソフトウェアが混在しても空気調和機の制御に支障が出難いようにすることを目的とする。 The present invention solves the above-mentioned problems, and when updating a plurality of software in an air conditioner equipped with a plurality of software, even if the software that has been updated and the software that has not been updated are mixed. The purpose is to prevent the control of the air conditioner from being hindered.

本発明は上述の課題を解決するため、本発明の請求項1に記載の発明は、
プログラム、および前記プログラムに関連するデータのうち少なくとも一方であるソフトウェアを記憶する複数の記憶手段と、前記プログラムを読みだして実行する演算処理手段と、外部ネットワーク上のサーバーと通信接続される通信手段とを備え、
前記ソフトウェアのうち少なくとも2つ以上のソフトウェアを更新するための更新用ソフトウェアを前記サーバーから受信して当該ソフトウェアを更新することができる空気調和機であって、
前記通信手段は、
更新対象となる前記ソフトウェアを記憶する前記記憶手段を特定する情報と更新対象となる前記ソフトウェアの更新の順番を示す優先順位とを含むソフトウェア情報と、
前記更新用ソフトウェアと、を、前記サーバーから受信し、
前記演算処理手段は、
前記ソフトウェア情報を確認し、優先順位が高い前記ソフトウェアから順に前記記憶手段に記憶されている前記ソフトウェアを前記更新用ソフトウェアに書き換えて更新することを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 1 of the present invention
A plurality of storage means for storing a program and software that is at least one of the data related to the program, an arithmetic processing means for reading and executing the program, and a communication means for communication connection with a server on an external network. With and
An air conditioner capable of receiving update software for updating at least two or more of the software from the server and updating the software.
The communication means
Software information including information for specifying the storage means for storing the software to be updated and a priority indicating the order of updating the software to be updated.
The update software is received from the server,
The arithmetic processing means
The software information is confirmed, and the software stored in the storage means is rewritten and updated with the update software in order from the software having the highest priority.

以上の手段を用いることにより、本発明による空気調和機によれば、複数のソフトウェアを搭載した空気調和機において、複数のソフトウェアを更新する場合、優先順位が高いソフトウェアから順に記憶手段に記憶されているソフトウェアを更新用ソフトウェアに書き換えて更新する。このため、更新が完了したソフトウェアと、更新が完了していないソフトウェアが混在しても空気調和機の制御に支障が出難いようにすることができる。 By using the above means, according to the air conditioner according to the present invention, when updating a plurality of software in an air conditioner equipped with a plurality of software, the software having the highest priority is stored in the storage means in order. Rewrite the existing software with the update software and update. Therefore, even if the software for which the update has been completed and the software for which the update has not been completed are mixed, it is possible to prevent the control of the air conditioner from being hindered.

本発明による空気調和機を含む空調機システムのブロック図である。It is a block diagram of the air conditioner system including the air conditioner according to this invention. 本発明による室内機のブロック図である。It is a block diagram of the indoor unit by this invention. 本発明によるリモコンのブロック図である。It is a block diagram of the remote control by this invention. 更新用ファイルを示す説明図である。It is explanatory drawing which shows the update file. ソフトウェア書き換えに関する概略の通信手順を示すチャートである。It is a chart which shows the outline communication procedure about software rewriting. ソフトウェア書き換えに関する詳細な通信手順を示すチャートである。It is a chart which shows the detailed communication procedure about software rewriting.

以下、本発明の実施の形態を、添付図面に基づいた実施例として詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail as examples based on the accompanying drawings.

<空調機システムの説明>
図1は本発明による空気調和機101を備えた空調機システム1の実施例を示すブロック図である。
空調機システム1は、通信ネットワーク3と、この通信ネットワーク3に通信接続され、内部にサーバー記憶部41aを備えたサーバー41と、通信ネットワーク3に通信接続されて、家屋内に設置されたルーター機能付きの無線LAN(Local Area Network)装置6と、無線LAN装置6と電波により通信接続され室内に設置された室内機2と家屋外に設置された室外機12と室内機2を操作するリモコン5を備えた空気調和機101とを備えている。室内機2と室外機12とリモコン5には後述するマイコンが搭載されており、各マイコンには各機器を動作させるソフトウェアが搭載されている。
<Explanation of air conditioner system>
FIG. 1 is a block diagram showing an embodiment of an air conditioner system 1 provided with an air conditioner 101 according to the present invention.
The air conditioner system 1 is connected to the communication network 3 by communication, and is connected to the communication network 3 by communication with the server 41 having the server storage unit 41a inside, and has a router function installed in the house. Remote area network (Local Area Network) device 6 and a remote control 5 that operates the indoor unit 2 installed indoors and the outdoor unit 12 and indoor unit 2 installed outdoors by communicating with the wireless LAN device 6 by radio waves. The air conditioner 101 is provided with the above. The indoor unit 2, the outdoor unit 12, and the remote controller 5 are equipped with a microcomputer described later, and each microcomputer is equipped with software for operating each device.

また、サーバー41や無線LAN装置6や室内機2は、通信ネットワーク3上でそれぞれの機器を識別する通信アドレスを記憶している。各機器は通信するデータと共に、宛先通信アドレスや自身の送信元通信アドレスを同時に送信する。従って各機器は受信時にこの通信アドレスを確認することでどの機器から送られたデータかを知ることができる。
サーバー41には個々の機器のマイコンのソフトウェアを更新するための更新用ソフトウェアを含む更新ファイルが複数記憶されており、空気調和機101は、1つの更新用ソフトウェア、もしくは複数の更新用ソフトウェアをサーバー41から受信して対応する機器のソフトウェアを更新する。なお、更新用ソフトウェアや更新ファイルについては後で詳細に説明する。
Further, the server 41, the wireless LAN device 6, and the indoor unit 2 store a communication address that identifies each device on the communication network 3. Each device simultaneously transmits the destination communication address and its own source communication address together with the data to be communicated. Therefore, each device can know which device the data was sent from by confirming this communication address at the time of reception.
A plurality of update files including update software for updating the software of the microcomputer of each device are stored in the server 41, and the air conditioner 101 stores one update software or a plurality of update software as a server. Receive from 41 and update the software of the corresponding device. The update software and update files will be described in detail later.

図1において、リモコン5は円柱状であり、その上面には表示部や操作キーを備えた操作・表示部51が配置されている。 In FIG. 1, the remote controller 5 has a columnar shape, and an operation / display unit 51 having a display unit and operation keys is arranged on the upper surface thereof.

ユーザーは空気調和機101を空調運転させる場合、このリモコン5を操作する。このユーザーの操作に対応して操作信号(電波)が室内機2へ出力される。室内機2は、内蔵された室内機無線通信部22でこの操作信号を受信し、この操作信号による指示に従って空調制御を行う。 The user operates the remote controller 5 when operating the air conditioner 101 for air conditioning. An operation signal (radio wave) is output to the indoor unit 2 in response to this user's operation. The indoor unit 2 receives this operation signal at the built-in indoor unit wireless communication unit 22, and performs air conditioning control according to an instruction by the operation signal.

<室内機2の説明>
図2は本発明による室内機2を示すブロック図である。
室内機2は、無線LAN装置6を介してサーバー3と通信を行う通信手段である無線アダプタ21と、リモコン5と微弱電波を用いて通信を行う室内機無線通信部22と、各種のデータを記憶する記憶手段の1つであるEEPROM24と、ファンモーター26と、これらを制御する室内機制御部25を備えている。
<Explanation of indoor unit 2>
FIG. 2 is a block diagram showing an indoor unit 2 according to the present invention.
The indoor unit 2 transmits various data to the wireless adapter 21 which is a communication means for communicating with the server 3 via the wireless LAN device 6, the indoor unit wireless communication unit 22 which communicates with the remote controller 5 using weak radio waves, and so on. It includes an EEPROM 24 which is one of the storage means for storing, a fan motor 26, and an indoor unit control unit 25 for controlling them.

室内機制御部25は、無線アダプタ21と、室内機無線通信部22と、EEPROM24と、ファンモーター26を制御するメインマイコン23を備えている。また、メインマイコン23は、無線アダプタ21と、室内機無線通信部22と、EEPROM24と入出力、および、ファンモーター26を制御するすると共に、プログラムの実行を行う演算処理手段である実行ユニット23aと、実行ユニット23aが実行するプログラムを格納する記憶手段の1つであるフラッシュメモリー23bを備えている。 The indoor unit control unit 25 includes a wireless adapter 21, an indoor unit wireless communication unit 22, an EEPROM 24, and a main microcomputer 23 that controls a fan motor 26. Further, the main microcomputer 23 controls the wireless adapter 21, the indoor unit wireless communication unit 22, the EEPROM 24, the input / output, and the fan motor 26, and also includes an execution unit 23a, which is an arithmetic processing means for executing a program. The flash memory 23b, which is one of the storage means for storing the program executed by the execution unit 23a, is provided.

また、フラッシュメモリー23bは、ブロック0からブロックn(最終ブロック)で構成されており、ブロック単位でデータの書き込みが可能である。なお、ブロック0にはソフトウェアを更新するための更新実行プログラムが格納されており、このブロックはソフトウェア更新の対象外である。実行ユニット23aは、更新実行プログラムを実行してブロック1からブロックnまでの書き込みと読み出しを行う。ブロック1以降のブロックには室内機の機能を実現する室内機実行プログラムが格納されており、実行ユニット23aは、通常、この室内機実行プログラムを実行し、ソフトウェアの更新時のみ更新実行プログラムに切り替えて実行する。 Further, the flash memory 23b is composed of blocks 0 to n (final block), and data can be written in block units. An update execution program for updating software is stored in block 0, and this block is not subject to software update. The execution unit 23a executes the update execution program to write and read from block 1 to block n. An indoor unit execution program that realizes the function of the indoor unit is stored in the blocks after block 1, and the execution unit 23a normally executes this indoor unit execution program and switches to the update execution program only when the software is updated. And execute.

<リモコン5の説明>
図3は本発明によるリモコン5を示すブロック図である。
リモコン5は、室内機2と通信を行うリモコン無線通信部57と、操作キーや表示部を備えた操作・表示部51と、これらを制御するリモコン制御部55を備えている。
<Explanation of remote control 5>
FIG. 3 is a block diagram showing a remote controller 5 according to the present invention.
The remote controller 5 includes a remote controller wireless communication unit 57 that communicates with the indoor unit 2, an operation / display unit 51 that includes operation keys and a display unit, and a remote controller control unit 55 that controls these.

リモコン制御部55は、リモコン無線通信部57と、操作・表示部51と入出力を行うマイコン52を備えている。また、マイコン52は、リモコン無線通信部57と入出力を行うと共に、プログラムの実行を行う演算処理手段である実行ユニット52aと、実行ユニット52aが実行するプログラムを格納する記憶手段の1つであるフラッシュメモリー52bを備えている。 The remote control control unit 55 includes a remote control wireless communication unit 57 and a microcomputer 52 that performs input / output with the operation / display unit 51. Further, the microcomputer 52 is one of the execution unit 52a, which is an arithmetic processing means for executing the program, and the storage means for storing the program executed by the execution unit 52a, while inputting / outputting with the remote controller wireless communication unit 57. It is equipped with a flash memory 52b.

また、フラッシュメモリー52bは、ブロック0からブロックn(最終ブロック)で構成されており、ブロック単位でデータの書き込みが可能である。なお、ブロック0にはソフトウェアを更新するための更新実行プログラムが格納されており、このブロックはソフトウェア更新の対象外である。実行ユニット52aは、更新実行プログラムを実行してブロック1からブロックnまでの書き込みと読み出しを行う。ブロック1以降のブロックにはリモコンの機能を実現するリモコン実行プログラムが格納されており、実行ユニット52aは、通常、このリモコン実行プログラムを実行し、ソフトウェアの更新時のみ更新実行プログラムに切り替えて実行する。 Further, the flash memory 52b is composed of blocks 0 to n (final block), and data can be written in block units. An update execution program for updating software is stored in block 0, and this block is not subject to software update. The execution unit 52a executes the update execution program to write and read from block 1 to block n. A remote control execution program that realizes the function of the remote control is stored in the blocks after block 1, and the execution unit 52a normally executes this remote control execution program, and switches to the update execution program only when the software is updated. ..

<更新用ファイルの説明>
図4は更新用ファイルを示す説明図である。図4(A)は1つの機器のソフトウェアを更新するために必要な更新用ファイルの内部構成を示す説明であり、図4(B)は1つの空気調和機101に対して3つのソフトウェアを更新するときに必要な更新用ファイル群を示している。
<Explanation of update file>
FIG. 4 is an explanatory diagram showing an update file. FIG. 4 (A) is an explanation showing the internal configuration of the update file required for updating the software of one device, and FIG. 4 (B) shows updating three software for one air conditioner 101. Shows the update files required when doing so.

図4(A)において更新用ファイルはソフトウェア情報と更新用ソフトウェアの2つのデータで構成されている。ソフトウェア情報は更新用ソフトウェアの更新に必要な情報を記載したヘッダーである。この情報として「対象機器と対象部品」、「書き換え総ブロック数」、「優先順位」、「同時更新数」、「その他の情報」がある。 In FIG. 4A, the update file is composed of two data, software information and update software. The software information is a header that describes the information necessary for updating the update software. This information includes "target device and target part", "total number of rewritten blocks", "priority", "number of simultaneous updates", and "other information".

「対象機器と対象部品」の情報は更新対象となるソフトウェアが格納される機器や設定データが格納される部品を示しており、対象機器は室内機、室外機、リモコンなどであり、対象部品はメインマイコン、サブマイコン、EEPROMなどである。なお、EEPROMにはプログラムでなく設定用や制御用のデータが格納されるが、この実施例ではプログラムとこれらのデータも含めてソフトウェアと呼称する。 The information of "target device and target part" indicates the device that stores the software to be updated and the part that stores the setting data. The target device is an indoor unit, an outdoor unit, a remote controller, etc., and the target part is Main microcomputer, sub-microcomputer, EEPROM, etc. Data for setting and control is stored in EEPROM instead of a program, but in this embodiment, the program and these data are also referred to as software.

「書き換え総ブロック数」は更新用ソフトウェアを分割した時のブロックの数である。前述したように機器を制御するソフトウェア、この場合ではプログラムはマイコンに内蔵されたフラッシュメモリーのブロックに分割して格納されるため、これに合わせて更新用ソフトウェアも分割されている。このため、後述する更新用ソフトウェアの転送処理や書き換え処理はこの総ブロック数で管理される。なお、EEPROMも同様であり、この場合は更新用ソフトウェアとして制御用のデータがブロックに分割されて格納される。 The "total number of rewrite blocks" is the number of blocks when the update software is divided. As described above, the software that controls the device, in this case the program, is divided and stored in the flash memory block built in the microcomputer, so the update software is also divided accordingly. Therefore, the transfer processing and rewriting processing of the update software, which will be described later, are managed by this total number of blocks. The same applies to EEPROM. In this case, control data is divided into blocks and stored as update software.

「優先順位」はこの更新用ファイル、つまり、そこに含まれる更新用ソフトウェアが同時に複数存在する時に、更新用ソフトウェア自身の更新の順番を示すものであり、優先順位の数字が小さいほど優先順位が高くなっている。
「同時更新数」は同時に更新すべき更新用ファイルの数、つまり、更新用ソフトウェアの数を示している。なお、更新用ファイルが1つのみの場合、同時更新数は1となる。
「その他の情報」はソフトウェアのバージョン情報などである。
"Priority" indicates the update order of the update software itself when there are multiple update files contained in this update file at the same time. The smaller the priority number, the higher the priority. It's getting higher.
"Number of simultaneous updates" indicates the number of update files to be updated at the same time, that is, the number of update software. If there is only one update file, the number of simultaneous updates is 1.
"Other information" includes software version information and the like.

更新用ソフトウェアはブロック1〜ブロックnの更新ソフトウェアで構成されている。 The update software is composed of update software of blocks 1 to n.

図4(B)において本実施例で説明するファイル1〜ファイル3で構成された更新用ファイル群を示している。 FIG. 4B shows a group of update files composed of files 1 to 3 described in this embodiment.

ファイル1は室内機2のメインマイコン23用のソフトウェアを更新するためのものであり、優先順位:1、同時更新数:3、書き換え総ブロック数:256となっている。ファイル2は室内機2のEEPROM24に記憶されているデータを更新するためのものであり、優先順位:3、同時更新数:3、書き換え総ブロック数:1となっている。ファイル3は室内機2のリモコン5用のソフトウェアを更新するためのものであり、優先順位:2、同時更新数:3、書き換え総ブロック数:128となっている。なお、これらの情報は各ファイルをサーバー41のサーバー記憶部41aへ格納する前にメンテナンス担当者により作成されている。 File 1 is for updating the software for the main microcomputer 23 of the indoor unit 2, and has a priority of 1, the number of simultaneous updates: 3, and the total number of rewrite blocks: 256. The file 2 is for updating the data stored in the EEPROM 24 of the indoor unit 2, and has a priority of 3, the number of simultaneous updates: 3, and the total number of rewritten blocks: 1. The file 3 is for updating the software for the remote controller 5 of the indoor unit 2, and has a priority of 2, the number of simultaneous updates: 3, and the total number of rewrite blocks: 128. It should be noted that these pieces of information are created by the maintenance personnel before storing each file in the server storage unit 41a of the server 41.

<更新用ファイル群による新機能についての説明>
ここで、これらの更新用ファイル群によって3つの機器のソフトウェアが更新されることにより、空気調和機101の風量の設定に関して新しい機能に変更する例を説明する。例えば風量の設定に関して現在の仕様が1〜5段階であり、これをさらに細かく設定できるように新機能として1〜7段階が設定できるようにソフトウェアを書き換える。
<Explanation of new functions by updating files>
Here, an example will be described in which the software of the three devices is updated by these update files to change to a new function regarding the setting of the air volume of the air conditioner 101. For example, the current specification for setting the air volume is 1 to 5 steps, and the software is rewritten so that 1 to 7 steps can be set as a new function so that this can be set in more detail.

このため、室内機2のEEPROM24の新たに記憶されるエリアに、風量切替指示情報の設定値が保存される。この設定値は室内機2の出荷時点で未使用のエリアであるため0が書き込まれている。そして、室内機2の更新ソフトウェアによる新しい機能において、この設定値が0とすると未使用のエリアではなく、風量切替指示情報を示すフラグとなる。従って、風量切替指示情報の設定値が0の時、風量は1〜5段階で、また、風量切替指示情報の設定値が1の時、風量は1〜7段階で、それぞれ機能するようになっている。 Therefore, the set value of the air volume switching instruction information is stored in the newly stored area of the EEPROM 24 of the indoor unit 2. Since this set value is an unused area at the time of shipment of the indoor unit 2, 0 is written. Then, in the new function by the update software of the indoor unit 2, when this set value is 0, it becomes a flag indicating the air volume switching instruction information, not the unused area. Therefore, when the set value of the air volume switching instruction information is 0, the air volume functions in 1 to 5 steps, and when the set value of the air volume switching instruction information is 1, the air volume functions in 1 to 7 steps. ing.

ファイル1は室内機2のメインマイコン23に適用される更新ソフトウェアを含んでいる。この更新ソフトウェアは、リモコンから送信される風量の指示値を風量切替指示情報の設定値の値により1〜5段階、又は1〜7段階で選択的に受け付け、それぞれの段階に対応してファンモーター26の回転数を制御する機能を有している。 File 1 contains update software applied to the main microcomputer 23 of the indoor unit 2. This update software selectively accepts the indicated value of the air volume transmitted from the remote controller in 1 to 5 steps or 1 to 7 steps according to the set value of the air volume switching instruction information, and the fan motor corresponds to each step. It has a function of controlling the number of rotations of 26.

そしてこれらの各ファイル内の更新用ソフトウェアを更新する優先順位は前述したように、メインマイコン(室内機)>リモコン>EEPROM(室内機)の順である。このため、メインマイコン(室内機)のみソフトウェアの更新、つまり、書き換えが完了し、他の機器においてソフトウェアの更新が完了されないまま停電が発生し、さらに、停電が解消して電力が供給されて空気調和機101が自動復帰した場合、ユーザーの操作によりリモコン5からは従来の風量である1〜5段階を指示するデータが送信される。一方、新機能で動作する室内機2はEEPROM24の風量切替指示情報の設定値が0なので、指示された従来の風量である1〜5段階でファンモーター26の回転数を制御する。 As described above, the order of priority for updating the update software in each of these files is as follows: main microcomputer (indoor unit)> remote controller> EEPROM (indoor unit). For this reason, the software update of only the main microcomputer (indoor unit), that is, the rewriting is completed, the power failure occurs without the software update being completed in other devices, and the power failure is resolved and power is supplied to air. When the air conditioner 101 is automatically restored, data indicating the conventional air volume of 1 to 5 steps is transmitted from the remote controller 5 by the user's operation. On the other hand, since the set value of the air volume switching instruction information of the EEPROM 24 is 0 in the indoor unit 2 that operates with the new function, the rotation speed of the fan motor 26 is controlled in steps 1 to 5 which are the instructed conventional air volumes.

一方、メインマイコン(室内機)とリモコン5のみソフトウェアの更新が完了し、他のソフトウェア(EEPROM24の設定値)の更新が完了されないまま停電が発生し、さらに、停電が解消して電力が供給されて空気調和機101が自動復帰した場合、EEPROM24の風量切替指示情報の設定値が0なので新機能で動作するリモコン5からは従来の風量である1〜5段階を指示するデータが送信される。一方、新機能で動作する室内機2はEEPROM24の風量切替指示情報の設定値が0なので、指示された従来の風量である1〜5段階でファンモーター26の回転数を制御する。 On the other hand, the software update is completed only for the main microcomputer (indoor unit) and the remote controller 5, and the power failure occurs without completing the update of the other software (EEPROM24 setting value). Furthermore, the power failure is resolved and power is supplied. When the air conditioner 101 is automatically restored, since the set value of the air volume switching instruction information of the EEPROM 24 is 0, the remote controller 5 operating with the new function transmits data indicating the conventional air volume of 1 to 5 steps. On the other hand, since the set value of the air volume switching instruction information of the EEPROM 24 is 0 in the indoor unit 2 that operates with the new function, the rotation speed of the fan motor 26 is controlled in steps 1 to 5 which are the instructed conventional air volumes.

一方、すべての機器でソフトウェアの更新が完了した後に停電が発生し、さらに、停電が解消して電力が供給されて空気調和機101が自動復帰した場合、EEPROM24の風量切替指示情報の設定値が1に書き換えられ、前述した風量が1〜7段階となる機能を室内機2とリモコン5で使用することができる。
このように、ソフトウェアの更新が全ての機器で完了しないで各機器のソフトウェアが再起動して動作を開始する場合であっても各機器の動作で矛盾が発生しない。
On the other hand, if a power failure occurs after the software update is completed for all devices, and if the power failure is resolved and power is supplied to automatically restore the air conditioner 101, the set value of the air volume switching instruction information of the EEPROM 24 will be changed. The function of being rewritten to 1 and having the above-mentioned air volume in 1 to 7 stages can be used in the indoor unit 2 and the remote controller 5.
In this way, even if the software update is not completed in all the devices and the software of each device restarts and starts the operation, there is no contradiction in the operation of each device.

本発明による優先順位を考慮しないで従来のように任意の順番でソフトウェアを更新した場合、例えばリモコン、EEPROM(室内機)のソフトウェア更新が完了し、メインマイコン(室内機)のソフトウェア更新が完了していない場合、各機器の動作に矛盾が生じてしまう問題が発生する。
上記において、リモコン5から風量が1〜7段階となる新機能による指示が送信された場合、室内機2は従来の風量である1〜5段階でファンモーター26の回転数を制御するため、風量が6〜7の風量指示に対するファンモーター26の回転数テーブル値がないため、意図しない回転数となってしまう問題がある。
本発明ではこのような状態がないため、ソフトウェア更新における信頼性が向上する。
When the software is updated in an arbitrary order as in the conventional case without considering the priority according to the present invention, for example, the software update of the remote controller and EEPROM (indoor unit) is completed, and the software update of the main microcomputer (indoor unit) is completed. If not, there will be a problem that the operation of each device will be inconsistent.
In the above, when an instruction is transmitted from the remote control 5 by a new function in which the air volume is in steps 1 to 7, the indoor unit 2 controls the rotation speed of the fan motor 26 in steps 1 to 5 which is the conventional air volume, so that the air volume is increased. However, since there is no rotation speed table value of the fan motor 26 for the air volume indication of 6 to 7, there is a problem that the rotation speed becomes unintended.
Since there is no such state in the present invention, the reliability in software update is improved.

<優先順位の決定方法>
以上説明したように、複数の更新ソフトウェアが存在する時の各ソフトウェアの優先順位は、一方のソフトウェアの更新で実現される機能が他のソフトウェアで実現される機能へ与える影響度で決定される。例えば一方のソフトウェアの更新が他のソフトウェアに全く無関係な機能に関する更新であれば、一方のソフトウェア更新に関する優先度は高い。つまり、一方のソフトウェアを最初に更新して実行したとしても、他のソフトウェアでの実行に何の影響も与えない。例えばリモコンの表示内容を変更する更新ソフトウェアであれば、リモコンのみで完結する機能であり、他のソフトウェアの実行には影響を与えない。
<Method of determining priority>
As described above, the priority of each software when a plurality of update software exists is determined by the degree of influence that the function realized by updating one software has on the function realized by the other software. For example, if one software update is an update for a function that is completely unrelated to the other software, then one software update has a high priority. That is, updating one software first and running it has no effect on running the other software. For example, if the update software changes the display contents of the remote controller, it is a function that is completed only by the remote controller and does not affect the execution of other software.

これに対して、更新済みの一方のソフトウェアの実行が、他のソフトウェアの実行に何らかの影響がある場合、一方のソフトウェアの優先順位は低い。例えば実施例1で前述したように風量の段階に関する機能変更の場合には、室内機1とリモコン5において、更新されるべきソフトウェアとして、更新用ソフトウェア1と更新用ソフトウェア3がある。この場合、互いのソフトウェアの実行において、ユーザーによる風量変更操作により互いに影響を受ける。具体的には追加された風量の段階を示す値がリモコン5から送信され、これを受信した室内機1はこの段階と対応する回転数でファンを回転させる。つまり、制御上の影響度が高いため、本来であれば更新用ソフトウェア1と更新用ソフトウェア3の優先度は同じとなり、優先度は最も低いはずである。 On the other hand, if the execution of one updated software has some effect on the execution of the other software, the priority of one software is low. For example, in the case of changing the function related to the air volume stage as described above in the first embodiment, the indoor unit 1 and the remote controller 5 include update software 1 and update software 3 as software to be updated. In this case, in the execution of each other's software, they are influenced by each other's air volume change operation by the user. Specifically, a value indicating the stage of the added air volume is transmitted from the remote controller 5, and the indoor unit 1 that receives the value rotates the fan at a rotation speed corresponding to this stage. That is, since the degree of influence on control is high, the priority of the update software 1 and the update software 3 should be the same, and the priority should be the lowest.

しかしながら、優先度が同じ場合は背景技術で説明した問題が発生する。このため、本実施例では更新用ソフトウェア1と更新用ソフトウェア3に風量切替指示情報の設定値に従って動作する機能を設けている。そして、これらの風量の段階に関する機能変更が有効となるためにはEEPROM24の風量切替指示情報の設定値が1に書き換えられる必要がある。つまり、更新用ソフトウェア2に関する更新が行われない限り、更新用ソフトウェア1と更新用ソフトウェア3に関するソフトウェア更新を行っても新しい機能は動作しないためこれらのソフトウェアの影響度は低いことになる。逆に言うと、更新用ソフトウェア2が一番影響度が高いため、優先順位を一番低く設定する。なお、この場合、更新用ソフトウェア1と更新用ソフトウェア3の優先度は任意である。 However, if the priorities are the same, the problems described in the background art will occur. Therefore, in this embodiment, the update software 1 and the update software 3 are provided with a function of operating according to the set value of the air volume switching instruction information. Then, in order for the function changes related to these air volume stages to be effective, it is necessary to rewrite the set value of the air volume switching instruction information of the EEPROM 24 to 1. That is, unless the update software 2 is updated, the new functions do not operate even if the update software 1 and the update software 3 are updated, so that the influence of these software is low. Conversely, since the update software 2 has the highest influence, the priority is set to the lowest. In this case, the priority of the update software 1 and the update software 3 is arbitrary.

<空調機システムの動作説明>
次に図5を用いて本実施例における各機器の概略動作を説明する。図5において、横軸は左から順に、サーバー41、無線アダプタ21、室内機制御部25、リモコン5の動作を示しており、図5の上から下に向かって時間の経過を示している。なお、図5において矢印は通信における送信方向を示す。また()付きの番号は動作の順番を示す。
なお、前述したように室内機制御部25は実行ユニット23aが、リモコン5は実行ユニット52aがそれぞれ演算手段として動作し、EEPROM24やフラッシュメモリー23bやフラッシュメモリー52bが記憶手段としてソフトウェアを記憶する。また、各フラッシュメモリーにはプログラムからなるソフトウェアが、EEPROM24にはデータからなるソフトウェアが記憶されている。
<Explanation of operation of air conditioner system>
Next, the schematic operation of each device in this embodiment will be described with reference to FIG. In FIG. 5, the horizontal axis shows the operations of the server 41, the wireless adapter 21, the indoor unit control unit 25, and the remote controller 5 in this order from the left, and the passage of time is shown from the top to the bottom of FIG. In FIG. 5, the arrow indicates the transmission direction in communication. The numbers in parentheses indicate the order of operations.
As described above, the indoor unit control unit 25 operates as an execution unit 23a, and the remote controller 5 operates as an execution unit 52a, and the EEPROM 24, the flash memory 23b, and the flash memory 52b store software as storage means. Further, software composed of programs is stored in each flash memory, and software composed of data is stored in EEPROM 24.

図4(B)で説明したファイル1〜ファイル3で構成された更新用ファイル群がサーバー41のサーバー記憶部41aに格納されると、サーバー41は、更新用ファイル群と対応する複数の製品に対して、(1)現在のソフトウェアのバージョン問合せを行う。 When the update file group composed of the files 1 to 3 described in FIG. 4B is stored in the server storage unit 41a of the server 41, the server 41 becomes a plurality of products corresponding to the update file group. In response to this, (1) inquire about the current software version.

これを受信した無線アダプタ21は室内機制御部25へ(2)同様の問合せを行い、さらに室内機制御部25はリモコン5へ(3)同様の問合せを行う。これを受信したリモコン5は、(4)自身のソフトウェアのバージョンを確認し、(5)これを室内機制御部25へ通知する。室内機制御部25は、さらに、自身のソフトウェアのバージョンを確認して追加し、(6)無線アダプタ21へソフトウェアのバージョンを通知する。無線アダプタ21は、(7)各機器のソフトウェアのバージョンをサーバー41へ通知する。 Upon receiving this, the wireless adapter 21 makes the same inquiry to the indoor unit control unit 25 (2), and further, the indoor unit control unit 25 makes the same inquiry to the remote controller 5 (3). Upon receiving this, the remote controller 5 (4) confirms its own software version, and (5) notifies the indoor unit control unit 25 of this. The indoor unit control unit 25 further confirms and adds its own software version, and (6) notifies the wireless adapter 21 of the software version. (7) The wireless adapter 21 notifies the server 41 of the software version of each device.

サーバー41は、更新用ファイル群の各ファイルのバージョンと通知された各機器のバージョンを比較して(8)更新の有無をチェックする。そしてサーバー41は、(9)更新の有無を無線アダプタ21へ通知する。(10)この通知結果が更新有りの場合、無線アダプタ21は更新の準備を行う。無線アダプタ21は更新の準備が完了したら、(11)更新許可通知をサーバー41へ送信する。 The server 41 compares the version of each file of the update file group with the version of each device notified, and (8) checks for the presence or absence of update. Then, the server 41 notifies the wireless adapter 21 of the presence / absence of (9) update. (10) If the notification result is updated, the wireless adapter 21 prepares for the update. When the wireless adapter 21 is ready for the update, (11) sends an update permission notification to the server 41.

サーバー41は、サーバー記憶部41aに格納されている(12)問い合わせたバージョンに対応する更新用ファイル群の各ファイルを読みだして準備し、(13)無線アダプタ21へ送信する。(14)無線アダプタ21はこれを自身の内部に格納する。無線アダプタ21は、これらのファイルの格納が完了すると、(15)ファイル格納完了通知をサーバー41へ通知する。(16)サーバー41はこれを確認する。その後サーバー41は待機状態になる。 The server 41 reads and prepares each file of the update file group corresponding to the (12) inquired version stored in the server storage unit 41a, and (13) transmits the file to the wireless adapter 21. (14) The wireless adapter 21 stores this inside itself. When the storage of these files is completed, the wireless adapter 21 notifies the server 41 of (15) file storage completion notification. (16) The server 41 confirms this. After that, the server 41 goes into a standby state.

このように、空気調和機101は、搭載された無線アダプタ21に更新用ソフトウェアを含む更新用ファイルを複数格納し、以降で説明するように複数のソフトウェアをこの更新用ソフトウェアに書き換えることができる。 As described above, the air conditioner 101 can store a plurality of update files including the update software in the mounted wireless adapter 21, and can rewrite the plurality of software to the update software as described later.

一方、無線アダプタ21は、(17)更新ファイル有りの通知を室内機制御部25へ送信する。これを受信した室内機制御部25は、(18)前述した室内機実行プログラムから更新実行プログラムに切り替えて、ソフトウェア更新の準備を開始する。一方、無線アダプタ21は、(19)更新が可能か確認の問合せを室内機制御部25へ送信する。室内機制御部25は、(20)更新可能か確認し、(21)更新が可能である旨の通知を無線アダプタ21へ送信する。(22)無線アダプタ21は更新ファイルの準備を開始する。 On the other hand, the wireless adapter 21 transmits (17) a notification of the presence of the update file to the indoor unit control unit 25. Upon receiving this, the indoor unit control unit 25 switches from (18) the above-mentioned indoor unit execution program to the update execution program, and starts preparing for software update. On the other hand, the wireless adapter 21 transmits (19) an inquiry for confirmation as to whether or not the update is possible to the indoor unit control unit 25. The indoor unit control unit 25 confirms (20) whether the update is possible, and (21) transmits a notification to the wireless adapter 21 that the update is possible. (22) The wireless adapter 21 starts preparing the update file.

この後、室内機制御部25とリモコン5に関して、更新ファイルに従って室内機2のメインマイコン23とリモコン5のマイコン52と室内機2のEEPROM24のソフトウェアの更新を行う。この動作については後で詳細に説明する。 After that, with respect to the indoor unit control unit 25 and the remote controller 5, the software of the main microcomputer 23 of the indoor unit 2, the microcomputer 52 of the remote controller 5, and the EEPROM 24 of the indoor unit 2 is updated according to the update file. This operation will be described in detail later.

更新ファイル群のすべてのファイルに関するソフトウェア更新が完了すると、つまり、ソフトウェア情報に記載された同時更新数の数だけソフトウェア更新が完了すると、無線アダプタ21は、(100)更新完了通知をサーバー41へ送信する。サーバー41は(101)これを確認した後、(102)再起動通知を無線アダプタ21へ送信する。無線アダプタ21はこれを受信すると、(103)再起動通知を室内機制御部25へ送信する。これを受信した室内機制御部25は、(104)再起動通知をリモコン5へ送信する。これを受信したリモコン5は、(107)再起動通知を確認し、(108)再起動を実行して、前述した更新実行プログラムからリモコン実行プログラムに切り替えて、更新されたソフトウェアによるリモコンとしての機能に復帰する。 When the software update for all the files in the update file group is completed, that is, when the software update is completed for the number of simultaneous updates described in the software information, the wireless adapter 21 sends (100) update completion notification to the server 41. do. After confirming this, the server 41 (101) transmits a restart notification to the wireless adapter 21. Upon receiving this, the wireless adapter 21 transmits (103) a restart notification to the indoor unit control unit 25. Upon receiving this, the indoor unit control unit 25 transmits (104) a restart notification to the remote controller 5. Upon receiving this, the remote controller 5 confirms (107) the restart notification, executes (108) restart, switches from the above-mentioned update execution program to the remote control execution program, and functions as a remote controller by the updated software. Return to.

一方、室内機制御部25は(104)で再起動通知を受信すると、(105)再起動通知を確認し、(106)再起動を実行して、前述した更新実行プログラムから室内機実行プログラムに切り替えて、更新されたソフトウェアによる室内機としての機能に復帰する。
このように、ソフトウェア情報に記載された同時更新数の数だけソフトウェア更新が完了することで、空気調和機101は更新ソフトウェアが更新された機器を再起動し、更新ソフトウェアを実行する。
これにより、個々の機器の起動タイミングを合わせて、更新されたソフトウェアによる新機能が使用できるようになる。
On the other hand, when the indoor unit control unit 25 receives the restart notification in (104), it confirms (105) the restart notification, executes (106) restart, and changes from the above-mentioned update execution program to the indoor unit execution program. Switch and return to the function as an indoor unit by the updated software.
In this way, when the software update is completed for the number of simultaneous updates described in the software information, the air conditioner 101 restarts the device to which the update software has been updated and executes the update software.
As a result, new functions provided by the updated software can be used at the same time as the startup timing of each device.

<空気調和機内の動作説明>
次に図6に示すソフトウェア書き換えに関する詳細な通信手順を示すチャートを用いて、図4で説明した更新ファイル群に従って、室内機2のメインマイコン23とリモコン5のマイコン52と室内機2のEEPROM24のソフトウェア、又はデータの更新を行う処理について詳細に説明する。
<Explanation of operation inside the air conditioner>
Next, using the chart showing the detailed communication procedure for software rewriting shown in FIG. 6, according to the update file group described in FIG. 4, the main microcomputer 23 of the indoor unit 2, the microcomputer 52 of the remote controller 5, and the EEPROM 24 of the indoor unit 2 The process of updating the software or data will be described in detail.

図6において、横軸は左から順に無線アダプタ21、室内機制御部25、リモコン5の動作を示しており、図6の上から下に向かって時間の経過を示している。なお、図6において矢印は通信における送信方向を示す。また()付きの番号は動作の順番を示す。 In FIG. 6, the horizontal axis shows the operation of the wireless adapter 21, the indoor unit control unit 25, and the remote controller 5 in order from the left, and the passage of time is shown from the top to the bottom of FIG. In FIG. 6, the arrow indicates the transmission direction in communication. The numbers in parentheses indicate the order of operations.

図5の(21)で更新が可能である旨の通知を無線アダプタ21へ送信した室内機制御部25は、無線アダプタ21へ(30)ソフトウェア情報の要求を送信する。この場合、どの機器が更新対象なのか、また、同時に何種類の機器が更新対象なのか、室内機制御部25では不明であるこのため、とにかく1つの更新ファイルのソフトウェア情報を要求する。 The indoor unit control unit 25, which has transmitted the notification to the wireless adapter 21 that the update is possible in (21) of FIG. 5, transmits the request for the software information (30) to the wireless adapter 21. In this case, it is unknown in the indoor unit control unit 25 which device is the update target and how many types of devices are the update target at the same time. Therefore, the software information of one update file is requested anyway.

ソフトウェア情報の要求を受けた無線アダプタ21は、図5の(14)で格納した(31)更新ファイル群の中を確認し、この中から任意のファイル、例えば(32)ファイル1のソフトウェア情報を抽出して室内機制御部25へ送信する。これを受信した室内機制御部25は、(33)ファイル1のソフトウェア情報の内容を確認する。 Upon receiving the request for software information, the wireless adapter 21 confirms the inside of the (31) update file group stored in (14) of FIG. 5, and selects the software information of an arbitrary file, for example, (32) file 1 from the inside. It is extracted and transmitted to the indoor unit control unit 25. Upon receiving this, the indoor unit control unit 25 confirms the content of the software information in (33) file 1.

室内機制御部25は、ファイル1のソフトウェア情報内の同時更新数と優先順位を確認する。ファイル1の場合、図4(B)に示すようにファイルの同時更新数:3であるため、室内機制御部25は、更新ファイルは現在のファイル1の他に2つのファイルがあると判断する。そして、室内機制御部25は、優先順位:1であるため、1番目に更新すべきファイルであると判断する。また、室内機制御部25は、対象機器:メインマイコン(室内機)であるためメインマイコン23のフラッシュメモリー23bをソフトウェアの更新対象機器と判断する。 The indoor unit control unit 25 confirms the number of simultaneous updates and the priority in the software information of the file 1. In the case of file 1, since the number of simultaneous updates of files: 3 as shown in FIG. 4 (B), the indoor unit control unit 25 determines that the update file has two files in addition to the current file 1. .. Then, the indoor unit control unit 25 determines that the file should be updated first because the priority is 1. Further, since the indoor unit control unit 25 is the target device: the main microcomputer (indoor unit), the indoor unit control unit 25 determines that the flash memory 23b of the main microcomputer 23 is the device to be updated by the software.

次に室内機制御部25は、フラッシュメモリー23bのブロックのうち、(34)ブロック0を除くブロック1〜ブロックnまでのデータを全て消去する。次に室内機制御部25は、まず、最初に(35)ブロック1のデータを無線アダプタ21へ要求する。無線アダプタ21は、これに対応して(36)ファイル1におけるブロック1のデータを準備する。 Next, the indoor unit control unit 25 erases all the data from blocks 1 to block n except block 0 among the blocks of the flash memory 23b. Next, the indoor unit control unit 25 first requests the data of the (35) block 1 from the wireless adapter 21. Correspondingly, the wireless adapter 21 prepares the data of block 1 in (36) file 1.

そして、無線アダプタ21は、(37)ブロック1のデータを室内機制御部25へ送信する。室内機制御部25は、これを受信して(41)フラッシュメモリー23bのブロック1に書き込む。そして、室内機制御部25は、ソフトウェア情報の書き換え総ブロック数の値から1を減算し、ゼロになったか否かで(42)全ブロックの書き換えが完了したか否かを判断する。室内機制御部25は、書き換えが未完了なら(35)から繰り返す。ただし、室内機制御部25と無線アダプタ21は、対象となるブロック番号を順次更新して処理する。 Then, the wireless adapter 21 transmits the data of the (37) block 1 to the indoor unit control unit 25. The indoor unit control unit 25 receives this and writes it in the block 1 of the (41) flash memory 23b. Then, the indoor unit control unit 25 subtracts 1 from the value of the total number of rewritten blocks of the software information, and determines (42) whether or not the rewriting of all the blocks is completed depending on whether or not it becomes zero. If the rewriting is not completed, the indoor unit control unit 25 repeats from (35). However, the indoor unit control unit 25 and the wireless adapter 21 sequentially update and process the target block numbers.

室内機制御部25は、(50)全ブロックの書き換えが完了したら、(51)ファイル1の処理完了通知を無線アダプタ21へ送信する。これを受信した無線アダプタ21は、(52)ファイル1の処理完了を確認する。 When (50) the rewriting of all blocks is completed, the indoor unit control unit 25 transmits (51) a processing completion notification of the file 1 to the wireless adapter 21. Upon receiving this, the wireless adapter 21 confirms (52) the completion of processing of the file 1.

次に室内機制御部25は、無線アダプタ21へ(53)ソフトウェア情報の要求を送信する。これを受信した無線アダプタ21は、(54)格納している更新ファイル群の中を確認し、この中から(55)ファイル2のソフトウェア情報を抽出して室内機制御部25へ送信する。これを受信した室内機制御部25は、(56)ファイル1のソフトウェア情報の内容を確認する。 Next, the indoor unit control unit 25 transmits (53) a request for software information to the wireless adapter 21. Upon receiving this, the wireless adapter 21 confirms (54) the stored update file group, extracts the software information of (55) file 2 from the stored update file group, and transmits the software information to the indoor unit control unit 25. Upon receiving this, the indoor unit control unit 25 confirms the content of the software information in (56) file 1.

室内機制御部25は、ファイル2のソフトウェア情報内の同時更新数と優先順位を確認する。ファイル2の場合、図4(B)に示すように同時更新数:3であるため、室内機制御部25は、更新ファイルとして現在のファイル2と、前回処理したファイル1の他にもう1つのファイルがあると判断する。そして、室内機制御部25は、優先順位:3であるため、2回目に更新すべきファイルでないと判断してファイル2の更新処理をスキップする。 The indoor unit control unit 25 confirms the number of simultaneous updates and the priority in the software information of the file 2. In the case of file 2, since the number of simultaneous updates is 3 as shown in FIG. 4 (B), the indoor unit control unit 25 has the current file 2 as the update file and another file 1 processed last time. Determine that there is a file. Then, since the indoor unit control unit 25 has a priority of 3, it determines that the file should not be updated for the second time, and skips the update process of the file 2.

次に室内機制御部25は、無線アダプタ21へ(57)ソフトウェア情報の要求を送信する。ソフトウェア情報の要求を受けた無線アダプタ21は、(58)更新ファイル群の中を確認し、この中から(59)ファイル3のソフトウェア情報を抽出して室内機制御部25へ送信する。これを受信した室内機制御部25は、(60)ファイル3のソフトウェア情報の内容を確認する。 Next, the indoor unit control unit 25 transmits (57) a request for software information to the wireless adapter 21. Upon receiving the request for software information, the wireless adapter 21 confirms the inside of the (58) update file group, extracts the software information of (59) file 3 from the update file group, and transmits the software information to the indoor unit control unit 25. Upon receiving this, the indoor unit control unit 25 confirms the content of the software information in (60) file 3.

室内機制御部25は、ファイル3のソフトウェア情報内の同時更新数と優先順位を確認する。ファイル3の場合、図4(B)に示すように同時更新数:3であるため、室内機制御部25は、更新ファイルは現在のファイル3の他に前述の2つのファイルがあると判断する。そして、室内機制御部25は、優先順位:2であるため、2番目に更新すべきファイルであると判断する。また、室内機制御部25は、対象機器:リモコンであるためマイコン52のフラッシュメモリー52bをソフトウェアの更新対象機器と判断する。 The indoor unit control unit 25 confirms the number of simultaneous updates and the priority in the software information of the file 3. In the case of file 3, since the number of simultaneous updates is 3 as shown in FIG. 4 (B), the indoor unit control unit 25 determines that the update file includes the above-mentioned two files in addition to the current file 3. .. Then, the indoor unit control unit 25 determines that the file should be updated second because the priority is 2: 2. Further, since the indoor unit control unit 25 is a target device: a remote controller, the indoor unit control unit 25 determines that the flash memory 52b of the microcomputer 52 is a software update target device.

次に室内機制御部25は、フラッシュメモリー52bのブロックのうち、(61)ブロック0を除くブロック1〜ブロックnまでの全データ消去要求をリモコン5に送信する。リモコン5はこれに対応して、(62)ブロック1以降のデータを消去する。
次に室内機制御部25は、まず、最初に(63)ブロック1のデータを無線アダプタ21へ要求する。無線アダプタ21は、これに対応して(64)ファイル3のブロック1のデータを準備する。そして、無線アダプタ21は、(65)ブロック1のデータを室内機制御部25へ送信する。室内機制御部25は、これを受信して(69)ブロック1のデータをリモコン5に送信する。これを受信したリモコン5は(70)フラッシュメモリー52bのブロック1に書き込み、(71)ブロック1の書き込み完了通知を室内機制御部25へ送信する。
Next, the indoor unit control unit 25 transmits to the remote controller 5 a request for erasing all data from blocks 1 to blocks n except block 0 (61) among the blocks of the flash memory 52b. Correspondingly, the remote controller 5 erases the data after (62) block 1.
Next, the indoor unit control unit 25 first requests the data of the (63) block 1 from the wireless adapter 21. Correspondingly, the wireless adapter 21 prepares the data of block 1 of (64) file 3. Then, the wireless adapter 21 transmits the data of the (65) block 1 to the indoor unit control unit 25. Upon receiving this, the indoor unit control unit 25 (69) transmits the data of the block 1 to the remote controller 5. Upon receiving this, the remote controller 5 writes to the block 1 of the (70) flash memory 52b, and (71) transmits the write completion notification of the block 1 to the indoor unit control unit 25.

ブロック1の書き込み完了通知を受信した室内機制御部25は、ソフトウェア情報の書き換え総ブロック数の値から1を減算し、ゼロになったか否かで全ブロックの書き換えが完了したか否かを判断する。室内機制御部25は、(72)全ブロックの書き換えが未完了なら(63)から繰り返す。ただし、室内機制御部25と無線アダプタ21とリモコン5は、対象となるブロック番号を順次更新して処理する。 Upon receiving the write completion notification of block 1, the indoor unit control unit 25 subtracts 1 from the value of the total number of blocks for rewriting software information, and determines whether or not the rewriting of all blocks is completed depending on whether or not it becomes zero. do. The indoor unit control unit 25 repeats from (63) if (72) rewriting of all blocks is not completed. However, the indoor unit control unit 25, the wireless adapter 21, and the remote controller 5 sequentially update and process the target block numbers.

室内機制御部25は、(80)全ブロックの書き換えが完了したら、(81)ファイル3の処理完了通知を無線アダプタ21へ送信する。これを受信した無線アダプタ21は、(82)ファイル3の処理完了を確認する。 When the rewriting of all the blocks (80) is completed, the indoor unit control unit 25 transmits (81) a processing completion notification of the file 3 to the wireless adapter 21. Upon receiving this, the wireless adapter 21 confirms (82) the completion of processing of the file 3.

次に室内機制御部25は、無線アダプタ21へ(83)ソフトウェア情報の要求を送信する。これを受信した無線アダプタ21は、(84)格納している更新ファイル群の中を確認し、この中から(85)ファイルの処理完了通知を受けていないファイル2のソフトウェア情報を抽出して室内機制御部25へ送信する。これを受信した室内機制御部25は、(86)ファイル2のソフトウェア情報の内容を確認する。 Next, the indoor unit control unit 25 transmits (83) a request for software information to the wireless adapter 21. Upon receiving this, the wireless adapter 21 confirms (84) the stored update file group, extracts the software information of the file 2 that has not received the (85) file processing completion notification, and extracts the software information in the room. It is transmitted to the machine control unit 25. Upon receiving this, the indoor unit control unit 25 confirms the content of the software information in (86) file 2.

室内機制御部25は、ファイル2のソフトウェア情報内の同時更新数と優先順位を確認する。ファイル2の場合、図4(B)に示すように同時更新数:3であるため、室内機制御部25は、更新ファイルとして現在のファイル2と、前回までに処理したファイル1とファイル3があると判断する。そして、室内機制御部25は、優先順位:3であるため、3回目に更新すべきファイルであると判断する。また、室内機制御部25は、対象機器:室内機のEEPROMであるため室内機2のEEPROM24をソフトウェアの更新対象機器と判断する。 The indoor unit control unit 25 confirms the number of simultaneous updates and the priority in the software information of the file 2. In the case of file 2, since the number of simultaneous updates is 3 as shown in FIG. 4 (B), the indoor unit control unit 25 includes the current file 2 as the update file, and the files 1 and 3 processed up to the previous time. Judge that there is. Then, since the indoor unit control unit 25 has a priority of 3, it determines that the file should be updated for the third time. Further, since the indoor unit control unit 25 determines that the target device is the EEPROM of the indoor unit, the EEPROM 24 of the indoor unit 2 is determined to be the device to be updated by the software.

次に室内機制御部25は、(87)ブロック1のデータを無線アダプタ21へ要求する。無線アダプタ21は、これに対応して(88)ファイル2のブロック1のデータを準備する。そして、無線アダプタ21は、(89)ブロック1のデータを室内機制御部25へ送信する。室内機制御部25は、これを受信して(93)EEPROM24にブロック1のデータを書き込む。そして、室内機制御部25は、ソフトウェア情報の書き換え総ブロック数の値から1を減算し、ゼロになったか否かで全ブロックの書き換えが完了したか否かを判断する。室内機制御部25は、(94)全ブロックの書き換えが完了したので、(95)ファイル2の処理完了通知を無線アダプタ21へ送信する。これを受信した無線アダプタ21は、(96)ファイル2の処理完了を確認する。 Next, the indoor unit control unit 25 requests the data of (87) block 1 from the wireless adapter 21. Correspondingly, the wireless adapter 21 prepares the data of block 1 of (88) file 2. Then, the wireless adapter 21 transmits the data of the (89) block 1 to the indoor unit control unit 25. Upon receiving this, the indoor unit control unit 25 writes the data of the block 1 to the (93) EEPROM 24. Then, the indoor unit control unit 25 subtracts 1 from the value of the total number of blocks for rewriting the software information, and determines whether or not the rewriting of all the blocks is completed depending on whether or not the information becomes zero. Since (94) the rewriting of all blocks is completed, the indoor unit control unit 25 transmits (95) a processing completion notification of the file 2 to the wireless adapter 21. Upon receiving this, the wireless adapter 21 confirms (96) the completion of processing of the file 2.

無線アダプタ21は、ファイル1〜ファイル3のすべてのソフトウェアの更新が完了したので、図5の(100)で示すようにサーバー41へ更新完了通知を送信する。 Since the wireless adapter 21 has completed updating all the software of files 1 to 3, it transmits an update completion notification to the server 41 as shown by (100) in FIG.

<効果の説明>
以上説明したように、複数のソフトウェアを搭載した空気調和機において、複数のソフトウェアを更新する場合、更新が完了したソフトウェアと、更新が完了していないソフトウェアが混在しても空気調和機の制御に支障が出難いようにすることができる。
<Explanation of effect>
As described above, in an air conditioner equipped with multiple software, when updating multiple software, even if the updated software and the software that has not been updated are mixed, the air conditioner can be controlled. It can be made less likely to cause problems.

なお、本実施例では室内機2のメインマイコン23とEEPROM24とリモコン5のソフトウェア更新を説明しているが、これに限るものでなく、室外機12に内蔵されているマイコンやEEPROMのソフトウェア更新における更新の優先順位についても発明の対象とする。
また、本実施例では無線アダプタ21と室内機制御部25とで処理の分担を行っているが、これに限るものでなく、無線アダプタ21を通信機能だけにとどめ、すべての更新作業を室内機制御部25が行うようにしてもよい。
In this embodiment, software update of the main microcomputer 23, EEPROM 24, and remote controller 5 of the indoor unit 2 is described, but the present invention is not limited to this, and the software update of the microcomputer and EEPROM built in the outdoor unit 12 is performed. The priority of renewal is also the subject of the invention.
Further, in this embodiment, the processing is shared between the wireless adapter 21 and the indoor unit control unit 25, but the processing is not limited to this. The wireless adapter 21 is limited to the communication function, and all the update work is performed on the indoor unit. The control unit 25 may perform the operation.

1 空調機システム
2 室内機
3 通信ネットワーク
5 リモコン
6 無線LAN装置
12 室外機
21 無線アダプタ
22 室内機無線通信部
23 メインマイコン
23a 実行ユニット(演算処理手段)
23b フラッシュメモリー(記憶手段)
23c 更新実行プログラム
24 EEPROM(記憶手段)
25 室内機制御部
26 ファンモーター
41 サーバー
41a サーバー記憶部
51 操作・表示部
52 マイコン
52a 実行ユニット(演算処理手段)
52b フラッシュメモリー(記憶手段)
52c 更新実行プログラム
55 リモコン制御部
101 空気調和機

1 Air conditioner system 2 Indoor unit 3 Communication network 5 Remote control 6 Wireless LAN device 12 Outdoor unit 21 Wireless adapter 22 Indoor unit wireless communication unit 23 Main microcomputer 23a Execution unit (calculation processing means)
23b Flash memory (storage means)
23c Update execution program 24 EEPROM (storage means)
25 Indoor unit control unit 26 Fan motor 41 Server 41a Server storage unit 51 Operation / display unit 52 Microcomputer 52a Execution unit (calculation processing means)
52b Flash memory (storage means)
52c Update execution program 55 Remote control unit 101 Air conditioner

Claims (2)

プログラム、および前記プログラムに関連するデータのうち少なくとも一方であるソフトウェアを記憶する複数の記憶手段と、前記プログラムを読みだして実行する演算処理手段と、外部ネットワーク上のサーバーと通信接続される通信手段とを備え、
前記ソフトウェアのうち少なくとも2つ以上のソフトウェアを更新するための更新用ソフトウェアを前記サーバーから受信して当該ソフトウェアを更新することができる空気調和機であって、
前記通信手段は、
更新対象となる前記ソフトウェアを記憶する前記記憶手段を特定する情報と更新対象となる前記ソフトウェアの更新の順番を示す優先順位とを含むソフトウェア情報と、
前記更新用ソフトウェアと、を、前記サーバーから受信し、
前記演算処理手段は、
前記ソフトウェア情報を確認し、優先順位が高い前記ソフトウェアから順に前記記憶手段に記憶されている前記ソフトウェアを前記更新用ソフトウェアに書き換えて更新することを特徴とする空気調和機。
A plurality of storage means for storing a program and software that is at least one of the data related to the program, an arithmetic processing means for reading and executing the program, and a communication means for communication connection with a server on an external network. With and
An air conditioner capable of receiving update software for updating at least two or more of the software from the server and updating the software.
The communication means
Software information including information for specifying the storage means for storing the software to be updated and a priority indicating the order of updating the software to be updated.
The update software is received from the server,
The arithmetic processing means
An air conditioner characterized in that the software information is confirmed, and the software stored in the storage means is rewritten and updated with the update software in order from the software having the highest priority.
前記ソフトウェア情報には、同時に更新される前記更新用ソフトウェアの数である同時更新数がさらに含まれ、
前記演算処理手段は、
前記同時更新数に基づいて前記記憶手段に記憶されている前記プロクラム又は前記データを前記更新用ソフトウェアに書き換えて更新した後、前記記憶手段に記憶されている前記プログラムを再起動することを特徴とする請求項1記載の空気調和機。
The software information further includes the number of simultaneous updates, which is the number of the update software updated at the same time.
The arithmetic processing means
The program or the data stored in the storage means is rewritten and updated by the update software based on the number of simultaneous updates, and then the program stored in the storage means is restarted. The air conditioner according to claim 1.
JP2020046518A 2020-03-17 2020-03-17 air conditioner Active JP7322764B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020046518A JP7322764B2 (en) 2020-03-17 2020-03-17 air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020046518A JP7322764B2 (en) 2020-03-17 2020-03-17 air conditioner

Publications (2)

Publication Number Publication Date
JP2021149289A true JP2021149289A (en) 2021-09-27
JP7322764B2 JP7322764B2 (en) 2023-08-08

Family

ID=77848843

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020046518A Active JP7322764B2 (en) 2020-03-17 2020-03-17 air conditioner

Country Status (1)

Country Link
JP (1) JP7322764B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003223326A (en) * 2002-01-29 2003-08-08 Sony Corp Information processing system, information processor, information processing method and program
JP2010186452A (en) * 2009-02-13 2010-08-26 Kyocera Mita Corp Maintenance management system, database server, maintenance management program and maintenance management method
JP2011060232A (en) * 2009-09-14 2011-03-24 Ricoh Co Ltd Management device, management system, management method, and management program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003223326A (en) * 2002-01-29 2003-08-08 Sony Corp Information processing system, information processor, information processing method and program
JP2010186452A (en) * 2009-02-13 2010-08-26 Kyocera Mita Corp Maintenance management system, database server, maintenance management program and maintenance management method
JP2011060232A (en) * 2009-09-14 2011-03-24 Ricoh Co Ltd Management device, management system, management method, and management program

Also Published As

Publication number Publication date
JP7322764B2 (en) 2023-08-08

Similar Documents

Publication Publication Date Title
US7275236B1 (en) Method for programming a multiple device control system using object sharing
TWI602124B (en) Baseboard Management Controller Firmware Updating Method For Fan Speed Control
US8607219B2 (en) Information processing device and a firmware updating method of the information processing device
WO2020044443A1 (en) Air conditioning system and program update method for air conditioning system
JPWO2020044447A1 (en) How to update the air conditioning system and the program of the air conditioning system
US20220307717A1 (en) Installation position confirmation support system, server, program, and method
JP2016103114A (en) Inverter and update method of firmware program in inverter
JP7322764B2 (en) air conditioner
WO2019030896A1 (en) Program update method, outdoor unit, and management device
JP7112052B2 (en) Air conditioning system and program update method for air conditioning system
JP2007079764A (en) Automatic program update system and information equipment
JP2007310571A (en) Control program creating device, editing program and program creating method
TWI719420B (en) Information processing apparatus, information processing method, and program
JPH10187454A (en) Bios reloading system
JP2009085513A (en) Management device, management system, and management method
CN113757935B (en) Data updating method and device, air conditioner and computer readable storage medium
CN114026506B (en) Programmable display and data management method
JP7260191B2 (en) BIOS setting change system and setting change method in computer system
JPH06241543A (en) Air-conditioning system
US11994311B2 (en) Controller and air conditioning management system
JP7499892B2 (en) FIRMWARE UPDATING SYSTEM, FIRMWARE TRANSMISSION DEVICE, FIRMWARE UPDATING METHOD, AND PROGRAM
JP7491765B2 (en) Firmware update system and firmware update method
JP7378286B2 (en) Air conditioning control system, air conditioning system and air conditioning control method
CN108595127B (en) Method and device for dividing SAS port partition
JP2022175536A (en) Data integration device, communication system, integrated data generation method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220830

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230529

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230627

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230710

R151 Written notification of patent or utility model registration

Ref document number: 7322764

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151